/* KUP Sport — website styles.
   Built on the app's own design tokens (src/App.tsx, const T).
   One screen per page: the page never scrolls. */

:root{
  /* straight from the app */
  --white:#FFFFFF;
  --ink:#0B0B0B;
  --pageBg:#EAF4FB;
  --border:#E7EAED;
  --mg:#A0A4A8;
  --banner:#16276F;
  --qlBg:#EAF4FB;
  --qlIconBg:rgba(43,200,240,.25);
  --qlIconColor:#16276F;
  --qlChevron:#17B7E8;
  --openBg:#C8F0D4;
  --openText:#0E6B2A;
  --soonBg:#F5A623;
  --soonText:#0B0B0B;
  --cyanFrom:#4ADCF8;
  --cyanTo:#17B7E8;
  --bebas:'Bebas Neue','Arial Narrow',Arial,sans-serif;
  --roboto:'Roboto',Arial,sans-serif;
  --robotoC:'Roboto Condensed','Arial Narrow',Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;overflow:hidden}
body{background:var(--pageBg);color:var(--ink);font:400 16px/1.5 var(--roboto);-webkit-font-smoothing:antialiased}
.page{height:100%;display:grid;grid-template-rows:auto 1fr auto;max-width:1400px;margin:0 auto;padding:0 clamp(12px,2.2vw,28px)}

/* ---------- header ---------- */
header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:clamp(8px,1.5vh,15px) 0;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;text-decoration:none;flex:none;
  padding:4px 6px;margin-left:-6px;border-radius:9px;transition:background .15s,opacity .15s;cursor:pointer}
.brand:hover{background:rgba(43,200,240,.14)}
.brand:active{opacity:.7}
.brand img{height:clamp(30px,4.6vh,46px);width:auto;display:block}
/* on a dark panel the logo flips to white — set data-dark on the header or a parent */
[data-dark] .brand img{content:url(img/logo-light.png)}
nav.top{display:flex;gap:clamp(3px,.7vw,7px);align-items:center;flex-wrap:wrap}
nav.top a{font-family:var(--bebas);font-size:clamp(13px,1.9vh,17px);letter-spacing:.8px;color:var(--banner);
  text-decoration:none;padding:7px 15px;border-radius:999px;white-space:nowrap;transition:background .15s,color .15s}
nav.top a:hover{background:rgba(43,200,240,.18)}
nav.top a[aria-current]{background:var(--banner);color:#fff}
nav.top a.play{background:linear-gradient(135deg,var(--cyanFrom) 0%,var(--cyanTo) 100%);color:#fff}
nav.top a.play:hover{filter:brightness(1.06)}

/* ---------- main ---------- */
main{min-height:0;display:flex;flex-direction:column;gap:clamp(3px,.5vh,6px)}

/* hero — the app's banner treatment: photo, navy gradient solid left fading right */
.hero{position:relative;flex:1;min-height:0;border-radius:14px;overflow:hidden;display:flex;align-items:center;
  padding:clamp(14px,2.6vh,32px) clamp(16px,2.6vw,38px);background:var(--banner);box-shadow:0 1px 4px rgba(0,0,0,.06)}
.hero::before{content:"";position:absolute;inset:0;background:url(img/hero.jpg) center 22%/cover no-repeat;z-index:0}
.hero::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(95deg,#16276F 0%,#16276FE0 16%,#16276F99 38%,#16276F4D 62%,rgba(22,39,111,.18) 100%)}
.hero > *{position:relative;z-index:2;min-width:0}
.hero .mark{position:absolute;top:12px;right:16px;text-align:right;z-index:2}
.hero .mark .s{font-size:20px;font-weight:900;color:rgba(255,255,255,.6);line-height:1}
.hero .mark .l{font-size:8px;color:rgba(255,255,255,.55);font-weight:700;letter-spacing:1.2px;margin-top:2px}

/* The app's headline font. StartScreenText.tsx asks for Knewave first, but the app never
   loads Knewave (checked on the live game: document.fonts.check('Knewave') === false), so it
   falls through to Permanent Marker, which IS loaded. This matches what the app really shows.
   Same treatment as the app: skewX(-6deg) and its drop shadow. */
h1{font-family:'Road Rage','Permanent Marker','Bebas Neue',Arial,sans-serif;font-weight:400;text-transform:uppercase;color:#fff;
   font-size:clamp(26px,6.3vh,58px);line-height:1.03;margin:0 0 .25em;letter-spacing:.005em;
   transform:skewX(-2deg);transform-origin:left bottom;
   text-shadow:0 3px 10px rgba(0,0,0,.45)}
h1 em{font-style:normal;color:var(--cyanFrom);position:relative;display:inline-block}
h1 em::after{content:"";position:absolute;left:1%;right:4%;bottom:-.06em;height:.075em;border-radius:99px;background:var(--cyanFrom)}
.sub{color:rgba(255,255,255,.9);font-weight:500;font-size:clamp(12px,1.9vh,17px);margin:0 0 clamp(9px,1.8vh,18px);max-width:42ch}

.feats{display:flex;gap:clamp(9px,1.5vw,20px);flex-wrap:wrap;margin-bottom:clamp(9px,1.8vh,18px)}
.feat{flex:1 1 110px;min-width:92px;padding-left:clamp(9px,1.5vw,20px);border-left:1px solid rgba(255,255,255,.26)}
.feat:first-child{border-left:0;padding-left:0}
.feat[hidden]{display:none}
/* CREATE ACCOUNT, on its own line under TAKE A TOUR and above the stores */
/* CREATE ACCOUNT and LOG IN, side by side under TAKE A TOUR */
.newrow{display:flex;gap:clamp(9px,1.5vw,20px);flex-wrap:wrap;
  margin:clamp(18px,3.4vh,34px) 0}
.newrow .feat{flex:0 1 auto;min-width:0}
.newrow .feat:first-child{border-left:0;padding-left:0}
.newrow .feat[hidden]+.feat{border-left:0;padding-left:0}
@media (max-width:560px){.newrow .feat{flex:1 1 100%;border-left:0;padding-left:0}}
/* CREATE ACCOUNT is the one you can click */
a.feat.go{text-decoration:none;cursor:pointer;transition:opacity .15s}
a.feat.go:hover b{text-decoration:underline}
a.feat.go:hover{opacity:.9}
.feat b{display:block;font-family:var(--bebas);font-weight:400;color:var(--cyanFrom);
  font-size:clamp(13px,1.9vh,17px);letter-spacing:.8px;margin-bottom:2px}
.feat span{display:block;color:rgba(255,255,255,.82);font-size:clamp(10px,1.4vh,12.5px);line-height:1.35}

/* buttons — the app's cyan gradient, and the amber it uses for "coming" */
.btn{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font-family:var(--bebas);font-weight:400;
  letter-spacing:1.2px;border-radius:14px;padding:clamp(9px,1.6vh,14px) clamp(22px,2.8vw,34px);
  font-size:clamp(16px,2.4vh,24px);background:var(--soonBg);color:var(--ink);
  box-shadow:0 4px 14px rgba(0,0,0,.28);transition:transform .15s,filter .15s}
.btn:hover{transform:translateY(-2px);filter:brightness(1.06)}
.btn svg{width:.8em;height:.8em;fill:currentColor}
.btn.cyan{background:linear-gradient(135deg,var(--cyanFrom) 0%,var(--cyanTo) 100%);color:#fff}

.stores{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:clamp(8px,1.6vh,15px)}
.store{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#fff;border:1px solid rgba(255,255,255,.4);
  border-radius:12px;padding:6px 13px;background:rgba(255,255,255,.1);transition:border-color .15s,background .15s}
.store:hover{border-color:#fff;background:rgba(255,255,255,.2)}
.store svg{width:17px;height:17px;flex:none;fill:currentColor}
.store i{font-style:normal;line-height:1.15}
.store i small{display:block;font-size:8.5px;letter-spacing:1px;color:rgba(255,255,255,.65);text-transform:uppercase;font-weight:700}
.store i span{display:block;font-family:var(--bebas);font-size:15px;letter-spacing:.5px}
.store.soon{opacity:.55;pointer-events:none}

/* ---------- the app's sport card ---------- */
.hubhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px}
.hubhead .ttl{font-family:var(--bebas);font-size:clamp(20px,3.4vh,30px);letter-spacing:.8px;color:var(--ink)}
.hubhead .kick{font-family:var(--robotoC);font-size:clamp(9px,1.4vh,12px);font-weight:700;letter-spacing:2px;color:var(--mg)}

.sportgrid{display:grid;gap:clamp(6px,1vh,10px);min-height:0}
.g5{grid-template-columns:repeat(5,1fr)}
.g2{grid-template-columns:1fr 1fr}
.sport{position:relative;display:flex;background:var(--white);border:1px solid var(--border);border-radius:12px;
  overflow:hidden;text-decoration:none;box-shadow:0 1px 4px rgba(0,0,0,.06);min-height:0;
  transition:transform .14s,box-shadow .14s}
.sport:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.sport .tx{flex:1;min-width:0;padding:clamp(7px,1.2vh,11px) 6px clamp(7px,1.2vh,11px) clamp(8px,.8vw,11px);
  display:flex;flex-direction:column;justify-content:space-between;gap:6px}
.sport .nm{font-family:var(--bebas);font-size:clamp(12px,1.9vh,17px);letter-spacing:.5px;color:var(--ink);line-height:1.05}
.sport .pill{align-self:flex-start;font-family:var(--bebas);font-size:clamp(9px,1.35vh,12px);letter-spacing:.5px;
  border-radius:5px;padding:1px 8px;white-space:nowrap}
.sport .pill.open{background:var(--openBg);color:var(--openText)}
.sport .pill.soon{background:var(--soonBg);color:var(--soonText)}
.sport .ph{width:45%;flex:none;background:#DCE9F3 center/cover no-repeat}
.sport .chev{position:absolute;bottom:6px;right:6px;width:21px;height:21px;border-radius:50%;background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.18);display:grid;place-items:center}
.sport .chev svg{width:11px;height:11px;fill:var(--ink)}

/* ---------- the app's quick-link card ---------- */
.quick{display:grid;gap:clamp(6px,1vh,10px)}
.q2{grid-template-columns:1fr 1fr}
.q3{grid-template-columns:repeat(3,1fr)}
.ql{display:flex;align-items:center;gap:10px;background:var(--white);border:1px solid var(--border);
  border-radius:12px;padding:clamp(8px,1.4vh,13px) clamp(9px,.9vw,13px);text-decoration:none;
  box-shadow:0 1px 4px rgba(0,0,0,.05);transition:transform .14s,box-shadow .14s}
.ql:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.11)}
.ql .ic{width:clamp(32px,4.6vh,42px);height:clamp(32px,4.6vh,42px);border-radius:50%;background:var(--qlIconBg);
  display:grid;place-items:center;flex:none}
.ql .ic svg{width:55%;height:55%;fill:var(--qlIconColor)}
.ql .tx{flex:1;min-width:0}
.ql .t{font-family:var(--bebas);font-size:clamp(13px,1.95vh,17px);letter-spacing:.6px;color:var(--ink);line-height:1}
.ql .s{font-size:clamp(9.5px,1.35vh,11.5px);color:var(--mg);margin-top:2px;line-height:1.3}
.ql .cv{flex:none}
.ql .cv svg{width:13px;height:13px;fill:var(--qlChevron)}

/* ---------- the app's sponsor banner ---------- */
.sponsor{position:relative;overflow:hidden;border-radius:12px;background:var(--banner);
  padding:clamp(9px,1.6vh,16px) clamp(14px,2.2vw,26px);display:flex;align-items:center;gap:clamp(12px,2.4vw,30px)}
.sponsor .big{font-family:var(--bebas);font-size:clamp(17px,3vh,30px);letter-spacing:.5px;color:#fff;line-height:1;white-space:nowrap}
/* On the home page the band is the ad slot, so it takes the room the old
   quick-link tiles used to occupy. */
main > .sponsor{min-height:clamp(96px,15.5vh,178px);
  padding-top:clamp(16px,3vh,34px);padding-bottom:clamp(16px,3vh,34px)}
main > .sponsor .big{font-size:clamp(22px,4.3vh,42px)}
main > .sponsor .meta .a{font-size:clamp(11px,1.8vh,16px)}
main > .sponsor .go{font-size:clamp(13px,2.2vh,20px)}
.sponsor .meta{min-width:0}
.sponsor .meta .a{font-size:clamp(10px,1.5vh,13px);color:rgba(255,255,255,.88);font-weight:500}
.sponsor .meta .b{font-size:clamp(8px,1.2vh,10px);color:rgba(255,255,255,.55);margin-top:2px}
.sponsor .go{margin-left:auto;font-family:var(--bebas);font-size:clamp(12px,1.9vh,17px);letter-spacing:.8px;
  color:var(--cyanFrom);text-decoration:none;white-space:nowrap}
.sponsor .go:hover{color:#fff}
.sponsor .mark{position:absolute;top:8px;right:14px;text-align:right}
.sponsor .mark .s{font-size:16px;font-weight:900;color:rgba(255,255,255,.55);line-height:1}

/* ---------- inner pages ---------- */
.inner{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:clamp(6px,1.2vh,13px)}

/* ─── the KUP watermark ──────────────────────────────────────────────────────
   One rule, wired by selector so it carries to every page and every league
   without touching the markup. It sits behind the content, never catches a
   click, and is light enough to read through. The home page is left out: its
   hero carries the watermark in the photograph itself. */
main > .inner, main > .board, main > .game{position:relative}
main > .inner::before, main > .board::before, main > .game::before{
  content:none}
/* everything real stays above it */
main > .inner > *, main > .board > *, main > .game > *{position:relative;z-index:1}

/* Inside a league the watermark is a background on the panel itself, not a
   layer inside it. The panel scrolls, and an absolutely positioned layer gets
   measured against the scrollable area, which is what was cutting it off.
   As a background it is measured against the panel you can see, so the whole
   emblem always fits. Only the league column gets it. */
/* The big panel watermark is off — the logo now only appears inside a tile
   once its number has been picked. */
h3{font-family:var(--bebas);font-weight:400;font-size:clamp(24px,4.2vh,40px);letter-spacing:.8px;color:var(--ink);margin:0 0 .12em;line-height:1}
.kick{font-family:var(--robotoC);font-size:clamp(9px,1.4vh,12px);font-weight:700;letter-spacing:2px;color:var(--mg);margin:0 0 6px}
h4,.card h2{font-family:var(--bebas);font-weight:400;font-size:clamp(14px,2.1vh,19px);letter-spacing:.5px;color:var(--ink);margin:0 0 5px}
p{margin:0 0 .55em;font-size:clamp(12px,1.75vh,15px);color:#3C4552}
.lede{font-size:clamp(13px,2vh,17px);color:var(--ink);font-weight:500}
a{color:#117FB0}
ul{margin:0 0 .5em;padding-left:17px}
li{font-size:clamp(11.5px,1.7vh,14px);color:#3C4552;margin-bottom:3px}
strong,b{color:var(--ink)}
.cards{display:grid;gap:clamp(6px,1.2vh,13px)}
.cols-2{grid-template-columns:repeat(2,1fr)}
.cols-3{grid-template-columns:repeat(3,1fr)}
/* slightly see-through so the page watermark reads through the cards */
.card{background:rgba(255,255,255,.72);border:1px solid var(--border);border-radius:12px;padding:clamp(10px,1.7vh,17px);
  box-shadow:0 1px 4px rgba(0,0,0,.06)}
.card p{margin:0;font-size:clamp(11px,1.6vh,13.5px)}
.card .n{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;
  background:var(--qlIconBg);color:var(--qlIconColor);font-family:var(--bebas);font-size:15px;margin-bottom:6px}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(16px,3vw,44px);align-items:center;min-height:0}
.hero-art{display:flex;justify-content:center;min-height:0}
.hero-art img{max-width:100%;max-height:clamp(170px,36vh,330px);width:auto;object-fit:contain;border-radius:12px}

/* legal panel — only the panel scrolls, never the page */
.panel{min-height:0;overflow-y:auto;padding:clamp(12px,1.9vh,22px) clamp(14px,2.1vw,28px);background:var(--white);
  border:1px solid var(--border);border-radius:12px;scrollbar-width:thin;scrollbar-color:#9FDCF4 transparent;
  box-shadow:0 1px 4px rgba(0,0,0,.06)}
.panel::-webkit-scrollbar{width:9px}
.panel::-webkit-scrollbar-thumb{background:#9FDCF4;border-radius:9px}
.panel h2{font-family:var(--bebas);font-weight:400;font-size:18px;letter-spacing:.5px;color:var(--ink);margin:16px 0 4px}
.panel h2:first-of-type{margin-top:0}
.panel p,.panel li{font-size:13.5px;max-width:92ch}
.panel ul{margin-bottom:9px}
.meta{color:var(--mg);font-size:12px;font-weight:500}
.inner > .panel{flex:1}

/* footer */
footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:clamp(6px,1.2vh,12px) 0;font-size:clamp(9.5px,1.35vh,12px);color:var(--mg)}
footer nav{display:flex;gap:clamp(7px,1.2vw,16px);flex-wrap:wrap}
footer a{color:var(--mg);text-decoration:none}
footer a:hover{color:var(--qlChevron)}

@media (max-width:1000px){
  .g5{grid-template-columns:repeat(3,1fr)}
  .hero{flex-direction:column;align-items:flex-start}
  .split{grid-template-columns:1fr}
  .hero-art{display:none}
  .cols-3,.q3{grid-template-columns:repeat(2,1fr)}
  main{overflow-y:auto}
}
@media (max-width:560px){
  .g5,.g2,.cols-2,.cols-3,.q2,.q3{grid-template-columns:1fr}
  nav.top a{padding:6px 11px}
  .sponsor{flex-wrap:wrap}
}

/* ─── the phone on the landing page: MY KUP, the screen players get ─── */
/* The phone keeps its natural size and is scaled as a whole to whatever height the
   hero actually has, so the frame and everything inside it stay fully visible.
   --ps is set by kup.js on load and on resize; the negative margin reclaims the
   layout width the transform leaves behind. */
.phone{width:300px;height:620px;flex:none;background:var(--pageBg);border-radius:26px;border:8px solid #10141f;
  overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 22px 56px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.08);justify-self:end;align-self:start;
  zoom:var(--ps,1)}
.phone .scr{overflow:hidden;flex:1;color:var(--ink);display:flex;flex-direction:column;gap:7px;padding-bottom:6px}
.pah{display:flex;align-items:center;justify-content:space-between;padding:9px 11px 0}
.pah .lg{font-family:var(--bebas);font-size:17px;letter-spacing:1px;color:var(--banner)}
.pah .av{width:21px;height:21px;border-radius:50%;background:var(--soonBg);display:grid;place-items:center;
  font-family:var(--bebas);font-size:9.5px;color:#fff}
.phi{padding:0 11px}
.phi .a{font-family:var(--bebas);font-size:17px;letter-spacing:.6px;line-height:1;color:var(--ink)}
.phi .b{font-family:var(--robotoC);font-size:7.5px;font-weight:700;letter-spacing:1.5px;color:var(--mg);margin-top:2px}
.ptodo{margin:0 10px;background:var(--soonBg);border-radius:9px;padding:8px 10px}
.ptodo .t{font-family:var(--bebas);font-size:14px;letter-spacing:.5px;line-height:1;color:var(--soonText)}
.ptodo .s{font-size:8px;margin-top:2px;color:rgba(0,0,0,.6)}
.pstats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:0 10px}
.pst{background:#fff;border:1px solid var(--border);border-radius:8px;padding:6px 3px;text-align:center}
.pst .n{font-family:var(--bebas);font-size:16px;line-height:1;color:var(--banner)}
.pst .l{font-family:var(--robotoC);font-size:6.5px;font-weight:700;letter-spacing:1px;color:var(--mg);margin-top:2px}
.phh{display:flex;align-items:baseline;justify-content:space-between;padding:3px 11px 0}
.phh .t{font-family:var(--bebas);font-size:16px;letter-spacing:.7px}
.phh .k{font-family:var(--robotoC);font-size:7px;font-weight:700;letter-spacing:1.4px;color:var(--mg)}
.plgs{display:grid;gap:7px;padding:0 10px}
.plg{background:#fff;border:1px solid var(--border);border-radius:9px;padding:8px 9px;display:flex;flex-direction:column;gap:6px}
.plg.due{border-color:var(--soonBg)}
.plg .tp{display:flex;align-items:flex-start;gap:7px}
.plg .nm{font-family:var(--bebas);font-size:13px;letter-spacing:.4px;line-height:1}
.plg .cm{font-family:var(--robotoC);font-size:7px;font-weight:700;letter-spacing:1.1px;color:var(--mg);margin-top:2px}
.plg .ps{text-align:right;flex:none}
.plg .ps .p{font-family:var(--bebas);font-size:16px;color:var(--banner);line-height:1}
.plg .ps .o{font-size:6.5px;color:var(--mg)}
.plg .rw{background:var(--pageBg);border-radius:7px;padding:6px 8px;display:flex;align-items:center;gap:7px}
.plg .rw.due{background:#FDF3E3}
.plg .rw .a{font-family:var(--bebas);font-size:11px;letter-spacing:.4px;line-height:1}
.plg .rw .a.due{color:#E8890C}
.plg .rw .b{font-size:7px;color:var(--mg);margin-top:1px}
.plg .rw .pt{text-align:right;flex:none}
.plg .rw .pt .n{font-family:var(--bebas);font-size:14px;line-height:1}
.plg .rw .pt .l{font-family:var(--robotoC);font-size:6px;font-weight:700;letter-spacing:1px;color:var(--mg)}
.plg .fm{display:flex;align-items:center;gap:3.5px}
.plg .fm .l{font-family:var(--robotoC);font-size:6.5px;font-weight:700;letter-spacing:1px;color:var(--mg)}
.plg .fm span.f{width:11px;height:11px;border-radius:3px;display:grid;place-items:center;color:#fff;
  font-family:var(--bebas);font-size:8px;line-height:1}
.plg .fm .gp{margin-left:auto;font-size:7px;color:var(--mg)}
.plg .fm .gp b{color:var(--ink);font-family:var(--bebas);font-size:9px}
.fW{background:#1FA463}.fD{background:#A0A4A8}.fL{background:#E05B5B}
.hero.withphone{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(16px,3vw,44px);align-items:center}
@media(max-width:1000px){.phone{display:none}.hero.withphone{grid-template-columns:1fr}}
.ql .tx{display:block}
.ql .t,.ql .s{display:block}
.brand b,.sport .nm,.tile .nm{display:block}

/* ─── the sports board: a website screen, wide, everything visible at once ─── */
.board{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1.5fr) auto minmax(0,1fr);
  gap:clamp(6px,1.1vh,12px)}
.boardhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px}
.boardhead .t{font-family:var(--bebas);font-size:clamp(19px,3.2vh,30px);letter-spacing:.8px;color:var(--ink)}
.boardhead .k{font-family:var(--robotoC);font-size:clamp(9px,1.35vh,12px);font-weight:700;letter-spacing:2px;color:var(--mg)}
.boardhead .k b{color:var(--openText);background:var(--openBg);border-radius:4px;padding:2px 8px;letter-spacing:.8px;
  font-family:var(--bebas);font-weight:400;font-size:clamp(11px,1.6vh,14px)}

.rowOpen{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(7px,1.2vw,14px);min-height:0}
.rowSoon{display:grid;grid-template-columns:repeat(7,1fr);gap:clamp(6px,.9vw,11px);min-height:0}

.tile2{position:relative;border-radius:14px;overflow:hidden;text-decoration:none;display:block;min-height:0;
  background:#17345c center/cover no-repeat;box-shadow:0 4px 18px rgba(14,42,92,.18);
  transition:transform .18s,box-shadow .18s}
.tile2:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(14,42,92,.3)}
.tile2::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(7,20,45,.08) 0%,rgba(7,20,45,.42) 48%,rgba(7,20,45,.88) 100%)}
.tile2 .in{position:absolute;inset:auto 0 0 0;z-index:2;padding:clamp(10px,1.8vh,18px) clamp(11px,1.1vw,17px);
  display:flex;align-items:flex-end;gap:10px}
.tile2 .nm{font-family:var(--bebas);font-size:clamp(17px,3.1vh,30px);letter-spacing:.8px;color:#fff;line-height:.98;
  text-shadow:0 2px 10px rgba(0,0,0,.4);
  display:flex;align-items:baseline;gap:clamp(8px,1vw,16px);flex-wrap:wrap}
.tile2 .when{font-size:clamp(9.5px,1.4vh,12.5px);color:rgba(255,255,255,.82);font-weight:500}
.tile2 .go{margin-left:auto;flex:none;font-family:var(--bebas);font-size:clamp(11px,1.65vh,15px);letter-spacing:1px;
  background:var(--soonBg);color:var(--ink);border-radius:999px;padding:5px 15px;white-space:nowrap}
.tile2 .flag{position:absolute;top:10px;left:11px;z-index:2;font-family:var(--bebas);font-size:clamp(10px,1.5vh,13px);
  letter-spacing:.8px;border-radius:5px;padding:2px 9px;background:var(--openBg);color:var(--openText)}

.tileS{position:relative;border-radius:11px;overflow:hidden;text-decoration:none;display:block;min-height:0;
  background-color:#24456f;background-size:cover;background-position:center 58%;background-repeat:no-repeat;
  box-shadow:0 2px 10px rgba(14,42,92,.14);transition:transform .16s}
.tileS:hover{transform:translateY(-2px)}
.tileS::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(7,20,45,.2) 0%,rgba(7,20,45,.55) 45%,rgba(7,20,45,.9) 100%)}
.tileS .in{position:absolute;inset:auto 0 0 0;z-index:2;padding:clamp(7px,1.2vh,12px) clamp(7px,.7vw,11px)}
.tileS .nm{font-family:var(--bebas);font-size:clamp(11px,1.75vh,15px);letter-spacing:.5px;color:#fff;line-height:1.02;
  display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%}
.tileS .when{font-family:var(--robotoC);font-size:clamp(8px,1.15vh,10px);font-weight:700;letter-spacing:.8px;
  color:var(--soonBg);flex:none;text-align:right}

@media (max-width:1100px){
  .rowOpen{grid-template-columns:1fr 1fr}
  .rowSoon{grid-template-columns:repeat(4,1fr)}
  .board{grid-template-rows:auto auto auto auto}
}
@media (max-width:620px){
  .rowOpen{grid-template-columns:1fr}
  .rowSoon{grid-template-columns:repeat(2,1fr)}
}

/* ─── the league screen: the game laid out for a laptop ─── */
.game.one{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
.game{flex:1;min-height:0;display:grid;grid-template-columns:minmax(190px,.9fr) minmax(0,3fr) minmax(190px,1fr);
  gap:clamp(8px,1.1vw,14px)}
.col{min-height:0;display:flex;flex-direction:column;gap:clamp(7px,1.1vh,12px)}
.pnl{background:var(--white);border:1px solid var(--border);border-radius:13px;box-shadow:0 1px 4px rgba(0,0,0,.06);
  display:flex;flex-direction:column;min-height:0;overflow:hidden}
.pnl > .hd{display:flex;align-items:center;gap:12px;
  padding:clamp(13px,2vh,20px) clamp(12px,1.1vw,18px) clamp(11px,1.6vh,16px)}
.pnl > .hd .t{font-family:var(--bebas);font-size:22px;letter-spacing:.9px;
  line-height:1.1;color:var(--ink)}
.pnl > .hd .n{margin-left:auto;font-family:var(--robotoC);font-size:9px;font-weight:700;letter-spacing:1.2px;color:var(--mg)}
.pnl > .bd{min-height:0;overflow-y:auto;padding:0 clamp(8px,.8vw,12px) clamp(8px,1.2vh,12px);
  scrollbar-width:thin;scrollbar-color:#9FDCF4 transparent}
.pnl > .bd::-webkit-scrollbar{width:7px}
.pnl > .bd::-webkit-scrollbar-thumb{background:#9FDCF4;border-radius:7px}

/* my leagues rail */
.mine{display:grid;gap:7px}
.mine a{display:block;text-decoration:none;border:1px solid var(--border);border-radius:10px;padding:8px 9px;
  background:#fff;transition:border-color .14s,transform .14s}
.mine a:hover{border-color:var(--cyanMid,#29C3F0);transform:translateY(-1px)}
.mine a.on{border-color:var(--banner);background:#F3F8FD}
.mine .nm{font-family:var(--bebas);font-size:clamp(12px,1.8vh,15px);letter-spacing:.4px;color:var(--ink);line-height:1}
.mine .sb{font-family:var(--robotoC);font-size:8.5px;font-weight:700;letter-spacing:1px;color:var(--mg);margin-top:3px}
.mine .ln{display:flex;align-items:center;gap:6px;margin-top:6px}
.mine .pos{font-family:var(--bebas);font-size:clamp(13px,2vh,17px);color:var(--banner);line-height:1}
.mine .of{font-size:8.5px;color:var(--mg)}
.mine .pt{margin-left:auto;font-family:var(--bebas);font-size:clamp(12px,1.8vh,15px);color:var(--ink);line-height:1}
.mine .pt small{font-family:var(--robotoC);font-size:7.5px;font-weight:700;letter-spacing:1px;color:var(--mg);display:block}
.mine .due{display:inline-block;font-family:var(--bebas);font-size:9.5px;letter-spacing:.5px;background:var(--soonBg);
  color:var(--ink);border-radius:4px;padding:1px 7px;margin-top:6px}

/* tabs */
/* The tab strip, exactly as components/SportTabs.tsx draws it: plain text on
   white, the active one navy with an amber bar beneath. Not pills. */
.tabs{display:flex;height:58px;background:transparent;border-bottom:1px solid #CFE4F2;margin-top:14px}
.tabs button{flex:1;border:none;background:transparent;cursor:pointer;padding:0 2px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
  font-family:var(--bebas);font-weight:400;font-size:22px;letter-spacing:.1px;
  line-height:1.1;text-align:center;color:var(--mg)}
.tabs button[aria-selected="true"]{color:var(--banner)}
.tabs button[aria-selected="true"]::after{content:"";position:absolute;bottom:0;left:10%;right:10%;
  height:4px;border-radius:2px 2px 0 0;background:var(--soonBg)}

/* table */
table.tb{width:100%;border-collapse:separate;border-spacing:0}
table.tb th{font-family:var(--robotoC);font-size:22px;font-weight:700;letter-spacing:.4px;color:var(--mg);
  white-space:nowrap;overflow:visible;
  text-align:right;padding:4px 5px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff}
table.tb th:nth-child(1),table.tb th:nth-child(2),table.tb th:nth-child(3){text-align:left}
table.tb td{font-family:var(--robotoC);font-weight:500;font-size:20px;font-variant-numeric:tabular-nums;
  padding:5px;border-bottom:1px solid #F2F6F9;text-align:right;color:var(--ink)}
table.tb td:nth-child(1){font-family:var(--robotoC);font-weight:700;font-size:20px;color:var(--banner);
  text-align:left;line-height:35px;padding-right:0}
table.tb td:nth-child(2){text-align:left;width:24px;padding-left:0;padding-right:0}
table.tb td:nth-child(3){text-align:left;color:var(--ink);font-family:var(--roboto);
  font-weight:500;font-size:20px;letter-spacing:0}
table.tb td.pts{font-family:var(--robotoC);font-weight:700;font-size:20px;color:var(--ink)}
table.tb tr.me td{background:#EFF8FD}
table.tb tr.me td:nth-child(3){font-weight:700}
table.tb tr.me td{font-weight:700}
.dot{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#fff;
  font-family:var(--robotoC);font-weight:700;font-size:20px;line-height:1;margin-left:3px}
.dW{background:#1FA463}.dD{background:#A0A4A8}.dL{background:#E05B5B}

/* fixtures */
.fx{display:grid;gap:6px}
.fxr{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;border:1px solid var(--border);
  border-radius:9px;padding:7px 9px;background:#fff}
.fxr .tm{font-family:var(--bebas);font-size:22px;letter-spacing:.4px;line-height:1.1;color:var(--ink)}
.fxr .tm.r{text-align:right}
.fxr .sc{font-family:var(--bebas);font-size:clamp(13px,1.9vh,16px);background:var(--pageBg);border-radius:6px;
  padding:2px 9px;color:var(--ink);white-space:nowrap}
.fxr .sc.live{background:#FDE8E8;color:#C92A2A}
.fxr .own{font-family:var(--robotoC);font-size:8px;font-weight:700;letter-spacing:1px;color:var(--banner);
  background:rgba(43,200,240,.22);border-radius:3px;padding:1px 5px;margin-left:5px}

/* other leagues */
.other{display:grid;gap:6px}
.other a{display:flex;align-items:center;gap:8px;text-decoration:none;border:1px solid var(--border);
  border-radius:9px;padding:7px 9px;background:#fff;transition:border-color .14s}
.other a:hover{border-color:#29C3F0}
.other .nm{font-family:var(--bebas);font-size:clamp(12px,1.8vh,15px);letter-spacing:.4px;color:var(--ink);line-height:1.05}
.other .sb{font-size:8.5px;color:var(--mg);margin-top:2px}
.other .sp{margin-left:auto;font-family:var(--bebas);font-size:10px;letter-spacing:.5px;border-radius:4px;
  padding:1px 7px;background:var(--openBg);color:var(--openText);white-space:nowrap}
.other .sp.full{background:#EDEFF2;color:var(--mg)}

/* advertising — one per screen, static, labelled, same rules as the app */
.ad{position:relative;border-radius:11px;overflow:hidden;background:var(--banner);
  flex:0 0 379px;height:379px;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:clamp(14px,2.4vh,22px) clamp(14px,1.4vw,20px)}
.ad .l{position:absolute;top:6px;right:8px;font-family:var(--robotoC);font-size:7.5px;font-weight:700;
  letter-spacing:1.2px;color:rgba(255,255,255,.5)}
.ad .b{font-family:var(--bebas);font-size:clamp(20px,3.4vh,34px);color:#fff;line-height:1;letter-spacing:.5px}
.ad .c{font-size:clamp(11px,1.6vh,14px);color:rgba(255,255,255,.82);margin-top:8px;max-width:30ch}
.ad a{color:var(--cyanLight,#8BF3FE);text-decoration:none;font-family:var(--bebas);font-size:13px;letter-spacing:.8px;margin-top:14px;display:inline-block}
.ad.rail{min-height:0;flex:1}
.sample{display:inline-block;font-family:var(--robotoC);font-size:7.5px;font-weight:700;letter-spacing:1.1px;
  background:#FFE9C2;color:#8A5B00;border-radius:3px;padding:1px 6px;vertical-align:middle;margin-left:6px}

@media (max-width:1120px){
  .game{grid-template-columns:minmax(0,1fr) minmax(0,2.2fr)}
  .col.rail{display:none !important}
}
@media (max-width:860px){
  .game{grid-template-columns:1fr}
  .col.mineCol{max-height:30vh}
  main{overflow-y:auto}
}
.mine .nm,.mine .sb,.mine .due{display:block}
.mine .ln{display:flex}
.other a > span:first-child{min-width:0}
.other .nm,.other .sb{display:block}
[hidden]{display:none !important}

/* ─── phones: the no-scroll rule is for laptops. A phone scrolls normally. ─── */
@media (max-width:820px){
  html,body{overflow:auto;height:auto}
  .page{height:auto;min-height:100%;padding-bottom:10px}
  main{overflow:visible;min-height:0;gap:10px}
  header{padding:10px 0 8px}
  nav.top{gap:3px;row-gap:5px}
  nav.top a{padding:6px 11px;font-size:13px}

  /* home */
  .hero{min-height:0;padding:18px 16px 20px;border-radius:14px}
  .hero.withphone{grid-template-columns:1fr}
  h1{font-size:34px}
  .sub{font-size:14px}
  .feats{gap:12px}
  .feat{flex:1 1 100%;border-left:0;padding-left:0}
  .btn{font-size:19px;padding:12px 28px}
  .phone{display:none}
  .quick.q3{grid-template-columns:1fr}
  .sponsor{flex-wrap:wrap;gap:8px}
  .sponsor .go{margin-left:0}

  /* sports board */
  .board{grid-template-rows:none;gap:10px}
  .rowOpen{grid-template-columns:1fr;gap:9px}
  .rowOpen .tile2{min-height:128px}
  .rowSoon{grid-template-columns:1fr 1fr;gap:8px}
  .rowSoon .tileS{min-height:86px}
  .tile2 .nm{font-size:25px}

  /* leagues */
  .game{grid-template-columns:1fr;gap:10px}
  .col.rail{display:block !important}
  .col.mineCol{max-height:none}
  .pnl{max-height:none}
  .pnl > .bd{overflow:visible;max-height:none}
  .mine{grid-template-columns:1fr 1fr;gap:8px}
  table.tb td,table.tb th{padding:5px 4px}
  table.tb th:nth-child(n+8),table.tb td:nth-child(n+8){display:none}
  table.tb th:last-child,table.tb td:last-child{display:table-cell}
  .tabs{gap:6px}
  .ad{min-height:84px}

  /* legal pages */
  .panel{max-height:none;overflow:visible}
  .inner{justify-content:flex-start;gap:10px}
  .cards.cols-2,.cards.cols-3{grid-template-columns:1fr}
  .hero-art{display:none}
  .split{grid-template-columns:1fr}
}
@media (max-width:420px){
  .mine{grid-template-columns:1fr}
  .rowSoon{grid-template-columns:1fr}
  h1{font-size:29px}
}

/* ─── settings & league rules, as the app lays them out ─── */
.setcols{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
  gap:clamp(8px,1.3vw,18px)}
.rule{position:relative;border:1px solid var(--border);border-radius:11px;background:#fff;padding:10px 11px;margin-bottom:8px}
.rule .rh{display:flex;align-items:center;gap:9px}
.rule .rn{flex:1;font-family:var(--robotoC);font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--banner);text-transform:uppercase}
.sw{width:44px;height:24px;border-radius:999px;background:#E3E8EE;position:relative;flex:none}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.3)}
.sw.on{background:var(--cyanMid,#29C3F0)}
.sw.on::after{left:23px}
.rule .ri{font-size:11.5px;color:#55607A;margin-top:6px;line-height:1.45}
.rule .rd{margin-top:7px;border-top:1px solid #F0F4F8;padding-top:7px}
.rule .rd b{display:block;color:var(--banner);font-size:11.5px}
.rule .rd span{display:block;font-size:11px;color:#55607A;margin-bottom:5px}
.rule .rd i{display:block;font-size:11px;color:var(--mg);font-style:italic}
.locked{position:relative;border-radius:12px;overflow:hidden}
.locked .inner{filter:blur(2.5px);opacity:.5;pointer-events:none}
.locked .lk{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  background:rgba(234,244,251,.35)}
/* Sized against the panel it covers, so it reads at a glance on a full
   LEAGUE RULES card instead of sitting lost in the middle of it. */
.locked .lk{gap:12px}
.locked .lk .pad{font-size:clamp(44px,7vw,104px);line-height:1}
.locked .lk .cs{font-family:var(--bebas);font-size:clamp(26px,3vw,52px);letter-spacing:1.6px;
  color:var(--banner);background:rgba(255,255,255,.94);border-radius:14px;padding:4px 22px;
  box-shadow:0 4px 16px rgba(22,39,111,.14)}
/* Every row here opens something, so it has to read as a control: a pointer,
   a hover, and the EDIT value styled as an action rather than a value. */
.setrow{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:10px;
  background:#fff;padding:9px 11px;margin-bottom:7px;cursor:pointer;
  transition:border-color .12s,box-shadow .12s,background .12s}
.setrow:hover{border-color:var(--banner);box-shadow:0 2px 10px rgba(22,39,111,.10)}
.setrow:active{background:#F7F9FC}
.setrow .ic{width:30px;height:30px;border-radius:50%;background:var(--qlIconBg);display:grid;place-items:center;flex:none;font-size:14px}
.setrow .tx{flex:1;min-width:0}
.setrow .t{font-family:var(--bebas);font-size:14px;letter-spacing:.5px;color:var(--ink);line-height:1;display:block}
.setrow .s{font-size:10.5px;color:var(--mg);margin-top:2px;display:block}
.setrow .v{font-family:var(--robotoC);font-size:10px;font-weight:700;letter-spacing:.8px;color:var(--banner);flex:none}
.setrow.danger .t{color:#C0392B}
@media (max-width:980px){.setcols{grid-template-columns:1fr}}

/* The headline is the app's own artwork, lifted out of Home_Screen-clean-v6.png.
   The app paints these words into that image, so this is the only way the website
   can show the same strokes. Alt text keeps it readable to search engines and screen readers. */
h1.art{margin:0 0 .3em;line-height:0}
h1.art img{width:min(100%,clamp(260px,46vh,620px));height:auto;display:block;
  filter:drop-shadow(0 3px 10px rgba(0,0,0,.45))}
@media (max-width:820px){h1.art img{width:min(100%,460px)}}

/* ─── shop ─── */
.shopgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(8px,1.2vw,15px);min-height:0}
.item{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden;display:flex;
  flex-direction:column;min-height:0;box-shadow:0 1px 4px rgba(0,0,0,.06);transition:transform .15s,box-shadow .15s}
.item:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(14,42,92,.16)}
.item .pic{flex:1;min-height:0;background:#DCE9F3 center/cover no-repeat;position:relative}
.item .pic .tag{position:absolute;top:8px;left:8px;font-family:var(--bebas);font-size:clamp(10px,1.5vh,13px);
  letter-spacing:.6px;border-radius:5px;padding:1px 9px;background:var(--soonBg);color:var(--soonText)}
.item .txt{padding:clamp(8px,1.3vh,13px) clamp(9px,.9vw,13px)}
.item .nm{font-family:var(--bebas);font-size:clamp(13px,2vh,18px);letter-spacing:.5px;color:var(--ink);line-height:1;display:block}
.item .ds{font-size:clamp(10px,1.45vh,12.5px);color:var(--mg);margin-top:4px;display:block;line-height:1.4}
@media (max-width:1000px){.shopgrid{grid-template-columns:1fr 1fr}.item .pic{min-height:130px}}
@media (max-width:560px){.shopgrid{grid-template-columns:1fr}.item .pic{min-height:170px}}

/* ─── signing in ─────────────────────────────────────────────────────────
   The website's own log-in. Same account as the app, website's own layout:
   the form on the left, what you get on the right, filling the screen
   rather than sitting in a phone-shaped column. */
.signwrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(14px,2.4vw,34px);align-items:stretch;min-height:0}
.signcard{background:var(--white);border:1px solid var(--border);border-radius:16px;
  padding:clamp(16px,3vh,32px) clamp(16px,2.4vw,36px);display:flex;flex-direction:column;
  justify-content:center;box-shadow:0 6px 26px rgba(14,42,92,.10)}
.signhead{margin-bottom:clamp(10px,1.8vh,20px)}
.signhead .k{font-family:var(--robotoC);font-size:11px;font-weight:700;letter-spacing:2.4px;color:var(--mg);
  display:block;margin-bottom:6px}
.signhead h1{font-family:var(--bebas);font-size:clamp(26px,4.6vh,46px);letter-spacing:1px;margin:0;line-height:1;
  color:var(--ink)}
.signhead .sub{margin:8px 0 0;color:#5A6472;font-size:clamp(12px,1.7vh,15px)}
.fld{display:block;margin-bottom:clamp(9px,1.5vh,15px)}
.fld span{display:block;font-family:var(--robotoC);font-size:10.5px;font-weight:700;letter-spacing:1.6px;
  color:var(--mg);margin-bottom:5px}
.fld input{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:10px;
  padding:clamp(9px,1.5vh,14px) 13px;font-family:var(--roboto);font-size:clamp(13px,1.8vh,16px);
  color:var(--ink);background:#FBFDFF;outline:none;transition:border-color .15s,box-shadow .15s}
.fld input:focus{border-color:#4ADCF8;box-shadow:0 0 0 3px rgba(74,220,248,.22)}
.bigbtn{width:100%;border:0;border-radius:999px;cursor:pointer;
  background:linear-gradient(90deg,#4ADCF8,#17B7E8);color:#06243A;
  font-family:var(--bebas);font-size:clamp(15px,2.3vh,21px);letter-spacing:1.4px;
  padding:clamp(10px,1.7vh,15px) 18px;margin-top:4px;transition:filter .15s,transform .15s}
.bigbtn:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}
.bigbtn:disabled{opacity:.6;cursor:default}
.err{margin:10px 0 0;color:#B3261E;background:#FDECEA;border:1px solid #F6CFCB;border-radius:9px;
  padding:9px 12px;font-size:clamp(12px,1.6vh,14px)}
.swap{margin:clamp(10px,1.8vh,18px) 0 0;text-align:center;font-size:clamp(12px,1.6vh,14px);color:#5A6472}
.swap a{color:#0E6FD6;font-weight:700;text-decoration:none}
.swap a:hover{text-decoration:underline}
.signside{background:var(--banner);color:#fff;border-radius:16px;
  padding:clamp(16px,3vh,32px) clamp(16px,2vw,30px);display:flex;flex-direction:column;justify-content:center}
.signside h2{font-family:var(--bebas);font-size:clamp(17px,2.9vh,28px);letter-spacing:1px;margin:0 0 clamp(8px,1.5vh,16px)}
.signside ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:clamp(7px,1.3vh,13px)}
.signside li{font-size:clamp(12px,1.7vh,15px);color:#D8E7F3;line-height:1.45}
.signside li b{color:#fff}
.signside .note{margin:clamp(12px,2vh,22px) 0 0;font-size:clamp(11px,1.5vh,13px);color:#9FB6D4;line-height:1.5}
@media (max-width:820px){
  .signwrap{grid-template-columns:1fr}
  .signside{order:-1}
  .signside ul{gap:7px}
}

/* who is signed in, above the leagues */
.whoami{display:flex;align-items:center;gap:10px;justify-content:flex-end;
  height:16px;padding:0 2px;margin:-10px 0 0}
.whoami .w{font-family:var(--robotoC);font-size:11px;font-weight:700;line-height:1;
  letter-spacing:1.1px;color:var(--mg);text-transform:uppercase;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap;max-width:60vw}
.whoami .out{font-family:var(--bebas);font-size:12px;letter-spacing:1.2px;line-height:1;
  color:#0E6FD6;text-decoration:none;border:1px solid var(--border);border-radius:999px;
  padding:3px 11px;background:var(--white);flex:none}
.whoami .out:hover{background:#F2F8FF}
.mine .loading{margin:0;padding:clamp(12px,2.4vh,22px) 4px;color:var(--mg);
  font-size:clamp(11.5px,1.6vh,13.5px);line-height:1.55;text-align:center}

/* Hero call to action row — ENTER beside LOG IN */
.ctarow{display:flex;align-items:center;gap:clamp(10px,1.2vw,16px);flex-wrap:wrap;margin-top:clamp(10px,1.8vh,18px)}
.btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.55);box-shadow:none}
.btn.ghost:hover{border-color:#fff;background:rgba(255,255,255,.14)}
[hidden]{display:none!important}

/* ── the game screens (football first) ──────────────────────────────────── */
.empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;
  padding:clamp(28px,6vh,64px) 18px}
.empty b{font-family:var(--bebas);font-weight:400;font-size:clamp(20px,2.4vw,30px);letter-spacing:.5px;color:var(--ink)}
.empty span{max-width:46ch;color:var(--mg);font-size:14px;line-height:1.5}
.empty .btn{margin-top:6px}
.empty .btn.ghost{border-color:rgba(22,39,111,.35);color:var(--ink)}
.empty .btn.ghost:hover{background:rgba(22,39,111,.07);border-color:var(--ink)}

.lgpick{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.lgpick button{font-family:var(--bebas);font-weight:400;font-size:14px;letter-spacing:1px;
  padding:7px 14px;border-radius:999px;cursor:pointer;background:var(--white);color:var(--ink);
  border:1px solid rgba(22,39,111,.25)}
.lgpick button:hover{border-color:var(--ink)}
.lgpick button.on{background:var(--banner);color:#fff;border-color:var(--banner)}

.mypick{display:flex;align-items:center;gap:14px;padding:12px 16px;
  border-bottom:1px solid rgba(22,39,111,.12);background:rgba(22,39,111,.04)}
.mypick .n{font-family:var(--bebas);font-weight:400;font-size:34px;line-height:1;color:var(--banner);
  min-width:52px;height:52px;display:flex;align-items:center;justify-content:center;
  background:var(--white);border-radius:12px;border:2px solid var(--banner)}
.mypick .c{display:flex;flex-direction:column;gap:2px;font-family:var(--bebas);font-weight:400;
  font-size:clamp(17px,1.7vw,22px);letter-spacing:.5px;color:var(--ink);line-height:1.1}
.mypick .c small{font-family:var(--roboto);font-weight:700;font-size:9px;letter-spacing:1.4px;
  color:var(--mg);text-transform:uppercase}

/* ── the game screen, shaped like the app ───────────────────────────────── */
.roundbar{display:flex;align-items:center;gap:14px;padding:10px 16px;
  background:var(--banner);color:#fff}
.roundbar .rw{font-family:var(--bebas);font-weight:400;font-size:15px;letter-spacing:1.6px;opacity:.85}
.roundbar .rn{font-family:var(--bebas);font-weight:400;font-size:26px;line-height:1}
.roundbar button{margin-left:auto;font-family:var(--bebas);font-weight:400;font-size:14px;
  letter-spacing:1.4px;color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);
  border-radius:999px;padding:6px 14px;cursor:pointer}
.roundbar button:first-of-type{margin-left:0;padding:6px 12px}
.roundbar button:hover:not(:disabled){background:rgba(255,255,255,.26)}
.roundbar button:disabled{opacity:.35;cursor:default}

.weekstrip{display:flex;gap:6px;overflow-x:auto;padding:10px 16px;
  border-bottom:1px solid rgba(22,39,111,.12);scrollbar-width:thin}
.weekstrip button{flex:none;min-width:34px;font-family:var(--bebas);font-weight:400;font-size:14px;
  padding:5px 9px;border-radius:8px;cursor:pointer;background:var(--white);color:var(--ink);
  border:1px solid rgba(22,39,111,.2)}
.weekstrip button.on{background:var(--banner);color:#fff;border-color:var(--banner)}

.pickline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 16px;
  background:rgba(22,39,111,.05);border-bottom:1px solid rgba(22,39,111,.1)}
.pickline b{font-family:var(--bebas);font-weight:400;font-size:clamp(16px,1.6vw,20px);letter-spacing:1px;color:var(--ink)}
.pickline span{font-family:var(--bebas);font-weight:400;font-size:14px;letter-spacing:1.4px;
  color:#fff;background:var(--soonBg);border-radius:999px;padding:4px 12px}

/* TEAM SELECTION — the numbers, four across and five down */
.numbers{display:grid;gap:clamp(12px,1.5vw,22px);padding:clamp(12px,1.8vh,18px) clamp(10px,1vw,16px);justify-items:center;
  grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:auto}
.num{position:relative;aspect-ratio:1;width:100%;max-width:clamp(118px,11vw,164px);border-radius:12px;background:#E7EAED;border:1.5px solid #E7EAED;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
  padding:10px 6px;overflow:hidden;transition:all .15s}
.num .wm{position:absolute;inset:6px;background:url(img/logo-dark.png) center/contain no-repeat;
  opacity:.12;pointer-events:none}
.num .d{position:relative;font-family:var(--bebas);font-weight:400;font-size:clamp(22px,3.6vh,30px);
  letter-spacing:.5px;color:var(--banner);line-height:1}
.num.held{border-color:#A0A4A8;cursor:default}
.num.held .d{font-size:clamp(15px,2.1vh,19px);color:#A0A4A8}
.num .tm{position:relative;font-family:var(--roboto);font-weight:900;font-size:17px;
  color:var(--ink);text-align:center;line-height:1.2;word-break:break-word}
.num .w{position:relative;font-family:var(--roboto);font-weight:400;font-size:13px;
  color:var(--ink);text-align:center;line-height:1.1;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.num.mine{background:#F5A623;border-color:#E8890C;box-shadow:0 2px 10px rgba(245,166,35,.35)}
.num.mine .d{color:var(--ink)}


.toggle{display:flex;gap:6px;padding:12px 16px 0}
.toggle button{font-family:var(--bebas);font-weight:400;font-size:13px;letter-spacing:1.4px;
  padding:6px 14px;border-radius:999px;cursor:pointer;background:var(--white);color:var(--ink);
  border:1px solid rgba(22,39,111,.22)}
.toggle button.on{background:var(--banner);color:#fff;border-color:var(--banner)}

.note{padding:16px;color:var(--mg);font-size:13px}
.sc small{display:block;font-size:9px;letter-spacing:1.2px;color:var(--mg);font-weight:700}

/* ── league table: club badge, goal difference ──────────────────────────── */
.tb td.bg{width:29px;padding-left:0;padding-right:0}
.crest{width:25px;height:25px;object-fit:contain;display:block;border-radius:4px}
.crest.none{width:25px;height:25px;display:block;border-radius:4px;
  background:rgba(22,39,111,.1);border:1px solid rgba(22,39,111,.14)}
.tb td.gd{font-variant-numeric:tabular-nums;font-weight:700;color:var(--ink);text-align:center}
.tb td.gd.neg{color:#C02626}

/* 1 & 2 — the side lists show three, then scroll */
.mine,.other{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#9FDCF4 transparent}
/* both side panels end on the same line, so both brand boxes are the same height */
.mineCol > .pnl,.rail > .pnl{flex:1 1 auto;min-height:0}
.mine::-webkit-scrollbar,.other::-webkit-scrollbar{width:6px}
.mine::-webkit-scrollbar-thumb,.other::-webkit-scrollbar-thumb{background:#9FDCF4;border-radius:6px}

/* 4 — GD sits under its own heading, like every other number column */
table.tb td.gd{text-align:right}

/* SELECT WEEK — the app's wheel, with arrows either side */
.selweek{padding:clamp(9px,1.3vh,13px) clamp(10px,1vw,16px) 0}
.swhd{font-family:var(--bebas);font-size:16px;letter-spacing:1px;color:var(--ink);margin-bottom:6px;
  display:flex;align-items:center;justify-content:space-between;gap:10px}
.swrow{display:flex;align-items:center;gap:6px}
.swrow .nav{flex:none;width:40px;height:40px;border-radius:10px;cursor:pointer;background:var(--white);
  border:1px solid rgba(22,39,111,.2);color:var(--banner);font-size:18px;line-height:1}
.swrow .nav:hover{border-color:var(--banner)}
.wheel{flex:1;min-width:0;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.wheel::-webkit-scrollbar{display:none}
.wheel button{flex:none;width:50px;height:50px;border-radius:50%;cursor:pointer;background:#E7EAED;
  border:1px solid transparent;color:var(--banner);font-family:var(--bebas);font-size:22px;line-height:1}
.wheel button.on{background:#F5A623;border-color:var(--banner);border-width:2px;color:var(--ink)}

/* The information bar, in the app's three states (LiveSoccerScreen.tsx). */
.pickbox{display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:clamp(9px,1.3vh,14px) clamp(10px,1vw,16px) 0;border-radius:12px;padding:10px 14px}
.pickbox.open{background:#F5A62314;border:1px solid #F5A623}
.pickbox.waiting{background:rgba(0,0,0,.03);border:1px solid var(--border);
  border-radius:10px;padding:8px 14px;justify-content:center;text-align:center}
.pickbox.locked{background:#E8F8EF;border:1px solid #A3E2BB;justify-content:center;
  padding:clamp(11px,1.6vh,15px) 14px}
.pickbox .ln{min-width:0;display:flex;flex-direction:column;
  font-family:var(--roboto);font-size:12px;font-weight:700;color:var(--ink)}
.pickbox .ln small{font-weight:400;font-size:11px;color:var(--mg);margin-bottom:1px}
.pickbox > small{font-family:var(--roboto);font-size:12px;font-weight:400;color:var(--mg)}
.pickbox .cd{flex:none;font-family:var(--robotoC);font-size:clamp(17px,2.8vh,22px);
  font-weight:700;color:#E8890C;font-variant-numeric:tabular-nums}
.pickbox .lk{font-family:var(--bebas);font-weight:400;font-size:22px;letter-spacing:1px;
  color:#1DB954;line-height:1.15;display:block}
.pickhd{font-family:var(--bebas);font-size:22px;letter-spacing:1px;color:var(--ink);
  padding:clamp(7px,1vh,10px) clamp(10px,1vw,16px) 0}
table.tb td.fm{text-align:right;white-space:nowrap}

/* a free number you can take */
.num.can{cursor:pointer}
.num.can:hover{background:#DDE2E8;border-color:var(--banner);transform:translateY(-1px)}
.num.can:active{transform:translateY(0)}

/* what the server said about your pick */
.saybox{position:fixed;left:50%;bottom:26px;transform:translate(-50%,16px);z-index:60;
  padding:12px 20px;border-radius:999px;font-family:var(--bebas);font-weight:400;
  font-size:clamp(14px,2vh,18px);letter-spacing:.6px;color:#fff;background:var(--banner);
  box-shadow:0 6px 22px rgba(0,0,0,.22);opacity:0;pointer-events:none;transition:all .18s}
.saybox.show{opacity:1;transform:translate(-50%,0)}
.saybox.good{background:#0E6B2A}
.saybox.bad{background:#C02626}

/* ── the page's blue and the panels' white, swapped (Kenny, 14 Nov 2026) ── */
body{background:var(--white)}
.pnl{background:var(--pageBg);border-color:#CFE4F2}
table.tb thead th{background:var(--pageBg);color:#5B6B7A;border-bottom:1px solid #CFE4F2}
table.tb tbody tr{border-bottom:1px solid #D8E8F4}
table.tb tbody tr:nth-child(even){background:rgba(255,255,255,.45)}
table.tb tr.me td{background:rgba(245,166,35,.07);border-top:1px solid #F5A623;border-bottom:1px solid #F5A623}
table.tb tr.me td:first-child{border-left:1px solid #F5A623;border-radius:8px 0 0 8px}
table.tb tr.me td:last-child{border-right:1px solid #F5A623;border-radius:0 8px 8px 0}
.pickbox.waiting{background:var(--white)}
/* the pills and tiles stay the app's grey — only the amber is kept */
.selweek .wheel button{background:#E7EAED;border-color:#E7EAED}
.selweek .wheel button.on{background:var(--soonBg);border-color:var(--banner)}
.swrow .nav{background:var(--white);border-color:#D8E8F4}
.num{background:#E7EAED;border-color:#E7EAED}
.num.held{background:#E7EAED;border-color:#A0A4A8}
.num.mine{background:var(--soonBg);border-color:#E8890C}
.lgpick button,.mine a,.other a{background:var(--white)}

/* ── the table's columns, fixed so nothing stretches into dead space ──────
   Twelve columns across the panel. Player takes the slack it needs and no
   more, so the numbers sit evenly rather than bunching to the right.      */
table.tb{table-layout:fixed;width:100%}
table.tb th:nth-child(1),table.tb td:nth-child(1){width:7%}      /* POS    */
table.tb th:nth-child(2),table.tb td:nth-child(2){width:5.5%}    /* badge  */
table.tb th:nth-child(3),table.tb td:nth-child(3){width:27.5%}   /* NAME   */
table.tb th:nth-child(4),table.tb td:nth-child(4),
table.tb th:nth-child(5),table.tb td:nth-child(5),
table.tb th:nth-child(6),table.tb td:nth-child(6),
table.tb th:nth-child(7),table.tb td:nth-child(7){width:6%}      /* P W D L */
table.tb th:nth-child(8),table.tb td:nth-child(8),
table.tb th:nth-child(9),table.tb td:nth-child(9){width:7%}      /* GF GA  */
table.tb th:nth-child(10),table.tb td:nth-child(10){width:9%}    /* GD     */
table.tb th:nth-child(11),table.tb td:nth-child(11){width:9%}    /* Pts    */
table.tb th:nth-child(12),table.tb td:nth-child(12){width:auto}  /* unused */
table.tb td:nth-child(3){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ── the table, as the app draws it ───────────────────────────────────────
   STANDINGS / FORM toggle, the position in a disc, the player's own club
   badge as a circle, and the amber outline on your own row.               */
.sf{display:flex;margin:12px 4px 10px;border-radius:10px;overflow:hidden;border:1px solid #CFE4F2}
.sf button{flex:1;cursor:pointer;border:none;background:var(--white);color:var(--mg);
  font-family:var(--bebas);font-weight:400;font-size:22px;letter-spacing:.6px;padding:9px 0}
.sf button.on{background:var(--banner);color:#fff}

table.tb td .pos{display:inline-grid;place-items:center;vertical-align:middle;
  width:30px;height:30px;border-radius:50%;
  background:#E7EAED;color:var(--banner);font-family:var(--robotoC);font-weight:700;font-size:20px;line-height:1}
table.tb td .pos.mine{background:#F5A623;color:var(--ink)}

.pb{display:inline-grid;place-items:center;vertical-align:middle;
  width:35px;height:35px;border-radius:50%;flex:none;
  font-family:var(--bebas);font-weight:400;font-size:14px;letter-spacing:.3px;
  box-shadow:0 1px 4px rgba(0,0,0,.22);overflow:hidden}
.pb.logo{background:#fff}
.pb.logo img{width:80%;height:80%;object-fit:contain}
.pb.none{background:#E7EAED;box-shadow:none}
.pb.none,.pb{width:35px;height:35px}
table.tb td.bg{padding-left:0;padding-right:2px;text-align:left;line-height:35px}

/* ── FIXTURE and HEAD TO HEAD — the app's MatchCard (components/MatchCard.tsx) */
.fx{display:flex;flex-direction:column;gap:10px;padding:14px 16px 24px}
.mc{border-radius:14px;background:var(--white);border:1px solid var(--border);overflow:hidden;
  box-shadow:0 1px 6px rgba(0,0,0,.04)}
.mc.mine{background:#F5A62314;border:2px solid #F5A623;box-shadow:0 2px 14px rgba(245,166,35,.18)}
.mc.off{background:rgba(192,39,74,.05);border:1px solid rgba(192,39,74,.35);box-shadow:none}
.mc .row{display:flex;align-items:center;gap:4px;padding:12px 10px 6px}
.mc .sd{flex:1;min-width:0}
.mc .sd.r{text-align:right}
.mc .pl{font-family:var(--roboto);font-size:22px;font-weight:700;color:var(--banner);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc .cl{font-family:var(--roboto);font-size:15px;color:var(--mg);margin-top:1px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc .sc2{display:flex;align-items:center;gap:2px;padding:0 6px;flex-shrink:0}
.mc .g{font-family:var(--robotoC);font-size:26px;font-weight:900;color:var(--ink);
  font-variant-numeric:tabular-nums;line-height:1}
.mc .sep{font-family:var(--robotoC);font-size:18px;font-weight:700;color:var(--mg);line-height:1;padding:0 2px}
.mc .g.off,.mc .sep.off{color:#C0274A}
.cb{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;flex:none;
  font-family:var(--bebas);font-weight:400;font-size:13px;letter-spacing:.3px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(11,11,11,.08)}
.cb.logo{background:#fff}
.cb.logo img{width:80%;height:80%;object-fit:contain}
.cb.plain{background:#E7EAED;color:var(--banner);font-family:var(--robotoC);font-weight:700;font-size:12px}
.mc .ko{display:flex;align-items:center;justify-content:center;gap:6px;padding:0 10px 8px;
  font-family:var(--roboto);font-size:10px;color:var(--mg)}
.mc.off .ko{color:#C0274A}
.tg{font-family:var(--robotoC);font-size:9px;font-weight:700;letter-spacing:.5px;padding:2px 6px;border-radius:4px}
.tg.live{background:#C0274A;color:#fff}
.tg.ft{background:#E7EAED;color:var(--mg)}
.tg.off{background:rgba(192,39,74,.12);color:#C0274A}

/* ── the form window: how many games, and the latest set apart ──────────── */
/* the heading is the control: it reads as a heading, not a form field */
.fpick{font-family:var(--robotoC);font-size:22px;font-weight:700;letter-spacing:.4px;color:var(--mg);
  background:transparent;border:none;padding:0;cursor:pointer;white-space:nowrap;
  display:inline-flex;align-items:center;gap:6px}
.fpick i{display:inline-block;width:0;height:0;border-left:5px solid transparent;
  border-right:5px solid transparent;border-top:6px solid currentColor;opacity:.7}
.fpick:hover,.fpick:focus{color:var(--banner);outline:none}

/* the menu it opens — stays until a choice is made or you click away */
.fmenu{position:fixed;z-index:80;min-width:150px;padding:6px;border-radius:12px;
  background:var(--white);border:1px solid #CFE4F2;box-shadow:0 10px 30px rgba(11,11,11,.16)}
.fmenu button{display:block;width:100%;text-align:left;cursor:pointer;border:none;background:none;
  font-family:var(--robotoC);font-size:20px;font-weight:700;letter-spacing:.4px;color:var(--ink);
  padding:8px 12px;border-radius:8px;white-space:nowrap}
.fmenu button:hover{background:#EAF4FB}
.fmenu button.on{background:var(--banner);color:#fff}

/* pills size themselves to the window so the row always fits */
table.tb[data-pills="24"] .dot{width:24px;height:24px;font-size:20px}
table.tb[data-pills="22"] .dot{width:22px;height:22px;font-size:17px}
table.tb[data-pills="18"] .dot{width:18px;height:18px;font-size:13px}
table.tb[data-pills="15"] .dot{width:15px;height:15px;font-size:11px}
table.tb[data-pills="13"] .dot{width:13px;height:13px;font-size:9px}
table.tb[data-pills="12"] .dot{width:12px;height:12px;font-size:8px}
table.tb[data-pills="10"] .dot{width:10px;height:10px;font-size:0;color:transparent}

/* one pill of clear air before the most recent game */
table.tb .dot.last{margin-left:calc(2em + 3px)}
table.tb[data-pills="24"] .dot.last{margin-left:27px}
table.tb[data-pills="22"] .dot.last{margin-left:25px}
table.tb[data-pills="18"] .dot.last{margin-left:21px}
table.tb[data-pills="15"] .dot.last{margin-left:18px}
table.tb[data-pills="13"] .dot.last{margin-left:16px}
table.tb[data-pills="12"] .dot.last{margin-left:15px}
table.tb[data-pills="10"] .dot.last{margin-left:13px}

/* the form view has five columns, so its pill column takes the slack */
table.tb td.fm{width:auto;text-align:right;white-space:nowrap}

/* the form view has five columns, not eleven — its own widths */
table.tb[data-view="form"] th:nth-child(4),
table.tb[data-view="form"] td:nth-child(4){width:auto;padding-right:0}
/* one pill of clear air between the last game and Pts */
table.tb[data-view="form"][data-pills="24"] td.fm{padding-right:24px}
table.tb[data-view="form"][data-pills="22"] td.fm{padding-right:22px}
table.tb[data-view="form"][data-pills="18"] td.fm{padding-right:18px}
table.tb[data-view="form"][data-pills="15"] td.fm{padding-right:15px}
table.tb[data-view="form"][data-pills="13"] td.fm{padding-right:13px}
table.tb[data-view="form"][data-pills="12"] td.fm{padding-right:12px}
table.tb[data-view="form"][data-pills="10"] td.fm{padding-right:10px}
table.tb[data-view="form"] th:nth-child(5),
table.tb[data-view="form"] td:nth-child(5){width:8%;padding-left:0}

/* ── Match events, as components/MatchCard.tsx draws them ─────────────────── */
.mc .evt{display:flex;align-items:center;justify-content:center;gap:4px;padding:4px 10px;
  border-top:1px solid var(--border);cursor:pointer;background:rgba(0,0,0,.015);
  font-family:var(--roboto);font-size:10px;color:var(--mg);user-select:none}
.mc .evt:hover{background:rgba(0,0,0,.035)}
.mc .evt .chv{width:14px;height:14px;flex-shrink:0;transition:transform .2s}
.mc .evt .chv.o{transform:rotate(180deg)}
.mc .evs{display:flex;gap:8px;padding:6px 10px 10px;border-top:1px dashed var(--border)}
.mc .evc{flex:1;min-width:0}
.mc .evc.r{display:flex;flex-direction:column;align-items:flex-end}
.mc .ev{display:flex;align-items:center;gap:3px;margin-bottom:2px}
.mc .ev.r{flex-direction:row-reverse}
.mc .ev .ic{font-family:var(--robotoC);font-size:10px;font-weight:900;color:var(--banner);letter-spacing:.3px}
.mc .ev .who{font-family:var(--robotoC);font-size:10px;font-weight:600;color:var(--ink);
  max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc .ev .mn{font-family:var(--robotoC);font-size:10px;font-weight:600;color:var(--mg);white-space:nowrap}

/* ── HEAD TO HEAD panels, as components/H2HPanels.tsx draws them ──────────── */
#h2hlist{display:flex;flex-direction:column;gap:10px}

.h2back{display:flex;align-items:center;gap:6px;cursor:pointer;
  font-family:var(--roboto);font-size:12px;font-weight:700;color:#2BC8F0}
.h2back:hover{text-decoration:underline}

.h2sw{display:flex;gap:6px}
.h2sw button{flex:0 0 auto;border:1px solid var(--border);background:var(--white);border-radius:999px;
  padding:5px 14px;cursor:pointer;font-family:var(--robotoC);font-size:11px;font-weight:700;
  letter-spacing:.6px;color:var(--mg)}
.h2sw button.on{background:var(--banner);border-color:var(--banner);color:#fff}
.h2sw button:disabled{opacity:.45;cursor:default}

.h2c{border-radius:14px;background:var(--white);border:1px solid var(--border);overflow:hidden;
  box-shadow:0 1px 6px rgba(0,0,0,.04)}
.h2c.flat{padding:12px 14px}
.h2c.flat .t{font-family:var(--bebas);font-size:18px;letter-spacing:.6px;color:var(--ink);display:block}
.h2c.flat .s2{font-family:var(--roboto);font-size:10px;color:var(--mg);letter-spacing:.2px;
  display:block;margin-bottom:10px}
.h2h-hd{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;cursor:pointer}
.h2h-hd .ti{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-width:0}
.h2h-hd .t{font-family:var(--bebas);font-size:17px;letter-spacing:.6px;color:var(--ink)}
.h2h-hd .s{font-family:var(--roboto);font-size:11px;color:var(--mg)}
.h2h-hd .chv{width:14px;height:14px;flex-shrink:0;transition:transform .2s}
.h2h-hd .chv.o{transform:rotate(180deg)}
.h2b{padding:12px 14px 14px}

.nmr{display:flex;align-items:center;margin-bottom:6px}
.nmr .a,.nmr .b{width:62px;font-family:var(--roboto);font-size:12.5px;font-weight:700;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nmr .a{text-align:right;color:var(--banner)}
.nmr .b{text-align:left;color:#C0274A}
.nmr .sp{flex:1}
.str{display:flex;align-items:center;padding:5px 0;border-bottom:1px solid var(--border)}
.str .a,.str .b{width:62px;font-family:var(--robotoC);font-size:14.5px;font-weight:700;
  font-variant-numeric:tabular-nums}
.str.bold .a,.str.bold .b{font-size:17px;font-weight:900}
.str .a{text-align:right;color:var(--banner)}
.str .b{text-align:left;color:#C0274A}
.str .l{flex:1;text-align:center;font-family:var(--roboto);font-size:12.5px;color:var(--mg);
  padding:0 8px;line-height:1.3}

.h2key{display:flex;align-items:center;gap:14px;margin-bottom:6px;
  font-family:var(--robotoC);font-size:12.5px;font-weight:700}
.h2key span{display:inline-flex;align-items:center;gap:5px}
.h2key span:first-child{color:var(--banner)}
.h2key span:last-child{color:#C0274A}
.h2key em{font-style:normal;color:var(--mg);font-weight:400}
.h2key .d{width:8px;height:8px;border-radius:4px;flex-shrink:0}
.h2key .d.a{background:var(--banner)}
.h2key .d.b{background:#C0274A}

.bar{display:flex;align-items:center;gap:6px;padding:3px 0;border-radius:4px}
.bar.on{background:rgba(43,200,240,.07)}
.bar .bl{width:42px;font-family:var(--robotoC);font-size:11px;color:var(--mg);flex-shrink:0}
.bar .tr{flex:1;height:10px;border-radius:5px;overflow:hidden;background:#E7EAED;min-width:0}
.bar .fl{display:flex;height:100%;padding:0;gap:0;border:none;border-radius:5px;overflow:hidden}
.bar .fl i{background:var(--banner)}
.bar .fl u{background:#C0274A}
.bar .bv{width:38px;text-align:right;font-family:var(--robotoC);font-size:12.5px;font-weight:900;
  color:var(--ink);font-variant-numeric:tabular-nums;flex-shrink:0}
.bar .bv.off{color:var(--mg)}

.vrd{margin-top:8px;background:rgba(43,200,240,.1);border-radius:10px;padding:8px 12px;
  border:1px solid rgba(43,200,240,.3)}
.vrd .vt{font-family:var(--bebas);font-size:13px;letter-spacing:.5px;color:var(--banner);margin-bottom:2px}
.vrd .vv{font-family:var(--bebas);color:#2BC8F0;letter-spacing:1px;line-height:1.15}
.vrd .vn{font-family:var(--roboto);font-size:9px;color:var(--mg);margin-top:4px;line-height:1.35}

.l5{display:flex;align-items:flex-start;gap:12px}
.l5c{flex:1;min-width:0}
.l5c .nm{font-family:var(--roboto);font-size:12.5px;font-weight:700;color:var(--banner);margin-bottom:6px}
.l5c.r .nm{color:#C0274A;text-align:right}
.l5c .dots{display:flex;gap:5px}
.l5c.r .dots{justify-content:flex-end}
.l5s{width:1px;align-self:stretch;background:var(--border)}
.d5{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;
  font-family:var(--robotoC);font-size:10px;font-weight:700;color:#fff}
.d5.dW{background:#1DB954}.d5.dD{background:#A0A4A8}.d5.dL{background:#C0274A}
.l5c .none{font-family:var(--robotoC);font-size:15.5px;font-weight:700;color:var(--mg)}

.rps{display:flex;gap:6px}
.rp{flex:1;min-width:0;border-radius:10px;background:#E7EAED;padding:10px 4px 8px;
  display:flex;flex-direction:column;align-items:center;gap:4px}
.rp .l{font-family:var(--roboto);font-size:10px;font-weight:600;color:var(--mg);text-align:center;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;padding-inline:4px}
.rp .v{font-family:var(--robotoC);font-size:22.5px;font-weight:900;font-variant-numeric:tabular-nums}
.rp .v.a{color:var(--banner)}.rp .v.d{color:#A0A4A8}.rp .v.b{color:#C0274A}
/* the bar reads the number: 53% draws a bar 53% wide, not a fixed stub */
.rp i{width:var(--pw,80%);height:4px;border-radius:2px;opacity:.75;display:block;
  transition:width .2s}
.rp i.a{background:var(--banner)}.rp i.d{background:#A0A4A8}.rp i.b{background:#C0274A}
#fxlist .mc{cursor:pointer}
#fxlist .mc .evt{cursor:pointer}

/* the HOME / AWAY picker sits opposite the POST-MATCH switch */
.h2row{display:flex;align-items:center;gap:10px}
.h2row .h2sw{flex:1 1 auto}
.h2row .fpick{flex:0 0 auto;font-family:var(--robotoC);font-size:11px;font-weight:700;
  letter-spacing:.6px;color:var(--mg);background:var(--white);border:1px solid var(--border);
  border-radius:999px;padding:5px 14px;display:inline-flex;align-items:center;gap:6px}
.h2row .fpick:hover,.h2row .fpick:focus{color:var(--banner);border-color:#CFE4F2;outline:none}
.h2row .fpick i{border-top-color:currentColor}
#rolMenu button{font-family:var(--robotoC);font-size:11px;font-weight:700;letter-spacing:.6px}

/* ── CRICKET ──────────────────────────────────────────────────────────────
   The Big Bash and Cricket Test screens. Only what football does not already
   have: the scorecard drawer, the two-sided phase bars, the finals list and
   the table's own columns.                                                 */

/* the card's scorecard drawer */
.mc .scd{padding:6px 12px 10px;border-top:1px dashed var(--border);display:flex;flex-direction:column;gap:3px}
.mc .sl{display:flex;align-items:center;font-family:var(--roboto);font-size:12px}
.mc .sl .n{flex:1;min-width:0;font-weight:700;color:var(--banner);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc .sl:last-child .n{color:#C0274A}
.mc .sl .v{font-family:var(--robotoC);font-weight:700;color:var(--ink)}

/* SCORE PROBABILITY — one bar per phase, split between the two players */
.pb2{display:flex;align-items:center;gap:5px;padding:3px 0;border-radius:6px}
.pb2.on{background:rgba(43,200,240,.08)}
.pb2 .bl{width:74px;flex-shrink:0;font-family:var(--robotoC);font-size:11px;color:var(--mg)}
.pb2 .pa,.pb2 .pbv{width:34px;flex-shrink:0;font-family:var(--robotoC);font-size:12.5px;font-weight:600}
.pb2 .pa{text-align:right;color:var(--banner)}
.pb2 .pbv{text-align:left;color:#C0274A}
.pb2 .tr{flex:1;min-width:0;height:9px;display:flex;border-radius:5px;overflow:hidden;background:#E7EAED}
.pb2 .tr i{background:var(--banner)}
.pb2 .tr u{background:#C0274A}

/* WHERE THIS MATCH IS WON */
.h2c.won{background:rgba(23,183,232,.1);border-color:rgba(23,183,232,.3)}
.h2c .wt{font-family:var(--bebas);font-size:14px;letter-spacing:.5px;color:var(--banner);margin-bottom:4px}
.h2c .wv{font-family:var(--bebas);font-size:28px;letter-spacing:1px;color:#17B7E8;line-height:1.15}
.h2c .wn{font-family:var(--roboto);font-size:10px;color:var(--mg);line-height:1.4;margin-top:4px}

/* the table's own columns: POS, badge, NAME, P W L T/NR PTS NRR */
body.cricket table.tb th:nth-child(1),body.cricket table.tb td:nth-child(1){width:7%}
body.cricket table.tb th:nth-child(2),body.cricket table.tb td:nth-child(2){width:6%}
body.cricket table.tb th:nth-child(3),body.cricket table.tb td:nth-child(3){width:30%}
body.cricket table.tb[data-view="standings"] th:nth-child(n+4),
body.cricket table.tb[data-view="standings"] td:nth-child(n+4){width:9.5%}
body.cricket table.tb[data-view="standings"] th:last-child,
body.cricket table.tb[data-view="standings"] td:last-child{width:12%}
body.cricket table.tb[data-view="form"] th:nth-child(4),
body.cricket table.tb[data-view="form"] td:nth-child(4){width:auto;text-align:left}
body.cricket table.tb[data-view="form"] th:nth-child(5),
body.cricket table.tb[data-view="form"] td:nth-child(5){width:10%}
table.tb td.up{color:#1DB954}
table.tb td.dn{color:#C0274A}
table.tb tr.cut td{border-top:2px dashed #A0A4A8}
table.tb sup.q{font-family:var(--robotoC);font-size:11px;font-weight:700;color:#1DB954;margin-left:3px}
table.tb sup.e{font-family:var(--robotoC);font-size:11px;font-weight:700;color:#C0274A;margin-left:3px}

/* a player's results, opened from the FORM view */
tr.fdrop td{padding:0 5px 8px}
/* a player's results, inside the FORM drop only — never the probability bars,
   which use .fl of their own inside .bar */
tr.fdrop .fl{display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--border)}
tr.fdrop .fl:last-child{border-bottom:none}
tr.fdrop .fl .r{font-family:var(--robotoC);font-size:12px;color:var(--mg);width:34px;flex-shrink:0}
tr.fdrop .fl .t{flex:1;min-width:0;font-family:var(--roboto);font-size:13px;color:var(--ink);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dot.dNR{background:#F5A623}
.d5.dNR{background:#F5A623}

/* FINALS */
.finals{padding:6px 2px 10px}
.fnh{font-family:var(--bebas);font-size:19px;letter-spacing:1px;color:var(--banner);
  padding:16px 0 8px;border-bottom:1px solid var(--border);margin-bottom:4px}
.fnr{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--border)}
.fnr .lb{font-family:var(--bebas);font-size:17px;letter-spacing:.5px;color:var(--ink);
  width:112px;flex-shrink:0}
.fnr .ps{flex:1;min-width:0;font-family:var(--roboto);font-size:14px;color:var(--ink)}
.fnr .wn{font-family:var(--robotoC);font-size:13px;font-weight:700;color:#1DB954}
.champ{margin-top:10px;text-align:center;font-family:var(--bebas);font-size:24px;
  letter-spacing:1px;color:#1DB954}

/* ── TAKE A TOUR ──────────────────────────────────────────────────────────
   The sport rail sits where MY LEAGUES sits on the live pages.             */
body.tour table.tb th:nth-child(1),body.tour table.tb td:nth-child(1){width:7%}
body.tour table.tb th:nth-child(2),body.tour table.tb td:nth-child(2){width:3%}
body.tour table.tb th:nth-child(3),body.tour table.tb td:nth-child(3){width:26%}
body.tour table.tb[data-view="standings"] th:nth-child(n+4),
body.tour table.tb[data-view="standings"] td:nth-child(n+4){width:8%}
body.tour table.tb[data-view="form"] th:nth-child(4),
body.tour table.tb[data-view="form"] td:nth-child(4){width:auto;text-align:left}

/* each sport's table has its own number of columns — let them size themselves */
body:not(.cricket) table.tb[data-view="standings"].wide{table-layout:auto}
table.tb td.pts{font-weight:700}

/* ── MAKING AND JOINING A LEAGUE ────────────────────────────────────────── */
.mk{display:flex;gap:6px;padding:0 12px 10px}
.mk button{flex:1;border:1px solid var(--border);background:var(--white);border-radius:999px;
  padding:7px 8px;cursor:pointer;font-family:var(--robotoC);font-size:11px;font-weight:700;
  letter-spacing:.5px;color:var(--banner)}
.mk button:hover{border-color:#CFE4F2;background:#F3F9FD}
/* CREATE A LEAGUE in KUP amber, so it is the thing you see first */
.mk button:last-child{background:#F5A623;border-color:#F5A623;color:var(--banner)}
.mk button:last-child:hover{background:#E0940F;border-color:#E0940F}

.sheet{position:fixed;inset:0;z-index:60;background:rgba(11,11,11,.45);
  display:flex;align-items:center;justify-content:center;padding:24px}
.sheet .card{width:min(420px,100%);max-height:86vh;overflow:auto;background:var(--white);
  border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.25)}
.sheet .hd{display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;border-bottom:1px solid var(--border);
  font-family:var(--bebas);font-size:20px;letter-spacing:.8px;color:var(--ink)}
.sheet .hd button{border:none;background:transparent;font-size:24px;line-height:1;
  color:var(--mg);cursor:pointer;padding:0 2px}
.sheet .bd{padding:14px 16px 18px;display:flex;flex-direction:column;gap:12px}
.sheet label{display:flex;flex-direction:column;gap:5px;
  font-family:var(--robotoC);font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--mg)}
.sheet label.row{flex-direction:row;align-items:center;gap:9px;
  font-family:var(--roboto);font-size:13px;font-weight:400;letter-spacing:0;color:var(--ink)}
.sheet label.row input{width:17px;height:17px;accent-color:var(--banner)}
.sheet input[type=text],.sheet input:not([type]),.sheet input[type=number],.sheet select{
  border:1px solid var(--border);border-radius:9px;padding:10px 12px;
  font-family:var(--roboto);font-size:15px;color:var(--ink);background:var(--white)}
.sheet input:focus,.sheet select:focus{outline:none;border-color:var(--banner)}
.sheet .go{margin-top:4px;border:none;border-radius:999px;background:var(--banner);color:#fff;
  padding:12px;cursor:pointer;font-family:var(--bebas);font-size:18px;letter-spacing:1px}
.sheet .go:hover{background:#1E3690}
.sheet .go:disabled{opacity:.55;cursor:default}
.sheet .hint{font-family:var(--roboto);font-size:11px;color:var(--mg);line-height:1.45}

/* MY PROFILE — the colour swatches */
#rowName{cursor:pointer}
#rowName:hover{background:#F3F9FD}
.swatchHd{font-family:var(--robotoC);font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--mg)}
.swatches{display:flex;gap:10px;flex-wrap:wrap}
.swatches .sw{width:42px;height:42px;border-radius:50%;border:2px solid transparent;cursor:pointer;
  box-shadow:0 1px 4px rgba(11,11,11,.12)}
.swatches .sw.on{border-color:var(--ink);box-shadow:0 0 0 3px rgba(22,39,111,.18)}

/* FAVOURITE SPORTS & TEAMS — the chips */
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chips .chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--border);
  background:var(--white);border-radius:999px;padding:7px 12px;cursor:pointer;
  font-family:var(--roboto);font-size:13px;color:var(--ink)}
.chips .chip:hover{border-color:#CFE4F2;background:#F3F9FD}
.chips .chip.on{background:var(--banner);border-color:var(--banner);color:#fff}
.chips .chip.team i{width:11px;height:11px;border-radius:50%;background:var(--c);flex-shrink:0;
  box-shadow:0 0 0 1px rgba(11,11,11,.12)}
/* The live Formula 1 league plays the race game inside the league panel. On the
   website it fills that panel — the game's own 430px phone cap is lifted when
   the page is built (kup-f1.js), so it reads as part of the site rather than a
   phone screen dropped into it. */
.f1stage{flex:1;min-height:0;display:flex;justify-content:center;background:#EBEFF1;
  border-bottom-left-radius:13px;border-bottom-right-radius:13px;overflow:hidden}
.f1stage iframe{border:0;width:100%;height:100%;display:block;background:#fff}
@media (max-width:820px){ .f1stage{min-height:560px} }
/* update 306: the football club picker — a league drop-down, then that league's
   clubs, each carrying its crest in place of the plain colour dot. The crest
   keeps a white tile behind it so dark crests still read on the chosen chip. */
.sheet select.fbsel{width:100%;margin:2px 0}
.chips .chip.crestchip{padding-left:6px}
.chips .chip.crestchip .crest{width:18px;height:18px;border-radius:3px;flex-shrink:0;
  background:#fff;padding:1px;box-sizing:border-box}

/* LOCATION — SELECT COUNTRY, the app's own picker list */
.pickList{display:flex;flex-direction:column;max-height:52vh;overflow:auto;
  border:1px solid var(--border);border-radius:12px}
.pickList .pick{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:13px 14px;background:none;border:none;border-bottom:1px solid var(--border);
  cursor:pointer;text-align:left;font-family:var(--roboto);font-size:15px;font-weight:500;color:var(--ink)}
.pickList .pick:last-child{border-bottom:none}
.pickList .pick:hover{background:#F3F9FD}
.pickList .pick.on{background:rgba(23,183,232,.08)}
.pickList .pick .tick{width:18px;height:18px;border-radius:50%;background:var(--banner);flex-shrink:0;
  position:relative}
.pickList .pick .tick::after{content:"";position:absolute;left:5px;top:4px;width:5px;height:9px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}

/* TAKE A TOUR — the front door: pick a sport */
.tourpick{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;padding:4px 0 8px}
.tourpick .tpk{display:flex;flex-direction:column;align-items:flex-start;gap:3px;
  padding:16px 16px 14px;border:1px solid var(--border);border-radius:14px;background:#fff;
  cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s,transform .15s}
.tourpick .tpk:hover{border-color:var(--banner);box-shadow:0 6px 18px rgba(22,39,111,.12);transform:translateY(-2px)}
.tourpick .tpk .nm{font-family:var(--bebas);font-size:22px;letter-spacing:.4px;color:var(--banner);line-height:1.05}
.tourpick .tpk .sb{font-family:var(--roboto);font-size:12px;font-weight:700;color:var(--banner);
  text-transform:uppercase;letter-spacing:.6px}
.tourpick .tpk .bl{font-family:var(--roboto);font-size:12px;color:var(--mg);margin-top:4px;line-height:1.35}
.tourpick .tpk .go{margin-top:10px;font-family:var(--bebas);font-size:15px;letter-spacing:.5px;color:var(--soonBg)}
@media (max-width:560px){.tourpick{grid-template-columns:1fr}}

/* Logging in from the home page, without leaving it */
.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.quickin{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(8px,1vw,12px);
  margin:clamp(14px,2.6vh,26px) 0 0;max-width:560px}
.quickin input[type=email],.quickin input[type=password]{
  flex:1 1 180px;min-width:150px;height:44px;padding:0 14px;border-radius:10px;
  border:1px solid rgba(255,255,255,.4);background:rgba(11,16,40,.55);color:#fff;
  font:400 14px/1 var(--roboto);backdrop-filter:blur(3px)}
.quickin input::placeholder{color:rgba(255,255,255,.62)}
.quickin input:focus{outline:none;border-color:var(--cyanTo);
  box-shadow:0 0 0 3px rgba(23,183,232,.3)}
.quickin .btn{flex:0 0 auto;height:44px}
.quickin .qrem{flex:0 0 auto;display:flex;align-items:center;gap:6px;
  color:rgba(255,255,255,.85);font:400 12px/1 var(--roboto);cursor:pointer}
.quickin .qrem input{accent-color:var(--cyanTo);width:15px;height:15px;cursor:pointer}
.quickin .qforgot{flex:0 0 auto;color:var(--cyanFrom);font:400 12px/1 var(--roboto);
  text-decoration:none}
.quickin .qforgot:hover{text-decoration:underline}
.quickin .qerr{flex:1 1 100%;margin:2px 0 0;color:#FFB4B4;
  font:700 12px/1.35 var(--roboto)}
@media (max-width:860px){.quickin{display:none!important}}

/* Settings: deleting an account — the warning and the two buttons */
.setrow.danger .t{color:#C0392B}
.sheet .warn{display:flex;flex-direction:column;gap:6px;padding:13px 14px;margin-bottom:14px;
  border:1.5px solid #F3C4BE;background:#FDF2F1;border-radius:12px}
.sheet .warn b{font-family:var(--bebas);font-size:18px;letter-spacing:.6px;color:#C0392B}
.sheet .warn span{font-family:var(--roboto);font-size:13px;line-height:1.45;color:var(--ink)}
.sheet .twobtn{display:flex;gap:10px}
.sheet .twobtn .go{flex:1}
.sheet .go.ghost{background:transparent;color:var(--banner);border:1.5px solid var(--border)}
.sheet .go.bad{background:#C0392B;color:#fff}
.sheet .hint a{color:var(--qlChevron);text-decoration:none}
.sheet .hint a:hover{text-decoration:underline}

/* TAKE A TOUR — a slow breath, to draw the eye to the one thing a visitor
   should press. 4s, the same gentle rhythm as the guide's pulse, and off
   entirely for anyone who asks for less motion. */
@keyframes kupTourBreathe{
  0%  {box-shadow:0 4px 14px rgba(0,0,0,.28), 0 0 0 0 rgba(245,166,35,.55)}
  60% {box-shadow:0 4px 14px rgba(0,0,0,.28), 0 0 0 16px rgba(245,166,35,0)}
  100%{box-shadow:0 4px 14px rgba(0,0,0,.28), 0 0 0 0 rgba(245,166,35,0)}
}
#heroTour:not([hidden]){animation:kupTourBreathe 4s ease-in-out infinite}
#heroTour:hover{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){#heroTour{animation:none!important}}

/* The sport we want a newcomer to try: the same slow breath as TAKE A TOUR,
   so the trail carries on from the home page. Tour mode only. */
@keyframes kupTileBreathe{
  0%  {box-shadow:0 0 0 0 rgba(245,166,35,.55)}
  60% {box-shadow:0 0 0 18px rgba(245,166,35,0)}
  100%{box-shadow:0 0 0 0 rgba(245,166,35,0)}
}
a.tile2.breathe{animation:kupTileBreathe 4s ease-in-out infinite}
a.tile2.breathe:hover{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){a.tile2.breathe{animation:none!important}}

/* ── HEAD TO HEAD · SCORE PROBABILITY (cricket phases) ──────────────────
   The app's CricketGameScreen layout: phase, home %, split bar, away %. */
.spk{display:flex;gap:16px;margin-bottom:10px}
.spk span{display:flex;align-items:center;gap:5px;font-family:var(--roboto);
  font-size:12px;color:var(--banner);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spk i{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.spk i.dh{background:var(--banner)}
.spk i.da{background:#C0274A}

.spb{display:flex;align-items:center;gap:4px;border-radius:6px;padding:4px 0}
.spb.hot{background:rgba(23,183,232,.08)}
.spb .bl{width:68px;font-family:var(--robotoC);font-size:10px;color:var(--mg);flex-shrink:0}
.spb .ba,.spb .bb{width:34px;font-family:var(--robotoC);font-size:12px;font-weight:600;
  font-variant-numeric:tabular-nums;flex-shrink:0}
.spb .ba{text-align:right;color:var(--banner)}
.spb .bb{text-align:left;color:#C0274A}
.spb .trk{flex:1;display:flex;height:8px;border-radius:4px;overflow:hidden;min-width:0;background:#E7EAED}
.spb .trk i{background:var(--banner)}
.spb .trk u{background:#C0274A}

.won{margin-top:8px;border-radius:10px;background:rgba(23,183,232,.10);
  border:1px solid rgba(23,183,232,.3);padding:12px 14px}
.won .wt{font-family:var(--bebas);font-size:13px;letter-spacing:.5px;color:var(--banner);margin-bottom:4px}
.won .wv{font-family:var(--bebas);font-size:28px;letter-spacing:1px;color:#0E8FB8;line-height:1.1}
.won .ws{font-family:var(--roboto);font-size:10px;color:var(--mg);line-height:1.4;margin-top:4px}

/* ── PRE-MATCH | POST-MATCH, the app's PrePostSwitch ───────────────────── */
.ppsw{display:inline-flex;flex:none;border:1px solid rgba(22,39,111,.2);border-radius:10px;
  overflow:hidden;background:var(--white)}
.ppsw button{appearance:none;border:none;cursor:pointer;background:transparent;
  font-family:var(--bebas);font-size:13px;letter-spacing:.6px;color:var(--banner);
  padding:7px 12px;line-height:1}
.ppsw button[aria-selected="true"]{background:var(--banner);color:#fff}
.ppsw.locked{opacity:.55}
.ppsw.locked button{cursor:default}

/* ── PAID LOCK — the app's PaidLock (update 269) ────────────────────────
   The paid league rules sit behind a padlock until a sport is released:
   greyed, not clickable, with COMING SOON over them. */
.plock{position:relative}
.plock .pl-in{opacity:.3;filter:grayscale(1);pointer-events:none;user-select:none}
.plock .pl-bd{position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:6px;pointer-events:none}
/* The padlock is sized against the block it covers, not fixed, so it stays in
   proportion on a big panel like LEAGUE RULES as well as on two small rows. */
.plock .pl-ic{width:clamp(54px,20%,190px);aspect-ratio:1;height:auto;border-radius:50%;
  background:var(--banner);display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 22px rgba(22,39,111,.32)}
.plock .pl-ic svg{width:48%;height:48%}
.plock .pl-cs{font-family:var(--bebas);font-size:clamp(20px,2.2vw,40px);letter-spacing:1.2px;
  color:var(--banner);background:rgba(255,255,255,.92);border-radius:10px;padding:2px 16px}

/* The PRE/POST switch breathes from round two on, so people notice it is
   there. Round one has nothing before it to compare, so no pulse. */
@keyframes kupSwBreathe{
  0%{box-shadow:0 0 0 0 rgba(245,166,35,.55)}
  60%{box-shadow:0 0 0 12px rgba(245,166,35,0)}
  100%{box-shadow:0 0 0 0 rgba(245,166,35,0)}}
.ppsw.breathe{animation:kupSwBreathe 4s ease-in-out infinite;border-color:#F5A623}
@media (prefers-reduced-motion:reduce){.ppsw.breathe{animation:none!important}}

/* ─── the tour and the game on a phone ──────────────────────────────────
   A grid or flex item will not shrink below its content by default
   (min-width:auto), so one wide descendant stretched every ancestor to
   2328px inside a 390px screen. That is what pushed numbers 3 and 4, the
   round rail and the rules line off the right edge — the tiles were never
   missing, they were off-screen. Letting the structure shrink fixes all of
   it at once; the four columns then fit, as they do in the app. */
@media (max-width:820px){
  .page > *,
  main, .game, .game > *,
  .pnl, .pnl > *,
  .tabs, .tabs button,
  header, nav.top,
  .selweek, .swrow, .pickbox, .pickbox > *{min-width:0}

  .tabs{height:auto;gap:2px}
  .tabs button{font-size:16px;line-height:1.05;padding:11px 3px;white-space:normal}
  .pickbox{flex-wrap:wrap}
}
@media (max-width:420px){
  .tabs button{font-size:14px;letter-spacing:0}
}

/* The fixture card on a phone: the names and clubs were being cut to
   "Rh…" and "Melb…" because the row keeps score and badges at desktop
   size. Smaller type and badges, and names allowed to wrap onto a second
   line instead of being clipped, so every player and club reads in full. */
@media (max-width:820px){
  .mc .row{gap:2px;padding:10px 8px 6px}
  .mc .pl{font-size:16px;line-height:1.1;white-space:normal;overflow:visible;text-overflow:clip}
  .mc .cl{font-size:12px;line-height:1.15;white-space:normal;overflow:visible;text-overflow:clip}
  .mc .g{font-size:20px}
  .mc .sep{font-size:14px}
  .mc .sc2{padding:0 2px;gap:1px}
  .cb{width:30px;height:30px;font-size:11px}
}

/* ── the store button for the phone you are on ────────────────────────────
   kup.js marks the matching store .first and the other .second. On a phone
   the right one is filled and leads; the other stays available, quieter.
   On a computer neither class is set, so both look as they always did. */
@media (max-width:820px){
  .stores{gap:10px}
  .stores[data-os] .store.first{order:0;background:#F5A623;border-color:#F5A623;color:var(--banner);
    padding:11px 16px;box-shadow:0 2px 10px rgba(245,166,35,.3)}
  .stores[data-os] .store.first i small{color:rgba(22,39,111,.72)}
  .stores[data-os] .store.first svg{fill:var(--banner)}
  .stores[data-os] .store.second{order:1;opacity:.72}
}

/* ── the nudge over TAKE A TOUR ───────────────────────────────────────────
   Kenny, 16 Nov 2026: the same feel as the guide labels inside the tour, so
   it reads as the start of that conversation rather than a separate thing.
   Same navy, same cyan hairline, same radius, same Roboto, same cyan
   sub-line — the values are taken from the guide label in kup-guide.js. */
.tournote{align-self:flex-start;position:relative;margin:0 0 12px;max-width:min(100%,330px);
  background:#16276F;color:#fff;border:1.5px solid #00E5FF;border-radius:12px;
  padding:8px 12px 7px 12px;box-shadow:0 6px 20px rgba(0,0,0,.28);
  animation:kupNoteIn .45s ease-out both;animation-delay:.9s}
/* the colours are set here because a site-wide `strong,b{color:var(--ink)}`
   rule would otherwise paint the headline near-black on the navy */
.tournote b{display:block;font-family:var(--roboto);font-size:13px;font-weight:700;
  line-height:1.25;color:#00E5FF}
.tournote span{display:block;margin-top:4px;font-family:var(--roboto);font-size:10px;color:#fff}
/* the tail, pointing down at the button */
.tournote::after{content:"";position:absolute;left:24px;bottom:-7px;width:12px;height:12px;
  background:#16276F;border-right:1.5px solid #00E5FF;border-bottom:1.5px solid #00E5FF;
  transform:rotate(45deg)}
@keyframes kupNoteIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:none}}
@media (max-width:820px){.tournote{max-width:100%}}
@media (prefers-reduced-motion:reduce){.tournote{animation:none}}

/* the Terms tick on the create-account form */
.agree{display:flex;align-items:flex-start;gap:9px;margin:2px 0 4px;cursor:pointer}
.agree input{width:18px;height:18px;flex:none;margin-top:1px;accent-color:var(--banner);cursor:pointer}
.agree span{font-family:var(--roboto);font-size:12.5px;line-height:1.35;color:var(--mg)}
.agree a{color:var(--banner);font-weight:700}

/* ── CREATE YOUR PROFILE, the app's own order ─────────────────────────────
   Avatar, display name, email, password, favourite sports, favourite teams,
   the agreement. Only drawn when creating an account. */
.avwrap{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:4px}
.avbig{width:76px;height:76px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;font-family:var(--bebas);font-size:34px;color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.18)}
.avrow{display:flex;gap:8px}
.avdot{width:26px;height:26px;border-radius:50%;border:none;cursor:pointer;padding:0}
.avdot.on{box-shadow:0 0 0 2.5px #fff,0 0 0 4.5px var(--cyanFrom)}
.avhint{font-family:var(--roboto);font-size:11px;color:var(--mg);margin:0}

.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.chip{font-family:var(--roboto);font-size:12px;cursor:pointer;border-radius:999px;
  border:1.5px solid var(--border);background:var(--white);color:var(--banner);padding:6px 11px}
.chip.on{background:var(--banner);border-color:var(--banner);color:#fff}

.teamrows{display:flex;flex-direction:column;gap:7px;margin-top:4px}
.teamrow{display:flex;align-items:center;gap:8px}
.teamrow span{font-family:var(--roboto);font-size:12.5px;color:var(--mg);flex:1;min-width:0}
.teamrow select{flex:1;min-width:0;font-family:var(--roboto);font-size:13px;padding:7px 9px;
  border-radius:9px;border:1.5px solid var(--border);background:var(--white);color:var(--banner)}

/* ── you, top right: avatar + the way into Settings ───────────────────────
   Sits in the header's corner on every page. The header is a flex row, so
   margin-left:auto pushes it to the right whatever the nav is doing. */
header{display:flex;align-items:center;gap:10px}
.mecorner{margin-left:auto;display:inline-flex;align-items:center;gap:7px;flex:none;
  text-decoration:none;border-radius:999px;padding:4px 10px 4px 4px;
  border:1.5px solid var(--border);background:var(--white)}
.mecorner:hover{border-color:var(--banner)}
.meavi{width:30px;height:30px;border-radius:50%;flex:none;display:flex;
  align-items:center;justify-content:center;
  font-family:var(--bebas);font-size:15px;color:#fff;line-height:1}
.mecog{width:17px;height:17px;fill:none;stroke:var(--banner);stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;flex:none}
@media (max-width:820px){
  .mecorner{padding:3px 8px 3px 3px}
  .meavi{width:26px;height:26px;font-size:13px}
  .mecog{width:15px;height:15px}
}

/* the sports hub's photographs on the sport chips, in place of emoji */
.spic{width:22px;height:22px;border-radius:50%;object-fit:cover;flex:none;
  box-shadow:0 0 0 1px rgba(11,11,11,.10)}
.chip{display:inline-flex;align-items:center;gap:7px}
.teamrow span{display:flex;align-items:center;gap:7px}


/* ── "Not your sport?" on the tour (Kenny, 20 Nov 2026) ───────────────────
   Deliberately quiet, and it sits under the numbers: it is for somebody who
   has looked and is about to leave, not for somebody who is playing. Each
   link goes straight to that sport's own numbers. */
.tryother{margin:18px 2px 4px;padding-top:14px;border-top:1px solid #E7EAED}
.tryother .tl{display:block;font:400 13px/1.5 Roboto,Arial,sans-serif;color:#8A9499;margin-bottom:9px}
.tryother .tl a.tolist{color:#16276F;font-weight:600;text-decoration:underline;
  text-underline-offset:2px;cursor:pointer}
.tryother .tl a.tolist:hover{color:#0B1240}
/* the sport list answering the link, so the eye lands on it */
.col.mineCol.lookhere > .pnl{box-shadow:0 0 0 2px #22C7E8;transition:box-shadow .25s}
@media (prefers-reduced-motion:reduce){.col.mineCol.lookhere > .pnl{transition:none}}
.tryother .row{display:flex;flex-wrap:wrap;gap:8px}
.tryother a{display:inline-flex;flex-direction:column;gap:1px;text-decoration:none;
  padding:7px 12px;border:1px solid #E0E4E8;border-radius:9px;background:#fff}
.tryother a:hover{border-color:#16276F;background:#F7F9FB}
.tryother a .s{font-family:'Bebas Neue',Arial,sans-serif;font-size:15px;letter-spacing:.5px;color:#16276F}
.tryother a .c{font:400 11px/1.2 Roboto,Arial,sans-serif;color:#8A9499}

/* ── the match drop-down, carried across from the app's MatchCard ─────────
   (Kenny, 21 Nov 2026: the website follows the app.) Shows on every finished
   match; opened with nothing in the feed, it says so. */
.mc .evrow{display:flex;align-items:center;justify-content:center;gap:5px;
  padding:4px 10px;border-top:1px solid #E7EAED;cursor:pointer;background:rgba(0,0,0,.015)}
.mc .evrow:hover{background:rgba(0,0,0,.04)}
.mc .evrow .lb{font:400 10px/1.2 Roboto,Arial,sans-serif;color:#8A9499}
.mc .evrow .ch{font-size:10px;color:#8A9499;transition:transform .15s}
.mc .evrow[data-open="1"] .ch{transform:rotate(180deg)}
.mc .evwrap{border-top:1px dashed #E7EAED}
.mc .evbody{display:flex;gap:8px;padding:6px 10px 10px}
.mc .evbody.none{display:block;text-align:center;padding:8px 10px 10px;
  font:400 11px/1.45 Roboto,Arial,sans-serif;color:#8A9499}
.mc .evcol{flex:1;min-width:0}
.mc .evcol.r{display:flex;flex-direction:column;align-items:flex-end}
.mc .ev{display:flex;align-items:center;gap:5px;font:400 11px/1.6 Roboto,Arial,sans-serif;color:#243F47}
.mc .evcol.r .ev{flex-direction:row-reverse}
.mc .ev .mn{font-family:'Roboto Condensed',Arial,sans-serif;font-weight:700;color:#8A9499;min-width:26px}
.mc .ev .mk{font-size:9px;font-weight:700;padding:0 4px;border-radius:4px;background:#E7EAED;color:#243F47}
.mc .ev .mk.yc{background:#FFD54A;color:#0B0B0B}
.mc .ev .mk.rc{background:#D32F2F;color:#fff}
.mc .evbody.q{display:block;padding:8px 10px 10px}
.mc .qt{width:100%;border-collapse:collapse;font:400 11px/1.5 Roboto,Arial,sans-serif}
.mc .qt th{font-family:'Roboto Condensed',Arial,sans-serif;font-weight:700;color:#8A9499;text-align:center;padding:1px 4px}
.mc .qt td{text-align:center;padding:1px 4px;color:#243F47}
.mc .qt td:first-child,.mc .qt th:first-child{text-align:left;color:#16276F;font-weight:700}


/* ── TAKE A TOUR on a phone (Kenny, 21 Nov 2026) ─────────────────────────
   Somebody arriving from the Big Bash ad saw ten sports and a sponsor panel
   before the numbers, which sat almost two screens down. On a phone the game
   now comes first, the sport list and the sponsor boxes after it.
   After a pick the club names were breaking mid-word ("Melbo-urne") and
   covering the number; smaller type that wraps only between words. */
@media (max-width:820px){
  body.tour .game{display:flex;flex-direction:column}
  body.tour .col.lgcol{order:1}
  body.tour .col.mineCol{order:2}
  body.tour .col.rail{order:3}
  .num{padding:6px 3px;gap:2px}
  .num .tm{font-size:12px;line-height:1.15;word-break:normal;overflow-wrap:normal;hyphens:none}
  .num.held .d{font-size:13px}
  .num .w{font-size:11px}
}


/* THE REAL THING — the two real live games anyone can watch (app update 313).
   The pill, the colours and the breath are the app's own LiveWatchCard, fitted
   to the row the panel already uses so the rail still reads as one list. */
@keyframes kupLiveWatch{0%,100%{box-shadow:0 0 0 0 rgba(23,183,232,.65)}50%{box-shadow:0 0 0 9px rgba(23,183,232,0)}}
@keyframes kupLiveDot{0%,100%{opacity:1}50%{opacity:.25}}
.other a.live{animation:kupLiveWatch 1.6s ease-in-out infinite}
.other a.live .sb{display:flex;align-items:center;gap:5px;margin-top:3px}
.other a.live .lv{display:inline-flex;align-items:center;gap:4px;background:#E5342B;color:#fff;
  border-radius:10px;padding:1px 6px;font-family:var(--bebas);font-size:9px;letter-spacing:.5px}
.other a.live .lv i{width:5px;height:5px;border-radius:3px;background:#fff;
  animation:kupLiveDot 1s ease-in-out infinite}
.other a.live .sp{background:#17B7E8;color:#fff}
@media (prefers-reduced-motion: reduce){.other a.live,.other a.live .lv i{animation:none}}


/* Kenny, 22 Nov 2026: "visually those two sections are too small - id like to
   increase them ... so they look more visible for people". TAKE A TOUR and
   THE REAL THING now read from a distance: bigger names, a readable line
   underneath, and rows with room to breathe. Wide screens only — below 1120px
   the right rail is hidden and the left one is already packed down for phones,
   so both rails read from a distance without touching the small screens. */
@media (min-width:1121px){
  .mine{gap:9px}
  .mine a{padding:12px 13px;border-radius:12px}
  .mine .nm{font-size:clamp(15px,2.3vh,19px)}
  .mine .sb{font-size:10.5px;margin-top:4px}
  .other{gap:9px}
  .other a{padding:11px 12px;border-radius:12px}
  .other .nm{font-size:clamp(15px,2.3vh,19px)}
  .other .sb{font-size:10.5px;margin-top:4px}
  .other .sp{font-size:12px;padding:3px 9px;border-radius:5px}
  .other a.live .lv{font-size:11px;padding:2px 7px}
  .other a.live .lv i{width:6px;height:6px}
}
