:root {
  --ink: #171915;
  --muted: #71756c;
  --paper: #f4f2ee;
  --card: #fffefb;
  --line: rgba(23, 25, 21, .12);
  --line-strong: rgba(23, 25, 21, .2);
  --lime: #d9ff63;
  --peach: #ffb98a;
  --violet: #7c6cff;
  --blue: #8ed8ff;
  --dark: #1b1e19;
  --shadow: 0 22px 70px rgba(30, 29, 23, .08);
  --shadow-soft: 0 8px 28px rgba(30, 29, 23, .06);
  --radius: 24px;
  --radius-lg: 36px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: -1;
}

a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--lime); color: var(--ink); }

.ambient { position: fixed; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: .18; pointer-events: none; z-index: -2; }
.ambient-a { background: var(--peach); top: -180px; right: -80px; }
.ambient-b { background: var(--blue); bottom: -220px; left: -160px; }

.app-frame { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: rgba(244,242,238,.82); backdrop-filter: blur(22px) saturate(140%); border-bottom: 1px solid rgba(23,25,21,.06); }
.topbar-inner { width: min(calc(100% - 32px), var(--content)); margin: auto; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 28px; align-items: center; }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; }
.brand-symbol { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); position: relative; display: inline-block; overflow: hidden; }
.brand-symbol i { position: absolute; border-radius: 50%; display: block; }
.brand-symbol i:first-child { width: 19px; height: 19px; background: var(--lime); left: -4px; top: 7px; }
.brand-symbol i:last-child { width: 13px; height: 13px; background: var(--peach); right: 4px; top: 5px; }
.brand-word { font-weight: 950; letter-spacing: -.045em; font-size: 18px; }
.brand-tag { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-left: 1px; }

.nav-rail { display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav-rail::-webkit-scrollbar { display: none; }
.nav-item { text-decoration: none; color: #555a51; font-size: 14px; font-weight: 730; padding: 9px 11px; border-radius: 999px; white-space: nowrap; }
.nav-item:hover { color: var(--ink); background: rgba(255,255,255,.65); }

.account-cluster { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.user-chip { display: flex; align-items: center; gap: 8px; padding-right: 5px; }
.avatar-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: white; font-weight: 900; }
.user-copy { display: grid; line-height: 1.05; }
.user-copy strong { font-size: 12px; }
.user-copy small { color: var(--muted); margin-top: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

.ghost-action, .solid-action, .icon-action, .light-button, .primary-button, .text-link { border: 0; text-decoration: none; cursor: pointer; }
.ghost-action, .solid-action, .icon-action, .light-button, .primary-button { min-height: 42px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 820; font-size: 13px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.ghost-action { background: rgba(255,255,255,.52); border: 1px solid var(--line); color: var(--ink); }
.ghost-action:hover { background: white; transform: translateY(-1px); }
.solid-action, .primary-button { background: var(--ink); color: white; box-shadow: 0 8px 20px rgba(23,25,21,.13); }
.solid-action:hover, .primary-button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23,25,21,.18); }
.icon-action { background: var(--lime); color: var(--ink); }
.icon-action:hover { transform: translateY(-1px); }
.light-button { background: white; color: var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.logout-form { display: inline-flex; margin: 0; }

.page-shell { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; flex: 1; padding: 48px 0 100px; }

.hero-grid { min-height: 570px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: 42px; background: var(--card); border: 1px solid rgba(23,25,21,.09); box-shadow: var(--shadow); margin-bottom: 74px; }
.hero-copy { padding: clamp(44px, 7vw, 84px); display: flex; flex-direction: column; justify-content: center; }
.pill { display: inline-flex; width: max-content; align-items: center; gap: 7px; min-height: 31px; padding: 0 12px; border-radius: 999px; background: var(--lime); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 900; }
.hero-copy h1 { margin: 22px 0 24px; font-size: clamp(50px, 7.3vw, 91px); line-height: .91; letter-spacing: -.07em; max-width: 690px; }
.hero-copy h1 em, .auth-visual h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.06em; }
.hero-copy p { max-width: 590px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 35px; flex-wrap: wrap; }
.hero-button { min-height: 52px; padding: 0 22px; font-size: 14px; }
.text-link { font-weight: 800; color: #5e625a; font-size: 13px; }

.hero-art { min-height: 100%; position: relative; overflow: hidden; background: #20231e; }
.hero-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent); }
.orb { position: absolute; border-radius: 50%; }
.orb-one { width: 330px; height: 330px; background: var(--lime); right: -70px; top: 52px; }
.orb-two { width: 220px; height: 220px; background: var(--peach); left: 45px; bottom: 45px; }
.orb-three { width: 130px; height: 130px; background: var(--violet); left: 120px; top: 88px; border: 18px solid rgba(255,255,255,.15); }
.floating-card { position: absolute; z-index: 3; min-width: 220px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 22px 45px rgba(0,0,0,.2); border-radius: 20px; padding: 14px 15px; display: flex; align-items: center; gap: 11px; }
.card-a { right: 35px; bottom: 88px; transform: rotate(-3deg); }
.card-b { left: 28px; top: 43px; min-width: 205px; transform: rotate(2deg); }
.floating-card p { display: grid; margin: 0; line-height: 1.15; flex: 1; }
.floating-card strong { font-size: 12px; }
.floating-card small { color: var(--muted); margin-top: 4px; font-size: 10px; }
.floating-card b { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); font-size: 11px; }
.mini-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: white; font-weight: 900; }
.status-dot { width: 14px; height: 14px; border-radius: 50%; background: #61d786; box-shadow: 0 0 0 5px rgba(97,215,134,.15); margin: 0 7px; }
.spark { position: absolute; z-index: 4; color: white; font-size: 36px; right: 46%; top: 45%; transform: rotate(12deg); }

.kicker { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 950; }
.section-title-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.section-title-row h2 { margin: 5px 0 0; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.055em; line-height: 1; }
.live-label { color: var(--muted); font-size: 12px; font-weight: 750; display: flex; align-items: center; gap: 7px; }
.live-label span { width: 8px; height: 8px; border-radius: 50%; background: #61d786; box-shadow: 0 0 0 4px rgba(97,215,134,.14); }
.feed-section { scroll-margin-top: 100px; }
.topic-list { display: grid; gap: 11px; }
.topic-card { background: rgba(255,254,251,.88); border: 1px solid var(--line); border-radius: 21px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.topic-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 16px 38px rgba(30,29,23,.09); }
.topic-main { padding: 24px 26px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 18px; align-items: start; text-decoration: none; }
.topic-avatar, .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #143144; font-weight: 950; flex: 0 0 auto; }
.topic-card:nth-child(3n+2) .topic-avatar { background: var(--peach); color: #59311d; }
.topic-card:nth-child(3n+3) .topic-avatar { background: #cbbfff; color: #322975; }
.avatar-large { width: 52px; height: 52px; }
.topic-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 11px; }
.topic-meta strong { color: var(--ink); }
.fresh { display: inline-flex; padding: 2px 7px; border-radius: 999px; background: var(--lime); color: var(--ink); text-transform: uppercase; font-size: 8px; font-weight: 950; letter-spacing: .1em; }
.topic-content h2 { margin: 5px 0 8px; font-size: clamp(19px, 2.5vw, 24px); letter-spacing: -.035em; line-height: 1.12; }
.topic-content p { margin: 0; color: #60645d; font-size: 14px; }
.reply-count { min-width: 70px; display: grid; justify-items: end; padding-top: 4px; }
.reply-count strong { font-size: 21px; letter-spacing: -.04em; }
.reply-count span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.empty-state { padding: 60px 28px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 24px; background: rgba(255,255,255,.38); }
.empty-state.compact { padding: 34px 24px; }
.empty-icon { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: 20px; }
.empty-state h3 { margin: 0 0 5px; font-size: 20px; }
.empty-state p { margin: 0; color: var(--muted); }

.composer-card { margin-bottom: 64px; background: var(--dark); color: white; border-radius: 34px; padding: clamp(28px,5vw,46px); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.composer-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--lime); right: -140px; top: -120px; opacity: .9; }
.composer-head { position: relative; z-index: 1; display: flex; gap: 15px; align-items: center; margin-bottom: 28px; }
.composer-head h1 { margin: 3px 0 0; font-size: clamp(30px,5vw,45px); letter-spacing: -.055em; line-height: 1; }
.composer-card .kicker { color: rgba(255,255,255,.55); }
.composer-form { position: relative; z-index: 1; display: grid; gap: 15px; }
.composer-card .field > span { color: rgba(255,255,255,.65); }
.composer-card input, .composer-card textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: white; }
.composer-card input::placeholder, .composer-card textarea::placeholder { color: rgba(255,255,255,.38); }
.composer-card input:focus, .composer-card textarea:focus { border-color: rgba(255,255,255,.36); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.composer-card .primary-button { background: var(--lime); color: var(--ink); box-shadow: none; }

.field { display: grid; gap: 7px; }
.field > span { font-size: 11px; font-weight: 850; color: #545950; }
input, textarea { width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: 16px; outline: 0; background: rgba(255,255,255,.76); color: var(--ink); padding: 13px 14px; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
input:focus, textarea:focus { background: white; border-color: rgba(23,25,21,.42); box-shadow: 0 0 0 4px rgba(23,25,21,.055); }
textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.form-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 2px; }
.form-hint { color: var(--muted); font-size: 11px; }
.composer-card .form-hint { color: rgba(255,255,255,.45); }

.crumb-row { display: flex; align-items: center; gap: 10px; margin: 3px 0 22px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.back-link { text-decoration: none; color: var(--ink); }
.conversation-card, .content-page-card { padding: clamp(30px,6vw,62px); border-radius: 34px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.conversation-author { display: flex; align-items: center; gap: 13px; }
.conversation-author > div:last-child { display: grid; }
.conversation-author strong { font-size: 13px; }
.conversation-author span { color: var(--muted); margin-top: 3px; font-size: 10px; }
.conversation-card h1 { max-width: 900px; margin: 32px 0 30px; font-size: clamp(42px,7vw,76px); line-height: .98; letter-spacing: -.065em; }
.prose { color: #383c35; font-size: 17px; }
.prose p { max-width: 780px; line-height: 1.72; }
.prose h1, .prose h2, .prose h3 { color: var(--ink); line-height: 1.05; letter-spacing: -.04em; margin-top: 1.6em; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.answers-section { margin-top: 54px; }
.answer-card { padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 14px; border-top: 1px solid var(--line); }
.answer-card:last-child { border-bottom: 1px solid var(--line); }
.answer-meta { display: flex; gap: 10px; align-items: baseline; }
.answer-meta strong { font-size: 13px; }
.answer-meta span { color: var(--muted); font-size: 10px; }
.answer-body p { margin: 7px 0 0; color: #4f544b; }
.reply-box { margin-top: 36px; padding: clamp(24px,5vw,38px); background: white; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-soft); }
.reply-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.reply-head > div:last-child { display: grid; }
.reply-head strong { font-size: 13px; margin-top: 2px; }
.reply-box form { display: grid; gap: 14px; }
.signin-nudge { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; border-radius: 24px; background: var(--lime); }
.signin-nudge strong { font-size: 17px; }
.signin-nudge p { margin: 2px 0 0; font-size: 12px; color: #565d37; }
.muted-pill { background: #eceae4; }
.page-prose { margin-top: 32px; }

.auth-layout { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; border-radius: 38px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }
.auth-visual { position: relative; overflow: hidden; padding: clamp(38px,6vw,70px); background: var(--violet); color: white; display: flex; flex-direction: column; justify-content: center; }
.register-visual { background: #1f211d; }
.inverted { background: rgba(255,255,255,.17); color: white; }
.auth-visual h1 { position: relative; z-index: 2; margin: 25px 0 18px; font-size: clamp(48px,6vw,78px); line-height: .92; letter-spacing: -.065em; }
.auth-visual > p { position: relative; z-index: 2; margin: 0; max-width: 420px; color: rgba(255,255,255,.7); font-size: 18px; }
.auth-shape { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--lime); right: -130px; bottom: -120px; display: grid; place-items: center; color: var(--ink); font-size: 60px; transform: rotate(10deg); }
.auth-shape.alt { background: var(--peach); }
.auth-panel { padding: clamp(36px,6vw,70px); display: flex; flex-direction: column; justify-content: center; }
.auth-panel h2 { margin: 7px 0 10px; font-size: clamp(34px,4vw,46px); letter-spacing: -.055em; line-height: 1; }
.auth-intro { color: var(--muted); margin: 0 0 28px; }
.auth-panel form { display: grid; gap: 15px; }
.wide { width: 100%; min-height: 49px; margin-top: 3px; }
.auth-switch { color: var(--muted); margin: 22px 0 0; font-size: 12px; }
.auth-switch a { color: var(--ink); font-weight: 850; }

.admin-hero { min-height: 310px; position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px,6vw,66px); background: var(--dark); color: white; display: flex; align-items: end; justify-content: space-between; gap: 28px; box-shadow: var(--shadow); margin-bottom: 56px; }
.dark-pill { background: rgba(255,255,255,.13); color: white; }
.admin-hero h1 { position: relative; z-index: 2; margin: 20px 0 10px; font-size: clamp(46px,7vw,80px); line-height: .91; letter-spacing: -.07em; }
.admin-hero p { position: relative; z-index: 2; margin: 0; color: rgba(255,255,255,.58); max-width: 520px; }
.admin-hero .light-button { position: relative; z-index: 3; flex: 0 0 auto; }
.admin-orbit { position: absolute; right: 14%; top: -130px; width: 400px; height: 400px; border-radius: 50%; border: 52px solid rgba(217,255,99,.85); }
.admin-orbit span { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: var(--peach); left: -95px; bottom: 10px; }
.admin-orbit i { position: absolute; width: 45px; height: 45px; border-radius: 50%; background: var(--violet); right: -60px; top: 140px; }
.admin-table { display: grid; gap: 9px; }
.admin-row { min-height: 74px; display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 13px 16px; background: rgba(255,254,251,.88); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; box-shadow: var(--shadow-soft); }
.admin-row:hover { border-color: var(--line-strong); }
.admin-page-icon { width: 42px; height: 42px; border-radius: 13px; background: var(--lime); display: grid; place-items: center; font-weight: 950; }
.admin-page-copy { display: grid; }
.admin-page-copy strong { font-size: 14px; }
.admin-page-copy span { color: var(--muted); margin-top: 2px; font-size: 10px; }
.admin-status { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.status-badge { display: inline-flex; align-items: center; min-height: 27px; border-radius: 999px; padding: 0 9px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.status-badge.is-live { background: #e9f8de; color: #356a29; border-color: #d4ecc7; }
.row-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #eeece7; font-weight: 900; }

.editor-layout { display: grid; grid-template-columns: 330px minmax(0,1fr); gap: 22px; align-items: start; }
.editor-aside { position: sticky; top: 100px; min-height: 420px; overflow: hidden; padding: 32px; border-radius: 28px; background: var(--dark); color: white; }
.editor-aside::after { content:""; position:absolute; width:180px; height:180px; border-radius:50%; background:var(--lime); right:-100px; bottom:-70px; }
.editor-aside h1 { margin: 20px 0 12px; font-size: 40px; line-height: .95; letter-spacing: -.055em; }
.editor-aside > p { color: rgba(255,255,255,.58); font-size: 13px; }
.editor-tip { margin-top: 34px; padding: 15px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); border-radius: 15px; display: grid; gap: 6px; }
.editor-tip strong { font-size: 11px; }
.editor-tip span { color: rgba(255,255,255,.52); font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.editor-panel { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px,5vw,42px); box-shadow: var(--shadow-soft); }
.editor-panel form { display: grid; gap: 17px; }
.editor-textarea { min-height: 360px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; }
.toggle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toggle-card { cursor: pointer; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: #faf9f6; }
.toggle-card input { position: absolute; opacity: 0; pointer-events: none; }
.fake-toggle { width: 38px; height: 22px; border-radius: 999px; background: #d8d6cf; position: relative; transition: .18s ease; }
.fake-toggle::after { content:""; width: 16px; height: 16px; border-radius: 50%; background: white; position: absolute; left: 3px; top: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: .18s ease; }
.toggle-card input:checked + .fake-toggle { background: var(--ink); }
.toggle-card input:checked + .fake-toggle::after { transform: translateX(16px); }
.toggle-card > span:last-child { display: grid; }
.toggle-card strong { font-size: 11px; }
.toggle-card small { color: var(--muted); margin-top: 2px; font-size: 9px; }
.editor-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 4px; }

.error-card { min-height: 470px; padding: 50px; border-radius: 36px; background: var(--dark); color: white; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; position: relative; }
.error-code { color: var(--lime); text-transform: uppercase; letter-spacing: .16em; font-weight: 950; font-size: 11px; }
.error-card h1 { margin: 15px 0; font-size: clamp(46px,7vw,80px); line-height: .95; letter-spacing: -.065em; max-width: 760px; }
.error-card p { color: rgba(255,255,255,.62); max-width: 580px; margin: 0 0 25px; }
.error-card .solid-action { background: white; color: var(--ink); }

.footer-shell { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; padding: 0 0 32px; }
.footer-card { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line-strong); padding-top: 25px; }
.brand-footer { pointer-events: none; }
.brand-footer .brand-symbol { width: 28px; height: 28px; }
.footer-card p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.footer-meta { display: flex; gap: 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }

@media (max-width: 920px) {
  .topbar-inner { grid-template-columns: 1fr auto; gap: 11px 14px; }
  .nav-rail { grid-column: 1 / -1; grid-row: 2; margin: 0 -4px -2px; }
  .user-copy, .icon-action b { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 370px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { min-height: 360px; }
  .editor-layout { grid-template-columns: 1fr; }
  .editor-aside { position: relative; top: auto; min-height: 280px; }
}

@media (max-width: 650px) {
  .topbar { padding: 10px 0; }
  .topbar-inner, .page-shell, .footer-shell { width: min(calc(100% - 20px), var(--content)); }
  .brand-tag { display: none; }
  .brand-word { font-size: 16px; }
  .guest-actions .ghost-action { display: none; }
  .user-chip { display: none; }
  .account-cluster { gap: 5px; }
  .ghost-action, .solid-action, .icon-action { min-height: 38px; padding: 0 12px; }
  .page-shell { padding-top: 22px; padding-bottom: 70px; }
  .hero-grid { min-height: 0; border-radius: 28px; margin-bottom: 52px; }
  .hero-copy { padding: 38px 25px 43px; }
  .hero-copy h1 { font-size: clamp(48px,15vw,70px); }
  .hero-art { min-height: 310px; }
  .orb-one { width: 240px; height: 240px; }
  .orb-two { width: 150px; height: 150px; }
  .orb-three { left: 70px; }
  .card-a { right: 18px; bottom: 45px; min-width: 200px; }
  .card-b { left: 17px; top: 25px; min-width: 188px; }
  .section-title-row { align-items: start; }
  .live-label { display: none; }
  .topic-main { grid-template-columns: auto minmax(0,1fr); padding: 19px 17px; gap: 12px; }
  .reply-count { grid-column: 2; display: flex; gap: 5px; justify-items: start; justify-content: flex-start; min-width: 0; padding: 0; }
  .reply-count strong { font-size: 11px; }
  .reply-count span { font-size: 8px; }
  .topic-content p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .composer-card { border-radius: 27px; padding: 24px 19px; margin-bottom: 48px; }
  .form-row { align-items: stretch; flex-direction: column; }
  .form-row .primary-button { width: 100%; }
  .form-hint { order: 2; }
  .conversation-card, .content-page-card { border-radius: 27px; padding: 26px 20px; }
  .conversation-card h1 { font-size: clamp(38px,12vw,58px); }
  .answer-card { padding-left: 4px; padding-right: 4px; }
  .signin-nudge { flex-direction: column; align-items: flex-start; }
  .signin-nudge .solid-action { width: 100%; }
  .auth-layout { border-radius: 28px; }
  .auth-visual { min-height: 330px; padding: 34px 25px; }
  .auth-visual h1 { font-size: clamp(48px,14vw,65px); }
  .auth-panel { padding: 35px 22px; }
  .admin-hero { min-height: 390px; border-radius: 28px; padding: 29px 22px; align-items: flex-start; flex-direction: column; justify-content: flex-end; }
  .admin-hero h1 { font-size: 54px; }
  .admin-orbit { right: -140px; top: -125px; }
  .admin-row { grid-template-columns: auto minmax(0,1fr) auto; }
  .admin-status { grid-column: 2 / -1; justify-content: flex-start; }
  .row-arrow { grid-column: 3; grid-row: 1; }
  .toggle-grid { grid-template-columns: 1fr; }
  .editor-panel { border-radius: 24px; padding: 22px 17px; }
  .editor-actions { flex-direction: column-reverse; }
  .editor-actions > * { width: 100%; }
  .footer-card { align-items: flex-start; flex-direction: column; }
  .footer-meta { flex-wrap: wrap; }
}
