:root {
  --social-bg: #f4f7f5;
  --social-paper: #fff;
  --social-ink: #10231d;
  --social-muted: #65746f;
  --social-faint: #8e9a96;
  --social-line: #dbe3df;
  --social-line-strong: #c8d3ce;
  --social-green: #075b43;
  --social-green-dark: #063c2e;
  --social-green-soft: #e8f5ef;
  --social-live: #25d69b;
  --social-red: #bd3555;
  --social-shadow: 0 16px 45px rgba(13, 44, 34, .08);
  --social-radius: 18px;
  --social-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --social-serif: Georgia, "Times New Roman", serif;
  --social-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--social-bg); scroll-behavior: smooth; }
body.social-app { min-height: 100vh; margin: 0; background: var(--social-bg); color: var(--social-ink); font: 14px/1.5 var(--social-sans); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, label, input[type=file] { cursor: pointer; }
button { color: inherit; }
img { max-width: 100%; }
.social-skip { position: fixed; z-index: 200; left: 1rem; top: -5rem; padding: .75rem 1rem; color: #fff; background: var(--social-green); border-radius: 8px; }
.social-skip:focus { top: 1rem; }

.social-shell { display: grid; grid-template-columns: 250px minmax(0, 700px) 330px; width: min(1280px, 100%); min-height: 100vh; margin: 0 auto; }
.social-sidebar { border-right: 1px solid var(--social-line); }
.social-sidebar__inner { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 22px 20px 18px; }
.social-brand { display: flex; align-items: center; gap: 11px; width: max-content; margin: 0 8px 25px; }
.social-brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--social-green); border-radius: 50%; color: var(--social-green); font: 700 19px/1 var(--social-serif); box-shadow: inset 0 0 0 4px var(--social-bg), inset 0 0 0 5px rgba(7,91,67,.18); }
.social-brand__text { display: flex; flex-direction: column; }
.social-brand__text b { font: 700 18px/1 var(--social-serif); letter-spacing: .08em; }
.social-brand__text small { margin-top: 5px; color: var(--social-muted); font: 9px/1 var(--social-mono); letter-spacing: .12em; text-transform: uppercase; }

.social-nav { display: grid; gap: 4px; }
.social-nav a { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; min-height: 48px; padding: 0 13px; border-radius: 13px; color: #42524d; transition: background .18s ease, color .18s ease; }
.social-nav a:hover { background: #eaf0ed; color: var(--social-ink); }
.social-nav a.is-active { color: var(--social-green); background: var(--social-green-soft); }
.social-nav a.is-active::before { position: absolute; left: -20px; width: 3px; height: 26px; content: ""; background: var(--social-green); border-radius: 0 3px 3px 0; }
.social-nav a > span { font: 21px/1 var(--social-serif); text-align: center; }
.social-nav a b { font-size: 15px; font-weight: 650; }
.social-nav a em { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; color: #fff; background: var(--social-green); border-radius: 10px; font: 700 10px/1 var(--social-sans); }
.social-compose-link { display: grid; place-items: center; min-height: 48px; margin: 22px 4px; color: #fff; background: var(--social-green); border-radius: 14px; box-shadow: 0 8px 20px rgba(7,91,67,.18); font-weight: 750; }
.social-compose-link:hover { background: var(--social-green-dark); }
.social-account-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; margin-top: auto; padding: 11px; border: 1px solid var(--social-line); border-radius: 14px; background: rgba(255,255,255,.62); }
.social-account-card > div { display: flex; min-width: 0; flex-direction: column; }
.social-account-card b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.social-account-card span { overflow: hidden; color: var(--social-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.social-account-card__logout { color: var(--social-muted); font-size: 15px; }

.social-main { min-width: 0; min-height: 100vh; background: var(--social-paper); border-right: 1px solid var(--social-line); }
.social-right { min-width: 0; }
.social-right__inner { position: relative; display: grid; align-content: start; gap: 18px; min-height: 100%; padding: 16px 0 30px 24px; overflow: visible; }
.social-search { display: grid; grid-template-columns: 24px 1fr; align-items: center; height: 46px; padding: 0 15px; background: #e9efec; border: 1px solid transparent; border-radius: 23px; }
.social-search:focus-within { background: #fff; border-color: var(--social-green); box-shadow: 0 0 0 3px rgba(7,91,67,.08); }
.social-search span { color: var(--social-muted); font-size: 18px; }
.social-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--social-ink); font-size: 13px; }

.social-side-card { overflow: hidden; background: #edf2ef; border: 1px solid #e1e8e4; border-radius: var(--social-radius); }
.social-side-card > header { display: flex; align-items: baseline; justify-content: space-between; padding: 17px 18px 12px; }
.social-side-card > header span { font: 700 20px/1 var(--social-serif); }
.social-side-card > header small { color: var(--social-faint); font: 9px/1 var(--social-mono); letter-spacing: .08em; text-transform: uppercase; }
.social-trends { margin: 0; padding: 0 0 8px; list-style: none; }
.social-trends a { display: flex; flex-direction: column; padding: 11px 18px; }
.social-trends a:hover { background: rgba(255,255,255,.7); }
.social-trends small, .social-trends span { color: var(--social-muted); font-size: 11px; }
.social-trends b { margin: 2px 0; font-size: 13px; }
.social-suggestions { display: grid; padding-bottom: 8px; }
.social-suggestions > a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 14px; }
.social-suggestions > a:hover { background: rgba(255,255,255,.72); }
.social-suggestions > a > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.social-suggestions b, .social-suggestions small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-suggestions b { font-size: 12px; }
.social-suggestions small { color: var(--social-muted); font-size: 11px; }
.social-suggestions i { padding: 6px 10px; color: #fff; background: var(--social-ink); border-radius: 12px; font-size: 10px; font-style: normal; font-weight: 700; }
.social-mini-footer { display: flex; flex-wrap: wrap; gap: 5px 13px; padding: 0 5px; color: var(--social-faint); font-size: 10px; }
.social-mini-footer a:hover { color: var(--social-green); text-decoration: underline; }

.social-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 2px solid #fff; border-radius: 50%; color: #fff; font: 700 16px/1 var(--social-serif); box-shadow: 0 0 0 1px rgba(12,42,32,.13); }
.social-avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.social-avatar.has-photo { overflow: hidden; background: var(--social-control); }
.social-avatar--sm { width: 34px; height: 34px; font-size: 13px; }
.social-avatar--xl { width: 92px; height: 92px; border-width: 4px; font-size: 34px; }
.social-avatar--emerald { background: linear-gradient(145deg,#0b7456,#053c2d); }
.social-avatar--ink { background: linear-gradient(145deg,#34433f,#101c18); }
.social-avatar--amber { background: linear-gradient(145deg,#b98633,#5e3d10); }
.social-avatar--violet { background: linear-gradient(145deg,#77638f,#382c47); }
.social-avatar--teal { background: linear-gradient(145deg,#2a8891,#164852); }

.social-page-head { position: sticky; z-index: 90; top: 0; display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 22px; border-bottom: 1px solid var(--social-line); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.social-page-head > div { min-width: 0; }
.social-page-head h1 { margin: 0; font: 700 22px/1.1 var(--social-serif); }
.social-page-head p { margin: 4px 0 0; color: var(--social-muted); font-size: 11px; }
.social-page-head--tabs { display: grid; grid-template-columns: 1fr; padding: 12px 0 0; }
.social-page-head--tabs > div { display: flex; align-items: center; gap: 9px; padding: 0 22px; }
.social-page-head--tabs nav { display: grid; grid-template-columns: repeat(2,1fr); }
.social-page-head--tabs nav a { position: relative; padding: 10px; color: var(--social-muted); text-align: center; font-size: 12px; font-weight: 650; }
.social-page-head--tabs nav a.is-active { color: var(--social-ink); }
.social-page-head--tabs nav a.is-active::after { position: absolute; bottom: 0; left: 32%; width: 36%; height: 3px; content: ""; background: var(--social-green); border-radius: 3px 3px 0 0; }
.social-live-dot { width: 8px; height: 8px; background: var(--social-live); border: 2px solid #b8f2dd; border-radius: 50%; }
.social-back { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; }
.social-back:hover { background: #edf2ef; }
.social-page-head:has(.social-back) { justify-content: flex-start; }

.social-flash { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 18px; border-bottom: 1px solid var(--social-line); background: #edf8f3; color: #07513d; font-size: 12px; }
.social-flash--error { background: #fff0f2; color: #8f2840; }
.social-flash button { border: 0; background: none; font-size: 18px; }

.social-composer { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; padding: 18px 20px 12px; border-bottom: 8px solid var(--social-bg); }
.social-composer__body { min-width: 0; }
.social-composer textarea { display: block; width: 100%; min-height: 62px; padding: 9px 0; resize: none; border: 0; outline: 0; color: var(--social-ink); background: transparent; font: 17px/1.45 var(--social-sans); }
.social-composer textarea::placeholder { color: #8b9793; }
.social-composer__tools { display: flex; min-height: 40px; align-items: center; gap: 10px; padding-top: 9px; border-top: 1px solid var(--social-line); }
.social-file-button { display: grid; place-items: center; width: 34px; height: 34px; color: var(--social-green); border-radius: 50%; font-size: 19px; }
.social-file-button:hover { background: var(--social-green-soft); }
.social-file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.social-alt-input { width: min(210px, 35%); padding: 7px 9px; border: 1px solid var(--social-line); border-radius: 8px; outline: 0; font-size: 11px; }
.social-alt-input:focus { border-color: var(--social-green); }
.social-file-name { overflow: hidden; max-width: 120px; color: var(--social-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.social-char-count { margin-left: auto; color: var(--social-faint); font: 10px/1 var(--social-mono); }
.social-primary-button, .social-outline-button, .social-icon-button { display: inline-grid; place-items: center; min-height: 36px; padding: 0 17px; border: 1px solid var(--social-green); border-radius: 18px; font-size: 12px; font-weight: 750; }
.social-primary-button { color: #fff; background: var(--social-green); }
.social-primary-button:hover { background: var(--social-green-dark); }
.social-outline-button { color: var(--social-green); background: #fff; }
.social-icon-button { min-width: 36px; padding: 0; color: var(--social-green); background: #fff; }
.social-composer--compact { border-bottom-width: 1px; }

.social-timeline { min-height: 180px; }
.social-post { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 11px; padding: 16px 20px 7px; border-bottom: 1px solid var(--social-line); background: #fff; transition: background .15s ease; }
.social-post:hover { background: #fbfcfb; }
.social-post--focus { background: #fff; border-left: 3px solid var(--social-green); padding-left: 17px; }
.social-post__content { min-width: 0; }
.social-post__head { display: flex; min-height: 21px; align-items: baseline; gap: 5px; color: var(--social-muted); font-size: 12px; }
.social-post__head > a:first-child { display: flex; min-width: 0; align-items: center; gap: 5px; }
.social-post__head b { overflow: hidden; max-width: 260px; color: var(--social-ink); text-overflow: ellipsis; white-space: nowrap; }
.social-post__head span, .social-post__time { color: var(--social-faint); }
.social-post__head form { margin-left: auto; }
.social-post__delete { width: 24px; height: 24px; border: 0; background: none; color: var(--social-faint); border-radius: 50%; }
.social-post__delete:hover { color: var(--social-red); background: #fff0f3; }
.social-post__replying { margin: 3px 0 2px; color: var(--social-muted); font-size: 11px; }
.social-post__replying a { color: var(--social-green); }
.social-post__text { margin: 3px 0 10px; color: #1c2b26; font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.social-post__media { display: block; overflow: hidden; margin: 9px 0 11px; border: 1px solid var(--social-line); border-radius: 16px; background: #edf2ef; }
.social-post__media img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.social-post__actions { display: grid; grid-template-columns: repeat(4, minmax(52px,1fr)); max-width: 430px; margin-top: 1px; }
.social-post__actions form { margin: 0; }
.social-post__actions a, .social-post__actions button { display: flex; width: max-content; min-width: 40px; height: 34px; align-items: center; gap: 6px; padding: 0 7px; border: 0; background: none; color: var(--social-muted); border-radius: 17px; font-size: 11px; }
.social-post__actions a:hover, .social-post__actions button:hover { color: var(--social-green); background: var(--social-green-soft); }
.social-post__actions span { font-size: 17px; }
.social-post__actions b { font-size: 10px; font-weight: 500; }
.social-post__actions .is-like { color: var(--social-red); }
.social-post__actions .is-repost { color: var(--social-green); }
.social-post__bookmark { justify-self: end; }

.social-empty { display: grid; justify-items: center; max-width: 420px; margin: 0 auto; padding: 70px 24px; text-align: center; }
.social-empty > span { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; color: var(--social-green); background: var(--social-green-soft); border-radius: 50%; font: 24px/1 var(--social-serif); }
.social-empty h2 { margin: 0 0 8px; font: 700 25px/1.1 var(--social-serif); }
.social-empty p { margin: 0 0 18px; color: var(--social-muted); font-size: 13px; }
.social-empty a { color: var(--social-green); font-weight: 750; }

.social-discovery-hero { margin: 18px; padding: 30px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(42,177,129,.28), transparent 35%), linear-gradient(135deg,#06271d,#0a4b38); border-radius: 22px; box-shadow: var(--social-shadow); }
.social-discovery-hero > span { color: #80e7c2; font: 9px/1 var(--social-mono); letter-spacing: .16em; }
.social-discovery-hero h2 { max-width: 520px; margin: 13px 0 10px; font: 700 34px/1.04 var(--social-serif); }
.social-discovery-hero p { max-width: 520px; margin: 0 0 22px; color: #c0d9d0; font-size: 13px; }
.social-discovery-hero form { display: grid; grid-template-columns: 1fr auto; max-width: 520px; overflow: hidden; background: #fff; border-radius: 12px; }
.social-discovery-hero input { min-width: 0; padding: 13px 15px; border: 0; outline: 0; }
.social-discovery-hero button { padding: 0 18px; border: 0; color: #fff; background: #087253; font-weight: 700; }
.social-people-strip { padding: 4px 18px 20px; border-bottom: 8px solid var(--social-bg); }
.social-people-strip > header h2, .social-section-label h2, .social-search-people h2 { margin: 0 0 12px; font: 700 18px/1 var(--social-serif); }
.social-people-strip > div { display: grid; grid-auto-columns: 155px; grid-auto-flow: column; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.social-people-strip > div > a { display: flex; min-height: 170px; flex-direction: column; align-items: center; padding: 17px 12px; border: 1px solid var(--social-line); border-radius: 15px; text-align: center; }
.social-people-strip > div > a:hover { border-color: var(--social-line-strong); box-shadow: 0 8px 22px rgba(13,44,34,.07); }
.social-people-strip b { max-width: 100%; margin-top: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.social-people-strip small { color: var(--social-muted); font-size: 10px; }
.social-people-strip em { display: -webkit-box; margin-top: 8px; overflow: hidden; color: var(--social-faint); font-size: 10px; font-style: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.social-section-label { padding: 18px 20px 8px; }

.social-search-page { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 16px 18px; padding: 0 0 0 15px; border: 1px solid var(--social-line); border-radius: 12px; }
.social-search-page input { min-width: 0; height: 48px; border: 0; outline: 0; }
.social-search-page button { align-self: stretch; padding: 0 20px; border: 0; color: #fff; background: var(--social-green); border-radius: 0 11px 11px 0; font-weight: 700; }
.social-search-people { padding: 8px 18px 18px; border-bottom: 8px solid var(--social-bg); }
.social-search-people > a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--social-line); }
.social-search-people > a > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.social-search-people small { color: var(--social-muted); font-size: 11px; }
.social-search-people i { color: var(--social-green); font-size: 11px; font-style: normal; font-weight: 700; }

.social-profile-hero { border-bottom: 1px solid var(--social-line); }
.social-profile-cover { position: relative; height: 190px; overflow: hidden; background: #0d4a38; }
.social-profile-cover__image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.social-profile-cover.has-photo::before { z-index: 1; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(180deg,rgba(5,13,10,.05),rgba(5,13,10,.42)); box-shadow: none; }
.social-profile-cover.has-photo::after { z-index: 2; }
.social-profile-cover::before, .social-profile-cover::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.social-profile-cover::before { width: 330px; height: 330px; right: -45px; top: -145px; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.social-profile-cover::after { width: 90%; height: 1px; left: 5%; bottom: 28px; border: 0; border-top: 1px solid rgba(255,255,255,.13); border-radius: 0; }
.social-profile-cover--ink { background: linear-gradient(135deg,#152a24,#07130f); }
.social-profile-cover--amber { background: linear-gradient(135deg,#6d4818,#1d1c12); }
.social-profile-cover--violet { background: linear-gradient(135deg,#493d58,#17131d); }
.social-profile-cover--teal { background: linear-gradient(135deg,#1c5961,#0b252a); }
.social-profile-cover > span { position: absolute; z-index: 3; left: 22px; bottom: 13px; color: rgba(255,255,255,.78); font: 9px/1 var(--social-mono); letter-spacing: .16em; text-shadow: 0 1px 10px rgba(0,0,0,.42); }
.social-profile-actions { display: flex; height: 48px; align-items: flex-start; justify-content: space-between; padding: 0 20px; }
.social-profile-actions > .social-avatar { transform: translateY(-48px); }
.social-profile-actions > div { display: flex; gap: 8px; padding-top: 9px; }
.social-profile-copy { padding: 0 22px 18px; }
.social-profile-copy h2 { display: flex; align-items: center; gap: 6px; margin: 0; font: 700 25px/1 var(--social-serif); }
.social-profile-copy > span { color: var(--social-muted); font-size: 12px; }
.social-profile-headline { color: var(--social-green) !important; font-weight: 650; }
.social-profile-copy > p { max-width: 580px; margin: 12px 0 0; font-size: 13px; }
.social-profile-meta { display: flex; flex-wrap: wrap; gap: 6px 15px; margin-top: 13px; color: var(--social-muted); font-size: 11px; }
.social-profile-meta a { color: var(--social-green); }
.social-profile-stats { display: flex; gap: 18px; margin-top: 13px; color: var(--social-muted); font-size: 11px; }
.social-profile-stats b { margin-right: 3px; color: var(--social-ink); }
.social-profile-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--social-line); }
.social-profile-tabs a { position: relative; padding: 14px; color: var(--social-muted); text-align: center; font-size: 12px; }
.social-profile-tabs a.is-active { color: var(--social-ink); font-weight: 700; }
.social-profile-tabs a.is-active::after { position: absolute; bottom: 0; left: 32%; width: 36%; height: 3px; content: ""; background: var(--social-green); border-radius: 3px 3px 0 0; }

.social-notifications > a, .social-conversations > a { display: grid; align-items: center; gap: 13px; padding: 16px 20px; border-bottom: 1px solid var(--social-line); }
.social-notifications > a { grid-template-columns: auto 1fr auto; }
.social-notifications > a:hover, .social-conversations > a:hover { background: #f8faf9; }
.social-notification-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--social-green); background: var(--social-green-soft); border-radius: 50%; }
.social-notifications > a > div { display: flex; flex-direction: column; }
.social-notifications b { font-size: 12px; font-weight: 600; }
.social-notifications small { margin-top: 4px; color: var(--social-faint); font-size: 10px; }
.social-notifications i, .social-conversations i { color: var(--social-faint); font-style: normal; }
.social-conversations > a { grid-template-columns: auto 1fr auto; }
.social-conversations > a > div { min-width: 0; }
.social-conversations header { display: flex; justify-content: space-between; gap: 10px; }
.social-conversations time { color: var(--social-faint); font-size: 10px; }
.social-conversations span, .social-conversations p { color: var(--social-muted); font-size: 11px; }
.social-conversations p { overflow: hidden; margin: 3px 0 0; text-overflow: ellipsis; white-space: nowrap; }

.social-thread-head { min-height: 64px; }
.social-thread-person { display: flex; align-items: center; gap: 9px; }
.social-thread-person > span:last-child { display: flex; flex-direction: column; }
.social-thread-person small { color: var(--social-muted); font-size: 10px; }
.social-thread { display: flex; min-height: calc(100vh - 136px); flex-direction: column; gap: 8px; padding: 15px 20px 90px; }
.social-thread-intro { display: grid; justify-items: center; padding: 30px 15px; border-bottom: 1px solid var(--social-line); text-align: center; }
.social-thread-intro h2 { margin: 9px 0 0; font: 700 20px/1 var(--social-serif); }
.social-thread-intro p { margin: 5px 0; color: var(--social-muted); font-size: 11px; }
.social-thread-intro a { color: var(--social-green); font-size: 11px; font-weight: 700; }
.social-message { align-self: flex-start; max-width: 76%; }
.social-message p { margin: 0; padding: 10px 13px; background: #eaf0ed; border-radius: 16px 16px 16px 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.social-message time { display: block; margin: 3px 5px 0; color: var(--social-faint); font-size: 9px; }
.social-message.is-mine { align-self: flex-end; text-align: right; }
.social-message.is-mine p { color: #fff; background: var(--social-green); border-radius: 16px 16px 4px 16px; text-align: left; }
.social-message-composer { position: sticky; z-index: 15; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--social-line); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.social-message-composer textarea { min-height: 42px; max-height: 130px; padding: 11px 14px; resize: none; border: 1px solid var(--social-line); border-radius: 18px; outline: 0; }
.social-message-composer textarea:focus { border-color: var(--social-green); }
.social-message-composer button { align-self: end; height: 40px; padding: 0 17px; border: 0; color: #fff; background: var(--social-green); border-radius: 18px; font-weight: 700; }

.social-settings { display: grid; gap: 16px; padding: 18px; }
.social-settings section { border: 1px solid var(--social-line); border-radius: 16px; background: #fff; }
.social-settings section > header { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 18px; border-bottom: 1px solid var(--social-line); background: #f8faf9; border-radius: 16px 16px 0 0; }
.social-settings section > header > span { display: grid; place-items: center; width: 30px; height: 30px; color: var(--social-green); background: var(--social-green-soft); border-radius: 50%; font: 700 10px/1 var(--social-mono); }
.social-settings h2 { margin: 0; font: 700 18px/1 var(--social-serif); }
.social-settings header p { margin: 4px 0 0; color: var(--social-muted); font-size: 11px; }
.social-settings section > label, .social-settings-grid { margin: 16px 18px; }
.social-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.social-settings label { display: flex; flex-direction: column; gap: 6px; }
.social-settings label > span { font-size: 11px; font-weight: 700; }
.social-settings input, .social-settings textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--social-line); border-radius: 9px; outline: 0; resize: vertical; }
.social-settings input:focus, .social-settings textarea:focus { border-color: var(--social-green); box-shadow: 0 0 0 3px rgba(7,91,67,.07); }
.social-settings label small { color: var(--social-faint); font-size: 9px; }
.social-handle-input { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid var(--social-line); border-radius: 9px; }
.social-handle-input b { padding-left: 11px; color: var(--social-muted); }
.social-handle-input input { border: 0; }
.social-settings > footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 5px 2px 30px; }
.social-settings > footer > a { color: var(--social-green); font-size: 11px; font-weight: 700; }
.social-media-editor { display: grid; gap: 0; }
.social-cover-editor__preview { position: relative; height: 178px; overflow: hidden; background: linear-gradient(135deg,#183429,#0c1612); }
.social-cover-editor__preview::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 45%,rgba(6,12,10,.46)); pointer-events: none; }
.social-cover-editor__preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
[data-profile-preview][hidden] { display: none; }
.social-cover-editor__preview > span { position: absolute; z-index: 1; left: 18px; bottom: 14px; color: rgba(255,255,255,.78); font: 9px/1 var(--social-mono); letter-spacing: .14em; }
.social-avatar-editor { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 16px; align-items: center; padding: 18px; border-top: 1px solid var(--social-line); }
.social-avatar-editor__media { position: relative; width: 94px; height: 94px; margin-top: -58px; }
.social-avatar-editor__media > .social-avatar { width: 100%; height: 100%; border-width: 4px; box-shadow: 0 4px 18px rgba(12,22,18,.22),0 0 0 1px var(--social-line); }
.social-media-editor__controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 18px; }
.social-cover-editor > .social-media-editor__controls { display: none; }
.social-avatar-editor .social-media-editor__controls { padding: 0; }
.social-media-editor__controls > div { flex: 1 1 230px; min-width: 0; }
.social-media-editor__controls b, .social-media-editor__controls small { display: block; }
.social-media-editor__controls b { font-size: 12px; }
.social-media-editor__controls small { margin-top: 4px; color: var(--social-muted); font-size: 9px; line-height: 1.45; }
.social-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.social-media-overlay { position: absolute; z-index: 4; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; pointer-events: none; }
.social-media-overlay-button { display: grid !important; width: 48px !important; height: 48px; min-height: 48px; place-items: center; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; background: rgba(12,15,18,.62); box-shadow: 0 5px 18px rgba(0,0,0,.18); backdrop-filter: blur(12px); cursor: pointer; pointer-events: auto; transition: transform .16s ease,background .16s ease,border-color .16s ease; }
.social-media-overlay-button:hover { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(10,12,14,.82); transform: translateY(-1px); }
.social-media-overlay-button:focus-visible { outline: 3px solid var(--social-primary-highlight); outline-offset: 3px; }
.social-media-overlay-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-media-upload input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.social-media-remove[hidden] { display: none !important; }
.social-avatar-editor__media .social-media-overlay { gap: 5px; }
.social-avatar-editor__media .social-media-overlay-button { width: 36px !important; height: 36px; min-height: 36px; }
.social-avatar-editor__media .social-media-overlay-button svg { width: 18px; height: 18px; }
.social-settings.is-saving { pointer-events: none; opacity: .72; }
.social-privacy-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 16px 18px; padding: 0; border: 0; }
.social-privacy-options legend { width: 100%; margin-bottom: 9px; color: var(--social-muted); font-size: 10px; font-weight: 750; }
.social-privacy-options label { position: relative; display: grid; grid-template-columns: 34px minmax(0,1fr) 18px; gap: 9px; align-items: start; min-height: 100px; padding: 13px; border: 1px solid var(--social-line); border-radius: 13px; background: var(--social-paper); cursor: pointer; transition: border-color .16s ease,background .16s ease,box-shadow .16s ease; }
.social-privacy-options label:hover { border-color: var(--social-line-strong); background: var(--social-surface); }
.social-privacy-options label:has(input:checked) { border-color: var(--social-action); background: var(--social-green-soft); box-shadow: 0 0 0 1px color-mix(in srgb,var(--social-action) 18%,transparent); }
.social-privacy-options input { position: absolute; opacity: 0; pointer-events: none; }
.social-privacy-options label > span { display: grid; place-items: center; width: 32px; height: 32px; color: var(--social-action); background: var(--social-green-soft); border-radius: 10px; }
.social-privacy-options label > span svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-privacy-options label > div b, .social-privacy-options label > div small { display: block; }
.social-privacy-options label > div b { color: var(--social-ink); font-size: 11px; }
.social-privacy-options label > div small { margin-top: 5px; color: var(--social-muted); font-size: 9px; line-height: 1.45; }
.social-privacy-options label > i { display: grid; place-items: center; width: 17px; height: 17px; color: var(--social-on-primary); background: var(--social-action); border-radius: 50%; opacity: 0; transform: scale(.7); transition: opacity .15s ease,transform .15s ease; }
.social-privacy-options label:has(input:checked) > i { opacity: 1; transform: scale(1); }
.social-privacy-options label > i svg { width: 11px; height: 11px; stroke-width: 2.6; }
.social-follow-options { padding-top: 15px; border-top: 1px solid var(--social-line); }
.social-follow-requests { margin: 18px; overflow: hidden; border: 1px solid var(--social-line); border-radius: 13px; }
.social-follow-requests > header { display: flex; padding: 12px 14px; background: var(--social-surface); }
.social-follow-requests > header b, .social-follow-requests > header small { display: block; }
.social-follow-requests > header b { font-size: 11px; }
.social-follow-requests > header small { margin-top: 3px; color: var(--social-muted); font-size: 9px; }
.social-follow-requests article { display: grid; grid-template-columns: 42px minmax(0,1fr) auto auto; gap: 9px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--social-line); }
.social-follow-requests article > div b, .social-follow-requests article > div small { display: block; }
.social-follow-requests article > div b { font-size: 11px; }
.social-follow-requests article > div small { margin-top: 2px; color: var(--social-muted); font-size: 9px; }
.social-follow-requests article button { min-height: 31px; padding-inline: 10px; font-size: 9px; }
.social-protected-profile { display: grid; justify-items: center; padding: 52px 24px 58px; text-align: center; border-bottom: 1px solid var(--social-line); }
.social-protected-profile > span { display: grid; place-items: center; width: 54px; height: 54px; color: var(--social-action); border: 1px solid var(--social-line-strong); background: var(--social-green-soft); border-radius: 50%; }
.social-protected-profile > span svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social-protected-profile h2 { margin: 15px 0 0; font: 700 22px/1.1 var(--social-serif); }
.social-protected-profile p { max-width: 430px; margin: 9px 0 0; color: var(--social-muted); font-size: 12px; line-height: 1.55; }
.social-protected-profile small { margin-top: 11px; color: var(--social-action); font-size: 10px; font-weight: 700; }

.social-mobile-nav { display: none; }

@media (max-width: 1200px) {
  .social-shell { grid-template-columns: 84px minmax(0,700px) 320px; justify-content: center; }
  .social-sidebar__inner { align-items: center; padding-inline: 12px; }
  .social-brand { margin-inline: 0; }
  .social-brand__text, .social-nav a b, .social-nav a em, .social-account-card > div, .social-account-card__logout { display: none; }
  .social-nav a { display: grid; width: 50px; grid-template-columns: 1fr; padding: 0; }
  .social-nav a.is-active::before { left: -17px; }
  .social-compose-link { width: 48px; height: 48px; min-height: 48px; overflow: hidden; border-radius: 50%; font-size: 0; }
  .social-compose-link::before { content: "+"; font-size: 24px; }
  .social-account-card { display: block; padding: 0; border: 0; background: none; }
  .social-right__inner { padding-right: 14px; padding-left: 18px; }
}

@media (max-width: 930px) {
  .social-shell { grid-template-columns: 76px minmax(0,700px); }
  .social-right { display: none; }
}

@media (max-width: 720px) {
  body.social-app { padding-bottom: 64px; }
  .social-shell { display: block; width: 100%; }
  .social-sidebar { display: none; }
  .social-main { width: 100%; min-height: calc(100vh - 64px); border-right: 0; }
  .social-page-head { min-height: 60px; padding-inline: 15px; }
  .social-page-head--tabs { padding-inline: 0; }
  .social-page-head h1 { font-size: 19px; }
  .social-composer { grid-template-columns: 36px minmax(0,1fr); padding: 14px 13px 10px; }
  .social-composer > .social-avatar { width: 36px; height: 36px; font-size: 13px; }
  .social-alt-input { display: none; }
  .social-post { grid-template-columns: 38px minmax(0,1fr); padding: 14px 13px 6px; }
  .social-post__avatar .social-avatar { width: 36px; height: 36px; font-size: 13px; }
  .social-post__head b { max-width: 145px; }
  .social-post__head > a:first-child span { display: none; }
  .social-discovery-hero { margin: 12px; padding: 24px 20px; }
  .social-discovery-hero h2 { font-size: 28px; }
  .social-profile-cover { height: 150px; }
  .social-profile-actions, .social-profile-copy { padding-inline: 15px; }
  .social-record-row { grid-template-columns: 1fr; }
  .social-settings { padding: 12px; }
  .social-settings-grid, .social-privacy-options { grid-template-columns: 1fr; }
  .social-privacy-options label { min-height: 0; }
  .social-follow-requests article { grid-template-columns: 38px minmax(0,1fr); }
  .social-follow-requests article form { grid-column: auto; }
  .social-cover-editor__preview { height: 132px; }
  .social-avatar-editor { grid-template-columns: 76px minmax(0,1fr); padding: 14px; }
  .social-avatar-editor__media { width: 68px; height: 68px; margin-top: -42px; }
  .social-avatar-editor__media > .social-avatar { border-width: 3px; }
  .social-avatar-editor__media .social-media-overlay-button { width: 30px !important; height: 30px; min-height: 30px; }
  .social-avatar-editor__media .social-media-overlay-button svg { width: 15px; height: 15px; }
  .social-media-editor__controls { padding: 12px 14px; }
  .social-settings > footer { align-items: stretch; flex-direction: column-reverse; }
  .social-settings > footer .social-primary-button { width: 100%; }
  .social-mobile-nav { position: fixed; z-index: 100; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5,1fr); height: 64px; padding: 5px max(7px, env(safe-area-inset-left)) env(safe-area-inset-bottom); border-top: 1px solid var(--social-line); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
  .social-mobile-nav a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: var(--social-muted); font: 19px/1 var(--social-serif); }
  .social-mobile-nav a span { font: 9px/1 var(--social-sans); }
  .social-mobile-nav a.is-active { color: var(--social-green); }
  .social-mobile-compose { color: #fff !important; width: 42px; height: 42px; align-self: center; justify-self: center; background: var(--social-green); border-radius: 50%; }
  .social-mobile-compose span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ================================================================
   SCIENDIA SOCIAL / ENTERPRISE INTERFACE
   Three-column research workspace with a theme-aware editorial skin.
   ================================================================ */

:root,
html[data-social-theme="dark"] {
  color-scheme: dark;
  --social-bg: #090a0f;
  --social-canvas: #090a0f;
  --social-rail: #0c0e14;
  --social-right-rail: #0c0e14;
  --social-paper: #101219;
  --social-surface: #151821;
  --social-surface-raised: #1b1f2a;
  --social-ink: #f4f6fb;
  --social-muted: #a1a6b5;
  --social-faint: #707687;
  --social-line: #252936;
  --social-line-strong: #3b4152;
  --social-green: #b4df82;
  --social-green-dark: #8fbe59;
  --social-green-soft: rgba(180, 223, 130, .13);
  --social-action: #a8d477;
  --social-action-hover: #8fbd5e;
  --social-live: #4ed7c5;
  --social-red: #ff6e8a;
  --social-shadow: 0 24px 65px rgba(0, 0, 0, .28);
  --social-control: #151821;
  --social-overlay: rgba(16, 18, 25, .88);
  --social-on-primary: #ffffff;
  --social-primary-highlight: #d5f0b5;
}

html[data-social-theme="light"] {
  color-scheme: light;
  --social-bg: #f2f3f7;
  --social-canvas: #f7f8fb;
  --social-rail: #eef1f6;
  --social-right-rail: #eceef1;
  --social-paper: #ffffff;
  --social-surface: #f5f6f9;
  --social-surface-raised: #ffffff;
  --social-ink: #171922;
  --social-muted: #656a79;
  --social-faint: #8c92a1;
  --social-line: #e0e3ea;
  --social-line-strong: #c8ccd7;
  --social-green: #5f8a3a;
  --social-green-dark: #466a29;
  --social-green-soft: rgba(95, 138, 58, .1);
  --social-action: #577f34;
  --social-action-hover: #416323;
  --social-live: #0fae98;
  --social-red: #bd3555;
  --social-shadow: 0 22px 55px rgba(24, 28, 45, .09);
  --social-control: #f0f2f6;
  --social-overlay: rgba(255, 255, 255, .9);
  --social-on-primary: #ffffff;
  --social-primary-highlight: #7fa955;
}

html,
body.social-app { background: var(--social-canvas); color: var(--social-ink); }
body.social-app { overflow-x: hidden; letter-spacing: -.006em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { color: #ffffff; background: #668f42; }

.social-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.social-app svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.social-app :is(a, button, input, textarea):focus-visible { outline: 2px solid var(--social-green); outline-offset: 2px; }
.social-app :is(.social-search, .social-search-page, .social-command__search) input:focus-visible { outline: 0; }
body.social-command-open { overflow: hidden; }

.social-shell {
  grid-template-columns: 260px 720px minmax(200px, 380px);
  width: min(1280px, 100%);
  background: var(--social-paper);
  box-shadow: none;
}

/* Left workspace rail */
.social-sidebar { background: var(--social-rail); border-color: var(--social-line); }
.social-sidebar__inner { height: 100vh; padding: 18px 16px 14px; overflow-y: auto; scrollbar-width: none; }
.social-sidebar__inner::-webkit-scrollbar { display: none; }
.social-brand { gap: 12px; margin: 0 8px 15px; }
.social-brand__mark {
  width: 40px; height: 40px; border-color: var(--social-green); color: var(--social-green);
  background: var(--social-green-soft); box-shadow: inset 0 0 0 4px var(--social-rail), inset 0 0 0 5px color-mix(in srgb, var(--social-green) 28%, transparent), 0 8px 24px rgba(76, 108, 48, .18);
}
.social-brand__text b { color: var(--social-ink); font-size: 19px; letter-spacing: .1em; }
.social-brand__text small { color: var(--social-muted); letter-spacing: .14em; }

.social-workspace-state {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px;
  min-height: 50px; margin: 0 2px 16px; padding: 9px 10px; border: 1px solid var(--social-line);
  background: linear-gradient(135deg, var(--social-surface), color-mix(in srgb, var(--social-green) 5%, var(--social-surface)));
  border-radius: 12px;
}
.social-workspace-state > div { display: flex; min-width: 0; flex-direction: column; }
.social-workspace-state b { font-size: 11px; font-weight: 720; }
.social-workspace-state small { margin-top: 1px; color: var(--social-muted); font-size: 9px; }
.social-workspace-state i { padding: 3px 5px; color: var(--social-green); border: 1px solid color-mix(in srgb, var(--social-green) 36%, transparent); border-radius: 5px; font: 700 8px/1 var(--social-mono); font-style: normal; letter-spacing: .08em; }
.social-live-dot { width: 7px; height: 7px; background: var(--social-live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--social-live) 13%, transparent), 0 0 13px color-mix(in srgb, var(--social-live) 45%, transparent); }
.social-command-trigger {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  width: calc(100% - 4px); min-height: 38px; margin: -6px 2px 16px; padding: 0 9px;
  color: var(--social-muted); border: 1px solid var(--social-line); background: var(--social-paper); border-radius: 9px;
  text-align: left;
}
.social-command-trigger:hover { color: var(--social-ink); border-color: var(--social-line-strong); background: var(--social-surface); }
.social-command-trigger svg { width: 15px; height: 15px; color: var(--social-green); }
.social-command-trigger span { font-size: 10px; font-weight: 650; }
.social-command-trigger kbd { padding: 3px 5px; color: var(--social-faint); border: 1px solid var(--social-line); background: var(--social-control); border-radius: 5px; font: 8px/1 var(--social-mono); }

.social-nav-label { display: block; margin: 0 12px 6px; color: var(--social-faint); font: 650 8px/1 var(--social-mono); letter-spacing: .14em; text-transform: uppercase; }
.social-nav-label--ecosystem { margin-top: 15px; }
.social-nav { gap: 2px; }
.social-nav a { grid-template-columns: 27px 1fr auto; min-height: 42px; padding: 0 11px; color: var(--social-muted); border: 1px solid transparent; border-radius: 10px; }
.social-nav a:hover { color: var(--social-ink); background: var(--social-surface); border-color: var(--social-line); }
.social-nav a.is-active { color: var(--social-ink); background: var(--social-green-soft); border-color: color-mix(in srgb, var(--social-green) 25%, transparent); }
.social-nav a.is-active::before { left: -17px; width: 2px; height: 24px; background: var(--social-green); }
.social-nav a svg { width: 19px; height: 19px; }
.social-nav a b { font-size: 13px; font-weight: 620; }
.social-nav a em { background: var(--social-action); }
.social-nav a small { color: var(--social-faint); font-size: 11px; }
.social-nav--ecosystem a { min-height: 34px; }
.social-nav--ecosystem a svg { width: 16px; height: 16px; }
.social-nav--ecosystem a b { font-size: 11px; }

.social-compose-link { display: flex; min-height: 45px; align-items: center; justify-content: center; gap: 9px; margin: 17px 2px 14px; color: var(--social-on-primary); background: linear-gradient(135deg, #709a4b, #557a36); border: 1px solid #8fb968; border-radius: 11px; box-shadow: 0 12px 32px rgba(83, 119, 52, .22); font-size: 12px; }
.social-compose-link:hover { color: #fff; background: var(--social-green-dark); border-color: var(--social-green); }
.social-compose-link svg { width: 17px; height: 17px; }

.social-account-card { margin-top: auto; padding: 9px; border-color: var(--social-line); background: var(--social-surface); border-radius: 12px; }
.social-account-card b { color: var(--social-ink); }
.social-account-card span { color: var(--social-muted); }
.social-theme-toggle { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--social-line); color: var(--social-muted); background: var(--social-paper); border-radius: 9px; }
.social-theme-toggle:hover { color: var(--social-green); border-color: var(--social-line-strong); }
.social-theme-toggle svg { width: 15px; height: 15px; }
html[data-social-theme="dark"] .theme-icon--moon,
html[data-social-theme="light"] .theme-icon--sun { display: none; }
.social-account-meta { display: flex; align-items: center; justify-content: space-between; padding: 9px 5px 0; color: var(--social-faint); font-size: 9px; }
.social-account-meta a { display: inline-flex; align-items: center; gap: 5px; }
.social-account-meta a:hover { color: var(--social-green); }
.social-account-meta svg { width: 12px; height: 12px; }

/* Main research stream */
.social-main { background: var(--social-paper); border-color: var(--social-line); }
.social-page-head { min-height: 72px; border-color: var(--social-line); background: var(--social-overlay); }
.social-page-head h1 { color: var(--social-ink); font-size: 21px; }
.social-page-head p { color: var(--social-muted); }
.social-page-head--tabs { min-height: 54px; padding: 0; }
.social-page-head--tabs > div { padding: 0 20px; }
.social-feed-title { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px !important; }
.social-feed-title > div { min-width: 0; }
.social-feed-title p { margin-top: 5px; font: 8px/1 var(--social-mono); letter-spacing: .1em; text-transform: uppercase; }
.social-feed-status { padding: 5px 8px; color: var(--social-live); border: 1px solid color-mix(in srgb, var(--social-live) 27%, transparent); background: color-mix(in srgb, var(--social-live) 7%, transparent); border-radius: 6px; font: 650 8px/1 var(--social-mono); text-transform: uppercase; }
.social-page-head--tabs nav { grid-template-columns: repeat(3, 1fr); min-height: 54px; margin-top: 0; }
.social-page-head--tabs nav a { display: grid; place-items: center; }
.social-page-head--tabs nav a { color: var(--social-muted); font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.social-page-head--tabs nav a:hover { color: var(--social-ink); background: var(--social-surface); }
.social-page-head--tabs nav a.is-active { color: var(--social-ink); }
.social-page-head--tabs nav a.is-active::after { background: var(--social-green); }

.social-composer { padding: 17px 20px 12px; border-color: var(--social-line); background: var(--social-paper); }
.social-composer__meta { display: flex; align-items: center; justify-content: space-between; margin: -1px 0 3px; }
.social-composer__meta > span { color: var(--social-faint); font: 650 8px/1 var(--social-mono); letter-spacing: .12em; text-transform: uppercase; }
.social-composer__meta button { display: inline-flex; height: 24px; align-items: center; gap: 5px; padding: 0 8px; color: var(--social-green); border: 1px solid color-mix(in srgb, var(--social-green) 25%, transparent); background: transparent; border-radius: 12px; font-size: 9px; }
.social-composer__meta button svg { width: 12px; height: 12px; }
.social-composer__cues { display: flex; align-items: center; gap: 6px; margin: 9px 0 3px; }
.social-composer__cues > span { margin-right: 2px; color: var(--social-faint); font: 650 8px/1 var(--social-mono); letter-spacing: .08em; text-transform: uppercase; }
.social-composer__cues button { min-height: 24px; padding: 0 8px; color: var(--social-muted); border: 1px solid var(--social-line); background: var(--social-surface); border-radius: 12px; font-size: 9px; }
.social-composer__cues button:hover { color: var(--social-green); border-color: color-mix(in srgb, var(--social-green) 38%, var(--social-line)); background: var(--social-green-soft); }
.social-composer textarea { min-height: 63px; color: var(--social-ink); }
.social-composer textarea::placeholder { color: var(--social-faint); }
.social-composer textarea:focus { background: transparent; }
.social-composer__tools { border-color: var(--social-line); }
.social-file-button { display: inline-flex; min-width: 65px; align-items: center; gap: 6px; color: var(--social-green); }
.social-file-button svg { width: 17px; height: 17px; }
.social-file-button span { font-size: 10px; font-weight: 650; }
.social-alt-input { color: var(--social-ink); border-color: var(--social-line); background: var(--social-control); }
.social-alt-input::placeholder { color: var(--social-faint); }
.social-file-name, .social-char-count { color: var(--social-faint); }
.social-composer__preview { position: relative; overflow: hidden; max-width: 470px; margin: 8px 0 10px; border: 1px solid var(--social-line); background: var(--social-surface); border-radius: 13px; }
.social-composer__preview[hidden] { display: none; }
.social-composer__preview img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.social-composer__preview button { position: absolute; top: 9px; right: 9px; display: grid; place-items: center; width: 29px; height: 29px; padding: 0; color: #fff; border: 1px solid rgba(255,255,255,.25); background: rgba(10,11,17,.78); border-radius: 50%; font-size: 18px; line-height: 1; backdrop-filter: blur(8px); }
.social-primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--social-on-primary); background: linear-gradient(135deg, #709a4b, #557a36); box-shadow: 0 8px 22px rgba(83, 119, 52, .18); }
.social-primary-button:hover { color: #fff; background: var(--social-action-hover); }
.social-primary-button svg { width: 14px; height: 14px; }
.social-outline-button, .social-icon-button { color: var(--social-green); background: var(--social-paper); border-color: var(--social-line-strong); }

.social-post { padding: 17px 20px 8px; border-color: var(--social-line); background: var(--social-paper); transition: background .15s ease, border-color .15s ease; }
.social-post:hover { background: color-mix(in srgb, var(--social-surface) 60%, var(--social-paper)); }
.social-post--focus { background: var(--social-paper); border-left-color: var(--social-green); }
.social-post__head { color: var(--social-muted); }
.social-post__head b { color: var(--social-ink); }
.social-post__head span, .social-post__time { color: var(--social-faint); }
.social-verified, .social-account-lock { display: inline-grid; flex: 0 0 auto; place-items: center; width: 16px; height: 16px; font-style: normal; vertical-align: middle; }
.social-verified { color: var(--social-primary-highlight); filter: drop-shadow(0 1px 3px color-mix(in srgb,var(--social-action) 28%,transparent)); }
.social-verified svg { width: 16px; height: 16px; overflow: visible; }
.social-account-lock { color: var(--social-muted); }
.social-account-lock svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.social-post__affiliation { margin: -1px 0 5px; color: var(--social-faint); font-size: 9px; }
.social-post__text { color: var(--social-ink); font-size: 13.5px; line-height: 1.58; }
.social-post__media { border-color: var(--social-line); background: var(--social-surface); border-radius: 13px; }
.social-post__delete { color: var(--social-faint); }
.social-post__delete:hover { color: var(--social-red); background: color-mix(in srgb, var(--social-red) 10%, transparent); }
.social-post__actions a, .social-post__actions button { color: var(--social-muted); }
.social-post__actions a:hover, .social-post__actions button:hover { color: var(--social-green); background: var(--social-green-soft); }
.social-post__actions svg { width: 17px; height: 17px; }
.social-post__actions .is-like { color: var(--social-red); }
.social-post__actions .is-like svg { fill: currentColor; }
.social-post__actions .social-post__bookmark button.is-active {
  color: var(--social-action);
  background: color-mix(in srgb, var(--social-action) 11%, transparent);
}
.social-post__actions .social-post__bookmark button.is-active svg {
  fill: currentColor;
  stroke: currentColor;
}
.social-post__actions .is-repost { color: var(--social-green); }

/* Right intelligence rail */
.social-right { background: var(--social-right-rail); }
.social-right__inner { gap: 14px; min-height: 100%; padding: 14px 18px 28px 20px; }
.social-search { grid-template-columns: 22px minmax(0, 1fr) auto; height: 44px; border-color: var(--social-line); background: var(--social-control); border-radius: 12px; }
.social-right__inner > .social-search {
  position: sticky; z-index: 90; top: 14px;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--social-right-rail) 94%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.social-search:focus-within { background: var(--social-paper); border-color: var(--social-green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--social-green) 9%, transparent); }
.social-search svg { width: 17px; height: 17px; color: var(--social-muted); }
.social-search input { color: var(--social-ink); }
.social-search input::placeholder { color: var(--social-faint); }
.social-search kbd { display: grid; place-items: center; width: 20px; height: 20px; color: var(--social-faint); border: 1px solid var(--social-line); background: var(--social-paper); border-radius: 5px; font: 9px/1 var(--social-mono); }
.social-search, .social-search-page { position: relative; }
.social-search-suggestions {
  position: absolute; z-index: 80; top: calc(100% + 8px); right: 0; left: 0;
  max-height: min(520px, calc(100vh - 110px)); overflow-y: auto; padding: 7px;
  color: var(--social-ink); border: 1px solid var(--social-line-strong); background: color-mix(in srgb, var(--social-paper) 96%, transparent);
  border-radius: 13px; box-shadow: var(--social-shadow); backdrop-filter: blur(18px);
}
.social-search-suggestions[hidden] { display: none; }
.social-search-suggestions__label { display: block; padding: 8px 9px 5px; color: var(--social-faint); font: 650 7px/1 var(--social-mono); letter-spacing: .14em; text-transform: uppercase; }
.social-search-result { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 50px; padding: 6px 8px; border-radius: 9px; }
.social-search-result:hover, .social-search-result.is-active { color: var(--social-ink); background: var(--social-green-soft); }
.social-search-result__mark { display: grid; place-items: center; width: 30px; height: 30px; color: var(--social-green); border: 1px solid var(--social-line); background: var(--social-surface); border-radius: 9px; font: 700 12px/1 var(--social-serif); }
.social-search-result__mark--person { color: #fff; border: 0; border-radius: 50%; }
.social-search-result__mark--person img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.social-search-result > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.social-search-result b, .social-search-result small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-search-result b { font-size: 10px; }
.social-search-result small { margin-top: 3px; color: var(--social-muted); font-size: 8px; }
.social-search-suggestions__empty { margin: 0; padding: 16px 11px; color: var(--social-muted); font-size: 9px; text-align: center; }

.social-side-card { border-color: var(--social-line); background: var(--social-surface); border-radius: 14px; }
.social-side-card > header { min-height: 65px; padding: 15px 16px 12px; border-bottom: 1px solid var(--social-line); }
.social-side-card > header > div { display: flex; flex-direction: column; }
.social-side-card > header span { color: var(--social-ink); font-size: 18px; }
.social-side-card > header small { order: -1; margin-bottom: 6px; color: var(--social-green); font-size: 7px; letter-spacing: .15em; }
.social-side-card > header > a { color: var(--social-green); font-size: 9px; font-weight: 700; }
.social-intelligence-card > header > i { display: inline-flex; align-items: center; gap: 6px; color: var(--social-muted); font-size: 8px; font-style: normal; text-transform: uppercase; }
.social-intelligence-card > header .social-live-dot { width: 6px; height: 6px; }
.social-trends { padding-bottom: 0; }
.social-trends a { display: grid; grid-template-columns: 27px minmax(0, 1fr) 16px; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--social-line); }
.social-trends a:hover { background: color-mix(in srgb, var(--social-green) 5%, transparent); }
.social-trends a > em { color: var(--social-faint); font: 9px/1 var(--social-mono); font-style: normal; }
.social-trends a > span { display: flex; min-width: 0; flex-direction: column; }
.social-trends small { color: var(--social-faint); font-size: 8px; }
.social-trends b { margin: 1px 0; color: var(--social-ink); font-size: 12px; }
.social-trends i { color: var(--social-muted); font-size: 8px; font-style: normal; }
.social-trends svg { width: 13px; height: 13px; color: var(--social-faint); }
.social-trends__empty { padding: 18px 16px; color: var(--social-muted); font-size: 10px; }
.social-side-card__action { display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; color: var(--social-green); font-size: 9px; font-weight: 700; }
.social-side-card__action svg { width: 14px; height: 14px; }

.social-suggestions { padding: 5px 0; }
.social-suggestion-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 12px; }
.social-suggestion-row:hover { background: color-mix(in srgb, var(--social-green) 4%, transparent); }
.social-suggestion-row > a:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.social-suggestion-row b, .social-suggestion-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-suggestion-row b { color: var(--social-ink); font-size: 11px; }
.social-suggestion-row small { color: var(--social-muted); font-size: 8px; }
.social-suggestion-row button { height: 28px; padding: 0 9px; color: var(--social-ink); border: 1px solid var(--social-line-strong); background: var(--social-paper); border-radius: 8px; font-size: 8px; font-weight: 700; }
.social-suggestion-row button:hover { color: #fff; background: var(--social-action); border-color: var(--social-action); }

.social-operations-card { padding: 14px 15px; color: var(--social-ink); border: 1px solid var(--social-line); background: linear-gradient(145deg, var(--social-surface), color-mix(in srgb, var(--social-green) 7%, var(--social-surface))); border-radius: 14px; }
.social-operations-card > header { display: flex; align-items: center; justify-content: space-between; }
.social-operations-card > header span { font: 700 15px/1 var(--social-serif); }
.social-operations-card > header small { color: var(--social-green); font: 700 7px/1 var(--social-mono); letter-spacing: .12em; }
.social-operations-card ul { display: grid; gap: 10px; margin: 13px 0 0; padding: 0; list-style: none; }
.social-operations-card li { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 8px; }
.social-operations-card li > span { display: grid; place-items: center; width: 22px; height: 22px; color: #071714; background: var(--social-live); border-radius: 50%; }
.social-operations-card li svg { width: 12px; height: 12px; stroke-width: 2.5; }
.social-operations-card li > div { display: flex; flex-direction: column; }
.social-operations-card li b { font-size: 9px; }
.social-operations-card li small { color: var(--social-muted); font-size: 8px; }
.social-mini-footer { color: var(--social-faint); }
.social-action-toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; max-width: min(380px, calc(100vw - 30px)); padding: 10px 14px; opacity: 0; color: #fff; background: #222633; border: 1px solid #555fda; border-radius: 9px; box-shadow: 0 16px 40px rgba(0,0,0,.3); font-size: 10px; font-weight: 700; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .18s ease, transform .18s ease; }
.social-action-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Keyboard-first command center */
.social-command {
  position: fixed; z-index: 500; inset: 0; display: grid; place-items: start center; padding: min(12vh, 110px) 20px 30px;
  opacity: 0; background: rgba(5, 6, 10, .68); backdrop-filter: blur(10px); transition: opacity .16s ease;
}
.social-command[hidden] { display: none; }
.social-command.is-open { opacity: 1; }
.social-command__panel {
  width: min(620px, 100%); overflow: hidden; border: 1px solid var(--social-line-strong); background: var(--social-paper);
  border-radius: 17px; box-shadow: 0 32px 90px rgba(0, 0, 0, .42); transform: translateY(-10px) scale(.985); transition: transform .16s ease;
}
.social-command.is-open .social-command__panel { transform: translateY(0) scale(1); }
.social-command__panel > header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.social-command__panel > header > div { display: flex; flex-direction: column; }
.social-command__panel > header small { margin-bottom: 5px; color: var(--social-green); font: 650 7px/1 var(--social-mono); letter-spacing: .14em; }
.social-command__panel h2 { margin: 0; color: var(--social-ink); font: 700 22px/1 var(--social-serif); }
.social-command__panel > header button { padding: 5px 7px; color: var(--social-faint); border: 1px solid var(--social-line); background: var(--social-surface); border-radius: 6px; font: 8px/1 var(--social-mono); }
.social-command__search { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px; margin: 0 12px 10px; padding: 0 11px; border: 1px solid var(--social-line-strong); background: var(--social-control); border-radius: 11px; }
.social-command__search:focus-within { border-color: var(--social-green); box-shadow: 0 0 0 3px var(--social-green-soft); }
.social-command__search svg { width: 17px; height: 17px; color: var(--social-green); }
.social-command__search input { height: 46px; border: 0; color: var(--social-ink); background: transparent; }
.social-command__search input::placeholder { color: var(--social-faint); }
.social-command__list { display: grid; max-height: min(430px, 52vh); overflow-y: auto; padding: 3px 8px 9px; }
.social-command__list [data-command-item] { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 55px; padding: 7px 10px; color: var(--social-muted); border: 0; background: transparent; border-radius: 10px; text-align: left; }
.social-command__list [data-command-item][hidden] { display: none; }
.social-command__list [data-command-item]:hover, .social-command__list [data-command-item].is-active { color: var(--social-ink); background: var(--social-green-soft); }
.social-command__list [data-command-item] > svg { width: 17px; height: 17px; color: var(--social-green); }
.social-command__list [data-command-item] > span { display: flex; min-width: 0; flex-direction: column; }
.social-command__list [data-command-item] b { color: var(--social-ink); font-size: 11px; }
.social-command__list [data-command-item] small { margin-top: 3px; color: var(--social-muted); font-size: 8px; }
.social-command__list [data-command-item] kbd { color: var(--social-faint); font: 8px/1 var(--social-mono); }
.social-command__panel > footer { display: flex; gap: 17px; padding: 10px 18px; color: var(--social-faint); border-top: 1px solid var(--social-line); background: var(--social-surface); font-size: 8px; }
.social-command__panel > footer span { display: inline-flex; align-items: center; gap: 4px; }
.social-command__panel > footer kbd { padding: 2px 4px; color: var(--social-muted); border: 1px solid var(--social-line); background: var(--social-paper); border-radius: 4px; font: 7px/1 var(--social-mono); }

/* Theme-aware secondary screens */
.social-empty > span, .social-notification-mark { color: var(--social-green); background: var(--social-green-soft); }
.social-empty h2, .social-discovery-hero h2, .social-section-label h2, .social-people-strip h2 { color: var(--social-ink); }
.social-discovery-hero { background: radial-gradient(circle at 85% 15%, rgba(129,136,255,.24), transparent 34%), linear-gradient(135deg,#171a26,#10121a); box-shadow: none; border: 1px solid var(--social-line-strong); }
.social-discovery-hero > span { color: var(--social-primary-highlight); }
.social-discovery-hero p { color: #c4c8d5; }
.social-discovery-hero button { background: var(--social-action); }
.social-discovery-hero form { background: var(--social-paper); }
.social-discovery-hero input { color: var(--social-ink); background: var(--social-paper); }
.social-people-strip, .social-search-people { border-bottom-color: var(--social-bg); }
.social-people-strip > div > a { border-color: var(--social-line); background: var(--social-surface); }
.social-people-strip > div > a:hover { border-color: var(--social-green); box-shadow: none; }
.social-search-page { border-color: var(--social-line); background: var(--social-surface); }
.social-search-page:focus-within { border-color: color-mix(in srgb, var(--social-green) 55%, var(--social-line)); box-shadow: 0 0 0 3px var(--social-green-soft); }
.social-search-page input { color: var(--social-ink); background: transparent; }
.social-search-people > a { border-color: var(--social-line); }
.social-profile-hero, .social-profile-tabs, .social-notifications > a, .social-conversations > a { border-color: var(--social-line); }
.social-avatar--emerald { background: linear-gradient(145deg,#7780f1,#3d47ae); }
.social-avatar--ink { background: linear-gradient(145deg,#535969,#232631); }
.social-avatar--amber { background: linear-gradient(145deg,#d6a95c,#76521d); }
.social-avatar--violet { background: linear-gradient(145deg,#9a7fd0,#4f397d); }
.social-avatar--teal { background: linear-gradient(145deg,#50b9c0,#22636b); }
.social-profile-cover { background: linear-gradient(135deg,#22263a,#11131b); }
.social-profile-cover--emerald { background: linear-gradient(135deg,#555ec7,#202544); }
.social-profile-cover--ink { background: linear-gradient(135deg,#363b48,#14161d); }
.social-profile-cover--amber { background: linear-gradient(135deg,#775527,#282116); }
.social-profile-cover--violet { background: linear-gradient(135deg,#59447c,#21192f); }
.social-profile-cover--teal { background: linear-gradient(135deg,#28676d,#12272b); }
.social-profile-tabs a { color: var(--social-muted); }
.social-profile-tabs a.is-active { color: var(--social-ink); }
.social-notifications > a:hover, .social-conversations > a:hover { background: var(--social-surface); }
.social-message p { background: var(--social-surface-raised); }
.social-message.is-mine p { color: #fff; background: var(--social-action); }
.social-search-page button, .social-message-composer button { background: var(--social-action); }
.social-message-composer { border-color: var(--social-line); background: var(--social-overlay); }
.social-message-composer textarea { color: var(--social-ink); border-color: var(--social-line); background: var(--social-control); }
.social-settings section { border-color: var(--social-line); background: var(--social-surface); }
.social-settings section > header { border-color: var(--social-line); background: var(--social-control); }
.social-settings input, .social-settings textarea, .social-handle-input { color: var(--social-ink); border-color: var(--social-line); background: var(--social-paper); }
.social-handle-input input { background: transparent; }
.social-back { color: var(--social-muted); }

html[data-social-theme="light"] .social-discovery-hero {
  color: var(--social-ink);
  border-color: #d8dced;
  background:
    radial-gradient(circle at 86% 12%, rgba(79, 91, 213, .16), transparent 36%),
    linear-gradient(135deg, #f8f9ff, #e9edf9);
}
html[data-social-theme="light"] .social-discovery-hero > span { color: var(--social-action); }
html[data-social-theme="light"] .social-discovery-hero h2 { color: #171922; }
html[data-social-theme="light"] .social-discovery-hero p { color: #505668; }
html[data-social-theme="light"] .social-discovery-hero form { border: 1px solid #d5d9e7; box-shadow: 0 12px 32px rgba(44, 50, 88, .08); }
html[data-social-theme="dark"] .social-discovery-hero h2 { color: #f4f6fb; }

@media (max-width: 1200px) {
  .social-shell { grid-template-columns: 84px 720px minmax(200px, 320px); }
  .social-sidebar__inner { padding-inline: 12px; }
  .social-workspace-state, .social-nav-label, .social-account-meta, .social-nav--ecosystem a small { display: none; }
  .social-command-trigger { grid-template-columns: 1fr; width: 48px; min-height: 40px; margin: 0 0 12px; padding: 0; }
  .social-command-trigger svg { justify-self: center; }
  .social-command-trigger span, .social-command-trigger kbd { display: none; }
  .social-nav--ecosystem { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--social-line); }
  .social-nav a { grid-template-columns: 1fr; width: 48px; min-height: 43px; }
  .social-nav a svg { justify-self: center; }
  .social-compose-link { width: 46px; height: 46px; min-height: 46px; margin-inline: 0; border-radius: 50%; }
  .social-compose-link span { display: none; }
  .social-account-card { display: grid; grid-template-columns: 1fr; justify-items: center; padding: 5px; background: transparent; border: 0; }
  .social-account-card .social-theme-toggle { margin-top: 7px; }
  .social-right__inner { padding-inline: 16px; }
}

@media (max-width: 1080px) {
  .social-shell { grid-template-columns: 76px minmax(0, 720px); }
  .social-right { display: none; }
}

@media (max-width: 720px) {
  .social-page-head--tabs { min-height: 52px; }
  .social-page-head--tabs nav { min-height: 52px; }
  .social-feed-status { display: none; }
  .social-page-head--tabs nav a { padding-inline: 5px; font-size: 12px; }
  .social-composer__meta { display: none; }
  .social-composer__cues { overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .social-composer__cues::-webkit-scrollbar { display: none; }
  .social-composer__cues > span { display: none; }
  .social-composer__cues button { flex: 0 0 auto; }
  .social-file-button span { display: none; }
  .social-file-button { min-width: 30px; }
  .social-post__affiliation { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .social-mobile-nav { border-color: var(--social-line); background: var(--social-overlay); }
  .social-mobile-nav a { color: var(--social-muted); font-family: var(--social-sans); }
  .social-mobile-nav a svg { width: 20px; height: 20px; }
  .social-mobile-nav a.is-active { color: var(--social-green); }
  .social-mobile-compose { color: #fff !important; background: var(--social-action); box-shadow: 0 8px 24px rgba(73,82,205,.24); }
  .social-command { padding: 18px 10px 80px; place-items: start center; }
  .social-command__panel { border-radius: 14px; }
  .social-command__panel > footer { display: none; }
}

/* Enterprise composer: audience, conversation policy and rich research tools */
.social-composer { position: relative; overflow: visible; }
.social-composer__menu-root { position: relative; width: max-content; }
.social-composer__audience { z-index: 45; margin: -2px 0 5px; }
.social-composer__selector,
.social-composer__reply > button {
  display: inline-flex; min-height: 30px; align-items: center; gap: 6px; padding: 0 10px;
  color: var(--social-action); border: 1px solid color-mix(in srgb, var(--social-action) 32%, var(--social-line));
  background: color-mix(in srgb, var(--social-action) 5%, var(--social-paper)); border-radius: 16px;
  font-size: 10px; font-weight: 750;
}
.social-composer__selector:hover,
.social-composer__reply > button:hover,
.social-composer__selector[aria-expanded="true"],
.social-composer__reply > button[aria-expanded="true"] {
  border-color: var(--social-action); background: color-mix(in srgb, var(--social-action) 10%, var(--social-paper));
}
.social-composer__selector svg, .social-composer__reply > button svg { width: 14px; height: 14px; }
.social-composer__selector svg:last-child { width: 11px; height: 11px; }
.social-composer-menu {
  position: absolute; z-index: 90; top: calc(100% + 7px); left: 0; display: grid; width: min(390px, calc(100vw - 40px));
  max-height: min(520px, 70vh); overflow-y: auto; padding: 7px; color: var(--social-ink);
  border: 1px solid var(--social-line-strong); background: color-mix(in srgb, var(--social-paper) 97%, transparent);
  border-radius: 16px; box-shadow: 0 24px 70px rgba(7,10,18,.24); backdrop-filter: blur(22px);
}
.social-composer-menu[hidden] { display: none; }
.social-composer-menu header { display: flex; flex-direction: column; padding: 12px 11px 9px; }
.social-composer-menu header span { font: 700 18px/1.1 var(--social-serif); }
.social-composer-menu header small { margin-top: 5px; color: var(--social-muted); font-size: 9px; }
.social-composer-menu > p { margin: 9px 10px 5px; color: var(--social-faint); font: 700 7px/1 var(--social-mono); letter-spacing: .14em; text-transform: uppercase; }
.social-composer-menu > button {
  display: grid; grid-template-columns: 36px minmax(0,1fr) 24px; align-items: center; gap: 9px;
  min-height: 58px; padding: 8px 9px; color: var(--social-ink); border: 0; background: transparent;
  border-radius: 11px; text-align: left;
}
.social-composer-menu > button:hover { background: var(--social-green-soft); }
.social-composer-menu > button > svg {
  width: 32px; height: 32px; padding: 7px; color: var(--social-action);
  border: 1px solid color-mix(in srgb, var(--social-action) 22%, var(--social-line));
  background: color-mix(in srgb, var(--social-action) 7%, var(--social-paper)); border-radius: 50%;
}
.social-composer-menu > button > span { display: flex; min-width: 0; flex-direction: column; }
.social-composer-menu > button b { font-size: 11px; }
.social-composer-menu > button small { margin-top: 3px; color: var(--social-muted); font-size: 8px; }
.social-composer-menu > button > i { display: none; color: var(--social-action); }
.social-composer-menu > button.is-selected > i { display: grid; }
.social-composer-menu > button > i svg { width: 17px; height: 17px; stroke-width: 2.7; }
.social-composer-menu--audience { min-width: 350px; }
.social-composer__reply { z-index: 44; margin: 1px 0 8px; }
.social-composer__reply > button { padding-inline: 4px 10px; border-color: transparent; background: transparent; }
.social-composer__reply > button:hover { border-color: color-mix(in srgb, var(--social-action) 24%, var(--social-line)); }
.social-composer-menu--reply { top: calc(100% + 7px); bottom: auto; min-width: 390px; max-height: min(480px, calc(100vh - 350px)); }
.social-reply-region { display: grid; gap: 5px; margin: 6px 9px 10px; padding: 10px; border: 1px solid var(--social-line); background: var(--social-surface); border-radius: 10px; }
.social-reply-region[hidden] { display: none; }
.social-reply-region span { color: var(--social-muted); font-size: 8px; font-weight: 700; }
.social-reply-region input { height: 35px; padding: 0 10px; color: var(--social-ink); border: 1px solid var(--social-line); background: var(--social-paper); border-radius: 8px; outline: 0; }

.social-tool-panel {
  display: grid; gap: 10px; margin: 7px 0 9px; padding: 12px; color: var(--social-ink);
  border: 1px solid var(--social-line); background: var(--social-surface); border-radius: 13px;
}
.social-tool-panel[hidden] { display: none; }
.social-tool-panel header { display: flex; align-items: center; justify-content: space-between; }
.social-tool-panel header b { font-size: 11px; }
.social-tool-panel header button { width: 26px; height: 26px; padding: 0; color: var(--social-muted); border: 0; background: transparent; border-radius: 50%; font-size: 18px; }
.social-tool-panel header button:hover { color: var(--social-ink); background: var(--social-control); }
.social-tool-panel > label, .social-tool-panel--poll [data-poll-options] label { display: grid; gap: 5px; }
.social-tool-panel label > span { color: var(--social-muted); font-size: 8px; font-weight: 700; }
.social-tool-panel input, .social-tool-panel select {
  width: 100%; height: 38px; padding: 0 10px; color: var(--social-ink);
  border: 1px solid var(--social-line); background: var(--social-paper); border-radius: 8px; outline: 0;
}
.social-tool-panel input:focus, .social-tool-panel select:focus { border-color: var(--social-action); box-shadow: 0 0 0 3px color-mix(in srgb, var(--social-action) 10%, transparent); }
.social-tool-panel > small { color: var(--social-faint); font-size: 8px; }
.social-tool-panel--poll [data-poll-options] { display: grid; gap: 8px; }
.social-tool-panel--poll footer { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.social-tool-panel--poll footer > button { height: 34px; padding: 0 10px; color: var(--social-action); border: 1px solid var(--social-line); background: var(--social-paper); border-radius: 8px; font-size: 9px; font-weight: 700; }
.social-tool-panel--poll footer label { width: 120px; }
.social-emoji-grid { display: grid; grid-template-columns: repeat(8,1fr); gap: 5px; }
.social-emoji-grid button { display: grid; place-items: center; aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: transparent; border-radius: 8px; font-size: 20px; }
.social-emoji-grid button:hover { border-color: var(--social-line); background: var(--social-paper); }

.social-composer__tools { gap: 3px; }
.social-tool-button {
  display: grid; flex: 0 0 auto; place-items: center; width: 31px; height: 31px; padding: 0;
  color: var(--social-action); border: 0; background: transparent; border-radius: 50%;
}
.social-tool-button:hover, .social-tool-button.is-active { color: var(--social-action); background: color-mix(in srgb, var(--social-action) 10%, transparent); }
.social-tool-button svg { width: 17px; height: 17px; }
.social-tool-button--gif { width: 33px; font: 800 8px/1 var(--social-sans); letter-spacing: -.03em; }
.social-file-button { position: relative; }
.social-more-button { margin-left: 4px; border: 1px solid color-mix(in srgb, var(--social-action) 38%, var(--social-line)); }
.social-alt-input { display: none; }
.social-composer.has-image .social-alt-input { display: block; width: min(180px,24%); }
.social-char-ring {
  --composer-progress: 0deg; position: relative; display: grid; flex: 0 0 auto; place-items: center;
  width: 31px; height: 31px; margin-left: auto; border-radius: 50%;
  background: conic-gradient(var(--social-action) var(--composer-progress), var(--social-line) 0);
}
.social-char-ring::before { position: absolute; inset: 3px; content: ""; background: var(--social-paper); border-radius: inherit; }
.social-char-ring span { position: relative; z-index: 1; color: var(--social-faint); font: 7px/1 var(--social-mono); }
.social-char-ring.is-low { background: conic-gradient(var(--social-red) var(--composer-progress), var(--social-line) 0); }
.social-char-ring.is-low span { color: var(--social-red); }
.social-primary-button { margin-left: 7px; border-color: var(--social-action); background: var(--social-action); }
.social-primary-button:hover { border-color: var(--social-action-hover); background: var(--social-action-hover); }
.social-primary-button[aria-busy="true"], [data-ai-assist][aria-busy="true"] { opacity: .58; pointer-events: none; }
.social-composer.is-tools-expanded textarea { min-height: 140px; }
.social-composer.is-tools-expanded .social-more-button { transform: rotate(45deg); }
.social-composer__preview--gif { max-width: 380px; }
.social-composer__preview--gif > span, .social-post__media--gif > span { position: absolute; left: 9px; bottom: 9px; padding: 3px 6px; color: #fff; background: rgba(7,10,16,.78); border-radius: 5px; font: 800 8px/1 var(--social-sans); }
.social-post__media--gif { position: relative; }

.social-post__scope { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 2px 0 5px; }
.social-post__scope:empty { display: none; }
.social-post__scope span { display: inline-flex; align-items: center; gap: 4px; color: var(--social-faint); font-size: 8px; }
.social-post__scope svg { width: 11px; height: 11px; }
.social-post__scope .is-scheduled { color: #b98519; font-weight: 700; }
.social-post--scheduled { background: color-mix(in srgb, #b98519 4%, var(--social-paper)); }
.social-post__reply-policy { display: inline-flex; align-items: center; gap: 5px; margin: 1px 0 2px; color: var(--social-action); font-size: 9px; font-weight: 650; }
.social-post__reply-policy svg { width: 13px; height: 13px; }
.social-post__actions {
  grid-template-columns: repeat(6, minmax(42px, 1fr));
  width: 100%; max-width: none; align-items: center; margin: 5px 0 0;
}
.social-post__actions form { justify-self: start; }
.social-post__actions .social-post__bookmark { justify-self: start; }
.social-post__actions a, .social-post__actions button,
.social-post__action-disabled {
  min-width: 42px; height: 38px; gap: 7px; padding: 0 8px; border-radius: 19px;
}
.social-post__actions svg, .social-post__action-disabled svg { width: 20px; height: 20px; stroke-width: 1.75; }
.social-post__actions b, .social-post__action-disabled b { color: currentColor; font-size: 11px; font-weight: 500; }
.social-post__actions > :nth-child(5), .social-post__actions > :nth-child(6) { justify-self: end; }
.social-post__analytics { white-space: nowrap; }
.social-post.is-removing { opacity: 0; transform: translateY(-5px); pointer-events: none; }
.social-post__action-disabled { display: flex; width: max-content; min-width: 40px; height: 34px; align-items: center; gap: 6px; padding: 0 7px; color: var(--social-faint); opacity: .55; }
.social-post__action-disabled svg { width: 17px; height: 17px; }
.social-post__actions button:disabled { opacity: .4; pointer-events: none; }

/* Post overflow actions */
.social-post__head { position: relative; align-items: center; }
.social-post-menu-root { position: relative; z-index: 120; margin-left: auto; }
.social-post__head .social-post-menu-root { margin-left: auto; }
.social-post__more {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  color: var(--social-faint); border: 0; background: transparent; border-radius: 50%;
}
.social-post__more:hover, .social-post__more[aria-expanded="true"] {
  color: var(--social-action); background: color-mix(in srgb, var(--social-action) 11%, transparent);
}
.social-post__more svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.social-post-menu {
  position: absolute; z-index: 300; top: calc(100% + 3px); right: 0; display: grid;
  width: min(350px, calc(100vw - 28px)); overflow: hidden; padding: 7px;
  color: var(--social-ink); border: 1px solid var(--social-line-strong);
  background: color-mix(in srgb, var(--social-paper) 98%, transparent);
  border-radius: 17px; box-shadow: 0 20px 55px rgba(2, 4, 12, .28); backdrop-filter: blur(20px);
}
.social-post-menu[hidden] { display: none; }
.social-post-menu.is-upward { top: auto; bottom: calc(100% + 3px); }
.social-post-menu form { width: 100%; margin: 0; }
.social-post-menu a, .social-post-menu button {
  display: grid; grid-template-columns: 29px minmax(0, 1fr); width: 100%; min-height: 46px;
  align-items: center; gap: 10px; padding: 7px 11px; color: inherit; border: 0;
  background: transparent; border-radius: 10px; text-align: left; font-size: 12px; font-weight: 700;
}
.social-post-menu a:hover, .social-post-menu button:hover,
.social-post-menu a:focus-visible, .social-post-menu button:focus-visible {
  outline: 0; background: var(--social-surface);
}
.social-post-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.social-post-menu span { overflow: hidden; color: inherit; text-overflow: ellipsis; white-space: nowrap; }
.social-post-menu .is-active { color: var(--social-action); }
.social-post-menu .social-post-menu__danger { color: var(--social-red); }
html[data-social-theme="dark"] .social-post-menu {
  color: #eef0f4; border-color: #2a2e38; background: rgba(23, 24, 29, .98);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .58);
}
html[data-social-theme="dark"] .social-post-menu a:hover,
html[data-social-theme="dark"] .social-post-menu button:hover,
html[data-social-theme="dark"] .social-post-menu a:focus-visible,
html[data-social-theme="dark"] .social-post-menu button:focus-visible { background: #24262e; }

/* Timed public preview and non-dismissible authentication gate */
.social-guest-preview {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px;
  min-height: 68px; padding: 12px 20px; border-bottom: 8px solid var(--social-bg); background: var(--social-paper);
}
.social-guest-preview > svg { width: 28px; height: 28px; padding: 6px; color: var(--social-action); border: 1px solid var(--social-line); background: var(--social-green-soft); border-radius: 50%; }
.social-guest-preview > span { display: flex; min-width: 0; flex-direction: column; }
.social-guest-preview b { font-size: 11px; }
.social-guest-preview small { margin-top: 2px; color: var(--social-muted); font-size: 9px; }
.social-guest-preview button, .social-account-card--guest > a {
  min-height: 30px; padding: 0 11px; color: var(--social-ink); border: 1px solid var(--social-line-strong); background: var(--social-surface); border-radius: 8px; font-size: 9px; font-weight: 750;
}
.social-account-card--guest > a { display: inline-flex; min-height: 28px; align-items: center; }
.social-shell { transition: filter .28s ease, opacity .28s ease; }
body.social-guest-locked { overflow: hidden; }
body.social-guest-locked .social-shell {
  filter: blur(10px) brightness(.58); opacity: .68; pointer-events: none; user-select: none;
}
.social-guest-gate {
  position: fixed; z-index: 5000; inset: 0; display: grid; place-items: center; padding: 24px;
  background: rgba(5, 6, 10, .46); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
}
.social-guest-gate[hidden] { display: none; }
.social-guest-gate > section {
  width: min(470px, 100%); padding: 34px; color: var(--social-ink); border: 1px solid var(--social-line-strong);
  background: color-mix(in srgb, var(--social-paper) 97%, transparent); border-radius: 22px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .48); text-align: center;
}
.social-guest-gate__mark {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 18px; color: #fff;
  border: 1px solid #a9d980; background: linear-gradient(145deg, #91bd68, #557c36); border-radius: 50%;
  box-shadow: 0 12px 32px rgba(76, 112, 45, .32); font: 700 24px/1 var(--social-serif);
}
.social-guest-gate small { color: var(--social-action); font: 700 8px/1 var(--social-mono); letter-spacing: .18em; }
.social-guest-gate h2 { margin: 13px 0 10px; font: 700 30px/1.08 var(--social-serif); }
.social-guest-gate p { max-width: 380px; margin: 0 auto; color: var(--social-muted); font-size: 12px; line-height: 1.65; }
.social-guest-gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.social-guest-gate__actions a { display: grid; min-height: 46px; place-items: center; border-radius: 11px; font-size: 11px; font-weight: 780; }
.social-guest-gate__primary { color: #11131a; background: #fff; border: 1px solid #fff; }
.social-guest-gate__secondary { color: var(--social-ink); border: 1px solid var(--social-line-strong); background: var(--social-surface); }
.social-guest-gate__actions a:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, .16); }
.social-guest-gate footer { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; color: var(--social-faint); font-size: 8px; }
.social-guest-gate footer svg { width: 12px; height: 12px; }
html[data-social-theme="light"] .social-guest-gate { background: rgba(35, 39, 56, .3); }

@media (max-width: 560px) {
  .social-guest-preview { grid-template-columns: 30px minmax(0, 1fr); padding-inline: 14px; }
  .social-guest-preview button { display: none; }
  .social-guest-gate { padding: 14px; }
  .social-guest-gate > section { padding: 28px 20px; border-radius: 18px; }
  .social-guest-gate h2 { font-size: 26px; }
  .social-guest-gate__actions { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .social-post__actions { grid-template-columns: repeat(6, minmax(36px, 1fr)); }
  .social-post__actions a, .social-post__actions button, .social-post__action-disabled { min-width: 34px; padding: 0 5px; }
  .social-post__actions svg, .social-post__action-disabled svg { width: 19px; height: 19px; }
  .social-post-menu { position: fixed; z-index: 600; right: 10px; bottom: 12px; left: 10px; top: auto; width: auto; max-height: min(78vh, 620px); overflow-y: auto; }
}

.social-poll { display: grid; gap: 7px; margin: 9px 0 10px; }
.social-poll > button {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; overflow: hidden;
  min-height: 39px; align-items: center; gap: 10px; padding: 0 11px; color: var(--social-ink);
  border: 1px solid color-mix(in srgb, var(--social-action) 40%, var(--social-line));
  background: var(--social-paper); border-radius: 9px; text-align: left;
}
.social-poll > button:hover { border-color: var(--social-action); }
.social-poll > button.is-selected { border-color: var(--social-action); box-shadow: 0 0 0 2px color-mix(in srgb, var(--social-action) 10%, transparent); }
.social-poll__fill { position: absolute; z-index: 0; inset: 0 auto 0 0; width: var(--poll-percent); background: color-mix(in srgb, var(--social-action) 12%, transparent); transition: width .24s ease; }
.social-poll__label, .social-poll > button b { position: relative; z-index: 1; }
.social-poll__label { font-size: 10px; font-weight: 650; }
.social-poll > button b { color: var(--social-muted); font: 8px/1 var(--social-mono); }
.social-poll footer { display: flex; gap: 6px; color: var(--social-faint); font-size: 8px; }
.social-reply-locked { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--social-line); background: var(--social-surface); }
.social-reply-locked > svg { width: 30px; height: 30px; padding: 7px; color: var(--social-muted); border: 1px solid var(--social-line); border-radius: 50%; }
.social-reply-locked > span { display: flex; flex-direction: column; }
.social-reply-locked b { font-size: 10px; }
.social-reply-locked small { margin-top: 3px; color: var(--social-muted); font-size: 8px; }

@media (max-width: 720px) {
  .social-composer__audience { margin-top: 0; }
  .social-composer-menu { position: fixed; z-index: 500; right: 8px; bottom: 72px; left: 8px; top: auto; width: auto; max-height: 64vh; border-radius: 17px; }
  .social-composer-menu--audience, .social-composer-menu--reply { min-width: 0; }
  .social-composer__cues { margin-top: 7px; }
  .social-tool-button { width: 28px; height: 29px; }
  .social-composer__tools { overflow-x: auto; scrollbar-width: none; }
  .social-char-ring { margin-left: 4px; }
  .social-primary-button { flex: 0 0 auto; padding-inline: 13px; }
  .social-emoji-grid { grid-template-columns: repeat(6,1fr); }
  .social-tool-panel--poll footer { align-items: stretch; flex-direction: column; }
  .social-tool-panel--poll footer label { width: 100%; }
}

/* Composer legibility pass: larger controls and neutral dark-theme tooling */
.social-composer__selector,
.social-composer__reply > button {
  min-height: 34px;
  padding-inline: 12px;
  font-size: 12px;
}
.social-composer__selector svg,
.social-composer__reply > button svg { width: 19px; height: 19px; }
.social-composer__selector svg:last-child { width: 13px; height: 13px; }
.social-composer__selector [data-audience-label] { font-size: 10px; line-height: 1; }
.social-composer__cues { gap: 8px; margin-top: 11px; }
.social-composer__cues > span { font-size: 10px; }
.social-composer__cues button { min-height: 30px; padding-inline: 11px; font-size: 11px; }
.social-composer textarea { min-height: 76px; font-size: 19px; line-height: 1.5; }
.social-tool-button { width: 38px; height: 38px; }
.social-tool-button svg { width: 24px; height: 24px; stroke-width: 1.75; }
.social-tool-button--gif { width: 40px; font-size: 11px; }
.social-more-button { width: 38px; height: 38px; }
.social-char-ring { width: 38px; height: 38px; }
.social-char-ring span { font-size: 8px; }
.social-primary-button { min-height: 42px; padding-inline: 20px; border-radius: 22px; font-size: 13px; }
.social-primary-button svg { width: 17px; height: 17px; }
.social-composer-menu header span { font-size: 20px; }
.social-composer-menu header small { font-size: 10px; }
.social-composer-menu > button { min-height: 64px; }
.social-composer-menu > button > svg { width: 42px; height: 42px; padding: 10px; }
.social-composer-menu > button b { font-size: 12px; }
.social-composer-menu > button small { font-size: 9px; }
.social-tool-panel header b { font-size: 13px; }
.social-tool-panel label > span,
.social-tool-panel > small { font-size: 10px; }
.social-tool-panel input,
.social-tool-panel select { height: 42px; font-size: 12px; }

html[data-social-theme="dark"] .social-composer__selector,
html[data-social-theme="dark"] .social-composer__reply > button,
html[data-social-theme="dark"] .social-tool-button {
  color: #c5cad4;
}
html[data-social-theme="dark"] .social-composer__selector,
html[data-social-theme="dark"] .social-composer__reply > button {
  border-color: #343a49;
  background: #151821;
}
html[data-social-theme="dark"] .social-composer__selector:hover,
html[data-social-theme="dark"] .social-composer__reply > button:hover,
html[data-social-theme="dark"] .social-tool-button:hover,
html[data-social-theme="dark"] .social-tool-button.is-active {
  color: #eef0f5;
  border-color: #515a70;
  background: #20242f;
}
html[data-social-theme="dark"] .social-composer__cues > span { color: #9ca3b2; }
html[data-social-theme="dark"] .social-composer textarea::placeholder { color: #8f97a7; }
html[data-social-theme="dark"] .social-composer textarea:focus,
html[data-social-theme="dark"] .social-composer textarea:focus-visible,
.social-composer textarea:focus,
.social-composer textarea:focus-visible {
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}
html[data-social-theme="dark"] .social-composer__cues button {
  color: #bdc3ce;
  border-color: #303644;
  background: #151821;
}
html[data-social-theme="dark"] .social-composer__cues button:hover {
  color: #f0f2f6;
  border-color: #50596d;
  background: #20242f;
}
html[data-social-theme="dark"] .social-char-ring span { color: #b4bac6; }
html[data-social-theme="dark"] .social-more-button { border-color: #4b5365; }
html[data-social-theme="dark"] .social-composer-menu > button > svg {
  color: #c5cad4;
  border-color: #3a4150;
  background: #1b1f29;
}
html[data-social-theme="dark"] .social-composer-menu > button small,
html[data-social-theme="dark"] .social-tool-panel > small,
html[data-social-theme="dark"] .social-tool-panel label > span {
  color: #aeb4c0;
}
html[data-social-theme="dark"] .social-primary-button {
  color: #777e8d;
  border-color: #303644;
  background: #20242d;
  opacity: 1;
  cursor: not-allowed;
}
html[data-social-theme="dark"] .social-primary-button.is-ready,
html[data-social-theme="dark"] .social-compose-link,
html[data-social-theme="dark"] .social-mobile-compose {
  color: #090b10 !important;
  border-color: #f4f5f7;
  background: #f4f5f7;
  box-shadow: none;
  cursor: pointer;
}
html[data-social-theme="dark"] .social-primary-button.is-ready:hover,
html[data-social-theme="dark"] .social-compose-link:hover,
html[data-social-theme="dark"] .social-mobile-compose:hover {
  color: #000 !important;
  border-color: #fff;
  background: #fff;
}
html[data-social-theme="dark"] .social-primary-button.is-ready svg,
html[data-social-theme="dark"] .social-compose-link svg,
html[data-social-theme="dark"] .social-mobile-compose svg { color: currentColor; }
html[data-social-theme="dark"] .social-tool-button.is-active {
  color: #090b10;
  border-color: #f4f5f7;
  background: #f4f5f7;
}
html[data-social-theme="dark"] .social-composer-menu > button.is-selected {
  color: #090b10;
  background: #f4f5f7;
}
html[data-social-theme="dark"] .social-composer-menu > button.is-selected small { color: #4f5663; }
html[data-social-theme="dark"] .social-composer-menu > button.is-selected > svg {
  color: #090b10;
  border-color: #d6d9df;
  background: #fff;
}

@media (max-width: 720px) {
  .social-composer__tools { flex-wrap: wrap; overflow-x: visible; }
  .social-tool-button { width: 34px; height: 36px; }
  .social-tool-button svg { width: 22px; height: 22px; }
  .social-tool-button--gif { width: 36px; }
  .social-char-ring { width: 36px; height: 36px; }
  .social-char-ring { margin-left: auto; }
  .social-primary-button { min-height: 40px; padding-inline: 15px; }
}
