:root{
  --navy:#0F2A3F; --navy-2:#0c2233; --cream:#F5EFE4; --gold:#E5C067; --gold-soft:#f0d690;
  --brass:#B8864B; --rose:#8a1f24; --rose-bright:#c0282f; --page:#171310; --ink:#16202b;
  --accent:#E5C067; --accent-line:#E5C0678c; --accent-tint:#E5C0672b; --accent-faint:#E5C06714;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-font-smoothing:antialiased;color:var(--cream);background:var(--navy);}
a{color:inherit;}

/* ============================= PATRON (mobile) ============================= */
body.patron{background:radial-gradient(120% 80% at 50% -10%,#16344b 0%,var(--navy) 55%,var(--navy-2) 100%);min-height:100vh;}
.wrap{width:100%;max-width:480px;margin:0 auto;padding:26px 18px 44px;}
.wrap.narrow{max-width:560px;}
.ph-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;}
.ph-head.center{justify-content:center;}
.m-lg{width:52px;height:52px;flex:0 0 auto;}
.ph-sos{font-family:Lora,serif;font-weight:700;font-size:20px;color:var(--cream);line-height:1;}
.ph-venue{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700;margin-top:3px;}
.card{background:rgba(8,20,32,.5);border:1px solid rgba(245,239,228,.1);border-radius:16px;padding:24px 22px;}
.card h1{font-family:Lora,serif;font-weight:700;font-size:27px;margin:0 0 8px;color:#fff;}
.card>p{margin:0 0 16px;color:rgba(245,239,228,.8);line-height:1.5;font-size:15px;}
.card>p b{color:var(--gold);}
.err{background:rgba(192,40,47,.18);border:1px solid rgba(192,40,47,.5);color:#ffd9d9;padding:10px 12px;border-radius:10px;font-size:14px;margin-bottom:14px;}
.ok{background:rgba(46,120,80,.2);border:1px solid rgba(80,170,120,.5);color:#cdeed8;padding:10px 12px;border-radius:10px;font-size:14px;margin-bottom:14px;}
body.patron form label{display:block;font-size:13px;color:rgba(245,239,228,.7);margin:14px 0 6px;font-weight:600;}
body.patron form label span{color:rgba(245,239,228,.62);font-weight:400;}
body.patron input:not([type=checkbox]):not([type=radio]){
  width:100%;background:rgba(245,239,228,.06);border:1px solid rgba(245,239,228,.18);border-radius:10px;padding:13px 14px;color:#fff;font-size:16px;font-family:inherit;}
body.patron input:focus{outline:none;border-color:var(--gold);}
.codeform input{letter-spacing:.18em;text-transform:uppercase;font-weight:700;text-align:center;font-size:20px;}
body.patron button{margin-top:16px;width:100%;background:var(--gold);color:var(--navy);border:none;border-radius:10px;padding:14px;font-size:16px;font-weight:800;font-family:inherit;cursor:pointer;}
body.patron button:hover{background:var(--gold-soft);}
.check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:rgba(245,239,228,.78);font-weight:400;margin-top:16px;line-height:1.45;}
.check input{width:auto;margin-top:3px;flex:0 0 auto;}
/* Required age gate — a bordered, tinted box so it never reads as an optional opt-in */
.joinform .gate{display:flex;align-items:flex-start;gap:11px;margin:18px 0 6px;padding:13px 15px;
  background:rgba(229,192,103,.1);border:1px solid rgba(229,192,103,.5);border-radius:11px;
  font-size:14px;color:var(--cream);font-weight:400;line-height:1.4;}
.joinform .gate input{width:20px;height:20px;margin-top:1px;flex:0 0 auto;accent-color:var(--gold);}
.joinform .gate b{color:var(--gold);font-weight:700;}
.ph-foot{text-align:center;margin-top:18px;font-size:12px;color:rgba(245,239,228,.62);}
.ph-foot a{color:rgba(245,239,228,.7);}
.standing{text-align:center;}
.standing .hi{font-size:14px;color:rgba(245,239,228,.7);}
.standing .big{font-family:Lora,serif;font-weight:700;font-size:30px;color:var(--gold);margin:4px 0 10px;}
.standing .streak{font-size:13px;color:var(--gold-soft);font-weight:600;margin:-4px 0 10px;}
.standing .big span{color:rgba(245,239,228,.62);font-size:16px;}
.link{color:var(--gold);font-weight:600;font-size:14px;text-decoration:none;}
.checkin{text-align:center;border-color:rgba(229,192,103,.35);background:linear-gradient(180deg,rgba(229,192,103,.12),rgba(8,20,32,.5));}
.checkin .ci-lead{font-size:15px;color:var(--cream);line-height:1.4;margin-bottom:6px;}
.checkin .ci-lead b{color:var(--gold);}
.checkin .ci-state{font-size:15px;color:var(--gold-soft);font-weight:600;line-height:1.4;}
.checkin .ci-state b{color:var(--gold);}
.checkin .ci-hint{font-size:12px;color:rgba(245,239,228,.6);margin-top:12px;line-height:1.45;}
.resume{margin-top:14px;border:1px solid rgba(245,239,228,.1);border-radius:14px;background:rgba(8,20,32,.32);overflow:hidden;}
.resume>summary{list-style:none;cursor:pointer;padding:13px 16px;font-size:13px;color:var(--gold);font-weight:600;user-select:none;}
.resume>summary::-webkit-details-marker{display:none;}
.resume>summary::after{content:" \2192";}
.resume[open]>summary::after{content:"";}
.resume-body{padding:0 16px 16px;text-align:center;}
.resume-body p{font-size:12.5px;color:rgba(245,239,228,.7);line-height:1.45;margin:0 0 12px;}
.resume-qr{width:150px;height:150px;margin:0 auto;background:#fff;border-radius:10px;padding:10px;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
.resume-qr svg{display:block;width:100%;height:100%;}
.resume-cap{font-size:11px;color:rgba(245,239,228,.62);margin-top:8px;}
.resume-input{width:100%;margin-top:12px;background:rgba(245,239,228,.06);border:1px solid rgba(245,239,228,.18);border-radius:10px;padding:10px 12px;color:rgba(245,239,228,.85);font-size:12px;font-family:inherit;}
.resume button{margin-top:10px;}
.sec{font-family:Lora,serif;color:var(--cream);font-size:18px;margin:22px 2px 12px;}
.pick-hint{font-size:13px;color:rgba(245,239,228,.6);margin:-6px 2px 14px;line-height:1.45;}
/* A day is a flat full-width header + its cards — the week accordion and the
   finished-days fold do the collapsing, so no third box layer around match cards. */
.matchday{margin:2px 0 16px;}
.md-head{display:flex;align-items:baseline;gap:10px;padding:8px 2px 9px;font-family:Lora,serif;font-weight:700;color:var(--cream);border-bottom:1px solid rgba(245,239,228,.1);margin-bottom:11px;}
.md-date{font-size:16px;margin-right:auto;white-space:nowrap;}
.md-count{font-family:Inter;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-weight:700;}
.md-prog{font-family:Inter;font-size:11px;letter-spacing:.03em;color:var(--gold);font-weight:600;text-align:right;line-height:1.25;}
.md-prog.done{color:#8ed1a8;}
.matchday>.match-card{margin:0 0 12px;}
.matchday.is-past{opacity:.72;}
.matchday.is-past .md-head{color:rgba(245,239,228,.55);}
/* Week accordion — groups the upcoming matchdays so the picks list isn't one long scroll */
.weekgroup{margin-bottom:12px;border:1px solid rgba(245,239,228,.1);border-radius:16px;background:rgba(8,20,32,.4);overflow:hidden;}
.weekgroup>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;font-family:Lora,serif;font-weight:700;color:var(--cream);user-select:none;}
.weekgroup>summary::-webkit-details-marker{display:none;}
.weekgroup>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:rotate(-45deg);transition:transform .15s;flex:0 0 auto;opacity:.85;}
.weekgroup[open]>summary::after{transform:rotate(45deg);}
.wg-title{font-size:16px;}
.wg-range{font-family:Inter;font-size:11px;letter-spacing:.04em;color:rgba(245,239,228,.55);font-weight:600;margin-right:auto;}
.wg-prog{font-family:Inter;font-size:11px;letter-spacing:.03em;color:var(--gold);font-weight:600;}
.wg-prog.done{color:#8ed1a8;}
.wg-body{padding:2px 12px 10px;}
.props-head{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;user-select:none;}
.props-head::-webkit-details-marker{display:none;}
.props-head .sec{margin:0;margin-right:auto;}
.props-head::after{content:"";width:9px;height:9px;border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:rotate(-45deg);transition:transform .15s;flex:0 0 auto;opacity:.85;}
.props[open] .props-head::after{transform:rotate(45deg);}
.props-tag{font-family:Inter;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--navy);background:var(--gold);padding:3px 9px;border-radius:20px;font-weight:800;}
.prop{padding:12px 0;border-top:1px solid rgba(245,239,228,.08);}
.prop:first-of-type{border-top:none;padding-top:4px;}
.prop-q{font-family:Lora,serif;font-weight:700;font-size:15px;color:var(--cream);margin-bottom:9px;}
.prop-form{display:flex;gap:8px;align-items:center;}
.prop-form select{flex:1 1 auto;min-width:0;background:rgba(245,239,228,.06);border:1px solid rgba(245,239,228,.18);border-radius:10px;padding:11px 12px;color:#fff;font-size:15px;font-family:inherit;}
.prop-form select:focus{outline:none;border-color:var(--gold);}
.prop-form option{color:#16202b;}
body.patron .prop-form button{margin:0;width:auto;flex:0 0 auto;min-height:44px;padding:11px 16px;font-size:14px;}
.prop-state{font-size:14px;color:rgba(245,239,228,.75);}
.prop-state b{color:var(--cream);}
.prop-state .flag{width:21px;height:14px;vertical-align:-2px;box-shadow:0 1px 2px rgba(0,0,0,.35);}
.prop-win{color:var(--gold-soft);}
.prop-note{font-size:13px;color:var(--gold-soft);margin:-4px 0 10px;}
.match-card{background:rgba(8,20,32,.5);border:1px solid rgba(245,239,228,.1);border-radius:14px;padding:14px 16px;margin-bottom:10px;}
.match-card.is-locked{opacity:.6;}
.mc-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;}
.mc-teams{font-family:Lora,serif;font-weight:700;font-size:17px;color:#fff;}
.mc-teams i{font-style:normal;color:rgba(245,239,228,.4);font-size:13px;}
.mc-teams .flag{width:21px;height:14px;vertical-align:-2px;box-shadow:0 1px 2px rgba(0,0,0,.35);}
.mc-teams .flag.h{margin-right:8px;}
.mc-teams .flag.a{margin-left:8px;}
.mc-note{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);font-weight:700;white-space:nowrap;}
.mc-when{font-size:12px;color:rgba(245,239,228,.72);margin-top:3px;}
.mc-result{margin-top:10px;font-size:14px;color:rgba(245,239,228,.7);}
.mc-result b{color:var(--cream);}
.mc-form{display:flex;align-items:center;gap:8px;margin-top:12px;}
/* The score boxes are the hero interaction on this screen — bigger, brighter, and
   gold-ringed on focus so they read as "type here", not passive display. */
body.patron .mc-form input[type=number]{width:70px;min-height:48px;text-align:center;font-weight:700;font-size:22px;padding:10px 6px;background:rgba(245,239,228,.1);border-color:rgba(245,239,228,.3);}
body.patron .mc-form input[type=number]:focus{outline:none;border-color:var(--gold-soft);box-shadow:0 0 0 3px rgba(229,192,103,.22);}
.mc-form .dash{color:rgba(245,239,228,.5);font-weight:700;}
body.patron .mc-form button{margin:0 0 0 auto;width:auto;min-height:44px;padding:10px 18px;font-size:14px;}
.mc-saved{margin-top:8px;font-size:13px;font-weight:700;color:#6fcf97;letter-spacing:.02em;}
.mc-err{margin-top:8px;font-size:13px;font-weight:600;color:#ffb4b4;letter-spacing:.02em;}
/* Win-chance strip + tap-open preview: pick helpers for casual players. Percentages lead
   (anyone can read them); the raw market lines stay tucked inside the expander. */
.mc-odds{margin-top:6px;font-size:12.5px;font-weight:700;letter-spacing:.03em;color:var(--gold-soft);}
.mc-preview{margin-top:9px;}
.mc-preview summary{cursor:pointer;font-size:12.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:rgba(245,239,228,.55);list-style:none;}
.mc-preview summary::-webkit-details-marker{display:none;}
.mc-preview summary::after{content:" ▸";color:var(--gold-soft);}
.mc-preview[open] summary::after{content:" ▾";}
.mc-preview p{margin:7px 0 0;font-size:14px;line-height:1.45;color:rgba(245,239,228,.85);}
.mc-preview .mc-market{font-size:12px;color:rgba(245,239,228,.55);}
.prop-saved{margin-top:8px;font-size:13px;font-weight:700;color:#6fcf97;letter-spacing:.02em;}
.prop-err{margin-top:8px;font-size:13px;font-weight:600;color:#ffb4b4;letter-spacing:.02em;}
.prop-note.saved{color:#6fcf97;font-weight:700;}
.nudge{font-size:13px;color:var(--gold-soft);font-weight:600;margin:2px 0 6px;}
/* Pick-progress strip + jump button (play-page standing card) */
.pickprog{text-align:left;margin:2px 0 12px;}
.pp-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:7px;}
.pp-count{font-size:13px;font-weight:600;color:rgba(245,239,228,.82);}
.pp-open{font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--gold);}
.pp-open.done{color:#8ed1a8;}
.pp-bar{height:7px;border-radius:6px;background:rgba(245,239,228,.12);overflow:hidden;}
.pp-fill{display:block;height:100%;width:0;background:var(--gold);border-radius:6px;transition:width .35s ease;}
.pp-fill.done{background:#6fcf97;}
.jump{display:block;width:-moz-fit-content;width:fit-content;margin:12px auto 0;color:var(--navy);background:var(--gold);font-weight:700;font-size:13px;text-decoration:none;padding:9px 16px;border-radius:9px;}
.jump:hover{background:var(--gold-soft);}
/* Finished days folded into one disclosure to keep the live list short mid-tournament */
.past-days{margin-bottom:10px;border:1px solid rgba(245,239,228,.07);border-radius:14px;background:rgba(8,20,32,.22);overflow:hidden;}
.past-days>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:13px 16px;font-family:Lora,serif;font-weight:700;font-size:15px;color:rgba(245,239,228,.6);user-select:none;}
.past-days>summary::-webkit-details-marker{display:none;}
.past-days>summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:rotate(-45deg);transition:transform .15s;flex:0 0 auto;opacity:.7;}
.past-days[open]>summary::after{transform:rotate(45deg);}
.past-days .pd-label{margin-right:auto;}
.past-days .pd-count{font-family:Inter;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(245,239,228,.5);font-weight:700;}
.past-days .pd-body{padding:2px 12px 8px;}
/* Weekly race + Gillette recognition (play page) */
.streak.weekly{color:var(--gold);}
.streak.ghit{color:#8ed1a8;font-weight:700;}
.match-card.is-gillette{border-color:rgba(229,192,103,.45);background:linear-gradient(180deg,rgba(229,192,103,.08),rgba(8,20,32,.5));}
.match-card.is-gillette .mc-note{background:var(--gold);color:var(--navy);padding:2px 8px;border-radius:20px;font-weight:800;}
/* Preferred-team highlight (a bar's "home team", default USA) */
.mc-tags{display:flex;align-items:center;gap:6px;flex:0 0 auto;}
.match-card.is-pref{border-left:3px solid var(--gold-soft);}
.mc-pref{display:inline-flex;align-items:center;gap:5px;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:var(--cream);background:rgba(245,239,228,.1);border:1px solid rgba(245,239,228,.22);padding:2px 8px;border-radius:20px;font-weight:700;white-space:nowrap;}
.mc-pref .flag{width:18px;height:12px;box-shadow:0 1px 2px rgba(0,0,0,.35);}
/* Board: "Next at Gillette" spotlight card */
.card-gillette .g-spot{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:0 40px;}
.card-gillette .g-eyebrow{font-family:Inter;font-weight:800;font-size:30px;letter-spacing:.05em;text-transform:uppercase;color:var(--gold);text-shadow:0 0 18px rgba(229,192,103,.35);line-height:1.1;}
.card-gillette .big-match{justify-content:center;gap:22px;}
.card-gillette .big-match .nm{font-size:40px;color:#fff;}
.card-gillette .big-match .flag{width:54px;height:36px;box-shadow:0 1px 3px rgba(0,0,0,.4);}
.card-gillette .big-match .vs{font-size:24px;letter-spacing:.1em;}
.card-gillette .g-when{font-size:22px;color:var(--gold-soft);font-weight:600;}
.card-gillette .g-watch{font-size:18px;color:rgba(245,239,228,.82);max-width:46ch;}
.venue-list{list-style:none;padding:0;margin:6px 0 0;}
.venue-list li{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid rgba(245,239,228,.1);}
.venue-list .vn{flex:1;text-decoration:none;min-width:0;}
.venue-list .vn .nm{display:block;font-family:Lora,serif;font-weight:700;font-size:17px;color:#fff;}
.venue-list .vn:hover .nm{text-decoration:underline;}
.venue-list .vn .vt{display:block;font-size:12px;color:rgba(245,239,228,.62);margin-top:2px;}
.venue-list .play{flex:0 0 auto;font-family:Inter;font-size:13px;font-weight:800;color:var(--navy);background:var(--gold);padding:9px 15px;border-radius:22px;text-decoration:none;white-space:nowrap;}
.venue-list .play:hover{background:var(--gold-soft);}
.venue-list .bd{flex:0 0 auto;font-size:12px;color:var(--gold);text-decoration:none;border:1px solid rgba(229,192,103,.4);padding:6px 10px;border-radius:20px;white-space:nowrap;}
.venue-list .empty{color:rgba(245,239,228,.5);}
.venue-filter{margin:0 0 14px;}
.venue-filter select{width:100%;background:rgba(245,239,228,.06);border:1px solid rgba(245,239,228,.18);border-radius:10px;padding:11px 12px;color:#fff;font-size:15px;font-family:inherit;}
.venue-filter select:focus{outline:none;border-color:var(--gold);}
.venue-filter option{color:#16202b;}

/* ===================== SOUTH SHORE STANDINGS (cross-venue) ===================== */
.ss-link{margin-top:-4px;}
.ss-link a{color:var(--gold);font-weight:700;font-size:14px;text-decoration:none;}
.ss-h{font-family:Lora,serif;color:var(--cream);font-size:19px;margin:0 0 12px;}
.ss-h span{display:block;font-family:Inter;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);font-weight:700;margin-top:3px;}
.ss-rank,.ss-rooms{list-style:none;margin:0;padding:0;}
.ss-rank li,.ss-rooms li{display:flex;align-items:center;gap:12px;padding:11px 4px;border-top:1px solid rgba(245,239,228,.08);}
.ss-rank li:first-child,.ss-rooms li:first-child{border-top:none;}
.ss-pos{flex:0 0 24px;text-align:center;font-family:Lora,serif;font-weight:700;font-size:16px;color:rgba(245,239,228,.5);}
.ss-who,.ss-roomname{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;text-decoration:none;}
.ss-name,.ss-roomname .nm{font-size:16px;font-weight:600;color:var(--cream);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ss-bar,.ss-roomname .vt{font-size:12px;color:rgba(245,239,228,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ss-pts{flex:0 0 auto;font-family:Lora,serif;font-weight:700;font-size:18px;color:var(--gold-soft);}
.ss-rank li.lead .ss-pos,.ss-rank li.lead .ss-pts{color:var(--gold);}
.ss-rank li.lead .ss-name{color:#fff;}
.ss-count{flex:0 0 auto;font-family:Lora,serif;font-weight:700;font-size:18px;color:var(--gold-soft);display:flex;align-items:baseline;gap:5px;}
.ss-count small{font-family:Inter;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:rgba(245,239,228,.45);font-weight:700;}
.ss-empty{font-size:14px;color:rgba(245,239,228,.6);line-height:1.5;margin:0;}
.ss-empty a,.ph-foot.center .link{color:var(--gold);}

/* ============== VENUE STANDINGS — self-paced mobile board (/{slug}/standings) ============== */
.st-back{display:inline-block;color:rgba(245,239,228,.7);font-size:13px;font-weight:600;text-decoration:none;margin:0 2px 14px;}
.st-back:hover{color:var(--gold);}
.st-intro{margin-bottom:14px;}
.st-intro h1{font-size:24px;}
/* Pre-results (launch night): participation + countdown, never a wall of zeros. */
.st-pre{text-align:center;margin-bottom:14px;}
.st-hero{font-family:Lora,serif;font-weight:700;font-size:40px;color:var(--gold);line-height:1;}
.st-hero span{display:block;font-family:Inter,sans-serif;font-size:13px;font-weight:600;letter-spacing:.02em;color:rgba(245,239,228,.72);margin-top:8px;}
.st-kick{font-size:13.5px;color:rgba(245,239,228,.78);line-height:1.5;margin:14px 0 0;}
.st-roster{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:7px;}
.st-roster li{background:rgba(245,239,228,.06);border:1px solid rgba(245,239,228,.12);border-radius:20px;padding:6px 13px;font-size:14px;font-weight:600;color:var(--cream);}
.st-roster li.me{background:rgba(229,192,103,.16);border-color:rgba(229,192,103,.5);color:#fff;}
.st-note{font-size:13px;color:rgba(245,239,228,.6);line-height:1.5;margin:16px 0 0;}
/* Segmented control — one board visible at a time, switched in CSS (no network). */
.st-tabs{display:flex;gap:6px;background:rgba(8,20,32,.5);border:1px solid rgba(245,239,228,.1);border-radius:12px;padding:5px;margin:0 0 14px;}
.st-tab{flex:1 1 0;min-height:44px;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin:0;width:auto;color:rgba(245,239,228,.72);font-family:Inter,sans-serif;font-weight:700;font-size:13px;letter-spacing:.01em;padding:10px 6px;border-radius:8px;cursor:pointer;}
.st-tab:hover{color:var(--cream);}
.st-tab.is-on{background:var(--gold);color:var(--navy);}
.st-panel{display:none;margin-bottom:14px;}
.st-panel.is-on{display:block;}
/* The viewer's own row — gold-tinted (echoes the TV board's .row.lead at mobile weight). */
.ss-rank li.you{background:linear-gradient(90deg,rgba(229,192,103,.16),rgba(229,192,103,.03));border-radius:10px;}
.ss-rank li.you,.ss-rank li.you + li{border-top-color:transparent;}
.ss-rank li.you .ss-name{color:#fff;}
.you-tag{display:inline-block;font-family:Inter,sans-serif;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--navy);background:var(--gold);padding:2px 7px;border-radius:20px;font-weight:800;vertical-align:middle;margin-left:6px;}
.ss-rank li.st-flash{animation:stFlash 1.1s ease;}
@keyframes stFlash{0%{background:rgba(229,192,103,.42);}100%{background:rgba(229,192,103,.03);}}
@media (prefers-reduced-motion:reduce){.ss-rank li.st-flash{animation:none;}}
.st-cross{text-align:center;margin:6px 0 2px;}
.st-foot-actions{display:flex;flex-direction:column;align-items:center;gap:7px;margin-top:14px;}
.st-refresh{display:inline-flex;align-items:center;min-height:44px;color:var(--navy);background:var(--gold);font-weight:700;font-size:13px;text-decoration:none;padding:9px 18px;border-radius:9px;}
.st-refresh[hidden]{display:none;}   /* author display: would otherwise override the UA [hidden] rule */
.st-refresh:hover{background:var(--gold-soft);}
.st-updated{font-size:11px;color:rgba(245,239,228,.5);letter-spacing:.03em;}
/* Sticky "find me" pill — fixed bottom, navy-on-gold (echoes the .jump affordance). */
.st-mepill{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(14px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;gap:10px;min-height:44px;max-width:calc(100% - 28px);background:var(--gold);color:var(--navy);font-family:Inter,sans-serif;font-weight:800;font-size:13px;text-decoration:none;padding:9px 16px;border-radius:24px;box-shadow:0 12px 28px rgba(0,0,0,.45);}
.st-mepill .me-pts{font-weight:700;opacity:.82;}
.st-mepill .me-jump{font-size:12px;font-weight:800;background:rgba(15,42,63,.16);padding:4px 10px;border-radius:14px;}
/* Play-page standing card: promote "Full standings", quiet the secondary links. */
.link-lb{display:inline-block;font-size:15px;margin-top:8px;}
.standing-links{margin-top:9px;font-size:13px;}
.standing-links a{color:rgba(245,239,228,.7);text-decoration:none;}
.standing-links a:hover{color:var(--gold);}
.standing-links .dot{color:rgba(245,239,228,.4);margin:0 7px;}

/* ===================== BAR-OWNER DEMO (/demo) ===================== */
.demo-hero h1{font-family:Lora,serif;font-weight:700;font-size:27px;line-height:1.2;color:var(--cream);margin:0 0 12px;}
.demo-hero p{margin:0 0 16px;}
.demo-cta{display:inline-block;background:var(--gold);color:var(--navy);font-weight:800;font-size:16px;text-decoration:none;padding:13px 22px;border-radius:11px;}
.demo-cta:hover{background:var(--gold-soft);}
.demo-castline{font-size:12px;color:rgba(245,239,228,.5);margin:12px 0 0;}
.how-embed{position:relative;width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;border:1px solid rgba(245,239,228,.12);background:var(--navy-2);margin:4px 0 14px;}
.how-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.demo-cta.ghost{background:transparent;border:1px solid rgba(229,192,103,.5);color:var(--gold);padding:11px 18px;font-size:15px;}
.demo-cta.ghost:hover{background:rgba(229,192,103,.1);}
.demo-gets{list-style:none;margin:0;padding:0;display:grid;gap:10px;}
.demo-gets li{position:relative;padding-left:20px;font-size:14.5px;color:rgba(245,239,228,.82);line-height:1.45;}
.demo-gets li b{color:var(--cream);}
.demo-gets li::before{content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 3px rgba(229,192,103,.18);}
.demo-sub{font-size:14px;color:rgba(245,239,228,.7);line-height:1.5;margin:16px 0 0;}
.demo-sub b{color:var(--gold-soft);}
.demo-tiers{display:grid;gap:12px;}
.demo-tier{background:rgba(245,239,228,.05);border:1px solid rgba(245,239,228,.1);border-radius:12px;padding:14px 16px;}
.demo-tier .tnum{font-family:Lora,serif;font-weight:700;font-size:13px;color:var(--gold);letter-spacing:.1em;margin-bottom:5px;}
.demo-tier h3{font-family:Lora,serif;color:var(--cream);font-size:16px;margin:0 0 6px;}
.demo-tier p{margin:0;color:rgba(245,239,228,.72);font-size:13.5px;line-height:1.5;}
.demo-contact{margin-top:16px;padding:18px 20px;background:rgba(229,192,103,.1);border:1px solid rgba(229,192,103,.3);border-radius:12px;display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;align-items:center;}
.dc-k{font-family:Lora,serif;font-weight:700;font-size:18px;color:var(--cream);}
.dc-s{font-size:13px;color:rgba(245,239,228,.72);margin-top:5px;max-width:42ch;line-height:1.45;}
.dc-card{text-align:right;}
.dc-name{font-weight:700;color:var(--gold);font-size:14px;}
.dc-co{font-size:12px;color:rgba(245,239,228,.6);margin-bottom:6px;}
.dc-card a{display:block;color:var(--cream);font-size:13px;text-decoration:none;border-bottom:1px solid rgba(229,192,103,.4);width:-moz-fit-content;width:fit-content;margin-left:auto;padding:1px 0;}
.dc-card a:hover{color:var(--gold);}
@media (max-width:520px){.demo-contact{flex-direction:column;align-items:flex-start;}.dc-card{text-align:left;}.dc-card a{margin-left:0;}}

/* ===================== PRINTABLE TABLE TENT (/{slug}/tent) ===================== */
body.tentpage{background:#e9ecee;color:var(--navy);min-height:100vh;}
.tent-sheet{max-width:460px;margin:0 auto;padding:24px 16px 40px;}
.tent-card{background:radial-gradient(120% 55% at 50% 0%,#fbf7ee 0%,var(--cream) 55%,#efe7d6 100%);border:1px solid rgba(15,42,63,.14);border-radius:16px;padding:34px 30px 26px;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.18);position:relative;overflow:hidden;}
.tent-card::after{content:"";position:absolute;left:0;right:0;bottom:0;height:10px;background:var(--accent);}
.tent-head{display:flex;align-items:center;justify-content:center;gap:12px;}
.tent-mark{width:48px;height:48px;flex:0 0 auto;}
.tent-badge{width:120px;height:auto;display:block;margin:0 auto;}
.tent-words{text-align:left;}
.t-sos{font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--brass);font-weight:800;}
.t-at{font-family:Lora,serif;font-weight:700;font-size:22px;color:var(--navy);line-height:1.05;margin-top:2px;}
.tent-tag{font-family:Lora,serif;font-size:19px;line-height:1.3;color:var(--navy);margin:20px 0 18px;}
.tent-tag b{color:var(--rose);}
.tent-qr{width:200px;height:200px;margin:0 auto;background:#fff;border-radius:14px;padding:14px;box-shadow:0 6px 18px rgba(0,0,0,.12);}
.tent-scan{font-size:13px;font-weight:700;color:var(--brass);letter-spacing:.03em;margin-top:10px;}
.tent-steps{list-style:none;margin:18px 0 0;padding:0;display:inline-block;text-align:left;}
.tent-steps li{display:flex;align-items:center;gap:10px;margin:8px 0;font-size:14.5px;color:#2a2418;}
.tent-steps .n{width:24px;height:24px;flex:0 0 auto;border-radius:50%;background:var(--navy);color:var(--gold);font-family:Lora,serif;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;}
.tent-steps b{color:var(--navy);}
.tent-code{font-size:12px;color:#5b4a30;margin-top:18px;line-height:1.5;}
.tent-code b{color:var(--navy);}
.tent-prize{font-family:Lora,serif;font-weight:700;font-size:17px;color:var(--rose);margin:18px 0 4px;}
.tent-foot{font-size:9.5px;letter-spacing:.03em;color:#8a7958;margin-top:8px;}
.tent-foot b{color:var(--brass);}
.tent-note{max-width:460px;margin:14px auto 0;font-size:12px;color:#5b6772;text-align:center;line-height:1.5;}
@media print{
  body.tentpage{background:#fff;}
  .tent-sheet{max-width:none;padding:0;}
  .tent-card{box-shadow:none;border:1px solid #ccc;border-radius:0;}
  .tent-note{display:none;}
  @page{margin:0.4in;}
}

/* ===================== GENERIC OWNER INFO SHEET (/sheet) ===================== */
body.sheetpage{background:#e9ecee;color:var(--ink);min-height:100vh;}
.sheet-wrap{max-width:720px;margin:0 auto;padding:24px 16px 40px;}
.info-sheet{background:radial-gradient(120% 50% at 50% 0%,#fbf7ee 0%,var(--cream) 55%,#efe7d6 100%);border:1px solid rgba(15,42,63,.14);border-radius:14px;box-shadow:0 20px 55px rgba(0,0,0,.18);padding:34px 40px 26px;position:relative;overflow:hidden;}
.info-sheet::after{content:"";position:absolute;left:0;right:0;bottom:0;height:11px;background:var(--navy);}
.is-head{display:flex;align-items:center;gap:16px;border-bottom:1px solid rgba(15,42,63,.12);padding-bottom:16px;}
.is-crest{width:74px;flex:0 0 auto;}
.is-mark{width:64px;height:64px;flex:0 0 auto;}
.is-words{flex:1;}
.is-sos{font-family:Lora,serif;font-weight:700;font-size:24px;color:var(--navy);line-height:1;}
.is-by{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--rose);font-weight:800;margin-top:5px;}
.is-note{height:62px;margin:14px 0 4px;border-bottom:1px dashed rgba(15,42,63,.22);}
.is-lead{font-family:Lora,serif;font-weight:700;font-style:italic;font-size:23px;color:var(--navy);line-height:1.22;margin:18px 0 8px;}
.is-sub{font-size:13.5px;color:#5b4a30;line-height:1.5;margin:0;}
.is-h{font-family:Inter;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--brass);font-weight:800;margin:20px 0 10px;}
.is-gets{display:grid;grid-template-columns:1fr 1fr;gap:9px 24px;margin:0;padding:0;list-style:none;}
.is-gets li{position:relative;padding-left:18px;font-size:13px;color:#2a2418;line-height:1.4;}
.is-gets li b{color:var(--navy);}
.is-gets li::before{content:"";position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 2px rgba(229,192,103,.3);}
.is-next{display:flex;flex-direction:column;gap:9px;}
.is-next .n{display:flex;gap:12px;align-items:flex-start;}
.is-next .nx{width:26px;height:26px;flex:0 0 auto;border-radius:50%;background:var(--navy);color:var(--gold);font-family:Lora,serif;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;margin-top:1px;}
.is-next .tx{font-size:13px;color:#3a3325;line-height:1.4;}
.is-next .tx b{color:var(--navy);}
.is-foot{margin-top:22px;padding-top:14px;border-top:1px solid rgba(15,42,63,.12);display:flex;justify-content:space-between;align-items:flex-end;gap:14px;}
.is-foot .who b{font-family:Lora,serif;color:var(--navy);font-size:15px;display:block;}
.is-foot .who .co{color:var(--rose);font-weight:800;font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin:2px 0 5px;}
.is-foot .who a{color:#3a4652;text-decoration:none;border-bottom:1px solid rgba(184,134,75,.5);font-size:12px;}
.is-foot .legal{font-size:9px;color:#8a7958;text-align:right;max-width:180px;line-height:1.45;}
@media print{
  body.sheetpage{background:#fff;}
  .sheet-wrap{max-width:none;padding:0;}
  .info-sheet{box-shadow:none;border:none;border-radius:0;}
  @page{margin:0.5in;size:letter portrait;}
}

/* ============================= TV BOARD ============================= */
body.boardpage{background:var(--page);}
.board-wrap{position:fixed;inset:0;overflow:hidden;background:var(--page);}
.board{position:absolute;top:0;left:0;transform-origin:top left;}
.crest{display:block;height:auto;}
.crest-board{width:120px;filter:drop-shadow(0 0 16px rgba(229,192,103,.4));}
.crest-head{width:86px;}
.ph-head.crested{flex-direction:column;align-items:center;text-align:center;gap:6px;}
.ph-head.crested .ph-venue.cap{letter-spacing:.16em;}
.board{width:1200px;height:675px;flex:0 0 auto;background:radial-gradient(120% 90% at 50% -10%,#16344b 0%,var(--navy) 46%,var(--navy-2) 100%);border-radius:16px;border:1px solid rgba(229,192,103,.28);box-shadow:0 30px 70px rgba(0,0,0,.5),inset 0 0 0 6px rgba(12,28,44,.6);position:relative;overflow:hidden;display:flex;flex-direction:column;padding:30px 36px 22px;}
.board::before{content:"";position:absolute;inset:0;opacity:.06;pointer-events:none;background:radial-gradient(circle at 50% 120%,rgba(245,239,228,.9) 0 1px,transparent 2px);background-size:auto;}
.board-head{display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative;z-index:2;}
.head-brand{display:flex;align-items:center;gap:14px;min-width:0;}
/* Persistent join QR in the header — small cream tile + a "scan to play" kicker; on the
   owner's tokened TV the daily code stacks under the kicker, visible on every slide. */
.head-join{display:flex;align-items:center;gap:12px;flex:0 0 auto;}
.head-join-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px;}
.head-join-label{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--gold);text-align:right;line-height:1.16;}
.head-join-scan{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:rgba(245,239,228,.72);text-align:right;}
.head-code{font-size:11px;color:rgba(245,239,228,.6);white-space:nowrap;}
.head-code b{font-family:Inter,system-ui,sans-serif;font-weight:800;letter-spacing:.12em;color:var(--gold);background:rgba(229,192,103,.12);padding:2px 7px;border-radius:6px;}
.head-join .qr{width:104px;height:104px;background:var(--cream);border-radius:10px;padding:7px;flex:0 0 auto;box-shadow:0 6px 16px rgba(0,0,0,.3);}
/* The credits card carries its own QR (lanternharbor.co); hide the header join QR there
   (opacity, not display, so the brand lockup keeps its place and doesn't slide right).
   The next-match card relies on this header QR — its in-card panel is gone. */
.board.head-bare .head-join{opacity:0;pointer-events:none;}
.sos-lockup{display:flex;align-items:center;gap:14px;}
.sos-mark{width:78px;height:78px;flex:0 0 auto;filter:drop-shadow(0 0 14px rgba(229,192,103,.4));}
.sos-words .k{font-family:Lora,Georgia,serif;font-weight:700;font-size:31px;letter-spacing:.5px;color:var(--cream);line-height:1;}
.sos-words .s{display:block;margin-top:5px;font-size:12px;letter-spacing:.36em;text-transform:uppercase;color:var(--gold);font-weight:700;}
.pub-chip{display:flex;align-items:center;gap:11px;background:var(--cream);border-radius:11px;padding:8px 14px;box-shadow:0 8px 22px rgba(0,0,0,.35);}
.pub-chip img{height:40px;width:auto;display:block;}
.pub-chip.word{padding:12px 20px;}
.pub-meta{line-height:1.15;text-align:right;}
.pub-meta .t{font-family:Lora,serif;font-weight:700;color:var(--ink);font-size:15px;}
.pub-chip.word .pub-meta .t{font-size:21px;}
.pub-meta .d{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#5a4a2c;font-weight:700;margin-top:3px;}
.rule{height:2px;background:linear-gradient(90deg,transparent,rgba(229,192,103,.55),transparent);margin:16px 0 14px;position:relative;z-index:2;}
.board-body{display:grid;grid-template-columns:1.35fr 1fr;gap:26px;flex:1;position:relative;z-index:2;min-height:0;}
.lb-title{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px;}
.lb-title h2{font-family:Lora,serif;font-weight:700;font-size:27px;margin:0;color:var(--cream);}
.lb-title h2 span{color:var(--gold);}
.lb-title .sub{font-size:13px;color:rgba(245,239,228,.72);letter-spacing:.04em;}
.lb{display:flex;flex-direction:column;gap:7px;}
.row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;padding:9px 16px;border-radius:10px;background:rgba(245,239,228,.045);border:1px solid rgba(245,239,228,.06);}
.row .rank{font-family:Lora,serif;font-weight:700;font-size:22px;color:rgba(245,239,228,.62);text-align:center;}
.row .who{font-size:20px;font-weight:600;color:var(--cream);}
.row .pts{font-family:Lora,serif;font-weight:700;font-size:22px;color:var(--gold-soft);}
.row .pts small{font-size:10px;font-weight:600;color:rgba(245,239,228,.62);letter-spacing:.1em;text-transform:uppercase;margin-left:3px;}
.row.lead{background:linear-gradient(90deg,rgba(229,192,103,.20),rgba(229,192,103,.05));border-color:rgba(229,192,103,.55);border-left:3px solid var(--accent);}
.row.lead .rank{color:var(--gold);}
.row.lead .who{color:#fff;}
.row.lead .crown{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--navy);background:var(--gold);padding:3px 10px;border-radius:20px;font-weight:800;margin-left:10px;vertical-align:middle;}
.lb-empty{color:rgba(245,239,228,.62);font-style:italic;padding:26px 6px;font-size:15px;}
.side{display:flex;flex-direction:column;gap:14px;min-height:0;}
.panel{background:rgba(8,20,32,.55);border:1px solid rgba(245,239,228,.09);border-radius:12px;padding:15px 17px;}
.panel .eyebrow{font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);font-weight:800;margin-bottom:9px;}
.match{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.team{display:flex;align-items:center;gap:9px;}
.flag{width:26px;height:18px;border-radius:3px;flex:0 0 auto;box-shadow:0 1px 3px rgba(0,0,0,.4);overflow:hidden;display:inline-block;object-fit:cover;background:#33485c;}
.team .nm{font-family:Lora,serif;font-weight:700;font-size:18px;color:var(--cream);}
.vs{font-size:11px;letter-spacing:.16em;color:rgba(245,239,228,.45);font-weight:700;}
.match-time{margin-top:8px;font-size:14px;color:rgba(245,239,228,.75);}
.match-time b{color:var(--cream);}
.f-haiti{background:linear-gradient(180deg,#00209f 50%,#d21034 50%);}
.f-scot{background:#0065bf;position:relative;}
.f-scot::before,.f-scot::after{content:"";position:absolute;inset:0;}
.f-scot::before{background:linear-gradient(45deg,transparent 43%,#fff 43% 57%,transparent 57%);}
.f-scot::after{background:linear-gradient(-45deg,transparent 43%,#fff 43% 57%,transparent 57%);}
.f-eng{background:#fff;position:relative;}
.f-eng::before{content:"";position:absolute;inset:0;background:linear-gradient(#cf142b,#cf142b) center/100% 32% no-repeat,linear-gradient(#cf142b,#cf142b) center/32% 100% no-repeat;}
.f-gha{background:linear-gradient(180deg,#ce1126 33.3%,#fcd116 33.3% 66.6%,#006b3f 66.6%);}
.f-mor{background:#c1272d;}
.f-nor{background:#ba0c2f;position:relative;}
.f-nor::before{content:"";position:absolute;inset:0;background:linear-gradient(#fff,#fff) 9px 0/4px 100% no-repeat,linear-gradient(#fff,#fff) 0 6px/100% 6px no-repeat;}
.f-nor::after{content:"";position:absolute;inset:0;background:linear-gradient(#00205b,#00205b) 10px 0/2px 100% no-repeat,linear-gradient(#00205b,#00205b) 0 7px/100% 4px no-repeat;}
.prize{background:linear-gradient(120deg,rgba(138,31,36,.5),rgba(8,20,32,.4));border-color:rgba(192,40,47,.4);}
.prize .cup{font-family:Lora,serif;font-weight:700;font-size:19px;color:var(--cream);margin:0 0 3px;}
.prize .cup b{color:var(--gold);}
.prize p{margin:0;font-size:12.5px;line-height:1.45;color:rgba(245,239,228,.78);}
.join{display:flex;align-items:center;gap:15px;}
.join .qr{width:96px;height:96px;flex:0 0 auto;background:var(--cream);border-radius:10px;padding:9px;}
.join .how{flex:1;}
.join .how .big{font-family:Lora,serif;font-weight:700;font-size:16px;color:var(--cream);line-height:1.25;}
.join .how .code{margin-top:7px;font-size:12px;color:rgba(245,239,228,.6);}
.join .how .code b{font-family:Inter;font-weight:800;letter-spacing:.12em;color:var(--gold);background:rgba(229,192,103,.12);padding:2px 8px;border-radius:6px;}
.board-foot{display:flex;align-items:center;justify-content:space-between;margin-top:14px;position:relative;z-index:2;}
.board-foot .by{font-size:12px;color:rgba(245,239,228,.62);}
.board-foot .by b{color:rgba(245,239,228,.85);font-weight:600;}
.board-foot .legal{font-size:11px;color:rgba(245,239,228,.62);letter-spacing:.03em;}
.board-standings{display:none;}   /* mobile-only door to /standings; shown in the ≤820px block */
/* Phones: drop the fixed-TV scaling and lay the board out full-width, single column. */
@media (max-width:820px){
  .board-wrap{position:static;overflow:visible;}
  .board{position:static;width:100%;height:auto;min-height:100vh;transform:none !important;border-radius:0;border:0;box-shadow:none;padding:22px 16px 30px;}
  /* The join QR is dead weight on a phone — you can't scan a code with the screen showing it,
     and a viewer here is already in. Hidden on mobile only; the TV keeps it (it's the room's
     join surface). The brand lockup is now alone, so center it. */
  .board-head{flex-wrap:wrap;gap:12px;justify-content:center;}
  .head-join{display:none;}
  .board-body{grid-template-columns:1fr;gap:18px;}
  .crest-board{width:96px;}
  /* On mobile every board layer is position:static, so the deck's pitch motif (absolute,
     inset:0) would resolve against the viewport — a stray centerline down the whole scroll. */
  .board-deck::before{display:none;}
  .board-foot{flex-direction:column;gap:4px;text-align:center;}
}

/* ============================= ROTATING BOARD DECK ============================= */
/* The board frame (head + rule + foot) stays pinned; only this deck of full-screen
   cards rotates. Cards stack absolutely and cross-fade; the active one is opaque. */
.board-deck{position:relative;flex:1;min-height:0;z-index:2;}
/* Faint pitch geometry — a center circle + halfway line at very low opacity, behind the cards.
   Atmosphere without official marks. If it muddies the navy on a real TV, delete this rule. */
.board-deck::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(circle at 50% 50%, transparent 122px, rgba(229,192,103,.05) 123px 125px, transparent 126px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(229,192,103,.045) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));}
/* The sponsor/credits card drops the pitch motif (board.js toggles .bare on the deck when it's active). */
.board-deck.bare::before{opacity:0;}
.board-card{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;overflow:hidden;
  opacity:0;visibility:hidden;transition:opacity .6s ease;pointer-events:none;}
.board-card.is-active{opacity:1;visibility:visible;pointer-events:auto;}
@media (prefers-reduced-motion:reduce){.board-card{transition:none;}}

/* Leaderboard card — a split: rows fill the wide left column, a persistent scan-to-join
   QR sits on the right (the most-returned-to card now always shows how to get on the board). */
.card-lb{padding:0 14px;}
/* Full-width two-column leaderboard (top 10): 10 rows flow into two columns of five (column-first,
   so the gold leader sits top-left). Only 5 rows tall, so it clears the deck with room to spare. */
.card-lb .lb{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(5,auto);grid-auto-flow:column;gap:9px 44px;}
.card-lb .lb-empty{grid-column:1/-1;}
.card-lb .row{padding:10px 18px;}
.card-lb .row.lead{padding:12px 18px;}
.card-lb .row .rank{font-size:25px;}
.card-lb .row .who{font-size:26px;}
.card-lb .row .pts{font-size:27px;}
.card-lb .who{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* The header now carries the join QR, so the leaderboard fills the full width: lb-main spans the
   card and the rows flow into the two-column grid below. */
.card-lb .lb-main{flex:1 1 auto;max-width:none;min-width:0;}
/* Two-column "content + QR action" split — the credits card fills the 16:9 width
   instead of a narrow centered column. */
.card-split{flex-direction:row;align-items:center;justify-content:space-between;gap:40px;padding:0 44px;}
.card-split .split-main{flex:0 1 auto;max-width:500px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:18px;}
.card-split .split-aside{flex:0 0 auto;align-self:center;display:flex;flex-direction:column;
  align-items:center;text-align:center;justify-content:center;gap:14px;}

/* Next match — matchup/kickoff/prize left, the written preview in its own right column
   behind a quiet gold divider (the credits-aside vocabulary). The persistent header QR is
   this slide's join surface (no in-card QR). */
.card-next{flex-direction:row;align-items:center;justify-content:flex-start;gap:44px;padding:0 44px;}
.next-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:24px;}
.card-next .next-block{text-align:left;}
.card-next .eyebrow{justify-content:flex-start;}
.card-next .big-match{justify-content:flex-start;gap:20px;margin-top:6px;}
.card-next .big-match .nm{font-size:34px;white-space:nowrap;}  /* fitNextMatch() shrinks long pairings to fit */
.card-next .big-match .flag{width:48px;height:32px;}
.card-next .match-time{text-align:left;font-size:17px;margin-top:10px;}
.next-aside{flex:0 0 430px;align-self:center;display:flex;flex-direction:column;gap:10px;
  border-left:1px solid rgba(229,192,103,.14);padding-left:36px;}
.next-aside .eyebrow{justify-content:flex-start;}
/* Sized for the AI writer's 240-char target: the 430px aside nets ~393px of text after
   its divider padding, ~41 chars/line x 6 lines at 19px. Clamped so the 300-char hard
   cap (or a long admin override) clips gracefully instead of spilling the fixed 675px
   frame. */
.next-preview{font-family:Lora,Georgia,serif;font-size:19px;line-height:1.5;
  color:rgba(245,239,228,.88);display:-webkit-box;-webkit-line-clamp:6;
  -webkit-box-orient:vertical;overflow:hidden;}
.card-next .board-prize{align-self:flex-start;max-width:640px;text-align:left;margin-top:0;padding:12px 16px;}

/* Recent results card (and the live-now card, which shares the .rr layout) */
.card-recent .rr,.card-live .rr{display:flex;flex-direction:column;gap:9px;}
.rr-item{background:rgba(245,239,228,.045);border:1px solid rgba(245,239,228,.06);border-radius:10px;padding:9px 18px;}
.rr-match{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;}
.rr-team{display:flex;align-items:center;gap:10px;min-width:0;}
.rr-team.home{justify-content:flex-end;}
.rr-team .nm{font-family:Lora,serif;font-weight:700;font-size:23px;color:var(--cream);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rr-score{font-family:Lora,serif;font-weight:700;font-size:27px;color:var(--gold-soft);white-space:nowrap;letter-spacing:.02em;}
.rr-cap{margin-top:5px;text-align:center;font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:rgba(245,239,228,.66);}

/* Live-now card — shares the recent-results .rr layout. A pulsing red dot in the title plus the
   running minute in the caption read "happening right now" from across a bar. */
.live-dot{display:inline-block;width:.52em;height:.52em;margin-right:.4em;border-radius:50%;
  background:#e5484d;vertical-align:middle;box-shadow:0 0 0 0 rgba(229,72,77,.55);animation:livePulse 1.6s ease-out infinite;}
.rr-cap.rr-live{color:#f0a8aa;font-weight:700;}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(229,72,77,.55);}70%{box-shadow:0 0 0 9px rgba(229,72,77,0);}100%{box-shadow:0 0 0 0 rgba(229,72,77,0);}}
@media (prefers-reduced-motion:reduce){.live-dot{animation:none;}}
/* Live card scales to the match count (never more than 2): 1 = hero, 2 = large two-row; 3+ falls back
   to the base .rr-* sizing. Set by renderLive + server first paint via .live-n1 / .live-n2. */
/* Hero (single-match) live card centers title + score + preview as one group. */
.card-live.live-n1{justify-content:center;gap:22px;}
.card-live.live-n1 .rr{justify-content:center;flex:0 1 auto;}
.card-live.live-n1 .rr-item{padding:22px 26px;}
.card-live.live-n1 .rr-match{gap:26px;}
.card-live.live-n1 .rr-team .nm{font-size:36px;}     /* fits the widest pairing (Bosnia & Herzegovina v United States) without ellipsis */
.card-live.live-n1 .rr-team .flag{width:56px;height:38px;}
.card-live.live-n1 .rr-score{font-size:50px;}
.card-live.live-n1 .rr-cap.rr-live{font-size:18px;margin-top:10px;}
.card-live.live-n2 .rr{justify-content:center;gap:16px;}
.card-live.live-n2 .rr-item{padding:16px 22px;}
.card-live.live-n2 .rr-team .nm{font-size:30px;}
.card-live.live-n2 .rr-team .flag{width:46px;height:31px;}
.card-live.live-n2 .rr-score{font-size:40px;}
/* The written preview under the live score (single-match hero card only — renderLive hides it
   for 2+ live or no text). Lora, centered, the next-card preview vocabulary. */
.card-live .live-preview{font-family:Lora,Georgia,serif;font-size:22px;line-height:1.5;
  color:rgba(245,239,228,.85);text-align:center;max-width:60ch;margin:0 auto;padding:0 40px;}
.card-live .live-preview[hidden]{display:none;}
/* Goalscorers + key-stat strip on the hero live card (from the /summary feed). */
.card-live .live-meta{display:flex;flex-direction:column;align-items:center;gap:16px;margin:0 auto;}
.card-live .live-goals{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px;}
.live-goal{display:inline-flex;align-items:center;gap:9px;font-family:Lora,Georgia,serif;font-size:22px;color:var(--cream);}
.live-goal .goal-ball{width:13px;height:13px;flex:0 0 auto;border-radius:50%;box-shadow:0 1px 2px rgba(0,0,0,.45);
  background:radial-gradient(circle at 35% 30%,#fff 0 16%,var(--gold) 18% 58%,#8f7220 100%);}
.live-goal .goal-face{width:30px;height:30px;flex:0 0 auto;border-radius:50%;object-fit:cover;object-position:top center;
  background:#241a10;border:1.5px solid var(--gold);box-shadow:0 1px 3px rgba(0,0,0,.5);}
.live-goal .goal-flag{width:24px;height:16px;}
.live-goal .goal-who{font-weight:600;}
.card-live .live-stats{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:560px;}
.live-stats .stat-label{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,239,228,.5);}
.stat-poss{display:flex;align-items:center;gap:14px;width:100%;}
.stat-poss .poss-pct{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:17px;color:var(--gold-soft);min-width:3.1em;text-align:center;}
.stat-poss .poss-pct:last-child{color:rgba(245,239,228,.66);}     /* away side dimmed to mirror the gold|dim bar */
.poss-bar{flex:1;display:flex;height:11px;border-radius:6px;overflow:hidden;background:rgba(245,239,228,.1);}
.poss-bar .poss-h{height:100%;background:linear-gradient(90deg,var(--gold-soft),var(--gold));}
.poss-bar .poss-a{flex:1;height:100%;background:rgba(245,239,228,.2);}
/* Shots / on-target as two labeled figures (caps label + brighter value), a gold dot between. */
.stat-figs{display:flex;align-items:baseline;justify-content:center;gap:30px;}
.stat-fig{display:inline-flex;align-items:baseline;gap:9px;position:relative;}
.stat-fig + .stat-fig::before{content:"";position:absolute;left:-15px;top:50%;width:4px;height:4px;margin-top:-2px;border-radius:50%;background:var(--gold);opacity:.7;}
.stat-fig-label{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:11.5px;letter-spacing:.13em;text-transform:uppercase;color:rgba(245,239,228,.5);}
.stat-fig-val{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:18px;letter-spacing:.01em;color:rgba(245,239,228,.92);}
/* Full Time recap card — a TWO-COLUMN TV scoreboard (paintRecap fills #recap-body): LEFT ~68% = the
   result board (FULL TIME badge → winner-first STACKED scoreline → story chip); RIGHT ~32% = the join
   sidebar (leaderboard CTA + the cloned header QR + scorers). Reflows to one column ≤820px. */
.card-recap{justify-content:center;}
.card-recap .lb-title{display:none;}                  /* the FULL TIME badge replaces it */
.recap-body{display:flex;flex-direction:row;align-items:stretch;gap:46px;width:100%;padding:0 46px;}
.recap-left{flex:2 1 0;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px;}
.recap-right{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:24px;border-left:1px solid rgba(229,192,103,.22);padding-left:44px;}
/* FULL TIME badge (gold pill) + the stage/occasion context beside it */
.recap-badge{display:flex;align-items:center;gap:12px;}
.recap-ft{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:14px;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);background:rgba(229,192,103,.1);border:1px solid rgba(229,192,103,.4);border-radius:999px;padding:5px 14px 5px 18px;}
.recap-context{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,239,228,.62);}
/* Winner-first STACKED scoreline — the per-team score owns the card; the loser row dims. */
.recap-scoreboard{display:flex;flex-direction:column;gap:6px;width:100%;}
.score-row{display:flex;align-items:center;gap:20px;width:100%;}
.score-row .score-bar{flex:0 0 auto;width:5px;align-self:stretch;border-radius:3px;box-shadow:0 0 8px rgba(0,0,0,.3);}
.score-row .flag{flex:0 0 auto;width:66px;height:44px;border-radius:3px;}
.score-row .score-team{flex:1 1 auto;min-width:0;font-family:Lora,Georgia,serif;font-weight:700;font-size:44px;line-height:1.02;color:var(--cream);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.score-row .score-num{flex:0 0 auto;font-family:Lora,Georgia,serif;font-weight:700;font-size:90px;line-height:.92;color:var(--gold-soft);}
.score-row.is-winner .score-num{color:var(--gold);}
.score-row.is-loser{opacity:.55;}
/* Story CHIP — the angle the bare score doesn't convey (COMEBACK WIN, LATE WINNER, …). */
.recap-story{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:15px;letter-spacing:.15em;text-transform:uppercase;color:var(--navy);background:linear-gradient(180deg,var(--gold-soft),var(--gold));border-radius:7px;padding:7px 16px;box-shadow:0 2px 8px rgba(0,0,0,.3);}
/* RIGHT data panel — MATCH STATS (label left, value right) + a possession split bar; then scorers. */
.recap-statpanel{display:flex;flex-direction:column;gap:9px;width:100%;}
.statpanel-label{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-soft);}
.stat-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;}
.stat-k{font-family:Inter,system-ui,sans-serif;font-weight:600;font-size:14px;letter-spacing:.04em;color:rgba(245,239,228,.62);}
.stat-v{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:21px;letter-spacing:.01em;color:var(--cream);}
.stat-bar{display:flex;height:9px;border-radius:5px;overflow:hidden;background:rgba(245,239,228,.1);margin-top:-2px;}
.stat-bar .stat-bar-h{height:100%;background:linear-gradient(90deg,var(--gold-soft),var(--gold));}
.stat-bar .stat-bar-a{flex:1;height:100%;background:rgba(245,239,228,.2);}
/* Scorers — winner-first, LEFT-aligned, below the stats. */
.recap-scorers{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;}
.recap-team-row{display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:left;}
.recap-team-name{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:rgba(245,239,228,.6);}
.recap-team-scorers{font-family:Lora,Georgia,serif;font-weight:600;font-size:17px;line-height:1.3;color:var(--cream);}
/* How to Play card — a centered, glanceable 4-step explainer (big numbered pills); the board
   foot already carries the legal line. With a check-in venue (.has-bonus) it splits: compact
   steps left, the incentive splash right. */
.card-howto{align-items:center;justify-content:center;text-align:center;gap:10px;}
.card-howto .lb-title{justify-content:center;margin-bottom:0;}
.howto-left{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;}
.howto{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;width:100%;max-width:720px;}
.howto li{display:flex;align-items:center;gap:20px;background:rgba(245,239,228,.045);border:1px solid rgba(245,239,228,.06);border-radius:12px;padding:8px 26px;}
.howto .n{flex:0 0 auto;width:48px;height:48px;border-radius:50%;background:var(--gold);color:var(--navy);font-family:Lora,serif;font-weight:800;font-size:26px;display:flex;align-items:center;justify-content:center;}
.howto .tx{font-family:Lora,serif;font-weight:700;font-size:27px;color:var(--cream);text-align:left;}
/* Two-column split when the venue runs the per-match check-in. */
.card-howto.has-bonus{flex-direction:row;align-items:center;justify-content:center;gap:48px;padding:0 48px;text-align:left;}
.card-howto.has-bonus .howto-left{flex:1 1 55%;align-items:flex-start;max-width:640px;}
.card-howto.has-bonus .lb-title{justify-content:flex-start;}
.card-howto.has-bonus .howto{max-width:none;gap:9px;}
.card-howto.has-bonus .howto li{padding:8px 22px;gap:16px;}
.card-howto.has-bonus .howto .n{width:42px;height:42px;font-size:23px;}
.card-howto.has-bonus .howto .tx{font-size:23px;}
/* The incentive splash — the reason to be AT the bar, not a fifth instruction. Gold medallion
   (CSS-drawn, crest-glow idiom), uppercase headline, one support line. */
.howto-splash{flex:0 0 380px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;
  padding:30px 30px 26px;background:rgba(229,192,103,.14);border:1px solid rgba(229,192,103,.45);border-radius:18px;}
.hs-medal{width:118px;height:118px;border-radius:50%;background:var(--gold);color:var(--navy);
  font-family:Lora,serif;font-weight:800;font-size:44px;display:flex;align-items:center;justify-content:center;
  filter:drop-shadow(0 0 24px rgba(229,192,103,.45));}
.hs-head{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:29px;line-height:1.2;
  letter-spacing:.04em;text-transform:uppercase;color:var(--cream);}
.hs-sub{font-family:Lora,Georgia,serif;font-size:19px;line-height:1.4;color:rgba(245,239,228,.85);max-width:300px;}
.hs-big{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:16px;line-height:1.35;
  letter-spacing:.03em;color:var(--gold);max-width:300px;}

/* South Shore regional card — global, so it uses gold (never the per-venue --accent) */
.card-regional .rg{display:flex;flex-direction:column;gap:6px;}
.rg-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;padding:8px 16px;border-radius:10px;background:rgba(245,239,228,.045);border:1px solid rgba(245,239,228,.06);}
.rg-row.top{border-color:rgba(229,192,103,.45);}
.rg-row .rank{font-family:Lora,serif;font-weight:700;font-size:20px;color:rgba(245,239,228,.55);text-align:center;}
.rg-row.top .rank{color:var(--gold);}
.rg-row .who{min-width:0;display:flex;flex-direction:column;line-height:1.2;}
.rg-name{font-size:20px;font-weight:600;color:var(--cream);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rg-bar{font-size:11px;letter-spacing:.03em;color:rgba(245,239,228,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.rg-row .pts{font-family:Lora,serif;font-weight:700;font-size:20px;color:var(--gold-soft);}

/* Lantern Harbor credits card — logo + tagline left, scan-to-Lantern-Harbor panel right */
.card-credits .split-main{align-items:flex-start;text-align:left;gap:12px;}
.eyebrow.gold{font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);font-weight:800;}
/* Lantern Harbor wordmark, cream Lora — the brand's dark-bg treatment (matches the business card + site).
   Swap to <img class="lh-logo-dark"> once the generated dark-mode PNG lands. */
.lh-wordmark{font-family:Lora,serif;font-weight:700;font-size:44px;line-height:1;letter-spacing:.5px;color:var(--cream);align-self:flex-start;}
.lh-logo-dark{display:block;width:340px;max-width:46vw;height:auto;align-self:flex-start;}
/* Proof line — "We built this leaderboard." — the strongest non-brand line, readable across a bar. */
.credits-built{margin:2px 0 0;font-family:Lora,serif;font-weight:700;font-size:30px;line-height:1.16;color:var(--cream);}
/* QR scan CTA — give the code a reason to be scanned. */
.credits-scan{font-family:Inter,system-ui,sans-serif;font-weight:700;font-size:18px;line-height:1.3;color:var(--cream);max-width:230px;text-align:center;}
/* Subtle, intentional divider between the message and the QR (replaces the incidental pitch line). */
.card-credits .credits-aside{border-left:1px solid rgba(229,192,103,.14);padding-left:40px;}
.credits-line{margin:0;font-family:Lora,serif;font-size:19px;line-height:1.5;color:rgba(245,239,228,.84);max-width:470px;}
/* credits QR column — de-boxed to match (cream tile + lanternharbor.co label, no panel) */
.credits-aside .qr{width:200px;height:200px;flex:0 0 auto;background:var(--cream);border-radius:12px;padding:10px;}
.credits-cta{text-align:center;}
.credits-url{font-family:Inter;font-weight:800;letter-spacing:.06em;color:var(--gold);font-size:20px;}
.credits-sub{font-size:14px;color:rgba(245,239,228,.78);margin-top:4px;}

/* Per-venue full-bleed TV hero card — a brand eye-catch that fills the 1200x675 board. */
.card-hero{padding:0;align-items:stretch;justify-content:stretch;overflow:hidden;}
.hero-image{width:100%;height:100%;object-fit:cover;display:block;}
/* While the hero is up, drop the board chrome (head/rule/foot) + padding so it fills the whole frame. */
.board.hero-full{padding:0;}
.board.hero-full .board-head,
.board.hero-full .rule,
.board.hero-full .board-foot{display:none;}

/* "A result just landed" — one-shot, on the (no resting-shadow) card, reduced-motion safe */
@keyframes boardLanded{0%{box-shadow:inset 0 0 0 2px var(--accent);}55%{box-shadow:inset 0 0 26px 1px var(--accent-tint);}100%{box-shadow:none;}}
.board-card.just-updated{animation:boardLanded 1.4s ease-out;}
@media (prefers-reduced-motion:reduce){.board-card.just-updated{animation:none;}}
/* Goal! — a gold pulse on the live card the moment the board snaps to it on a goal (see liveFlash). */
@keyframes goalLanded{0%{box-shadow:inset 0 0 0 3px var(--gold);}55%{box-shadow:inset 0 0 34px 2px rgba(229,192,103,.55);}100%{box-shadow:none;}}
.board-card.card-live.goal-flash{animation:goalLanded 1.4s ease-out;}
@media (prefers-reduced-motion:reduce){.board-card.card-live.goal-flash{animation:none;}}

/* Phones / desktop windows below the TV breakpoint: drop the absolute stack, show the
   active card in normal flow (the board itself is already static here, see above). */
@media (max-width:820px){
  .board-deck{position:static;}
  .board-card{position:static;overflow:visible;}
  .board-card:not(.is-active){display:none;}
  /* Collapse the two-column split: content stacks above the QR panel, re-centered. */
  .card-split{flex-direction:column;align-items:stretch;gap:18px;}
  .card-split .split-main{max-width:none;}
  .card-split .split-aside{flex:1 1 auto;}
  .card-next .next-block,.card-next .match-time{text-align:center;}
  .card-next .big-match,.card-next .eyebrow{justify-content:center;}
  .card-next .board-prize{align-self:stretch;max-width:none;text-align:center;}
  .card-next{flex-direction:column;align-items:stretch;gap:18px;}
  .next-main{align-items:center;}
  .next-aside{flex:1 1 auto;border-left:0;padding-left:0;align-items:center;text-align:center;}
  .card-howto.has-bonus{flex-direction:column;text-align:center;gap:18px;padding:0 16px;}
  .card-howto.has-bonus .howto-left{align-items:center;}
  .card-howto.has-bonus .lb-title{justify-content:center;}
  .howto-splash{flex:1 1 auto;}
  .card-credits .split-main{align-items:center;text-align:center;}
  .card-credits .credits-aside{border-left:0;padding-left:0;}   /* divider only makes sense in the two-column TV layout */

  /* --- phone type: the cards above are sized for a 1200px frame; trim to a 358px column. --- */
  .lb-title h2{font-size:22px;}
  /* Leaderboard: the two-column grid (freed by the now-hidden header QR on TV) stacks to one. */
  .card-lb{padding:0;}
  .card-lb .lb{grid-template-columns:1fr;grid-auto-flow:row;grid-template-rows:none;gap:7px;}
  .card-lb .row,.card-lb .row.lead{padding:9px 14px;}
  .card-lb .row .rank{font-size:18px;}
  .card-lb .row .who{font-size:18px;}
  .card-lb .row .pts{font-size:19px;}
  .card-lb .row.lead .crown{display:none;}   /* the gold gradient/border/rank already mark #1; the "Top of the table" pill crowds the single-column row (clipped to "TOP OF …") */
  .rr-match{gap:10px;}
  /* Live now — the biggest TV type; the opener streams here tonight. The name–score–name row
     can't fit two long countries on a 358px phone (Bosnia & Herzegovina v United States), so
     stack each team over the score: full-width names that wrap instead of clip, still big and
     glanceable in your hand. */
  .card-live .rr-match{grid-template-columns:1fr;justify-items:center;gap:4px;}
  .card-live .rr-team{justify-content:center;}
  .card-live .rr-team .nm{white-space:normal;overflow:visible;text-overflow:clip;text-align:center;}
  .card-live.live-n1 .rr-item{padding:18px 16px;}
  .card-live.live-n1 .rr-team .nm{font-size:24px;}
  .card-live.live-n1 .rr-team .flag{width:30px;height:20px;}
  .card-live.live-n1 .rr-score{font-size:34px;}
  .card-live.live-n1 .rr-cap.rr-live{font-size:14px;margin-top:8px;}
  .card-live.live-n2 .rr-team .nm{font-size:20px;}
  .card-live.live-n2 .rr-score{font-size:28px;}
  .card-live .live-preview{font-size:15px;padding:0 6px;max-width:none;}
  .card-live .live-meta{gap:12px;}
  .live-goal{font-size:16px;gap:7px;}
  .live-goal .goal-flag{width:20px;height:13px;}
  .stat-poss .poss-pct{font-size:13px;}
  .live-stats .stat-label{font-size:10px;}
  .card-live .live-stats{max-width:none;}
  .stat-figs{gap:22px;}
  .stat-fig-val{font-size:15px;}
  .stat-fig-label{font-size:10px;}
  /* Recap card: the TV two-column reflows to a SINGLE column on a phone — result board stacked above
     the stats/scorers panel (the divider becomes a top border). */
  .recap-body{flex-direction:column;align-items:center;gap:16px;padding:0 6px;}
  .recap-left{align-items:center;gap:12px;width:100%;}
  .recap-right{flex:none;width:100%;max-width:360px;border-left:none;border-top:1px solid rgba(229,192,103,.2);padding-left:0;padding-top:14px;gap:14px;}
  .recap-ft{font-size:11px;letter-spacing:.18em;padding:4px 11px 4px 14px;}
  .recap-context{font-size:10px;letter-spacing:.12em;}
  .score-row{gap:12px;}
  .score-row .score-bar{width:4px;}
  .score-row .flag{width:40px;height:27px;}
  .score-row .score-team{font-size:26px;}
  .score-row .score-num{font-size:50px;}
  .recap-story{font-size:12px;letter-spacing:.1em;padding:5px 12px;}
  .statpanel-label{font-size:11px;letter-spacing:.16em;}
  .stat-v{font-size:17px;}
  .recap-team-name{font-size:11px;letter-spacing:.1em;}
  .recap-team-scorers{font-size:14px;}
  /* Recent results */
  .card-recent .rr-team .nm{font-size:17px;}
  .card-recent .rr-score{font-size:21px;}
  .card-recent .rr-team .flag{width:22px;height:15px;}
  /* Next at Gillette (Haiti v Scotland is the upcoming one tonight) */
  .card-gillette .g-spot{padding:0 16px;gap:12px;}
  .card-gillette .g-eyebrow{font-size:16px;}
  .card-gillette .big-match{gap:14px;}
  .card-gillette .big-match .nm{font-size:24px;}
  .card-gillette .big-match .flag{width:34px;height:23px;}
  .card-gillette .g-when{font-size:17px;}
  .card-gillette .g-watch{font-size:15px;}
  /* How-to splash (Red Rose runs the geofenced check-in) */
  .card-howto.has-bonus .howto .tx{font-size:19px;}
  .card-howto.has-bonus .howto .n{width:36px;height:36px;font-size:20px;}
  .howto-splash{flex:1 1 auto;padding:22px 22px 20px;}
  .hs-medal{width:90px;height:90px;font-size:34px;}
  .hs-head{font-size:23px;}
  .hs-sub{font-size:16px;}
  /* The mobile-only door to the self-paced standings page (off the TV via display:none below). */
  .board-standings{display:block;margin:14px auto 2px;color:var(--gold);font-weight:700;font-size:14px;text-decoration:none;text-align:center;letter-spacing:.02em;}
}

/* ============================= ADMIN + RECAP (light) ============================= */
body.adminpage{background:#eef0ee;color:#1c2530;}
.admin{max-width:1000px;margin:0 auto;padding:28px 20px 60px;}
.admin-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;}
.admin-head h1{font-family:Lora,serif;font-size:24px;margin:0;color:var(--navy);}
.admin-head h1 span,.admin h2 span{color:#8a96a4;font-weight:400;font-size:.7em;}
.admin-head a.ghost{text-decoration:none;}
.ghost{background:transparent;border:1px solid #c4ccd4;color:var(--navy);width:auto;margin:0;padding:8px 14px;border-radius:8px;font-size:13px;font-family:inherit;cursor:pointer;}
.admin section{background:#fff;border:1px solid #dfe4e8;border-radius:14px;padding:18px 20px;margin-bottom:18px;}
.admin h2{font-family:Lora,serif;color:var(--navy);margin:0 0 12px;font-size:19px;}
.admin h3{color:var(--navy);margin:18px 0 8px;font-size:14px;}
.admin td .ok{display:inline-block;background:#e3f3e9;border:1px solid #bfe3cc;color:#1c6b3a;padding:2px 8px;border-radius:20px;font-size:11px;font-weight:800;letter-spacing:.04em;margin:0;vertical-align:1px;}
.flash{margin:0 0 16px;padding:11px 15px;border-radius:9px;font-size:14px;font-weight:600;background:#eef1f4;color:var(--navy);border:1px solid #dde2e6;}
.flash.ok-flash{background:#e3f3e9;border:1px solid #bfe3cc;color:#1c6b3a;}
.flash.warn-flash{background:#fbf2e0;border:1px solid #ecd8a8;color:#7a5a16;font-weight:600;}
table{width:100%;border-collapse:collapse;font-size:14px;}
th{text-align:left;color:#6b7783;font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.04em;border-bottom:2px solid #e6eaee;padding:8px 10px;}
td{padding:9px 10px;border-bottom:1px solid #eef1f4;vertical-align:middle;color:#1c2530;}
td i{font-style:normal;color:#9aa6b2;}
td code{background:#f1f4f6;padding:2px 6px;border-radius:5px;font-size:13px;}
.sub{color:#8a96a4;font-size:12px;}
tr.done td{background:#f4faf5;}
.links a{color:var(--brass);text-decoration:none;}
.ix{display:inline;margin:0;}
.ix button{background:none;border:none;color:var(--brass);padding:0;margin:0;width:auto;font:inherit;cursor:pointer;text-decoration:underline;}
.inline{display:flex;align-items:center;gap:6px;margin:0;}
.inline input{width:54px;margin:0;background:#fff;border:1px solid #cfd6dc;color:#1c2530;padding:7px;border-radius:7px;text-align:center;font-family:inherit;font-size:14px;}
.inline button{margin:0;width:auto;padding:7px 12px;font-size:13px;background:var(--navy);color:#fff;border:none;border-radius:7px;cursor:pointer;font-family:inherit;}
.inline .ok{display:inline;background:none;border:none;color:#2e7d50;padding:0;margin:0;font-weight:700;font-size:13px;}
.inline .dash{color:#8a96a4;}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:4px;}
.grid input{width:100%;margin:0;background:#fff;border:1px solid #cfd6dc;color:#1c2530;padding:10px;border-radius:8px;font-family:inherit;font-size:14px;}
.grid button{grid-column:1/-1;margin:4px 0 0;background:var(--navy);color:#fff;border:none;border-radius:8px;padding:11px;font-weight:700;cursor:pointer;font-family:inherit;}
.stats{display:flex;gap:14px;margin-bottom:16px;flex-wrap:wrap;}
.stat{background:#fff;border:1px solid #dfe4e8;border-radius:14px;padding:18px 24px;flex:1;min-width:150px;text-align:center;}
.stat .n{font-family:Lora,serif;font-weight:700;font-size:34px;color:var(--navy);}
.stat .l{font-size:12px;color:#6b7783;text-transform:uppercase;letter-spacing:.04em;margin-top:4px;}
.lead-note{background:#fbf4e3;border:1px solid #ecdcb0;border-radius:12px;padding:14px 16px;color:#5b4a2a;font-size:14px;line-height:1.5;margin-bottom:18px;}

/* ============================= RULES (light) ============================= */
body.rulespage{background:#eef0ee;color:#1c2530;}
.card.light{background:#fff;border:1px solid #dfe4e8;color:#1c2530;}
.card.light h1{color:var(--navy);font-size:23px;}
.card.light p{color:#3a4652;font-size:14px;line-height:1.6;margin:0 0 14px;}
.card.light p b{color:var(--navy);}
.npn{background:#fbf4e3;border:1px solid #ecdcb0;border-radius:10px;padding:12px 14px;color:#5b4a2a !important;}
.amoe{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px;}
.amoe input{flex:1;min-width:150px;width:auto;background:#fff;border:1px solid #cfd6dc;color:#1c2530;padding:11px;border-radius:8px;font-family:inherit;font-size:15px;}
.amoe button{width:auto;margin:0;background:var(--navy);color:#fff;border:none;border-radius:8px;padding:11px 18px;font-weight:700;cursor:pointer;font-family:inherit;}
.amoe .age{flex:1 1 100%;display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:#5b4a30;}
.amoe .age input{flex:0 0 auto;width:16px;min-width:0;padding:0;margin:0;}
.card.light .fine{font-size:12px;color:#8a96a4;}
.card.light a{color:var(--brass);}
