@font-face { font-family: "BC"; src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BC"; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* DME Sarasota club palette (dmeacademysarasota.com): light grey page, white cards,
   navy #263A80, bright blue #2498FF, gold #C7A659, near-black bar #151420. */
:root {
  --bg: #F2F2F2;
  --s1: #FFFFFF;
  --s2: #E8EBF2;
  --line: #DCE0E8;
  --line-2: #C3CAD8;
  --text: #1C2340;
  --dim: #5D6479;
  --faint: #8C92A3;
  --accent: #2498FF;
  --accent-ink: #FFFFFF;
  --navy: #263A80;
  --gold: #C7A659;
  --ink: #151420;
  --good: #1F9D63;
  --bad: #D93A31;
  --display: "Montserrat", "Gotham", Verdana, Arial, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--body); min-height: 100vh; font-variant-numeric: tabular-nums; }
a { color: var(--text); }
h1, h2 { font-family: var(--display); font-weight: 700; margin: 0 0 .4em; line-height: 1; }
h1 { font-size: clamp(2.2rem, 9vw, 3rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; }
h2.sec { margin-top: 32px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--dim); }
.label { font: 600 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.lede { color: var(--dim); }
.lede.big { font-size: 1.1rem; color: var(--text); }
.sub { color: var(--dim); margin: 0; }
.fine { color: var(--faint); font-size: .85rem; margin-top: 10px; }
.count { color: var(--dim); font: 600 1rem var(--display); letter-spacing: .04em; }
.more { color: var(--dim); font: 600 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.more:hover { color: var(--text); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* ---------- chrome ---------- */
.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: rgba(10,13,20,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.mark-sub { display: block; font: 600 .7rem/1.4 var(--display); letter-spacing: .14em; color: var(--dim); }
.crest { width: 22px; height: 26px; background: var(--accent); clip-path: polygon(50% 0, 100% 14%, 100% 62%, 50% 100%, 0 62%, 0 14%); flex: none; }
.crest.big { width: 34px; height: 40px; }
.who { background: none; border: 1px solid var(--line); color: var(--text); padding: 7px 10px; font: 600 .9rem/1 var(--body); cursor: pointer; border-radius: 2px; }
.who span { color: var(--dim); margin-left: 4px; }
.demo { margin: 0; padding: 6px 16px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: .78rem; text-align: center; }
.page { max-width: 680px; margin: 0 auto; padding: 28px 16px 110px; }
.page.wide { max-width: 1040px; padding-bottom: 60px; }
.page.narrow { max-width: 420px; padding-top: 60px; }
.page > section { margin-bottom: 36px; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 10; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(10,13,20,.96); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { position: relative; text-align: center; padding: 15px 0 13px; color: var(--dim); text-decoration: none; font: 600 .82rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.tabs a.on { color: var(--text); }
.tabs a.on::before { content: ""; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; background: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-block; border: 0; border-radius: 2px; padding: 13px 18px; cursor: pointer; text-decoration: none; text-align: center; font: 700 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); }
.btn:hover:not(:disabled) { filter: brightness(1.1); }
.btn:disabled { background: var(--s2); color: var(--faint); cursor: default; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.small { padding: 9px 14px; font-size: .82rem; }
.btn.wide { display: block; width: 100%; margin-top: 12px; }
.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.back { display: inline-block; margin-bottom: 20px; color: var(--dim); text-decoration: none; font: 600 .85rem var(--display); text-transform: uppercase; letter-spacing: .12em; }
.back::before { content: "← "; }
.ext { display: block; padding: 14px 16px; margin-bottom: 20px; text-decoration: none; border: 1px solid var(--line); background: var(--s1); font-weight: 600; }
.ext::after { content: " ↗"; color: var(--accent); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.login-board { padding: 18px 16px 0; border-bottom: 1px solid var(--line); background: var(--s1); }
.login-board .pitch { max-width: 420px; margin: 0 auto; display: block; }
.login-panel { width: 100%; max-width: 420px; margin: 0 auto; padding: 28px 16px 48px; }
.brand { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.brand strong { display: block; font: 700 1rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.brand span { color: var(--dim); font-size: .85rem; }
.login-panel h1 { font-size: 3.2rem; margin-bottom: .1em; }
.login-panel .sub { margin-bottom: 22px; }
label { display: block; margin: 16px 0 6px; font: 600 .8rem/1 var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
select, input, textarea { width: 100%; font: 400 1rem var(--body); color: var(--text); background: var(--s1); border: 1px solid var(--line-2); border-radius: 2px; padding: 12px; }
select:focus, input:focus, textarea:focus { border-color: var(--accent); outline: none; }
#lp, #cp { letter-spacing: .5em; font-size: 1.3rem; }
.err { min-height: 1.4em; color: var(--accent); margin: 10px 0; font-size: .92rem; }
.hint { color: var(--faint); font-size: .85rem; margin-top: 14px; }
.coach-link { display: inline-block; margin-top: 26px; color: var(--faint); font-size: .85rem; }

/* ---------- home ---------- */
.week-head h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
.drop { display: inline-block; margin: 6px 0 0; padding: 6px 10px; border: 1px solid var(--line-2); font-size: .85rem; color: var(--dim); }
.drop.open { border-color: rgba(70,195,138,.4); color: var(--good); }
.drop.before { border-color: rgba(202,162,41,.5); color: var(--accent); }
.note blockquote { margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--accent); font-size: 1.05rem; line-height: 1.6; }
cite { display: block; margin-top: 10px; font: 600 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-style: normal; }
.video { position: relative; aspect-ratio: 16/9; margin-bottom: 16px; background: #000; border: 1px solid var(--line); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.row2 { display: grid; gap: 10px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.frame { margin: 0 0 16px; border: 1px solid var(--line); background: var(--s1); }
.frame img { display: block; width: 100%; height: auto; }
.frame figcaption { padding: 12px 14px; font-size: .95rem; }
.frame figcaption .label { display: block; }
.frame.miss .label { color: var(--bad); }
.objectives { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.objectives a { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.objectives a:hover { background: var(--s1); }
.tick { width: 16px; height: 16px; border: 1.5px solid var(--faint); border-radius: 50%; }
.objectives .done .tick { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--bg); }
.objectives .done a > span:nth-child(2) { color: var(--dim); }
.alert { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 36px; border: 1px solid rgba(229,83,75,.45); background: rgba(229,83,75,.06); text-decoration: none; }
.alert strong { font: 700 1.05rem var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--bad); }
.alert span { color: var(--dim); font-size: .9rem; text-align: right; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kpis div { padding: 14px 14px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpis strong { display: block; font: 700 1.9rem/1 var(--display); }
.kpis span { font: 600 .72rem var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.kpis.big { grid-template-columns: repeat(3, 1fr); }
.kpis.big strong { font-size: 2.2rem; }
.page > .kpis { margin-bottom: 36px; }
.units { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.units li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
.u-name { font-weight: 600; }
.units .mine .u-name { color: var(--accent); }
.u-val { font: 700 1.1rem var(--display); text-align: right; }
.u-val small { font: 400 .78rem var(--body); color: var(--dim); }
.u-bar { grid-column: 1 / -1; height: 4px; background: var(--s2); }
.u-bar i { display: block; height: 100%; background: var(--text); }
.units .mine .u-bar i { background: var(--accent); }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th { text-align: left; font: 600 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 8px 8px; border-bottom: 1px solid var(--line-2); }
.tbl th button { all: unset; cursor: pointer; }
.tbl th button:focus-visible { outline: 2px solid var(--accent); }
.tbl td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl td small { display: block; color: var(--dim); font-size: .78rem; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .strong { font-weight: 700; }
.tbl .rk { color: var(--dim); width: 2em; }
.tbl tr.me td { background: rgba(202,162,41,.08); }
.tbl tr.me td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.tbl tr.ok .res { color: var(--good); }
.tbl tr.no .res { color: var(--bad); }
.tbl.dense td { padding: 9px 8px; font-size: .9rem; }
.scroll { overflow-x: auto; }
.battle { margin-bottom: 28px; }
.battle.mine h2 { color: var(--accent); }
.seg { display: flex; gap: 0; overflow-x: auto; margin: 6px 0 20px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.seg a, .seg button { flex: none; padding: 10px 14px; background: none; border: 0; color: var(--dim); text-decoration: none; font: 600 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.seg [aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
#totw { display: block; width: 100%; height: auto; border: 1px solid var(--line); }

/* ---------- profile ---------- */
.pro-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.xp-big { text-align: right; }
.xp-big strong { display: block; font: 700 2.6rem/1 var(--display); color: var(--accent); }
.xp-big span { font: 600 .72rem var(--display); letter-spacing: .14em; color: var(--dim); }
.radar-wrap { display: grid; justify-items: center; }
.radar { width: 100%; max-width: 380px; height: auto; }
.r-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.r-spoke { stroke: var(--line); stroke-width: 1; }
.r-lbl { fill: var(--dim); font: 600 10.5px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.r-squad { fill: none; stroke: var(--dim); stroke-width: 1.2; stroke-dasharray: 3 3; }
.r-me { fill: rgba(202,162,41,.18); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.r-pt { fill: var(--accent); }
.legend { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--dim); font-size: .82rem; margin: 6px 0 0; }
.lg-me, .lg-sq { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--accent); margin-left: 8px; }
.lg-sq { border-top: 2px dashed var(--dim); }
.pcell { width: 42%; }
.pbar { display: inline-block; width: calc(100% - 44px); height: 4px; background: var(--s2); vertical-align: middle; }
.pbar i { display: block; height: 100%; background: var(--accent); transition: width .6s ease; }
.pcell small { display: inline-block !important; width: 36px; text-align: right; color: var(--text) !important; font-weight: 600; font-size: .85rem !important; }
.idp ol { margin: 0 0 12px; padding-left: 1.3em; }
.idp li { margin-bottom: 6px; }
.idp li::marker { color: var(--accent); font-weight: 700; }
.cue { padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--s1); font-style: italic; }

/* ---------- learn ---------- */
.keys, .links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.keys a, .keys div, .links a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.links a { grid-template-columns: 1fr; }
.keys a:hover, .links a:hover { background: var(--s1); }
.k-n { font: 700 1.5rem/1 var(--display); color: var(--accent); }
.keys strong, .links strong { display: block; font: 700 1.15rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.keys span span, .links span { color: var(--dim); font-size: .92rem; }
.keys .locked strong { color: var(--dim); } .keys .locked span span { color: var(--faint); }
.keys .locked .k-n { color: var(--faint); }
.yours { border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--s1); padding: 14px 16px; margin: 0 0 34px; }
.yours p:last-child { margin: 0; font-size: 1.05rem; font-weight: 600; }
.roles, .calls { margin: 0; border-top: 1px solid var(--line); }
.roles div, .calls div { display: grid; grid-template-columns: 34% 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.roles dt, .calls dt { font: 700 1rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.calls dt { color: var(--accent); }
.roles dd, .calls dd { margin: 0; color: var(--dim); }
.cues { list-style: none; padding: 0; margin: 0; }
.cues li { position: relative; padding: 0 0 10px 20px; }
.cues li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--accent); }
.noton { border: 1px solid var(--line); padding: 16px; }
.noton h2 { color: var(--bad); }
.noton p { margin: 0; }
.cuerefs { list-style: none; padding: 0; margin: 0; }
.cuerefs li { margin-bottom: 10px; color: var(--dim); }
.tag { display: inline-block; min-width: 2.2em; margin-right: 8px; padding: 1px 6px; border: 1px solid var(--line-2); color: var(--text); font: 700 .85rem var(--display); text-align: center; }
.law-ref { color: var(--dim); font: 600 .82rem var(--display); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.laws { list-style: none; padding: 0; margin: 0 0 12px; border-top: 1px solid var(--line); }
.laws li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.law-n { font: 700 1.5rem/1 var(--display); color: var(--accent); }
.laws strong { display: block; font: 700 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.laws span span { color: var(--dim); font-size: .92rem; }
.cue-list { list-style: none; counter-reset: c; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--line); }
.cue-list li { counter-increment: c; position: relative; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--line); color: var(--dim); }
.cue-list li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 13px; font: 700 .95rem var(--display); color: var(--accent); }
.cue-list strong { display: block; color: var(--text); font-weight: 600; }
.q-n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 1px solid var(--line-2); font: 700 .8rem var(--display); color: var(--accent); vertical-align: 1px; }
form label:has(.q-n), legend { text-transform: none; letter-spacing: 0; font: 500 1rem/1.45 var(--body); color: var(--text); margin-top: 22px; }
textarea { resize: vertical; }
.rate { border: 0; padding: 0; margin: 0 0 6px; }
.rate legend { padding: 0; margin-bottom: 10px; }
.rate-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.rate-row label { margin: 0; }
.rate-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-row span { display: block; padding: 12px 0; text-align: center; border: 1px solid var(--line-2); font: 700 1.1rem var(--display); color: var(--dim); cursor: pointer; letter-spacing: 0; }
.rate-row input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.rate-row input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rate-ends { display: flex; justify-content: space-between; color: var(--faint); font-size: .78rem; margin-top: 4px; }

/* ---------- board / pitch (dark tactical) ---------- */
.board-wrap { position: relative; padding: 6px; background: #0C1019; border: 1px solid var(--line); }
.pitch { width: 100%; height: auto; display: block; }
.turf-a { fill: #0F141F; } .turf-b { fill: #0D121C; }
.lines * { fill: none; stroke: rgba(233,236,242,.22); stroke-width: .2; }
.lines .spot { fill: rgba(233,236,242,.3); }
.goal { fill: none; stroke: rgba(233,236,242,.5); stroke-width: .3; }
.opp { fill: #0C1019; stroke: #A7AFC2; stroke-width: .42; }
.us .dot { fill: var(--accent); }
.us .ring { fill: none; stroke: transparent; stroke-width: .45; }
.us .lbl { font: 700 1.75px var(--display); fill: var(--accent-ink); pointer-events: none; letter-spacing: .02px; }
.us.you .ring { stroke: var(--text); stroke-dasharray: .9 .7; }
.us.right .ring { stroke: var(--good); stroke-width: .7; }
.us.wrong .ring { stroke: var(--bad); stroke-width: .7; }
.us.tap { cursor: pointer; }
.us.tap .ring { fill: rgba(255,255,255,.001); }
.us.tap:hover .ring, .us.tap:focus .ring { stroke: var(--text); }
.us:focus { outline: none; }
.ball { fill: #fff; stroke: #0A0D14; stroke-width: .3; }
.trails .pass { stroke: var(--accent); stroke-width: .42; }
.trails .run { stroke: var(--text); stroke-width: .3; stroke-dasharray: .9 .6; opacity: .75; }
.ah { fill: var(--accent); }
.pitch.drawing { cursor: crosshair; touch-action: none; }
.draw-line { stroke: var(--text); stroke-width: .45; stroke-dasharray: 1.2 .7; }
.draw-end { fill: none; stroke: var(--text); stroke-width: .45; opacity: 0; }
.drawn.set .draw-end { opacity: 1; }
.zone-c { fill: rgba(70,195,138,.12); stroke: var(--good); stroke-width: .3; stroke-dasharray: .8 .5; }
.zone-dot { fill: var(--good); }
.pattern { margin: 0 0 24px; }
.pattern figcaption { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start; padding-top: 12px; }
.pattern figcaption strong { font: 700 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.pattern .note { grid-column: 1; color: var(--dim); font-size: .92rem; min-height: 2.9em; }
.pattern .play { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- train ---------- */
.setcard { border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--s1); padding: 18px 16px; }
.setcard h2 { font-size: 1.7rem; }
.setcard p { color: var(--dim); }
.setcard .drop { margin-bottom: 4px; }
.drills { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.drills a { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 15px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.drills a:hover { background: var(--s1); }
.drills strong { display: block; font: 700 1.15rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.drills span span { color: var(--dim); font-size: .9rem; }
.meta { font: 700 1.05rem var(--display); color: var(--accent); white-space: nowrap; }
.trainer .hud { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font: 600 .82rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.hud-r b { color: var(--text); font-size: 1rem; }
.hud-r em { font-style: normal; margin-left: 14px; color: var(--accent); font-size: 1rem; }
.timer { height: 3px; background: var(--s2); overflow: hidden; margin-bottom: 10px; }
.timer i { display: block; height: 100%; background: var(--text); transform-origin: left; transform: scaleX(1); }
.timer i.danger { background: var(--bad); }
.trainer .board-wrap { max-width: 480px; margin: 0 auto; }
.cover { position: absolute; inset: 6px; z-index: 2; display: grid; place-items: center; background: #0C1019; color: var(--faint); font: 600 .85rem var(--display); letter-spacing: .14em; text-transform: uppercase; }
.cover[hidden] { display: none; }
.scn { margin: 16px 0 4px; font: 600 .8rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prompt { font: 600 1.12rem/1.45 var(--body); margin: 12px 0 12px; }
.hint-line { color: var(--dim); font-size: .9rem; }
/* Talk drill: the call a teammate makes, shown rather than spoken (no phone volume). */
.said-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 12px 0 6px; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--s1); border-radius: 2px; }
.said-who { font: 600 .74rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.said-line b { font: 700 1.25rem/1.25 var(--display); color: var(--accent); }
.opts { display: grid; gap: 6px; }
.opts[hidden] { display: none; }
.opt { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--s1); color: var(--text); font: 500 1rem/1.35 var(--body); cursor: pointer; }
.opt-k { font: 700 .95rem var(--display); color: var(--dim); }
.opt:hover:not(:disabled) { border-color: var(--text); }
.opt.right { border-color: var(--good); background: rgba(70,195,138,.1); }
.opt.right .opt-k { color: var(--good); }
.opt.wrong { border-color: var(--bad); background: rgba(229,83,75,.08); }
.opt.wrong .opt-k { color: var(--bad); }
.opt:disabled:not(.right):not(.wrong) { opacity: .4; }
.feedback { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-left: 2px solid var(--good); background: var(--s1); }
.feedback.no { border-left-color: var(--bad); }
.fb-head { display: flex; justify-content: space-between; align-items: baseline; font: 700 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.feedback.ok .fb-head span:first-child { color: var(--good); }
.feedback.no .fb-head span:first-child { color: var(--bad); }
.fb-meta { font: 600 .9rem var(--display); color: var(--dim); letter-spacing: .06em; }
.step-note { color: var(--text); min-height: 3em; margin: 8px 0 0; font-size: .95rem; }
.note-line { color: var(--dim); margin-top: 14px; }
.delta { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.delta li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.delta li span:last-child { color: var(--dim); }
.delta li.up b { color: var(--good); }
.delta li.down b { color: var(--bad); }

/* ---------- coach ---------- */
.chase { color: var(--dim); }
.resp { border-top: 1px solid var(--line); padding: 14px 0; }
.resp p { margin-bottom: 8px; }
.resp small { display: block; color: var(--faint); font-size: .8rem; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 78px; z-index: 50; transform: translateX(-50%); padding: 10px 16px; background: var(--text); color: var(--bg); font: 600 .9rem var(--body); border-radius: 2px; box-shadow: 0 8px 30px rgba(0,0,0,.5); white-space: nowrap; }
.toast.out { opacity: 0; transition: opacity .35s; }

@media (min-width: 760px) {
  .login { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .login-board { display: grid; place-items: center; border-bottom: 0; border-right: 1px solid var(--line); padding: 40px; }
  .login-panel { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- why follow-up ---------- */
.why2 { margin: 12px 0 4px; padding: 14px; border: 1px solid var(--line-2); background: var(--bg); }
.why2-q { font-weight: 600; margin-bottom: 10px; }
#explain { margin-top: 10px; }
#explain[hidden] { display: none; }
.note-line b { color: var(--text); }

/* ---------- read map ---------- */
.readmap td small { display: block; color: var(--faint); font-size: .76rem; }
.readmap tr.weak td:first-child { color: var(--bad); }
.readmap tr.weak td:first-child small { color: var(--bad); }
.readmap tr.weak .pbar i { background: var(--bad); }

/* ---------- clips ---------- */
.alert.info { border-color: var(--line-2); background: var(--s1); }
.alert.info strong { color: var(--accent); }
.clip-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); background: var(--s1); text-decoration: none; }
.clip-row strong { display: block; font: 700 1.05rem var(--display); text-transform: uppercase; letter-spacing: .03em; }
.clip-row span span { color: var(--dim); font-size: .9rem; }
.clip { padding: 18px 0 22px; border-top: 1px solid var(--line); }
.clip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.clip-head h2 { margin: 0 0 8px; }
.clip-for { flex: none; font: 600 .75rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.clip.seen .clip-for { color: var(--faint); }
.clip.seen h2 { color: var(--dim); }
.clip-note { padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--s1); }
.clip-img { display: block; margin-bottom: 12px; border: 1px solid var(--line); }
.clip-img img { display: block; width: 100%; height: auto; }
.clip .err { color: var(--dim); }
.clip label { text-transform: none; letter-spacing: 0; font: 500 1rem/1.45 var(--body); color: var(--text); margin-top: 16px; }

/* ================= staff portal ================= */
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }
.staff-tiles { margin: 18px 0 36px; }
.staff-tiles a { min-height: 92px; background: var(--s1); border: 1px solid var(--line); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tiles a { display: block; padding: 14px; text-decoration: none; }
.tiles a:hover { border-color: var(--line-2); }
.tiles strong { display: block; font: 700 1.05rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.tiles span { color: var(--dim); font-size: .88rem; }
.chase a { color: var(--text); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.pchip { position: relative; display: grid; gap: 2px; text-align: left; padding: 10px 10px; border: 1px solid var(--line-2); background: var(--s1); color: var(--text); font: 600 .95rem var(--body); cursor: pointer; border-radius: 2px; }
.pchip small { color: var(--dim); font-weight: 400; font-size: .75rem; }
.pchip .cnt { position: absolute; top: 6px; right: 8px; font: 700 .8rem var(--display); color: var(--accent); }
.pchip.has { border-color: var(--accent); }
.pchip.open { background: var(--s2); box-shadow: inset 0 0 0 1px var(--text); }
.panel { margin-top: 18px; padding: 16px; border: 1px solid var(--line-2); background: var(--s1); }
.panel h2 { margin: 0; }
.panel .label { margin-top: 16px; }
.good-l { color: var(--good) !important; }
.bad-l { color: var(--bad) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { padding: 8px 11px; border: 1px solid var(--line-2); background: transparent; color: var(--dim); font: 500 .88rem var(--body); border-radius: 999px; cursor: pointer; }
.chips.static .tag-chip { cursor: default; padding: 4px 9px; font-size: .8rem; }
.tag-chip.good.on { border-color: var(--good); color: var(--good); background: rgba(70,195,138,.1); }
.tag-chip.bad.on { border-color: var(--bad); color: var(--bad); background: rgba(229,83,75,.08); }
.rbtn { padding: 12px 0; border: 1px solid var(--line-2); background: transparent; color: var(--dim); font: 700 1.1rem var(--display); cursor: pointer; }
.rbtn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.savebar { position: sticky; bottom: 58px; z-index: 5; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 30%); margin-top: 16px; }
.mnotes { display: grid; gap: 4px; }
.mnote { border: 1px solid var(--line); background: var(--s1); }
.mnote summary { display: flex; justify-content: space-between; padding: 11px 12px; cursor: pointer; font-weight: 600; list-style: none; }
.mnote summary::-webkit-details-marker { display: none; }
.mnote summary small { color: var(--dim); font-weight: 400; }
.mnote.has summary { color: var(--accent); }
.mnote[open] { padding: 0 12px 12px; }
.mnote[open] summary { padding-left: 0; padding-right: 0; }
.mnote label { margin-top: 10px; }
.idp-item { border: 0; border-top: 1px solid var(--line); padding: 16px 0 6px; margin: 0; }
.idp-item legend { padding: 0; font-weight: 600; }
.seg-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 10px 0; }
.seg-btns label { margin: 0; }
.seg-btns input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-btns span { display: block; padding: 10px 2px; text-align: center; border: 1px solid var(--line-2); font: 600 .78rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); cursor: pointer; }
.seg-btns input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.seg-btns input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.st { display: inline-block; min-width: 22px; padding: 2px 7px; margin-right: 3px; border-radius: 2px; font: 700 .72rem var(--display); letter-spacing: .06em; text-transform: uppercase; text-align: center; border: 1px solid var(--line-2); color: var(--dim); }
.st-achieved { background: var(--good); border-color: var(--good); color: var(--bg); }
.st-improving { border-color: var(--good); color: var(--good); }
.st-stuck { border-color: var(--bad); color: var(--bad); }
.st-not-started { color: var(--faint); }
.idp li small, .idp-list li small { display: block; color: var(--dim); font-size: .82rem; }
.pill { display: inline-block; padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; font: 600 .75rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.pill.ok { border-color: var(--good); color: var(--good); }
.pill.bad { border-color: var(--bad); color: var(--bad); background: rgba(229,83,75,.08); }
.pill.warn { border-color: var(--accent); color: var(--accent); }
.seg.small button { font-size: .75rem; padding: 8px 12px; }
.callout { padding: 12px 14px; border-left: 2px solid var(--bad); background: var(--s1); margin-bottom: 14px; }
.hm-wrap { border: 1px solid var(--line); }
.heatmap { font-size: .85rem; }
.heatmap th { white-space: nowrap; }
.heatmap thead th:not(.sticky) { min-width: 64px; text-align: center; font-size: .66rem; }
.heatmap thead th span { display: block; white-space: normal; line-height: 1.2; }
.heatmap .sticky { position: sticky; left: 0; z-index: 1; background: var(--bg); min-width: 104px; text-align: left; }
.heatmap tbody th { font-weight: 600; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.heatmap tbody th a { text-decoration: none; }
.hm { text-align: center; font-weight: 700; padding: 8px 4px; }
.hm small { display: block; font-weight: 400; font-size: .68rem; color: var(--dim); }
.heatmap tr.agg th, .heatmap tr.agg td { border-top: 1px solid var(--line-2); }
.heatmap tr.agg th { text-transform: uppercase; font: 700 .78rem var(--display); letter-spacing: .1em; color: var(--accent); }
.spark { display: block; overflow: visible; }
.spark polyline { fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.spark circle { fill: var(--accent); }
.spark.alt polyline { stroke: var(--accent); }
.spark-empty { color: var(--faint); font-size: .8rem; }
.trend2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trend2 > div { padding: 12px; border: 1px solid var(--line); }
.trend2 .spark { width: 100%; height: 44px; margin-top: 6px; }
.tbl tr.stale td:first-child a, .tbl tr.stale td:nth-child(2) { color: var(--bad); }
.tbl .up { color: var(--good); }
.tbl .down { color: var(--bad); }
.good-t { color: var(--good); }
.bad-t { color: var(--bad); }

/* ================= player-side staff features ================= */
.xp-big em { display: block; margin-top: 6px; font: 600 .72rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text); font-style: normal; }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.tally > div { padding: 12px; border: 1px solid var(--line); }
.tally p { margin: 0 0 4px; }
.tally small { color: var(--dim); }
.feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feed li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.feed p { margin: 6px 0 0; }
.feed-meta { color: var(--dim); font-size: .8rem; margin: 0 0 6px !important; }
.match-banner { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 30px; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--s1); text-decoration: none; }
.match-banner strong { display: block; font: 700 1.25rem/1.1 var(--display); text-transform: uppercase; }
.match-banner .label { margin-bottom: 4px; }
.match-banner .motm { text-align: right; }
.match-banner .motm strong { color: var(--accent); }
.bx { padding: 14px 0; border-top: 1px solid var(--line); }
.bx-line { margin: 10px 0; }
.chk { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font: 500 .95rem var(--body); color: var(--text); }
.chk input { width: auto; }
details.csv { margin-top: 36px; }
details.csv summary { cursor: pointer; font: 700 1rem var(--display); text-transform: uppercase; letter-spacing: .04em; }
.tbl td.muted { color: var(--dim); }

/* ---------- audit fixes ---------- */
.back, .more, .coach-link { display: inline-flex; align-items: center; min-height: 44px; }
.btn.small { min-height: 40px; }
.who span { color: var(--dim); font-size: .8rem; }
body.in-run .tabs, body.in-run .demo { display: none; }
body.in-run .page { padding-bottom: 40px; padding-top: 14px; }
body.in-run .trainer .stage { max-width: min(480px, calc(42vh * 1.2)); }
.hud { gap: 10px; }
.hud-t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quit { background: none; border: 1px solid var(--line-2); color: var(--dim); padding: 6px 10px; min-height: 32px; font: 600 .75rem var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.empty-pro { padding: 20px 16px; border: 1px dashed var(--line-2); margin-top: 8px; }
.empty-pro p { color: var(--dim); }
.seg .dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 4px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; }
.trainer .hud { align-items: center; }

/* ================= personal + schedule ================= */
.avatar { position: relative; display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--s2); border: 1px solid var(--line-2); overflow: visible; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; z-index: 1; }
.avatar .ini { font: 700 1.05rem/1 var(--display); color: var(--dim); letter-spacing: .04em; }
.avatar .num { position: absolute; z-index: 2; right: -4px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font: 700 .72rem/1 var(--display); }
.avatar.xs { width: 28px; height: 28px; }
.avatar.xs .ini { font-size: .7rem; }
.avatar.xs .num { display: none; }
.avatar.sm { width: 44px; height: 44px; }
.avatar.lg { width: 84px; height: 84px; }
.avatar.lg .ini { font-size: 1.8rem; }
.avatar.lg .num { min-width: 28px; height: 28px; border-radius: 14px; font-size: .95rem; }
.hello { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hello .label { margin-bottom: 4px; }
.hello-n { margin: 0; font: 700 1.6rem/1 var(--display); text-transform: uppercase; }
.news { margin-bottom: 24px; padding: 14px 16px; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--s1); }
.news ul { list-style: none; margin: 0; padding: 0; }
.news li + li { border-top: 1px solid var(--line); }
.news a { display: flex; align-items: center; min-height: 40px; text-decoration: none; font-weight: 500; }
.news a::after { content: "›"; margin-left: auto; padding-left: 10px; color: var(--accent); font-size: 1.2rem; }
#nextup:empty { display: none; }
#nextup { margin-bottom: 28px; }
#nextup .row-head { display: flex; justify-content: space-between; align-items: baseline; }
.ev { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ev-date { text-align: center; padding-top: 2px; }
.ev-date b { display: block; font: 700 1.9rem/1 var(--display); }
.ev-date span { font: 600 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ev-body h3 { margin: 0 0 4px; font: 700 1.2rem/1.15 var(--display); text-transform: uppercase; }
.ev-body .label { margin-bottom: 6px; }
.ev-meta { margin: 2px 0; color: var(--dim); font-size: .9rem; }
.ev-meta a { color: var(--text); }
.ev-notes { margin: 8px 0 0; font-size: .9rem; }
.ev-res { margin: 8px 0 0; font: 700 .95rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.ev.minor .ev-body h3 { font-size: 1rem; color: var(--dim); }
.ev.minor .ev-date b { font-size: 1.4rem; color: var(--dim); }
.ev.big { padding: 18px 16px; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--s1); }
.ev.big h3 { font-size: 1.5rem; }
.ev.big + .btn, .ev.big ~ .btn-row { margin-top: 10px; }
.goal { margin-bottom: 28px; padding: 16px; border: 1px solid var(--line); background: var(--s1); }
.goal h2 { margin-top: 0; }
.goal-pick { margin: 12px 0; }
.goal-own { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.goal-own input { margin: 0; }
.goal-text { margin: 0; font: 600 1.15rem/1.35 var(--body); }
.goal-res { margin: 10px 0 0; font: 600 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.goal-res.ok { color: var(--good); }
.goal-res.no { color: var(--bad); }
.seg-btns.three { grid-template-columns: repeat(3, 1fr); }
.gck { min-height: 44px; padding: 10px 2px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 .8rem var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.gck:hover { border-color: var(--accent); }
.matchup { margin-bottom: 28px; padding: 14px 16px; border: 1px solid var(--line); border-left: 2px solid var(--text); }
.matchup p:last-child { margin: 0; }
.pro { padding: 16px; border: 1px solid var(--line); background: var(--s1); margin-bottom: 28px; }
.pro h2 { margin: 0; }
.pro .sub { margin-bottom: 8px; }
.pro .ext { margin: 12px 0 0; }
.mini-pitch { width: 58px; height: 62px; flex: none; }
.mini-pitch rect, .mini-pitch line, .mini-pitch circle { fill: none; stroke: var(--line-2); stroke-width: 2; }
.mini-pitch circle.me { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.weeks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.weeks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.weeks li strong { display: block; font: 700 1.15rem/1.15 var(--display); text-transform: uppercase; }
.weeks li span { color: var(--dim); font-size: .85rem; }
.weeks li .label { margin-bottom: 4px; color: var(--dim); }
.weeks li.current .label { color: var(--accent); }
.weeks .btn { flex: none; width: auto; padding-left: 16px; padding-right: 16px; }
.timeline { display: block; width: 100%; height: auto; margin-top: 6px; }
.tl-grid { stroke: var(--line); stroke-width: 1; }
.tl-ax, .tl-lbl { fill: var(--faint); font: 600 9px var(--display); letter-spacing: .04em; }
.tl-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.tl-pt { fill: var(--accent); stroke: var(--bg); stroke-width: 1.5; }
.feed li.tl-motm p:last-child { color: var(--accent); font-weight: 600; }
#scard { display: block; width: 100%; max-width: 360px; height: auto; border: 1px solid var(--line); }
.ready-out { margin-bottom: 20px; padding: 16px; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--s1); }
.ready-out p { margin: 0 0 10px; }
.ready-out .label { display: block; margin-bottom: 4px; }
.who-cell { display: flex; align-items: center; gap: 10px; }
.who-cell small { display: block; color: var(--dim); font-size: .75rem; }
.evform { margin-bottom: 18px; }
.evform h2 { margin-top: 0; }
.tabs.six { grid-template-columns: repeat(6, 1fr); }
.tabs.six a { font-size: .74rem; letter-spacing: .06em; padding-left: 2px; padding-right: 2px; }

/* ---------- season record ---------- */
.record { margin-bottom: 30px; }
.record .tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl.rec { min-width: 340px; font-variant-numeric: tabular-nums; }
.tbl.rec th, .tbl.rec td { text-align: center; padding-left: 6px; padding-right: 6px; }
.tbl.rec tbody th { text-align: left; font: 600 .95rem var(--body); letter-spacing: 0; text-transform: none; color: var(--text); white-space: nowrap; position: sticky; left: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.tbl.rec thead th:first-child { position: sticky; left: 0; background: var(--bg); }
.tbl.rec tr.tot td, .tbl.rec tr.tot th { font-weight: 700; }
.tbl.rec tr.tot td:nth-child(9) { color: var(--accent); }
.tbl.rec .form { display: block; margin-top: 5px; white-space: nowrap; }
.form i { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 3px; border-radius: 2px; font: 700 .62rem/1 var(--display); font-style: normal; color: var(--bg); }
.form i.r-W { background: var(--good); }
.form i.r-D { background: var(--dim); }
.form i.r-L { background: var(--bad); }
.rec-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 10px; padding: 12px 16px; border: 1px solid var(--line); text-decoration: none; }
.rec-line span { color: var(--dim); font-size: .88rem; }
.rec-line span:first-child { font: 600 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; }
.rec-line b { font: 700 1.15rem var(--display); letter-spacing: .04em; }

/* ================= learn ================= */
.phase-l { margin: 18px 0 8px; font: 600 .72rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.moments { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.moments.two { grid-template-columns: repeat(2, 1fr); }
.moments a { display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 96px; padding: 12px; border: 1px solid var(--line); background: var(--s1); text-decoration: none; }
.moments a:hover { border-color: var(--line-2); }
.moments strong { font: 700 1.05rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.moments span { color: var(--dim); font-size: .8rem; line-height: 1.35; }
.moments li.hot a { border-color: var(--accent); }
@media (max-width: 380px) { .moments { grid-template-columns: repeat(2, 1fr); } }
.nb { margin: 0 0 8px; color: var(--accent); }
.keys a { grid-template-columns: 34px 1fr auto; }
.mdots { display: inline-flex; gap: 4px; }
.mdots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-2); }
.mdots i.on { background: var(--accent); border-color: var(--accent); }
.big-board .board-wrap { max-width: 440px; margin: 0 auto; }
.big-board figcaption { grid-template-columns: 1fr auto; }
.big-board .play { grid-row: 1; }
.principles { margin: 0; padding: 0; list-style: none; counter-reset: pr; border-top: 1px solid var(--line); }
.principles li { counter-increment: pr; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.principles li::before { content: counter(pr); font: 700 1.3rem/1.1 var(--display); color: var(--accent); }
.pn { display: flex; justify-content: space-between; margin-top: 28px; }
.pn a { display: inline-flex; align-items: center; min-height: 44px; font: 600 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-decoration: none; }
.zone-r { fill: rgba(202,162,41,.16); stroke: var(--accent); stroke-width: .35; stroke-dasharray: 1 .6; }
.zone-l { fill: var(--accent); font: 700 2.1px var(--display); letter-spacing: .1px; text-transform: uppercase; }
/* predict */
.pattern .pq { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 6px; }
.pattern .pq[hidden] { display: none; }
.pq .opt { grid-template-columns: 1fr; font-size: .95rem; padding: 11px 12px; }
.pq-p { margin: 0 0 4px; font-weight: 600; }
.pq-why { margin: 6px 0 4px; font-size: .92rem; }
.pq-why.ok b { color: var(--good); }
.pq-why.no b { color: var(--bad); }
/* mastery */
.mastery { margin-bottom: 34px; }
.msteps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.msteps > li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.msteps strong { display: block; font: 700 1.05rem var(--display); text-transform: uppercase; letter-spacing: .03em; }
.msteps span:not(.ms-ic) { color: var(--dim); font-size: .9rem; }
.msteps .btn { margin-top: 10px; width: auto; padding-left: 18px; padding-right: 18px; }
.msteps label { display: block; margin: 8px 0 6px; text-transform: none; letter-spacing: 0; font: 500 .95rem/1.4 var(--body); color: var(--text); }
.msteps textarea { width: 100%; }
.ms-ic { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 .8rem var(--display); color: var(--bg); }
.msteps li.done .ms-ic { background: var(--good); border-color: var(--good); }
.msteps li.done strong { color: var(--good); }
.exp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.exp-row .fine { margin: 0; }
.exp-row .btn { margin-top: 8px; }
.redo { margin: 8px 0 0; padding: 8px 10px; border-left: 2px solid var(--accent); background: var(--s1); font-size: .9rem; }
/* us doing it / not */
.cpair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.cp { margin: 0; border: 1px solid var(--line); }
.cp img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--s2); }
.cp figcaption { padding: 8px 10px; font-size: .85rem; color: var(--dim); }
.cp figcaption .label { display: block; margin-bottom: 4px; }
.cp.ok { border-top: 2px solid var(--good); }
.cp.ok .label { color: var(--good); }
.cp.no { border-top: 2px solid var(--bad); }
.cp.no .label { color: var(--bad); }
.cp b { color: var(--text); }
@media (max-width: 480px) { .cpair { grid-template-columns: 1fr; } }
/* staff mastery table */
.mastery-t td.m4 { color: var(--good); font-weight: 700; }
.mastery-t td.m0 { color: var(--faint); }


/* ================= club look (overrides) ================= */
body { color: var(--text); }
h1, h2, h3 { color: var(--head); font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.02; }
h2 { font-size: 1.1rem; letter-spacing: .01em; }
.label { font: 800 .72rem/1 var(--display); letter-spacing: .18em; color: var(--accent); }
.top { background: var(--ink); backdrop-filter: none; border-bottom: 3px solid var(--accent); padding: 10px 16px; }
.mark { color: #F4F6FB; font: 900 1rem/1 var(--display); letter-spacing: .02em; }
.mark-sub { color: #9FB4E8; font: 700 .62rem/1.5 var(--display); letter-spacing: .2em; }
.crest { width: 40px; height: 40px; clip-path: none; border-radius: 50%; background: #000 url("https://dmeacademysarasota.com/wp-content/uploads/2023/03/ChatGPT-Image-May-18-2026-02_20_47-PM-150x150.png") center / cover no-repeat; box-shadow: 0 0 0 2px rgba(199,166,89,.55); }
.crest.big { width: 84px; height: 84px; }
.who { color: #fff; border-color: rgba(255,255,255,.25); }
.who span { color: #9FB4E8; }
.demo { background: var(--demo-bg); color: var(--demo-ink); border-color: var(--demo-line); }
.tabs { background: var(--s1); border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(21,20,32,.06); }
.tabs a { color: var(--dim); font: 800 .66rem/1 var(--display); letter-spacing: .08em; }
.tabs a.on { color: var(--head); }
.tabs a.on::before { background: var(--accent); height: 3px; }
.tabs.six a { font-size: .56rem; letter-spacing: .03em; }
.btn { background: var(--btn); color: var(--btn-ink); font: 800 .8rem/1 var(--display); letter-spacing: .1em; border-radius: 4px; }
.btn:hover:not(:disabled) { filter: brightness(1.08); }
.btn.ghost { color: var(--head); box-shadow: inset 0 0 0 2px var(--line-2); background: transparent; }
.btn.small { font-size: .7rem; }
.btn.gold, #nextup .btn.wide { background: var(--gold); color: var(--ink); }
/* cards */
.panel, .goal, .yours, .news, .ev.big, .match-banner, .pro, .ready-out, .matchup, .moments a, .ext, .empty-pro, .redo { background: var(--s1); box-shadow: none; border-radius: 6px; }
.yours, .news, .ev.big, .match-banner, .ready-out { border-left-color: var(--accent); }
.moments a { border-color: var(--line); }
.moments a:hover { border-color: var(--accent); }
.moments strong, .keys strong, .links strong, .weeks li strong, .ev-body h3, .hello-n, .goal-text, .msteps strong { color: var(--head); font-weight: 900; }
.keys a:hover, .links a:hover { background: var(--s2); }
.k-n { color: var(--accent); }
.kpis { background: var(--s1); border-radius: 6px; overflow: hidden; }
.kpis strong { color: var(--head); font-weight: 900; }
.kpis span { font-size: .62rem; }
.tbl th { font: 800 .62rem var(--display); letter-spacing: .12em; }
.tbl tr.me td { background: var(--hl); }
.tbl tbody tr:hover td { background: var(--s2); }
.record .tbl.rec tbody th, .tbl.rec thead th:first-child { background: var(--bg); }
.tbl.rec tr.tot td:nth-child(9) { color: var(--accent); }
.avatar { background: var(--s2); border: 2px solid var(--s1); box-shadow: 0 0 0 1px var(--line-2); }
.avatar .ini { color: var(--head); font-weight: 900; }
.avatar .num { background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.hello-n { font: 900 1.5rem/1 var(--display); }
.ev-date b { color: var(--head); font-weight: 900; }
.ev-res { color: var(--head); }
.match-banner .motm strong { color: var(--gold); }
.mdots i.on { background: var(--accent); border-color: var(--accent); }
.form i { color: #fff; }
.pill { font: 700 .66rem var(--display); }
.pill.warn { border-color: var(--gold); color: var(--gold-ink); }
.tag-chip { background: var(--s1); }
.seg-btns input:checked + span { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.gck { color: var(--head); background: var(--s1); }
.opt { background: var(--s1); }
.toast { background: var(--text); color: var(--bg); }
.alert { background: var(--bad-bg); }
input, select, textarea { background: var(--s1) !important; color: var(--text) !important; border-color: var(--line-2) !important; }
.drop.before { border-color: rgba(199,166,89,.6); color: var(--gold-ink); }
.principles li::before { color: var(--accent); font-weight: 900; }
.tl-line { stroke: var(--accent); } .tl-pt { fill: var(--accent); stroke: var(--s1); }
.spark circle { fill: var(--accent); } .spark polyline { stroke: var(--head); }
.r-me { fill: rgba(36,152,255,.18); }
.mini-pitch rect, .mini-pitch line, .mini-pitch circle { stroke: #9AA6C4; }
.mini-pitch circle.me { fill: var(--accent); stroke: var(--s1); }
/* tactics boards stay dark: navy turf, gold us, white them */
.board-wrap, .cover { background: #1A2758; border-color: #1A2758; border-radius: 6px; }
.turf-a { fill: #22357A; } .turf-b { fill: #1F3173; }
.lines * { stroke: rgba(255,255,255,.45); }
.lines .spot { fill: rgba(255,255,255,.6); }
.pitch .goal { stroke: rgba(255,255,255,.8); }
.opp { fill: #1A2758; stroke: #fff; }
.us .dot { fill: var(--gold); }
.us .lbl { fill: var(--ink); font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.55px; }
.ball { fill: #fff; stroke: var(--ink); }
.zone-r { fill: rgba(36,152,255,.22); stroke: #7CC0FF; }
.zone-l { fill: #CFE8FF; }
.cover { color: #9FB4E8; }
.tiles a, .rec-line, .staff-tiles a { background: var(--s1); border-color: var(--line); border-radius: 6px; box-shadow: 0 1px 2px rgba(21,20,32,.05); }
.tiles a strong { color: var(--head); font-weight: 900; }

/* ---------- set pieces ---------- */
.sp-role { margin: 4px 0 6px; }
.sp-role .label { display: block; margin-bottom: 6px; }
.sp-role .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sp-role .tag-chip { flex: none; padding: 6px 10px; font: 700 .8rem var(--display); }
.tag-chip.sel { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.spjob { background: var(--s1); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.spjob h3 { margin: 0; font: 700 1rem/1.25 var(--display); }
.spjob p { margin: 8px 0 0; }
.sig { color: var(--head); font: 600 .82rem var(--display); letter-spacing: .03em; }
.roles dt .sig { display: block; margin-top: 3px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.sd { margin-top: 10px; }
.sd summary { cursor: pointer; color: var(--accent); font: 600 .82rem var(--display); text-transform: uppercase; letter-spacing: .08em; }
.sd img, .setup img { display: block; width: 100%; height: auto; margin-top: 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.md-rules { font: 800 1.15rem/1.35 var(--display); color: var(--text); margin: 6px 0; }
.spbar { display: flex; gap: 4px; margin: 10px 0 16px; }
.spbar i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.spbar i.on { background: var(--accent); }
.spbar i.ok { background: var(--good); }
.spbar i.no { background: var(--bad); }
.spq-p { font: 700 1.15rem/1.4 var(--display); margin: 0 0 14px; }
.setup { margin: 14px 0 0; }
.setup figcaption { margin-top: 8px; font-size: .92rem; color: var(--dim); }
.setup figcaption b { color: var(--text); }
.yj { display: block; margin-top: 8px; padding: 10px 12px; border-left: 3px solid var(--gold); background: rgba(199,166,89,.12); color: var(--text); }
#spopts .opt { display: block; }
.spq .hud { display: flex; align-items: center; }
.spq .hud-r { white-space: nowrap; }

/* ---------- film board (freeze-frame questions) ---------- */
.film-board { background: #000; border-radius: 10px; overflow: hidden; }
.fb-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; }
.fb-stage img, .fb-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-tap { position: absolute; inset: 0; cursor: crosshair; }
.fb-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 2px rgba(0,0,0,.4); }
.fb-ring { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid #E5534B; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.35); }
.fb-ring.ok { border-color: #46C38A; }
.fb-badge { position: absolute; left: 8px; top: 8px; font: 700 .68rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(21,20,32,.75); padding: 4px 8px; border-radius: 4px; pointer-events: none; }

/* odd tile counts: the last tile takes the full row instead of sitting alone */
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles > li:last-child:nth-child(odd), .moments.two > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* goalkeeper principles */
.gkp { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.gkp li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; background: var(--s1); border: 1px solid var(--line); padding: 14px; }
.gkn { font: 800 1.6rem/1 var(--display); color: var(--accent); }
.gkp strong { display: block; font: 800 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.gkp em { display: block; font-style: normal; font: 600 .78rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 2px 0 6px; }
.gkp p { margin: 0; color: var(--dim); }

/* goals, assists, clean sheets */
.contrib .kpis { margin-bottom: 10px; }
.contrib form { margin: 14px 0; }
.contrib h3 { font: 800 .95rem var(--display); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }
.cats .cat { min-width: 0; }
.cats h2 { margin-bottom: 6px; }
input.n { width: 56px; padding: 6px; text-align: right; font-variant-numeric: tabular-nums; }
.btn-row.tight { margin: 0; gap: 4px; grid-template-columns: auto auto; }

/* animated set pieces */
.spanim { display: grid; gap: 8px; margin-top: 10px; }
.spanim .spwatch { justify-self: start; }
.spfig { margin: 0; }
.spfig figcaption { min-height: 2.6em; }

/* league table + opponent form */
.league { margin-bottom: 18px; }
.league tr.me td { font-weight: 700; color: var(--head); }
.ev-opp { margin: 4px 0 0; font: 600 .82rem var(--display); color: var(--dim); }
.ev-video { display: inline-block; margin-top: 6px; font: 700 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* ================= FLOODLIGHT (Oct 2026) — dark by default, light on request ================= */
@font-face { font-family: "BSD"; src: url(fonts/big-shoulders-display-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "BSD"; src: url(fonts/big-shoulders-display-latin-900-normal.woff2) format("woff2"); font-weight: 900; font-display: swap; }
:root {
  --bg: #05070F; --s1: #0D1326; --s2: #141B33; --line: #1A2240; --line-2: #26315F;
  --text: #F4F6FB; --dim: #8D97B8; --faint: #7680A1; /* Nov 23 2026: was #6B7596, 4.4:1 on the background; now passes 4.5:1 */
  --accent: #2498FF; --accent-ink: #04101F; --navy: #263A80; --gold: #C7A659; --ink: #05070F;
  --good: #2FBF71; --bad: #E0703F; --head: #F4F6FB; --btn: #2498FF; --btn-ink: #04101F;
  --hl: rgba(36,152,255,.14); --bad-bg: rgba(224,112,63,.12); --demo-bg: rgba(199,166,89,.12); --demo-ink: #E5C77F; --demo-line: rgba(199,166,89,.4); --gold-ink: #E5C77F;
  --display: "Barlow", "Segoe UI", system-ui, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --hero: "BSD", "Barlow", "Arial Narrow", sans-serif;
  --ch-us: #D9B65A; --ch-them: #FF7A59; --ch-data: #4DA3FF; --ch-mute: #8C97B8; --ch-us-soft: #E8C877; --ch-alt1: #5FD0C2; --ch-alt2: #B59CFF; --ch-alt3: #F2A65A; --ch-dim1: #5A6688; --ch-dim2: #3A4570; --ch-dim3: #2A3254; /* one chart palette (Nov 23 2026): us = gold, them and problems = coral, data = blue */
  color-scheme: dark;
}
html.light {
  --bg: #F2F3F7; --s1: #FFFFFF; --s2: #E8EBF2; --line: #DCE0E8; --line-2: #C3CAD8;
  --text: #1C2340; --dim: #5D6479; --faint: #8C92A3;
  --accent: #1C7FE0; --accent-ink: #FFFFFF; --ink: #151420;
  --good: #1F9D63; --bad: #D93A31; --head: #1D2F5F; --btn: #263A80; --btn-ink: #FFFFFF;
  --hl: #EAF4FF; --bad-bg: #FDECEB; --demo-bg: #FFF6E0; --demo-ink: #6B5413; --demo-line: #F0DFAE; --gold-ink: #8A6A1F;
  --ch-us: #9A7412; --ch-them: #C8401F; --ch-data: #1C7FE0; --ch-mute: #6B7591; --ch-us-soft: #B8923A; --ch-alt1: #17897B; --ch-alt2: #7A5CD6; --ch-alt3: #B8691F; --ch-dim1: #8C97B8; --ch-dim2: #B4BCD0; --ch-dim3: #CCD2E0;
  color-scheme: light;
}
body { background: var(--bg); }
h1, h2, h3 { font-family: var(--hero); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: .9; }
h2 { font-size: 1.45rem; letter-spacing: .03em; }
h3 { font-size: 1.15rem; }
.label { font: 700 .74rem/1 var(--display); letter-spacing: .2em; color: var(--gold); }
.kpis strong, .hello-n, .k-n, .count, .ev-date b, .ev-res, .rec-line strong { font-family: var(--hero); font-weight: 900; }
.kpis strong { font-size: 2.2rem; }
.hello-n { font-size: 2rem; }
.top { background: var(--ink); border-bottom: 1px solid var(--line); }
html.light .top { background: #151420; }
.tabs { background: var(--bg); border-top: 1px solid var(--line); box-shadow: none; }
.tabs a.on { color: var(--accent); }
.btn { font: 800 .85rem/1 var(--display); letter-spacing: .1em; border-radius: 2px; }
.btn.gold, #nextup .btn.wide { background: var(--gold); color: #05070F; }
.panel, .goal, .yours, .news, .ev.big, .match-banner, .pro, .ready-out, .matchup, .moments a, .ext, .empty-pro, .redo, .tiles a, .rec-line, .staff-tiles a, .kpis, .spjob { border-radius: 2px; box-shadow: none; }
.panel, .tiles a, .rec-line, .staff-tiles a, .spjob, .moments a { border-color: var(--line); }
.theme-btn { width: 40px; height: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #F4F6FB; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.theme-btn svg { width: 18px; height: 18px; }
/* club crests on light plates (dark crests like IMG stay visible) */
.cr { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #F4F6FB; flex: none; vertical-align: middle; }
.cr img { width: 76%; height: 76%; object-fit: contain; display: block; }
.cr-sm { width: 24px; height: 24px; } .cr-md { width: 40px; height: 40px; } .cr-lg { width: 88px; height: 88px; }
.league td .club { display: flex; align-items: center; gap: 8px; }
.ev-crest { float: right; margin-left: 10px; }
/* Pro analysis board: striped turf, blue us, orange them */
.board-wrap, .cover { background: #123322; border-color: #123322; border-radius: 2px; }
.turf-a { fill: #164029; } .turf-b { fill: #123322; }
.lines * { stroke: rgba(244,246,251,.6); }
.lines .spot { fill: rgba(244,246,251,.7); }
.pitch .goal { stroke: rgba(244,246,251,.85); }
.opp { fill: #E0703F; stroke: #05070F; }
.us .dot { fill: #2498FF; stroke: #F4F6FB; }
.us .lbl { fill: #04101F; font-family: "Barlow", sans-serif; font-weight: 700; }
.us.me .dot { fill: #2498FF; stroke: #C7A659; }
.ball { fill: #fff; stroke: #05070F; }
.zone-r { fill: rgba(36,152,255,.22); stroke: #7CC0FF; }
.cover { color: #C9D0E6; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* crests in tables and event titles */
.league td.tm { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ev h3 { display: flex; align-items: center; gap: 10px; }
.top { gap: 10px; } .top .who { margin-left: 0; } .top .theme-btn { margin-left: auto; }
/* Pro board: viewing player named, gold ring */
.pitch .name-tag { font-family: "Barlow", sans-serif; font-weight: 700; font-size: 2.1px; fill: var(--gold); letter-spacing: .08px; paint-order: stroke; stroke: rgba(5,7,15,.75); stroke-width: .5px; }
.us.you .ring { stroke: var(--gold); stroke-dasharray: none; stroke-width: .55; }
.us.you .dot { stroke: var(--gold); }
/* Neon night board: set pieces */
.board-wrap.neon { background: #060B1F; border-color: #1A2240; }
.neon .turf-a, .neon .turf-b { fill: #060B1F; }
.neon .lines * { stroke: #46C2FF; stroke-opacity: .75; stroke-width: .25; filter: drop-shadow(0 0 .6px #46C2FF); }
.neon .lines .spot { fill: #46C2FF; }
.neon .pitch .goal { stroke: #BFE9FF; }
.neon .us .dot { fill: #46C2FF; stroke: #BFE9FF; filter: drop-shadow(0 0 .8px #46C2FF); }
.neon .us .lbl { fill: #04101F; }
.neon .opp { fill: #060B1F; stroke: #FF7A45; stroke-width: .5; filter: drop-shadow(0 0 .6px #FF7A45); }
.neon .trails .pass { stroke: #46C2FF; filter: drop-shadow(0 0 .6px #46C2FF); }
.neon .trails .run { stroke: #F4F6FB; opacity: .55; }
.neon .ah { fill: #46C2FF; }
.neon .ball { fill: #fff; filter: drop-shadow(0 0 .8px #fff); }
/* Ghost trail: runs fade in like a vapour trail */
.trails line { animation: ghost .6s ease-out both; }
@keyframes ghost { from { opacity: 0; } }
/* Film: camera push once the frame freezes, telestrator ink on top */
.fb-stage { overflow: hidden; }
/* still and tap layer scale together so tap targets stay accurate */
.fb-stage .fb-still, .fb-stage .fb-tap, .fb-stage .tele { transform-origin: 50% 45%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.fb-stage.push .fb-still, .fb-stage.push .fb-tap, .fb-stage.push .tele { transform: scale(1.12); }
.film-board .fb-badge { font-family: "Barlow", sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.film-board svg line, .film-board svg path { stroke: #FFD23F; stroke-linecap: round; }
.crest { background: #F4F6FB url("crests/dme-academy-sarasota.webp") center / 76% no-repeat; }
/* Telestrator ink */
.tele-stage { position: relative; line-height: 0; }
.tele-stage img { width: 100%; display: block; }
.tele-stage.has-tele { cursor: pointer; }
.tele { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.tele-item { opacity: 0; }
.tele-item.on { opacity: 1; }
.tele-item path, .tele-item ellipse { fill: none; stroke: #FFD23F; stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s ease-out; filter: drop-shadow(0 0 .5px rgba(0,0,0,.9)); }
.tele-item.drawn path, .tele-item.drawn ellipse { stroke-dashoffset: 0; }
.tele-arrow.run path { stroke: #F4F6FB; }
.tele-arrow.run.drawn path { stroke-dasharray: .03 .02; }
.tele-ring ellipse { stroke: #FFD23F; stroke-width: .8; }
.tele-zone path { fill: rgba(255,210,63,.3); stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transition: opacity .5s; }
.tele-zone.drawn path { opacity: 1; }
.tele-line path { stroke: #E0703F; }
.tele-head { fill: #FFD23F; }
.tele-arrow.run .tele-head { fill: #F4F6FB; }
.tele-text { font: 700 2.6px "Barlow", sans-serif; letter-spacing: .15px; fill: #FFD23F; paint-order: stroke; stroke: rgba(5,7,15,.85); stroke-width: .7px; opacity: 0; transition: opacity .3s .4s; }
.tele-item.drawn .tele-text { opacity: 1; }
.fb-stage .tele { z-index: 3; }
/* Position map (B) and zone grid (C) */
.posmap { margin: 4px 0 18px; }
.pm-wrap { display: flex; gap: 14px; align-items: flex-start; }
.pm, .zg { width: 58%; max-width: 230px; height: auto; display: block; border-radius: 4px; }
.zg { width: 70%; max-width: 260px; }
.pm-turf { fill: #123322; } .pm-stripe { fill: #164029; }
.pl { fill: none; stroke: rgba(244,246,251,.55); stroke-width: .6; }
.pm-with { fill: rgba(36,152,255,.5); stroke: #2498FF; stroke-width: .9; }
.pm-without { fill: none; stroke: #E0703F; stroke-width: 1.1; stroke-dasharray: 3 2.4; }
.pm-arrow { stroke: #F4F6FB; stroke-width: .9; fill: none; }
.pm-head { fill: #F4F6FB; }
.pm-tag { font: 700 4.6px "Barlow", sans-serif; letter-spacing: .3px; paint-order: stroke; stroke: #123322; stroke-width: 1.2px; }
.pm-tag.w { fill: #9FD0FF; } .pm-tag.o { fill: #F0A47F; }
.pm-key { list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--dim); display: grid; gap: 8px; }
.pm-key li { display: flex; align-items: center; gap: 8px; }
.pm-key i { width: 18px; height: 12px; display: inline-block; flex: none; }
.k-with { background: rgba(36,152,255,.5); border: 1px solid #2498FF; }
.k-without { border: 1.5px dashed #E0703F; }
.zg-bg { fill: var(--s1); } .zg-cell { fill: #2498FF; stroke: var(--bg); stroke-width: .8; }
.zg-n { font: 900 6px "BSD", sans-serif; fill: #F4F6FB; }
.zg .pl { stroke: rgba(244,246,251,.3); }
/* Staff: lineup entry */
.lu-pitch { background: #123322; border-radius: 6px; padding: 14px 10px; display: grid; gap: 14px; background-image: repeating-linear-gradient(180deg, #164029 0 34px, #123322 34px 68px); }
.lu-row { display: flex; justify-content: space-around; gap: 8px; }
.lu-slot { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; max-width: 160px; margin: 0; }
.lu-slot span { font: 700 .72rem "Barlow", sans-serif; letter-spacing: .08em; color: #F4F6FB; background: #2498FF; border-radius: 10px; padding: 1px 8px; }
.lu-slot select { width: 100%; min-height: 40px; font-size: .9rem; background: #05070F; color: #F4F6FB; border: 1px solid rgba(244,246,251,.35); border-radius: 6px; padding: 4px 6px; }
.lu-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.lu-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--s1); }
.lu-sub.on { border-color: #2498FF; }
.lu-sub label { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.lu-sub select { width: auto; min-height: 34px; }
.lu-sub select:disabled { opacity: .35; }
.okc { color: var(--good); font-weight: 600; }
.lu-sub label { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--text); white-space: nowrap; }
.lu-sub small { color: var(--dim); font-weight: 500; }
.lu-row .lu-slot select { font-size: .82rem; padding: 4px 2px; text-overflow: ellipsis; }
/* Staff: needs attention */
h2 .count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 6px; border-radius: 999px; background: var(--bad); color: #fff; font: 700 .8rem var(--body); vertical-align: middle; text-align: center; }
.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.alerts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--s1); border-radius: 4px; }
.alerts li > a { text-decoration: none; color: var(--text); min-width: 120px; }
.alerts li > a small { color: var(--dim); }
.al-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.al { font-size: .8rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); background: var(--s2); }
.al-site, .al-rating { border-color: var(--gold); }
.al-mins { border-color: var(--bad); }
.al-more summary { cursor: pointer; color: var(--dim); margin: 8px 0; font-size: .9rem; }
/* Staff: depth chart */
.dc-wrap { display: grid; gap: 14px; }
@media (min-width: 900px) { .dc-wrap { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } .dc-ed { margin-top: 0; position: sticky; top: 12px; } }
.dc-slot { flex: 1; max-width: 170px; min-height: 88px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 8px; background: rgba(5,7,15,.72); border: 1px solid rgba(244,246,251,.25); border-radius: 6px; color: #F4F6FB; cursor: pointer; font: inherit; text-align: left; }
.dc-slot:hover, .dc-slot.on { border-color: #2498FF; box-shadow: 0 0 0 2px rgba(36,152,255,.35); }
.dc-slot.thin { border-color: rgba(229,83,75,.7); }
.dc-pos { font: 700 .72rem "Barlow", sans-serif; letter-spacing: .08em; background: #2498FF; border-radius: 10px; padding: 1px 8px; }
.dc-slot ol { list-style: none; margin: 0; padding: 0; width: 100%; font-size: .8rem; line-height: 1.35; }
.dc-slot li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-slot li b { color: #C7A659; margin-right: 3px; }
.dc-slot li.out { color: #F0A47F; }
.dc-slot small { color: rgba(244,246,251,.65); font-size: .72rem; }
.dc-thin { font-style: normal; font-size: .68rem; color: #FF8A82; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.dc-hint { margin: 0; }
.dc-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.dc-list > li { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; background: var(--bg); display: grid; gap: 6px; }
.dc-row { display: flex; align-items: center; gap: 10px; }
.dc-ord { font: 900 1rem var(--display); color: var(--gold); min-width: 34px; }
.dc-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dc-name small { color: var(--dim); font-size: .78rem; }
.dc-btns { display: flex; gap: 4px; }
.dc-btns .ib { width: 34px; height: 34px; border: 1px solid var(--line-2); background: var(--s1); color: var(--text); border-radius: 6px; cursor: pointer; font-size: 1rem; }
.dc-btns .ib:disabled { opacity: .3; cursor: default; }
.dc-note { width: 100%; font-size: .85rem; }
@media (max-width: 520px) { .dc-slot { min-height: 76px; } .dc-slot ol { font-size: .72rem; } }

/* ===== Audit fixes, Oct 16 ===== */
/* Runs: no header to tap away from a first attempt, and the board fits the visible screen (iOS toolbar). */
body.in-run .top { display: none; }
body.in-run .trainer .stage { max-width: min(480px, calc(42vh * 1.2)); max-width: min(480px, calc(38dvh * 1.2)); }
/* Scrollable tab rows show a fade on the right so players know there's more. */
.seg, .sp-role .chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 28px; }
/* Long messages wrap instead of running off the screen. */
.toast { white-space: normal; max-width: calc(100vw - 32px); width: max-content; text-align: center; line-height: 1.35; }
/* Board: invisible hit area, readable position labels. */
.us .hit { fill: transparent; stroke: none; }
.us .lbl { font-size: 2.1px; }
/* The first-attempt warning is the loudest line on the card, not the faintest. */
.setcard .fine { color: var(--text); font-weight: 600; border-left: 3px solid var(--gold); padding-left: 10px; }
/* Light mode: darker gold for labels. */
html.light .label { color: var(--gold-ink); }
/* Tap targets at least 44 px. */
.who, .quit, .sp-role .tag-chip, details > summary, .ev-body a { min-height: 44px; }
.who, .quit { display: inline-flex; align-items: center; }
.ev-body a, details > summary { display: inline-flex; align-items: center; }
/* Short screens (iPhone with Safari bars): smaller board so all four answers stay on screen while the clock runs. */
@media (max-height: 720px) {
  body.in-run .trainer .stage { max-width: min(480px, calc(31vh * 1.2)); max-width: min(480px, calc(30dvh * 1.2)); }
  body.in-run .page { padding-top: 8px; }
}

/* Voice notes, Oct 16 */
#vnotes:empty { display: none; }
#vnotes { display: grid; gap: 12px; margin: 0 0 14px; }
.vnote { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.vnote.mine { border-color: var(--accent); }
.vnote .label { margin: 0 0 8px; }
.vnote .new { color: var(--accent); margin-left: 6px; }
.vnote audio { width: 100%; height: 40px; }
.vnote .vtext { margin: 8px 0 0; color: var(--dim); }

/* ================= Deploy 2 (Oct 2026): laptop sidebar, option A ================= */
.tabs .side-mark, .tabs .side-me { display: none; }
@media (min-width: 1024px) {
  body { padding-left: 232px; }
  .top { display: none; }
  .tabs { top: 0; bottom: 0; right: auto; width: 232px; display: flex; flex-direction: column; gap: 6px; padding: 24px 16px; border-top: 0; border-right: 1px solid var(--line); background: var(--ink); box-shadow: none; }
  html.light .tabs { background: #151420; }
  .tabs a { display: flex; align-items: center; min-height: 44px; padding: 0 14px 0 29px; text-align: left; border-radius: 8px; color: #A9B1C6; font: 600 .95rem/1 var(--body); letter-spacing: 0; text-transform: none; }
  .tabs a:hover { color: #FFFFFF; background: rgba(255,255,255,.04); }
  .tabs a.on { color: #FFFFFF; background: #11182C; }
  .tabs a.on::before { top: 13px; bottom: 13px; left: 14px; right: auto; width: 3px; height: auto; border-radius: 2px; background: var(--accent); }
  .tabs .side-mark { display: flex; align-items: center; gap: 12px; padding: 0 8px 24px; min-height: 0; background: none; color: #F4F6FB; font: 700 1.15rem/1 var(--display); text-transform: uppercase; }
  .tabs .side-mark::before { display: none; }
  .tabs .side-mark .mark-sub { color: var(--gold); }
  .tabs .side-me { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); color: #F4F6FB; }
  .side-av { width: 34px; height: 34px; border-radius: 50%; background: #2A3550; display: grid; place-items: center; font-weight: 700; flex: none; }
  .side-nm { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-nm small { display: block; color: #8E97AE; font-weight: 400; font-size: .75rem; }
  .side-out { min-height: 44px; background: none; border: 0; color: #7FC0FF; font: inherit; font-size: .82rem; cursor: pointer; }
  .tabs.six a { font-size: .95rem; }
  .page { max-width: 1100px; padding: 36px 48px 60px; }
  .page.narrow { max-width: 420px; }
  .toast { bottom: 24px; left: calc(50% + 116px); }
  body.in-run { padding-left: 0; }
  body.in-run .tabs { display: none; }
}

/* ================= Deploy 2: effects (fx.js) ================= */
/* 5 · next-up hero + countdown */
.fx-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 20px; margin-bottom: 14px; background: #0C1530; color: #EEF1F8; border-left: 3px solid var(--accent); border-radius: 2px; }
.fx-hero-pitch { position: absolute; right: -60px; top: 50%; width: 520px; max-width: none; transform: translateY(-50%); fill: none; stroke: #1D2C4F; stroke-width: 2; pointer-events: none; }
.fx-beam { position: absolute; inset: 0; width: 100%; height: 100%; fill: #D4B062; fill-opacity: .14; pointer-events: none; animation: fxBeam 3s ease-in-out infinite; }
.fx-hero.eve { border-left-color: var(--gold); background: linear-gradient(180deg, #1A1A2E, #0C1530); }
.fx-hero > *:not(svg) { position: relative; }
.fx-hero-date { text-align: center; padding-right: 18px; border-right: 1px solid rgba(255,255,255,.12); }
.fx-hero-date b { display: block; font: 900 3.2rem/1 var(--hero, var(--display)); }
.fx-hero-date span { font: 700 .66rem/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #9FA8C0; }
.fx-hero .label { color: var(--gold); }
.fx-vs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font: 900 clamp(1.6rem, 6vw, 2.6rem)/1 var(--hero, var(--display)); text-transform: uppercase; }
.fx-v { font-size: .5em; color: #8790A8; }
.fx-hero-meta { color: #B4BCD0; font-size: .9rem; margin: 8px 0 12px; }
.fx-count { display: flex; gap: 8px; }
.fx-count div { min-width: 56px; padding: 8px 6px; text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 2px; }
.fx-count b { display: block; font: 900 1.6rem/1 var(--hero, var(--display)); }
.fx-count span { font: 700 .58rem/1.6 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #8790A8; }
.fx-live { margin: 0; font: 900 1.3rem/1 var(--hero, var(--display)); text-transform: uppercase; color: var(--gold); }
@keyframes fxTick { 0% { transform: translateY(-8px); opacity: .3; } 100% { transform: none; opacity: 1; } }
@keyframes fxBeam { 0%,100% { opacity: .35; } 50% { opacity: .8; } }
.fx-tick { animation: fxTick .25s ease-out; }
@media (max-width: 480px) { .fx-hero { grid-template-columns: 1fr; } .fx-hero-date { display: flex; gap: 10px; align-items: baseline; text-align: left; border-right: 0; padding: 0; } .fx-hero-date b { font-size: 2rem; } .fx-count div { min-width: 0; flex: 1; } }

/* 2 · XP and rank jump */
@keyframes fxPop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
@keyframes fxRise { 0% { transform: translateY(16px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fxGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(107,211,154,0); } 50% { box-shadow: 0 0 0 6px rgba(107,211,154,.25); } }
.fx-xp { text-align: center; padding: 20px 16px; margin: 0 0 20px; background: var(--s1); border: 1px solid var(--line); }
.fx-xp-score { font: 700 1rem var(--display); color: var(--dim); animation: fxPop .5s ease-out both; }
.fx-xp-gain { margin: 4px 0 14px; font: 900 3rem/1 var(--hero, var(--display)); color: var(--gold); animation: fxRise .6s ease-out .2s both; }
.fx-rank { display: inline-flex; align-items: center; gap: 16px; padding: 10px 18px; border: 1px solid var(--line); animation: fxPop .5s ease-out .6s both; }
.fx-rank span { display: block; font: 700 .62rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.fx-rank b { font: 900 1.8rem/1 var(--hero, var(--display)); }
.fx-rank svg { width: 28px; height: 28px; fill: none; stroke: var(--faint); stroke-width: 3; }
.fx-rank.up { border-color: #2E7D4F; animation: fxPop .5s ease-out .6s both, fxGlow 1.6s ease-in-out 1.2s 2; }
.fx-rank.up svg { stroke: #6BD39A; }
.fx-passed { margin: 10px 0 0; color: #6BD39A; font-weight: 600; animation: fxRise .5s ease-out 1.1s both; }

/* 6 · right / wrong */
@keyframes fxRight { 0% { box-shadow: 0 0 0 0 rgba(31,157,99,.6); } 100% { box-shadow: 0 0 0 14px rgba(31,157,99,0); } }
@keyframes fxWrong { 0%,100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.fx-right { animation: fxRight .6s ease-out; }
.fx-wrong { animation: fxWrong .4s ease-in-out; }
.fx-pulse { animation: fxRight .7s ease-out; }
.fx-shake { animation: fxWrong .4s ease-in-out; }

/* 7 · ladder arrows */
.fx-move { display: inline-block; margin-left: 6px; padding: 1px 6px; font: 800 .7rem/1.4 var(--display); border-radius: 2px; }
.fx-move.up { color: #6BD39A; background: rgba(107,211,154,.12); }
.fx-move.down { color: #F08080; background: rgba(240,128,128,.12); }

/* 3 · badges and streaks */
.fx-badges { margin-bottom: 36px; }
.fx-streak { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 18px; background: var(--s1); border: 1px solid var(--line); }
.fx-streak svg { width: 34px; height: 42px; flex: none; }
.fx-streak b { display: block; font: 900 1.3rem/1.1 var(--hero, var(--display)); text-transform: uppercase; }
.fx-streak span { color: var(--dim); font-size: .85rem; }
.fx-badge-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) { .fx-badge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fx-badge { padding: 12px 8px; text-align: center; background: var(--s1); border: 1px solid var(--line); }
.fx-badge:not(.on) svg { opacity: .45; } .fx-badge:not(.on) b { color: var(--dim); }
.fx-badge.on { opacity: 1; }
.fx-badge svg { width: 60px; height: 66px; }
.fx-badge polygon { fill: var(--s2); stroke: var(--line-2); stroke-width: 3; }
.fx-badge path { fill: none; stroke: var(--faint); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.fx-badge.on polygon { fill: #2A2210; stroke: #D4B062; }
.fx-badge.on path { stroke: #F2DFAE; }
.fx-badge b { display: block; font: 800 .82rem var(--display); text-transform: uppercase; letter-spacing: .04em; }
.fx-badge span { display: block; color: var(--dim); font-size: .72rem; line-height: 1.3; }
@keyframes fxUnlock { 0% { transform: scale(.4) rotate(-20deg); } 70% { transform: scale(1.15) rotate(4deg); } 100% { transform: none; } }
.fx-badge.new svg { animation: fxUnlock .8s cubic-bezier(.2,.8,.3,1) both; }

/* overlays (8 reveal, 9C broadcast) */
.fx-overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(5,7,15,.82); backdrop-filter: blur(4px); }
@keyframes fxIn { 0% { transform: translateY(24px) scale(.96); opacity: 0; } 100% { transform: none; opacity: 1; } }
.fx-reveal { position: relative; overflow: hidden; width: min(420px, 100%); padding: 28px 22px; text-align: center; background: #0C1530; color: #EEF1F8; border: 1px solid #2A3A63; animation: fxIn .6s cubic-bezier(.2,.9,.3,1) both; }
.fx-reveal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #1D2C4F; stroke-width: 2; }
.fx-reveal > *:not(svg) { position: relative; }
.fx-reveal .label { color: var(--gold); }
.fx-reveal-n { margin: 0; font: 900 1rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: #6BD39A; }
.fx-reveal h2 { margin: 8px 0 10px; font-size: 2.2rem; color: #FFFFFF; }
.fx-reveal p { color: #B4BCD0; }

/* 9C broadcast graphic */
@keyframes bWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bDrop { from { transform: translateY(-50px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bPhoto { from { transform: scale(1.12) translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bNum { from { transform: translateX(80px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bSheen { 0%,60% { transform: translateX(-140px) skewX(-20deg); } 100% { transform: translateX(420px) skewX(-20deg); } }
@keyframes bLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bDot { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes bRing { from { stroke-dashoffset: 151; } }
.fx-bc { position: relative; overflow: hidden; width: min(360px, 100%); height: 640px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 20px; background: #0A1022 repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 14px, rgba(255,255,255,0) 14px 28px); border: 1px solid #1A2135; color: #EEF1F8; font-family: var(--body); }
.fx-bc .b-bug { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; border-radius: 6px; overflow: hidden; font: 800 1.05rem var(--hero, var(--display)); box-shadow: 0 6px 18px rgba(0,0,0,.4); animation: bDrop .5s cubic-bezier(.2,.9,.3,1) .1s both; }
.fx-bc .b-bug > span { display: flex; align-items: center; justify-content: center; padding: 5px 8px; }
.fx-bc .b-comp { background: #0B0E18; color: #D4B062; font-size: .72rem; letter-spacing: .1em; }
.fx-bc .b-tm { flex: 1; background: #EEF1F8; color: #0B0E18; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .85rem; }
.fx-bc .b-sc { background: #0B0E18; padding: 5px 12px; }
.fx-bc .b-ft { background: #D4B062; color: #0B0E18; gap: 4px; }
.fx-bc .b-ft i { width: 6px; height: 6px; border-radius: 50%; background: #0B0E18; animation: bDot 1.2s ease-in-out infinite; }
.fx-bc .b-num { position: absolute; right: -18px; top: 70px; font: 800 300px/1 var(--hero, var(--display)); color: transparent; -webkit-text-stroke: 2px rgba(212,176,98,.35); animation: bNum .9s ease-out .3s both; }
.fx-bc .b-photo { position: absolute; left: 30px; top: 74px; width: 220px; height: 330px; border-radius: 110px 110px 0 0; background: #1C2846; overflow: hidden; animation: bPhoto .9s ease-out .2s both; }
.fx-bc .b-photo img { width: 100%; height: 100%; object-fit: cover; }
.fx-bc .b-photo svg { width: 100%; height: 100%; fill: #2A3A63; }
.fx-bc .b-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(10,16,34,0), #0A1022); }
.fx-bc .b-low { position: absolute; left: 0; right: 0; top: 372px; display: flex; flex-direction: column; }
.fx-bc .b-w1 { align-self: flex-start; margin-left: 14px; transform: skewX(-12deg); background: #D4B062; color: #0B0E18; padding: 6px 16px; font: 800 .8rem var(--display); letter-spacing: .22em; animation: bWipe .4s cubic-bezier(.7,0,.2,1) .7s both; }
.fx-bc .b-w1 span { display: inline-block; transform: skewX(12deg); }
.fx-bc .b-w2 { position: relative; overflow: hidden; margin: 0 14px; transform: skewX(-12deg); background: #0B0E18; border-left: 6px solid #D4B062; padding: 10px 18px 12px; animation: bWipe .5s cubic-bezier(.7,0,.2,1) .9s both; }
.fx-bc .b-sheen { position: absolute; top: 0; bottom: 0; width: 60px; background: rgba(255,255,255,.12); animation: bSheen 2.6s ease-in-out 1.2s both; }
.fx-bc .b-txt { transform: skewX(12deg); }
.fx-bc .b-first { font-size: .95rem; font-weight: 600; letter-spacing: .14em; color: #B4BCD0; text-transform: uppercase; }
.fx-bc .b-last { font: 800 3rem/.95 var(--hero, var(--display)); text-transform: uppercase; }
.fx-bc .b-line { height: 3px; margin: 0 14px; background: #2498FF; transform-origin: 0 50%; animation: bLine .6s ease-out 1.1s both; }
.fx-bc .b-stats { margin: 0 14px; display: flex; gap: 1px; background: #1A2135; }
.fx-bc .b-stats > div { flex: 1; background: #131A2F; padding: 10px 8px; text-align: center; animation: bUp .35s ease-out 1.55s both; }
.fx-bc .b-stats b { display: block; font: 800 1.9rem/1 var(--hero, var(--display)); }
.fx-bc .b-stats span { font-size: .62rem; color: #8790A8; letter-spacing: .12em; }
.fx-bc .b-rate { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1.2 !important; }
.fx-bc .b-rate svg { width: 54px; height: 54px; }
.fx-bc .b-rate .r0 { fill: none; stroke: #26314F; stroke-width: 5; }
.fx-bc .b-rate .r1 { fill: none; stroke: #D4B062; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 151; animation: bRing 1.2s ease-out 1.9s both; }
.fx-bc .b-rate text { fill: #EEF1F8; font: 800 19px var(--hero, var(--display)); }
.fx-bc .b-rate span { text-align: left; }
.fx-bc .b-why { margin: 10px 14px 0; font-size: .82rem; color: #B4BCD0; line-height: 1.4; animation: bUp .4s ease-out 2.1s both; }
.fx-bc .b-tick { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: #D4B062; color: #0B0E18; overflow: hidden; display: flex; align-items: center; }
.fx-bc .b-tick div { display: flex; white-space: nowrap; font: 800 .75rem var(--display); letter-spacing: .14em; animation: bTick 14s linear infinite; }
.fx-bc .b-tick span { padding-right: 28px; }
.fx-bc .b-close { position: absolute; top: 56px; right: 12px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: rgba(5,7,15,.6); color: #EEF1F8; font: 600 .8rem var(--body); cursor: pointer; }

/* 4 · moving pitch */
.fx-pitch { margin: 0 0 28px; }
.fx-pitch svg { width: 100%; max-width: 480px; display: block; margin: 0 auto; background: #123322; }
.fp-lines { fill: none; stroke: #2F6B50; stroke-width: 2; }
.fp-pass line { stroke: #EEF1F8; stroke-width: 3; stroke-dasharray: 7 6; }
.fp-pass line.gold { stroke: #D4B062; }
.fp-opp circle { fill: #E06C4C; }
.fp-us circle { fill: #2498FF; }
.fp-us text { fill: #FFFFFF; font: 700 12px var(--body); text-anchor: middle; }
.fp-us .fx-ball { fill: #FFFFFF; stroke: #070A14; stroke-width: 2; }
.fx-pitch figcaption { margin-top: 8px; color: var(--dim); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.fx-replay { background: none; border: 0; cursor: pointer; min-height: 44px; }
@keyframes fxBall { 0% { transform: translate(200px,470px); } 22% { transform: translate(300px,262px); } 38% { transform: translate(300px,262px); } 55% { transform: translate(240px,306px); } 66% { transform: translate(240px,306px); } 88%,100% { transform: translate(430px,112px); } }
@keyframes fxEight { 0% { transform: translate(150px,400px); } 52%,100% { transform: translate(240px,306px); } }
@keyframes fxNine { 0% { transform: translate(300px,200px); } 20%,100% { transform: translate(300px,262px); } }
@keyframes fxWing { 0%,55% { transform: translate(480px,300px); } 88%,100% { transform: translate(430px,112px); } }
@keyframes fxL1 { 0% { opacity: 0; } 8%,100% { opacity: 1; } }
@keyframes fxL2 { 0%,36% { opacity: 0; } 42%,100% { opacity: 1; } }
@keyframes fxL3 { 0%,62% { opacity: 0; } 68%,100% { opacity: 1; } }
.fx-pitch .fx-ball { animation: fxBall 4.2s ease-in-out forwards; }
.fx-pitch .fx-eight { animation: fxEight 4.2s ease-in-out forwards; }
.fx-pitch .fx-nine { animation: fxNine 4.2s ease-in-out forwards; }
.fx-pitch .fx-wing { animation: fxWing 4.2s ease-in-out forwards; }
.fx-pitch .fx-l1 { animation: fxL1 4.2s linear forwards; }
.fx-pitch .fx-l2 { animation: fxL2 4.2s linear forwards; }
.fx-pitch .fx-l3 { animation: fxL3 4.2s linear forwards; }
@media (prefers-reduced-motion: reduce) { .fx-pitch .fx-ball { transform: translate(430px,112px); } .fx-pitch .fx-eight { transform: translate(240px,306px); } .fx-pitch .fx-nine { transform: translate(300px,262px); } .fx-pitch .fx-wing { transform: translate(430px,112px); } }

/* ================= Deploy 2: The Chase, season goals, Savage Minute, pre-game ================= */
.d2-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 0 0 28px; }
.sg-teaser, .pg-link { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--s1); border: 1px solid var(--line); border-left: 3px solid var(--gold); text-decoration: none; color: var(--text); }
.sg-teaser strong, .pg-link strong { font: 900 1.15rem/1.15 var(--hero, var(--display)); text-transform: uppercase; color: var(--head, var(--text)); }
.sg-teaser span:last-child, .pg-link span:last-child { color: var(--dim); font-size: .85rem; }
.sg-teaser .label, .pg-link .label { margin: 0 0 4px; }
.sg-teaser:hover, .pg-link:hover { border-color: var(--gold); }
.chase-in { margin-bottom: 18px; }
.pg-link { margin: 0 0 12px; border-left-color: var(--accent); }
/* The Chase */
.chase h1 { margin-bottom: 18px; }
.ch-road { position: relative; overflow: hidden; margin: 0 0 18px; background: #000; border-radius: 2px; aspect-ratio: 16 / 9; max-width: 100%; }
.ch-road video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ch-road-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85)); color: #EEF1F8; }
.ch-road-txt .label { color: #D4B062; margin: 0 0 4px; }
.ch-road-txt p:last-child { margin: 0; font: 900 1.4rem/1.1 var(--hero, var(--display)); text-transform: uppercase; }
.ch-before { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 0 24px; background: var(--s1); border: 1px solid var(--line); }
.ch-before img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ch-before > div { padding: 18px; }
.ch-kick { font: 900 1.2rem/1.1 var(--hero, var(--display)); text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.ch-now { font: 900 1.3rem var(--hero, var(--display)); text-transform: uppercase; margin: 0; color: var(--head, var(--text)); }
@media (min-width: 760px) { .ch-before { grid-template-columns: 1.2fr 1fr; } .ch-before img { height: 100%; aspect-ratio: auto; } }
#chtab > section { margin: 18px 0; }
.ch-trophy { position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 20px; background: #0C1530; color: #EEF1F8; border: 1px solid #2A3A63; }
.ch-trophy svg { width: 70px; height: 104px; flex: none; position: relative; }
.ch-trophy > div:last-child { position: relative; }
.ch-trophy h2 { color: #FFFFFF; font-size: 2rem; margin: 0 0 6px; }
.ch-trophy p { color: #B4BCD0; margin: 0; }
.ch-trophy .label { color: #D4B062; margin: 0 0 4px; }
@keyframes cGlow { 0%,100% { opacity: .45; } 50% { opacity: .9; } }
.ch-glow { position: absolute; left: -30px; top: 50%; width: 180px; height: 180px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(212,176,98,.35), rgba(212,176,98,0) 70%); animation: cGlow 3s ease-in-out infinite; }
.ch-path > div { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; margin-bottom: 6px; background: var(--s1); border: 1px solid var(--line); }
.ch-path > div span:first-child { width: 110px; flex: none; font: 700 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ch-path > div span:nth-child(2) { flex: 1; min-width: 0; }
.ch-path > div.fin { border-color: var(--gold); background: #2A2210; color: #F2DFAE; }
.ch-routes { margin: 0 0 14px; padding-left: 22px; } .ch-routes li { margin: 6px 0; font-weight: 600; }
.ch-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 10px 0; }
.ch-stats > div { background: var(--s1); padding: 12px; text-align: center; }
.ch-stats b { display: block; font: 900 1.8rem/1 var(--hero, var(--display)); color: var(--head, var(--text)); }
.ch-stats span { font: 700 .62rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ch-champs h2 { color: var(--gold); }
.ch-foot { text-align: center; color: var(--dim); font-style: italic; margin-top: 28px; }
/* season goals */
.sg-team { display: block; padding: 16px 18px; margin: 0 0 16px; background: #0C1530; color: #EEF1F8; border: 1px solid #2A3A63; text-decoration: none; }
.sg-team strong { display: block; font: 900 1.4rem var(--hero, var(--display)); text-transform: uppercase; }
.sg-team span:last-child { color: #8CC8FF; font-size: .85rem; }
.sg { padding: 18px; margin: 0 0 14px; background: var(--s1); border: 1px solid var(--line); }
.sg-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sg-head h3 { margin: 0; font-size: 1.4rem; }
.sg-head .label { margin: 0 0 6px; font-size: .62rem; }
.sg-st { flex: none; font: 800 .66rem var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 10px; }
.sg-st.ok { color: #6BD39A; background: rgba(107,211,154,.12); }
.sg-st.push { color: #F0C75E; background: rgba(240,199,94,.12); }
.sg-st.wait { color: var(--dim); background: var(--s2); }
.sg-bar { position: relative; height: 34px; margin: 14px 0 4px; }
.sg-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 10px; border-radius: 5px; background: var(--s2); }
.sg-bar i { position: absolute; left: 0; top: 12px; height: 10px; border-radius: 5px; background: var(--accent); transition: width .6s ease; }
.sg-mark { position: absolute; top: 24px; width: 44px; text-align: center; font: 800 .62rem var(--display); color: var(--faint); }
.sg-mark.on { color: var(--gold); }
.sg-foot { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 8px 0 0; font-size: .9rem; } .sg-foot span:last-child { margin-left: auto; color: var(--dim); }
.sg-set { margin: 18px 0; padding: 14px 18px; background: var(--s1); border: 1px solid var(--line); }
.sg-set summary { cursor: pointer; font: 800 .9rem var(--display); letter-spacing: .08em; text-transform: uppercase; min-height: 44px; display: flex; align-items: center; }
.sg-set select { width: 100%; min-height: 44px; margin: 4px 0 12px; }
/* Savage Minute / pre-game */
#savage:empty { display: none; }
#savage { margin: 0 0 24px; }
.vnote.savage { padding: 16px; background: linear-gradient(135deg, #1A1208, #0C1530); border: 1px solid #5A4520; color: #EEF1F8; }
.vnote.savage .label { color: #D4B062; }
.vnote.savage audio { width: 100%; margin: 6px 0; }
.vnote.savage .vtext { color: #F2DFAE; font-weight: 600; }
.pg-card { padding: 18px; margin: 0 0 14px; background: var(--s1); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.pg-big { font: 700 1.15rem/1.4 var(--body); margin: 0; color: var(--head, var(--text)); }
.pg-std { margin: 0; padding-left: 24px; } .pg-std li { margin: 8px 0; font: 800 1.1rem/1.3 var(--body); color: var(--head, var(--text)); }
.pg-trailer { margin: 0 0 18px; }
#pglock:empty { display: none; }
#pglock { margin: 0 0 14px; }
/* Deploy 2 restyle: podium, position battle, profile ranks */
.podium { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; margin: 0 0 16px; padding: 0; }
.podium li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 10px; background: var(--s1); border: 1px solid var(--line); text-align: center; }
.podium li.p1 { padding-top: 26px; border-color: var(--gold); background: linear-gradient(180deg, rgba(212,176,98,.16), var(--s1)); }
.podium li.me { box-shadow: inset 0 0 0 2px var(--accent); }
.podium b { font: 900 1rem var(--hero, var(--display)); text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium span { color: var(--dim); font-size: .8rem; }
.podium i { position: absolute; top: 6px; left: 8px; font: 900 1.1rem var(--hero, var(--display)); font-style: normal; color: var(--faint); }
.podium li.p1 i { color: var(--gold); }
.battle-card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; margin: 0 0 16px; background: var(--s1); border: 1px solid var(--line); border-left: 3px solid var(--accent); text-decoration: none; color: var(--text); }
.battle-card strong { font: 900 2rem/1 var(--hero, var(--display)); color: var(--head, var(--text)); }
.battle-card small { font-size: .9rem; color: var(--dim); }
.battle-card span:last-child { color: var(--dim); font-size: .85rem; }
.pro-ranks { display: flex; gap: 8px; margin-top: 10px; }
.pro-ranks > * { flex: 1; min-width: 72px; padding: 8px 10px; background: var(--s1); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pro-ranks b { display: block; font: 900 1.4rem/1 var(--hero, var(--display)); color: var(--head, var(--text)); }
.pro-ranks span { font: 700 .58rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }

/* Matchday sheet (Oct 22): sub minutes, goals, goals against */
.lu-sub { flex-wrap: wrap; gap: 6px 8px; }
.lu-sub .md-min, .md-row .md-gm, .md-row .md-am { width: 4.6em; min-width: 0; }
.lu-sub .md-for { max-width: 9.5em; }
.md-list { display: grid; gap: 8px; margin-bottom: 10px; }
.md-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.md-row select { flex: 1 1 8em; min-width: 0; }
.md-len { margin-top: 18px; align-items: end; }
.md-score { font: 700 1.6rem/1 var(--display); margin: 0; }
.lu-subs { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lu-sub:not(.on) .md-min, .lu-sub:not(.on) select { display: none; }

/* Staff room (Deploy 3) */
.subtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.subtabs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; text-decoration: none; color: inherit; }
.subtabs a.on { border-color: #2498FF; background: rgba(36,152,255,.12); }
.report { max-width: 72ch; }
.report h2 { margin-top: 28px; } .report h3 { margin-top: 20px; }
.report blockquote { margin: 12px 0; padding: 8px 14px; border-left: 3px solid #CAA229; background: var(--s1); }
.report .tw, #room .tw { overflow-x: auto; }
.report ul, .report ol { padding-left: 1.3em; }
.sess-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.room-up { margin-bottom: 8px; }

/* ---- Vision lab: MultiTrack (Deploy 3) ---- */
.mt { display: grid; gap: 8px; margin: 12px 0; }
.mt canvas { width: 100%; max-width: 520px; aspect-ratio: 340 / 240; border-radius: 10px; touch-action: manipulation; cursor: pointer; display: block; }
.mt-msg { font-weight: 700; margin: 0; }
.mt-meta { margin: 0; opacity: .7; font-size: .85rem; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* ---- Deploy 3b: staff flow ---- */
.tw-card { background: var(--s1); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 18px; margin: 14px 0 18px; }
.tw-card h2 { margin: 4px 0 2px; }
.tw-card h2 a { color: inherit; text-decoration: none; }
.tw-when { margin: 0 0 12px; color: var(--dim); }
.tw-links { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.tw-links a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: inherit; min-height: 54px; }
.tw-links strong { display: block; }
.tw-links span { font-size: .82rem; color: var(--dim); }
.needs { margin: 0 0 16px; }
.needs-h { font: 700 .72rem var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin: 0 0 6px; }
.needs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.needs-list a { display: inline-block; padding: 8px 12px; border: 1px solid var(--accent); border-radius: 999px; text-decoration: none; color: inherit; }
.needs-list b { color: var(--accent); margin-right: 2px; }
.ssearch { position: relative; margin: 0 0 16px; }
.ssearch input { width: 100%; box-sizing: border-box; }
.sq-res { margin-top: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pins { margin: 0 0 16px; }
.pin-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pin-list li { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 12px; }
.pin-list a { text-decoration: none; color: inherit; font-weight: 600; }
.unpin { background: none; border: 0; color: var(--dim); font-size: 1.1rem; padding: 2px 8px; cursor: pointer; }
.pinbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 16px; }
.more-link { margin: 8px 0 28px; }
.top5 { margin-top: 4px; }
.subtabs a .pill { margin-left: 4px; }

/* ---- "Something's wrong" button ---- */
.report-line { margin: 48px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.linkbtn { background: none; border: 0; padding: 6px 0; color: var(--dim); font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.report-box { display: grid; gap: 8px; margin-top: 8px; max-width: 520px; }
.report-box textarea { width: 100%; box-sizing: border-box; font: inherit; }
.install-hint { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: var(--s1); border-bottom: 1px solid var(--line); font-size: .9rem; }

/* ================= Deploy 4: session builder + tactical board ================= */
:root { --tb-gold: #E0B54A; --tb-blue: #2F80ED; --tb-red: #E5484D; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.title-in { width: 100%; box-sizing: border-box; font: 800 1.5rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--s1); color: var(--text); }
.ns-form { display: grid; gap: 14px; }
.ns-mode { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.ns-mode legend { font: 700 .72rem var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 6px; }
.ns-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; }
.ns-mode .ns-opt { text-transform: none; letter-spacing: 0; font: inherit; color: var(--text, inherit); margin: 0; text-align: left; justify-content: flex-start; }
.ns-opt input { flex: 0 0 auto; width: auto; margin: 3px 0 0; }
.ns-opt span { display: grid; gap: 3px; min-width: 0; }
.ns-opt strong { font-size: 1rem; }
.ns-opt small { display: block; color: var(--dim); font-size: .88rem; line-height: 1.35; text-transform: none; letter-spacing: 0; }
.ns-opt:has(input:checked) { border-color: var(--accent); }
.sess-head { display: grid; gap: 10px; margin-bottom: 16px; }
.mins-bar { position: relative; height: 28px; background: var(--s1); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.mins-fill { position: absolute; inset: 0 auto 0 0; background: rgba(36,152,255,.25); width: 0; transition: width .2s; }
.mins-fill.over { background: rgba(229,72,77,.3); }
.mins-bar span { position: relative; display: block; padding: 4px 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.blocks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.blk { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--s1); display: grid; gap: 8px; }
.blk.dragging { opacity: .5; }
.blk textarea, .blk input:not([type=number]) { width: 100%; box-sizing: border-box; }
.blk-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.blk-n { font: 800 1.1rem var(--display); color: var(--accent); min-width: 1.4em; }
.blk-title { flex: 1 1 180px; font-weight: 700; min-width: 0; }
.blk-mins { width: 4.5em; }
.blk-move { display: flex; gap: 4px; margin-left: auto; }
.blk .mv, .tb .mv { width: 34px; height: 32px; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 6px; cursor: pointer; }
.blk .mv:disabled { opacity: .35; cursor: default; }
.blk-board { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.blk-thumb { display: block; width: 72px; }
.blk-thumb svg { width: 100%; height: auto; display: block; border-radius: 4px; }
.add-block { display: grid; gap: 4px; max-width: 360px; margin-bottom: 90px; }
.board-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.board-grid a { display: grid; gap: 4px; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: var(--s1); }
.board-grid svg { width: 100%; height: auto; border-radius: 4px; }
.board-grid span { font-size: .8rem; color: var(--dim); }
.board-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.board-head .title-in { flex: 1 1 240px; width: auto; }
.ver-list li { display: flex; gap: 8px; align-items: baseline; }

/* board */
.tb { display: grid; gap: 10px; margin: 10px 0 40px; }
.tb-bar, .tb-frames { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tb-tool { font: 700 .78rem var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 8px 11px; min-height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--s1); color: var(--text); cursor: pointer; }
.tb-tool[aria-pressed="true"], .tb-fb[aria-pressed="true"] { border-color: var(--accent); background: rgba(36,152,255,.15); }
.tb-zc { display: inline-flex; gap: 4px; }
.tb-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; opacity: .8; }
.tb-sw[aria-pressed="true"] { border-color: var(--text); opacity: 1; }
.tb-fl { font: 700 .72rem var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.tb-fb { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: var(--s1); color: var(--text); font-weight: 700; cursor: pointer; }
.tb-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 900px) { .tb-main { grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); align-items: start; } }
.tb-stage { max-width: 560px; width: 100%; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.tb-svg { width: 100%; height: auto; display: block; border-radius: 8px; background: #16402a; }
.tb-grass { fill: #1f5130; }
.tb-stripe { fill: #fff; opacity: .04; }
.tb-line { fill: none; stroke: rgba(255,255,255,.75); stroke-width: .3; }
.tb-spot, .tb-goal { fill: #fff; }
.tb-p { cursor: grab; }
.tb-us circle { fill: var(--tb-blue); stroke: #0b1220; stroke-width: .4; }
.tb-them circle { fill: var(--tb-red); stroke: #0b1220; stroke-width: .4; }
.tb-ball circle { fill: #fff; stroke: #0b1220; stroke-width: .3; }
.tb-p.sel circle { stroke: var(--tb-gold); stroke-width: .8; }
.tb-svg text { font: 700 2px var(--body, Arial), Arial, sans-serif; text-anchor: middle; fill: #fff; pointer-events: none; }
.tb-svg .tb-name { font-size: 1.7px; font-weight: 600; paint-order: stroke; stroke: #0b1220; stroke-width: .5px; }
.tb-arrow { fill: none; stroke: #fff; stroke-width: .45; stroke-linecap: round; }
.tb-arrow.tb-pass { stroke-dasharray: 1.4 1; }
.tb-arrow.tb-run { stroke: var(--tb-gold); }
.tb-arrow.sel { stroke-width: .8; }
.tb-head { fill: #fff; }
.tb-head-run { fill: var(--tb-gold); }
.tb-zone { fill-opacity: .22; stroke-width: .3; }
.tb-zone.sel { stroke-width: .7; }
.tb-side { display: grid; gap: 10px; align-content: start; }
.tb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tb-row label, .tb-note-l { display: grid; gap: 4px; font-size: .85rem; color: var(--dim); }
.tb-note-l textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--text); }
.tb-names { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.tb-name-b { border: 1px solid var(--line); background: var(--s1); color: var(--text); border-radius: 999px; padding: 6px 10px; cursor: pointer; font: inherit; font-size: .88rem; }
.tb-name-b small { margin-left: 4px; color: var(--dim); font-size: .72rem; }
.tb-name-b.on { border-color: var(--accent); background: rgba(36,152,255,.15); }
.tb-name-b.used { opacity: .55; }
.tb-present { position: fixed; inset: 0; z-index: 100; background: #05070F; color: #fff; display: grid; grid-template-rows: auto 1fr auto auto; gap: 8px;
  padding: max(10px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.tbp-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.tbp-stage { min-height: 0; display: flex; justify-content: center; }
.tbp-stage svg { height: 100%; width: auto; max-width: 100%; }
.tbp-note { text-align: center; font-size: 1.1rem; margin: 0; min-height: 1.4em; }
.tbp-nav { display: flex; justify-content: center; gap: 10px; }
.tb-present .tb-tool { background: #111827; color: #fff; border-color: #2a3346; }
body.tb-presenting { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mins-fill { transition: none; } }

/* Profile header on phones: the mini pitch pushed the page 49px sideways (found by the deploy smoke test, Oct 31).
   The position is already written under the name, so the pitch hides below 480px. */
.pro-id { min-width: 0; flex: 1; }
@media (max-width: 480px) { .pro-head .mini-pitch { display: none; } }

/* ---- Audit fixes, Nov 1 2026 ---- */
/* Small help text read below 4.5:1 contrast in both themes: it now uses the same colour as other muted text. */
.fine { color: var(--dim); }
/* Fields get a visible focus ring, not just a border colour change. */
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Phone tap targets: at least 40px tall/wide. */
@media (max-width: 600px) {
  .tbl th button { min-height: 40px; }
  .tbl td > a { display: inline-flex; align-items: center; min-height: 40px; }
  .seg button, .seg a, .seg-btns button, .unit-filter button, .chips button { min-height: 40px; }
  .tag-chip { min-width: 44px; min-height: 40px; }
  .tb-sw { width: 40px; height: 40px; }
  #reportbtn { min-height: 44px; }
  #tw h2 a { display: inline-block; padding-block: 8px; }
}

/* ----- launch kit (Nov 1 2026): tab dots, first-week path, staff launch panel ----- */
.new-dot { position: absolute; top: 9px; right: calc(50% - 26px); width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.first-week { margin-bottom: 36px; }
.first-week li.locked .fw-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 14px; align-items: center; padding: 13px 2px; border-bottom: 1px solid var(--line); opacity: .55; }
.first-week li.locked small { color: var(--dim); font-size: .8rem; text-align: right; }
.first-week .fw-install { padding: 13px 2px; border-bottom: 1px solid var(--line); }
.first-week .fw-install > div { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: center; font-weight: 600; }
.first-week .fw-install .fine { margin: 6px 0 4px 32px; }
.first-week .fw-install .linkbtn { margin-left: 32px; min-height: 40px; }
.launch-panel { margin: 20px 0 28px; }
.launch-panel .kpis { grid-template-columns: repeat(2, 1fr); }

/* Phone text floor (JT, Nov 1 2026): no label below 12px on phones. Badges inside small circles keep their size. */
@media (max-width: 600px) {
  .mark-sub, .kpis span, .tbl th, .tabs a, .tabs.six a, .btn.small, .pill, .label, .st, .xp-big span, .xp-big em, .ev-date span,
  .rec-line span:first-child, .phase-l, .needs-h, .heatmap thead th:not(.sticky), .hm small, .fb-badge, .lu-slot span, .dc-pos,
  .dc-slot small, .dc-slot ol, .dc-thin, .fx-hero-date span, .fx-rank span, .fx-move, .fx-badge span, .fx-bc .b-comp, .fx-bc .b-stats span,
  .ch-path > div span:first-child, .ch-stats span, .sg-head .label, .sg-st, .sg-mark, .seg.small button, .clip-for, .pchip small,
  .who-cell small, .side-nm small, .quit, .readmap td small { font-size: .75rem; }
  .tabs a { letter-spacing: .05em; }
}

/* Goals against (staff, Nov 2 2026) */
.ga-tally { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 6px; }
.ga-tally li { display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: 10px; align-items: center; font-size: .9rem; }
.ga-tally b { display: block; position: relative; isolation: isolate; min-height: 22px; padding-left: 6px; font: 700 .8rem/22px var(--display); color: var(--text); }
.ga-tally b::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--s2, var(--line-2)); z-index: -1; }
.ga-game h2 small { color: var(--dim); font-weight: 400; font-size: .8rem; margin-left: 6px; }
.ga-row { display: grid; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ga-row fieldset { border: 0; margin: 0; padding: 0; }
.ga-row textarea { width: 100%; }
.ga-min { margin: 0; font: 700 1.1rem var(--display); }
.ga-row .tag-chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Per 90 by position and Form (Hudl phase, Nov 5 2026) */
.p9tbl td.p9-up, .p9-key.p9-up { background: color-mix(in srgb, #2e9d5b 18%, transparent); }
.p9tbl td.p9-down, .p9-key.p9-down { background: color-mix(in srgb, #d0453a 18%, transparent); }
.p9-key { padding: 0 4px; border-radius: 3px; }
.p9tbl td { position: relative; } /* keeps the screen-reader "(above group)" text inside the scroll box */
.p9tbl tr.p9-few td { color: var(--dim); }
.p9tbl tr.p9-avg td { font-weight: 700; border-top: 1px solid var(--line-2); }
.form-list { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.form-card { border: 1px solid var(--line); border-left-width: 4px; padding: 12px 14px; min-width: 0; }
.form-card p { margin: 0 0 6px; }
.form-card ul { margin: 0 0 6px; padding-left: 18px; }
.f-alert { border-left-color: #d0453a; } .f-watch { border-left-color: #d9a227; } .f-mixed { border-left-color: #7a8bd9; } .f-rising { border-left-color: #2e9d5b; } .f-steady { border-left-color: var(--line-2); }
.ga-hudl { color: var(--dim); margin: 0 0 6px; }
.gk-card h2 small { color: var(--dim); font-weight: 400; }
/* Team patterns (Nov 6 2026) */
.tp-bar { display: inline-block; height: 10px; width: calc(var(--w) * 0.8); max-width: 80%; vertical-align: middle; border-radius: 2px; }
.tp-for { background: #2e9d5b; } .tp-ag { background: #d0453a; }
.tp-bins td:nth-child(2), .tp-bins td:nth-child(3) { min-width: 120px; }
.tp-pairs { padding-left: 22px; } .tp-pairs li { margin: 4px 0; } .tp-pairs small { color: var(--dim); }
.op-facts { padding-left: 18px; } .op-facts li { margin: 4px 0; } .op-file h2 small { color: var(--dim); font-weight: 400; }
.op-facts { padding-left: 18px; } .op-facts li { margin: 4px 0; } .op-file h2 small { color: var(--dim); font-weight: 400; }
/* The Chase: season trend (Nov 6 2026) */
.ch-trend .ct-row { margin: 10px 0 14px; }
.ch-trend .ct-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ch-trend .ct-head span { flex: 1 1 auto; min-width: 0; }
.ch-trend .ct-head b { font-size: 1.2em; }
.ch-trend .ct-head small { color: var(--dim); }
.ch-trend .ct-bars { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 6px; }
.ch-trend .ct-bars i { flex: 1 1 0; height: var(--h); background: color-mix(in srgb, currentColor 25%, transparent); border-radius: 2px 2px 0 0; }
.ch-trend .ct-bars i.good { background: #D4B062; }

/* Profile per 90: every stat, against the position group (Nov 6 2026) */
#p90 h3 { font: 600 .75rem var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin: 18px 0 6px; }
.p90k small { display: block; margin-top: 4px; font-size: .78rem; color: var(--dim); }
.p90t.up strong { color: var(--good, #2fbf71); }
.p90t.down strong { color: var(--bad, #e8663d); }

/* Benchmarks and training themes (Nov 6 2026) */
.bm-list { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bm-list li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bm-list strong { font: 700 1.25rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.bm-list p { margin: 0; color: var(--dim); }
.bm-list .btn { align-self: flex-start; margin-top: auto; }
.bm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-chips .chip { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: inherit; font: 600 .82rem var(--display); letter-spacing: .04em; cursor: pointer; }
.bm-chips .chip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.bm-chips .chip.ghost { color: var(--dim); }
.bm-tbl td small { display: block; color: var(--dim); font-size: .72rem; }
.bm-chips { margin-bottom: 28px; }

/* Set-piece planner (Nov 6 2026) */
.sp-finds .sp-line { color: var(--fg); }
.sp-rs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 4px 0 8px; }
.sp-r { display: flex; gap: 10px; align-items: center; padding: 6px; border: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; }
.sp-r img { width: 52px; height: 52px; object-fit: cover; flex: none; }
.sp-r strong { display: block; font-size: .85rem; }
.sp-r small { display: block; color: var(--dim); font-size: .72rem; }

/* Shots and xG (Nov 8 2026) */
.xg-wrap { max-width: 420px; }
.xg-map { width: 100%; height: auto; display: block; }
.xg-map .pl { fill: none; stroke: var(--line); stroke-width: 0.3; }
.xg-map .pm { fill: var(--dim); }
.xg-map .gl { stroke: var(--fg); stroke-width: 0.8; }
.xg-map circle:not(.pm) { fill: none; stroke: var(--accent); stroke-width: 0.35; }
.xg-map circle.g { fill: var(--accent); }

/* Player profile jump menu (Nov 9 2026) */
.pjump { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 16px }
.pjump a { font-size: .8rem; padding: 4px 10px; border: 1px solid var(--line, #ccc); border-radius: 999px; text-decoration: none; color: inherit }
#pa section, #p90, #p-reads, #p-idp, #p-fb { scroll-margin-top: 72px }
.form-flag { display: inline-block; font-weight: 700; font-size: .8rem; padding: 2px 8px; border-radius: 6px; border: 1px solid currentColor; margin-right: 6px }

/* Sortable staff tables and the Form sort bar (Nov 9 2026) */
.tbl thead th[tabindex] { cursor: pointer; user-select: none }
.tbl thead th[aria-sort="descending"]::after { content: " \2193" }
.tbl thead th[aria-sort="ascending"]::after { content: " \2191" }
.sortbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 12px }
.sortbar select { font: inherit; padding: 6px 8px; border-radius: 8px }
.sortv { margin-left: 6px }
/* Pitch maps from Hudl spots (Nov 10 2026) */
.pm-wrap { max-width: 640px; }
.pm-svg { width: 100%; height: auto; display: block; }
.pm-svg .pl { fill: none; stroke: var(--line-2); stroke-width: 0.3; }
.pm-svg .th { stroke: var(--line-2); stroke-width: 0.2; stroke-dasharray: 1 1.2; }
.pm-svg .dir { font-size: 2.4px; fill: var(--dim); text-anchor: end; }
.pm-svg .ah { fill: context-stroke; }
.pm-svg .nl { stroke: var(--accent); stroke-linecap: round; }
.pm-svg .nd { fill: var(--s1); stroke: var(--accent); stroke-width: 0.5; }
.pm-svg .nn { font-size: 2.6px; font-weight: 700; fill: var(--text); text-anchor: middle; }
.pm-svg .hc { fill: var(--accent); }
.pm-svg .rg { fill: var(--text); stroke: var(--bg); stroke-width: 0.25; }
.pm-svg .xa { stroke: var(--accent); stroke-width: 0.45; }
.pm-svg .gok { stroke: var(--good); stroke-width: 0.35; opacity: .8; }
.pm-svg .gno { stroke: var(--bad); stroke-width: 0.35; opacity: .8; }
.pm-svg .l0, .lk.l0 { fill: var(--dim); background: var(--dim); }
.pm-svg .lr, .lk.lr { fill: var(--gold); background: var(--gold); }
.pm-svg .ls, .lk.ls { fill: var(--bad); background: var(--bad); }
.pm-svg .lg, .lk.lg { fill: var(--bad); stroke: var(--text); stroke-width: 0.4; background: var(--bad); }
.lk { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin: 0 4px 0 8px; vertical-align: middle; }
.lk:first-child { margin-left: 0; }
.tiltb { display: inline-block; min-width: 2.4em; padding: 2px 4px; margin: 0 3px 3px 0; border-radius: 4px; text-align: center; font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, rgba(36,152,255,.35) var(--v), transparent var(--v)); border: 1px solid var(--line); }
.rangebar { margin-top: 4px; }
.pa-range { margin-bottom: 8px; }
/* Smooth heat maps by half (Nov 11 2026): a fixed dark pitch in both themes so the colours read the same */
.hh-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.hh { margin: 0; min-width: 0; }
.hh figcaption { font-weight: 600; text-align: center; margin-bottom: 4px; }
.hh figcaption small { font-weight: 400; color: var(--dim); }
.hh-svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.hh-bg { fill: #0B1B2B; }
.hh-l { fill: none; stroke: #E8EEF5; stroke-width: 0.35; opacity: .85; }
.hh-dir { fill: #E8EEF5; opacity: .7; }
/* Game-model scorecard grades (Nov 11 2026) */
.sc-g { display: inline-block; min-width: 2.2em; padding: 2px 6px; border-radius: 6px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; border: 1px solid var(--line); }
.sc-1 { background: rgba(229, 72, 77, .30); } .sc-2 { background: rgba(229, 72, 77, .14); } .sc-3 { background: transparent; }
.sc-4 { background: rgba(48, 164, 108, .16); } .sc-5 { background: rgba(48, 164, 108, .34); } .sc-na { color: var(--dim); }
.sc-ok { color: var(--good); font-weight: 600; } .sc-bad { color: var(--bad); font-weight: 600; }
.sc-not td { opacity: .75; }
/* Monday brief on Today (Nov 11 2026) */
.brief-list { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.brief-list li { line-height: 1.5; }
/* Player compare (Nov 11 2026) */
.cmp-pick { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0; }
.cmp-pick label { display: grid; gap: 4px; min-width: 0; flex: 1 1 160px; }
.cmp-maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cmp-maps section { min-width: 0; }
.pm-svg .tl { font-size: 2.3px; fill: var(--dim); text-anchor: middle; }
.pm-bars { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; } .pm-bars > * { flex: 1 1 200px; min-width: 0; }

/* Tournaments stat bomb (Nov 12 2026) */
.tn-res { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.tn-res > span { border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-weight: 600; }
.tn-res .tn-w b { color: var(--good); } .tn-res .tn-l b { color: var(--bad); }
.tn-tops { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.tn-top { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.tn-top h3 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.tn-top ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.tn-top li { display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.tn-m { display: inline-block; width: 18px; } .tn-r1 .tn-m { color: var(--gold); } .tn-r2 .tn-m, .tn-r3 .tn-m { color: var(--dim); }
.tn-tot td { font-weight: 700; } .tn-g { white-space: nowrap; } .tn-sort { cursor: pointer; } .tn-sort.on { text-decoration: underline; }
.tn-goals { padding-left: 18px; } .tn-wt { color: var(--good); } .tn-lt { color: var(--bad); }

/* Tournament location stats (Nov 12 2026) */
.tl-shots{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:start;margin-top:10px}
@media (max-width:700px){.tl-shots{grid-template-columns:1fr}}
.tl-map,.tl-net svg{width:100%;height:auto;display:block;border:1px solid var(--line);border-radius:12px}
.tl-pitch{fill:none}.tl-line{fill:none;stroke:var(--line);stroke-width:.3}.tl-third{stroke:var(--line);stroke-width:.25;stroke-dasharray:1 1}.tl-goal{stroke:currentColor;stroke-width:.8}
.tl-goalshot{fill:var(--good);stroke:var(--good);stroke-width:.3}.tl-saved{fill:none;stroke:var(--good);stroke-width:.45}.tl-miss{fill:var(--dim);fill-opacity:.25;stroke:var(--dim);stroke-width:.25}
.tl-nets{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.tl-net{margin:0;min-width:0}.tl-net figcaption{font-size:13px;margin-top:6px;text-align:center}
.tl-edge{stroke:var(--good);stroke-linecap:round}.tl-node{fill:var(--bg,#111);stroke:var(--good);stroke-width:.5}.tl-no{font:700 3.2px system-ui,sans-serif;fill:currentColor;text-anchor:middle}
.tl-best{padding-left:18px;margin:6px 0}

/* Assistant coach's read on Tournaments (Nov 13 2026) */
.tn-coach{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:16px 0}
.tn-coach-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.tn-coach-cols>div{min-width:0}.tn-coach-cols h3{margin:0 0 6px;padding-bottom:4px;border-bottom:2px solid var(--good)}
.tn-coach-cols .neg h3{border-color:var(--bad)}.tn-coach-cols .trk h3{border-color:var(--gold)}
.tn-coach-cols ul{margin:0;padding-left:18px}.tn-coach-cols li{margin:0 0 8px;line-height:1.45}
.tl-loss{fill:var(--bad);fill-opacity:.75;stroke:none}.tl-rs{stroke:currentColor;stroke-width:.35}.tl-win{fill:var(--good);fill-opacity:.7}
.tl-up{color:var(--good);font-weight:600}.tl-down{color:var(--bad);font-weight:600}

/* New-version bar (Nov 16 2026) */
.vbar { position: fixed; left: 0; right: 0; top: 0; z-index: 60; border: 0; cursor: pointer; padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: var(--text); color: var(--bg); font: 600 .95rem var(--body); text-align: center; }

/* Team analytics (build day Nov 17 2026) */
.mo { width: 100%; min-width: 520px; height: auto; max-height: 260px; display: block; }
.mo .mo-us { fill: var(--accent); } .mo .mo-them { fill: var(--bad); opacity: .75; }
.mo .mo-mid { stroke: var(--line); stroke-width: .4; } .mo .mo-xt { fill: none; stroke: var(--gold); stroke-width: .6; }
.mo .mo-sub { stroke: var(--dim); stroke-width: .3; stroke-dasharray: 1 1; } .mo .mo-g { fill: var(--good); } .mo .mo-ga { fill: var(--bad); }
.sa-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 640px) { .sa-wrap { grid-template-columns: 1fr; } }
.xg-map line.sa { stroke-width: .45; } .xg-map circle.sa-end { stroke: none; } .xg-map line.sa { stroke-linecap: round; }
.sa-cross { stroke: var(--gold); fill: var(--gold); } .sa-cutback { stroke: var(--good); fill: var(--good); } .sa-throughball { stroke: var(--accent); fill: var(--accent); }
.sa-shortpass { stroke: var(--dim); fill: var(--dim); } .sa-setpiece { stroke: var(--bad); fill: var(--bad); }
.sa-key { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.spark { width: 160px; height: 28px; display: block; } .spark .sp-raw { fill: none; stroke: var(--dim); stroke-width: .8; } .spark .sp-roll { fill: none; stroke: var(--accent); stroke-width: 1.6; }

/* Grinder XP card (JT, Nov 17 2026) */
.grind { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 12px 0; background: var(--s1); }
.grind-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; flex-wrap: wrap; }
.grind-top strong { display: block; font-size: 1.35rem; color: var(--gold); }
.grind-next { font-size: .85rem; color: var(--dim); }
.grind-week { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; padding: 0; }
.grind-week li { font-size: .8rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.grind-week li.on { border-color: var(--good); color: var(--good); }

/* Unit battle banner (JT, Nov 17 2026) */
.ubattle { display: block; text-decoration: none; color: inherit; border: 1px solid var(--gold); border-radius: 12px; padding: 10px 14px; margin: 12px 0; background: var(--s1); }
.ubattle strong { display: block; font-size: 1.1rem; color: var(--gold); }
.ubattle .ub-line { display: block; font-size: .85rem; color: var(--dim); margin-top: 2px; }
.ubattle[hidden] { display: none; }

/* Where you were + review vs numbers (JT, Nov 17 2026) */
.zm-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; }
.zm { width: 100%; max-width: 260px; height: auto; display: block; }
.zm .zm-c { fill: var(--accent); } .zm .zm-t { fill: var(--text); font-size: 4.2px; text-anchor: middle; font-weight: 600; }
.zm .hh-l rect, .zm .hh-l line { fill: none; stroke: var(--line); stroke-width: .4; }
.zm-side strong { display: block; font-size: 1.1rem; }
.svn { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 10px; }
.svn li { border-left: 3px solid var(--accent); padding-left: 10px; } .svn strong { display: block; } .svn .fine { display: block; }

/* My shots / My passes (JT, Nov 17 2026) */
.mp-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 420px) { .mp-wrap { grid-template-columns: 1fr; } }
.mp { width: 100%; max-width: 300px; height: auto; display: block; }
.mp .mp-bg { fill: var(--s2); } .mp .mp-l rect, .mp .mp-l line { fill: none; stroke: var(--line); stroke-width: .4; }
.mp .mp-shot { fill: var(--accent); fill-opacity: .55; stroke: var(--accent); stroke-width: .3; } .mp .mp-goal { fill: var(--gold); stroke: var(--text); stroke-width: .4; }
.mp line { stroke-width: .45; stroke-linecap: round; } .mp line.mp-pass { stroke: var(--dim); } .mp line.mp-fwd { stroke: var(--gold); stroke-width: .6; } .mp line.mp-miss { stroke: var(--bad); stroke-dasharray: 1 .8; }
.mp circle.mp-pass { fill: var(--dim); } .mp circle.mp-fwd { fill: var(--gold); } .mp circle.mp-miss { fill: var(--bad); }

/* Involvement bar (Nov 18 2026) */
.ivbar { display: inline-block; height: 8px; border-radius: 4px; background: var(--accent); min-width: 2px; }

/* IDP tracker + clip library (Nov 18 2026) */
.idp-hit td:first-child { font-weight: 700; color: var(--gold); }
.cl-f { flex-wrap: wrap; gap: 10px; }

/* Visuals page (Nov 18 2026) */
#vsw section { margin-top: 22px; }
.vs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.sonar, .pizza { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; }
.sonar .so-ring { fill: none; stroke: var(--line); stroke-width: .3; } .sonar .so-w { fill: var(--accent); stroke: var(--bg); stroke-width: .3; } .sonar .so-t { font-size: 3px; fill: var(--dim); text-anchor: middle; }
.pizza .pz-s { fill: var(--dim); stroke: var(--bg); stroke-width: .5; } .pizza .pz-hi { fill: var(--good); } .pizza .pz-lo { fill: var(--bad); }
.pizza .pz-ring { fill: none; stroke: var(--line); stroke-width: .3; stroke-dasharray: 1 1; } .pizza .pz-l { font-size: 3.8px; fill: var(--text); text-anchor: middle; }
.ds-wrap { display: grid; gap: 6px; } .ds-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); align-items: center; gap: 8px; } .ds-l { font-size: .8rem; color: var(--dim); }
.ds { position: relative; height: 16px; border-bottom: 1px solid var(--line); } .ds .ds-d { position: absolute; top: 3px; width: 10px; height: 10px; border-radius: 50%; opacity: .75; } .ds-gk { background: var(--gold); } .ds-def { background: var(--accent); } .ds-mid { background: var(--good); } .ds-fwd { background: var(--bad); } .ds .ds-me { width: 14px; height: 14px; top: 1px; opacity: 1; outline: 2px solid var(--text); z-index: 1; } .scat .ds-me { stroke: var(--text); stroke-width: .6; }
.zg { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; } .zg .hh-l rect, .zg .hh-l line { fill: none; stroke: var(--line); stroke-width: .4; }
.zg .zg-hi { fill: var(--good); fill-opacity: .55; } .zg .zg-mid { fill: var(--gold); fill-opacity: .5; } .zg .zg-lo { fill: var(--bad); fill-opacity: .55; } .zg .zg-few { fill: var(--s2); }
.zg .zg-t { font-size: 4.2px; text-anchor: middle; fill: var(--text); font-weight: 700; } .zg .zg-s { font-size: 2.8px; text-anchor: middle; fill: var(--dim); }
.zg .pf-a { stroke: var(--accent); stroke-linecap: round; } .zg .pf-h { fill: var(--accent); }
.ms-wrap { display: grid; gap: 4px; } .msr { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 3rem; align-items: center; gap: 8px; } .ms-l { font-size: .8rem; } .ms-n { font-size: .8rem; text-align: right; }
.ms { width: 100%; height: 14px; background: var(--s2); border-radius: 3px; } .ms .ms-on { fill: var(--accent); } .ms .ms-gf { fill: var(--good); } .ms .ms-ga { fill: var(--bad); }
@media (max-width: 480px) { .msr { grid-template-columns: 7rem minmax(0, 1fr) 2.5rem; } .ds-row { grid-template-columns: 6.5rem minmax(0, 1fr); } }
.scat { width: 100%; max-width: 520px; height: auto; display: block; } .scat .sc-ax { stroke: var(--line); stroke-width: .3; } .scat .sc-ref { stroke: var(--dim); stroke-width: .3; stroke-dasharray: 1 1; }
.scat .sc-d { fill: var(--accent); } .scat .sc-l { font-size: 2.6px; fill: var(--text); } .scat .sc-al { font-size: 3px; fill: var(--dim); text-anchor: middle; }
.mir-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.mir { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 3.4rem minmax(0, 1fr) 2.4rem; align-items: center; gap: 4px; font-size: .8rem; margin: 3px 0; }
.mir-b { height: 10px; background: var(--s2); border-radius: 3px; display: flex; } .mir-b:first-of-type { justify-content: flex-end; } .mir-b i { display: block; height: 100%; border-radius: 3px; }
.mir-us { background: var(--accent); } .mir-them { background: var(--bad); } .mir-l { text-align: center; color: var(--dim); } .mir-v { text-align: center; }

/* Visuals additions (Nov 19 2026) */
.scat .sc-q { font-size: 2.4px; fill: var(--dim); font-style: italic; opacity: .7; }
.pf-head { margin: 4px 0 10px; } .pf-head b { font-size: 1.4rem; }
.pf-row { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 8px; align-items: center; margin: 6px 0; } .pf-l { font-size: .85rem; } .pf-l small { color: var(--dim); }
.pf-bar { display: flex; height: 22px; border-radius: 4px; overflow: hidden; background: var(--s2); } .pf-bar i { display: flex; align-items: center; justify-content: center; font-size: .7rem; font-style: normal; color: #fff; min-width: 0; overflow: hidden; }
.pf-goal { background: var(--good); } .pf-shot { background: #2f9e6e; } .pf-lost_fin { background: var(--gold); } .pf-lost_mid { background: #c27a2c; } .pf-lost_own { background: var(--bad); } .pf-lost_onball { background: #7d6a8f; } .pf-out { background: #5b6575; } .pf-foul { background: var(--accent); }
.pf-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .75rem; color: var(--dim); margin-top: 8px; } .pf-key i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
@media (max-width: 480px) { .pf-row { grid-template-columns: 1fr; gap: 2px; } }
.rp { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 18px; align-items: start; } @media (max-width: 600px) { .rp { grid-template-columns: 1fr; } }
.rp-ctl { display: flex; gap: 8px; flex-wrap: wrap; } .rp-list { font-size: .8rem; padding-left: 1.2rem; margin: 8px 0; color: var(--dim); } .rp-list li.on { color: var(--text); font-weight: 700; }
.rp-svg .rp-a { stroke: var(--accent); stroke-width: .7; stroke-linecap: round; opacity: .6; } .rp-svg .rp-x { stroke: var(--bad); stroke-dasharray: 1.5 1; } .rp-svg .rp-sh { stroke: var(--good); stroke-width: 1; } .rp-svg .rp-now { opacity: 1; stroke-width: 1.2; }
.rp-svg .rp-p { fill: var(--text); } .rp-svg .rp-p.rp-now { fill: var(--gold); } .rp-svg .rp-to { fill: var(--accent); opacity: .6; } .rp-svg .rp-n { font-size: 3.4px; fill: var(--text); font-weight: 700; }
.rp-svg .rp-ah { fill: var(--accent); }

/* Throw-ins (Nov 19 2026) */
.zg .tw-l { stroke: var(--dim); stroke-width: .3; stroke-dasharray: 1 1; } .zg .tw-a { stroke-width: .6; opacity: .8; } .zg .tw-a.tw-k { stroke: var(--good); } .zg .tw-a.tw-r { stroke: var(--gold); } .zg .tw-a.tw-x { stroke: var(--bad); }
.zg .tw-d.tw-k { fill: var(--good); } .zg .tw-d.tw-r { fill: var(--gold); } .zg .tw-d.tw-x { fill: var(--bad); }
.pf-key .tw-kb { background: var(--good); } .pf-key .tw-rb { background: var(--gold); } .pf-key .tw-xb { background: var(--bad); }

/* Progressive carries (Nov 19 2026) */
.zg .cm-a { stroke: var(--dim); stroke-width: .5; opacity: .55; } .zg .cm-a.cm-p { stroke: var(--gold); stroke-width: .8; opacity: .95; } .zg .cm-a.cm-x { stroke-dasharray: 1.2 .8; }
.zg .cm-ah { fill: var(--dim); } .zg .cm-ahp { fill: var(--gold); }
.pf-key .cm-pb { background: var(--gold); } .pf-key .cm-nb { background: var(--dim); } .pf-key .cm-xb { background: transparent; border: 1px dashed var(--dim); }
.tbl tr.on td { background: var(--s2); }

/* Winning it back (Nov 19 2026) */
.zg .rc-d { fill: var(--accent); opacity: .45; } .zg .rc-d.rc-me { fill: var(--gold); opacity: 1; }

/* Visual upgrades (Nov 19 2026): pizza categories, threat map, shot map */
.pizza .pz-grid { fill: none; stroke: var(--line); stroke-width: .25; stroke-dasharray: .8 .8; }
.pizza .pz-s { stroke: var(--bg); stroke-width: .6; } .pizza .pz-att { fill: #e4573d; } .pizza .pz-cre { fill: #e9b23b; } .pizza .pz-def { fill: #3d8fe4; } .pizza .pz-pos { fill: #3fb27f; }
.pizza .pz-v { font-size: 3.4px; font-weight: 700; fill: #fff; text-anchor: middle; } .pizza .pz-cmp { fill: none; stroke: var(--text); stroke-width: .7; stroke-dasharray: 1.6 .8; }
.pf-key .pz-k-att { background: #e4573d; } .pf-key .pz-k-cre { background: #e9b23b; } .pf-key .pz-k-def { background: #3d8fe4; } .pf-key .pz-k-pos { background: #3fb27f; } .pf-key .pz-k-cmp { background: transparent; border: 1px dashed var(--text); }
.sm-half { max-width: 340px; } .sm-half .sm-goal { stroke: var(--text); stroke-width: 1.2; }
.zg .sm-d { fill: var(--dim); fill-opacity: .25; stroke: var(--dim); stroke-width: .25; } .zg .sm-d.sm-on { fill-opacity: .15; stroke: var(--text); stroke-width: .5; } .zg .sm-d.sm-g { fill: #3fb27f; fill-opacity: .9; stroke: #3fb27f; }
.zg .sm-d.sm-me { stroke: var(--gold); stroke-width: .7; }
.pf-key .sm-k-g { background: #3fb27f; border-radius: 50%; } .pf-key .sm-k-on { border: 1px solid var(--text); border-radius: 50%; } .pf-key .sm-k-off { background: var(--dim); opacity: .5; border-radius: 50%; } .pf-key .sm-k-me { border: 1px solid var(--gold); border-radius: 50%; }

/* Film Studio (Nov 22 2026) */
.fs-head { display: grid; gap: 8px; margin-bottom: 18px; }
.fs-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--dim); }
.fs-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fs-clips { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.fs-clip { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; min-width: 0; }
.fs-clip-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fs-cap { margin: 0; font-weight: 600; }
.fs-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fs-row audio { height: 32px; max-width: 220px; vertical-align: middle; }
.fse-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.fse-bar button { min-height: 36px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font: 600 .8rem var(--body); cursor: pointer; }
.fse-bar button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.fse-bar button:disabled { opacity: .45; cursor: default; }
.fse-cols { display: inline-flex; gap: 6px; }
.fse-bar .fse-c { width: 28px; min-height: 28px; padding: 0; border-radius: 50%; border: 2px solid transparent; }
.fse-bar .fse-c.on { border-color: var(--text); background-clip: padding-box; }
.fse-txt { min-height: 36px; width: 12rem; max-width: 100%; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--s2); color: var(--text); }
.fse-stage { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #0A0F1E; border-radius: 10px; overflow: hidden; }
.fse-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fse-stage img:not([src]), .fse-stage img[src=""] { visibility: hidden; }
.fse-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.btn.rec { background: var(--bad); color: #fff; }
/* Staff modules (Nov 22 2026) */
.mod { margin-top: 26px; }
.mod h2 { margin-bottom: 2px; }
.mod-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.mod-jump a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 600 .8rem var(--body); color: var(--text); text-decoration: none; }
.mod-jump a:hover { border-color: var(--accent); color: var(--accent); }
/* Player radial, timeline, meeting view, Command Center (Nov 22 2026) */
.rd-take { margin: 0 0 10px; color: var(--dim); max-width: 75ch; }
.rd-chips, .seg-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.rd-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .rd-grid { grid-template-columns: 1fr; } }
.rd-svg { width: 100%; height: auto; display: block; color: var(--text); }
.rd-svg .rd-num { font-family: "JetBrains Mono", ui-monospace, monospace; }
.rd-seg { cursor: pointer; stroke: var(--bg); stroke-width: 1.5; }
.rd-svg.dimmed .rd-seg:not(.on) { opacity: .3; }
.rd-seg:focus-visible { outline: none; stroke: var(--text); stroke-width: 3; }
.rd-legend { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 6px; }
.rd-cat { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; padding: 6px 12px; font: 600 .8rem var(--body); min-height: 34px; cursor: pointer; }
.rd-cat[aria-pressed="true"] { border-color: var(--text); }
.rd-cat i, .rd-h i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.rd-h { display: flex; gap: 8px; align-items: center; margin: 0; }
.rd-rows { display: grid; gap: 2px; }
.rd-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 58px; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 8px; }
.rd-row:nth-child(odd) { background: var(--s2); }
.rd-n small { display: block; color: var(--faint); font-size: .74rem; }
.rd-flag { color: var(--bad) !important; }
.rd-bar { position: relative; height: 8px; border-radius: 4px; background: var(--line); }
.rd-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; }
.rd-bar b { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--text); opacity: .7; }
.rd-v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-kpis { display: grid; gap: 8px; margin-bottom: 12px; }
.tl-kpi { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tl-kpi .label { min-width: 11rem; }
.tl-month { margin: 16px 0 6px; font-size: 1rem; color: var(--dim); }
.tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line-2); display: grid; gap: 4px; }
.tl-i { position: relative; }
.tl-i::before { content: ""; position: absolute; left: -20px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.tl-i.m::before { background: var(--accent); }
.tl-i.tl-star::before { background: var(--gold); }
.tl-i summary { cursor: pointer; padding: 6px 4px; list-style: none; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 2px 10px; align-items: start; background: none; height: auto; position: static; }
.tl-meta { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.tl-t { min-width: 0; line-height: 1.35; }
@media (max-width: 480px) { .tl-i summary { grid-template-columns: 5.2rem minmax(0, 1fr); } }
.tl-i summary::-webkit-details-marker { display: none; }
.tl-i p { margin: 0 0 8px 4px; color: var(--dim); font-size: .92rem; }
.tl-d { color: var(--faint); font-variant-numeric: tabular-nums; }
.tl-tag { font: 700 .62rem var(--display); letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--dim); }
.tl-i.m .tl-tag { color: var(--accent); border-color: var(--accent); }
.up { color: var(--good); } .down { color: var(--bad); }
.meet-bar { margin: 8px 0 4px; }
body.meet .page > *:not(.meet-keep):not(.meet-bar):not(h1):not(.label):not(.back) { display: none !important; }
.cc { margin: 14px 0; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.cc-card { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-width: 0; }
.cc-card h2 { margin: 0 0 8px; font-size: 1.05rem; }
.cc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cc-task { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.cc-task input { width: 20px; height: 20px; margin-top: 2px; }
.cc-task small { display: block; }
.cc-add { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cc-add input, .cc-add select { min-height: 40px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--s2); color: var(--text); }
.cc-add #cc-tt { flex: 1 1 12rem; min-width: 0; }

.rd-chip { border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; padding: 6px 14px; font: 600 .82rem var(--body); min-height: 34px; cursor: pointer; }
.rd-chip[aria-pressed="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cc-tt { display: block; font-weight: 600; text-transform: none; letter-spacing: 0; }
.seg-tabs .chip { border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; padding: 6px 14px; font: 600 .82rem var(--body); min-height: 34px; }
.seg-tabs .chip.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
/* Attack speed and chances (Nov 22 2026) */
.ch-take { color: var(--dim); max-width: 75ch; margin: 0 0 14px; }
.ch-card { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; min-width: 0; }
.ch-card h2 { margin: 0 0 4px; font-size: 1.1rem; }
.ch-rows { display: grid; gap: 10px; margin-top: 10px; }
.ch-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 11rem; gap: 10px; align-items: center; }
@media (max-width: 600px) { .ch-row { grid-template-columns: 1fr; gap: 4px; } }
.ch-l { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.ch-l i, .ch-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ch-bar { position: relative; height: 14px; background: var(--line); border-radius: 7px; overflow: hidden; }
.ch-bar span { position: absolute; inset: 0 auto 0 0; opacity: .85; border-radius: 7px; }
.ch-bar b { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--gold); border-radius: 2px; }
.ch-v { font-variant-numeric: tabular-nums; }
.ch-v small { display: block; color: var(--faint); font-size: .76rem; }
.ch-games { display: grid; gap: 8px; margin-top: 10px; }
.ch-g { display: grid; grid-template-columns: 12rem minmax(0, 1fr) 3rem; gap: 10px; align-items: center; }
@media (max-width: 600px) { .ch-g { grid-template-columns: minmax(0, 1fr) 3rem; } .ch-gl { grid-column: 1 / -1; } }
.ch-gl small { display: block; color: var(--faint); font-size: .74rem; }
.ch-stack { display: flex; height: 16px; border-radius: 4px; overflow: hidden; background: var(--line); }
.ch-stack span { height: 100%; }
.ch-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: .82rem; color: var(--dim); }
.ch-legend span { display: inline-flex; gap: 6px; align-items: center; }
.ch-hist { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; align-items: end; text-align: center; }
.ch-hcol { height: 120px; display: flex; align-items: flex-end; background: var(--s2); border-radius: 6px; overflow: hidden; }
.ch-hcol span { width: 100%; background: var(--accent); border-radius: 6px 6px 0 0; }
.ch-hb b { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ch-hb small { display: block; color: var(--faint); font-size: .72rem; }
.ch-defs { margin: 8px 0 20px; } .ch-defs summary { cursor: pointer; font-weight: 600; }
/* Progression (Nov 22 2026) */
.pg-sc { overflow-x: auto; }
.pg-svg { width: 100%; min-width: 320px; height: auto; display: block; color: var(--text); }
.pg-grid { stroke: var(--line); stroke-width: 1; }
.pg-med { stroke: var(--faint); stroke-dasharray: 4 4; stroke-width: 1; }
.pg-t { font-size: 11px; fill: var(--faint); }
.pg-lab { font-size: 12px; font-weight: 600; fill: var(--text); }
.pg-u { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 12px 0 6px; }
.pg-u i { width: 10px; height: 10px; border-radius: 3px; }
.pg-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 6.5rem; gap: 10px; align-items: center; padding: 4px 0; }
.pg-bar { display: flex; height: 12px; background: var(--line); border-radius: 6px; overflow: hidden; }
.pg-v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.pg-v small { display: block; font-weight: 400; color: var(--faint); font-size: .72rem; }
.pg-pair { display: grid; gap: 3px; } .pg-pair div { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.pg-pair span { display: block; height: 100%; border-radius: 4px; } .pg-p { background: var(--ch-data); } .pg-c { background: var(--ch-us); }
.pg-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.pg-ctl select { min-height: 38px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--s2); color: var(--text); }
.pg-mult { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.pg-fig { margin: 0; min-width: 0; } .pg-fig figcaption { font-size: .78rem; color: var(--dim); }
.pg-car { stroke: var(--ch-us); stroke-width: .8; } .pg-thr { stroke: var(--ch-data); stroke-width: .7; opacity: .85; }
.pg-shot { fill: none; stroke: var(--ch-them); stroke-width: .6; } .pg-shot.goal { fill: var(--ch-them); }
/* Set-piece lab, chains, ratings, game report (Nov 22 2026) */
.linklike { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
.mr-tbl td, .mr-tbl th { white-space: nowrap; }
.mr-r { border: 0; border-radius: 6px; min-width: 2.6rem; min-height: 30px; font-weight: 700; color: #060914; cursor: pointer; font-variant-numeric: tabular-nums; }
.mr-why { margin-top: 12px; } .mr-why h3 { margin: 0 0 6px; font-size: 1rem; }
.gr-head h2 { margin: 6px 0 2px; } .gr-mom { max-height: 120px; }
.gr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.gr-grid .ch-card { margin: 0; }
.gr-mom { width: 100%; height: 150px; display: block; color: var(--text); }
.pt-bar { position: relative; width: 140px; height: 10px; background: var(--line); border-radius: 5px; }
.pt-bar span { position: absolute; top: 0; bottom: 0; border-radius: 5px; } .pt-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--text); opacity: .6; }
.my-radial { max-width: 460px; margin: 0 auto 8px; } .my-radial .rd-svg { color: var(--text); }
.it-goal { border-top: 1px solid var(--line); padding: 10px 0; } .it-goal p { margin: 0 0 6px; }
.it-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .9rem; }
.it-row select, .it-row input, .it-note { min-height: 38px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--s2); color: var(--text); font: inherit; }
.it-row input { width: 6rem; } .it-note { width: 100%; }
.it-spark { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; font-variant-numeric: tabular-nums; }
.it-prep { display: grid; gap: 6px; padding-left: 1.2rem; }
.dv-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; } .dv-two h3 { margin: 0 0 6px; font-size: .95rem; }
.dv-strip { display: flex; align-items: flex-end; gap: 2px; height: 22px; min-width: 80px; } .dv-strip span { width: 9px; background: var(--accent); border-radius: 2px 2px 0 0; } .dv-strip .dv-miss { background: var(--line); height: 3px !important; }
.rd-cmp { margin: 0 0 8px; font-size: .88rem; } .rd-cmp select { min-height: 34px; margin-left: 6px; padding: 2px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--s2); color: var(--text); }
.rd-v small { display: block; font-weight: 500; color: var(--faint); font-size: .72rem; }
/* Player development pieces (Nov 22 2026) */
.idpb { margin: 12px 0; } .idpb p { margin: 0 0 4px; } .idpb small { display: block; color: var(--faint); font-size: .78rem; }
.idpb-bar { position: relative; height: 12px; background: var(--line); border-radius: 6px; } .idpb-bar span { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 6px; } .idpb-bar span.good { background: var(--good); }
.idpb-bar i, .idpb-bar em { position: absolute; top: -4px; width: 3px; height: 20px; border-radius: 2px; } .idpb-bar i { background: var(--text); } .idpb-bar em { background: var(--gold); }
.idpc-q { margin: 8px 0; } .idpc-q p { margin: 0 0 4px; }
.my-links { width: 100%; max-width: 280px; display: block; margin: 0 auto; } .ml-me { fill: var(--gold); } .ml-p { fill: var(--accent); } .ml-l { stroke: var(--accent); opacity: .7; } .ml-t { font-size: 4px; fill: var(--text); } .ml-t.me, .ml-t.n { fill: #060914; font-weight: 700; }
.story-l { display: grid; gap: 6px; padding-left: 1.1rem; }
/* Master board (Nov 22 2026) */
.ap-item { border-top: 1px solid var(--line, rgba(255,255,255,.08)); padding: 10px 0; display: grid; gap: 6px; }
.ap-item.done { opacity: .7; }
.ap-item p { margin: 0; }
.ap-rows { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: .9rem; }
.ap-file .row-head { flex-wrap: wrap; gap: 8px; }
/* Daily check-in (Nov 22 2026) */
.daily .dc-q { display: grid; gap: 6px; margin: 10px 0; }
.daily .dc-q p { margin: 0; }
.daily .chips.dc-many .tag-chip { min-width: 2.4rem; padding-inline: 8px; }
.daily .dc-talk { margin-top: 12px; display: grid; gap: 4px; justify-items: start; }
.daily.done p { margin: 0; }
/* Role fit, territory, film grader (Nov 22 2026) */
.rf-t td.rf-hi { background: color-mix(in srgb, var(--ok, #2fbf71) 22%, transparent); }
.rf-t td.rf-mid { background: color-mix(in srgb, var(--gold, var(--ch-us)) 14%, transparent); }
.rf-t td.rf-lo { color: var(--muted, #8a93a6); }
.rf-t td.rf-mine { outline: 2px solid var(--gold, var(--ch-us)); outline-offset: -2px; font-weight: 700; }
.rf-t td.rf-sec { outline: 1px dashed var(--gold, var(--ch-us)); outline-offset: -2px; }
.pm-svg .hull { fill-opacity: .18; stroke-width: .5; }
.pm-svg .hdot { stroke: none; fill-opacity: .8; }
.pm-svg .hlab { font-size: 3px; fill: var(--fg, #fff); paint-order: stroke; stroke: var(--bg, #0b1020); stroke-width: .8px; }
.pm-svg .hu0 { fill: var(--ch-data); stroke: var(--ch-data); } .pm-svg .hu1 { fill: var(--ch-us); stroke: var(--ch-us); } .pm-svg .hu2 { fill: var(--ch-them); stroke: var(--ch-them); }
.pm-svg .hu3 { fill: #2FBF71; stroke: #2FBF71; } .pm-svg .hu4 { fill: #B48CFF; stroke: #B48CFF; } .pm-svg .hu5 { fill: #E8E8E8; stroke: #E8E8E8; }
.fg-pl { flex-wrap: wrap; margin: 8px 0; }
/* Space board + Frame board (Nov 22 2026) */
.sb-wrap { width: 100%; max-width: 760px; touch-action: none; }
.sb-svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.sb-svg .sb-u { fill: var(--ch-us); fill-opacity: .2; } .sb-svg .sb-t { fill: var(--ch-data); fill-opacity: .16; }
.sb-svg .sb-lines * { fill: none; stroke: rgba(255,255,255,.45); stroke-width: .3; }
.sb-svg .sb-p { stroke: #0b1020; stroke-width: .4; cursor: grab; } .sb-svg .sb-us { fill: var(--ch-us); } .sb-svg .sb-them { fill: var(--ch-data); }
.sb-svg .sb-free { fill: none; stroke: var(--ch-us); stroke-width: .5; stroke-dasharray: 1 .6; }
.sb-svg .sb-ball { fill: #fff; stroke: #0b1020; stroke-width: .3; cursor: grab; }
.sb-svg .sb-att { font-size: 2.2px; fill: rgba(255,255,255,.6); } .sb-svg .sb-n { font-size: 1.8px; fill: #0b1020; pointer-events: none; }
.sb-read { font-size: .9rem; margin: 6px 0; } .sb-pick { flex-wrap: wrap; margin: 6px 0 10px; }
.fb-grid { display: grid; gap: 14px; grid-template-columns: 1fr; } @media (min-width: 900px) { .fb-grid { grid-template-columns: 1fr 1fr; } }
.fb-frame img { width: 100%; height: auto; border-radius: 8px; display: block; }
.fb-drop { display: grid; place-items: center; min-height: 160px; border: 1px dashed rgba(255,255,255,.3); border-radius: 8px; cursor: pointer; }
.fb-drop input { max-width: 100%; }
.fb-cv { position: relative; } .fb-cv canvas { width: 100%; height: auto; display: block; border-radius: 8px; cursor: crosshair; }
.fb-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fb-ov .fb-pt { fill: var(--ch-us); stroke: #0b1020; stroke-width: 2; } .fb-ov .fb-pt-n { fill: var(--ch-us); font-weight: 700; paint-order: stroke; stroke: #0b1020; stroke-width: 3px; }
.fb-ov .fb-kit { fill: none; stroke-width: 3; } .fb-ov .fb-kit.us { stroke: var(--ch-us); } .fb-ov .fb-kit.them { stroke: var(--ch-data); }
.sb-svg .sb-mark { fill: #fff; fill-opacity: .55; stroke: #0b1020; stroke-width: .2; } .sb-svg .sb-mark.on { fill: var(--ch-us); fill-opacity: 1; }
.fb-step { font-size: .95rem; margin: 8px 0; }
.sb-svg .sb-arrow { stroke: #fff; stroke-width: .6; } .sb-svg .sb-arrow.real { stroke: #2FBF71; stroke-width: .8; }
.sb-credit { opacity: .75; margin-top: 10px; } .ps-svg { max-width: 420px; }
.sb-logo { height: 19px; width: auto; vertical-align: middle; background: #fff; padding: 3px 6px; border-radius: 4px; margin-right: 6px; }
.gk-laws { display: grid; gap: 14px; padding-left: 1.2rem; } .gk-laws h2 { font-size: 1.05rem; margin: 0 0 4px; } .gk-laws ul { margin: 0; padding-left: 1.1rem; }
/* Opponent page (Nov 22 2026) */
.opp-head { display: flex; gap: 14px; align-items: center; margin: 6px 0 22px; }
.opp-head > div { min-width: 0; }
.opp-head h1 { margin: 2px 0 4px; }
.opp-head .cr { flex: none; }
.opp-tabs { margin: 10px 0 4px; }
.opp-tabs .tag-chip { text-decoration: none; } .opp-tabs .tag-chip.on { border-color: var(--text); color: var(--text); }
/* Momentum (Nov 22 2026) */
.mo-svg { width: 100%; height: auto; max-width: 760px; display: block; }
.mo-0 { stroke: var(--line-2, var(--ch-dim2)); stroke-width: .4; }
.mo-ht { stroke: var(--dim, var(--ch-mute)); stroke-width: .3; stroke-dasharray: 1.5 1.5; }
.mo-us { fill: var(--ch-us); opacity: .85; }
.mo-them { fill: var(--ch-them); opacity: .75; }
.mo-goal { stroke: var(--ch-us); stroke-width: .5; }
.mo-goal.them { stroke: var(--ch-them); }
.mo-t { font-size: 3.2px; fill: var(--dim, var(--ch-mute)); }
@media print { body * { visibility: hidden; } .ip-pack, .ip-pack * { visibility: visible; } .ip-pack { position: absolute; left: 0; top: 0; width: 100%; } #ip-print { display: none; } }
/* Small multiples (Nov 23 2026) */
.sm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 18px; }
.sm-row { min-width: 0; } .sm-l { margin: 0 0 4px; font-size: .8rem; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.sm-svg { width: 100%; height: 44px; display: block; } .sm-b { fill: var(--ch-data); opacity: .8; } .sm-b.on { fill: var(--ch-us); opacity: 1; } .sm-na { font-size: 9px; fill: var(--dim, var(--ch-mute)); }
.sm-v { margin: 2px 0 0; font-weight: 600; }
.vs-defs { margin: 0 0 18px; }
.sc-form { display: grid; gap: 12px; } .sc-form label { display: grid; gap: 4px; } .sc-form fieldset { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 12px; border: 1px solid var(--line-2); padding: 10px; }
.sc-pv { border-left: 2px solid var(--text); padding-left: 12px; }
.pv-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 12px 0; } @media (min-width: 900px) { .pv-grid { grid-template-columns: 1fr 1fr; } }
.pv-side { min-width: 0; } .pv-e { cursor: pointer; } .pv-det { padding: 12px; border: 1px solid var(--line-2); background: var(--s1); } .pv-t { font-size: 1.1rem; }
/* Training Lab (Nov 23 2026) */
.tl-week { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 12px 0 18px; }
.tl-day { border: 1px solid var(--line-2); padding: 8px; min-height: 80px; min-width: 0; } .tl-day.today { border-color: var(--text); }
.tl-s { display: block; padding: 6px; margin-top: 4px; background: var(--s1); text-decoration: none; color: inherit; } .tl-s span { display: block; font-size: .8rem; color: var(--dim); }
.tl-bar { display: inline-block; width: 90px; height: 8px; background: var(--line-2); vertical-align: middle; margin-right: 6px; } .tl-bar i { display: block; height: 100%; background: var(--ch-data); } .tl-bar.bad i { background: var(--ch-them); }
.tl-lib { list-style: none; padding: 0; display: grid; gap: 10px; } .tl-lib li { border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.warn-row td:first-child { color: var(--ch-them); }
.fc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; } .fc { border: 1px solid var(--line-2); padding: 10px; min-width: 0; } .fc ul { margin: 6px 0 0; padding-left: 18px; }
/* Tactical board V2 overlays (Nov 23 2026) */
.tb-ovs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line-2); }
.tb-lane { stroke-width: .35; stroke-dasharray: 1 .8; } .tb-lane.open { stroke: #46C38A; } .tb-lane.shut { stroke: #E5534B; opacity: .7; }
.tb-near { fill: rgba(232, 181, 58, .08); stroke: #E8B53A; stroke-width: .3; stroke-dasharray: 1.2 1; }
.tb-restl { stroke: #E5534B; stroke-width: .3; stroke-dasharray: 1.5 1; }
.tb-free { fill: none; stroke: #E5534B; stroke-width: .5; }
.tb-ovt text { font-size: 2.3px !important; text-anchor: start !important; fill: #fff; paint-order: stroke; stroke: rgba(0,0,0,.65); stroke-width: .5px; font-weight: 600; }
.tb-tags-l { display: grid; gap: 4px; margin: 8px 0; font-size: .85rem; }
.tl-pitch { fill: none; stroke: var(--line-2); stroke-width: .4; } .tl-pl { fill: none; stroke: var(--line-2); stroke-width: .3; }
.rv-mv { stroke: var(--ch-data); stroke-width: .6; } .rv-mv.me { stroke: var(--ch-us); stroke-width: .9; } .rv-p { fill: var(--ch-data); } .rv-p.me { fill: var(--ch-us); }
.rvq label { display: block; margin: 4px 0; }
/* Proof clips (Nov 23 2026) */
.pf { margin: 0 0 24px; } .pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pf-v { margin: 0; min-width: 0; } .pf-v video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; display: block; }
@media (max-width: 420px) { .pf-row { grid-template-columns: 1fr; } }
.ps-t { width: 100%; font: inherit; line-height: 1.5; }
.idp-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid #46C38A; color: #46C38A; border-radius: 999px; font-size: .72rem; } .idp-badge.gold { border-color: var(--ch-us); color: var(--ch-us); }

.athome { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.athome ul { margin: 4px 0 0; padding-left: 18px; color: var(--muted, #aab); }
.tl-i.a::before { background: var(--line-2); box-shadow: 0 0 0 2px var(--gold) inset; }
.tl-i.a .tl-tag { color: var(--gold); border-color: var(--gold); }

/* First-paint splash (Nov 23 2026): the static brand block in index.html, laid out like the sign-in page so nothing jumps when app.js swaps it. */
.splash .pitch-ph { width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 358 / 291; }
.splash .form-ph { height: 304px; } /* same height as the sign-in form + coach link, so the heading sits where it will stay */

/* ================= GRAPHITE & COBALT (Nov 23 2026) — staff side only (html.gc, set on #/coach routes) ==========   Graphite grounds, cobalt for actions and data. Cobalt #2458B8 is a fill only: as text on graphite it is 2.2:1,
   so text and links use the tint #8DB0F2 (6.8:1). Gold stays for DME goals. Light theme is untouched. */
@font-face { font-family: "SG"; src: url(fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "SG"; src: url(fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JBM"; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
html.gc:not(.light) {
  --bg: #0E1116; --s1: #161A21; --s2: #1D222B; --line: #232831; --line-2: #323A46;
  --text: #ECEFF4; --dim: #A9B3C1; --faint: #949FAE; --head: #ECEFF4;
  --accent: #8DB0F2; --accent-ink: #0B1222; --btn: #2458B8; --btn-ink: #FFFFFF; --cobalt: #2458B8; --data: #4F82E0;
  --hl: rgba(79,130,224,.16); --good: #5FD39C; --bad: #FF7A59; --gold: #D9B65A; --gold-ink: #E8C46A;
  --mono: "JBM", ui-monospace, monospace;
}
html.gc.staff:not(.light) { --hero: "SG", "Barlow", sans-serif; }
html.gc:not(.light) body { background: var(--bg); }
html.gc.staff:not(.light) h1 { font-family: var(--hero); font-weight: 700; text-transform: none; letter-spacing: -.02em; }
html.gc.staff:not(.light) h2 { font-family: var(--hero); font-weight: 700; text-transform: none; letter-spacing: -.01em; font-size: 1.35rem; }
html.gc:not(.light) .label { font-family: var(--mono); font-weight: 500; letter-spacing: .14em; color: var(--accent); }
html.gc:not(.light) .btn { background: var(--btn); color: var(--btn-ink); border-radius: 10px; letter-spacing: .04em; }
html.gc:not(.light) .btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
html.gc:not(.light) .kpis strong, html.gc:not(.light) .num { font-family: var(--mono); font-weight: 500; }
html.gc:not(.light) .tw-card, html.gc:not(.light) .kpis > div, html.gc:not(.light) .staff-tiles a {
  background: var(--s1); border-color: var(--line); border-radius: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
html.gc:not(.light) .staff-tiles a:hover { background: var(--s2); }
html.gc:not(.light) input, html.gc:not(.light) select, html.gc:not(.light) textarea { border-radius: 10px; }
html.gc:not(.light) .tabs { background: #0B0E13; }
html.gc:not(.light) .tabs a.on::before { background: #4F82E0; }
@media (min-width: 900px) {
  html.gc:not(.light) .tabs { background: #0B0E13; border-right: 1px solid #1C2129; }
  html.gc:not(.light) .tabs a { border-radius: 10px; color: var(--dim); }
  html.gc:not(.light) .tabs a.on { background: #1C2B47; color: #FFFFFF; }
  html.gc:not(.light) .tabs a.on::before { background: #8DB0F2; }
}
@media (max-width: 899px) {
  html.gc:not(.light) .tabs { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px; background: rgba(15,20,30,.94); box-shadow: 0 0 0 1px #232A36, 0 10px 30px rgba(0,0,0,.5); padding: 6px; padding-bottom: 6px; }
  html.gc:not(.light) .tabs a { border-radius: 14px; padding: 14px 0 12px; }
  html.gc:not(.light) .tabs a.on { background: var(--cobalt); color: #fff; }
  html.gc:not(.light) .tabs a.on::before { display: none; }
}

/* Match hero (Command Center): last game, real Hudl shots and xG */
.mh { position: relative; overflow: hidden; border-radius: 24px; margin: 6px 0 28px; background: radial-gradient(120% 90% at 85% 0%, #17305E 0%, #0E1A33 45%, #0B1222 100%); box-shadow: 0 0 0 1px #1E2C48; }
.mh-tex { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .07; pointer-events: none; }
.mh-in { position: relative; display: flex; flex-wrap: wrap; gap: 32px; padding: 32px 36px 28px; align-items: center; }
.mh-l { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mh-eye { font: 500 .72rem/1 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: #8DB0F2; margin: 0; }
.mh-sc { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.mh-sc .mh-res { flex-basis: 100%; max-width: max-content; }
.mh-team { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 700 .95rem var(--hero); color: #ECEFF4; }
.mh-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--hero); }
.mh-badge.us { background: #ECEFF4; color: #0F1A2E; }
.mh-badge.them { background: #3A2A55; color: #E9DDFB; }
.mh-score { font: 700 clamp(4rem, 9vw, 7rem)/.9 var(--hero); letter-spacing: -.04em; color: #fff; margin: 0; }
.mh-score span { color: #3D4A66; margin: 0 .08em; font-weight: 500; }
.mh-res { font: 500 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 8px; }
.mh-res.w { color: #5FD39C; background: #13281F; } .mh-res.d { color: #E8C46A; background: #2A2416; } .mh-res.l { color: #FF8E72; background: #2B1914; }
.mh-row { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-end; }
.mh-k { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #A9B3C1; margin-bottom: 6px; }
.mh-v { font: 500 1.7rem/1 var(--mono); color: #fff; }
.mh-v small { color: #8A95A6; font-size: 1.05rem; }
.mh-dr { display: flex; width: 240px; max-width: 100%; height: 12px; border-radius: 6px; overflow: hidden; margin-top: 8px; }
.mh-dr i { display: block; height: 100%; }
.mh-drl { font: 500 .78rem var(--mono); color: #A9B3C1; margin-top: 6px; }
.mh-r { flex: 0 1 420px; min-width: 260px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mh-map { position: relative; }
.mh-map svg { display: block; width: 100%; height: auto; }
.mh-dot { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; padding: 0; cursor: pointer; border: 1px solid #8DB0F2; background: rgba(79,130,224,.55); min-width: 10px; min-height: 10px; transition: transform .15s; }
.mh-dot.g { background: #D9B65A; border: 1.5px solid #0E1116; }
.mh-dot[data-on="true"] { border: 2px solid #fff; background: #8DB0F2; z-index: 2; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.mh-dot.g[data-on="true"] { background: #D9B65A; }
.mh-dot:hover { transform: translate(-50%, -50%) scale(1.25); }
.mh-step { flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #2C4A80; background: #17233A; color: #ECEFF4; font: 700 1.4rem/1 var(--body); cursor: pointer; }
.mh-step:hover { background: #1C2B47; }
.mh-sel #mh-sel { flex: 1; min-width: 0; text-align: center; }
.mh-sel small { color: #949FAE; font-family: var(--mono); }
.mh-sel { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px; border-radius: 12px; background: rgba(9,14,26,.7); box-shadow: inset 0 0 0 1px #24375C; min-height: 44px; }
.mh-sel b { color: #fff; } .mh-sel span { color: #A9B3C1; font-size: .85rem; }
.mh-cap { font: 500 .72rem var(--mono); color: #A9B3C1; display: flex; gap: 14px; flex-wrap: wrap; margin: 0; }
.mh-season { position: relative; padding: 18px 36px 24px; background: rgba(9,14,26,.55); border-top: 1px solid #1E2C48; display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-end; }
.mh-strip { flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.mh-strip li { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.mh-strip .f, .mh-strip .a { display: flex; flex-direction: column; align-items: center; width: 100%; }
.mh-strip .f { justify-content: flex-end; height: 86px; border-bottom: 1px solid #2A3550; }
.mh-strip .a { justify-content: flex-start; height: 34px; padding-top: 2px; }
.mh-strip i { display: block; width: min(26px, 70%); border-radius: 4px; background: #4F82E0; }
.mh-strip .a i { background: #FF7A59; border-radius: 3px; }
.mh-strip .last .f i { background: #8DB0F2; }
.mh-strip b { font: 500 .78rem/1.3 var(--mono); color: #ECEFF4; }
.mh-strip .a b { color: #FF8E72; }
.mh-strip em { font: 500 .7rem/1.2 var(--body); font-style: normal; color: #A9B3C1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.mh-season .mh-sum { flex: 0 0 auto; }
.mh-season .mh-sum b { display: block; font: 500 1.6rem/1.1 var(--mono); letter-spacing: -.01em; color: #fff; margin: 6px 0 4px; }
.mh-grow { animation: mhg .7s cubic-bezier(.2,.7,.2,1) both; transform-origin: bottom; transform-box: fill-box; }
@keyframes mhg { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .mh-grow { animation: none; } .mh-dot { transition: none; } }
@media (max-width: 600px) { .mh-in { padding: 22px 18px; gap: 20px; } .mh-season { padding: 14px 18px 18px; } .mh-badge { width: 44px; height: 44px; font-size: .85rem; } }

/* ---------- Graphite & Cobalt v2: depth, colour and motion (Nov 23 2026) ---------- */
html.gc:not(.light) body {
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(36,88,184,.22), transparent 60%),
    radial-gradient(700px 500px at 100% 20%, rgba(217,182,90,.07), transparent 60%),
    radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--bg);
  background-attachment: fixed;
}
/* Gradient-edged glass cards */
html.gc:not(.light) .tw-card, html.gc:not(.light) .cc-card, html.gc:not(.light) .staff-tiles a, html.gc:not(.light) .kpis > div,
html.gc:not(.light) .launch-panel, html.gc:not(.light) .needs {
  border: 1px solid transparent !important;
  background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)) padding-box,
              linear-gradient(140deg, rgba(141,176,242,.38), rgba(255,255,255,.05) 40%, rgba(255,255,255,.03) 65%, rgba(217,182,90,.28)) border-box !important;
  border-radius: 18px !important; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
html.gc:not(.light) .staff-tiles a:hover, html.gc:not(.light) .cc-card:hover, html.gc:not(.light) .tw-card:hover {
  transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(141,176,242,.25), 0 0 32px rgba(36,88,184,.25);
}
/* Bento layout for Today */
@media (min-width: 900px) {
  html.gc main.page.today { max-width: 1240px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 22px; align-items: start; }
  html.gc main.page.today > * { grid-column: 1 / -1; min-width: 0; }
  html.gc main.page.today > #tw { grid-column: 1 / span 8; margin-bottom: 22px; }
  html.gc main.page.today > #needs { grid-column: 9 / span 4; margin-top: 0; }
  html.gc main.page.today > #brief:not([hidden]) { grid-column: 1 / span 8; }
  html.gc main.page.today > .staff-tiles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
}
html.gc:not(.light) .needs { padding: 20px 22px; min-height: 100%; box-sizing: border-box; }
html.gc:not(.light) .needs-h { display: flex; align-items: center; gap: 10px; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
html.gc:not(.light) .needs-h::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(217,182,90,.6); animation: gcpulse 2s infinite; }
html.gc:not(.light) .needs-list { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; list-style: none; }
html.gc:not(.light) .needs-list a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; background: rgba(217,182,90,.08); border: 1px solid rgba(217,182,90,.22); color: var(--text); text-decoration: none; }
html.gc:not(.light) .needs-list a:hover { background: rgba(217,182,90,.14); }
html.gc:not(.light) .needs-list b { font: 700 1.5rem/1 var(--hero); color: var(--gold-ink); min-width: 1.4em; }
@keyframes gcpulse { 0% { box-shadow: 0 0 0 0 rgba(217,182,90,.55); } 70% { box-shadow: 0 0 0 10px rgba(217,182,90,0); } 100% { box-shadow: 0 0 0 0 rgba(217,182,90,0); } }
/* This week card: cobalt glow */
html.gc:not(.light) #tw.tw-card { position: relative; overflow: hidden; padding: 24px 26px; }
html.gc:not(.light) #tw.tw-card::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(36,88,184,.35), transparent 65%); pointer-events: none; }
html.gc:not(.light) #tw h2, html.gc:not(.light) #tw h3 { font-family: var(--hero); }
/* Quick tiles with colour chips */
html.gc:not(.light) .staff-tiles a { display: flex; flex-direction: column; gap: 6px; padding: 18px; text-decoration: none; }
html.gc:not(.light) .staff-tiles strong { font: 700 1.05rem var(--hero); text-transform: none; letter-spacing: -.01em; color: var(--text); }
.ti { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px; }
.ti.c1 { background: rgba(79,130,224,.18); color: #8DB0F2; box-shadow: inset 0 0 0 1px rgba(141,176,242,.3); }
.ti.c2 { background: rgba(217,182,90,.15); color: #E8C46A; box-shadow: inset 0 0 0 1px rgba(217,182,90,.3); }
.ti.c3 { background: rgba(95,211,156,.14); color: #5FD39C; box-shadow: inset 0 0 0 1px rgba(95,211,156,.28); }
.ti.c4 { background: rgba(255,122,89,.14); color: #FF8E72; box-shadow: inset 0 0 0 1px rgba(255,122,89,.28); }
.ti.c5 { background: rgba(176,140,255,.15); color: #C4AEFF; box-shadow: inset 0 0 0 1px rgba(176,140,255,.3); }
html:not(.gc) .ti { display: none; }
/* KPIs: coloured top edge, big mono numbers */
html.gc:not(.light) .kpis { gap: 14px; }
html.gc:not(.light) .kpis > div { position: relative; overflow: hidden; padding: 18px 18px 16px; }
html.gc:not(.light) .kpis > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #4F82E0; }
html.gc:not(.light) .kpis > div:nth-child(2)::before { background: #D9B65A; }
html.gc:not(.light) .kpis > div:nth-child(3)::before { background: #5FD39C; }
html.gc:not(.light) .kpis > div:nth-child(4)::before { background: #FF7A59; }
html.gc:not(.light) .kpis strong { font: 500 2.2rem/1 var(--mono); letter-spacing: -.02em; color: #fff; }
/* Section headings get a small colour marker */
html.gc:not(.light) main.today > section > h2::before, html.gc:not(.light) .launch-panel > h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #4F82E0; margin-right: 10px; vertical-align: .1em; }
/* Hero effects: light sweep, goal glow, score entrance */
.mh::before { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(141,176,242,.10) 50%, transparent 60%); animation: mhsweep 9s ease-in-out infinite; pointer-events: none; }
@keyframes mhsweep { 0% { transform: translateX(-40%); } 60%, 100% { transform: translateX(40%); } }
.mh-dot.g { box-shadow: 0 0 0 3px rgba(217,182,90,.18), 0 0 18px rgba(217,182,90,.65); }
.mh-score { animation: mhin .8s cubic-bezier(.2,.8,.2,1) both; text-shadow: 0 6px 40px rgba(79,130,224,.45); }
@keyframes mhin { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.mh-res.w { box-shadow: 0 0 20px rgba(95,211,156,.25); }
.mh-badge.us { box-shadow: 0 0 0 4px rgba(236,239,244,.08), 0 0 24px rgba(141,176,242,.35); }
.mh-strip .f i { box-shadow: 0 0 14px rgba(79,130,224,.35); }
@media (prefers-reduced-motion: reduce) {
  .mh::before, .mh-score { animation: none; }
  html.gc .needs-h::before { animation: none; }
  html.gc .staff-tiles a, html.gc .cc-card, html.gc .tw-card { transition: none; }
  html.gc .staff-tiles a:hover, html.gc .cc-card:hover, html.gc .tw-card:hover { transform: none; }
}
html.gc:not(.light) .launch-panel { padding: 20px 22px; margin-bottom: 22px; }
html.gc:not(.light) .launch-panel .kpis > div { background: rgba(9,12,18,.5) !important; border: 1px solid #262C36 !important; box-shadow: none; }
html.gc:not(.light) .launch-panel > h2::before { margin-left: 0; }
html.gc:not(.light) .cc-card h2 { font-size: 1.1rem; }

/* Match intelligence row */
.mi { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; margin: 0 0 28px; }
.mi-card { grid-column: 1 / -1; min-width: 0; padding: 22px 24px; border-radius: 18px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)) padding-box, linear-gradient(140deg, rgba(141,176,242,.38), rgba(255,255,255,.05) 40%, rgba(255,255,255,.03) 65%, rgba(217,182,90,.28)) border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .mi-card.span7 { grid-column: span 7; } .mi-card.span5 { grid-column: span 5; } }
.mi-card h2 { margin: 0; font: 700 1.35rem/1.15 var(--hero, sans-serif); color: #fff; text-transform: none; letter-spacing: -.01em; }
.mi-eye { margin: 0; font: 500 .7rem/1 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: #8DB0F2; }
.mi-cap { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 .72rem/1.5 var(--mono, monospace); color: #A9B3C1; }
.mi-sub { margin: 0; color: #A9B3C1; font-size: .9rem; }
.mi-big { display: flex; align-items: baseline; gap: 6px; }
.mi-big b { font: 700 3.6rem/1 var(--hero); color: #fff; letter-spacing: -.03em; }
.mi-big span { font: 700 1.3rem var(--hero); color: #8DB0F2; }
/* momentum */
.gmo { position: relative; height: 150px; border-radius: 10px; background: linear-gradient(180deg, rgba(79,130,224,.06), transparent 50%, rgba(255,122,89,.05)); }
.gmo::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #3A4557; }
.gmo-c { position: absolute; top: 0; bottom: 0; }
.gmo-c i { position: absolute; left: 18%; right: 18%; border-radius: 3px; }
.gmo-c i.u { bottom: 50%; background: #4F82E0; box-shadow: 0 0 12px rgba(79,130,224,.4); max-height: 46%; }
.gmo-c i.t { top: 50%; background: #FF7A59; max-height: 46%; }
.gmo-c b { position: absolute; left: 50%; width: 10px; height: 10px; transform: translate(-50%, 0) rotate(45deg); }
.gmo-c b.gu { top: 2px; background: #D9B65A; box-shadow: 0 0 12px rgba(217,182,90,.8); }
.gmo-c b.gt { bottom: 2px; background: #FF7A59; }
.gmo-ht { position: absolute; top: 0; bottom: 0; border-left: 1px dashed #5B6474; font: 500 .65rem var(--mono); color: #949FAE; padding-left: 4px; z-index: 1; }
/* tilt */
.gtilt { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; height: 92px; }
.gtilt span { position: relative; display: flex; align-items: flex-end; border-radius: 8px; background: rgba(255,122,89,.16); overflow: hidden; }
.gtilt span.h2 { margin-left: 8px; }
.gtilt i { display: block; width: 100%; background: linear-gradient(180deg, #4F82E0, #2458B8); border-radius: 8px 8px 0 0; }
.gtilt em { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: 500 .8rem var(--mono); font-style: normal; color: #fff; }
/* out of possession */
.gthirds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gthirds div { padding: 10px 12px; border-radius: 12px; background: rgba(9,12,18,.5); border: 1px solid #262C36; }
.gthirds b { display: block; font: 700 1.6rem/1 var(--hero); color: #fff; }
.gthirds span { font-size: .8rem; color: #A9B3C1; }
.mi-list { list-style: none; margin: 0; padding: 0; }
.mi-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid #262C36; font-size: .92rem; }
.mi-list b { font: 500 .92rem var(--mono); color: #ECEFF4; }
.mi-list li.bad b { color: #FF8E72; }
/* passing network */
.gnw { position: relative; }
.gnw svg { display: block; width: 100%; height: auto; }
.gnw-n { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; padding: 0; cursor: pointer; background: #0F1A2E; border: 1.5px solid #7FA6F0; display: grid; place-items: center; }
.gnw-n span { position: absolute; top: 100%; margin-top: 2px; white-space: nowrap; font: 600 .7rem var(--body); color: #ECEFF4; text-shadow: 0 1px 3px #000, 0 0 6px #000; pointer-events: none; }
.gnw-n.hub { background: #2458B8; border-color: #B7CCF7; box-shadow: 0 0 22px rgba(79,130,224,.6); }
.gnw-n[aria-pressed="true"] { border: 2.5px solid #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 0 22px rgba(141,176,242,.6); }
.gnw-n:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gnw-sel { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: rgba(9,12,18,.5); border: 1px solid #262C36; min-height: 44px; }
.gnw-sel > b { font: 700 1.05rem var(--hero); color: #fff; }
.gnl { display: grid; grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) 28px; gap: 10px; align-items: center; font-size: .85rem; }
.gnl i { display: block; height: 8px; border-radius: 4px; background: #20252E; overflow: hidden; }
.gnl u { display: block; height: 100%; background: #4F82E0; transform-origin: left; }
.gnl em { font: 500 .85rem var(--mono); font-style: normal; text-align: right; }
/* minutes */
.gmins { display: flex; flex-direction: column; gap: 5px; }
.gmr { display: grid; grid-template-columns: 78px minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.gmn { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gmt { position: relative; height: 12px; border-radius: 6px; background: #20252E; }
.gmt i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #2458B8, #4F82E0); transform-origin: left; }
.gmm { font: 500 .8rem var(--mono); text-align: right; color: #ECEFF4; }
.gmr.ax .gmt { background: none; height: 14px; }
.gmr.ax em { position: absolute; transform: translateX(-50%); font: 500 .65rem var(--mono); font-style: normal; color: #949FAE; }
.gmr.ax em:first-child { transform: none; } .gmr.ax em:last-child { transform: translateX(-100%); }
@media (prefers-reduced-motion: reduce) { .gmo-c i.u, .gtilt i, .gmt i, .gnl u { animation: none; } }
@media (min-width: 900px) {
  .mi-card.oop { display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 28px; row-gap: 8px; align-items: start; }
  .mi-card.oop .mi-eye { grid-column: 1 / -1; }
  .mi-card.oop .mi-big { grid-row: 2; }
  .mi-card.oop .gthirds { grid-row: 2; }
  .mi-card.oop .mi-list { grid-row: 2; margin-top: -9px; }
}

/* Staff sidebar groups (Graphite & Cobalt) */
.snav .snav-g, .snav .snav-sp, .snav a.x, .snav .ln { display: none; }
.snav a svg { display: none; }
@media (min-width: 900px) {
  .snav { overflow-y: auto; gap: 2px !important; }
  .snav .snav-g { display: block; margin: 16px 0 6px; padding: 0 14px; font: 500 .66rem/1 var(--mono, monospace); letter-spacing: .16em; text-transform: uppercase; color: #8A95A6; }
  .snav .snav-g:first-child { margin-top: 0; }
  .snav .snav-sp { display: block; height: 1px; background: #1C2129; margin: 14px 6px; }
  .snav a.x { display: flex; }
  .snav .ln { display: inline; } .snav .sn { display: none; }
  .snav a { gap: 12px; padding-left: 14px !important; min-height: 40px !important; font-size: .92rem !important; }
  .snav a svg { display: block; flex: none; opacity: .85; }
  .snav a.on svg { color: #8DB0F2; opacity: 1; }
  .snav a.on::before { left: 0 !important; top: 10px !important; bottom: 10px !important; }
}
@media (max-width: 899px) {
  .snav a.core svg { display: none; }
}
/* All modules page: compact, scannable */
html.gc:not(.light) main.more-page .mod { margin: 0 0 26px; padding: 22px 24px; border-radius: 18px; background: rgba(22,26,33,.8); border: 1px solid #232831; }
html.gc:not(.light) main.more-page .mod > h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-size: 1.3rem; }
html.gc:not(.light) main.more-page .mod > h2::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--mc, #4F82E0); box-shadow: 0 0 12px var(--mc, #4F82E0); }
html.gc:not(.light) main.more-page .mod > .fine { margin: 0 0 14px 20px; }
html.gc:not(.light) main.more-page .mod .staff-tiles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 6px 16px; margin: 0; padding: 0; }
html.gc:not(.light) main.more-page .mod .staff-tiles li { min-width: 0; }
html.gc:not(.light) main.more-page .mod .staff-tiles a { display: block; min-height: 0; padding: 10px 12px 10px 14px !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; box-shadow: none !important; transform: none !important; border-left: 2px solid transparent !important; }
html.gc:not(.light) main.more-page .mod .staff-tiles a:hover, html.gc:not(.light) main.more-page .mod .staff-tiles a:focus-visible { background: rgba(255,255,255,.04) !important; border-left-color: var(--mc, #4F82E0) !important; }
html.gc:not(.light) main.more-page .mod .staff-tiles strong { display: block; font: 700 .95rem/1.25 var(--hero) !important; text-transform: none !important; letter-spacing: 0 !important; color: #ECEFF4; }
html.gc:not(.light) main.more-page .mod .staff-tiles span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; line-height: 1.4; color: #A9B3C1; margin-top: 2px; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+1) { --mc: #4F82E0; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+2) { --mc: #D9B65A; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+3) { --mc: #5FD39C; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+4) { --mc: #C4AEFF; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+5) { --mc: #FF8E72; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+6) { --mc: #8DB0F2; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+7) { --mc: #E8C46A; }
html.gc:not(.light) main.more-page .mod:nth-of-type(8n+8) { --mc: #7FD8E0; }
html.gc:not(.light) main.more-page .mod-jump { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; margin: 0 0 18px; background: none; border: 0; }
html.gc:not(.light) main.more-page .mod-jump a { flex: none; padding: 8px 12px; border-radius: 999px; background: #161A21; border: 1px solid #2A313C; color: #ECEFF4; text-decoration: none; font-size: .82rem; min-height: 36px; display: inline-flex; align-items: center; }
html.gc:not(.light) main.more-page .mod-jump a:hover { border-color: #4F82E0; }
.gnw.vert { max-width: 380px; margin: 0 auto; width: 100%; }

/* Player Intelligence hero */
.ph { position: relative; overflow: hidden; border-radius: 24px; margin: 0 0 24px; background: radial-gradient(110% 120% at 100% 0%, #17305E 0%, #0E1A33 50%, #0B1222 100%); box-shadow: 0 0 0 1px #1E2C48; }
.ph::before { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(141,176,242,.10) 50%, transparent 60%); animation: mhsweep 9s ease-in-out infinite; pointer-events: none; }
.ph-top { position: relative; padding: 34px 36px 26px; min-height: 180px; }
.ph-num { position: absolute; right: -6px; top: -46px; font: 700 clamp(12rem, 30vw, 22rem)/1 var(--hero); color: transparent; -webkit-text-stroke: 2px rgba(141,176,242,.18); pointer-events: none; }
.ph-name { position: relative; margin: 10px 0 8px; font: 700 clamp(3.5rem, 10vw, 7rem)/.9 var(--hero); letter-spacing: -.04em; color: #fff; text-shadow: 0 6px 40px rgba(79,130,224,.45); animation: mhin .8s cubic-bezier(.2,.8,.2,1) both; }
.ph-meta { position: relative; margin: 0; font: 500 .85rem var(--mono); color: #A9B3C1; }
.ph-stats { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); background: rgba(9,14,26,.55); border-top: 1px solid #1E2C48; }
.ph-s { padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid #1E2C48; }
.ph-s b { font: 700 2.6rem/1 var(--hero); color: #fff; letter-spacing: -.02em; }
.ph-s.hl b { color: #8DB0F2; }
.ph-s span { font-weight: 600; font-size: .9rem; color: #ECEFF4; }
.ph-s small { font: 500 .75rem var(--mono); color: #A9B3C1; }
.ph-trend, .ph-map { display: block; width: 100%; height: auto; }
.ph-goal { filter: drop-shadow(0 0 6px rgba(217,182,90,.8)); }
html.gc main:has(#ph:not([hidden])) > .label, html.gc main:has(#ph:not([hidden])) > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ph::before, .ph-name { animation: none; } }
@media (max-width: 600px) { .ph-top { padding: 24px 20px 20px; } .ph-s { padding: 14px 16px; } .ph-s b { font-size: 2rem; } }

/* Games: match cards */
.gcards { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 12px; }
.gcard a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)) padding-box, linear-gradient(140deg, rgba(141,176,242,.3), rgba(255,255,255,.04) 45%, rgba(255,255,255,.03)) border-box; border: 1px solid transparent; transition: transform .2s, box-shadow .2s; }
.gcard a:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 26px rgba(36,88,184,.22); }
.gcard.w a { border-left: 3px solid #5FD39C; } .gcard.d a { border-left: 3px solid #E8C46A; } .gcard.l a { border-left: 3px solid #FF7A59; }
.gm-d { flex: none; width: 52px; text-align: center; padding: 6px 0; border-radius: 12px; background: rgba(9,12,18,.6); border: 1px solid #262C36; }
.gm-d b { display: block; font: 700 1.4rem/1 var(--hero, sans-serif); color: #fff; }
.gm-d small { font: 500 .66rem var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #8DB0F2; }
.gm-b { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #2A2447; color: #E2D8FF; font: 700 .8rem var(--hero, sans-serif); box-shadow: inset 0 0 0 1px rgba(196,174,255,.35); }
.gm-b.big { width: 64px; height: 64px; font-size: 1.1rem; }
.gm-t { flex: 1; min-width: 0; }
.gm-t strong { display: block; font: 700 1.02rem/1.2 var(--hero, sans-serif); text-transform: none; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-t > span { font-size: .82rem; color: #A9B3C1; }
.gm-t i { font-style: normal; font: 500 .7rem var(--mono, monospace); letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; }
.gc-mls { background: rgba(79,130,224,.18); color: #8DB0F2; } .gc-nal { background: rgba(217,182,90,.16); color: #E8C46A; }
.gm-r { flex: none; text-align: right; font: 700 1.5rem/1 var(--hero, sans-serif); color: #fff; }
.gm-r small { display: block; margin-top: 4px; font: 500 .66rem var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; }
.gm-r.w small { color: #5FD39C; } .gm-r.d small { color: #E8C46A; } .gm-r.l small { color: #FF8E72; }
.gm-r.up { font: 500 .78rem var(--mono, monospace); color: #8DB0F2; }
.gnext { position: relative; overflow: hidden; margin: 0 0 18px; padding: 24px 28px; border-radius: 22px; background: radial-gradient(110% 120% at 100% 0%, #17305E 0%, #0E1A33 50%, #0B1222 100%); box-shadow: 0 0 0 1px #1E2C48; display: flex; flex-direction: column; gap: 14px; }
.gnext-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gnext-in > div:nth-child(2) { flex: 1; min-width: 200px; }
.gnext-t { margin: 0; font: 700 clamp(1.8rem, 4vw, 2.6rem)/1 var(--hero, sans-serif); color: #fff; letter-spacing: -.02em; }
.gnext-m { margin: 6px 0 0; color: #A9B3C1; }
.gnext-c { text-align: center; } .gnext-c b { display: block; font: 700 3.6rem/1 var(--hero, sans-serif); color: #8DB0F2; text-shadow: 0 0 30px rgba(79,130,224,.5); } .gnext-c span { font: 500 .7rem var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: #A9B3C1; }
.gnext .btn { align-self: flex-start; }
.grec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 6px; color: #A9B3C1; font-size: .9rem; }
.grec span { font: 700 .9rem var(--hero, sans-serif); padding: 4px 10px; border-radius: 8px; }
.grec .w { background: #13281F; color: #5FD39C; } .grec .d { background: #2A2416; color: #E8C46A; } .grec .l { background: #2B1914; color: #FF8E72; }
@media (prefers-reduced-motion: reduce) { .gcard a { transition: none; } .gcard a:hover { transform: none; } }

/* Players: squad grid */
.sqg { margin: 6px 0 30px; }
.sqg-l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.sq a { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; padding: 16px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)) padding-box, linear-gradient(140deg, var(--sqc, #4F82E0), rgba(255,255,255,.04) 45%, rgba(255,255,255,.03)) border-box; border: 1px solid transparent; transition: transform .2s, box-shadow .2s; }
.sq a:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 22px color-mix(in srgb, var(--sqc, #4F82E0) 35%, transparent); }
.sq.gk { --sqc: #E8C46A; } .sq.def { --sqc: #5FD39C; } .sq.mid { --sqc: #4F82E0; } .sq.att { --sqc: #FF8E72; }
.sq-n { position: absolute; right: 10px; top: -8px; font: 700 4.2rem/1 var(--hero, sans-serif); color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--sqc, #4F82E0) 45%, transparent); pointer-events: none; }
.sq-h { grid-column: 1 / -1; position: relative; }
.sq-h strong { display: block; font: 700 1.2rem/1.1 var(--hero, sans-serif); text-transform: none; letter-spacing: -.01em; }
.sq-h span { font: 500 .72rem var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--sqc, #8DB0F2); }
.sq-m { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: #20252E; overflow: hidden; }
.sq-m i { display: block; height: 100%; background: var(--sqc, #4F82E0); }
.sq-s b { display: block; font: 500 1.15rem/1 var(--mono, monospace); color: #fff; }
.sq-s small { font-size: .68rem; color: #A9B3C1; }
.sq-none { grid-column: 1 / -1; font-size: .82rem; color: #949FAE; }
@media (prefers-reduced-motion: reduce) { .sq a { transition: none; } .sq a:hover { transform: none; } }
/* Reports list items as cards */
html.gc:not(.light) ul.links { list-style: none; padding: 0; display: grid; gap: 10px; }
html.gc:not(.light) ul.links > li > a { display: block; padding: 14px 18px; border-radius: 14px; text-decoration: none; background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)) padding-box, linear-gradient(140deg, rgba(141,176,242,.3), rgba(255,255,255,.04) 45%, rgba(255,255,255,.03)) border-box; border: 1px solid transparent; transition: transform .2s, box-shadow .2s; }
html.gc:not(.light) ul.links > li > a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.3), 0 0 22px rgba(36,88,184,.2); }
html.gc:not(.light) ul.links > li > a strong { font-family: var(--hero); text-transform: none; letter-spacing: -.01em; font-size: 1.02rem; }
@media (prefers-reduced-motion: reduce) { html.gc ul.links > li > a { transition: none; } html.gc ul.links > li > a:hover { transform: none; } }
/* Coach comment on a clip (Nov 23 2026) */
.coach-note { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--gold); background: var(--s1); }
.coach-note .label { display: block; margin-bottom: 2px; }
.ip-cn-r { display: grid; gap: 4px; margin: 0 0 12px; } .ip-cn-r p { margin: 0; } .ip-cn-r input { width: 100%; min-height: 44px; }

/* Pressing bars (Nov 23 2026) */
.pp-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 28px; } .pp-bars i { width: 9px; background: var(--accent); border-radius: 1px; } .pp-bars i.na { background: var(--line-2); }

/* Five-tab layout (Nov 23 2026): Home to-do and hub pages */
.todo { margin-bottom: 28px; }
.todo-l a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.todo-k { display: block; font: 700 .68rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.todo-xp { font: 700 .78rem/1 var(--display); color: var(--gold-ink, var(--gold)); white-space: nowrap; }
.tiles li.seen strong { color: var(--dim); }
.hub-top { margin: 0 0 24px; }
.tiles .meta { display: block; margin-top: 8px; font: 700 .78rem/1 var(--display); color: var(--gold-ink, var(--gold)); }

/* ================= Graphite & Cobalt · PLAYER SIDE v2 (Nov 23 2026, preview only) ================= */
html.gc:not(.light):not(.staff) { --pg1: #8DB0F2; --pg2: #E8C46A; }
/* Home hero */
html.gc:not(.light) .phero { position: relative; overflow: hidden; isolation: isolate; margin: 4px 0 26px; padding: 22px 20px 20px; border-radius: 22px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(36,88,184,.42), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(232,196,106,.14), transparent 60%), linear-gradient(160deg, #18202C, #10141B);
  border: 1px solid rgba(141,176,242,.22); box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); }
html.gc:not(.light) .phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px); mask-image: linear-gradient(90deg, transparent, #000 70%); }
html.gc:not(.light) .phero-num { position: absolute; right: -6px; top: -26px; z-index: -1; font: 900 11rem/1 var(--hero, var(--display)); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px rgba(141,176,242,.28); background: linear-gradient(180deg, rgba(141,176,242,.18), transparent 80%); -webkit-background-clip: text; background-clip: text; pointer-events: none; }
html.gc:not(.light) .phero-id { display: flex; align-items: center; gap: 14px; }
html.gc:not(.light) .phero-id .label { color: var(--pg2); margin: 0 0 2px; }
html.gc:not(.light) .phero .hello-n { margin: 0; font: 900 clamp(2.2rem, 9vw, 3.2rem)/.95 var(--hero, var(--display)); text-transform: uppercase; letter-spacing: .01em;
  background: linear-gradient(180deg, #FFFFFF, #C9D6F0); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.gc:not(.light) .phero-row { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 10px; align-items: stretch; margin-top: 20px; }
html.gc:not(.light) .phero-ring { position: relative; display: grid; place-items: center; width: 96px; min-height: 96px; text-decoration: none; color: inherit; border-radius: 50%; }
html.gc:not(.light) .phero-ring svg { position: absolute; inset: 0; width: 96px; height: 96px; transform: rotate(-90deg); }
html.gc:not(.light) .phero-ring .tr { fill: rgba(0,0,0,.25); stroke: rgba(255,255,255,.08); stroke-width: 7; }
html.gc:not(.light) .phero-ring .pr { fill: none; stroke: url(#phg); stroke-width: 7; stroke-linecap: round; stroke-dashoffset: var(--off); filter: drop-shadow(0 0 6px rgba(141,176,242,.55)); animation: phRing 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes phRing { from { stroke-dashoffset: var(--full); } to { stroke-dashoffset: var(--off); } }
html.gc:not(.light) .phero-ring b { position: relative; font: 700 1.6rem/1 "JBM", ui-monospace, monospace; margin-top: -8px; }
html.gc:not(.light) .phero-ring b small { font-size: .55em; color: var(--dim); }
html.gc:not(.light) .phero-ring > span { position: absolute; bottom: 22px; font: 700 .56rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
html.gc:not(.light) .phero-ring:focus-visible { outline: 2px solid var(--pg1); outline-offset: 3px; }
html.gc:not(.light) .phero-s { display: flex; flex-direction: column; justify-content: center; padding: 10px 10px; border-radius: 14px; background: rgba(8,11,16,.45); border: 1px solid rgba(255,255,255,.07); min-width: 0; }
html.gc:not(.light) .phero-s b { font: 700 1.35rem/1.05 "JBM", ui-monospace, monospace; font-variant-numeric: tabular-nums; color: #fff; }
html.gc:not(.light) .phero-s span { margin-top: 5px; font: 700 .56rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
html.gc:not(.light) .phero-s.xp b { color: var(--pg2); text-shadow: 0 0 18px rgba(232,196,106,.35); }
html.gc:not(.light) .phero-s.fire b { color: #FF9A6B; }
@media (max-width: 420px) { html.gc:not(.light) .phero-row { grid-template-columns: 96px repeat(3, minmax(0, 1fr)); gap: 6px; } html.gc:not(.light) .phero-s { padding: 8px 6px; } html.gc:not(.light) .phero-s b { font-size: 1.1rem; } html.gc:not(.light) .phero-num { font-size: 9rem; } }

/* To-do: glass list with gold XP chips */
html.gc:not(.light) .todo-l { border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(26,31,40,.9), rgba(19,23,30,.9)); border: 1px solid rgba(255,255,255,.07); }
html.gc:not(.light) .todo-l li + li { border-top: 1px solid rgba(255,255,255,.05); }
html.gc:not(.light) .todo-l a { padding: 14px 16px; min-height: 56px; }
html.gc:not(.light) .todo-l a:hover { background: rgba(141,176,242,.06); }
html.gc:not(.light) .todo-l .todo-xp { padding: 5px 9px; border-radius: 999px; background: rgba(232,196,106,.12); border: 1px solid rgba(232,196,106,.3); color: #F0D488; font-family: "JBM", ui-monospace, monospace; font-size: .7rem; }

/* Hub tiles with colour icon chips (Team, Film, Learn) */
html.gc:not(.light) .tiles li.ht > a { display: flex; align-items: flex-start; gap: 12px; position: relative; overflow: hidden; border-radius: 16px; padding: 16px 14px;
  background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)); border: 1px solid rgba(255,255,255,.07); transition: transform .18s, box-shadow .18s, border-color .18s; }
html.gc:not(.light) .tiles li.ht > a::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--hc), transparent 80%); opacity: .8; }
html.gc:not(.light) .tiles li.ht > a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--hc) 45%, transparent); box-shadow: 0 14px 30px rgba(0,0,0,.35), 0 0 24px color-mix(in srgb, var(--hc) 18%, transparent); }
html.gc:not(.light) .ht-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--hc); background: color-mix(in srgb, var(--hc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--hc) 30%, transparent); }
html.gc:not(.light) .ht-ic svg { width: 20px; height: 20px; }
html.gc:not(.light) .tiles li.ht.c1 { --hc: #8DB0F2; } html.gc:not(.light) .tiles li.ht.c2 { --hc: #5FD39C; } html.gc:not(.light) .tiles li.ht.c3 { --hc: #FF9A6B; } html.gc:not(.light) .tiles li.ht.c4 { --hc: #E8C46A; } html.gc:not(.light) .tiles li.ht.c5 { --hc: #C39BF5; }

/* Film: clip cards with poster thumbnails */
html.gc:not(.light) .tiles a.clipc { display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, rgba(26,31,40,.95), rgba(17,21,28,.95)); border: 1px solid rgba(255,255,255,.07); transition: transform .18s, box-shadow .18s; }
html.gc:not(.light) .tiles a.clipc > span:not(.clip-th):not(.meta) { padding: 12px 12px 4px; }
html.gc:not(.light) .tiles a.clipc > .meta { padding: 0 12px 12px; }
html.gc:not(.light) .tiles a.clipc:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.4), 0 0 26px rgba(36,88,184,.25); }
html.gc:not(.light) .clip-th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 120%, rgba(95,211,156,.22), transparent 60%), repeating-linear-gradient(90deg, #15301F 0 18px, #183622 18px 36px); }
html.gc:not(.light) .clip-th::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,10,14,.75)); }
html.gc:not(.light) .clip-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
html.gc:not(.light) a.clipc:hover .clip-th img { transform: scale(1.05); }
html.gc:not(.light) .clip-pl { position: absolute; z-index: 1; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(36,88,184,.85); box-shadow: 0 0 0 6px rgba(36,88,184,.25), 0 8px 20px rgba(0,0,0,.4); }
html.gc:not(.light) .clip-pl svg { width: 18px; height: 18px; margin-left: 2px; }
html.gc:not(.light) .clip-new { position: absolute; z-index: 1; left: 8px; top: 8px; padding: 3px 8px; border-radius: 999px; font: 700 .58rem/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: #10141B; background: #E8C46A; }
html.gc:not(.light) li.seen .clip-th { filter: saturate(.5) brightness(.8); }

/* Next-up hero: cobalt stage, gold countdown */
html.gc:not(.light) .fx-hero { border-radius: 22px; border: 1px solid rgba(141,176,242,.22); background: radial-gradient(90% 120% at 85% 50%, rgba(36,88,184,.45), transparent 60%), linear-gradient(160deg, #18202C, #0F131A); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
html.gc:not(.light) .fx-hero-pitch { stroke: rgba(141,176,242,.16); }
html.gc:not(.light) .fx-hero-date b { color: #fff; }
html.gc:not(.light) .fx-us { color: #fff; } html.gc:not(.light) .fx-them { color: #C9D6F0; }
html.gc:not(.light) .fx-count div { border-radius: 12px; background: rgba(8,11,16,.5); border-color: rgba(232,196,106,.18); }
html.gc:not(.light) .fx-count b { font-family: "JBM", ui-monospace, monospace; font-weight: 500; color: #F0D488; text-shadow: 0 0 16px rgba(232,196,106,.3); }

/* Badges: earned ones glow gold */
html.gc:not(.light) .fx-badge { border-radius: 16px; background: linear-gradient(180deg, rgba(26,31,40,.9), rgba(19,23,30,.9)); border-color: rgba(255,255,255,.06); opacity: .55; }
html.gc:not(.light) .fx-badge.on { opacity: 1; border-color: rgba(232,196,106,.35); background: radial-gradient(80% 70% at 50% 30%, rgba(232,196,106,.18), transparent 70%), linear-gradient(180deg, #1E1F22, #15171B); box-shadow: 0 0 28px rgba(232,196,106,.12); }
html.gc:not(.light) .fx-badge.on svg { filter: drop-shadow(0 0 10px rgba(232,196,106,.45)); }
html.gc:not(.light) .fx-badge.new { animation: phPop .7s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes phPop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html.gc .phero-ring .pr, html.gc .fx-badge.new { animation: none; }
  html.gc .tiles li.ht > a, html.gc .tiles a.clipc, html.gc .clip-th img { transition: none; }
  html.gc .tiles li.ht > a:hover, html.gc .tiles a.clipc:hover, html.gc a.clipc:hover .clip-th img { transform: none; }
}
html.gc:not(.light) .phero-s { align-items: center; text-align: center; }
@media (max-width: 560px) { html.gc:not(.light) .tiles:has(> li.ht) { grid-template-columns: 1fr; } html.gc:not(.light) .tiles li.ht > a { align-items: center; } }
/* Locked things read clearly (contrast) without opacity: grey icon, readable text */
html.gc:not(.light) .fx-badge { opacity: 1; }
html.gc:not(.light) .fx-badge:not(.on) svg { opacity: .45; }
html.gc:not(.light) .fx-badge:not(.on) b { color: #A9B3C1; }
html.gc:not(.light) .fx-badge span { color: #949FAE; }
html.gc:not(.light) .locked { opacity: 1; }
html.gc:not(.light) .locked strong { color: #A9B3C1 !important; }
html.gc:not(.light) .locked span, html.gc:not(.light) .locked p { color: #949FAE !important; }

/* ---- Player side v2 · My Game and Learn (Nov 23 2026, preview only) ---- */
html.gc:not(.light) .pro-head.gcx { position: relative; overflow: hidden; isolation: isolate; align-items: center; padding: 22px 20px; margin-bottom: 18px; border: 1px solid rgba(141,176,242,.22); border-radius: 22px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(36,88,184,.42), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(232,196,106,.14), transparent 60%), linear-gradient(160deg, #18202C, #10141B); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
html.gc:not(.light) .pro-head.gcx .phero-num { top: -30px; right: 70px; }
html.gc:not(.light) .pro-head.gcx h1 { margin: 2px 0 4px; font-size: clamp(2.2rem, 9vw, 3.2rem); background: linear-gradient(180deg, #fff, #C9D6F0); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.gc:not(.light) .pro-head.gcx .label { color: #E8C46A; }
html.gc:not(.light) .pro-head.gcx .pro-xp strong { font-family: "JBM", ui-monospace, monospace; color: #F0D488; text-shadow: 0 0 18px rgba(232,196,106,.35); }
html.gc:not(.light) .pro-head.gcx .pro-ranks > * { border-radius: 14px; background: rgba(8,11,16,.45); border: 1px solid rgba(255,255,255,.08); text-align: center; }
html.gc:not(.light) .pro-head.gcx .pro-ranks b { font-family: "JBM", ui-monospace, monospace; font-weight: 500; }
html.gc:not(.light) .pro-head.gcx .mini-pitch { display: block; width: 66px; height: 70px; filter: drop-shadow(0 0 12px rgba(95,211,156,.25)); }
html.gc:not(.light) .pro-head.gcx .mini-pitch rect, html.gc:not(.light) .pro-head.gcx .mini-pitch line, html.gc:not(.light) .pro-head.gcx .mini-pitch circle:not(.me) { fill: none; stroke: rgba(141,176,242,.4); }
html.gc:not(.light) .pro-head.gcx .mini-pitch rect:first-child { fill: rgba(95,211,156,.08); }
html.gc:not(.light) .pro-head.gcx .mini-pitch .me { fill: #E8C46A; stroke: none; filter: drop-shadow(0 0 6px #E8C46A); }
@media (max-width: 480px) { html.gc:not(.light) .pro-head.gcx .mini-pitch { position: absolute; right: 14px; top: 16px; width: 48px; height: 52px; } html.gc:not(.light) .pro-head.gcx .phero-num { right: 10px; top: auto; bottom: -40px; } }

/* Tabs as a pill switch */
html.gc:not(.light):not(.staff) .seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: rgba(8,11,16,.5); max-width: 100%; }
html.gc:not(.light):not(.staff) .seg a, html.gc:not(.light):not(.staff) .seg button { border: 0; border-radius: 999px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; }
html.gc:not(.light):not(.staff) .seg [aria-selected="true"] { background: #2458B8; color: #fff; box-shadow: 0 6px 18px rgba(36,88,184,.4); }

/* Empty profile: ghost radar */
html.gc:not(.light) .ghost-pro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 18px 20px; margin-top: 8px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: radial-gradient(70% 60% at 50% 30%, rgba(36,88,184,.2), transparent 70%), linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)); }
@media (min-width: 760px) { html.gc:not(.light) .ghost-pro { grid-template-columns: 300px 1fr; align-items: center; gap: 24px; } }
html.gc:not(.light) .ghost-r { width: 100%; max-width: 320px; justify-self: center; overflow: visible; }
html.gc:not(.light) .g-ring { fill: none; stroke: rgba(141,176,242,.16); }
html.gc:not(.light) .g-sp { stroke: rgba(141,176,242,.12); }
html.gc:not(.light) .g-tease { fill: rgba(141,176,242,.07); stroke: rgba(141,176,242,.55); stroke-width: 1.5; stroke-dasharray: 4 5; animation: gTease 4s ease-in-out infinite; transform-origin: 150px 128px; }
@keyframes gTease { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.02); } }
html.gc:not(.light) .g-lbl { fill: #A9B3C1; font: 700 10.5px var(--display); letter-spacing: .1em; text-transform: uppercase; }
html.gc:not(.light) .ghost-t h2 { margin: 2px 0 6px; } html.gc:not(.light) .ghost-t .label { color: #E8C46A; } html.gc:not(.light) .ghost-t p { color: var(--dim); }
html.gc:not(.light) .ghost-steps { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; }
html.gc:not(.light) .ghost-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(8,11,16,.45); border: 1px solid rgba(255,255,255,.07); }
html.gc:not(.light) .ghost-steps li.done { border-color: rgba(95,211,156,.35); color: #A9B3C1; text-decoration: line-through; }

/* Radar and metric bars when there is data */
html.gc:not(.light) .r-me { fill: rgba(141,176,242,.2); stroke: #8DB0F2; filter: drop-shadow(0 0 8px rgba(141,176,242,.45)); }
html.gc:not(.light) .r-pt { fill: #E8C46A; }
html.gc:not(.light) .pbar { height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.07); }
html.gc:not(.light) .pbar i { border-radius: 3px; background: linear-gradient(90deg, #2458B8, #8DB0F2); }

/* Learn: the keys as cards */
html.gc:not(.light) .keys { border-top: 0; display: grid; gap: 8px; }
html.gc:not(.light) .keys a, html.gc:not(.light) .keys div { padding: 14px 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)); grid-template-columns: 44px 1fr auto; }
html.gc:not(.light) .keys a { transition: transform .18s, box-shadow .18s, border-color .18s; }
html.gc:not(.light) .keys a:hover { transform: translateY(-2px); border-color: rgba(141,176,242,.35); box-shadow: 0 14px 30px rgba(0,0,0,.35); background: linear-gradient(180deg, rgba(30,36,47,.95), rgba(21,26,34,.95)); }
html.gc:not(.light) .keys .k-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 500 1.05rem/1 "JBM", ui-monospace, monospace; color: #8DB0F2; background: rgba(36,88,184,.18); border: 1px solid rgba(141,176,242,.3); }
html.gc:not(.light) .keys .locked div { background: rgba(14,17,22,.6); border-style: dashed; }
html.gc:not(.light) .keys .locked .k-n { color: #949FAE; background: transparent; border-color: rgba(255,255,255,.1); }
@media (prefers-reduced-motion: reduce) { html.gc .g-tease { animation: none; } html.gc .keys a { transition: none; } html.gc .keys a:hover { transform: none; } }

/* Learn: moments of the game in phase colours */
html.gc:not(.light) .moments { gap: 8px; }
html.gc:not(.light) .moments a { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)); transition: transform .18s, box-shadow .18s, border-color .18s; }
html.gc:not(.light) .moments a::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--mc, #8DB0F2), transparent 85%); }
html.gc:not(.light) .moments a::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--mc, #8DB0F2) 22%, transparent), transparent); pointer-events: none; }
html.gc:not(.light) .moments a:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--mc, #8DB0F2) 45%, transparent); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
html.gc:not(.light) .moments.m-in { --mc: #8DB0F2; } html.gc:not(.light) .moments.m-out { --mc: #FF9A6B; } html.gc:not(.light) .moments.m-tr { --mc: #E8C46A; }
html.gc:not(.light) .phase-l { display: flex; align-items: center; gap: 8px; color: #A9B3C1; }
html.gc:not(.light) .phase-l::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pc, #8DB0F2); box-shadow: 0 0 10px var(--pc, #8DB0F2); }
html.gc:not(.light) .phase-l:has(+ .m-out) { --pc: #FF9A6B; } html.gc:not(.light) .phase-l:has(+ .m-tr) { --pc: #E8C46A; }
@media (max-width: 480px) { html.gc:not(.light) .moments.m-in, html.gc:not(.light) .moments.m-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { html.gc .moments a { transition: none; } html.gc .moments a:hover { transform: none; } }
html.gc:not(.light) .pro-head.gcx .phero-num { opacity: .7; }
@media (max-width: 480px) { html.gc:not(.light) .moments:not(.two) li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---- Player side v2 · inner pages (Nov 23 2026, preview only) ---- */
html.gc:not(.light):not(.staff) main h1 { background: linear-gradient(180deg, #FFFFFF 30%, #B9C8E6); -webkit-background-clip: text; background-clip: text; color: transparent; }
html.gc:not(.light):not(.staff) main > .label { color: #E8C46A; }
html.gc:not(.light):not(.staff) { --gl: linear-gradient(180deg, rgba(26,31,40,.92), rgba(19,23,30,.92)); }
/* glass cards */
html.gc:not(.light):not(.staff) .setcard, html.gc:not(.light):not(.staff) .yours, html.gc:not(.light):not(.staff) section.panel, html.gc:not(.light):not(.staff) .sg-teaser,
html.gc:not(.light):not(.staff) section.record, html.gc:not(.light):not(.staff) article.clip, html.gc:not(.light):not(.staff) .roles, html.gc:not(.light):not(.staff) .noton {
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: var(--gl); padding: 18px 16px; box-shadow: 0 14px 36px rgba(0,0,0,.28); }
html.gc:not(.light):not(.staff) .setcard { border-top: 1px solid rgba(141,176,242,.35); background: radial-gradient(90% 80% at 100% 0%, rgba(36,88,184,.3), transparent 60%), var(--gl); }
html.gc:not(.light):not(.staff) .yours { border-left: 3px solid #E8C46A; background: radial-gradient(80% 90% at 0% 50%, rgba(232,196,106,.12), transparent 60%), var(--gl); }
html.gc:not(.light):not(.staff) .sg-teaser { border-left: 3px solid #E8C46A; }
html.gc:not(.light):not(.staff) article.clip { margin-bottom: 16px; }
html.gc:not(.light):not(.staff) .video, html.gc:not(.light):not(.staff) .video video, html.gc:not(.light):not(.staff) figure.fx-pitch svg, html.gc:not(.light):not(.staff) figure.pattern { border-radius: 14px; overflow: hidden; }
html.gc:not(.light):not(.staff) figure.fx-pitch svg { box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06); }
/* lists → card stacks */
html.gc:not(.light):not(.staff) .drills, html.gc:not(.light):not(.staff) .msteps { border-top: 0; display: grid; gap: 8px; }
html.gc:not(.light):not(.staff) .drills a, html.gc:not(.light):not(.staff) .msteps > li { padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: var(--gl); }
html.gc:not(.light):not(.staff) .drills a { transition: transform .18s, border-color .18s, box-shadow .18s; }
html.gc:not(.light):not(.staff) .drills a:hover { transform: translateY(-2px); border-color: rgba(141,176,242,.35); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
html.gc:not(.light):not(.staff) .drills a > :last-child { font-family: "JBM", ui-monospace, monospace; }
/* schedule: each event a card, date as a tile */
html.gc:not(.light):not(.staff) article.ev { margin-bottom: 8px; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: var(--gl); }
html.gc:not(.light):not(.staff) article.ev > :first-child { display: grid; place-content: center; text-align: center; border-radius: 12px; background: rgba(36,88,184,.16); border: 1px solid rgba(141,176,242,.22); padding: 6px 0; }
@media (prefers-reduced-motion: reduce) { html.gc .drills a { transition: none; } html.gc .drills a:hover { transform: none; } }
html.gc:not(.light):not(.staff) section.record { padding: 16px 10px; }
html.gc:not(.light):not(.staff) section.record .tbl th, html.gc:not(.light):not(.staff) section.record .tbl td { padding-left: 5px; padding-right: 5px; }
html.gc:not(.light):not(.staff) article.ev > :first-child { align-self: start; min-height: 64px; }
[hidden] { display: none !important; }

/* ---- Player side v2 · play screen and the rest (Nov 23 2026, preview only) ---- */
html.gc:not(.light) .trainer .hud { padding: 6px 6px 6px 6px; border-radius: 14px; background: rgba(8,11,16,.55); border: 1px solid rgba(255,255,255,.07); }
html.gc:not(.light) .trainer .quit { border-radius: 10px; min-height: 40px; }
html.gc:not(.light) .hud-r b { font-family: "JBM", ui-monospace, monospace; font-weight: 500; }
html.gc:not(.light) .hud-r em { font-family: "JBM", ui-monospace, monospace; color: #F0D488; text-shadow: 0 0 14px rgba(232,196,106,.4); }
html.gc:not(.light) .timer { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); }
html.gc:not(.light) .timer i { border-radius: 3px; background: linear-gradient(90deg, #2458B8, #8DB0F2); box-shadow: 0 0 12px rgba(141,176,242,.6); }
html.gc:not(.light) .timer i.danger { background: linear-gradient(90deg, #FF7A59, #FF9A6B); box-shadow: 0 0 14px rgba(255,122,89,.7); }
html.gc:not(.light) .trainer .board-wrap, html.gc:not(.light) .board-wrap { border-radius: 18px; overflow: hidden; border-color: rgba(255,255,255,.08); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
html.gc:not(.light) .scn { color: #E8C46A; }
html.gc:not(.light) .opts { gap: 8px; }
html.gc:not(.light) .opt { grid-template-columns: 32px 1fr; min-height: 56px; border-radius: 14px; border: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, rgba(28,34,44,.95), rgba(20,24,31,.95)); transition: transform .14s, border-color .14s, box-shadow .14s; }
html.gc:not(.light) .opt-k { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-family: "JBM", ui-monospace, monospace; font-weight: 500; color: #8DB0F2; background: rgba(36,88,184,.16); border: 1px solid rgba(141,176,242,.28); }
html.gc:not(.light) .opt:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(141,176,242,.5); box-shadow: 0 10px 26px rgba(0,0,0,.35), 0 0 22px rgba(36,88,184,.25); }
html.gc:not(.light) .opt:active:not(:disabled) { transform: scale(.99); }
html.gc:not(.light) .opt.right { border-color: rgba(95,211,156,.7); background: radial-gradient(90% 120% at 0% 50%, rgba(95,211,156,.2), transparent 60%), #15201B; box-shadow: 0 0 26px rgba(95,211,156,.25); }
html.gc:not(.light) .opt.right .opt-k { color: #0E1116; background: #5FD39C; border-color: #5FD39C; }
html.gc:not(.light) .opt.wrong { border-color: rgba(255,122,89,.7); background: radial-gradient(90% 120% at 0% 50%, rgba(255,122,89,.18), transparent 60%), #221714; animation: optShake .35s; }
html.gc:not(.light) .opt.wrong .opt-k { color: #0E1116; background: #FF7A59; border-color: #FF7A59; }
html.gc:not(.light) .opt:disabled:not(.right):not(.wrong) { opacity: .5; }
@keyframes optShake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
html.gc:not(.light) .feedback { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: var(--gl, #161A21); padding: 18px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
html.gc:not(.light) .feedback::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #5FD39C, transparent); }
html.gc:not(.light) .feedback.no::before { background: linear-gradient(90deg, #FF7A59, transparent); }
html.gc:not(.light) .feedback { border-left: 1px solid rgba(255,255,255,.08); }
html.gc:not(.light) .fb-meta { font-family: "JBM", ui-monospace, monospace; }

/* Unit battle: cards with glowing bars */
html.gc:not(.light) .units { gap: 8px; }
html.gc:not(.light) .units li { padding: 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: var(--gl, #161A21); }
html.gc:not(.light) .units li.mine { border-color: rgba(232,196,106,.4); box-shadow: 0 0 24px rgba(232,196,106,.1); }
html.gc:not(.light) .u-val { font-family: "JBM", ui-monospace, monospace; font-weight: 500; }
html.gc:not(.light) .u-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
html.gc:not(.light) .u-bar i { border-radius: 4px; background: linear-gradient(90deg, #2458B8, #8DB0F2); min-width: 4px; }
html.gc:not(.light) .units .mine .u-bar i { background: linear-gradient(90deg, #B08A2E, #E8C46A); box-shadow: 0 0 10px rgba(232,196,106,.5); }
html.gc:not(.light) .units .mine .u-name { color: #F0D488; }

/* The 8 Laws and weeks as cards */
html.gc:not(.light):not(.staff) .laws, html.gc:not(.light):not(.staff) .weeks { border-top: 0; display: grid; gap: 8px; }
html.gc:not(.light):not(.staff) .laws li, html.gc:not(.light):not(.staff) .weeks li { padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; background: var(--gl, #161A21); }
html.gc:not(.light):not(.staff) .laws li { grid-template-columns: 44px 1fr; align-items: start; }
html.gc:not(.light):not(.staff) .laws li > :first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font: 500 1rem/1 "JBM", ui-monospace, monospace; color: #E8C46A; background: rgba(232,196,106,.12); border: 1px solid rgba(232,196,106,.3); }
html.gc:not(.light):not(.staff) .weeks li.current { border-color: rgba(141,176,242,.4); background: radial-gradient(90% 90% at 100% 0%, rgba(36,88,184,.3), transparent 60%), var(--gl, #161A21); }
html.gc:not(.light):not(.staff) .calls > div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
html.gc:not(.light):not(.staff) .calls dt { font-family: "JBM", ui-monospace, monospace; color: #8DB0F2; }

/* Locked page */
html.gc:not(.light) .lockc { position: relative; margin: 8px 0 24px; padding: 22px 18px; border-radius: 20px; border: 1px dashed rgba(141,176,242,.35); background: radial-gradient(70% 80% at 100% 0%, rgba(36,88,184,.25), transparent 60%), var(--gl, #161A21); }
html.gc:not(.light) .lock-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #E8C46A; background: rgba(232,196,106,.12); border: 1px solid rgba(232,196,106,.3); margin-bottom: 14px; }
html.gc:not(.light) .lock-ic svg { width: 24px; height: 24px; }
html.gc:not(.light) .lock-t { display: flex; align-items: baseline; gap: 4px; margin: 0 0 16px; }
html.gc:not(.light) .lock-t b { font: 500 2.2rem/1 "JBM", ui-monospace, monospace; color: #F0D488; text-shadow: 0 0 18px rgba(232,196,106,.35); }
html.gc:not(.light) .lock-t small { color: #A9B3C1; margin-right: 8px; }
html.gc:not(.light) .lock-t span { margin-left: 6px; color: #A9B3C1; font-size: .9rem; }
html.gc:not(.light) .lockc ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
html.gc:not(.light) .lockc li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(8,11,16,.45); border: 1px solid rgba(255,255,255,.06); color: #A9B3C1; }
html.gc:not(.light) .lockc li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #8DB0F2; }
@media (prefers-reduced-motion: reduce) { html.gc .opt { transition: none; } html.gc .opt.wrong { animation: none; } html.gc .opt:hover:not(:disabled) { transform: none; } }
/* Results after a set or quiz */
html.gc:not(.light) section.result { padding: 18px 16px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: radial-gradient(90% 70% at 50% 0%, rgba(36,88,184,.3), transparent 65%), var(--gl, #161A21); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
html.gc:not(.light) section.result .kpis.big strong { font-family: "JBM", ui-monospace, monospace; font-weight: 500; }
html.gc:not(.light) section.result .kpis.big > div:first-child strong { color: #F0D488; text-shadow: 0 0 18px rgba(232,196,106,.4); }
html.gc:not(.light) .fx-xp { border-radius: 22px; border: 1px solid rgba(232,196,106,.3); background: radial-gradient(80% 80% at 50% 0%, rgba(232,196,106,.2), transparent 65%), radial-gradient(90% 80% at 50% 100%, rgba(36,88,184,.25), transparent 65%), #13171E; box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px rgba(232,196,106,.1); }
html.gc:not(.light) .fx-xp-gain { color: #F0D488; text-shadow: 0 0 24px rgba(232,196,106,.5); }
html.gc:not(.light) .spq .opt, html.gc:not(.light) .spq button.opt { border-radius: 14px; }
/* Tap-to-watch panel (Nov 23 2026) */
.evp { position: fixed; z-index: 60; right: 16px; bottom: 76px; width: min(360px, calc(100vw - 32px)); background: var(--s1); border: 1px solid var(--line-2); border-left: 3px solid var(--gold); padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.evp-h { display: flex; justify-content: space-between; align-items: start; gap: 8px; } .evp-h .label { margin: 0; }
.evp-x { min-width: 44px; min-height: 44px; margin: -10px -12px 0 0; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }
.evp-t { margin: 4px 0 6px; font-weight: 600; } .evp-v { margin: 0 0 10px; }
.evp-b { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; } .evp video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; display: block; margin: 0 0 10px; }
[data-ev]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 900px) { .evp { bottom: 24px; } }

/* Tactical library (Nov 23 2026) */
.lib-f { display: grid; gap: 10px; margin: 12px 0 4px; padding: 12px; border: 1px solid var(--line-2); background: var(--s2); }
.lib-f label { display: grid; gap: 4px; font-size: .9rem; } .lib-f input, .lib-f select, .lib-f textarea { width: 100%; min-height: 44px; }
.lib-k { display: flex; flex-wrap: wrap; gap: 8px; } .lib-r { display: flex !important; grid-auto-flow: column; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-2); cursor: pointer; } .lib-r input { width: auto; min-height: 0; }
.lib-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } @media (max-width: 480px) { .lib-2 { grid-template-columns: 1fr; } }
.lib-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; } .lib-card { padding: 14px; border: 1px solid var(--line); background: var(--s2); } .lib-card h3 { margin: 4px 0 6px; } .lib-card p { margin: 0 0 6px; }
.lib-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 0 0 12px; } .lib-filters input, .lib-filters select { min-height: 44px; width: 100%; }
.evp { max-height: calc(100vh - 110px); overflow-y: auto; }
.lib-v { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; display: block; margin: 8px 0; max-width: 480px; }

/* IDP cycle (Nov 23 2026): the player's 5-game block above his goal bars. */
.cycw { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 10px 12px; margin: 10px 0 14px; }
.cycw .label { margin: 0 0 6px; }
.cycw .fine { margin: 6px 0 0; }
.cycd { display: flex; gap: 6px; }
.cycd i { flex: 1 1 0; height: 8px; border-radius: 4px; background: var(--line); }
.cycd i.on { background: var(--gold); }
/* Staff agents page (Nov 23 2026): one section per agent */
.ag-list .ag-top { display: block; margin-top: 4px; color: var(--text); font-size: .92rem; line-height: 1.35; max-width: 70ch; }
/* Staff agents: Director of Sport bird's-eye view (Nov 23 2026) */
.ag-eye .ag-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.ag-eye .ag-kpis div { background: var(--s2); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.ag-eye .ag-kpis b { display: block; font: 700 1.5rem/1.1 var(--display); color: var(--text); }
.ag-eye .ag-kpis span { display: block; font-size: .8rem; color: var(--dim); }
.ag-status { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; }
.ag-status a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ag-status strong { font-weight: 600; }
.ag-status span:not(.ag-dot) { color: var(--dim); font-size: .85rem; }
.ag-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--faint); }
.ag-dot.ok { background: var(--good); } .ag-dot.warn { background: var(--gold); } .ag-dot.bad { background: var(--bad); } .ag-dot.on { background: var(--accent); }
@media (max-width: 560px) { .ag-eye .ag-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Football Intelligence brief pages (fi.js, Nov 23 2026): evidence, game model manager, match problems, training transfer */
.fi-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; margin-bottom: 14px; }
.fi-m { margin: 0; }
.fi-big { margin: 6px 0 0; } .fi-big strong { font: 500 2.2rem/1 var(--mono, monospace); font-variant-numeric: tabular-nums; } .fi-big span { color: var(--dim); font-family: var(--mono, monospace); font-size: .85rem; }
.fi-bar { height: 6px; border-radius: 3px; background: var(--line-2); margin: 10px 0; overflow: hidden; } .fi-bar i { display: block; height: 100%; background: var(--data, var(--accent)); }
.fi-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .fi-head h2 { margin: 0; }
.fi-obs { list-style: none; margin: 10px 0 0; padding: 0; }
.fi-obs li { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.fi-obs li .pill { justify-self: start; } .fi-obs small { display: block; color: var(--dim); font-size: .8rem; margin-top: 2px; }
.fi-act { display: flex; gap: 8px; align-items: center; }
.fi-form { display: grid; gap: 10px; margin: 12px 0; } .fi-form label { display: grid; gap: 4px; }
.fi-laws { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.fi-laws a { flex: 0 0 auto; padding: 9px 12px; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); text-decoration: none; font-size: .88rem; white-space: nowrap; }
.fi-laws a.on { border-color: var(--btn, var(--accent)); background: var(--hl); }
.fi-laws .mono { font-family: var(--mono, monospace); font-size: .75rem; color: var(--dim); }
.fi-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 14px; } .fi-two .ch-card { margin: 0; }
.fi-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin-bottom: 14px; } .fi-three .ch-card { margin: 0; }
.fi-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; margin: 10px 0; }
.fi-new { border-left: 2px solid var(--gold); padding-left: 12px; }
.fi-imp { list-style: none; margin: 8px 0 0; padding: 0; } .fi-imp li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.fi-imp b { font-family: var(--mono, monospace); font-weight: 500; } .fi-imp small { flex-basis: 100%; color: var(--dim); font-size: .78rem; }
.warn-t { color: var(--gold-ink, var(--gold)); }
.fi-fix { border: 0; padding: 0; margin: 0 0 10px; } .fi-fix legend { font-size: .78rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.fi-opt { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 6px; cursor: pointer; }
.fi-opt:has(input:checked) { border-color: var(--btn, var(--accent)); background: var(--hl); } .fi-opt input { width: 18px; height: 18px; } .fi-opt small { margin-left: auto; color: var(--dim); }
.fi-clips { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; max-height: 220px; overflow-y: auto; } .fi-clips small { color: var(--dim); }
.fi-blocks { padding-left: 18px; margin: 8px 0; } .fi-blocks li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.fi-tt th[scope="row"] { min-width: 150px; } .fi-tt th small { display: block; font: 400 .74rem var(--body); letter-spacing: 0; text-transform: none; color: var(--dim); }
.fi-c { text-align: center; font-family: var(--mono, monospace); font-size: .85rem; } .fi-c small { display: block; color: var(--dim); font-size: .72rem; }
.fi-c.l1 { background: rgba(79,130,224,.14); } .fi-c.l2 { background: rgba(79,130,224,.28); } .fi-c.l3 { background: rgba(79,130,224,.45); }
.fi-warn { border-color: var(--gold); }
@media (max-width: 600px) { .fi-obs li { grid-template-columns: 1fr; } }
.fi-opt, .fi-clips label { text-transform: none; letter-spacing: 0; font: 500 .95rem var(--body); color: var(--text); }
.fi-opt small { font-family: var(--mono, monospace); font-size: .72rem; }
/* Law change log (Nov 23 2026) */
.lawchg { border-left: 3px solid var(--gold); padding: 2px 0 2px 12px; margin-bottom: 14px; }
.lawchg .label { margin: 0 0 4px; }
.lawchg .fine { margin: 2px 0; }
.lawchg s { opacity: .6; }
pre.code { overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--card2, rgba(255,255,255,.04)); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: 12px; margin: 6px 0; }

/* Data-coverage badges (Nov 24 2026): only tiers 3-5 show, so a badge always means "read this number carefully". */
.mbadge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 1px 6px; border-radius: 999px; margin-left: 6px; vertical-align: middle; white-space: nowrap;
  border: 1px solid var(--line, #dde3ee); color: var(--muted, #5a6680); background: transparent; cursor: help; }
.mbadge.t3 { border-color: #8a6d3b; color: #8a6d3b; }
.mbadge.t4 { border-color: #1f7ae0; color: #1f7ae0; }
.mbadge.t5 { border-color: #b04a3f; color: #b04a3f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mbadge.t3 { border-color: #d9ab4a; color: #d9ab4a }
  :root:not([data-theme="light"]) .mbadge.t4 { border-color: #4ea0ff; color: #4ea0ff }
  :root:not([data-theme="light"]) .mbadge.t5 { border-color: #e07468; color: #e07468 } }
:root[data-theme="dark"] .mbadge.t3 { border-color: #d9ab4a; color: #d9ab4a }
:root[data-theme="dark"] .mbadge.t4 { border-color: #4ea0ff; color: #4ea0ff }
:root[data-theme="dark"] .mbadge.t5 { border-color: #e07468; color: #e07468 }

/* Build day, Nov 24 2026: depth gaps, half-by-half shape, width/length, chance web, data health. */
.dg-thin td { background: color-mix(in srgb, var(--coral, #e2725b) 7%, transparent); }
.dg-none { color: var(--coral, #e2725b); font-weight: 600; }

/* Two pitches side by side, stacking on a phone. */
.sh-game { margin: 0 0 18px; }
.sh-pair { display: grid; gap: 12px; grid-template-columns: 1fr; }
.sh-pair figure { margin: 0; }
.sh-pair figcaption { margin-top: 4px; }
@media (min-width: 720px) { .sh-pair { grid-template-columns: 1fr 1fr; } }
.sh-pm { width: 100%; height: auto; }
.sh-dot { fill: var(--cobalt, #2458b8); opacity: .85; }
.sh-h2 .sh-dot { fill: var(--gold, #c8a44a); }
.sh-lbl { font-size: 2.6px; fill: #fff; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }

/* Data health severities. */
.dh-tag { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.dh-block .dh-tag { background: var(--coral, #e2725b); color: #fff; }
.dh-warn .dh-tag { background: var(--gold, #c8a44a); color: #1b1b1b; }
.dh-note .dh-tag { background: var(--border, #d5dce6); color: #333; }
.fse-fx { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font: 600 .78rem var(--body); color: var(--dim); }
.fse-fx label { display: inline-flex; gap: 4px; align-items: center; min-height: 36px; cursor: pointer; } .fse-fx input:disabled + * { opacity: .5; }
/* Coach's answer on player clips (Nov 24 2026) */
.reveal { margin-top: 14px; padding: 12px; border: 1px solid var(--gold); border-radius: 12px; background: rgba(217,182,90,.06); }
.reveal-t { margin: 10px 0 6px; font-weight: 600; line-height: 1.45; }
/* Form: share of team beside per 90 (JT, Nov 24 2026). */
.fm-real { color: var(--gold, #c8a44a); }
.fm-conf { color: var(--coral, #e2725b); }
/* Film session and microcycle (Nov 24 2026). */
.fs-topic { margin: 0 0 12px; padding-left: 10px; border-left: 3px solid var(--cobalt, #2458b8); }
.fs-t { display: inline-block; padding: 1px 6px; margin: 0 2px 2px 0; border-radius: 4px; background: var(--border, #d5dce6); color: #222831; font-variant-numeric: tabular-nums; font-size: 12px; }
.mc-md td { background: color-mix(in srgb, var(--gold, #c8a44a) 14%, transparent); }

/* Tactical board V3 (Nov 24 2026): DME broadcast look, shape engine overlays, set pieces, drill kit, pins, present mode */
.tb-svg { background: #0d3324; }
.tb-grass { fill: #123d2b; }
.tb-stripe { opacity: .035; }
.tb-us circle { fill: #D9B65A; stroke: #0A0F1F; filter: drop-shadow(0 .4px .5px rgba(0,0,0,.55)); }
.tb-us .tb-role { fill: #0A0F1F; }
.tb-them circle { fill: #2a1414; stroke: #FF7A59; stroke-width: .45; }
.tb-them .tb-role { fill: #FFB4A1; }
.tb-p.sel circle { stroke: #4DA3FF; stroke-width: .8; }
.tb-arrow.tb-run { stroke: #D9B65A; } .tb-head-run { fill: #D9B65A; }
.tb-num circle { fill: #D9B65A; } .tb-svg .tb-num text { fill: #0A0F1F; font-size: 1.9px; }
.tb-cone.us { fill: rgba(217,182,90,.16); } .tb-cone.them { fill: rgba(255,122,89,.12); } .tb-face { stroke: #fff; stroke-width: .35; }
.tb-ghost { fill: none; stroke-width: .35; stroke-dasharray: .8 .6; } .tb-ghost.us { stroke: rgba(217,182,90,.8); } .tb-ghost.them { stroke: rgba(255,122,89,.7); }
.tb-area { fill: rgba(255,255,255,.04); stroke: #fff; stroke-width: .3; stroke-dasharray: 1 .7; } .tb-svg .tb-areat { font-size: 1.8px; }
.tb-conep { fill: #FF9F1C; } .tb-mgoal { fill: none; stroke: #fff; stroke-width: .35; }
.tb-pin { cursor: pointer; } .tb-pin circle { fill: #4DA3FF; } .tb-pinl { stroke: #4DA3FF; stroke-width: .3; }
.tb-pin rect { fill: rgba(6,9,20,.88); stroke: #4DA3FF; stroke-width: .2; } .tb-svg .tb-pin text { font-size: 1.7px; font-weight: 600; } .tb-svg .tb-pinby { text-anchor: start; font-size: 1.3px; fill: #A7B2CF; }
.tb-meas { fill: none; stroke: #4DA3FF; stroke-width: .35; } .tb-lineh { stroke: #D9B65A; stroke-width: .3; stroke-dasharray: 1.2 .8; }
.tb-sp { stroke: none; } .tb-sp.us { fill: rgba(217,182,90,.17); } .tb-sp.them { fill: rgba(255,122,89,.17); }
.tb-ol { fill: none; stroke-width: .45; } .tb-ol.us { stroke: #D9B65A; fill: rgba(217,182,90,.08); } .tb-ol.them { stroke: #FF7A59; fill: rgba(255,122,89,.1); }
.tb-svg .tb-olt { font-size: 2px; text-anchor: end; font-weight: 700; } .tb-olt.us { fill: #D9B65A; } .tb-olt.them { fill: #FF7A59; }
.tb-reach { fill: none; stroke: #4DA3FF; stroke-width: .25; stroke-dasharray: .9 .6; } .tb-svg .tb-reacht { font-size: 1.5px; fill: #4DA3FF; }
.tb-box { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.tb-box summary { cursor: pointer; font-weight: 600; }
.tb-seg { display: flex; gap: 6px; } .tb-seg.wrap { flex-wrap: wrap; }
.tb-seg .tb-tool, .tb-sel .tb-tool { min-height: 44px; }
.tb-spar { border-color: #FF7A59; }
.tb-filmimg { width: 100%; border-radius: 8px; margin-top: 6px; display: block; }
.tb-present { background: radial-gradient(circle at 70% 0%, #121c3d 0%, #060914 60%); }
.tbp-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tbp-body { min-height: 0; display: flex; gap: 16px; justify-content: center; align-items: stretch; perspective: 1600px; }
.tbp-film { flex: 1 1 0; min-width: 0; display: flex; align-items: center; } .tbp-film img { width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; border: 1px solid #1B2547; }
.tbp-stage { transition: transform .8s ease; transform-origin: 50% 100%; }
.tbp-stage.tilt { transform: rotateX(30deg) scale(.92); }
.tbp-title { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(6,9,20,.92); }
.tbp-title[hidden] { display: none; }
.tbp-k { margin: 0; font: 700 .95rem/1 "JetBrains Mono", monospace; letter-spacing: .2em; color: #D9B65A; text-transform: uppercase; }
.tbp-h { margin: 0; font: 700 clamp(2rem, 6vw, 4.2rem)/1.1 var(--display, "Space Grotesk"), sans-serif; text-align: center; }
.tbp-code { font-family: "JetBrains Mono", monospace; color: #D9B65A; font-size: 1.2rem; letter-spacing: .15em; }
.rm-pad { display: grid; gap: 12px; max-width: 420px; }
.rm-pad .btn { min-height: 64px; font-size: 1.15rem; }
.rm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .tbp-stage { transition: none; } }
.tb-freeh { fill: none; stroke: #FF7A59; stroke-width: .3; stroke-dasharray: .8 .6; } .tb-svg .tb-freet { font-size: 1.5px; fill: #FF7A59; }

/* Tactical board V4 (Nov 25 2026): icon toolbar, overlay menu, HUD card, landscape broadcast present, live tools */
.tb-them circle { fill: #1c1010; stroke: var(--tb-opp, #FF7A59); stroke-width: .45; }
.tb-them .tb-role { fill: #fff; }
.tb-us .tb-role { font-weight: 800; }
.tb-svg .tb-ring { fill: none; stroke: rgba(255,255,255,.55); stroke-width: .18; filter: none; }
.tb-net path { stroke: rgba(255,255,255,.45); stroke-width: .12; }
.tb-stripe { opacity: .045; }
.tb-bshadow { fill: rgba(0,0,0,.35); }
.tb-chev.us { fill: #D9B65A; } .tb-chev.them { fill: var(--tb-opp, #FF7A59); }
.tb-mline { stroke: #4DA3FF; stroke-width: .35; fill: none; }
.tb-mbox, .tb-tagb { fill: rgba(6,9,20,.85); stroke: #4DA3FF; stroke-width: .15; }
.tb-svg .tb-mlab, .tb-svg .tb-tag { font-size: 1.6px; fill: #fff; font-weight: 700; }
.tb-measure.sel .tb-mline { stroke-width: .6; }
.tb-offl { stroke-width: .3; stroke-dasharray: 1.6 .8; } .tb-offl.us { stroke: #D9B65A; } .tb-offl.them { stroke: var(--tb-opp, #FF7A59); }
.tb-svg .tb-offt { font-size: 1.5px; font-weight: 700; } .tb-offt.us { fill: #D9B65A; } .tb-offt.them { fill: var(--tb-opp, #FF7A59); }
.tb-shadow { fill: rgba(6,9,20,.38); }
.tb-show { fill: none; stroke: #D9B65A; stroke-width: .4; stroke-dasharray: 1 .7; } .tb-svg .tb-showt { font-size: 1.5px; fill: #D9B65A; }
.tb-spimg { image-rendering: auto; }
/* landscape: free-standing overlay text turns upright */
.tb-land .tb-olt, .tb-land .tb-reacht, .tb-land .tb-areat, .tb-land .tb-ovt text { transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
/* toolbar */
.tb-ic { display: inline-flex; align-items: center; gap: 6px; }
.tb-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tb-ic span { font-size: .78rem; }
@media (max-width: 1100px) { .tb-ic span { display: none; } .tb-ic { min-width: 44px; justify-content: center; } }
.tb-ovmenu { position: relative; }
.tb-ovmenu > summary { list-style: none; cursor: pointer; } .tb-ovmenu > summary::-webkit-details-marker { display: none; }
.tb-ovmenu[open] > .tb-ovs { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 6px; padding: 10px; background: #0d1428; border: 1px solid #1B2547; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
@media (max-width: 700px) { .tb-bar { position: sticky; top: 0; z-index: 15; background: #060914; padding-block: 6px; } .tb-ovmenu[open] > .tb-ovs { position: fixed; left: 8px; right: 8px; top: auto; } }
.tb-stagewrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tb-hud, .tbp-hud { display: flex; flex-wrap: wrap; gap: 6px; }
.tb-hud[hidden], .tbp-hud[hidden] { display: none; }
.tb-hud span, .tbp-hud span { background: rgba(13,20,40,.9); border: 1px solid #1B2547; border-left: 3px solid #4DA3FF; border-radius: 8px; padding: 5px 10px; font: 600 .8rem/1.3 "JetBrains Mono", monospace; color: #ECEFF7; }
.tb-kitrow { align-items: center; gap: 12px; flex-wrap: wrap; }
.tb-kit { display: inline-flex; align-items: center; gap: 8px; }
.tb-kit input[type=color] { width: 44px; height: 32px; padding: 0; border: 1px solid #1B2547; border-radius: 8px; background: none; }
.tb-fthumb { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; min-width: 52px; }
.tb-fthumb svg { width: 40px; height: auto; border-radius: 3px; pointer-events: none; }
.tb-fthumb span { font: 600 .7rem/1 "JetBrains Mono", monospace; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-fthumb[aria-pressed=true] { outline: 2px solid #D9B65A; }
/* present V4 */
.tb-present { display: grid; grid-template-rows: auto auto 1fr auto auto; }
.tbp-live { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 4px 0; }
.tbp-stagebox { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tbp-stagebox::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 60%, rgba(6,9,20,.55) 100%); }
.tbp-stage.land { width: min(100%, calc((100vh - 230px) * 109 / 72)); }
.tbp-stage.land .tb-svg { width: 100%; height: auto; max-height: none; }
.tbp-stage.tooling { cursor: crosshair; touch-action: none; }
.tbp-stage.flying { transition: transform 1.4s cubic-bezier(.3,.7,.2,1); }
.tbp-stage .tb-run, .tbp-stage .tb-carry, .tbp-arr { stroke-dasharray: 160; stroke-dashoffset: 160; animation: tbdraw 1s .25s ease-out forwards; }
@keyframes tbdraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .tbp-stage .tb-run, .tbp-stage .tb-carry, .tbp-arr { animation: none; stroke-dashoffset: 0; } .tbp-stage.flying { transition: none; } }
.tbp-box { fill: rgba(217,182,90,.18); stroke: #D9B65A; stroke-width: .35; }
.tbp-arr { fill: none; stroke: #D9B65A; stroke-width: .6; stroke-linecap: round; stroke-linejoin: round; }
.tbp-dot { fill: #D9B65A; }
.tbp-ring { fill: none; stroke: #4DA3FF; stroke-width: .55; filter: drop-shadow(0 0 .6px #4DA3FF); }
.tbp-mini { position: absolute; top: 8px; right: 8px; width: 22%; max-width: 260px; border: 1px solid #1B2547; border-radius: 8px; overflow: hidden; background: #060914; z-index: 2; }
.tbp-mini[hidden], .tbp-lens[hidden] { display: none; }
.tbp-mini svg { width: 100%; height: auto; display: block; }
.tbp-lens { position: absolute; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; border: 3px solid #D9B65A; box-shadow: 0 10px 30px rgba(0,0,0,.6); pointer-events: none; z-index: 3; background: #123d2b; }
.tbp-lens svg { width: 100%; height: 100%; }
.tbp-lower { display: flex; align-items: stretch; justify-content: center; gap: 0; margin: 0 auto; max-width: min(1100px, 96vw); min-height: 44px; }
.tbp-lk { background: #D9B65A; color: #0A0F1F; font: 700 .95rem/1 "JetBrains Mono", monospace; padding: 12px 16px; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; border-radius: 8px 0 0 8px; white-space: nowrap; }
.tbp-lower .tbp-note { background: rgba(13,20,40,.92); border: 1px solid #1B2547; border-left: 0; border-radius: 0 8px 8px 0; padding: 10px 16px; font-size: 1.05rem; line-height: 1.35; display: flex; align-items: center; margin: 0; }
.tbp-lower .tbp-note:empty { display: none; } .tbp-lower .tbp-note:empty ~ *, .tbp-lk:only-child { border-radius: 8px; }

.tbp-stagebox { perspective: 1600px; }
.tbp-hud span { font-size: .95rem; }
/* Playbook view (V6) */
.pb-view { gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.pb-sec { margin-top: 20px; } .pb-sec h2 { font-size: 1.1rem; border-bottom: 1px solid #1B2547; padding-bottom: 6px; }
.pb-play { background: rgba(13,20,40,.72); border: 1px solid #1B2547; border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.pb-play h3 { margin: 0 0 8px; font-size: 1rem; } .pb-play h3 a { color: inherit; }
.pb-frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.pb-frames figure { margin: 0; } .pb-frames svg { width: 100%; height: auto; border-radius: 6px; display: block; }
.pb-frames figcaption { font-size: .8rem; color: #A7B2CF; margin-top: 4px; line-height: 1.35; }
@media print {
  body.pb-print * { visibility: hidden; }
  body.pb-print #bl, body.pb-print #bl * { visibility: visible; }
  body.pb-print #bl { position: absolute; inset: 0 auto auto 0; width: 100%; background: #fff; color: #111; }
  body.pb-print .pg-ctl { display: none; }
  body.pb-print .pb-play { break-inside: avoid; page-break-inside: avoid; background: #fff; border-color: #ccc; }
  body.pb-print .pb-frames figcaption { color: #333; }
}
/* Present: clean view for online meetings (only the board, lower third and frame arrows; hover the top edge to get the bar back) */
.tb-present.clean .tbp-top, .tb-present.clean .tbp-live, .tb-present.clean .tbp-nav { opacity: 0; transition: opacity .25s; }
.tb-present.clean .tbp-top:hover, .tb-present.clean .tbp-top:focus-within, .tb-present.clean .tbp-nav:hover, .tb-present.clean .tbp-nav:focus-within { opacity: 1; }
.tb-present:fullscreen { width: 100vw; height: 100vh; }

/* ---------- Board V4.1 (Nov 25 2026): lofted pass, trails, their block, pitch zones, present steps/laser/spotlight/compare, presenter view ---------- */
.tb-arrow.tb-loft { stroke: #fff; stroke-width: .5; }
.tb-head-loft { fill: #fff; }
.tb-lshadow { fill: none; stroke: rgba(0,0,0,.45); stroke-width: .35; stroke-dasharray: .6 .8; pointer-events: none; }
.tb-lball { fill: #fff; stroke: #0b1220; stroke-width: .2; pointer-events: none; }
.tb-trail { fill: none; stroke-width: .3; stroke-dasharray: .4 .9; stroke-linecap: round; opacity: .85; }
.tb-trail.us { stroke: var(--tb-gold); } .tb-trail.them { stroke: #FF7A59; } .tb-trail.ball { stroke: #fff; }
.tb-tblock { fill: none; stroke: #FF7A59; stroke-width: .3; stroke-dasharray: 1.2 .8; }
.tb-zg line { stroke: rgba(255,255,255,.22); stroke-width: .2; stroke-dasharray: 1 1; }
.tb-z14 { fill: rgba(77,163,255,.08); stroke: rgba(77,163,255,.5); stroke-width: .2; }
.tb-zgt { font: 600 1.4px "JetBrains Mono", monospace; fill: rgba(255,255,255,.45); text-anchor: middle; letter-spacing: .05px; }
.tb-zgt.z14 { fill: rgba(77,163,255,.85); }
.tbp-stage .tb-loft { stroke-dasharray: 160; stroke-dashoffset: 160; animation: tbdraw 1s .25s ease-out forwards; }
.tbp-stage .tbp-done { animation: none !important; stroke-dashoffset: 0 !important; }
.tbp-dim { fill: rgba(3,5,12,.66); }
.tbp-spr { fill: none; stroke: #D9B65A; stroke-width: .35; filter: drop-shadow(0 0 .8px #D9B65A); }
.tbp-laser { stroke: #FF3B30; stroke-width: .7; stroke-linecap: round; filter: drop-shadow(0 0 .7px #FF3B30); }
.tbp-ldot { fill: #FF3B30; filter: drop-shadow(0 0 1px #FF3B30); }
.tbp-stage.lasering { cursor: none; }
.tbp-sep { width: 1px; align-self: stretch; background: #1B2547; margin: 0 4px; }
.tbp-cmp { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .92; }
.tbp-cmp svg { width: 100%; height: auto; max-height: calc(100% - 28px); }
.tbp-ck { margin: 0; font: 600 12px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #A7B2CF; }
.tbp-body.cmp .tbp-stagebox { flex: 1 1 0; }
@media (prefers-reduced-motion: reduce) { .tbp-stage .tb-loft { animation: none; stroke-dashoffset: 0; } }
/* Presenter view (second window) */
.tbpv-body { margin: 0; background: #060914; color: #ECEFF7; font-family: Inter, system-ui, sans-serif; }
.tbpv { display: grid; grid-template-rows: auto 1fr auto auto; gap: 14px; height: 100vh; box-sizing: border-box; padding: 16px 20px; }
.tbpv-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .tbpv-h strong { font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.tbpv-h #pvpos { color: #A7B2CF; font: 500 13px "JetBrains Mono", monospace; }
.tbpv-clock { margin-left: auto; font: 700 28px "JetBrains Mono", monospace; color: #D9B65A; font-variant-numeric: tabular-nums; }
.tbpv-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; min-height: 0; }
.tbpv-grid section { min-height: 0; display: flex; flex-direction: column; background: rgba(13,20,40,.72); border: 1px solid #1B2547; border-radius: 14px; padding: 10px; }
.tbpv-now, .tbpv-next { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.tbpv-now svg, .tbpv-next svg { width: 100%; height: auto; max-height: 100%; }
.tbpv-k { margin: 0 0 6px; font: 600 11px "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #93A0C2; }
.tbpv-sub { margin: 0 0 6px; color: #D9B65A; font-weight: 600; }
.tbpv-notes { background: rgba(13,20,40,.72); border: 1px solid #1B2547; border-radius: 14px; padding: 12px 16px; }
.tbpv-talk { margin: 0; font-size: 22px; line-height: 1.4; white-space: pre-wrap; } .tbpv-on { margin: 8px 0 0; color: #A7B2CF; font-size: 14px; }
.tbpv-nav { display: flex; gap: 10px; align-items: center; } .tbpv-nav .tb-tool { min-height: 48px; min-width: 110px; font-size: 16px; }
.tbpv-go { background: #D9B65A; color: #0A0F1F; border-color: #D9B65A; }
@media (max-width: 760px) { .tbpv-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tbp-body.cmp { flex-direction: column; } .tbp-cmp svg { max-height: 30vh; } }

/* ---------- New Home top, Match Facts, Fest Wrap (Nov 25 2026, preview only: H2()) ---------- */
.h2-dials { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.h2-dial { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.h2-dial svg { width: 76px; height: 76px; }
.h2-dial .h2-tr { fill: none; stroke: var(--line); stroke-width: 8; }
.h2-dial .h2-fg { fill: none; stroke-width: 8; stroke-linecap: round; animation: h2fill 1.1s ease-out both; }
.h2-dial text { font: 700 15px/1 inherit; fill: var(--text); }
.h2-dial > span { font: 600 10px/1.2 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
@keyframes h2fill { from { stroke-dasharray: 0 189; } }
.h2-clip { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--s1); border: 1px solid var(--line); color: var(--text); text-decoration: none; margin: 0 0 10px; animation: h2up .5s ease-out both; }
.h2-clip-th { position: relative; display: block; aspect-ratio: 16 / 9; background: repeating-linear-gradient(90deg, #123d2b 0 30px, #15452f 30px 60px); }
.h2-clip-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h2-clip-th i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0A0F1F; display: flex; align-items: center; justify-content: center; }
.h2-clip-th i svg { width: 20px; height: 20px; }
.h2-clip-th em { position: absolute; top: 10px; left: 10px; font: 700 10px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; font-style: normal; padding: 6px 9px; border-radius: 999px; background: var(--gold, #D9B65A); color: #0A0F1F; }
.h2-clip-t { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.h2-clip-t span { color: var(--dim); font-size: 14px; }
.h2-link { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; margin: 0 0 10px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); color: var(--text); text-decoration: none; animation: h2up .5s .1s ease-out both; }
.h2-link strong { flex: 1; } .h2-link .label { color: var(--gold, #D9B65A); }
.h2-link.wrap { background: linear-gradient(120deg, rgba(217,182,90,.18), var(--s1)); }
@keyframes h2up { from { transform: translateY(14px); opacity: 0; } }
.h2-facts h1 { margin: 2px 0 12px; }
.h2-bug { display: flex; border-radius: 8px; overflow: hidden; margin: 6px 0 14px; font: 700 12px/1 "JetBrains Mono", ui-monospace, monospace; }
.h2-bug span { background: var(--gold, #D9B65A); color: #0A0F1F; padding: 10px 11px; } .h2-bug b { flex: 1; background: var(--s2); padding: 10px 11px; }
.h2-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(105px, 100%), 1fr)); gap: 10px; margin-bottom: 14px; }
.h2-tiles div { background: var(--s1); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.h2-tiles b { font: 700 26px/1 "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; } .h2-tiles small { color: var(--dim); }
.h2-note { border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; background: rgba(217,182,90,.1); border: 1px solid rgba(217,182,90,.35); } .h2-note p { margin: 6px 0 0; }
.h2-wrap { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; padding: 14px 22px 24px; background: #D9B65A; color: #0A0F1F; max-width: 560px; margin: 0 auto; }
.h2-prog { display: flex; gap: 4px; } .h2-prog span { flex: 1; height: 3px; border-radius: 2px; background: rgba(10,15,31,.25); } .h2-prog span.on { background: #0A0F1F; }
.h2-top { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font: 700 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .1em; }
.h2-top a { color: #0A0F1F; text-decoration: none; font-size: 20px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; }
.h2-wrap .h2-k { margin-top: 48px; color: rgba(10,15,31,.8); font-weight: 700; }
.h2-big { margin: 8px 0 0; font: 700 clamp(96px, 32vw, 160px)/.9 "Space Grotesk", system-ui, sans-serif; letter-spacing: -.04em; animation: h2pop .7s cubic-bezier(.2,.9,.3,1.2) both; }
.h2-line { margin: 6px 0 0; font: 700 30px/1.1 "Space Grotesk", system-ui, sans-serif; }
.h2-bars { display: flex; gap: 8px; align-items: flex-end; height: 90px; margin-top: 26px; padding: 14px; border-radius: 16px; background: #0A0F1F; }
.h2-bars span { flex: 1; border-radius: 4px; background: #D9B65A; animation: h2grow .8s ease-out both; transform-origin: bottom; }
.h2-sub { margin: 18px 0 0; font-size: 16px; }
.h2-act { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.h2-act button { min-height: 50px; border-radius: 999px; font: 700 15px "Space Grotesk", system-ui, sans-serif; cursor: pointer; padding: 0 20px; }
.h2-share { flex: 1 1 100%; background: #0A0F1F; color: #ECEFF7; border: 0; }
.h2-next { flex: 1; background: transparent; color: #0A0F1F; border: 2px solid #0A0F1F; } .h2-next:disabled { opacity: .35; }
.h2-fine { margin: 12px 0 0; font-size: 12px; text-align: center; color: rgba(10,15,31,.75); }
@keyframes h2pop { from { transform: scale(.7); opacity: 0; } }
@keyframes h2grow { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .h2-dial .h2-fg, .h2-clip, .h2-link, .h2-big, .h2-bars span { animation: none; } }
@media (max-width: 760px) { .h2-wrap { min-height: 100dvh; } }
