:root {
  --bg: #090909;
  --panel: #101010;
  --panel-hot: #180b0f;
  --ink: #eee7df;
  --muted: #918a85;
  --dim: #5d5754;
  --signal: #c41e3a;
  --nerve: #ff3158;
  --line: #32151d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 2%, rgba(196, 30, 58, .13), transparent 28rem),
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 34px 34px, 34px 34px, auto;
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .025;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, summary { font: inherit; }
:focus-visible { outline: 2px solid var(--nerve); outline-offset: 4px; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--nerve);
  color: #080808;
  font: 700 12px "Share Tech Mono", monospace;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(9,9,9,.94);
  backdrop-filter: blur(14px);
}
.brand {
  color: var(--nerve);
  text-decoration: none;
  font: 12px "Share Tech Mono", monospace;
  letter-spacing: .28em;
  white-space: nowrap;
}
.primary-nav { display: flex; align-items: center; gap: 2px; }
.primary-nav > a,
.more-menu > summary {
  display: block;
  padding: 8px 10px;
  color: var(--muted);
  border: 1px solid transparent;
  text-decoration: none;
  font: 11px "Share Tech Mono", monospace;
  letter-spacing: .12em;
  cursor: pointer;
  list-style: none;
}
.more-menu > summary::-webkit-details-marker { display: none; }
.primary-nav > a:hover,
.primary-nav > a.active,
.more-menu > summary:hover,
.more-menu[open] > summary { color: var(--ink); border-color: var(--line); background: var(--panel-hot); }
.more-menu { position: relative; }
.more-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  padding: 8px;
  border: 1px solid var(--signal);
  background: #0b0b0b;
  box-shadow: 12px 12px 0 rgba(196,30,58,.12);
}
.more-panel a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
  font: 12px "Share Tech Mono", monospace;
  letter-spacing: .08em;
}
.more-panel a:hover { background: var(--panel-hot); color: var(--nerve); }
.more-panel small { color: var(--dim); font-size: 9px; }
.language-switch {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  color: var(--dim);
  font: 10px "Share Tech Mono", monospace;
  letter-spacing: .1em;
}
.language-switch button {
  min-width: 32px;
  min-height: 32px;
  padding: 5px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}
.language-switch button:hover { color: var(--ink); border-color: var(--line); }
.language-switch button[aria-pressed="true"] { color: var(--nerve); border-color: var(--line); background: var(--panel-hot); }

.shell { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
.hero {
  min-height: min(660px, calc(100vh - 54px));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
  align-items: end;
  gap: clamp(30px, 7vw, 90px);
  padding: clamp(70px, 12vh, 140px) 0 clamp(58px, 10vh, 100px);
  border-bottom: 1px solid var(--line);
}
.kicker,
.card-label,
.section-heading p,
.dispatch-type {
  margin: 0;
  color: var(--nerve);
  font: 11px "Share Tech Mono", monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px 0 4px;
  max-width: 8ch;
  color: var(--ink);
  font: 800 clamp(64px, 12vw, 150px)/.82 "Inter", sans-serif;
  letter-spacing: -.075em;
}
.host-line { margin: 22px 0 0; color: var(--muted); font: 12px "Share Tech Mono", monospace; letter-spacing: .35em; }
.host-line span { color: var(--nerve); animation: blink 1.1s steps(1) infinite; }
.day-panel { padding: 24px 0 8px 24px; border-left: 2px solid var(--signal); }
.day-panel time { color: var(--ink); font: 700 14px "Share Tech Mono", monospace; letter-spacing: .08em; }
.day-panel > p { margin: 7px 0; color: var(--muted); font-size: 13px; }
.day-panel .day-note { margin-top: 34px; max-width: 28ch; color: var(--dim); }
.connection-line { margin-top: 25px; color: var(--nerve); font: 11px "Share Tech Mono", monospace; letter-spacing: .16em; }
.pulse { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--nerve); box-shadow: 0 0 12px var(--nerve); animation: pulse 2s ease-in-out infinite; }

.daily-checkin {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, auto);
  gap: 10px clamp(24px, 6vw, 78px);
  margin: 18px 0 0;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--signal);
  background: linear-gradient(110deg, rgba(24,11,15,.92), rgba(12,12,12,.86) 58%);
  overflow: hidden;
}
.daily-checkin::after {
  content: "//";
  position: absolute;
  right: -10px;
  bottom: -46px;
  color: rgba(196,30,58,.08);
  font: 800 180px/1 "Inter", sans-serif;
  pointer-events: none;
}
.daily-checkin:focus-within { border-color: var(--nerve); }
.daily-checkin .card-label { grid-column: 1 / -1; position: relative; z-index: 1; }
.daily-checkin h2 {
  position: relative;
  z-index: 1;
  margin: 25px 0 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.05em;
}
.daily-checkin .streak-row,
.daily-checkin .ritual-result { position: relative; z-index: 1; }
.daily-checkin .streak-row { margin: 17px 0 0; }
.daily-checkin .ritual-result { margin: 5px 0 0 !important; }
.checkin-actions {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 3 / 7;
  align-self: end;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.checkin-actions .action { max-width: 100%; }
.daily-checkin .action:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.now-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .72fr); gap: 14px; padding: 72px 0; }

.black-board { position: relative; margin: 2px 0 88px; }
.board-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 19px;
}
.board-heading p { margin: 0; color: var(--signal); font: 10px "Share Tech Mono", monospace; letter-spacing: .18em; }
.board-heading h2 { margin: 5px 0 0; font-size: clamp(30px, 6vw, 62px); line-height: .92; letter-spacing: -.055em; }
.board-heading > span { color: var(--dim); font: 9px "Share Tech Mono", monospace; letter-spacing: .13em; }
.board-surface {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "state state state rules"
    "notes notes notes notes"
    "editor editor editor reset";
  gap: clamp(20px, 4vw, 48px);
  min-height: 560px;
  align-items: start;
  padding: clamp(35px, 7vw, 76px);
  overflow: hidden;
  border: 12px solid #171310;
  outline: 1px solid #392823;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.018) 50%, transparent 50.2%),
    repeating-linear-gradient(91deg, rgba(255,255,255,.011) 0 1px, transparent 1px 13px),
    radial-gradient(circle at 12% 20%, rgba(196,30,58,.065), transparent 20rem),
    #070807;
  box-shadow: inset 0 0 0 2px #020202, inset 0 0 90px #000, 13px 17px 0 rgba(196,30,58,.04);
}
.board-surface::before,
.board-surface::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  border: 1px solid #8f8175;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ddd2c5, #51463e 48%, #090909 52%);
  box-shadow: 0 2px 3px #000;
}
.board-surface::before { top: 13px; left: 13px; }
.board-surface::after { right: 13px; bottom: 13px; }
.board-scratch {
  position: absolute;
  right: -20px;
  bottom: 13px;
  color: rgba(238,231,223,.065);
  font: 700 clamp(30px, 7vw, 82px)/1 "Courier Prime", monospace;
  letter-spacing: -.08em;
  transform: rotate(-4deg);
  white-space: nowrap;
}
.board-paper {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(22px, 4vw, 39px);
  color: #171310;
  background:
    repeating-linear-gradient(0deg, rgba(20,16,13,.035) 0 1px, transparent 1px 23px),
    #d1c8b6;
  box-shadow: 8px 12px 0 rgba(0,0,0,.32);
  clip-path: polygon(0 2%, 6% 0, 13% 2%, 22% 0, 32% 2%, 42% 0, 52% 2%, 64% 0, 76% 2%, 86% 0, 100% 2%, 98% 18%, 100% 34%, 98% 50%, 100% 67%, 98% 83%, 100% 100%, 87% 98%, 75% 100%, 62% 98%, 50% 100%, 37% 98%, 24% 100%, 12% 98%, 0 100%, 2% 82%, 0 66%, 2% 49%, 0 32%);
}
.board-paper small { display: block; margin-bottom: 25px; color: #6c252f; font: 700 9px "Share Tech Mono", monospace; letter-spacing: .16em; }
.board-paper h3 { margin: 0 0 12px; font: 700 clamp(28px, 5vw, 58px)/.9 "Courier Prime", monospace; letter-spacing: -.06em; }
.board-paper p { margin: 0; font: 700 11px/1.65 "Share Tech Mono", monospace; letter-spacing: .06em; }
.board-paper-state { grid-area: state; width: min(100%, 720px); transform: rotate(-1.35deg); }
.board-paper-rules { grid-area: rules; align-self: start; margin-top: 8px; background-color: #b9ae98; transform: rotate(1.8deg); }
.board-paper-reset { grid-area: reset; align-self: end; margin-bottom: 3px; padding: 22px; color: #eee7df; background: #701d2b; transform: rotate(-2.3deg); }
.board-paper-reset small { color: #f0b1bc; }
.board-paper-reset strong { display: block; margin: 14px 0 7px; font: 700 clamp(20px, 3vw, 31px) "Courier Prime", monospace; letter-spacing: -.035em; }
.board-paper-reset p { color: #e7c9c7; font-size: 9px; }
.board-pin {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ff6d87, #8a1128 48%, #28070e 52%);
  box-shadow: 1px 4px 4px rgba(0,0,0,.5);
  transform: translateX(-50%);
}
.board-tape { position: absolute; left: 50%; top: -12px; width: 72px; height: 27px; background: rgba(194,177,141,.72); transform: translateX(-50%) rotate(-4deg); box-shadow: 0 2px 5px rgba(0,0,0,.18); }
.board-notes {
  grid-area: notes;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}
.board-note { min-height: 210px; padding: 28px 25px 25px; }
.board-note[data-paper="0"] { background-color: #d1c8b6; transform: rotate(-1.2deg); }
.board-note[data-paper="1"] { background-color: #bdb49e; transform: rotate(1.45deg); }
.board-note[data-paper="2"] { background-color: #d6cfbf; transform: rotate(-.35deg); }
.board-note[data-paper="3"] { background-color: #c3b7ad; transform: rotate(.8deg); }
.board-note.is-mine { box-shadow: 8px 12px 0 rgba(196,30,58,.4); }
.board-note-head { display: flex; align-items: center; gap: 11px; min-width: 0; margin-bottom: 24px; }
.board-note-knife { width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain; filter: grayscale(1) contrast(1.3) drop-shadow(2px 3px 0 rgba(94,16,29,.22)); transform: rotate(-16deg); }
.board-note-byline { min-width: 0; }
.board-note-handle { display: block; overflow: hidden; text-overflow: ellipsis; color: #6c1827; font: 700 13px "Courier Prime", monospace; white-space: nowrap; }
.board-note-meta { display: block; margin-top: 3px; color: #5d5148; font: 700 8px "Share Tech Mono", monospace; letter-spacing: .12em; }
.board-note-body { margin: 0 !important; overflow-wrap: anywhere; color: #171310; font: 700 14px/1.55 "Courier Prime", monospace !important; letter-spacing: -.01em !important; white-space: pre-wrap; }
.board-note-mark { display: inline-block; margin-top: 22px; padding: 2px 6px; border: 1px solid #6c1827; color: #6c1827; font: 700 8px "Share Tech Mono", monospace; letter-spacing: .12em; transform: rotate(-2deg); }
.board-auth-callout,
.board-editor { grid-area: editor; width: min(100%, 830px); background-color: #c8bfae; transform: rotate(.45deg); }
.board-auth-callout h3,
.board-editor h3 { max-width: 18ch; font-size: clamp(25px, 4vw, 42px); }
.board-auth-callout p { max-width: 55ch; margin-bottom: 21px; }
.board-editor textarea {
  display: block;
  width: 100%;
  min-height: 156px;
  resize: vertical;
  padding: 16px 17px;
  border: 2px solid #342d28;
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(75,55,48,.15) 29px 30px),
    rgba(245,240,228,.72);
  color: #171310;
  font: 700 16px/1.85 "Courier Prime", monospace;
  caret-color: #8a1128;
}
.board-editor textarea::placeholder { color: #6a6058; opacity: .72; }
.board-editor textarea:focus { outline: 3px solid #8a1128; outline-offset: 3px; }
.board-editor-meta { display: flex; justify-content: space-between; gap: 18px; margin-top: 9px; color: #62564d; font: 700 8px "Share Tech Mono", monospace; letter-spacing: .12em; }
.board-form-status { min-height: 1.7em; margin: 14px 0 0 !important; color: #72192a; }
.board-editor-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.board-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 2px solid #2d2723;
  border-radius: 0;
  background: transparent;
  color: #211b18;
  cursor: pointer;
  text-decoration: none;
  font: 700 10px "Share Tech Mono", monospace;
  letter-spacing: .09em;
}
.board-action:hover { background: #211b18; color: #e9e0d0; }
.board-action:disabled { cursor: wait; opacity: .55; }
.board-action-hot { border-color: #72192a; background: #72192a; color: #f2e5dc; }
.board-scrape { border-color: #72192a; color: #72192a; }
.board-note .board-scrape { min-height: 32px; margin-top: 18px; padding: 6px 9px; font-size: 8px; }

.latest-card,
.rabbit-card { border: 1px solid var(--line); background: rgba(16,16,16,.82); }
.latest-card { min-height: 410px; display: flex; flex-direction: column; padding: clamp(28px, 5vw, 58px); position: relative; overflow: hidden; }
.latest-card::after { content: "//"; position: absolute; right: -16px; bottom: -52px; color: rgba(196,30,58,.11); font: 800 220px/1 "Inter", sans-serif; }
.latest-image { position: absolute; inset: 0 0 0 auto; z-index: 0; width: 62%; height: 100%; object-fit: cover; opacity: .27; filter: grayscale(.35) contrast(1.08); -webkit-mask-image: linear-gradient(90deg,transparent,#000 38%); mask-image: linear-gradient(90deg,transparent,#000 38%); }
.latest-card.has-image::after { display: none; }
.card-label { display: flex; gap: 12px; color: var(--muted); }
.card-label .card-number { color: var(--signal); }
.latest-card .card-label,
.latest-card .dispatch-type { position: relative; z-index: 1; }
.latest-card .dispatch-type { margin-top: auto; color: var(--nerve); }
.latest-card h2 { position: relative; z-index: 1; margin: 12px 0; max-width: 12ch; font-size: clamp(34px, 7vw, 76px); line-height: .95; letter-spacing: -.05em; }
.latest-card > p:not(.dispatch-type) { position: relative; z-index: 1; max-width: 54ch; margin: 4px 0 26px; color: var(--muted); }
.latest-meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.latest-meta time { color: var(--dim); font: 11px "Share Tech Mono", monospace; letter-spacing: .12em; }
.broadcast-stack { display: grid; gap: 10px; }
.status-card { display: grid; align-content: center; min-height: 126px; padding: 22px; border: 1px solid #202020; background: var(--panel); text-decoration: none; transition: border-color .2s, transform .2s; }
.status-card:hover { border-color: var(--signal); transform: translateX(4px); }
.status-card .status-name { color: var(--dim); font: 10px "Share Tech Mono", monospace; letter-spacing: .2em; }
.status-card strong { margin: 6px 0 2px; font-size: 24px; letter-spacing: -.02em; }
.status-card small { color: var(--muted); font: 9px "Share Tech Mono", monospace; letter-spacing: .11em; }
.shop-status { border-color: var(--line); background: var(--panel-hot); }
.shop-status strong { color: var(--nerve); }

.action {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border: 1px solid var(--signal);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  font: 11px "Share Tech Mono", monospace;
  letter-spacing: .1em;
}
.action:hover { color: var(--nerve); background: var(--panel-hot); }
.action.primary { background: var(--nerve); color: #080808; border-color: var(--nerve); font-weight: 700; }
.action.primary:hover { background: var(--ink); color: #080808; border-color: var(--ink); }

.doors { padding: 20px 0 82px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(24px, 5vw, 42px); letter-spacing: -.04em; }
.door-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.door { min-height: 165px; display: grid; align-content: end; padding: 22px; border: 1px solid #202020; background: rgba(16,16,16,.72); text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.door:hover { border-color: var(--nerve); background: var(--panel-hot); transform: translateY(-4px); }
.door > span { align-self: start; margin-bottom: 34px; color: var(--nerve); font: 24px "Share Tech Mono", monospace; }
.door strong { font-size: 18px; }
.door small { margin-top: 4px; color: var(--dim); font: 9px "Share Tech Mono", monospace; letter-spacing: .12em; }
.door.hot { border-color: var(--line); background: linear-gradient(145deg,rgba(196,30,58,.13),rgba(16,16,16,.7)); }

.return-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 0 0 82px; }
.rabbit-card { min-height: 360px; padding: clamp(26px, 5vw, 50px); }
.rabbit-card h2 { margin: 48px 0 8px; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.04em; }
.rabbit-card > p:not(.rabbit-symbol) { max-width: 42ch; color: var(--muted); }
.streak-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; max-width: 310px; margin: 30px 0 20px; }
.streak-row span { aspect-ratio: 1; border: 1px solid #2a2a2a; background: #111; }
.streak-row span.checked { border-color: var(--nerve); background: var(--signal); box-shadow: inset 0 0 0 3px #111; }
.ritual-result { margin: 13px 0 0 !important; color: var(--dim) !important; font: 10px "Share Tech Mono", monospace; letter-spacing: .11em; }
.rabbit-card { position: relative; overflow: hidden; }
.rabbit-symbol { position: absolute; right: 24px; top: 2px; margin: 0; color: rgba(196,30,58,.18); font: 180px/1 "Courier Prime", serif; }
.rabbit-card h2,
.rabbit-card > p:not(.rabbit-symbol),
.rabbit-card .action { position: relative; z-index: 1; }

.dispatch-log { padding: 0 0 86px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.split-heading > span { color: var(--dim); font: 10px "Share Tech Mono", monospace; letter-spacing: .12em; }
.dispatch-list { border-top: 1px solid var(--line); }
.dispatch-row { display: grid; grid-template-columns: 90px 100px 1fr auto; gap: 20px; align-items: center; min-height: 74px; padding: 12px 4px; border-bottom: 1px solid #222; text-decoration: none; }
.dispatch-row:hover { color: var(--nerve); background: linear-gradient(90deg,rgba(196,30,58,.07),transparent); }
.dispatch-row time,
.dispatch-row span,
.dispatch-row em { color: var(--dim); font: 10px "Share Tech Mono", monospace; letter-spacing: .12em; font-style: normal; }
.dispatch-row span { color: var(--signal); }
.dispatch-row strong { font-size: 14px; letter-spacing: .02em; }

.outside { padding: 0 0 100px; }
.outside-links { display: flex; flex-wrap: wrap; gap: 8px; }
.outside-links a { padding: 10px 13px; border: 1px solid #272727; color: var(--muted); text-decoration: none; font: 10px "Share Tech Mono", monospace; letter-spacing: .08em; }
.outside-links a:hover { color: var(--ink); border-color: var(--signal); }

footer { padding: 30px 20px 50px; border-top: 1px solid var(--line); color: var(--dim); text-align: center; font: 10px "Share Tech Mono", monospace; letter-spacing: .12em; }
footer a { text-decoration: none; }
footer a:hover { color: var(--nerve); }
footer p { margin-top: 22px; }

@keyframes blink { 0%,48% { opacity: 1; } 49%,100% { opacity: 0; } }
@keyframes pulse { 0%,100% { opacity: .5; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }

@media (max-width: 900px) {
  .topbar { align-items: flex-start; padding: 12px 14px 8px; }
  .brand { padding-top: 7px; }
  .primary-nav { max-width: calc(100vw - 270px); overflow-x: auto; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav > a:nth-of-type(4),
  .primary-nav > a:nth-of-type(5) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 90px; }
  .day-panel { max-width: 440px; }
  .daily-checkin { grid-template-columns: 1fr; }
  .checkin-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 10px; }
  .now-grid { grid-template-columns: 1fr; }
  .broadcast-stack { grid-template-columns: repeat(3,1fr); }
  .status-card { min-height: 118px; }
  .door-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .board-surface {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "state state rules"
      "notes notes notes"
      "editor editor reset";
  }
  .board-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  .topbar { display: block; padding-bottom: 5px; }
  .brand { display: inline-block; padding: 2px 0 8px; }
  .primary-nav { max-width: 100%; }
  .language-switch { position: absolute; top: 7px; right: 12px; }
  .primary-nav > a,
  .more-menu > summary { padding: 7px 9px; font-size: 10px; }
  .more-panel { position: fixed; top: 89px; right: 12px; left: 12px; width: auto; }
  .hero { padding: 64px 0 52px; }
  .hero h1 { font-size: clamp(58px, 21vw, 92px); }
  .host-line { letter-spacing: .18em; }
  .day-panel { padding-left: 17px; }
  .now-grid { padding: 54px 0; }
  .latest-card { min-height: 380px; }
  .latest-image { width: 100%; opacity: .16; -webkit-mask-image: linear-gradient(0deg,#000,transparent 86%); mask-image: linear-gradient(0deg,#000,transparent 86%); }
  .latest-meta { align-items: flex-start; flex-direction: column; }
  .broadcast-stack { grid-template-columns: 1fr; }
  .status-card { min-height: 102px; }
  .board-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .board-surface {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "state" "notes" "editor" "rules" "reset";
    gap: 30px;
    padding: 38px 24px;
    border-width: 8px;
  }
  .board-notes { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .board-paper-rules,
  .board-paper-reset { width: min(92%, 350px); justify-self: end; }
  .board-paper-reset { justify-self: start; }
  .board-editor-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .board-editor-actions { display: grid; }
  .board-editor-actions .board-action { width: 100%; }
  .door-grid,
  .return-grid { grid-template-columns: 1fr; }
  .door { min-height: 140px; }
  .rabbit-card { min-height: 330px; }
  .daily-checkin { padding: 24px 20px; }
  .checkin-actions { display: grid; }
  .checkin-actions .action { width: 100%; }
  .dispatch-row { grid-template-columns: 68px 72px 1fr; gap: 10px; }
  .dispatch-row em { display: none; }
  .split-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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

@media (forced-colors: active) {
  .board-surface,
  .board-paper,
  .board-editor textarea { border: 1px solid CanvasText; background: Canvas; color: CanvasText; box-shadow: none; }
  .board-pin,
  .board-tape,
  .board-scratch { display: none; }
}
