:root {
  --bg: #121212;
  --surface: #1c1c1f;
  --line: #34343a;
  --text: #f5f5f3;
  --soft: #d9d8d3;
  --muted: #b3b1ab;
  --coral: #ff7a4d;
  --amber: #ffb648;
  --amber-soft: #ffc46b;
  --indigo: #17193a;
  --tile: #23255a;
  --rail: #2a2c5c;
  --on-indigo: #c3c3d6;
  --btn: #6b6a66;
  --font: "Archivo", system-ui, sans-serif;
  --radius: 8px;
  --pad: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--text); text-underline-offset: 3px; transition: color 150ms; }
a:hover { color: var(--coral); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
svg { display: block; width: 100%; height: auto; }
.shell { max-width: 1120px; margin-inline: auto; padding-inline: var(--pad); }
.hot { color: var(--coral); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--bg); padding: 8px 16px; z-index: 5; }
.skip-link:focus { left: 8px; }
.tag { display: inline-block; background: var(--coral); color: var(--bg); font-weight: 600; padding: 2px 10px; border-radius: 4px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 14px; color: var(--muted); }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-row { display: flex; flex-wrap: wrap; gap: 0 32px; align-items: center; justify-content: space-between; padding-block: 8px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-stretch: 75%; font-weight: 900; font-size: 28px; line-height: 1; text-decoration: none; }
.masthead-nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-weight: 500; }
.masthead-nav a { text-decoration: none; padding-block: 10px; }

.status-line { display: flex; flex-wrap: wrap; gap: 8px 48px; align-items: center; justify-content: space-between; padding-top: 32px; }
.status-line h1 { font-stretch: 75%; font-weight: 900; font-size: 48px; line-height: 1.05; }
.answer { white-space: nowrap; }
.status-line p { max-width: 440px; color: var(--muted); }

.front { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-block: 24px 48px; }
.lead { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.monitor-screen { background: #0a0a0d; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 10px; }
.monitor-screen svg { border-radius: 4px; }
.monitor-stand path { fill: #26262b; }
.lead-title { font-stretch: 75%; font-weight: 900; font-size: 48px; line-height: 1.05; }
.lead-title a { text-decoration: none; }
.lead-text { font-size: 18px; max-width: 60ch; color: var(--soft); }
.feed { flex: 2 1 320px; min-width: 0; }
.feed-title { font-stretch: 75%; font-weight: 700; font-size: 28px; line-height: 1.2; margin-bottom: 8px; }
.feed-item { display: flex; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); text-decoration: none; align-items: flex-start; }
.thumb { flex: 0 0 88px; height: 64px; border-radius: var(--radius); background: var(--tile); overflow: hidden; }
.ln { fill: none; stroke-width: 3; }
.thick { stroke-width: 5; }
.amber { stroke: var(--amber); }
.coral { stroke: var(--coral); }
.feed-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.feed-meta { font-size: 14px; color: var(--muted); }
.feed-name { font-weight: 600; line-height: 1.35; }

.reports { background: var(--indigo); padding-block: 48px; }
.section-head { display: flex; flex-wrap: wrap; gap: 8px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
.section-head h2, .vote h2, .start h2 { font-stretch: 75%; font-weight: 900; font-size: 36px; }
.section-head p, .track-name span, .track-axis, .track-note { color: var(--on-indigo); }
.section-head p { max-width: 46ch; }
.tracks { display: grid; gap: 12px; }
.track, .track-axis { display: grid; grid-template-columns: 320px 1fr; gap: 4px 24px; align-items: center; }
.track-name { line-height: 1.35; display: flex; flex-direction: column; }
.track-name strong { font-weight: 600; }
.track-name span { font-size: 14px; }
.track-bar { position: relative; height: 28px; background: var(--rail); border-radius: 4px; }
.track-bar i { position: absolute; top: 4px; height: 20px; border-radius: 2px; min-width: 6px; }
.track-bar .claim { background: var(--coral); }
.track-bar .past { background: var(--amber-soft); }
.track-axis { font-size: 14px; margin: 8px 0 16px; }
.axis-marks { grid-column: 2; display: flex; justify-content: space-between; }
.track-note { max-width: 70ch; }
.track-note a { color: var(--amber); }

.vote { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-block: 48px; }
.vote-text { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.vote-text p { color: var(--muted); max-width: 40ch; }
.vote-box { flex: 2 1 420px; display: grid; gap: 16px; align-content: start; }
.vote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.vote-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 4px 12px; border-radius: var(--radius); border: 2px solid var(--btn); background: transparent; color: var(--text); font: 600 16px/1.2 var(--font); cursor: pointer; transition: background-color 150ms, border-color 150ms; }
.vote-btn:hover { border-color: var(--coral); }
.vote-btn em { font-style: normal; font-size: 14px; font-weight: 400; }
.vote-btn em:empty { display: none; }
.vote-btn[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--bg); }
.vote-btn:disabled { cursor: default; opacity: 1; }
.vote-msg { min-height: 26px; font-weight: 500; }

.start { border-top: 1px solid var(--line); }
.start-row { display: flex; flex-wrap: wrap; gap: 32px 64px; padding-block: 48px 64px; }
.start-row h2 { flex: 1 1 280px; }
.start-list { flex: 2 1 420px; }
.start-list a { display: flex; flex-direction: column; padding-block: 16px; border-top: 1px solid var(--line); text-decoration: none; }
.start-list strong { font-weight: 600; font-size: 22px; line-height: 1.3; }
.start-list span { color: var(--muted); }

.banner { line-height: 0; }
.banner svg { height: clamp(150px, 24vw, 320px); }
.page-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-block: 32px 64px; }
.prose { flex: 3 1 480px; max-width: 720px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.65; }
.prose h1 { font-stretch: 75%; font-weight: 900; font-size: 48px; line-height: 1.05; }
.prose h2 { font-stretch: 75%; font-weight: 900; font-size: 28px; line-height: 1.2; margin-top: 16px; }
.prose h3 { font-size: 18px; font-weight: 600; margin-top: 8px; }
.prose ul, .prose ol { padding-left: 22px; list-style: revert; display: grid; gap: 8px; margin: 0; }
.prose a { color: var(--amber); }
.prose a:hover { color: var(--coral); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--line); min-width: 120px; }
.prose th { font-weight: 600; color: var(--muted); }
.standfirst { font-size: 22px; line-height: 1.45; font-weight: 500; }
.share { margin-top: 16px; }
.btn-line { min-height: 44px; padding: 0 20px; border-radius: var(--radius); border: 2px solid var(--btn); background: transparent; color: var(--text); font: 600 16px/1 var(--font); cursor: pointer; }
.btn-line:hover { border-color: var(--coral); color: var(--coral); }
.side { flex: 1 1 260px; min-width: 0; display: grid; gap: 12px; align-content: start; }
.side-card { background: var(--indigo); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.side-card strong { font-stretch: 75%; font-weight: 900; font-size: 36px; line-height: 1; }
.side-card span { color: var(--on-indigo); }
.side h2 { font-stretch: 75%; font-weight: 700; font-size: 22px; margin-top: 12px; }
.source-list { display: grid; gap: 10px; }
.source-list a { color: var(--amber); }
.lost { padding-block: 96px; display: grid; gap: 16px; }
.lost h1 { font-stretch: 75%; font-weight: 900; font-size: 48px; }

.site-foot { background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 48px; justify-content: space-between; padding-block: 24px; }
.foot-row p { max-width: 62ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-links a { padding-block: 10px; }

@media (max-width: 640px) {
  :root { --pad: 16px; }
  .status-line { padding-top: 20px; }
  .status-line h1 { font-size: 36px; }
  .front { padding-block: 16px 32px; }
  .lead, .feed { flex-basis: 100%; }
  .lead-title { font-size: 32px; }
  .monitor-screen { padding: 8px; }
  .monitor-stand { display: none; }
  .section-head h2, .vote h2, .start h2 { font-size: 32px; }
  .thumb { flex-basis: 82px; height: 60px; }
  .reports, .vote { padding-block: 32px; }
  .start-row { padding-block: 32px 48px; gap: 16px; }
  .start-row h2, .start-list, .vote-box, .vote-text { flex-basis: 100%; }
  .track, .track-axis { grid-template-columns: 1fr; }
  .axis-marks { grid-column: 1; }
  .vote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose h1, .lost h1 { font-size: 36px; }
  .prose, .side { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
