/* Wurst of Seven — shared styles */
:root {
  --navy: #12284b;
  --deep: #092c5c;
  --gold: #ffc52f;
  --sky: #8fbce6;
  --ketchup: #d6402b;
  --mustard: #f2b705;
  --relish: #3f9b4b;
  --cream: #fff7e6;

  --bg: #fff7e6;
  --bg2: #fbe9c6;
  --card: #ffffff;
  --text: #13213b;
  --muted: #4d5a72;
  --line: #e6d3ad;
  --accent: #d6402b;
  --accent-ink: #ffffff;
  --focus: #1f6feb;
  --shadow: 0 2px 0 rgba(18, 40, 75, .12), 0 10px 30px rgba(18, 40, 75, .10);
  --radius: 16px;
  --display: "Alfa Slab One", Georgia, serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a1426;
  --bg2: #0f1d36;
  --card: #13233f;
  --text: #fdf3dd;
  --muted: #b5c1d6;
  --line: #24385c;
  --accent: #ffc52f;
  --accent-ink: #12284b;
  --focus: #8fbce6;
  --shadow: 0 2px 0 rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 10% -10%, rgba(255, 197, 47, .18), transparent 40%),
    radial-gradient(circle at 110% 10%, rgba(143, 188, 230, .22), transparent 45%);
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy);
  color: #fff7e6;
  border-bottom: 4px solid var(--gold);
}
.site-header .bar {
  max-width: 1120px; margin: 0 auto; padding: 8px 14px;
  display: flex; align-items: center; gap: 10px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff7e6; flex-shrink: 0; }
.brand:hover { color: var(--gold); }
.brand img { width: 34px; height: 34px; }
.brand b { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .5px; line-height: 1; }
.brand b span { color: var(--gold); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a {
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .4px; text-transform: uppercase;
  text-decoration: none; color: #dfe7f5; padding: 6px 10px; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { color: var(--gold); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--gold); }
.icon-btn {
  background: transparent; border: 2px solid rgba(255, 255, 255, .25); color: #fff7e6;
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; font-size: 18px; display: grid; place-items: center; flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .menu-btn { display: grid; margin-left: auto; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: var(--navy); padding: 8px 14px 14px; border-bottom: 4px solid var(--gold);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 20px; padding: 10px 12px; }
}

/* ---------- layout ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 18px 14px 40px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 7vw, 60px); letter-spacing: .3px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 4.5vw, 34px); }
h3 { font-family: var(--cond); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 62ch; }
.kicker {
  display: inline-block; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 14px; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px;
}
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--cond); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .6px;
  padding: 11px 18px; border-radius: 12px; min-height: 46px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .25); transition: transform .08s, box-shadow .08s, filter .15s;
}
.btn:hover { filter: brightness(1.07); color: var(--accent-ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.gold { background: var(--gold); color: var(--navy); }
.btn.sky { background: var(--sky); color: var(--deep); }
.btn.navy { background: var(--navy); color: #fff7e6; }
.btn.big { font-size: 24px; padding: 14px 26px; min-height: 58px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip {
  appearance: none; cursor: pointer; border: 2px solid var(--line); background: var(--card); color: var(--text);
  font-family: var(--cond); font-weight: 700; font-size: 17px; padding: 7px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .4px;
}
.chip[aria-pressed="true"], .chip.on { background: var(--navy); color: var(--gold); border-color: var(--navy); }
[data-theme="dark"] .chip[aria-pressed="true"], [data-theme="dark"] .chip.on { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ---------- hero ---------- */
.hero { display: grid; gap: 18px; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 10px 0 18px; }
.hero h1 { margin-bottom: 8px; }
.hero h1 .w { color: var(--ketchup); }
[data-theme="dark"] .hero h1 .w { color: var(--gold); }
.hero-art { position: relative; }
.hero-art canvas { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .2)); }
.versus { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; font-family: var(--cond); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.pill { padding: 4px 12px; border-radius: 999px; }
.pill.mke { background: var(--navy); color: var(--gold); }
.pill.tb { background: var(--sky); color: var(--deep); }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .hero-art { max-width: 420px; margin: 0 auto; order: -1; } }

/* scoreboard strip */
.scoreboard {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #000; border-radius: 12px; overflow: hidden; border: 3px solid #000; margin: 10px 0 0;
}
.scoreboard div { background: #0d1a2e; color: #ffd76a; padding: 8px 6px; text-align: center; font-family: var(--cond); font-weight: 700; }
.scoreboard b { display: block; font-size: 26px; color: #fff; line-height: 1; }
.scoreboard small { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #9fb3d4; }
@media (max-width: 480px) { .scoreboard { grid-template-columns: repeat(2, 1fr); } }

/* ---------- game ---------- */
.game-shell { background: var(--card); border: 3px solid var(--navy); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
[data-theme="dark"] .game-shell { border-color: var(--gold); }
.game-top { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--navy); color: #fff7e6; flex-wrap: wrap; }
.game-top .title { font-family: var(--cond); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .6px; }
.game-top .icon-btn { width: 34px; height: 34px; font-size: 16px; }
.stage { position: relative; background: #0d1a2e; }
.stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; touch-action: none; }
@media (max-width: 600px) { .stage canvas { aspect-ratio: 4 / 3; } }
.overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 14px;
  background: rgba(9, 18, 36, .82); color: #fff7e6; overflow-y: auto;
}
.overlay[hidden] { display: none; }
.panel { width: 100%; max-width: 760px; text-align: center; margin: auto; }
.panel h2 { color: var(--gold); margin-bottom: 6px; }
.panel p { color: #dce5f3; }
.panel .muted { color: #a9b8d0; }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; }
.mode {
  appearance: none; cursor: pointer; text-align: left; border: 2px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  color: #fff7e6; border-radius: 14px; padding: 12px; font-family: var(--body); font-size: 15px; line-height: 1.3;
}
.mode b { display: block; font-family: var(--cond); font-size: 22px; text-transform: uppercase; letter-spacing: .5px; color: var(--gold); }
.mode:hover, .mode:focus-visible { border-color: var(--gold); background: rgba(255, 197, 47, .1); }
.racer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0; }
@media (max-width: 600px) { .racer-grid { grid-template-columns: repeat(5, 1fr); gap: 4px; } }
.racer-btn {
  appearance: none; cursor: pointer; border: 2px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); border-radius: 12px;
  padding: 6px 2px 4px; color: #fff7e6; font-family: var(--cond); font-weight: 700; font-size: 13px; line-height: 1.1; text-transform: uppercase;
}
.racer-btn canvas { width: 100%; max-width: 68px; height: auto; aspect-ratio: 1; display: block; margin: 0 auto; }
.racer-btn[aria-pressed="true"] { border-color: var(--gold); background: rgba(255, 197, 47, .16); }
.racer-btn.p2[aria-pressed="true"] { border-color: var(--sky); background: rgba(143, 188, 230, .18); }
.team-label { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; text-align: left; margin-top: 6px; }
.team-label.mke { color: var(--gold); }
.team-label.tb { color: var(--sky); }
.racer-info { display: grid; grid-template-columns: 90px 1fr; gap: 12px; text-align: left; background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 10px; margin: 8px 0; align-items: center; }
.racer-info canvas { width: 90px; height: 90px; }
.racer-info h3 { margin: 0; color: #fff; }
.racer-info p { margin: 2px 0 6px; font-size: 14px; }
.stats { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; font-family: var(--cond); font-size: 14px; text-transform: uppercase; align-items: center; }
.meter { height: 8px; background: rgba(255, 255, 255, .12); border-radius: 99px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0; }
.opts .chip { background: rgba(255, 255, 255, .06); color: #fff7e6; border-color: rgba(255, 255, 255, .2); }
.opts .chip[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.opt-label { font-family: var(--cond); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; color: #a9b8d0; width: 100%; margin-top: 4px; }
.results-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-family: var(--cond); font-size: 18px; }
.results-table td { padding: 5px 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: left; }
.results-table tr.me td { color: var(--gold); font-weight: 800; }
.results-table td:last-child { text-align: right; }
.series-dots { display: flex; gap: 6px; justify-content: center; margin: 8px 0; flex-wrap: wrap; }
.series-dots span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--cond); font-weight: 800; font-size: 15px; border: 2px solid rgba(255, 255, 255, .3); color: #a9b8d0; }
.series-dots span.mke { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.series-dots span.tb { background: var(--sky); color: var(--deep); border-color: var(--sky); }
.series-dots span.next { border-color: #fff; color: #fff; }

@media (max-width: 899px) {
  .stage .overlay { position: static; background: #0d1a2e; padding: 18px 12px; }
  .stage.menu canvas { display: none; }
}
.stage .overlay kbd { color: #12284b; background: #fff7e6; border-color: #c9b88f; }

/* touch controls */
.controls[hidden] { display: none; }
.controls { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 8px; padding: 10px; background: var(--navy); user-select: none; -webkit-user-select: none; }
.controls.two { grid-template-columns: repeat(4, 1fr); }
.controls button {
  appearance: none; border: 0; border-radius: 14px; min-height: 64px; cursor: pointer; touch-action: none;
  font-family: var(--cond); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .5px;
  background: #fff7e6; color: var(--navy); box-shadow: 0 5px 0 rgba(0, 0, 0, .35);
  -webkit-tap-highlight-color: transparent;
}
.controls button small { display: block; font-size: 11px; opacity: .65; font-weight: 700; }
.controls button.down { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .35); background: var(--gold); }
.controls button.jump { background: var(--sky); color: var(--deep); }
.controls button.boost { background: var(--ketchup); color: #fff; }
.controls button.boost.ready { animation: pulse 0.9s infinite; }
.controls.two button { min-height: 58px; font-size: 15px; }
.controls.two button.p2 { background: #dbe9f8; }
@keyframes pulse { 50% { filter: brightness(1.35); } }
.keys-hint { text-align: center; font-size: 14px; color: var(--muted); padding: 8px 12px; }
kbd { font-family: var(--cond); font-weight: 700; background: var(--bg2); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 0 6px; font-size: 15px; }
.challenge {
  display: flex; gap: 12px; align-items: center; background: var(--gold); color: var(--navy); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; font-weight: 600; flex-wrap: wrap;
}
.challenge > div { flex: 1 1 220px; }
.challenge[hidden] { display: none; }
.challenge b { font-family: var(--cond); font-size: 20px; text-transform: uppercase; }

/* ---------- section blocks ---------- */
.section { margin-top: 34px; }
.feature-card { text-decoration: none; display: block; transition: transform .15s; }
.feature-card:hover { transform: translateY(-3px); color: var(--text); }
.feature-card .em { font-size: 34px; }
.feature-card h3 { margin-top: 6px; }
.fact-strip { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact { border-left: 6px solid var(--gold); background: var(--card); padding: 12px 14px; border-radius: 0 12px 12px 0; box-shadow: var(--shadow); }
.fact b { font-family: var(--cond); font-size: 28px; display: block; line-height: 1.05; }
.lineup { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.lineup .card { padding: 12px; display: flex; gap: 10px; align-items: flex-start; }
.lineup canvas { width: 64px; height: 64px; flex-shrink: 0; }
.lineup h3 { font-size: 18px; margin: 0 0 2px; }
.lineup p { font-size: 14px; margin: 0; color: var(--muted); }

/* ---------- quiz / trivia ---------- */
.quiz-card { max-width: 720px; margin: 0 auto; }
.progress { height: 10px; background: var(--bg2); border-radius: 99px; overflow: hidden; margin: 10px 0 16px; border: 1px solid var(--line); }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ketchup), var(--gold)); transition: width .3s; }
.q-text { font-family: var(--display); font-weight: 400; font-size: clamp(21px, 3.6vw, 28px); line-height: 1.2; margin: 6px 0 16px; }
.answers { display: grid; gap: 10px; }
.answer {
  appearance: none; cursor: pointer; text-align: left; width: 100%; font: inherit; font-weight: 600; font-size: 18px;
  padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: var(--text);
  display: flex; gap: 12px; align-items: center; transition: border-color .15s, transform .1s;
}
.answer:hover:not([disabled]) { border-color: var(--accent); transform: translateX(3px); }
.answer .k { font-family: var(--cond); font-weight: 800; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--bg2); flex-shrink: 0; }
.answer.right { border-color: var(--relish); background: rgba(63, 155, 75, .14); }
.answer.wrong { border-color: var(--ketchup); background: rgba(214, 64, 43, .12); }
.answer[disabled] { cursor: default; }
.explain { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); }
.explain[hidden] { display: none; }
.score-big { font-family: var(--display); font-size: clamp(54px, 12vw, 96px); line-height: 1; color: var(--ketchup); }
[data-theme="dark"] .score-big { color: var(--gold); }

.result-card {
  border-radius: 20px; padding: 22px; color: #fff7e6; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.result-card.mke { background: linear-gradient(160deg, #12284b, #1f3f73); border: 4px solid var(--gold); }
.result-card.tb { background: linear-gradient(160deg, #092c5c, #1b5a9a); border: 4px solid var(--sky); }
.result-card .em { font-size: 64px; line-height: 1; }
.result-card h2 { color: var(--gold); margin: 8px 0; }
.result-card.tb h2 { color: #cfe5fb; }
.result-card .line { font-size: 19px; font-weight: 600; }
.result-card p { color: #e1e9f6; }
.split-bar { display: flex; height: 26px; border-radius: 99px; overflow: hidden; margin: 12px 0; font-family: var(--cond); font-weight: 800; font-size: 15px; }
.split-bar span { display: grid; place-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.split-bar .m { background: var(--gold); color: var(--navy); }
.split-bar .t { background: var(--sky); color: var(--deep); }

/* ---------- drought board ---------- */
.board-controls { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.board { display: grid; gap: 6px; }
.brow {
  display: grid; grid-template-columns: 34px minmax(110px, 200px) 1fr 70px; gap: 8px; align-items: center;
  background: var(--card); border: 2px solid var(--line); border-radius: 12px; padding: 6px 10px;
}
.brow.hot { border-color: var(--gold); background: linear-gradient(90deg, rgba(255, 197, 47, .18), var(--card)); }
.brow .rk { font-family: var(--cond); font-weight: 800; color: var(--muted); text-align: center; }
.brow .nm { font-weight: 700; line-height: 1.15; font-size: 15px; }
.brow .nm small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.brow .val { font-family: var(--cond); font-weight: 800; font-size: 18px; text-align: right; }
.track { position: relative; height: 18px; background: var(--bg2); border-radius: 99px; overflow: hidden; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--ketchup), var(--mustard)); border-radius: 99px; }
.track .dot { position: absolute; top: 3px; width: 4px; height: 12px; background: var(--navy); border-radius: 2px; opacity: .8; }
[data-theme="dark"] .track .dot { background: #fff; }
@media (max-width: 520px) {
  .brow { grid-template-columns: 26px 1fr 58px; }
  .brow .track { grid-column: 1 / -1; }
}
.timeline { position: relative; overflow-x: auto; padding: 8px 0 4px; }
.timeline-inner { position: relative; height: 180px; min-width: 900px; border-bottom: 3px solid var(--text); margin: 0 10px; }
.tl-mark.q { transform: translateX(-100%); align-items: flex-end; }
.timeline-inner { margin-bottom: 26px; }
.tl-year { position: absolute; bottom: -22px; transform: translateX(-50%); font-family: var(--cond); font-weight: 700; color: var(--muted); font-size: 13px; }
.tl-year:first-of-type { transform: none; }
.tl-mark { position: absolute; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.tl-mark i { width: 2px; background: var(--muted); }
.tl-mark span { font-family: var(--cond); font-weight: 700; font-size: 12px; white-space: nowrap; background: var(--card); border: 1px solid var(--line); padding: 1px 5px; border-radius: 6px; }
.tl-mark.q span { background: var(--gold); color: var(--navy); border-color: var(--navy); }
.tl-axis { display: flex; justify-content: space-between; min-width: 900px; margin: 2px 10px 0; font-family: var(--cond); color: var(--muted); font-size: 13px; }

/* ---------- predict ---------- */
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr 120px; background: #fff7e6; color: #12284b; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); border: 3px solid #12284b; max-width: 640px; margin: 0 auto;
}
.ticket .main { padding: 18px; border-right: 3px dashed #12284b; }
.ticket .stub { padding: 14px 10px; background: var(--gold); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-family: var(--cond); font-weight: 800; text-transform: uppercase; }
.ticket.tb .stub { background: var(--sky); }
.ticket h2 { font-size: 28px; margin: 4px 0; color: #12284b; }
.ticket .meta { font-family: var(--cond); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; color: #4d5a72; }
.ticket .big { font-family: var(--display); font-size: 44px; line-height: 1; }
@media (max-width: 480px) { .ticket { grid-template-columns: 1fr 86px; } .ticket .big { font-size: 34px; } .ticket h2 { font-size: 22px; } }
.picker { display: flex; gap: 10px; flex-wrap: wrap; }
.team-pick {
  flex: 1 1 200px; appearance: none; cursor: pointer; border-radius: 16px; padding: 16px; font: inherit; text-align: left; border: 3px solid transparent;
  box-shadow: var(--shadow);
}
.team-pick.mke { background: #12284b; color: #ffc52f; }
.team-pick.tb { background: #8fbce6; color: #092c5c; }
.team-pick[aria-pressed="true"] { border-color: var(--ketchup); outline: 3px solid var(--ketchup); outline-offset: 2px; }
.team-pick b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; }
select, input[type="text"], input[type="number"] {
  font: inherit; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--card); color: var(--text); min-height: 46px; max-width: 100%;
}
label.lbl { display: block; font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .6px; margin: 16px 0 6px; }

/* ---------- footer ---------- */
.site-footer { border-top: 4px solid var(--gold); background: var(--navy); color: #c9d5ea; padding: 22px 14px; margin-top: 40px; font-size: 14px; }
.site-footer .in { max-width: 1120px; margin: 0 auto; display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; }
.site-footer a { color: #fff7e6; }
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(150%); background: var(--navy); color: #fff7e6;
  padding: 10px 16px; border-radius: 12px; border: 2px solid var(--gold); z-index: 200; transition: transform .25s; font-weight: 600; max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }

.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.sources a { word-break: break-word; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
