:root {
  --ink: #0b0b0b;
  --ink-2: #3a3a3a;
  --muted: #6b6b6b;
  --faint: #9a9a9a;
  --line: #e4e2dd;
  --line-2: #ededea;
  --paper: #ffffff;
  --page: #f6f5f2;
  --hover: #f1f0ec;
  --yellow: #f5c518;
  --up: #ff4500;
  --down: #7193ff;
  --link: #0a66c2;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius: 10px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; outline: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- top bar (IMDb) ---------- */
.topbar { background: #000; color: #fff; position: sticky; top: 0; z-index: 50; }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-word { font: 900 19px/1 var(--display); letter-spacing: -0.02em; }
.logo-word.small { font-size: 14px; }
.logo-tag { background: var(--yellow); color: #000; font: 800 11px/1 var(--display); letter-spacing: 0.08em; padding: 5px 6px 4px; border-radius: 4px; }
.search { position: relative; flex: 1; max-width: 560px; }
.search input {
  width: 100%; height: 38px; border-radius: 6px; border: 0; background: #fff; color: #000;
  padding: 0 14px 0 38px; font-size: 14px; outline: none;
}
.search input:focus { box-shadow: 0 0 0 2px var(--yellow); }
.search-icon { position: absolute; left: 12px; top: 11px; width: 16px; height: 16px; fill: #777; pointer-events: none; }
.search-results {
  position: absolute; top: 44px; left: 0; right: 0; background: #1a1a1a; color: #fff; border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45); overflow: hidden; max-height: 70vh; overflow-y: auto;
}
.sr-item { display: flex; gap: 12px; padding: 10px 14px; align-items: center; cursor: pointer; border-bottom: 1px solid #2a2a2a; }
.sr-item:last-child { border-bottom: 0; }
.sr-item.active, .sr-item:hover { background: #2a2a2a; }
.sr-item img, .sr-item .ph { width: 38px; height: 56px; object-fit: cover; border-radius: 3px; background: #333; flex-shrink: 0; }
.sr-title { font-weight: 600; }
.sr-meta { font-size: 12px; color: #aaa; }
.sr-empty { padding: 14px; color: #aaa; font-size: 14px; }
.userbox { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.btn-yellow { background: var(--yellow); color: #000; }
.btn-yellow:hover { background: #ffd63a; }
.btn-ghost-dark { color: #fff; }
.btn-ghost-dark:hover { background: #222; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-outline { border: 1px solid var(--line); background: var(--paper); }
.btn-outline:hover { background: var(--hover); }
.btn:disabled { opacity: .45; cursor: default; }
.me-chip { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; }
.me-chip:hover { background: #222; }
.me-karma { font-size: 12px; color: #aaa; }

/* ---------- avatars ---------- */
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 11px/1 var(--sans); color: #fff; flex-shrink: 0; text-transform: uppercase; }
.av.lg { width: 32px; height: 32px; font-size: 14px; }
.av.xl { width: 72px; height: 72px; font-size: 30px; }

/* ---------- A24 hero ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 72px 20px 56px; }
.eyebrow { font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero h1 {
  font: 900 clamp(48px, 9vw, 128px)/0.88 var(--display); letter-spacing: -0.045em; margin: 18px 0 26px; text-transform: uppercase;
}
.hero h1 em { font-style: normal; color: var(--faint); }
.hero p.lede { font-size: 18px; max-width: 560px; color: var(--ink-2); margin: 0 0 30px; }
.hero-search { position: relative; max-width: 640px; }
.hero-search input {
  width: 100%; height: 60px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper);
  font: 600 20px var(--sans); padding: 0 20px 0 54px; outline: none;
}
.hero-search input:focus { box-shadow: 6px 6px 0 var(--yellow); }
.hero-search .search-icon { left: 20px; top: 21px; width: 20px; height: 20px; fill: #000; }
.hero-search .search-results { top: 66px; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div { font: 600 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-stats b { display: block; font: 800 28px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 48px 0 18px; }
.section-head h2 { font: 900 32px/1 var(--display); letter-spacing: -0.03em; text-transform: uppercase; margin: 0; }

/* A24-style poster grid */
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 18px; }
.poster-card { display: block; }
.poster-card .poster { aspect-ratio: 2/3; background: #ddd; overflow: hidden; }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.poster-card:hover img { transform: scale(1.04); }
.poster-card .pc-title { font: 800 14px/1.15 var(--display); text-transform: uppercase; letter-spacing: -0.01em; margin-top: 10px; }
.poster-card .pc-meta { font: 400 11px/1.4 var(--mono); color: var(--muted); margin-top: 4px; letter-spacing: .04em; }
.ph { display: grid; place-items: center; text-align: center; padding: 8px; background: #222; color: #888; font: 800 12px/1.1 var(--display); text-transform: uppercase; width: 100%; height: 100%; }

/* ---------- layout ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 24px; align-items: start; padding-bottom: 64px; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.side-card { padding: 16px; }
.side-card h3 { font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.side-card p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.rules { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.rules li { margin: 6px 0; }

/* ---------- movie header (IMDb) ---------- */
.mh { background: #111; color: #fff; position: relative; overflow: hidden; }
.mh-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.2); opacity: .35; transform: scale(1.1); }
.mh-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 40px 20px 36px; display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: end; }
.mh-poster { aspect-ratio: 2/3; background: #222; box-shadow: 0 20px 50px rgba(0,0,0,.6); overflow: hidden; }
.mh-poster img { width: 100%; height: 100%; object-fit: cover; }
.mh .eyebrow { color: #bbb; }
.mh h1 { font: 900 clamp(40px, 6.5vw, 84px)/0.92 var(--display); letter-spacing: -0.04em; text-transform: uppercase; margin: 12px 0 14px; }
.mh-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #ccc; }
.mh-facts b { color: #fff; font-weight: 600; }
.mh-plot { max-width: 720px; color: #ddd; font-size: 15px; margin: 16px 0 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mh-plot.open { -webkit-line-clamp: unset; }
.mh-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 13px; font-weight: 600; }
.pill:hover { background: rgba(255,255,255,.2); }
.pill .star { color: var(--yellow); }

/* ---------- feed controls (reddit) ---------- */
.feed-bar { display: flex; align-items: center; gap: 4px; padding: 8px; margin: 20px 0 12px; flex-wrap: wrap; }
.tab { height: 32px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.tab:hover { background: var(--hover); color: var(--ink); }
.tab.on { background: var(--hover); color: var(--ink); }
.feed-bar .spacer { flex: 1; }
.chip { height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* create post */
.composer-closed { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-top: 20px; }
.composer-closed .fake-input { flex: 1; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--page); padding: 0 14px; display: flex; align-items: center; color: var(--muted); font-size: 14px; cursor: text; }
.composer-closed .fake-input:hover { border-color: var(--ink); background: var(--paper); }
.composer { padding: 16px; margin-top: 20px; }
.composer h3 { margin: 0 0 12px; font: 800 18px/1.2 var(--display); }
.flair-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: var(--paper); outline: none; font-size: 14px; }
.field:focus { border-color: var(--ink); }
textarea.field { min-height: 140px; resize: vertical; line-height: 1.5; }
.field + .field { margin-top: 8px; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.hint { font-size: 12px; color: var(--muted); }
.hint code { font: 11px var(--mono); background: var(--hover); padding: 1px 4px; border-radius: 3px; }

/* ---------- post cards (classic reddit) ---------- */
.posts { display: flex; flex-direction: column; gap: 10px; }
.post { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post:hover { border-color: #b9b7b0; }
.post .votes { width: 44px; flex-shrink: 0; background: #faf9f7; padding: 8px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.post-main { flex: 1; min-width: 0; padding: 8px 12px 4px; cursor: pointer; }
.post-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.post-meta .sub { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }
.post-meta .sub img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.post-meta a:hover { text-decoration: underline; }
.dot::before { content: "•"; color: var(--faint); }
.post-title { font: 600 18px/1.3 var(--sans); margin: 4px 0 6px; overflow-wrap: anywhere; }
.flair { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--hover); color: var(--ink-2); vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
.flair[data-f="Review"] { background: #e7f4ec; color: #126b3b; }
.flair[data-f="Theory"] { background: #efe8ff; color: #5a2dbd; }
.flair[data-f="Question"] { background: #e6f0ff; color: #1652b8; }
.flair[data-f="Rewatch"] { background: #fff2d6; color: #8a5a00; }
.flair[data-f="Ending explained"] { background: #ffe3e3; color: #a3161b; }
.flair[data-f="Trivia"] { background: #e3f6f8; color: #0b6874; }
.flair[data-f="Meta"] { background: #eee; color: #444; }
.post-excerpt { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; max-height: 110px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.post-excerpt p { margin: 0 0 6px; }
.actions { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin-left: -6px; }
.act { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.act:hover { background: var(--hover); color: var(--ink); }
.act svg { width: 16px; height: 16px; fill: currentColor; }

/* vote arrows */
.vbtn { width: 26px; height: 26px; border-radius: 4px; display: grid; place-items: center; color: var(--faint); }
.vbtn svg { width: 18px; height: 18px; fill: currentColor; }
.vbtn:hover { background: var(--hover); }
.vbtn.up:hover, .vbtn.up.on { color: var(--up); }
.vbtn.down:hover, .vbtn.down.on { color: var(--down); }
.score { font-size: 12px; font-weight: 700; min-width: 20px; text-align: center; }
.score.up { color: var(--up); }
.score.down { color: var(--down); }

/* year dividers (A24 big type) */
.year-div { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 6px; }
.year-div:first-child { margin-top: 4px; }
.year-div b { font: 900 44px/1 var(--display); letter-spacing: -0.04em; }
.year-div span { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.year-div::after { content: ""; flex: 1; height: 2px; background: var(--ink); align-self: center; }

.years { list-style: none; margin: 0; padding: 0; }
.years li a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; font-size: 14px; }
.years li a:hover, .years li a.on { background: var(--hover); }
.years li a.on { font-weight: 700; }
.years .bar { flex: 1; height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.years .bar i { display: block; height: 100%; background: var(--ink); }
.years .y { font: 700 14px var(--display); width: 40px; }
.years .n { font: 12px var(--mono); color: var(--muted); width: 32px; text-align: right; }

.empty { text-align: center; padding: 56px 20px; }
.empty h3 { font: 900 28px/1 var(--display); text-transform: uppercase; letter-spacing: -0.03em; margin: 0 0 8px; }
.empty p { color: var(--muted); margin: 0 0 18px; }

/* ---------- post page ---------- */
.thread { padding: 16px 16px 8px; margin-top: 20px; }
.thread-head { display: flex; gap: 8px; }
.thread-head .votes { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 40px; flex-shrink: 0; margin-left: -8px; }
.thread h1 { font: 700 22px/1.3 var(--sans); margin: 6px 0 10px; overflow-wrap: anywhere; }
.md { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.md p { margin: 0 0 10px; }
.md p:last-child { margin-bottom: 0; }
.md blockquote { margin: 0 0 10px; padding: 2px 0 2px 12px; border-left: 4px solid var(--line); color: var(--muted); }
.md code { font: 13px var(--mono); background: var(--hover); padding: 1px 5px; border-radius: 3px; }
.md a { color: var(--link); text-decoration: underline; }
.spoiler { background: #1a1a1b; color: transparent; border-radius: 3px; cursor: pointer; padding: 0 3px; transition: color .15s, background .15s; }
.spoiler * { visibility: hidden; }
.spoiler.shown { background: var(--hover); color: inherit; cursor: auto; }
.spoiler.shown * { visibility: visible; }
.reply-box { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--paper); }
.reply-box:focus-within { border-color: var(--ink); }
.reply-box textarea { width: 100%; min-height: 100px; border: 0; outline: none; padding: 12px; resize: vertical; display: block; font-size: 14px; line-height: 1.5; }
.reply-box .rb-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; background: #faf9f7; border-top: 1px solid var(--line-2); }
.reply-box .rb-foot .btn { height: 30px; padding: 0 14px; font-size: 12px; }
.comment-as { font-size: 12px; color: var(--muted); margin: 18px 0 6px; }
.comment-as a { color: var(--link); }
.login-prompt { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 18px 0 8px; flex-wrap: wrap; }
.sort-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.sort-row select { font: 700 12px var(--sans); border: 0; background: none; color: var(--ink); cursor: pointer; }

/* comments tree */
.comments { padding: 4px 0 16px; }
.cm { position: relative; margin-top: 12px; }
.cm-head { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-height: 24px; }
.cm-head .who { color: var(--ink); font-weight: 700; }
.cm-head .who:hover { text-decoration: underline; }
.cm-head .op { color: var(--link); font-weight: 800; font-size: 11px; }
.cm-body { padding-left: 30px; }
.cm-text { margin: 2px 0 2px; font-size: 14px; }
.cm-text.deleted { color: var(--faint); font-style: italic; }
.cm-actions { display: flex; align-items: center; gap: 2px; margin-left: -6px; flex-wrap: wrap; }
.cm-actions .vbtn { width: 26px; height: 26px; }
.cm-actions .vbtn svg { width: 16px; height: 16px; }
.cm-children { position: relative; padding-left: 30px; }
.thread-line { position: absolute; left: 11px; top: 30px; bottom: 0; width: 2px; background: var(--line-2); cursor: pointer; border-radius: 1px; }
.thread-line::before { content: ""; position: absolute; inset: 0 -6px; }
.thread-line:hover { background: var(--ink); }
.cm.collapsed > .cm-body { display: none; }
.cm.collapsed > .thread-line { display: none; }
.collapse-btn { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 600 12px/1 var(--mono); color: var(--muted); background: var(--paper); }
.collapse-btn:hover { border-color: var(--ink); color: var(--ink); }
.cm-inline-reply { margin: 6px 0 8px; }

/* ---------- profile ---------- */
.profile-head { display: flex; gap: 20px; align-items: center; padding: 40px 0 8px; }
.profile-head h1 { font: 900 clamp(34px, 6vw, 64px)/0.95 var(--display); letter-spacing: -0.04em; margin: 0 0 8px; }
.profile-comment { padding: 12px 14px; }
.profile-comment .pc-ctx { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.profile-comment .pc-ctx a { color: var(--ink); font-weight: 600; }
.profile-comment .pc-ctx a:hover { text-decoration: underline; }

/* ---------- search page ---------- */
.search-page h1 { font: 900 clamp(32px, 5vw, 56px)/1 var(--display); letter-spacing: -0.04em; text-transform: uppercase; margin: 40px 0 24px; }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .15s ease; }
.modal { background: var(--paper); width: 100%; max-width: 420px; padding: 32px 28px 26px; position: relative; border-radius: 14px; }
.modal h2 { font: 900 34px/0.95 var(--display); letter-spacing: -0.04em; text-transform: uppercase; margin: 0 0 6px; }
.modal p.sub { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.modal label { display: block; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.modal .field { height: 46px; font-size: 15px; }
.modal .btn { width: 100%; height: 46px; margin-top: 20px; }
.modal .switch { text-align: center; font-size: 14px; margin-top: 16px; color: var(--muted); }
.modal .switch button { color: var(--ink); font-weight: 700; text-decoration: underline; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; color: var(--muted); }
.modal-x:hover { background: var(--hover); }
.form-err { color: #c4161c; font-size: 13px; margin-top: 10px; min-height: 18px; }
@keyframes fade { from { opacity: 0; } }

#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 200; }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.footer { background: #000; color: #bbb; margin-top: 40px; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 28px 20px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.footer-inner .logo-word { color: #fff; }
.footer .muted { color: #777; margin-left: auto; }

.loading { padding: 80px 20px; text-align: center; color: var(--muted); font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.crumb { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; margin-top: 24px; }
.crumb:hover { color: var(--ink); }
.mini-movie { display: flex; gap: 12px; align-items: center; }
.mini-movie img, .mini-movie .ph { width: 54px; height: 80px; object-fit: cover; flex-shrink: 0; }
.mini-movie b { display: block; font: 800 16px/1.1 var(--display); text-transform: uppercase; }

@media (max-width: 920px) {
  .cols { grid-template-columns: 1fr; }
  .side { position: static; }
  .cols .side { order: 2; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 12px; }
  .topbar-inner { padding: 8px 12px; gap: 10px; flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .logo-word { font-size: 16px; }
  .hero-inner { padding: 44px 16px 36px; }
  .mh-inner { grid-template-columns: 96px 1fr; gap: 16px; padding: 24px 16px; align-items: start; }
  .mh h1 { font-size: 34px; }
  .mh-plot { grid-column: 1 / -1; }
  .post .votes { width: 36px; }
  .post-title { font-size: 16px; }
  .cm-body, .cm-children { padding-left: 18px; }
  .thread-line { left: 8px; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 10px; }
  .footer .muted { margin-left: 0; }
  .btn { padding: 0 12px; }
}
