:root {
  --ink: #101d16;
  --ink-2: #1b2d23;
  --paper: #f4f0e6;
  --lime: #c9ff35;
  --orange: #ff5b24;
  --cream: #ffe4ac;
  --muted: #6e776f;
  --line: rgba(16, 29, 22, .18);
  --display: "Archivo Black", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); min-height: 100vh; overflow-x: hidden; }
button, input { font: inherit; }
button { color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.topbar { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 76px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(244,240,230,.94); backdrop-filter: blur(14px); }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 17px; letter-spacing: -.6px; }
.brand i { color: var(--orange); font-style: normal; }
.brand-ball { width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 10px; transform: rotate(12deg); }
nav { display: flex; gap: 30px; }
.nav-link, .sound-toggle { border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 13px; }
.nav-link { opacity: .5; position: relative; padding: 28px 0; }
.nav-link.is-active { opacity: 1; }
.nav-link.is-active::after { content:""; height: 4px; background: var(--orange); position: absolute; left: 0; right: 0; bottom: 0; }
.sound-toggle { width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; }
.view { display: none; }
.view.is-active { display: block; animation: enter .35s ease both; }
@keyframes enter { from { opacity:0; transform:translateY(8px); } }
.hero { min-height: 590px; padding: 58px clamp(20px, 8vw, 126px) 52px; display:grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 8vw, 130px); align-items:center; position:relative; overflow:hidden; }
.hero::before { content:""; width:500px; height:500px; border:1px solid rgba(16,29,22,.08); border-radius:50%; position:absolute; right:-150px; top:-180px; box-shadow: 0 0 0 48px rgba(16,29,22,.025), 0 0 0 96px rgba(16,29,22,.02); pointer-events:none; }
.eyebrow { font-weight:700; letter-spacing:1.5px; text-transform:uppercase; font-size:12px; display:flex; align-items:center; gap:10px; }
.eyebrow span { width:28px; height:3px; background:var(--orange); display:inline-block; }
h1, h2, .card-copy b { font-family:var(--display); margin:0; text-transform:uppercase; line-height:.9; letter-spacing:-2.5px; }
.hero h1 { font-size:clamp(58px,8.6vw,126px); margin:25px 0 28px; }
h1 em { font-style:normal; color:var(--orange); -webkit-text-stroke: 1px var(--ink); text-shadow: 3px 3px 0 var(--ink); }
.hero-intro { max-width:560px; font-size:19px; line-height:1.55; margin-bottom:32px; color:#39483f; }
.primary-btn, .secondary-btn { cursor:pointer; border:2px solid var(--ink); font-family:var(--display); letter-spacing:.4px; }
.primary-btn { background:var(--lime); padding:17px 22px 17px 26px; box-shadow:5px 5px 0 var(--ink); }
.primary-btn:hover { transform:translate(2px,2px); box-shadow:3px 3px 0 var(--ink); }
.primary-btn span { margin-left:35px; font-size:20px; }
.scoreboard-card { background:var(--ink); color:var(--paper); padding:22px; min-height:390px; transform:rotate(1.5deg); box-shadow:12px 12px 0 var(--orange); position:relative; }
.scoreboard-top { display:flex; justify-content:space-between; font-family:var(--display); color:var(--lime); font-size:12px; letter-spacing:1px; border-bottom:1px solid rgba(255,255,255,.2); padding-bottom:14px; }
.scoreline { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; text-align:center; margin:35px 0 20px; }
.scoreline strong { font-family:var(--display); font-size:46px; display:block; }
.scoreline span { font-size:10px; letter-spacing:1.5px; opacity:.6; }
.scoreline b { font-size:30px; color:var(--orange); }
.stadium-lines { height:82px; border:1px solid rgba(255,255,255,.2); border-radius:50% 50% 0 0; position:relative; overflow:hidden; margin-bottom:25px; }
.stadium-lines::before { content:""; position:absolute; left:50%; height:100%; border-left:1px solid rgba(255,255,255,.2); }
.stadium-lines i { display:block; height:1px; background:rgba(255,255,255,.15); margin-top:20px; }
.scoreboard-card > p { font-family:var(--display); font-size:11px; letter-spacing:1px; color:var(--lime); }
.next-match { width:100%; display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; text-align:left; border:1px solid rgba(255,255,255,.22); background:#1b2d23; color:white; padding:13px; cursor:pointer; }
.next-match:hover { border-color:var(--lime); }
.mini-icon { width:38px; height:38px; background:var(--orange); display:grid; place-items:center; font-size:22px; }
.next-match b, .next-match small { display:block; }.next-match small { opacity:.55; margin-top:3px; }
.ticker { background:var(--lime); border-block:2px solid var(--ink); overflow:hidden; white-space:nowrap; padding:12px 0; transform:rotate(-.6deg); width:101%; margin-left:-.5%; font-family:var(--display); font-size:14px; }
.ticker div { animation:ticker 26s linear infinite; display:inline-block; }
.ticker span { color:var(--orange); margin:0 38px; -webkit-text-stroke:1px var(--ink); }
@keyframes ticker { to { transform:translateX(-50%); } }
.game-preview { padding:90px clamp(20px, 7vw, 110px) 100px; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:38px; }
.section-heading h2 { font-size:clamp(38px,5vw,72px); }
.section-heading > p { max-width:400px; color:var(--muted); line-height:1.5; }
.preview-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.preview-card { min-height:390px; border:2px solid var(--ink); padding:20px; position:relative; text-align:left; cursor:pointer; display:flex; flex-direction:column; transition:.2s; box-shadow:6px 6px 0 var(--ink); }
.preview-card:hover { transform:translateY(-7px) rotate(-1deg); box-shadow:10px 13px 0 var(--ink); }
.preview-card.lime { background:var(--lime); }.preview-card.orange { background:var(--orange); }.preview-card.cream { background:var(--cream); }
.card-number { font-family:var(--display); font-size:12px; }
.card-icon { font-size:88px; line-height:1; text-align:center; margin:auto; font-weight:400; }
.card-copy b { font-size:35px; display:block; }
.card-copy small { display:block; margin-top:12px; line-height:1.4; max-width:250px; }
.card-arrow { position:absolute; right:18px; bottom:18px; border:1px solid var(--ink); border-radius:50%; width:40px; height:40px; display:grid; place-items:center; font-size:20px; }
.games-view, .profile-view { min-height:calc(100vh - 78px); padding:58px clamp(20px,8vw,126px) 100px; background:var(--ink); color:var(--paper); }
.back-link { background:none; color:inherit; border:0; padding:0 0 40px; cursor:pointer; opacity:.7; }
.page-intro h1, .profile-view h1 { font-size:clamp(58px,9vw,120px); }
.page-intro > p:last-child { max-width:550px; line-height:1.55; color:#a8b0ab; font-size:18px; }
.game-list { border-top:1px solid rgba(255,255,255,.2); margin-top:55px; }
.game-list article { display:grid; grid-template-columns:70px 1fr auto; gap:24px; align-items:center; padding:27px 0; border-bottom:1px solid rgba(255,255,255,.2); }
.game-list article > span { color:var(--lime); font-family:var(--display); }
.game-list h2 { font-size:34px; letter-spacing:-1px; line-height:1.1; }.game-list p { color:var(--orange); font-weight:700; font-size:10px; letter-spacing:1.5px; margin:0 0 5px; }.game-list small { color:#a8b0ab; }
.game-list button { background:var(--lime); border:0; padding:14px 22px; font-family:var(--display); cursor:pointer; }
.game-list .featured-row { background:rgba(201,255,53,.08); padding-inline:16px; border:1px solid rgba(201,255,53,.32); border-top:0; }
.profile-view { text-align:center; }.profile-view .back-link, .profile-view .eyebrow { display:flex; }.profile-view h1 { margin-bottom:55px; }
.stat-grid { display:grid; grid-template-columns:repeat(3,1fr); max-width:900px; margin:0 auto 45px; border:1px solid rgba(255,255,255,.2); }
.stat-grid div { padding:42px 20px; border-right:1px solid rgba(255,255,255,.2); }.stat-grid div:last-child { border:0; }
.stat-grid strong { display:block; font-family:var(--display); color:var(--lime); font-size:55px; }.stat-grid span { font-size:11px; letter-spacing:1.4px; }
.secondary-btn { background:transparent; border-color:var(--paper); color:var(--paper); padding:13px 18px; }
.play-view { background:#e7e2d6; min-height:calc(100vh - 78px); padding:28px clamp(14px,5vw,70px) 70px; }
.play-shell { max-width:900px; margin:auto; }
.play-head { display:grid; grid-template-columns:50px 1fr 70px; gap:18px; align-items:center; margin-bottom:35px; }
.round-exit { border:1px solid var(--ink); background:none; border-radius:50%; font-size:24px; width:42px; height:42px; cursor:pointer; }
.play-head > div:nth-child(2) > span { font-size:10px; font-weight:700; letter-spacing:1px; }
.progress { height:6px; background:rgba(16,29,22,.13); margin-top:8px; }.progress i { display:block; height:100%; width:0; background:var(--orange); transition:.35s; }
.live-score { text-align:right; }.live-score b { font-family:var(--display); font-size:24px; display:block; }.live-score small { font-size:9px; }
.game-panel { background:var(--paper); border:2px solid var(--ink); padding:clamp(22px,5vw,50px); box-shadow:8px 8px 0 var(--ink); }
.game-kicker { color:var(--orange); font-size:11px; font-weight:700; letter-spacing:1.6px; margin:0 0 12px; }.game-panel h2 { font-size:clamp(32px,6vw,64px); line-height:.95; }.instruction { color:var(--muted); line-height:1.5; margin:16px 0 28px; }
.sort-list { list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.sort-item { background:white; border:1px solid var(--ink); min-height:62px; display:grid; grid-template-columns:42px 24px 1fr; align-items:center; gap:8px; padding:10px 12px; cursor:grab; user-select:none; touch-action:none; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.sort-item.dragging { opacity:.35; }.sort-item.pressing { transform:scale(1.025); border-color:var(--orange); background:#fff8e8; box-shadow:0 0 0 3px rgba(255,91,36,.2); position:relative; z-index:2; }.sort-index { font-family:var(--display); color:var(--orange); }.club-badge { display:inline-grid; place-items:center; width:36px; height:36px; background:var(--ink); color:var(--lime); border-radius:50%; font-family:var(--display); font-size:10px; margin-right:12px; }.drag-grip { font-size:22px; line-height:1; letter-spacing:-5px; color:var(--muted); cursor:grab; }.sort-list.is-dragging .sort-item { transition:transform .12s ease, opacity .12s ease; }.sort-list.is-dragging .drag-grip { color:var(--orange); cursor:grabbing; }
.submit-row { display:flex; justify-content:flex-end; margin-top:25px; }.submit-game { border:2px solid var(--ink); background:var(--lime); padding:14px 22px; box-shadow:4px 4px 0 var(--ink); font-family:var(--display); cursor:pointer; }
.ou-card { text-align:center; }.ou-fact { min-height:150px; display:grid; place-items:center; margin:30px 0; background:var(--ink); color:white; padding:25px; position:relative; }.ou-fact strong { font-family:var(--display); font-size:clamp(60px,12vw,110px); color:var(--lime); }.ou-fact span { display:block; font-weight:700; }.ou-buttons { display:grid; grid-template-columns:1fr 1fr; gap:14px; }.ou-buttons button { padding:24px; border:2px solid var(--ink); cursor:pointer; font-family:var(--display); font-size:20px; }.ou-buttons button:first-child { background:var(--cream); }.ou-buttons button:last-child { background:var(--orange); }
.timeline-list .sort-item { min-height:78px; }.event-dot { width:22px; height:22px; border:6px solid var(--lime); background:var(--ink); border-radius:50%; }.result-box { text-align:center; padding:20px 0 5px; }.result-box .result-mark { font-family:var(--display); font-size:80px; color:var(--orange); }.result-box h2 { margin-bottom:14px; }.result-box p { color:var(--muted); line-height:1.5; }.result-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:28px; }.result-actions button { padding:13px 18px; border:2px solid var(--ink); background:var(--lime); cursor:pointer; font-weight:700; }.result-actions button:last-child { background:transparent; }
.answer-reveal { margin:20px 0 0; padding:15px; background:#fff; border-left:5px solid var(--orange); text-align:left; }
.multi-setup h2 { margin-bottom:14px; }
.cabin-setup, .cabin-lobby { background:#e8e0d3; border-color:#a59d90; box-shadow:6px 6px 0 rgba(16,29,22,.28); }
.cabin-setup h2, .cabin-lobby h2 { margin-bottom:14px; }
.cabin-label { display:block; margin:22px 0 7px; color:var(--orange); font-size:10px; font-weight:700; letter-spacing:1.4px; }
.cabin-input { width:100%; min-height:50px; border:2px solid var(--ink); background:#fff; padding:0 13px; color:var(--ink); font:inherit; }
.cabin-input:focus { outline:3px solid rgba(233,165,50,.35); outline-offset:1px; }
.cabin-actions { display:grid; gap:10px; margin-top:14px; }
.cabin-join { display:grid; grid-template-columns:1fr auto; gap:8px; }
.cabin-join .submit-game { width:auto; min-width:110px; }
.cabin-code-card { display:grid; grid-template-columns:1fr auto; gap:3px 12px; align-items:center; margin:21px 0 16px; padding:15px; background:var(--ink); color:#fff; }
.cabin-code-card span { grid-column:1 / -1; color:var(--lime); font-size:9px; font-weight:700; letter-spacing:1.4px; }
.cabin-code-card strong { font-family:var(--display); font-size:clamp(30px,9vw,46px); letter-spacing:4px; line-height:1; }
.cabin-code-card button { border:1px solid var(--lime); background:transparent; color:var(--lime); padding:9px 10px; font-size:10px; font-weight:700; cursor:pointer; }
.cabin-roster-head { display:flex; justify-content:space-between; align-items:center; margin:8px 0 8px; color:var(--muted); font-size:9px; font-weight:700; letter-spacing:1.3px; }.cabin-roster-head b { color:var(--ink); font-family:var(--display); font-size:15px; letter-spacing:0; }
.cabin-players { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; }
.cabin-profile { position:relative; display:flex; min-height:154px; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:13px 7px 10px; border:2px solid var(--ink); border-radius:18px; background:#fff; box-shadow:3px 3px 0 rgba(16,29,22,.18); text-align:center; overflow:hidden; }
.cabin-profile.is-host { background:#fff6df; }.cabin-profile.is-empty { border-style:dashed; border-color:rgba(16,29,22,.34); background:rgba(255,255,255,.45); box-shadow:none; }
.cabin-avatar { display:grid; place-items:center; width:65px; height:65px; border:2px solid var(--ink); border-radius:19px; font-size:34px; line-height:1; box-shadow:3px 3px 0 rgba(16,29,22,.2); }.cabin-avatar.tone-lime { background:var(--lime); }.cabin-avatar.tone-orange { background:#ff9b4a; }.cabin-avatar.tone-teal { background:#65c7c7; }.cabin-avatar.tone-pink { background:#f38ba0; }.cabin-avatar-empty { border:0; box-shadow:none; background:transparent; color:rgba(16,29,22,.42); font-family:var(--display); font-size:44px; }
.cabin-profile-copy { min-width:0; width:100%; }.cabin-profile-copy b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }.cabin-profile-copy small { display:block; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#8d8477; font-size:7px; font-weight:700; letter-spacing:.5px; }
.cabin-profile-number { position:absolute; top:8px; right:9px; color:rgba(16,29,22,.4); font-family:var(--display); font-size:10px; }.cabin-profile.is-host .cabin-profile-number { color:var(--orange); }
.cabin-hint, .cabin-waiting { margin:13px 0 0; color:#6e776f; font-size:11px; text-align:center; }
.cabin-error { min-height:18px; margin:14px 0 0; color:#96343b; font-size:12px; font-weight:700; }
.deck-card.is-disabled { cursor:default; opacity:.6; }
.deck-card:disabled { color:inherit; }
.multi-question-panel { min-height:480px; display:flex; flex-direction:column; justify-content:center; text-align:center; background:#e8e0d3; border-color:#a59d90; box-shadow:6px 6px 0 rgba(16,29,22,.28); }
.multi-question-panel .game-kicker { margin-bottom:14px; }
.multi-question-card { position:relative; padding:30px 18px 22px; background:#fff; border:1px solid rgba(16,29,22,.12); box-shadow:5px 5px 0 rgba(16,29,22,.16); }
.multi-question-card h2 { margin:0 0 15px; font-size:clamp(30px,7vw,48px); line-height:.96; }
.question-number { position:absolute; top:-15px; left:50%; transform:translateX(-50%); display:grid; place-items:center; width:40px; height:30px; background:#ed6d87; color:#fff; font-family:var(--display); font-size:15px; }
.question-topic { display:inline-block; padding:5px 11px; border-radius:14px; background:#e9a532; color:#fff; font-size:9px; font-weight:700; letter-spacing:.5px; }
.multi-question-panel .instruction { max-width:360px; margin:20px auto 15px; }
.multi-question-player { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 12px; padding:12px 14px; background:rgba(255,255,255,.55); border:1px dashed rgba(141,132,119,.5); }
.multi-question-player span { color:#8d8477; font-size:10px; font-weight:700; letter-spacing:1px; }
.multi-question-player strong { font-family:var(--display); font-size:20px; }
.multi-question-player .score-pills { margin-left:0; }
.multi-board-panel { background:#e8e0d3; border-color:#a59d90; box-shadow:6px 6px 0 rgba(16,29,22,.28); padding:14px; }
.reference-top { display:grid; grid-template-columns:42px 1fr 62px; gap:8px; align-items:start; margin-bottom:12px; }.board-menu { width:40px; height:40px; border:0; border-radius:50%; background:#e9a532; color:#fff; font-size:21px; box-shadow:0 3px 0 rgba(16,29,22,.22); cursor:pointer; }.question-card { min-height:58px; background:#fff; border-radius:4px; padding:9px 11px 7px; box-shadow:0 3px 0 rgba(16,29,22,.2); }.question-card b { display:block; font-size:13px; line-height:1.1; }.question-card span { display:inline-block; margin-top:6px; padding:4px 11px; border-radius:14px; background:#e9a532; color:#fff; font-size:9px; font-weight:700; letter-spacing:.5px; }.board-stats { text-align:center; }.board-stats b { display:block; border-radius:11px; background:#ed6d87; color:#fff; font-size:15px; line-height:24px; }.board-stats small { display:block; margin-top:4px; border-radius:11px; background:#83bd65; color:#fff; font-size:9px; line-height:18px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:0 4px; }
.board-instruction { margin:0 0 10px; color:#6e776f; font-size:11px; line-height:1.35; }.reference-board { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:9px; align-items:start; }.timeline-board { min-width:0; }.timeline-edge { min-height:27px; display:grid; place-items:center; color:#8d8477; font-size:10px; border:1px dashed rgba(141,132,119,.45); border-radius:4px; letter-spacing:1px; }.timeline-list { display:grid; gap:4px; padding:4px 0; }.timeline-slot { min-height:31px; width:100%; border:1px dashed rgba(141,132,119,.42); background:rgba(255,255,255,.12); color:#8d8477; font-size:8px; cursor:pointer; transition:.15s; }.timeline-slot.is-hover { background:#e9a532; border-color:#e9a532; transform:scale(1.02); }.timeline-card { min-height:49px; display:flex; align-items:center; gap:5px; padding:6px 6px 6px 8px; border-radius:3px; background:#fff; border:1px solid rgba(16,29,22,.08); box-shadow:0 3px 0 rgba(16,29,22,.2); }.timeline-card b { min-width:0; flex:1; font-size:11px; line-height:1.05; }.timeline-card span { flex:0 0 auto; padding:3px 6px; border-radius:8px; background:#fff; box-shadow:0 1px 3px rgba(16,29,22,.25); color:#5b625b; font-size:9px; }.timeline-card:nth-of-type(4n+2) { background:#3a9ca0; color:#fff; }.timeline-card:nth-of-type(4n+4) { background:#e94965; color:#fff; }.timeline-card:nth-of-type(4n+4) span, .timeline-card:nth-of-type(4n+2) span { color:#5b625b; }.card-rail { min-width:0; }.rail-label { display:flex; justify-content:space-between; align-items:center; padding:0 2px 5px; color:#8d8477; font-size:10px; font-weight:700; letter-spacing:1px; }.rail-label small { font-weight:500; letter-spacing:0; }.deck-list { display:grid; gap:5px; }.deck-card { min-height:48px; display:grid; grid-template-columns:29px 1fr; align-items:center; gap:6px; width:100%; border:1px solid rgba(16,29,22,.12); border-radius:3px; background:#fff; box-shadow:0 3px 0 rgba(16,29,22,.2); padding:6px; text-align:left; cursor:grab; touch-action:none; user-select:none; transition:.16s; }.deck-card b { font-size:11px; line-height:1.05; }.deck-card.is-selected, .deck-card.pressing { transform:scale(1.025); border-color:#e9a532; background:#fff5df; box-shadow:0 0 0 3px rgba(233,165,50,.22); }.deck-card.dragging { opacity:.35; }.deck-card .club-badge { width:26px; height:26px; margin:0; font-size:7px; }.multi-board-panel .multi-turnbar { margin:0 0 8px; }.multi-board-panel .turn-note { margin-top:9px; font-size:10px; }.multi-board-panel .score-pills { font-size:14px; }
.setup-block { margin-top:24px; }.setup-block > label { display:block; font-size:10px; font-weight:700; letter-spacing:1.5px; color:var(--orange); margin-bottom:9px; }
.player-count { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }.count-btn { border:1px solid var(--ink); background:#fff; min-height:50px; font-family:var(--display); cursor:pointer; }.count-btn.is-selected { background:var(--orange); color:#fff; }
.player-fields { display:grid; gap:8px; }.player-input { display:grid; grid-template-columns:30px 1fr; gap:8px; align-items:center; }.player-input span { display:grid; place-items:center; width:30px; height:30px; background:var(--ink); color:var(--lime); border-radius:50%; font-family:var(--display); font-size:12px; }.player-input input { width:100%; border:1px solid var(--ink); background:#fff; min-height:46px; padding:0 12px; color:var(--ink); }
.rule-note { margin-top:22px; padding:13px 14px; border-left:4px solid var(--orange); background:#fff; color:var(--muted); font-size:13px; line-height:1.45; }.rule-note b { color:var(--ink); }.multi-start { width:100%; margin-top:22px; }
.multi-turnbar { display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; margin-bottom:12px; }.multi-turnbar .game-kicker { margin:0; }.multi-turnbar strong { font-family:var(--display); font-size:21px; }.score-pills { margin-left:auto; color:var(--orange); font-weight:700; letter-spacing:.5px; }.turn-timer { display:inline-flex; align-items:baseline; gap:4px; margin-left:auto; padding:4px 7px; border:1px solid rgba(16,29,22,.18); background:#fff; color:var(--ink); }.turn-timer small { font-size:8px; font-weight:700; letter-spacing:.8px; color:#8d8477; }.turn-timer b { font-family:var(--display); font-size:18px; line-height:1; min-width:22px; text-align:center; }.turn-timer em { font-size:8px; font-style:normal; font-weight:700; color:#8d8477; }.turn-timer.is-urgent { color:#b23b43; border-color:#d24c55; background:#f8dfe0; animation:timerPulse .55s ease-in-out infinite alternate; }.turn-timer.is-expired { opacity:.7; animation:none; }
.turn-result { display:flex; align-items:center; gap:9px; margin:0 0 9px; padding:8px 10px; border-left:5px solid; font-size:11px; animation:turnFlash .85s ease both; }.turn-result b { font-family:var(--display); font-size:14px; }.turn-result span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.turn-result.is-good { border-color:#4a9f61; background:#dff1df; color:#236636; }.turn-result.is-bad { border-color:#d24c55; background:#f8dfe0; color:#96343b; }.timeline-card.is-flash-good { animation:cardFlashGood .85s ease both; }.timeline-card.is-flash-bad { animation:cardFlashBad .85s ease both; }
@keyframes turnFlash { 0% { transform:scale(.98); opacity:.3; } 18% { transform:scale(1.02); opacity:1; } 100% { transform:scale(1); opacity:1; } }
@keyframes timerPulse { from { transform:scale(1); } to { transform:scale(1.06); } }
@keyframes cardFlashGood { 0%,100% { box-shadow:0 3px 0 rgba(16,29,22,.2); } 20% { box-shadow:0 0 0 4px rgba(74,159,97,.65), 0 3px 0 rgba(16,29,22,.2); } }
@keyframes cardFlashBad { 0%,100% { box-shadow:0 3px 0 rgba(16,29,22,.2); } 20% { box-shadow:0 0 0 4px rgba(210,76,85,.7), 0 3px 0 rgba(16,29,22,.2); } }
.incoming-team { border:2px solid var(--ink); background:var(--lime); min-height:74px; display:flex; align-items:center; gap:12px; padding:12px 14px; margin:0 0 18px; cursor:grab; user-select:none; touch-action:none; transition:transform .18s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease; }.incoming-team b { font-size:18px; }.incoming-team small { margin-left:auto; font-size:9px; font-weight:700; letter-spacing:1px; opacity:.6; }.incoming-team.pressing { transform:scale(1.025); background:#fff8e8; box-shadow:0 0 0 3px rgba(255,91,36,.2); }.incoming-team.dragging { opacity:.35; }
.ladder-wrap { border-top:1px solid var(--line); padding-top:14px; }.ladder-label { display:flex; justify-content:space-between; gap:10px; font-size:10px; font-weight:700; letter-spacing:1.2px; margin-bottom:9px; }.ladder-label small { color:var(--muted); letter-spacing:0; font-weight:500; }.multi-ladder { display:grid; gap:7px; }.multi-slot { width:100%; min-height:33px; border:1px dashed rgba(16,29,22,.35); background:rgba(201,255,53,.18); color:var(--ink); font-size:10px; font-weight:700; letter-spacing:.6px; cursor:pointer; transition:.15s; }.multi-slot:hover, .multi-slot.is-hover { background:var(--orange); color:#fff; border-color:var(--orange); transform:scale(1.02); }.ladder-team { min-height:53px; display:grid; grid-template-columns:25px 32px 1fr; gap:8px; align-items:center; border:1px solid var(--ink); background:#fff; padding:7px 10px; }.ladder-team > span:first-child { font-family:var(--display); color:var(--orange); }.ladder-team .club-badge { width:28px; height:28px; margin:0; font-size:8px; }.ladder-team b { font-size:13px; }.turn-note { margin-top:16px; font-size:12px; color:var(--muted); text-align:center; }.multi-feedback .submit-game { width:100%; margin-top:20px; }.result-players { border:1px solid var(--line); margin-top:22px; text-align:left; }.result-player { display:grid; grid-template-columns:28px 1fr auto; align-items:center; gap:8px; padding:12px; border-bottom:1px solid var(--line); }.result-player:last-child { border-bottom:0; }.result-player > span { color:var(--orange); font-family:var(--display); }.result-player small { color:var(--muted); font-size:11px; }.result-rounds { display:grid; gap:6px; margin-top:16px; text-align:left; }.result-round { display:grid; grid-template-columns:64px 1fr; gap:8px; padding:9px 10px; border-left:4px solid var(--lime); background:#fff; font-size:10px; }.result-round span { color:var(--muted); font-weight:700; letter-spacing:.7px; }.result-round b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.multi-review-panel h2 { margin-bottom:8px; }.review-layout { display:grid; gap:16px; margin-top:20px; }.review-section-label { margin-bottom:7px; color:var(--muted); font-size:9px; font-weight:700; letter-spacing:1.2px; }.review-order, .review-answers { display:grid; gap:5px; }.review-order-item { display:grid; grid-template-columns:24px 1fr auto; gap:7px; align-items:center; padding:8px 9px; background:#fff; border:1px solid rgba(16,29,22,.1); }.review-order-item > span { color:var(--orange); font-family:var(--display); }.review-order-item b { font-size:11px; }.review-order-item small { color:var(--muted); font-size:9px; }.review-answer { display:grid; grid-template-columns:24px 1fr auto; gap:7px; align-items:center; padding:8px 9px; border-left:4px solid; background:#fff; }.review-answer.is-good { border-color:#4a9f61; }.review-answer.is-bad, .review-answer.is-timeout { border-color:#d24c55; }.review-answer-index { color:var(--muted); font-family:var(--display); font-size:10px; }.review-answer b, .review-answer small { display:block; }.review-answer b { font-size:11px; }.review-answer small { margin-top:2px; color:var(--muted); font-size:9px; }.review-answer strong { font-family:var(--display); color:#236636; }.review-answer.is-bad strong, .review-answer.is-timeout strong { color:#96343b; }.review-ready { display:flex; justify-content:space-between; gap:10px; align-items:baseline; margin-top:18px; padding:11px 12px; background:#fff; border-left:4px solid var(--lime); }.review-ready span { color:var(--muted); font-size:9px; font-weight:700; letter-spacing:1px; }.review-ready b { font-size:11px; }.review-empty { margin:0; color:var(--muted); font-size:11px; }
.modern-match { background:#f5f1e8; border:1px solid #d6cdbc; box-shadow:6px 6px 0 rgba(16,29,22,.18); padding:18px; }
.modern-match-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:13px; }.modern-match-head .game-kicker { margin:0 0 4px; }.modern-match-head h2 { margin:0; font-size:32px; letter-spacing:-1px; }.round-meter { display:flex; align-items:baseline; gap:3px; padding:7px 9px; background:var(--ink); color:var(--lime); }.round-meter b { font-family:var(--display); font-size:20px; line-height:1; }.round-meter small { font-size:9px; font-weight:700; color:#fff; opacity:.72; }
.modern-question { display:grid; gap:5px; padding:12px 13px; border:1px solid rgba(16,29,22,.12); border-left:4px solid var(--orange); background:#fff; }.modern-question span { color:var(--orange); font-size:9px; font-weight:700; letter-spacing:1px; }.modern-question b { font-size:14px; line-height:1.2; }
.modern-turnbar { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:9px; align-items:center; margin-top:12px; padding:10px; border:1px solid rgba(16,29,22,.14); background:#fff; }.modern-turnbar.is-my-turn { border-color:var(--lime); box-shadow:0 0 0 2px rgba(201,255,53,.28); }.modern-turnbar.is-waiting { opacity:.82; }.turn-avatar { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; font-size:22px; box-shadow:2px 2px 0 rgba(16,29,22,.18); }.turn-avatar.tone-lime { background:var(--lime); }.turn-avatar.tone-orange { background:#f7b249; }.turn-avatar.tone-teal { background:#65c8c5; }.turn-avatar.tone-pink { background:#f28da2; }.turn-copy { min-width:0; }.turn-copy small { display:block; color:var(--muted); font-size:8px; font-weight:700; letter-spacing:1px; }.turn-copy b { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:17px; }.modern-turnbar .turn-timer { grid-column:3; grid-row:1; min-width:73px; justify-content:center; }.modern-turnbar .score-pills { grid-column:3; grid-row:2; margin:0; justify-self:end; font-size:10px; }
.modern-instruction { display:flex; justify-content:space-between; gap:12px; align-items:baseline; margin:13px 1px 11px; color:var(--muted); font-size:11px; }.modern-instruction b { color:var(--ink); font-size:12px; }.modern-instruction span { text-align:right; }.modern-board-label { display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; color:var(--muted); font-size:9px; font-weight:700; letter-spacing:1.1px; }.modern-board-label span { font-size:8px; letter-spacing:.6px; }.modern-board-label i { color:var(--orange); font-style:normal; padding:0 3px; }.modern-reference-board { display:block; }.modern-timeline-board { padding:10px; border:1px solid rgba(16,29,22,.12); background:#e9e1d4; }.modern-timeline-board .timeline-list { gap:4px; padding:0; }.modern-timeline-board .timeline-edge { min-height:22px; border:0; color:#847c70; background:transparent; font-size:8px; }.modern-timeline-board .timeline-slot { min-height:25px; background:rgba(201,255,53,.17); border-color:rgba(16,29,22,.26); }.modern-timeline-board .timeline-card { min-height:43px; border:1px solid rgba(16,29,22,.1); box-shadow:2px 2px 0 rgba(16,29,22,.14); }.modern-timeline-board .timeline-card b { font-size:11px; }.modern-card-rail { margin-top:12px; padding-top:11px; border-top:1px solid rgba(16,29,22,.15); }.modern-card-rail .rail-label { padding:0 1px 7px; }.modern-card-rail .deck-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }.modern-card-rail .deck-card { min-height:55px; grid-template-columns:27px 1fr; border-radius:8px; box-shadow:2px 2px 0 rgba(16,29,22,.17); }.modern-card-rail .deck-card b { font-size:11px; line-height:1.08; }.modern-card-rail .deck-card.is-selected, .modern-card-rail .deck-card.pressing { box-shadow:0 0 0 3px rgba(233,165,50,.28), 2px 2px 0 rgba(16,29,22,.17); }.modern-match .turn-note { margin-top:11px; font-size:9px; color:#847c70; }
.toast { position:fixed; z-index:100; left:50%; bottom:28px; transform:translate(-50%,20px); background:var(--ink); color:white; padding:13px 20px; opacity:0; pointer-events:none; transition:.25s; font-weight:700; box-shadow:5px 5px 0 var(--orange); }.toast.show { opacity:1; transform:translate(-50%,0); }
.mobile-tabbar { display:none; }

@media (max-width: 850px) {
  nav { display:none; }.hero { grid-template-columns:1fr; padding-top:40px; }.scoreboard-card { max-width:520px; }.section-heading { align-items:start; flex-direction:column; }.preview-grid { grid-template-columns:1fr; }.preview-card { min-height:290px; }.card-icon { position:absolute; right:40px; top:80px; }.game-list article { grid-template-columns:45px 1fr; }.game-list article button { grid-column:2; justify-self:start; }.stat-grid { grid-template-columns:1fr; }.stat-grid div { border-right:0; border-bottom:1px solid rgba(255,255,255,.2); }.stat-grid div:last-child { border:0; }
}
@media (max-width: 520px) {
  :root { --display: "Archivo Black", Impact, sans-serif; }
  body { padding-bottom:76px; }
  .topbar { height:62px; padding:0 16px; position:sticky; }
  .brand { font-size:14px; gap:7px; }.brand-ball { width:24px; height:24px; font-size:8px; }
  .sound-toggle { display:none; }
  .mobile-tabbar { position:fixed; z-index:60; left:0; right:0; bottom:0; height:74px; display:grid; grid-template-columns:repeat(3,1fr); background:rgba(244,240,230,.97); border-top:1px solid var(--line); padding:7px 8px max(7px, env(safe-area-inset-bottom)); backdrop-filter:blur(14px); }
  .mobile-tab { border:0; background:transparent; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:3px; opacity:.46; cursor:pointer; }
  .mobile-tab span { display:grid; place-items:center; width:34px; height:28px; font-size:19px; line-height:1; }.mobile-tab small { font-size:10px; font-weight:700; letter-spacing:.3px; }.mobile-tab.is-active { opacity:1; }.mobile-tab.is-active span { color:var(--orange); }
  .hero { min-height:auto; display:flex; flex-direction:column; align-items:stretch; gap:30px; padding:38px 18px 36px; }
  .hero::before { width:300px; height:300px; right:-160px; top:-80px; }
  .eyebrow { font-size:10px; letter-spacing:1.2px; }.hero h1 { font-size:clamp(51px,15vw,76px); letter-spacing:-2px; margin:20px 0 18px; }.hero-intro { font-size:16px; line-height:1.45; margin-bottom:24px; max-width:340px; }
  .primary-btn { width:100%; min-height:54px; padding:15px 18px; }.primary-btn span { margin-left:20px; }
  .scoreboard-card { transform:none; min-height:0; padding:17px; box-shadow:6px 6px 0 var(--orange); }.scoreline { margin:22px 0 14px; }.scoreline strong { font-size:38px; }.stadium-lines { height:54px; margin-bottom:15px; }.scoreboard-card > p { margin:12px 0 8px; }.next-match { min-height:58px; padding:10px; }.mini-icon { width:36px; height:36px; }
  .ticker { font-size:11px; padding:10px 0; }.ticker span { margin:0 20px; }
  .game-preview { padding:54px 18px 36px; }.section-heading { gap:12px; margin-bottom:24px; }.section-heading h2 { font-size:38px; letter-spacing:-1.4px; }.section-heading > p { font-size:14px; margin:0; }
  .preview-grid { gap:12px; }.preview-card { min-height:164px; padding:17px; box-shadow:4px 4px 0 var(--ink); display:block; }.preview-card:hover { transform:none; box-shadow:4px 4px 0 var(--ink); }.card-number { font-size:10px; }.card-icon { font-size:52px; top:25px; right:22px; }.card-copy { display:block; padding-top:29px; max-width:72%; }.card-copy b { font-size:27px; letter-spacing:-1.2px; }.card-copy small { font-size:12px; margin-top:7px; }.card-arrow { width:34px; height:34px; right:14px; bottom:13px; }
  .games-view, .profile-view { min-height:calc(100vh - 62px); padding:28px 18px 42px; }.back-link { padding:0 0 30px; min-height:44px; display:flex; align-items:center; }.page-intro h1, .profile-view h1 { font-size:54px; letter-spacing:-1.7px; }.page-intro > p:last-child { font-size:15px; margin-top:18px; }.game-list { margin-top:34px; }.game-list article { grid-template-columns:30px 1fr; gap:13px; padding:22px 0; }.game-list h2 { font-size:29px; }.game-list small { font-size:13px; line-height:1.35; display:block; margin-top:7px; }.game-list article button { grid-column:2; width:100%; min-height:50px; font-size:12px; }
  .profile-view { text-align:left; }.profile-view .eyebrow { display:flex; }.profile-view h1 { margin-bottom:32px; }.stat-grid { margin:0 0 28px; }.stat-grid div { padding:25px 18px; display:flex; align-items:baseline; justify-content:space-between; }.stat-grid strong { font-size:43px; }.stat-grid span { font-size:10px; }.secondary-btn { min-height:48px; width:100%; }
  .play-view { min-height:calc(100vh - 62px); padding:15px 12px 36px; }.play-shell { width:100%; }.play-head { grid-template-columns:42px 1fr 56px; gap:10px; margin-bottom:18px; }.round-exit { width:40px; height:40px; }.play-head > div:nth-child(2) > span { font-size:9px; }.game-panel { padding:22px 16px; box-shadow:5px 5px 0 var(--ink); }.game-panel h2 { font-size:38px; letter-spacing:-1.5px; }.instruction { font-size:14px; margin:13px 0 20px; }.sort-list { gap:8px; }.sort-item { min-height:64px; grid-template-columns:29px 22px 1fr; gap:6px; padding:9px 8px; font-size:13px; }.sort-index { font-size:12px; }.sort-item b { line-height:1.15; }.drag-grip { font-size:20px; }.club-badge { display:inline-grid; width:28px; height:28px; font-size:8px; margin-right:7px; }.submit-row { margin-top:20px; }.submit-game { width:100%; min-height:52px; padding:13px 18px; font-size:12px; }.ou-fact { min-height:150px; margin:22px 0 18px; }.ou-fact strong { font-size:76px; }.ou-fact span { font-size:12px; }.ou-buttons { grid-template-columns:1fr 1fr; gap:9px; }.ou-buttons button { min-height:70px; padding:16px 9px; font-size:16px; }.timeline-list .sort-item { min-height:72px; }.event-dot { width:18px; height:18px; border-width:5px; }.result-box .result-mark { font-size:64px; }.result-box h2 { font-size:34px; }.result-actions { gap:9px; }.result-actions button { width:100%; min-height:50px; }.answer-reveal { font-size:13px; line-height:1.4; }.multi-turnbar strong { font-size:18px; }.incoming-team { min-height:70px; }.incoming-team b { font-size:16px; }.incoming-team small { font-size:8px; }.ladder-label { font-size:9px; }.ladder-team { min-height:50px; grid-template-columns:22px 28px 1fr; padding-inline:8px; }.ladder-team b { font-size:12px; }.multi-slot { min-height:36px; font-size:9px; }.result-player { grid-template-columns:24px 1fr; }.result-player small { grid-column:2; }.player-count { gap:6px; }
}
@media (max-width: 520px) {
  .multi-question-panel { min-height:calc(100vh - 145px); padding:20px 13px; box-shadow:4px 4px 0 rgba(16,29,22,.28); }
  .multi-question-card { padding:27px 13px 19px; }
  .multi-question-card h2 { font-size:32px; }
  .multi-question-panel .instruction { font-size:13px; }
  .multi-question-player strong { font-size:18px; }
  .cabin-setup, .cabin-lobby { padding:20px 13px; box-shadow:4px 4px 0 rgba(16,29,22,.28); }
  .cabin-code-card { margin-top:16px; padding:12px; }
  .cabin-code-card strong { font-size:31px; letter-spacing:3px; }
  .cabin-code-card button { font-size:8px; padding:8px 7px; }
  .cabin-players { gap:5px; }
  .cabin-profile { min-height:122px; padding:12px 4px 8px; border-radius:13px; box-shadow:2px 2px 0 rgba(16,29,22,.16); }
  .cabin-avatar { width:48px; height:48px; border-radius:14px; font-size:25px; box-shadow:2px 2px 0 rgba(16,29,22,.18); }
  .cabin-avatar-empty { font-size:34px; box-shadow:none; }
  .cabin-profile-copy b { font-size:9px; }
  .cabin-profile-copy small { margin-top:3px; font-size:6px; letter-spacing:.25px; }
  .cabin-profile-number { top:5px; right:6px; font-size:8px; }
  .cabin-player { grid-template-columns:26px 1fr; gap:8px; }
  .cabin-player small { grid-column:2; text-align:left; margin-top:-4px; }
  .cabin-join { grid-template-columns:1fr; }
  .cabin-join .submit-game { width:100%; }
  .multi-board-panel { padding:9px; box-shadow:4px 4px 0 rgba(16,29,22,.28); }
  .reference-top { grid-template-columns:34px 1fr 51px; gap:5px; margin-bottom:8px; }.board-menu { width:34px; height:34px; font-size:17px; }.question-card { min-height:49px; padding:7px 8px 5px; }.question-card b { font-size:11px; }.question-card span { margin-top:4px; padding:3px 7px; font-size:7px; }.board-stats b { font-size:13px; line-height:20px; }.board-stats small { line-height:15px; font-size:7px; }.multi-board-panel .multi-turnbar { gap:6px; align-items:center; }.multi-board-panel .multi-turnbar strong { font-size:15px; }.multi-board-panel .multi-turnbar .turn-timer { margin-left:auto; }.multi-board-panel .multi-turnbar .score-pills { margin-left:0; font-size:10px; }.turn-timer { padding:3px 5px; }.turn-timer b { font-size:16px; }.board-instruction { font-size:10px; margin-bottom:7px; }.reference-board { gap:6px; }.timeline-edge { min-height:23px; font-size:8px; }.timeline-list { gap:3px; padding:3px 0; }.timeline-slot { min-height:24px; font-size:7px; }.timeline-card { min-height:42px; padding:5px; }.timeline-card b { font-size:9px; }.timeline-card span { padding:2px 4px; font-size:8px; }.rail-label { font-size:8px; padding-bottom:4px; }.deck-list { gap:4px; }.deck-card { min-height:41px; grid-template-columns:24px 1fr; gap:4px; padding:5px; }.deck-card b { font-size:9px; }.deck-card .club-badge { width:22px; height:22px; font-size:6px; }.multi-board-panel .turn-note { font-size:8px; }
  .multi-review-panel { padding:17px 12px; }.multi-review-panel .instruction { font-size:12px; }.review-layout { gap:12px; margin-top:14px; }.review-order-item, .review-answer { padding:7px 6px; }.review-order-item b, .review-answer b { font-size:10px; }.review-order-item small, .review-answer small { font-size:8px; }.review-ready { align-items:flex-start; flex-direction:column; gap:4px; }.result-round { grid-template-columns:55px 1fr; font-size:8px; }
}
@media (max-width: 520px) {
  .modern-match { padding:13px 11px 14px; box-shadow:4px 4px 0 rgba(16,29,22,.18); }
  .modern-match-head { margin-bottom:10px; }.modern-match-head h2 { font-size:27px; }.round-meter { padding:6px 8px; }.round-meter b { font-size:17px; }.round-meter small { font-size:8px; }
  .modern-question { padding:10px 10px; }.modern-question span { font-size:8px; }.modern-question b { font-size:12px; }
  .modern-turnbar { grid-template-columns:38px minmax(0,1fr) auto; gap:7px; padding:8px; }.turn-avatar { width:38px; height:38px; border-radius:11px; font-size:19px; }.turn-copy small { font-size:7px; }.turn-copy b { font-size:15px; }.modern-turnbar .turn-timer { min-width:66px; padding:4px 5px; }.modern-turnbar .turn-timer b { font-size:17px; }.modern-turnbar .score-pills { font-size:9px; }
  .modern-instruction { display:block; margin:10px 1px 9px; font-size:10px; }.modern-instruction b { display:block; font-size:11px; margin-bottom:2px; }.modern-instruction span { display:block; text-align:left; }.modern-board-label { margin-bottom:5px; }.modern-timeline-board { padding:7px; }.modern-timeline-board .timeline-card { min-height:39px; padding:5px 6px; }.modern-timeline-board .timeline-card b { font-size:10px; }.modern-timeline-board .timeline-card span { font-size:8px; }.modern-timeline-board .timeline-slot { min-height:22px; }.modern-card-rail { margin-top:10px; padding-top:9px; }.modern-card-rail .deck-list { gap:6px; }.modern-card-rail .deck-card { min-height:49px; grid-template-columns:23px 1fr; gap:4px; padding:5px; border-radius:7px; }.modern-card-rail .deck-card b { font-size:9px; }.modern-card-rail .deck-card .club-badge { width:22px; height:22px; font-size:6px; }.modern-match .turn-note { margin-top:9px; font-size:8px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; } }

