:root {
  color-scheme: dark;
  --bg: #2b2a30;
  --panel: rgba(18, 14, 23, .96);
  --panel-2: #15111b;
  --panel-3: #1b1521;
  --line: rgba(236, 229, 240, .13);
  --line-hot: rgba(255, 72, 165, .38);
  --text: #f4eff7;
  --muted: #918797;
  --quiet: #645b6b;
  --pink: #ff4da6;
  --pink-2: #ff78bb;
  --pink-dark: #c92c7b;
  --lilac: #bb9dff;
  --green: #62d6a4;
  --radius: 16px;
  --font: 'DM Sans', Inter, system-ui, sans-serif;
  --display: 'Space Grotesk', var(--font);
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 52% -18%, rgba(255,77,166,.095), transparent 48%), linear-gradient(125deg, #302f35 0%, #29282e 52%, #343239 100%); background-attachment: fixed; overflow-x: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--pink-2); outline-offset: 3px; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ambient { position: fixed; width: 480px; height: 480px; border-radius: 50%; pointer-events: none; filter: blur(120px); opacity: .085; z-index: -1; }
.ambient-one { background: #e32783; top: -280px; left: 37%; }
.ambient-two { background: #763cff; top: 38vh; right: -390px; opacity: .055; }
.topbar { height: 74px; display: grid; grid-template-columns: 232px minmax(260px, 495px) 1fr; align-items: center; gap: 32px; padding: 0 36px; border-bottom: 1px solid var(--line); background: rgba(11, 8, 16, .86); backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand-mark { width: 38px; height: 34px; display: grid; place-items: center; position: relative; border-radius: 11px; color: #1a0c16; background: linear-gradient(145deg, #ff8ac3, #ff45a0 68%, #c62071); font: 700 12px/1 var(--display); letter-spacing: -.5px; box-shadow: 0 0 22px rgba(255,77,166,.23), inset 0 1px rgba(255,255,255,.6); transform: rotate(-4deg);}
.brand-spark { position: absolute; font: 9px/1 var(--font); right: 4px; top: 3px; color: #fff; }
.brand-word { font: 700 18px/1 var(--display); letter-spacing: -.8px; white-space: nowrap; }
.brand-period { color: var(--pink); }
.searchbox { display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.025); color: var(--muted); transition: border .2s, background .2s; }
.searchbox:focus-within { border-color: var(--line-hot); background: rgba(255,77,166,.035); }
.search-icon { color: var(--pink-2); font-size: 22px; line-height: 1; transform: rotate(-20deg); }
.searchbox input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; }
.searchbox input::placeholder { color: #716879; }
kbd { border: 1px solid var(--line); border-radius: 5px; padding: 3px 5px; white-space: nowrap; color: #726879; font-size: 9px; }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.demo-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid rgba(255,77,166,.2); border-radius: 100px; color: #c59bb3; font: 600 9px/1 var(--font); letter-spacing: .11em; }
.demo-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 9px var(--pink); }
.icon-button { position: relative; width: 36px; height: 36px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 11px; color: #c5bacb; background: rgba(255,255,255,.025); transition: .2s ease; }
.icon-button:hover { border-color: var(--line-hot); color: var(--pink-2); background: rgba(255,77,166,.08); }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.notification-dot { position: absolute; width: 5px; height: 5px; top: 7px; right: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 9px var(--pink); }
.top-profile { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,77,166,.45); border-radius: 12px; background: linear-gradient(135deg, #3b1d37, #1c1221); font-size: 11px; font-weight: 700; }

.app-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 30px; max-width: 1536px; margin: 0 auto; padding: 30px 36px 72px; }
.sidebar { align-self: start; min-height: calc(100vh - 104px); position: sticky; top: 103px; display: flex; flex-direction: column; }
.sidebar-section-label, .section-kicker { color: #786d7d; font: 600 9px/1.4 var(--font); letter-spacing: .16em; }
.sidebar-section-label { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 12px; }
.main-nav { display: grid; gap: 3px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; text-align: left; background: transparent; color: #a79dab; font-size: 12px; font-weight: 500; transition: .18s ease; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.035); }
.nav-link.active { color: #ffd1e7; border-color: rgba(255,77,166,.13); background: linear-gradient(95deg, rgba(255,77,166,.11), rgba(255,77,166,.025)); }
.nav-icon { width: 19px; display: inline-grid; place-items: center; color: #968a9b; font-size: 20px; font-family: Arial,sans-serif; line-height: 1; }
.nav-link.active .nav-icon { color: var(--pink-2); }
.nav-indicator { position: absolute; right: 10px; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 9px var(--pink); }
.nav-count { display: inline-grid; place-items: center; margin-left: auto; min-width: 19px; height: 19px; border-radius: 7px; color: #ffc3e1; background: rgba(255,77,166,.12); font-size: 9px; }
.sidebar-divider { height: 1px; margin: 22px 10px 19px; background: var(--line); }
.tiny-add { width: 20px; height: 20px; padding: 0; border: 1px solid var(--line); border-radius: 7px; color: #998a9e; background: transparent; font-size: 15px; line-height: 1; }
.following-list { display: grid; gap: 7px; padding: 0 7px; }
.following-person { display: flex; align-items: center; gap: 9px; width: 100%; min-width: 0; padding: 6px 5px; border: 0; border-radius: 9px; text-align: left; background: transparent; cursor: pointer; }
.following-person:hover { background: rgba(255,255,255,.035); }
.following-person .person-name { overflow: hidden; color: #c7bdca; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.online-dot { width: 5px; height: 5px; margin-left: auto; flex: 0 0 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(98,214,164,.6); }
.avatar { --avatar-color: #ff4da6; flex: 0 0 auto; display: inline-grid; place-items: center; border: 1px solid color-mix(in srgb, var(--avatar-color) 45%, transparent); border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--avatar-color) 74%, #fff 5%), color-mix(in srgb, var(--avatar-color) 17%, #211424) 72%); box-shadow: inset 0 1px 2px rgba(255,255,255,.18); font-weight: 700; letter-spacing: -.04em; }
.avatar-xs { width: 23px; height: 23px; font-size: 8px; }
.avatar-sm { width: 30px; height: 30px; font-size: 9px; }
.avatar-md { width: 38px; height: 38px; font-size: 11px; }
.avatar-large { width: 43px; height: 43px; font-size: 12px; }
.avatar-xl { width: 62px; height: 62px; border: 3px solid #17101a; box-shadow: 0 0 0 1px rgba(255,77,166,.36), 0 4px 18px rgba(0,0,0,.3); font-size: 17px; }
.see-all { display: flex; align-items: center; gap: 8px; padding: 12px 10px; border: 0; color: #b5a8b7; background: transparent; font-size: 10px; text-align: left; }
.see-all span { color: var(--pink-2); }
.see-all:hover { color: #fff; }
.sidebar-bottom-card { position: relative; overflow: hidden; margin: auto 5px 20px; padding: 15px; border: 1px solid rgba(255,77,166,.16); border-radius: 12px; background: linear-gradient(145deg, rgba(255,77,166,.07), rgba(187,157,255,.025)); }
.sidebar-bottom-card:after { content: ''; position: absolute; width: 90px; height: 90px; right: -38px; top: -42px; border-radius: 50%; background: rgba(255,77,166,.13); filter: blur(24px); }
.mini-spark { color: var(--pink-2); font-size: 15px; }
.sidebar-bottom-card p { margin: 8px 0 3px; font: 600 12px var(--display); }
.sidebar-bottom-card span { color: var(--muted); font-size: 10px; }
.sidebar-footer { display: grid; gap: 6px; padding: 0 10px; color: #62596a; font-size: 9px; }
.sidebar-footer span:last-child { font-size: 8px; letter-spacing: .09em; }

.main-content { min-width: 0; max-width: 1180px; }
.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 3px 0 26px; }
.eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #8e7e91; font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 5px; font: 600 clamp(24px, 2.4vw, 32px)/1.12 var(--display); letter-spacing: -1.2px; }
.wave { display: inline-block; color: var(--pink-2); font: 19px var(--font); transform: rotate(-12deg); }
.page-subtitle { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 37px; padding: 0 14px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; color: #fff8fc; background: linear-gradient(110deg, #ee368e, #d72d85); box-shadow: 0 4px 20px rgba(238,54,142,.13), inset 0 1px rgba(255,255,255,.17); font-size: 11px; font-weight: 700; transition: .2s ease; }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); background: linear-gradient(110deg, #ff51a4, #e23991); box-shadow: 0 6px 22px rgba(238,54,142,.24); }
.primary-button:disabled { opacity: .43; cursor: not-allowed; }
.primary-button span:first-child { font-size: 15px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 266px; align-items: start; gap: 23px; }
.feed-column { min-width: 0; display: flex; flex-direction: column; gap: 17px; }
.stories-card, .composer-card, .post-card, .rail-card { border: 1px solid rgba(255, 112, 183, .24); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17, 14, 21, .97), rgba(13, 11, 17, .97)); box-shadow: 0 0 0 1px rgba(255,77,166,.045), 0 0 24px rgba(255,77,166,.095), 0 12px 35px rgba(0,0,0,.24); }
.stories-card { padding: 17px 18px 15px; }
.stories-heading, .rail-heading, .feed-heading { display: flex; align-items: center; justify-content: space-between; }
.stories-heading { margin-bottom: 13px; }
.stories-heading h2, .feed-heading h2 { margin: 3px 0 0; font: 600 16px/1.2 var(--display); letter-spacing: -.3px; }
.text-button { padding: 5px 0; border: 0; color: #b9a7b7; background: transparent; font-size: 10px; }
.text-button span { padding-left: 3px; color: var(--pink-2); }
.text-button:hover { color: #fff; }
.stories-row { display: flex; gap: 12px; overflow-x: auto; padding: 1px 1px 3px; scrollbar-width: thin; scrollbar-color: #3a2939 transparent; }
.story-item { min-width: 55px; display: grid; justify-items: center; gap: 6px; border: 0; background: transparent; }
.story-ring { width: 49px; height: 49px; display: grid; place-items: center; padding: 3px; border: 1px solid rgba(255,77,166,.72); border-radius: 50%; background: linear-gradient(135deg, rgba(255,77,166,.2), rgba(187,157,255,.08)); box-shadow: 0 0 14px rgba(255,77,166,.1); transition: .2s; }
.story-item:hover .story-ring { transform: translateY(-2px); box-shadow: 0 0 18px rgba(255,77,166,.28); }
.story-ring .avatar { width: 100%; height: 100%; border-color: transparent; }
.story-add { color: var(--pink-2); font-size: 20px; }
.story-name { max-width: 65px; overflow: hidden; color: #a89bab; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.story-item.you .story-ring { border-style: dashed; border-color: rgba(255,255,255,.25); }

.composer-card { padding: 15px 17px 0; }
.composer-top { display: flex; align-items: flex-start; gap: 12px; }
.composer-top textarea { width: 100%; min-height: 52px; resize: vertical; padding: 11px 0 8px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; line-height: 1.6; }
.composer-top textarea::placeholder { color: #75697c; }
.composer-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; border-top: 1px solid var(--line); }
.composer-hints { display: flex; align-items: center; gap: 7px; color: #726878; font-size: 9px; }
.composer-glow { color: var(--pink-2); font-size: 13px; }
.composer-right { display: flex; align-items: center; gap: 10px; }
.char-count { color: #776d7d; font-size: 9px; }
.post-button { min-height: 30px; padding: 0 10px; font-size: 10px; }
.post-button span:first-child { font-size: 10px; }
.composer-attachments { display: flex; align-items: center; gap: 13px; min-height: 39px; border-top: 1px solid var(--line); }
.attachment-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: #928698; background: transparent; font-size: 9px; }
.attachment-button:hover { color: var(--pink-2); }
.attachment-icon { color: #62d6a4; font-size: 14px; }
.sparkle-icon { color: var(--lilac); }
.attachment-divider { height: 12px; border-left: 1px solid var(--line); }
.media-row { display: flex; align-items: center; gap: 10px; margin: 0 0 11px 55px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0,0,0,.17); }
.media-row label { color: var(--muted); font-size: 9px; white-space: nowrap; }
.media-row input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 10px; }

.feed-heading { margin: 5px 1px -5px; }
.feed-tabs { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.018); }
.feed-tab { padding: 6px 10px; border: 0; border-radius: 6px; color: #8a7f90; background: transparent; font-size: 9px; transition: .18s; }
.feed-tab.active { color: #ffd5e9; background: rgba(255,77,166,.13); box-shadow: inset 0 0 0 1px rgba(255,77,166,.12); }
.search-summary { padding: 8px 11px; border: 1px solid rgba(255,77,166,.18); border-radius: 8px; color: #d9c1d1; background: rgba(255,77,166,.045); font-size: 10px; }
.search-summary button { float: right; border: 0; color: var(--pink-2); background: transparent; }
.feed-list { display: grid; gap: 13px; }
.post-card { overflow: hidden; padding: 16px 17px 0; transition: border-color .2s; }
.post-card:hover { border-color: rgba(255,77,166,.45); box-shadow: 0 0 0 1px rgba(255,77,166,.1), 0 0 30px rgba(255,77,166,.15), 0 12px 35px rgba(0,0,0,.26); }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-author { min-width: 0; flex: 1; }
.post-author-line { display: flex; align-items: center; gap: 5px; }
.post-author-name { color: #eee6f0; font-size: 11px; font-weight: 700; }
.verified-mark { display: inline-grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; color: #180f18; background: #ed8bc0; font-size: 8px; font-weight: 800; }
.post-handle, .post-time { color: #786e7e; font-size: 9px; }
.post-meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.post-menu { position: relative; }
.post-menu summary { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; color: #8d8194; background: transparent; list-style: none; font-size: 16px; cursor: pointer; }
.post-menu summary::-webkit-details-marker { display: none; }
.post-menu summary:hover { color: #fff; background: rgba(255,255,255,.05); }
.post-menu[open] .menu-items { position: absolute; z-index: 5; right: 0; top: 30px; width: 145px; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: #19131e; box-shadow: 0 12px 30px rgba(0,0,0,.42); }
.menu-items button { display: block; width: 100%; padding: 8px; border: 0; border-radius: 6px; color: #c9bece; background: transparent; font-size: 10px; text-align: left; }
.menu-items button:hover { color: #fff; background: rgba(255,255,255,.05); }
.menu-items .danger { color: #ff86b9; }
.post-text { margin: 13px 0 13px; color: #d6ceda; font-size: 11px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-media { display: block; width: calc(100% + 34px); max-height: 320px; margin: 0 -17px 12px; object-fit: cover; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.post-stats { display: flex; align-items: center; justify-content: space-between; min-height: 30px; color: #807586; font-size: 9px; }
.reaction-stack { display: flex; align-items: center; gap: 5px; }
.reaction-bubbles { display: flex; padding-left: 2px; }
.reaction-bubbles i { width: 14px; height: 14px; display: grid; place-items: center; margin-left: -3px; border: 1px solid #19131e; border-radius: 50%; color: white; background: #bb2c79; font-style: normal; font-size: 8px; }
.reaction-bubbles i:nth-child(2) { background: #7654a2; }
.reaction-bubbles i:nth-child(3) { background: #27645c; }
.post-actions { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 40px; border-top: 1px solid var(--line); }
.post-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 5px 0; border: 0; border-radius: 7px; color: #928797; background: transparent; font-size: 9px; transition: .16s; }
.post-action:hover { color: #e7d4e4; background: rgba(255,255,255,.035); }
.post-action .action-icon { font-size: 15px; line-height: 1; }
.post-action.liked { color: var(--pink-2); }
.post-action.saved { color: #c7a9ff; }
.comment-list { display: grid; gap: 8px; padding: 2px 0 11px; }
.comment-row { display: flex; align-items: flex-start; gap: 7px; }
.comment-bubble { flex: 1; padding: 7px 9px; border-radius: 3px 9px 9px 9px; color: #c7bdcc; background: rgba(255,255,255,.035); font-size: 9px; line-height: 1.5; }
.comment-bubble strong { margin-right: 4px; color: #e7dce9; font-size: 9px; }
.comment-form { display: flex; align-items: center; gap: 8px; padding: 8px 0 10px; border-top: 1px solid var(--line); }
.comment-form input { min-width: 0; flex: 1; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--text); background: rgba(0,0,0,.16); font-size: 9px; }
.comment-form input:focus { border-color: var(--line-hot); }
.comment-form button { padding: 7px 9px; border: 0; border-radius: 7px; color: #ffabd2; background: rgba(255,77,166,.1); font-size: 9px; }
.search-people-results { padding: 13px 15px 5px; border: 1px solid var(--line-hot); border-radius: 13px; background: rgba(255,77,166,.035); }
.search-people-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; color: #86798b; font-size: 9px; }
.search-person-result { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.empty-state { padding: 34px 15px; border: 1px dashed rgba(255,77,166,.22); border-radius: var(--radius); text-align: center; background: rgba(255,77,166,.025); }
.empty-illustration { margin-bottom: 8px; color: var(--pink); font-size: 28px; }
.empty-state h3 { margin-bottom: 5px; font: 600 15px var(--display); }
.empty-state p { margin-bottom: 10px; color: var(--muted); font-size: 10px; }

.right-rail { display: grid; gap: 15px; }
.rail-card { overflow: hidden; padding: 15px; }
.profile-card { padding: 0; }
.profile-card-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 15px 0; }
.small-icon { width: 27px; height: 27px; border-radius: 8px; font-size: 12px; }
.profile-cover { height: 72px; margin-top: 13px; background: radial-gradient(ellipse at 24% 120%, rgba(255,77,166,.35), transparent 47%), radial-gradient(ellipse at 80% -5%, rgba(187,157,255,.23), transparent 40%), linear-gradient(110deg, #201421, #1a1423 55%, #211629); border-top: 1px solid rgba(255,255,255,.03); }
.profile-card-body { position: relative; padding: 0 15px 14px; }
.profile-card-body .avatar-xl { margin-top: -31px; margin-bottom: 8px; }
.profile-card-body h3 { margin: 0 0 2px; font: 600 14px var(--display); }
.muted-handle { color: #897d8e; font-size: 9px; }
.profile-bio { min-height: 30px; margin: 10px 0 13px; color: #b2a8b7; font-size: 9px; line-height: 1.55; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-stats div { display: grid; gap: 3px; text-align: center; }
.profile-stats strong { color: #f0e8f2; font: 600 13px var(--display); }
.profile-stats span { color: #766c7c; font-size: 8px; }
.outline-button { min-height: 32px; padding: 0 10px; border: 1px solid rgba(255,77,166,.24); border-radius: 8px; color: #e0c5d5; background: rgba(255,77,166,.04); font-size: 9px; transition: .2s; }
.outline-button:hover { border-color: rgba(255,77,166,.48); color: #fff; background: rgba(255,77,166,.11); }
.profile-view-button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 11px; }
.profile-view-button span { color: var(--pink-2); }
.rail-heading { margin-bottom: 12px; }
.rail-heading h3 { margin: 4px 0 0; font: 600 13px var(--display); }
.trend-mark { color: var(--pink-2); font-size: 14px; }
.trend-row { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 0; border: 0; border-top: 1px solid var(--line); text-align: left; background: transparent; }
.trend-row:hover strong { color: #ffaad2; }
.trend-number { color: #695d70; font: 500 9px var(--display); }
.trend-row > span:nth-child(2) { display: grid; gap: 3px; }
.trend-row strong { color: #d8cbdc; font-size: 9px; font-weight: 600; transition: .15s; }
.trend-row small { color: #786d7e; font-size: 8px; }
.trend-arrow { margin-left: auto; color: #77687d; font-size: 10px; }
.suggested-people { display: grid; }
.suggested-person { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.suggested-person-info { min-width: 0; flex: 1; }
.suggested-person-info strong { display: block; overflow: hidden; color: #d7cddc; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.suggested-person-info span { display: block; margin-top: 3px; overflow: hidden; color: #756a7b; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.follow-button { min-width: 53px; padding: 6px 7px; border: 1px solid rgba(255,77,166,.25); border-radius: 7px; color: #ffc2e1; background: rgba(255,77,166,.07); font-size: 8px; }
.follow-button.following { color: #918599; border-color: var(--line); background: transparent; }
.follow-button:hover { border-color: rgba(255,77,166,.5); }
.rail-see-all { padding: 10px 0 0; }
.rail-note { display: flex; align-items: center; gap: 7px; padding: 2px 3px; color: #786d7c; font-size: 9px; }
.rail-note span { color: var(--pink-2); }

.profile-dialog { width: min(430px, calc(100% - 28px)); padding: 22px; border: 1px solid rgba(255,77,166,.25); border-radius: 17px; color: var(--text); background: #15101a; box-shadow: 0 22px 100px rgba(0,0,0,.7); }
.profile-dialog::backdrop { background: rgba(4,2,7,.77); backdrop-filter: blur(6px); }
.dialog-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.dialog-top h2 { margin: 5px 0 0; font: 600 20px var(--display); }
.profile-dialog form > label { display: grid; gap: 7px; margin: 14px 0; color: #c5b8ca; font-size: 10px; }
.profile-dialog input, .profile-dialog textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--text); background: rgba(0,0,0,.18); font-size: 11px; }
.profile-dialog input:focus, .profile-dialog textarea:focus { border-color: var(--line-hot); }
.profile-dialog textarea { resize: vertical; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 30px; max-width: min(90vw, 420px); padding: 11px 15px; border: 1px solid rgba(255,77,166,.31); border-radius: 10px; color: #ffe5f2; background: rgba(28,16,29,.96); box-shadow: 0 8px 40px rgba(0,0,0,.4); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; font-size: 11px; transition: .22s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.app-footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px 20px; color: #675d6e; font-size: 9px; text-align: center; }
.app-footer a { color: #c489ab; }
.app-footer a:hover { color: #ff9acb; }
.mobile-nav { display: none; }

@media (max-width: 1190px) {
  .topbar { grid-template-columns: 205px minmax(220px, 1fr) auto; padding: 0 24px; gap: 20px; }
  .app-shell { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 18px; padding: 26px 24px 65px; background: var(--bg); }
  .content-grid { grid-template-columns: minmax(0,1fr) 240px; gap: 16px; }
}
@media (max-width: 970px) {
  .topbar { grid-template-columns: 190px minmax(170px, 1fr) auto; gap: 14px; }
  .app-shell { grid-template-columns: 185px minmax(0,1fr); gap: 18px; padding-right: 18px; padding-left: 18px; }
  .content-grid { grid-template-columns: minmax(0,1fr); }
  .right-rail { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .profile-card { grid-row: span 2; }
  .rail-note { display: none; }
}
@media (max-width: 700px) {
  .topbar { height: 62px; grid-template-columns: auto minmax(100px,1fr) auto; gap: 12px; padding: 0 15px; }
  .brand { gap: 7px; }
  .brand-word { font-size: 18px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 10px; font-size: 21px; }
  .searchbox { height: 36px; gap: 7px; padding: 0 8px; }
  .searchbox input { font-size: 10px; }
  .searchbox kbd, .demo-pill, .notification-trigger { display: none; }
  .top-actions { gap: 8px; }
  .top-profile { width: 32px; height: 32px; }
  .app-shell { display: block; padding: 24px 15px 85px; }
  .left-sidebar { display: none; }
  .welcome-row { align-items: flex-start; margin: 2px 0 20px; }
  .eyebrow { font-size: 8px; }
  h1 { font-size: 25px; }
  .page-subtitle { font-size: 10px; }
  .desktop-compose { display: none; }
  .content-grid { display: block; }
  .feed-column { gap: 13px; }
  .right-rail { display: none; }
  .stories-card { padding: 14px 14px 12px; }
  .stories-row { gap: 10px; }
  .story-ring { width: 45px; height: 45px; }
  .composer-card { padding: 13px 13px 0; }
  .composer-top textarea { font-size: 11px; }
  .composer-tools { min-height: 41px; }
  .composer-hints { font-size: 8px; }
  .attachment-button { font-size: 8px; }
  .feed-heading { margin-top: 5px; }
  .post-card { padding: 14px 13px 0; }
  .post-media { width: calc(100% + 26px); margin-right: -13px; margin-left: -13px; }
  .post-actions { min-height: 38px; }
  .post-action { font-size: 8px; gap: 5px; }
  .mobile-nav { position: fixed; z-index: 30; display: grid; grid-template-columns: repeat(5,1fr); left: 0; right: 0; bottom: 0; min-height: 62px; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(13,9,17,.94); backdrop-filter: blur(20px); }
  .mobile-nav button { display: grid; justify-items: center; align-content: center; gap: 3px; border: 0; color: #807687; background: transparent; }
  .mobile-nav button > span { font: 20px/1 Arial,sans-serif; }
  .mobile-nav small { font-size: 8px; }
  .mobile-nav button.active { color: #ff9ccc; }
  .mobile-nav .mobile-create > span { width: 29px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 9px; color: #fff; background: linear-gradient(120deg,#eb388f,#bd2879); box-shadow: 0 3px 14px rgba(255,77,166,.2); font-size: 18px; }
  .mobile-avatar { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255,77,166,.4); border-radius: 50%; color: #ffd7ea; background: #48253d; font: 700 9px var(--font) !important; }
  .app-footer { flex-wrap: wrap; padding-bottom: 78px; font-size: 8px; }
  .toast { bottom: 80px; }
  .media-row { margin-left: 0; }
}
@media (max-width: 390px) {
  .topbar { grid-template-columns: auto minmax(70px,1fr) auto; gap: 8px; padding: 0 10px; }
  .brand-word { font-size: 16px; }
  .brand-mark { width: 28px; height: 28px; }
  .searchbox input { font-size: 9px; }
  .welcome-row { display: block; }
  .composer-hints { max-width: 145px; }
  .char-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
