/* Cubane Explorer: brand tokens follow the "UI wireframe to final design" sheet.
   Four flat colours, two gradients, hairlines instead of shadows.
   app.js re-renders #main on every route, so page modes are picked with :has():
     overview  = #main holds .stats
     compact   = #main holds an h1 but no .stats (tick, tx, address, error pages)
     loading   = neither; shows the full hero like the overview. */
@font-face { font-family: "Gontserrat"; src: url("assets/Gontserrat-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gontserrat"; src: url("assets/Gontserrat-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --teal: #1B998F; --teal-dark: #104943; --white: #fff; --near-black: #070707; --grey: #77787B;
  --teal-press: #157F77; --teal-hover: #22A99E;
  --teal-08: rgba(27,153,143,.08); --teal-16: rgba(27,153,143,.16); --teal-35: rgba(27,153,143,.35); --teal-45: rgba(27,153,143,.45);
  --line: rgba(119,120,123,.24); --line-soft: rgba(119,120,123,.12); --line-card: rgba(119,120,123,.18);
  --ink-2: #3c3c3f;
  --panel-soft: linear-gradient(165deg, #f3f8f6 0%, #bad4cd 100%);
  --panel-sage: #c2d4cf;
  --text-fade: linear-gradient(90deg, #104943 0%, #3d7a72 38%, #a9cbc5 75%, #cfe3df 100%);
  --grid-line: rgba(119,120,123,.14);
  --bg-grid: linear-gradient(to right, var(--grid-line) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  --pill-shadow: 0 2px 6px rgba(7,7,7,.10), 0 12px 28px rgba(16,73,67,.10);
  --shadow-card: 0 1px 2px rgba(7,7,7,.05);
  --font-core: "Gontserrat", "Montserrat", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --warn: #8a6100; --warnbg: #fdf1d6; --err: #b3261e; --errbg: #fbe4e2;
  --wrap: 1320px; --pad: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #fff; color: var(--near-black);
  font: 400 15px/1.6 var(--font-core); position: relative; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(27,153,143,.35); border-radius: 6px; }
p { margin: 8px 0; }
.mono { font-family: var(--font-mono); font-size: .92em; }
.muted { color: var(--grey); }
.small { font-size: 13px; }
.err { color: var(--err); }

/* ── header ─────────────────────────────────────────────────────────── */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line-soft); }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 28px; filter: brightness(0); display: block; }
.brand-sub { font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark);
  border-left: 1px solid rgba(119,120,123,.3); padding-left: 14px; }
.net-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dark); border: 1px solid rgba(27,153,143,.45); border-radius: 999px; padding: 7px 12px; white-space: nowrap; }
.net-pill::before { content: ""; width: 7px; height: 7px; background: var(--teal); flex: none; }
.net-pill.off { color: var(--warn); border-color: rgba(138,97,0,.4); background: var(--warnbg); }
.net-pill.off::before { background: var(--warn); }
header nav { display: flex; gap: 22px; margin-right: auto; }
header nav a { font-weight: 700; font-size: 14px; line-height: 1; padding: 8px 0; color: var(--near-black); border-bottom: 2px solid transparent; }
header nav a:hover { color: var(--teal); }
body:has(#main > .stats) header nav a { color: var(--teal-dark); border-bottom-color: var(--teal); }

/* ── hero (overview) ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background-image: var(--bg-grid); background-size: 56px 56px; border-bottom: 1px solid var(--line-soft); }
.hero::after { content: ""; position: absolute; right: -4%; top: -14%; width: 44%; max-width: 620px; aspect-ratio: 1; pointer-events: none;
  background: url("assets/hero-cube.png") no-repeat center / contain; opacity: .85; }
.hero-in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 72px var(--pad) 56px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 700 12px/1 var(--font-core); letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); }
.eyebrow .accent { color: var(--teal); }
.hero-title { max-width: 17ch; margin: 0; font: 700 clamp(38px, 5vw, 72px)/1.04 var(--font-core); text-transform: uppercase; letter-spacing: -.01em;
  background: var(--text-fade); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.hero-lede { max-width: 56ch; margin: 26px 0 0; font-size: 18px; line-height: 1.6; color: var(--near-black); text-wrap: pretty; }

#search { display: flex; align-items: center; gap: 12px; max-width: 760px; margin-top: 36px; background: #fff;
  border: 1px solid rgba(119,120,123,.3); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: var(--pill-shadow); }
#search:focus-within { border-color: var(--teal); }
#search .ico { flex: none; }
#q { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px/1 var(--font-core); color: var(--near-black); padding: 10px 0; }
#q::placeholder { color: var(--grey); }
.go { flex: none; cursor: pointer; border: 0; background: var(--teal-dark); color: #fff; font: 700 14px/1 var(--font-core); padding: 14px 24px; border-radius: 999px;
  transition: background 120ms; }
.go:hover { background: var(--teal-press); }
.hints { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0 0; font-size: 13px; color: var(--grey); }
.chip { font: 13px/1 var(--font-mono); color: var(--teal-dark); background: #fff; border: 1px solid rgba(119,120,123,.24); border-radius: 999px; padding: 8px 13px; }

/* compact pages: hero collapses, the search docks into the header bar */
body:has(#main > h1):not(:has(#main > .stats)) .hero { background: none; border: 0; overflow: visible; }
body:has(#main > h1):not(:has(#main > .stats)) .hero::after,
body:has(#main > h1):not(:has(#main > .stats)) .hero :is(.eyebrow, .hero-title, .hero-lede, .hints) { display: none; }
body:has(#main > h1):not(:has(#main > .stats)) .hero-in { position: static; padding: 0; }
body:has(#main > h1):not(:has(#main > .stats)) #search { position: fixed; z-index: 40; top: 13px; right: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  width: 360px; margin: 0; padding: 4px 4px 4px 16px; gap: 10px; box-shadow: none; }
body:has(#main > h1):not(:has(#main > .stats)) #q { font-size: 14px; padding: 8px 0; }
body:has(#main > h1):not(:has(#main > .stats)) .go { padding: 10px 18px; font-size: 13px; }
/* and a lighter grid band sits behind the page title */
body::before, body::after { content: none; }
body:has(#main > h1):not(:has(#main > .stats))::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; z-index: 0; pointer-events: none;
  background: var(--bg-grid); background-size: 56px 56px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
body:has(#main > h1):not(:has(#main > .stats))::after { content: ""; position: absolute; top: 40px; right: -4%; width: 34%; max-width: 460px; aspect-ratio: 1; z-index: 0; pointer-events: none;
  background: url("assets/hero-cube.png") no-repeat right top / contain; opacity: .45; }

/* ── page ───────────────────────────────────────────────────────────── */
main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 44px var(--pad) 0; }
h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0 0 26px; font: 700 clamp(28px, 3vw, 40px)/1.1 var(--font-core);
  text-transform: uppercase; letter-spacing: -.01em; color: var(--teal-dark); }
h1::before { content: ""; flex: none; width: 26px; height: 2px; background: var(--teal); }
h1 .st { font-size: 11px; }
h2 { margin: 40px 0 14px; font: 700 12px/1 var(--font-core); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
h2::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--teal); vertical-align: middle; margin-right: 10px; }
td a.mono, dd a.mono { color: var(--teal-dark); }

/* cards */
.card { background: #fff; border: 1px solid var(--line-card); border-radius: 14px; box-shadow: var(--shadow-card); padding: 20px 22px; margin-bottom: 20px; overflow-x: auto; }
.card > p:first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); }
.card p.muted { color: var(--grey); }
.card:has(> table:only-child) { padding: 4px 0 0; }

/* ── overview layout ────────────────────────────────────────────────── */
#main:has(> .stats) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); column-gap: 20px; align-items: start; padding-top: 40px; }
#main:has(> .stats) > .stats { grid-column: 1 / -1; grid-row: 1; }
#main:has(> .stats) > h1 { grid-column: 1 / -1; grid-row: 2; }
#main:has(> .stats) > .card:has(.timeline) { grid-column: 1 / -1; grid-row: 3; }
#main:has(> .stats) > .card:has(> table) { grid-column: 1; grid-row: 4; }
#main:has(> .stats) > h2 { grid-column: 2; grid-row: 4; }
#main:has(> .stats) > .card:has(> dl) { grid-column: 2; grid-row: 4; }
#main:has(> .stats):not(:has(> h2)) > .card:has(> table) { grid-column: 1 / -1; }

/* stats: soft sage tiles */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 8px; }
.stat { background: var(--panel-soft); border-radius: 14px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.stat > span { font-weight: 700; font-size: 11.5px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.stat b { font: 700 26px/1.1 var(--font-core); color: var(--teal-dark); font-variant-numeric: tabular-nums; }

/* the overview's h1 becomes the "tick stream" section label */
#main:has(> .stats) > h1 { margin: 40px 0 16px; font: 700 12px/1 var(--font-core); letter-spacing: .16em; color: var(--grey); gap: 12px; }
#main:has(> .stats) > h1::after { content: "One tile per tick, newest first. A tile fills in once FFG finalises its tick; open any tile to see the cube that decided it.";
  flex-basis: 100%; margin-top: 4px; font: 400 14px/1.5 var(--font-core); letter-spacing: 0; text-transform: none; color: var(--ink-2); }

/* latest ticks */
#main:has(> .stats) > .card:has(> table)::before { content: "Latest ticks"; display: block; padding: 18px 22px 4px; font: 700 17px/1 var(--font-core); color: var(--near-black); }
#main:has(> .stats) > .card:has(> table) :is(th, td) { padding-left: 10px; padding-right: 10px; }
#main:has(> .stats) > .card:has(> table) :is(th, td):first-child { padding-left: 20px; }
#main:has(> .stats) > .card:has(> table) :is(th, td):last-child { padding-right: 20px; text-align: right; }
#main:has(> .stats) > .card td:first-child a { display: inline-flex; align-items: center; gap: 12px; }
/* 3×3 cube glyph per row, filled by the row's status */
#main:has(> .stats) > .card td:first-child a::before { content: ""; flex: none; box-sizing: border-box; width: 34px; height: 34px; padding: 4px;
  border: 1px solid rgba(119,120,123,.2); border-radius: 4px; --g: rgba(119,120,123,.14); background:
    linear-gradient(90deg, transparent 0 6px, #fff 6px 9px, transparent 9px 15px, #fff 15px 18px, transparent 18px) content-box,
    linear-gradient(0deg, transparent 0 6px, #fff 6px 9px, transparent 9px 15px, #fff 15px 18px, transparent 18px) content-box,
    var(--g) content-box; }
#main:has(> .stats) > .card tr:has(.st-final) td:first-child a::before { --g: var(--teal); }
#main:has(> .stats) > .card tr:has(.st-executed) td:first-child a::before { --g: var(--teal-45); }

/* next tick's cube: the dark panel */
#main:has(> .stats) > h2 { position: relative; z-index: 2; margin: 0; padding: 24px 24px 0; color: #fff; font-size: 17px; letter-spacing: 0; text-transform: none; }
#main:has(> .stats) > h2::before { display: none; }
#main:has(> .stats) > .card:has(> dl) { background: var(--teal-dark); color: #fff; border: 0; box-shadow: none; padding: 60px 24px 22px; }
#main:has(> .stats) > .card:has(> dl) dl { grid-template-columns: 1fr; }
#main:has(> .stats) > .card:has(> dl) dt { color: rgba(255,255,255,.62); border-top-color: rgba(255,255,255,.14); padding-bottom: 0; }
#main:has(> .stats) > .card:has(> dl) dt:first-of-type { border-top: 0; }
#main:has(> .stats) > .card:has(> dl) dd { color: #fff; border-top: 0; padding-top: 2px; padding-bottom: 12px; }
#main:has(> .stats) > .card:has(> dl) .muted { color: rgba(255,255,255,.7); }

/* ── tables ─────────────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 13px 22px; border-top: 1px solid var(--line-soft); white-space: nowrap; vertical-align: middle; }
thead th { border-top: 0; padding-top: 16px; padding-bottom: 12px; font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
tbody tr:hover { background: var(--teal-08); }
td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
td > a:not(.mono) { font-weight: 700; color: var(--teal-dark); font-size: 15px; }

/* ── definition lists ───────────────────────────────────────────────── */
dl { display: grid; grid-template-columns: minmax(130px, max-content) 1fr; gap: 0 28px; margin: 0; }
dt, dd { padding: 11px 0; border-top: 1px solid var(--line-soft); margin: 0; }
dt:first-of-type, dt:first-of-type + dd { border-top: 0; }
dt { font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); line-height: 1.9; }
dd { overflow-wrap: anywhere; color: var(--near-black); }

/* ── status pills and tags: pills with a square dot ─────────────────── */
.st, .tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 11px; line-height: 1; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--grey); background: #fff; color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.st::before { content: ""; width: 6px; height: 6px; background: var(--grey); flex: none; }
.st-final { background: rgba(27,153,143,.10); color: var(--teal-dark); border-color: var(--teal-35); }
.st-final::before { background: var(--teal); }
.st-executed { background: #fff; color: var(--teal-dark); border-color: var(--teal); }
.st-executed::before { background: var(--teal); }
.st-pending { background: #fff; color: var(--ink-2); border-color: var(--grey); }
.st-failed { background: var(--errbg); color: var(--err); border-color: rgba(179,38,30,.4); }
.st-failed::before { background: var(--err); }
.tag { padding: 5px 9px; letter-spacing: .06em; border-color: rgba(16,73,67,.35); color: var(--teal-dark); background: #fff; }
.tag.ok { background: var(--teal-08); border-color: var(--teal-35); }
.tag.warn { background: var(--warnbg); color: var(--warn); border-color: rgba(138,97,0,.35); }
.tag.bad { background: var(--errbg); color: var(--err); border-color: rgba(179,38,30,.4); }
.tag.dim { color: var(--grey); border-color: var(--line); }

/* ── tick stream ────────────────────────────────────────────────────── */
#main > .card:has(.timeline) { background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; display: flex; flex-direction: column; }
/* app.js lists the last 40 ticks oldest first; one strip of the newest, read newest first (row-reverse) */
.timeline { display: flex; flex-direction: row-reverse; gap: 10px; }
.timeline .tl:nth-last-child(n+13) { display: none; }
.timeline .tl { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line-card);
  border-radius: 8px; font-size: 0; color: var(--ink-2); text-decoration: none; transition: border-color 200ms; }
.timeline .tl:hover { border-color: var(--teal); }
.timeline .tl::before { content: ""; width: 44px; height: 44px; --g: var(--teal-45); background:
    linear-gradient(90deg, transparent 0 12px, #fff 12px 16px, transparent 16px 28px, #fff 28px 32px, transparent 32px),
    linear-gradient(0deg, transparent 0 12px, #fff 12px 16px, transparent 16px 28px, #fff 28px 32px, transparent 32px),
    var(--g); }
.timeline .tl-final::before { --g: var(--teal); }
.timeline .tl::after { content: attr(title); font: 400 11.5px/1.4 var(--font-core); color: var(--ink-2); }
.timeline .tl-tx { border-color: var(--teal-35); }
.timeline .tl-redraw { border: 1.5px solid var(--warn); background: #fffaf0; }
.legend { order: -1; align-self: flex-end; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.legend .tl { display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; font-size: 8px; font-weight: 700; color: #fff;
  border: 1.5px solid var(--teal); margin-right: 2px; }
.legend .tl:not(:first-child) { margin-left: 14px; }
.legend .tl-final { background: var(--teal); }
.legend .tl-decided { background: var(--teal-45); }
.legend .tl-redraw { background: #fffaf0; border-color: var(--warn); }
.legend .tl-tx { width: 16px; height: 16px; background: #fff; color: var(--teal-dark); border-color: var(--teal-35); }

/* ── the cube ───────────────────────────────────────────────────────── */
.seats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0 20px; }
.seat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.seat b { overflow-wrap: anywhere; color: var(--teal-dark); }
.seat .tag { align-self: flex-start; margin-top: 4px; }
.seat .role { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--grey); }
.seat.ldn { border-style: dashed; border-color: var(--teal-dark); background: var(--teal-08); }
.seat.mn .role { color: var(--teal-dark); }
.seat.in .role { color: var(--teal); }
.meter { margin: 4px 0 18px; }
.slots { display: flex; gap: 6px; flex-wrap: wrap; }
.slot { flex: 1 1 0; min-width: 40px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 10px 0; background: #fff; color: var(--grey); border: 1.5px solid var(--line); }
.slot.on.mn { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }
.slot.on.in { background: var(--teal); color: #fff; border-color: var(--teal); }
.slot.ldn { border-style: dashed; border-color: var(--teal-dark); color: var(--teal-dark); flex: 0 0 auto; padding: 10px 14px; }
.meter-text { margin: 14px 0 4px; }

/* ── sealed → decided → public ──────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0 0 16px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-left-width: 0; background: #fff; font-size: 13px; color: var(--ink-2); }
.steps li:first-child { border-left-width: 1px; border-radius: 8px 0 0 8px; }
.steps li:last-child { border-radius: 0 8px 8px 0; background: var(--teal-dark); color: rgba(255,255,255,.86); border-color: var(--teal-dark); }
.steps li:last-child b { color: #fff; }
.steps li b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); }
.steps li b::before { counter-increment: step; content: "0" counter(step) "  "; color: var(--teal); }
.steps li:last-child b::before { color: #7fe0d6; }

.pager { display: flex; justify-content: space-between; margin: 4px 0 0; }
.pager a { font-weight: 700; font-size: 13px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(119,120,123,.3); background: #fff; color: var(--near-black); }
.pager a:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ── footer ─────────────────────────────────────────────────────────── */
footer.site { margin-top: 64px; border-top: 1px solid var(--line-soft); background-image: var(--bg-grid); background-size: 56px 56px; }
footer.site .bar { padding: 36px var(--pad) 40px; align-items: flex-start; justify-content: space-between; gap: 20px 40px; }
.foot-brand { max-width: 62ch; }
.foot-brand img { height: 22px; filter: brightness(0); display: block; margin-bottom: 12px; }
.foot-brand p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.foot-brand .mono { color: var(--teal-dark); overflow-wrap: anywhere; }
footer nav { display: flex; gap: 24px; }
footer nav a { font-weight: 700; font-size: 13px; color: var(--near-black); }
footer nav a:hover { color: var(--teal); }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  #main:has(> .stats) { grid-template-columns: minmax(0, 1fr); }
  #main:has(> .stats) > :is(.card, h2) { grid-column: 1 !important; grid-row: auto !important; }
  #main:has(> .stats) > h2 { margin-top: 0; }
  .timeline .tl:nth-last-child(n+9) { display: none; }
  /* the docked search drops into its own band under the header */
  body:has(#main > h1):not(:has(#main > .stats)) .hero-in { position: relative; z-index: 2; padding: 16px var(--pad) 0; }
  body:has(#main > h1):not(:has(#main > .stats)) #search { position: static; width: auto; max-width: 560px; }
}
@media (max-width: 900px) {
  .hero::after { opacity: .3; width: 70%; top: -6%; }
  body:has(#main > h1):not(:has(#main > .stats))::after { opacity: .2; width: 60%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { border-left-width: 1px; border-radius: 0 !important; }
}
@media (max-width: 600px) {
  :root { --pad: 16px; }
  .bar { gap: 12px 16px; min-height: 0; }
  header nav { display: none; }
  .hero-in { padding: 44px var(--pad) 36px; }
  .hero-lede { font-size: 16px; }
  #search { padding: 6px 6px 6px 16px; }
  #search .ico { display: none; }
  .go { padding: 12px 16px; }
  main { padding-top: 28px; }
  th.opt, td.opt, span.opt { display: none; }
  th, td { padding: 11px 14px; }
  .card { padding: 16px; }
  .timeline .tl:nth-last-child(n+5) { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px; }
  .stat b { font-size: 21px; }
  .seats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 0; }
  dd { border-top: 0; padding-top: 2px; padding-bottom: 12px; }
  dt:first-of-type + dd { padding-top: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
