:root {
  color-scheme: light;
  --page: #f5f3ec;
  --sheet: #fffefa;
  --ink: #1d1f1c;
  --ink-soft: #3d413c;
  --muted: #5f635c;
  --faint: #6c7068;
  --hair: #e2ded3;
  --hair-strong: #c9c3b4;
  --accent: #a34e2c;
  --accent-strong: #8a3f22;
  --accent-soft: #f4e8df;
  --board: #1f2a26;
  --board-raised: #27352f;
  --board-line: #3a4a43;
  --chalk: #f2efe6;
  --chalk-muted: #b9c3bc;
  --chalk-accent: #eaa582;
  --ok: #256443;
  --ok-bg: #e5f0e8;
  --warn: #83520f;
  --warn-bg: #f8edd6;
  --bad: #9a2f32;
  --bad-bg: #f8e5e4;
  --flat: #545850;
  --flat-bg: #ebe8df;
  --radius: 14px;
  --shell: 1160px;
  --gutter: 36px;
  --measure: 68ch;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.6 var(--sans); }
[hidden] { display: none !important; }
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
main.shell { min-height: 55vh; padding-block: 40px 80px; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; max-width: 100%; }
button, summary, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
summary { overflow-wrap: anywhere; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font: 400 clamp(32px, 4vw, 48px)/1.12 var(--serif); letter-spacing: -.03em; }
h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; }
h3 { font-size: 18px; line-height: 1.4; }
code { font: .87em/1.6 var(--mono); overflow-wrap: anywhere; }
::selection { background: #f0d3c3; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; inset: 8px auto auto 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.bad-text { color: var(--bad); }
.sep { padding-inline: 5px; color: var(--faint); }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

.masthead { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--hair); }
.masthead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(245, 243, 236, .96); backdrop-filter: blur(10px); }
.masthead-inner { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.wordmark { display: inline-flex; align-items: baseline; color: var(--ink); font: 400 29px/1 var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.wordmark .tomb { display: inline-block; flex: none; width: .285em; height: .285em; margin: 0 .08em 0 .1em; background: var(--accent); border-radius: 1px; }
.wordmark:hover { text-decoration: none; }
.wordmark:hover .tomb { background: var(--accent-strong); }
.desktop-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 11px; border-radius: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--ink); background: #ebe7dd; text-decoration: none; }
.desktop-nav a[aria-current] { font-weight: 650; }
.mobile-actions { display: none; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); list-style: none; }
.icon-button::-webkit-details-marker { display: none; }
.icon-button:hover { background: #ebe7dd; }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mobile-menu > summary { position: relative; z-index: 32; }
.burger { position: relative; display: block; width: 20px; height: 14px; }
.burger::before, .burger::after, .burger span { content: ""; position: absolute; left: 0; width: 100%; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .22s ease, opacity .18s ease, top .22s ease; }
.burger::before { top: 0; }
.burger span { top: 6px; }
.burger::after { top: 12px; }
.mobile-menu[open] > summary { color: var(--chalk); }
.mobile-menu[open] > summary:hover { background: var(--board-raised); }
.mobile-menu[open] .burger::before { top: 6px; transform: rotate(45deg); }
.mobile-menu[open] .burger::after { top: 6px; transform: rotate(-45deg); }
.mobile-menu[open] .burger span { opacity: 0; }
.menu-backdrop { position: fixed; inset: 0; z-index: 30; background: #1d1f1c66; animation: fade-in .2s ease; }
.drawer { position: fixed; inset: 0 0 0 auto; z-index: 31; width: min(86vw, 340px); overflow-y: auto; padding: 84px 20px 32px; background: var(--board); display: flex; flex-direction: column; gap: 2px; box-shadow: -24px 0 48px #1d1f1c40; animation: drawer-in .26s cubic-bezier(.2, .8, .2, 1); }
.drawer a { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; color: var(--chalk); border-radius: 10px; font: 20px/1.3 var(--serif); }
.drawer a:hover { background: var(--board-raised); text-decoration: none; }
.drawer a[aria-current] { background: var(--board-raised); color: var(--chalk-accent); }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero { max-width: 760px; margin-bottom: 28px; }
.hero h1 { margin-bottom: 14px; }
.hero p { color: var(--ink-soft); margin-bottom: 12px; max-width: 65ch; }
.hero strong { font-weight: 650; color: var(--ink); }
.lead { max-width: var(--measure); color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.section { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 18px; }
.section h2 { margin: 0; }
.count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.section-link { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; background: var(--hair); margin-bottom: 28px; }
.stat { padding: 18px; background: var(--sheet); }
.stat .value { display: block; font: 400 30px/1.15 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .label { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.inline-stats { display: flex; gap: 6px 22px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.inline-stats strong { color: var(--ink); font-weight: 650; }
.inline-stats a { display: inline-flex; align-items: center; min-height: 44px; }

.board { position: relative; background: var(--board); color: var(--chalk); border-radius: 22px; box-shadow: inset 0 0 0 1px #ffffff0d, inset 0 0 90px #00000030; }
.board a { color: var(--chalk-accent); }
.home-board { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px; margin-bottom: 40px; background-image: linear-gradient(transparent 31px, #ffffff07 32px); background-size: 100% 32px; }
.home-intro .eyebrow { color: var(--chalk-accent); }
.home-intro h1 { color: var(--chalk); font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; margin-bottom: 20px; max-width: 10.5em; }
.home-intro h1 em { color: var(--chalk-accent); }
.home-intro > p:not(.eyebrow) { color: var(--chalk-muted); max-width: 34em; margin-bottom: 22px; }
.home-search { margin: 24px 0 4px; }
.home-search label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 8px; color: var(--chalk); }
.search-box { display: flex; gap: 6px; align-items: stretch; background: var(--chalk); border-radius: 10px; padding: 5px; }
.search-box:focus-within { outline: 3px solid var(--chalk-accent); outline-offset: 2px; }
.search-box input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 10px 12px; outline: none; font-size: 16px; color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: white; font-size: 14px; font-weight: 600; text-align: center; }
.button:hover { background: var(--accent-strong); text-decoration: none; }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--hair-strong); }
.board .button.quiet { color: var(--chalk); border-color: var(--board-line); }
.examples { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; font-size: 12px; color: var(--chalk-muted); }
.examples a { display: inline-flex; align-items: center; min-height: 44px; }
.board .section-link { color: var(--chalk); }
.evidence-panel { border-radius: 16px; background: var(--board-raised); padding: 26px; box-shadow: inset 0 0 0 1px #ffffff12; }
.evidence-panel .panel-heading { font: italic 15px/1.4 var(--serif); color: var(--chalk-muted); padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px dashed var(--board-line); }
.counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.board .counter { color: var(--chalk); }
.counter:hover { text-decoration: none; }
.counter:hover .k { color: var(--chalk); text-decoration: underline; }
.counter .n { display: block; font: 400 36px/1.1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.counter .k { display: block; font-size: 12px; line-height: 1.45; color: var(--chalk-muted); margin-top: 5px; }
.home-section { margin-top: 12px; }
.destinations, .cards, .guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dest, .card { display: flex; flex-direction: column; padding: 26px; background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); color: var(--ink); transition: border-color .15s, transform .15s; }
.dest:hover, .card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.dest .n { font: 12px/1.5 var(--mono); color: var(--accent); margin-bottom: 18px; }
.dest h3, .card h3 { margin-bottom: 8px; font: 400 22px/1.25 var(--serif); letter-spacing: -.02em; }
.dest p, .card p { font-size: 14px; color: var(--muted); margin: 0; }
.dest .go { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--accent); }
.secondary-destinations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin-block: 18px 44px; }
.secondary-destinations a { padding-block: 16px; min-height: 52px; border-bottom: 1px solid var(--hair); color: var(--ink); font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.grade-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 30px; }
.grade-guide a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; color: var(--chalk); }
.grade-guide b { font: italic 400 32px/1 var(--serif); color: var(--chalk-accent); }
.grade-guide strong { display: block; font: 400 18px/1.3 var(--serif); }
.grade-guide small { display: block; margin-top: 4px; color: var(--chalk-muted); font-size: 12px; }

.browser { margin-bottom: 36px; }
.toolbar { padding: 18px; background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); margin-bottom: 18px; }
.search-field { display: block; min-width: 0; }
.search-field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.search-field input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; background: var(--page); border: 1px solid var(--hair-strong); border-radius: 9px; font-size: 16px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.filter-tools { display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
.filter-panel { flex: 1; min-width: 0; }
.filter-panel > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; list-style: none; }
.filter-panel > summary::before { content: "+"; font-size: 21px; width: 20px; color: var(--accent); }
.filter-panel[open] > summary::before { content: "−"; }
.filter-panel > summary::-webkit-details-marker { display: none; }
.filter-count { font-size: 12px; color: var(--accent); font-weight: 600; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 8px; }
.filters label { min-width: 0; font-size: 12px; color: var(--muted); }
.filters select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; margin-top: 5px; border: 1px solid var(--hair-strong); border-radius: 8px; background: var(--sheet); font-size: 16px; color: var(--ink); text-overflow: ellipsis; }
.reset-button { border: 0; background: none; color: var(--accent); font-size: 13px; min-height: 44px; padding: 8px; white-space: nowrap; }
.reset-button:hover { text-decoration: underline; }
.views { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.view { min-height: 44px; padding: 8px 14px; font-size: 13px; border: 1px solid var(--hair-strong); border-radius: 999px; color: var(--ink-soft); background: var(--sheet); }
.view.on { background: var(--board); color: var(--chalk); border-color: var(--board); }
#view-note { margin-bottom: 14px; font-size: 13px; }
.local-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: end; }
.local-toolbar .count { grid-column: 1 / -1; }
.rows { display: grid; gap: 10px; }
.group { font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 16px 0 2px; }
.row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 12px 24px; align-items: start; padding: 20px 22px; background: var(--sheet); border: 1px solid var(--hair); border-radius: 12px; }
.row > * { min-width: 0; }
.row-title { display: block; color: var(--ink); font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
a.row-title:hover { color: var(--accent); }
.row-meta { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 6px 0 0; overflow-wrap: anywhere; }
.row-note { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 10px 0 0; overflow-wrap: anywhere; }
.row-chips { max-width: 280px; display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-block; max-width: 100%; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 1.5; background: var(--flat-bg); color: var(--flat); overflow-wrap: anywhere; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.key, .chip.grade.proved { color: var(--chalk); background: var(--board); }
.chip.money { color: var(--ok); box-shadow: inset 0 0 0 1px #b6cfbe; background: var(--ok-bg); }
.chip.grade { font-family: var(--mono); font-weight: 500; }
.chip.grade.strong { color: var(--accent-strong); background: var(--accent-soft); }
a.chip { min-height: 44px; display: inline-flex; align-items: center; }
.row-expansion { grid-column: 1 / -1; border-top: 1px solid var(--hair); }
.row-expansion > summary { font-size: 13px; color: var(--accent); min-height: 44px; padding-top: 12px; }
.row-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 22px; padding-block: 10px 4px; }
.row-detail h4 { font-size: 12px; color: var(--ink); margin: 0 0 8px; }
.row-detail p, .row-detail li { color: var(--muted); font-size: 13px; margin-bottom: 8px; overflow-wrap: anywhere; }
.row-detail ul { margin: 0; padding-left: 16px; }
.empty { text-align: center; padding: 38px 20px; border: 1px dashed var(--hair-strong); border-radius: 12px; color: var(--muted); font-size: 14px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 18px 8px; }
.page-button { min-height: 44px; padding: 8px 16px; background: var(--sheet); border: 1px solid var(--hair-strong); border-radius: 8px; font-size: 13px; }
.page-button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.page-jump { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); min-width: 0; }
.page-jump select { min-width: 0; min-height: 44px; max-width: 125px; border: 1px solid var(--hair-strong); border-radius: 8px; background: var(--sheet); padding: 8px; font-size: 16px; }

.block { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--hair); }
.block h2 { font: 400 25px/1.25 var(--serif); letter-spacing: -.02em; margin-bottom: 16px; }
.block .section h2 { margin-bottom: 0; }
.block h3 { margin-block: 22px 10px; font-size: 16px; }
.block .tags { margin-block: 14px; }
.doc { max-width: 900px; margin-inline: auto; }
.doc > h1 { max-width: 26ch; overflow-wrap: anywhere; margin-bottom: 18px; }
.crumb { color: var(--muted); font-size: 12px; margin-bottom: 14px; overflow-wrap: anywhere; }
.summary { color: var(--ink-soft); margin-bottom: 20px; max-width: 68ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.status-note { border-radius: 12px; padding: 16px 20px; background: var(--board); color: var(--chalk); font-size: 14px; margin-bottom: 24px; }
.status-note strong { color: var(--chalk-accent); font-weight: 600; }
.status-note p { margin: 0; }
.status-note p + p { margin-top: 6px; color: var(--chalk-muted); }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding-block: 14px; border-bottom: 1px solid var(--hair); font-size: 14px; overflow-wrap: anywhere; }
.list li:last-child { border-bottom: 0; }
.defs { margin: 14px 0 0; }
.def { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 20px; padding-block: 12px; border-bottom: 1px solid var(--hair); }
.def:last-child { border-bottom: 0; }
.def dt { color: var(--ink); font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.def dd { margin: 0; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.disclosure { background: var(--sheet); border: 1px solid var(--hair); border-radius: 12px; margin-block: 12px; }
.disclosure > summary { padding: 16px 20px; font-size: 15px; font-weight: 600; min-height: 54px; }
.disclosure[open] > summary { border-bottom: 1px solid var(--hair); }
.disclosure-body { padding: 18px 20px; min-width: 0; }
.disclosure-body > :last-child { margin-bottom: 0; }
.disclosure .defs { margin-top: 0; }
.declaration > summary .row-meta { display: block; font-weight: 400; }
.fidelity-panel { padding: 24px; border-radius: var(--radius); background: var(--accent-soft); border-top: 0; }
.fidelity-panel h2 { font-size: 21px; }
.page-toc { margin-block: 20px 8px; border-block: 1px solid var(--hair); }
.page-toc > summary { min-height: 48px; padding-block: 12px; color: var(--accent); font-size: 13px; }
.page-toc nav { display: flex; flex-wrap: wrap; gap: 0 18px; padding-bottom: 12px; }
.page-toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
pre.code { max-width: 100%; overflow-x: auto; background: var(--board); color: var(--chalk); border-radius: 12px; padding: 22px; font: 13px/1.7 var(--mono); margin-block: 18px; }
.prose { max-width: var(--measure); margin-inline: auto; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); }
.prose h2 { font: 400 29px/1.2 var(--serif); letter-spacing: -.02em; margin: 44px 0 16px; }
.prose h3 { margin-block: 28px 10px; }
.prose p { color: var(--ink-soft); margin-bottom: 20px; line-height: 1.8; }
.prose .byline { font-size: 12px; color: var(--muted); margin-bottom: 26px; letter-spacing: .08em; text-transform: uppercase; }
.prose .defs { margin-bottom: 24px; }
.measure { max-width: var(--measure); }
.alert { padding: 20px 22px; border-radius: var(--radius); background: var(--bad-bg); color: var(--bad); margin-bottom: 28px; }
.alert h2 { font-size: 16px; margin-bottom: 10px; }
.alert p { margin: 0 0 8px; font-size: 14px; overflow-wrap: anywhere; }
.meter { height: 7px; margin-top: 14px; border-radius: 999px; background: var(--flat-bg); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--accent); }
.guide-grid .card { min-height: 150px; }
.tool-args { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.account-link { margin-left: 8px; border: 1px solid var(--hair-strong); }
.account-link.has-unread::after, .icon-button.has-unread::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 1px; background: var(--accent); }
.icon-button.has-unread { position: relative; }
.icon-button.has-unread::after { position: absolute; top: 9px; right: 9px; margin: 0; }
.drawer-account { margin-top: 12px; border-top: 1px solid var(--board-line); }
.narrow { max-width: 560px; }
.small { font-size: 12px; }
.notice { padding: 16px 18px; border-radius: 12px; background: var(--flat-bg); color: var(--ink-soft); font-size: 14px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.board-filter { font-size: 13px; color: var(--muted); }
.posts { display: grid; gap: 8px; }
.post-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 18px; background: var(--sheet); border: 1px solid var(--hair); border-radius: 12px; }
.post-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--accent); }
.post-domain { font-size: 12px; font-weight: 400; color: var(--muted) !important; }
.more { margin-top: 14px; }

.votes { display: flex; flex-direction: column; gap: 4px; min-width: 64px; }
.votes.busy { opacity: .6; }
.vote { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 4px 9px; border: 1px solid var(--hair-strong); border-radius: 8px; background: var(--sheet); font-size: 12px; color: var(--ink-soft); }
.vote .mark { font-size: 15px; line-height: 1; }
.vote .vote-label { display: none; }
.vote b { font-weight: 650; font-variant-numeric: tabular-nums; }
.vote.holy .mark { color: var(--accent); }
.vote.holy[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.vote.holy[aria-pressed="true"] .mark { color: white; }
.vote.reality[aria-pressed="true"] { background: var(--board); border-color: var(--board); color: var(--chalk); }
.vote:hover { border-color: var(--ink-soft); }
.comment-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.comment-actions .votes { flex-direction: row; min-width: 0; }
.comment-actions .vote .vote-label { display: inline; }

.thread-page h1 { font-size: clamp(28px, 3.4vw, 40px); overflow-wrap: anywhere; }
.post-body p, .comment-body p { margin: 0 0 12px; overflow-wrap: anywhere; }
.comments { display: grid; gap: 4px; margin-top: 20px; }
.comment { padding: 12px 0 4px calc(var(--depth, 0) * 16px + 14px); border-left: 2px solid var(--hair); margin-left: calc(var(--depth, 0) * 4px); }
.comment .comment { margin-top: 8px; }
.reply-slot:empty { display: none; }

.stack-form { display: grid; gap: 14px; max-width: 720px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .check { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea, .follow-form input { width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; border: 1px solid var(--hair-strong); border-radius: 9px; background: var(--sheet); font-size: 16px; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.form-status { margin: 0; font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.check.small { font-size: 12px; min-height: 32px; }
.button.danger { background: var(--bad); border-color: var(--bad); }
.picker { position: relative; }
.picker-results { position: absolute; inset: 100% 0 auto; z-index: 5; margin-top: 4px; max-height: 320px; overflow-y: auto; background: var(--sheet); border: 1px solid var(--hair-strong); border-radius: 10px; box-shadow: 0 14px 30px #1d1f1c1f; padding: 6px; }
.picker-results button { display: grid; width: 100%; text-align: left; gap: 2px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; font-size: 14px; }
.picker-results button:hover, .picker-results button:focus-visible { background: var(--accent-soft); }
.picker-results span { font: 11px/1.4 var(--mono); color: var(--muted); }

.follow-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 24px; align-items: center; padding: 24px; border-radius: 16px; margin-bottom: 20px; }
.follow-title { margin: 0; font: 400 21px/1.3 var(--serif); color: var(--chalk); }
.follow-note { margin: 6px 0 0; font-size: 13px; color: var(--chalk-muted); }
.follow-form { display: flex; gap: 8px; }
.follow-form input { background: var(--chalk); border-color: transparent; }
.follow-status { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--chalk-muted); }
.follow-status:empty { display: none; }
.follow-card .button.quiet { color: var(--chalk); border-color: var(--board-line); }
.discussion-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bounty-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.signin-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
.signin-card { padding: 26px; background: var(--sheet); border: 1px solid var(--hair); border-radius: var(--radius); align-content: start; }
.signin-card h2 { font: 400 22px/1.3 var(--serif); margin: 0; }
.other-signin { display: grid; gap: 14px; }
.row.unread { border-left: 3px solid var(--accent); }

footer { border-top: 1px solid var(--hair); background: var(--sheet); padding-block: 34px; font-size: 13px; color: var(--muted); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-brand .wordmark { font-size: 24px; }
.footer-brand p { margin: 8px 0 0; font-size: 12px; }
.slogan { font: italic 13px/1.4 var(--serif); color: var(--ink-soft); }
.footer-links { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.footer-links a { min-height: 44px; display: flex; align-items: center; }
.footer-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 8px; }
.footer-details details { border-block: 1px solid var(--hair); }
.footer-details summary { padding-block: 14px; min-height: 48px; }
.feeds { list-style: none; padding: 0 0 14px; margin: 0; }
.feeds li { padding-block: 6px; overflow-wrap: anywhere; }
.data-links { display: flex; gap: 2px 16px; flex-wrap: wrap; padding-bottom: 14px; }
.data-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-note { display: flex; justify-content: space-between; gap: 14px 40px; flex-wrap: wrap; padding-top: 14px; font-size: 11px; }
.footer-note p { margin: 0; max-width: 65ch; }
.dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--muted); margin-right: 8px; }
.dot.ok { background: var(--ok); }
.dot.bad { background: var(--bad); }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .masthead-inner { min-height: 64px; justify-content: space-between; }
  .mobile-actions { display: flex; gap: 2px; align-items: center; }
  body:has(.mobile-menu[open]) { overflow: hidden; }
  .home-board { gap: 28px; padding: 40px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  main.shell { padding-block: 22px 48px; }
  .home-board { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 22px 22px; border-radius: 18px; margin-bottom: 30px; }
  .home-intro h1 { font-size: 42px; margin-bottom: 14px; }
  .home-intro > p:not(.eyebrow) { font-size: 15px; margin-bottom: 16px; }
  .home-search { margin-top: 18px; }
  .evidence-panel { padding: 18px; }
  .evidence-panel .panel-heading { margin-bottom: 14px; padding-bottom: 12px; }
  .counters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .counter .n { font-size: 27px; }
  .counter .k { font-size: 11px; }
  .destinations, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dest { padding: 22px; }
  .dest .n { margin-bottom: 10px; }
  .dest .go { padding-top: 14px; }
  .secondary-destinations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .grade-guide { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 24px 22px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 14px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; }
  .row-chips { justify-content: flex-start; max-width: none; }
  .toolbar { padding: 14px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 16px; }
  .block { margin-top: 28px; padding-top: 22px; }
  .block h2 { font-size: 23px; }
  .def { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  .doc > h1 { font-size: 32px; }
  .prose h1 { font-size: 38px; }
  .prose h2 { font-size: 26px; }
  .footer-details { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .local-toolbar { grid-template-columns: minmax(0, 1fr); }
  .local-toolbar .reset-button { justify-self: start; padding-left: 0; }
  .views { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .views::-webkit-scrollbar { display: none; }
  .view { flex: none; }
  .post-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
  .post-row .votes { order: 2; flex-direction: row; }
  .post-row .vote .vote-label { display: inline; }
  .field-row, .signin-grid, .follow-card { grid-template-columns: minmax(0, 1fr); }
  .follow-card { padding: 20px; }
  .follow-form { flex-direction: column; }
  .comment { padding-left: calc(var(--depth, 0) * 8px + 10px); margin-left: 0; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .home-intro h1 { font-size: 37px; }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters, .cards { grid-template-columns: minmax(0, 1fr); }
  .secondary-destinations { grid-template-columns: minmax(0, 1fr); }
  .def { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .page-button { padding-inline: 11px; }
  .page-jump { gap: 4px; }
  .page-jump select { max-width: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
