/* ===== core.css (identical on every site) ===== */
:root {
  --font: Inter, system-ui, sans-serif;          /* weights 400 600 800 900 only */
  --n-0:#FFFFFF; --n-50:#F7F7F7; --n-100:#F5F5F5; --n-200:#E5E5E5; --n-300:#D4D4D4;
  --n-400:#A3A3A3; --n-600:#444444; --n-800:#262626; --n-900:#111111; --n-950:#030303;
  --ink: var(--n-900); --ink-2: var(--n-600); --line: var(--n-200); --field-line: var(--n-400);
  --on-dark: var(--n-200); --on-dark-2: var(--n-300);
  --surface: var(--n-0);
  --done:#15803D; --done-bg:#F0FDF4; --problem:#B91C1C; --problem-bg:#FEF2F2; --info-bg: var(--n-100);
  --surface-panel: linear-gradient(105deg,#030303 0%,#111111 42%,#262626 78%,#3D3D3D 100%);
  --surface-page:  linear-gradient(180deg,#E7E7E7 0,#F7F7F7 220px,#FFFFFF 560px);
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px;
  --r-tag:6px; --r-control:10px; --r-card:14px; --r-panel:20px; --r-pill:999px;
  --shadow-xs: 0 8px 18px rgba(0,0,0,.06);
  --shadow-sm: 0 8px 18px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.08);
  --shadow:    0 14px 30px rgba(0,0,0,.14), 0 3px 8px rgba(0,0,0,.10);
  --shadow-panel: 0 22px 44px rgba(0,0,0,.30), 0 6px 14px rgba(0,0,0,.22);
  --control-h: 44px; --row-h: 56px; --w-page: 1060px; --w-text: 760px;
  --ease: cubic-bezier(.2,.7,.2,1); --t-fast: 150ms; --t-med: 300ms;
}
/* two type scales */
.site { --fs-h1: clamp(38px,6vw,56px); --fs-h2: clamp(26px,3.4vw,32px); --fs-h3: 20px;
        --fs-lead: 18px; --fs-body: 17px; --fs-small: 14px; --fs-label: 12px; }
.app  { --fs-h1: 28px; --fs-h2: 20px; --fs-h3: 16px;
        --fs-lead: 16px; --fs-body: 15px; --fs-small: 13px; --fs-label: 12px; --fs-kpi: 36px; }
body { font-family: var(--font); color: var(--ink); background: var(--surface-page); }
button, input, select, textarea { font: inherit; }
h1, h2 { text-transform: uppercase; font-weight: 900; line-height: 1.08; }
/* letter-spacing: only these five values, anywhere */
h1 { letter-spacing: -0.02em; }   h2, h3 { letter-spacing: -0.01em; }
.eyebrow { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.chip, .tag, th { letter-spacing: 0.04em; }
body, p, li, .btn, nav a, input { letter-spacing: 0; word-spacing: normal; }
.num { font-variant-numeric: tabular-nums; }
.chip { font: 800 var(--fs-label)/1 var(--font); padding: 5px 9px; border-radius: var(--r-tag); }
.chip-todo { background: var(--accent-fill); color: var(--accent-fill-ink); }
.chip-done { background: var(--done-bg); color: var(--done); }
.chip-problem { background: var(--problem-bg); color: var(--problem); }
.chip-info { background: var(--info-bg); color: var(--ink-2); }
.btn { min-height: var(--control-h); padding: 0 var(--s-5); border-radius: var(--r-control);
       background: var(--accent-gradient); color: var(--accent-fill-ink); font: 800 16px/1 var(--font);
       box-shadow: var(--shadow-cta); display: inline-flex; align-items: center;
       transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-line { background: none; color: var(--ink); border: 1px solid var(--field-line); box-shadow: none; }
.panel { background: var(--surface-panel); color: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-panel); }
.panel .o { color: var(--accent-on-dark); }
.o { color: var(--accent-on-light); }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* ===== brand-pro.css (league site + Roster Manager) ===== */
:root { --accent-on-dark:#FAE116; --accent-on-light:var(--ink); --accent-text:var(--ink);
  --accent-fill:#FAE116; --accent-fill-ink:#111111; --accent-tint:#FEFCE8;
  --accent-gradient: linear-gradient(180deg,#FEF08A 0%,#FAE116 50%,#EAB308 100%);
  --shadow-cta: 0 10px 20px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.6);
  --accent-ring: rgba(234,179,8,.55); }
.o:not(.panel .o) { background: #FAE116; color: #111111; padding: 0 .2em; border-radius: 6px; box-decoration-break: clone; }


/* ===== app layer: Pro League Registration on the shared system =====
   core.css + brand-pro.css above are the shared system, verbatim — do not edit them here.
   This layer maps the app's existing classes onto the system tokens.
   App conventions in this layer:
   - .panel is the app's light content CARD (every view renders sections as .panel);
     the dark system panel treatment lives on .hero, .stat, .topbar and the footer.
   - .badge carries the core .chip metrics (12px / 800 / radius 6 / 0.04em). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: var(--fs-body); line-height: 1.5; }
img { max-width: 100%; }
b, strong { font-weight: 600; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; }
a { color: inherit; }
:focus-visible { border-radius: var(--r-tag); }
.noscript-msg { padding: var(--s-5); font-weight: 600; }

/* ---- header (scorebug bar, league family) ---- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--surface-panel); color: #fff; border-bottom: 3px solid var(--accent-fill); box-shadow: var(--shadow-sm); }
.topbar-in { max-width: var(--w-page); margin: 0 auto; display: flex; align-items: center; gap: var(--s-2) var(--s-4); padding: var(--s-2) var(--s-4); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: var(--s-2); text-decoration: none; font-weight: 900; text-transform: uppercase; font-size: var(--fs-h3); min-height: var(--control-h); }
.brand .tag { background: var(--accent-fill); color: var(--accent-fill-ink); padding: 6px 10px; border-radius: var(--r-tag); letter-spacing: 0.04em; }
.brand .name { color: #fff; padding: 6px 10px; border: 1px solid var(--on-dark-2); border-radius: var(--r-tag); }
.nav { display: flex; gap: var(--s-1); flex-wrap: wrap; margin-left: auto; align-items: center; }
.nav a, .nav button { color: var(--on-dark); background: none; border: 0; border-bottom: 3px solid transparent; font: inherit; font-weight: 800; font-size: var(--fs-small); text-transform: uppercase; padding: 0 var(--s-2); min-height: var(--control-h); display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.nav a:hover, .nav button:hover { color: var(--accent-on-dark); }
.nav a[aria-current="page"] { color: var(--accent-on-dark); border-bottom-color: var(--accent-fill); }

main { max-width: var(--w-page); margin: 0 auto; padding: var(--s-5) var(--s-4) var(--s-8); }
.narrow { max-width: 520px; margin: 0 auto; }
footer { max-width: var(--w-page); margin: 0 auto var(--s-6); padding: var(--s-5) var(--s-4); background: var(--surface-panel); color: var(--on-dark); border-radius: var(--r-panel); box-shadow: var(--shadow-panel); text-align: center; font-size: var(--fs-small); }

/* ---- hero + light cards ---- */
.hero { background: var(--surface-panel); color: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-panel); padding: var(--s-6); margin-bottom: var(--s-5); }
.hero h1 { margin: 0 0 var(--s-3); color: #fff; }
.hero p { margin: 0 0 var(--s-5); color: var(--on-dark); max-width: 56ch; font-size: var(--fs-lead); }
.hero .btn.ghost { background: none; color: #fff; border: 1px solid var(--on-dark-2); box-shadow: none; }
.hero .btn.dark { background: #fff; color: var(--ink); }
.panel { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: var(--s-5); margin-bottom: var(--s-5); overflow: hidden; }
.panel > h2 { margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-4); padding: var(--s-3) var(--s-5); min-height: var(--control-h); background: var(--surface-panel); color: #fff; font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); }
.panel > h2 .badge { flex: none; }
.page-title { margin: var(--s-1) 0 var(--s-4); }
.crumbs { font-size: var(--fs-small); color: var(--ink-2); margin-bottom: var(--s-1); }
.crumbs a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; display: inline-flex; align-items: center; min-height: var(--control-h); }
.help a, .facts a, p a { padding-top: 3px; padding-bottom: 3px; }
td a { display: inline-flex; align-items: center; min-height: var(--control-h); }
.muted { color: var(--ink-2); }
.row { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.cards { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: var(--s-5); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-xs); padding: var(--s-5); text-decoration: none; display: block; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
a.card:hover, button.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 var(--s-1); }
.card p { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
.cardtag { margin-top: var(--s-2) !important; }
.card.static:hover { transform: none; box-shadow: var(--shadow-xs); }
button.card { font: inherit; text-align: left; cursor: pointer; width: 100%; color: inherit; }
button.card:disabled { opacity: .5; cursor: wait; transform: none; }

/* ---- buttons ---- */
.btn { justify-content: center; text-align: center; cursor: pointer; text-decoration: none; border: 0; }
.btn.dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn.dark:hover { transform: translateY(-2px); }
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--field-line); box-shadow: none; }
.btn.ghost:hover { transform: translateY(-2px); }
.btn.small { min-height: var(--control-h); padding: 0 var(--s-4); font-size: var(--fs-small); }
.btn.danger { background: var(--surface); color: var(--problem); border: 1px solid var(--problem); box-shadow: none; }
.btn.danger:hover { background: var(--problem-bg); transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.block { display: flex; width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; cursor: pointer; min-height: var(--control-h); display: inline-flex; align-items: center; }

/* ---- forms ---- */
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-weight: 800; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--s-1); }
.field .req { color: var(--problem); }
input, select, textarea { width: 100%; font-size: 16px; padding: 11px 12px; border: 1px solid var(--field-line); background: var(--surface); color: var(--ink); border-radius: var(--r-control); min-height: 48px; }
input[readonly] { background: var(--n-100); }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--ink); flex: none; }
input[type="range"] { padding: 0; border: 0; min-height: var(--control-h); accent-color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-ring); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--problem); }
.err { color: var(--problem); font-size: var(--fs-small); font-weight: 600; margin: var(--s-1) 0 0; }
.err:empty { margin: 0; }
.help { color: var(--ink-2); font-size: var(--fs-small); margin: var(--s-1) 0 0; }
.grid2 { display: grid; gap: 0 var(--s-4); }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-4); font-weight: 600; min-height: var(--control-h); }
.check input { margin-top: 2px; }
.field label.check { text-transform: none; letter-spacing: 0; font-size: var(--fs-body); font-weight: 600; align-items: center; }
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.locked { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); padding: 11px 12px; border: 1px solid var(--field-line); border-radius: var(--r-control); background: var(--n-100); min-height: 48px; }

/* ---- tables / badges ---- */
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-body); font-variant-numeric: tabular-nums; }
th { background: none; color: var(--ink-2); text-align: left; padding: var(--s-2) var(--s-3); font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: var(--s-3); border-bottom: 1px solid var(--line); vertical-align: middle; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--accent-tint); }
td select, td input { min-height: var(--control-h); padding: 6px 8px; font-size: 16px; }
td input[type="number"] { width: 90px; }
td select { min-width: 120px; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; font-size: var(--fs-label); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; border-radius: var(--r-tag); background: var(--info-bg); color: var(--ink-2); white-space: nowrap; }
.badge.y { background: var(--accent-fill); color: var(--accent-fill-ink); }
.badge.k { background: var(--ink); color: #fff; }
.badge.bad { background: var(--problem-bg); color: var(--problem); }

/* ---- checklist / steps / notices ---- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); min-height: var(--row-h); }
.checklist li:last-child { border-bottom: 0; }
.tick { width: 26px; height: 26px; border: 1px solid var(--field-line); border-radius: var(--r-tag); display: grid; place-items: center; font-weight: 900; flex: none; color: var(--ink-2); }
.tick.done { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-fill-ink); }
.notice { background: var(--accent-tint); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); margin: 0 0 var(--s-4); font-size: var(--fs-body); }
.notice .btn { margin-left: var(--s-2); }
.steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 0 0 var(--s-4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-xs); }
.steps li { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--s-2) var(--s-1); min-height: 48px; font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; border-right: 1px solid var(--line); color: var(--ink-2); }
.steps li:last-child { border-right: 0; }
.steps li.on { background: var(--accent-fill); color: var(--accent-fill-ink); }
.steps li.done { background: var(--ink); color: #fff; }
.sub { font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin: 0 0 var(--s-2); }
.pre { white-space: pre-wrap; }
ul.plain { list-style: none; padding: 0; margin: 0 0 var(--s-2); }
ul.plain li { padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
.row.tight { gap: var(--s-2); flex-wrap: nowrap; }
.row.apply { align-items: flex-end; }
.row.apply .field { flex: 1 1 200px; margin-bottom: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--s-2) var(--s-4); margin: 0 0 var(--s-4); }
.facts dt { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); padding-top: 2px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.facts .clubline { display: inline-flex; align-items: center; gap: var(--s-2); }
.facts .clubline .crest { margin: 0; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts dd { margin-bottom: var(--s-2); } }
.panel-in h3 { margin: 0 0 var(--s-3); }
.terms { max-height: 55vh; min-height: 220px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); background: var(--n-50); font-size: var(--fs-body); }
.terms h3 { margin: var(--s-4) 0 var(--s-1); }
.terms h3:first-child { margin-top: 0; }
pre.terms { font-family: inherit; }

/* ---- legal sections as boxes: summary up front, full text on click (Alex, 2026-11-03) ---- */
.termbox { border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); background: var(--n-50); margin-bottom: var(--s-3); }
.termbox h3 { margin: 0 0 var(--s-1); font-size: var(--fs-body); }
.termbox p { margin: 0 0 var(--s-2); line-height: 1.55; }
.termbox p:last-child { margin-bottom: 0; }
.termtoggle { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }

/* ---- events / players / photos ---- */
.clubgroup h3 { margin: var(--s-4) 0 var(--s-2); border-bottom: 1px solid var(--line); padding-bottom: var(--s-1); }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--s-3); }
.player { margin: 0; }
.player img, .player .nophoto { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; background: radial-gradient(115% 90% at 50% 38%, #3c3c3c 0%, #1b1b1c 52%, #000000 100%); border: 1px solid var(--line); border-radius: var(--r-control); }
.player figcaption { font-size: var(--fs-small); line-height: 1.25; margin-top: var(--s-1); }
.player figcaption span { display: block; color: var(--ink-2); font-size: var(--fs-label); }
.photo-pair { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 150px; height: 150px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-control); display: block; background: radial-gradient(115% 90% at 50% 38%, #3c3c3c 0%, #1b1b1c 52%, #000000 100%); }
.photo-pair figcaption { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-top: var(--s-1); }
.thumb { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-tag); vertical-align: middle; background: var(--n-200); }
.crop-stage { position: relative; margin: 0 auto var(--s-3); background: var(--n-950); overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); }
.crop-stage canvas { display: block; touch-action: none; cursor: grab; }
.crop-stage canvas:active { cursor: grabbing; }
.oval { position: absolute; left: 20%; top: 8%; width: 60%; height: 76%; border: 3px dashed var(--accent-fill); border-radius: 50%; pointer-events: none; }
.tips { margin: 0 0 var(--s-4); padding-left: 18px; font-size: var(--fs-body); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card-box { border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-4); background: var(--surface); margin-top: var(--s-4); }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s-3); margin-bottom: var(--s-4); }
.stat { background: var(--surface-panel); color: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-sm); padding: var(--s-4); }
.stat strong { display: block; font-size: var(--fs-kpi); font-weight: 900; line-height: 1; color: #fff; }
.stat span { display: block; margin-top: var(--s-1); font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-2); }
table.matrix { table-layout: fixed; min-width: 520px; }
table.matrix th:not(:first-child), table.matrix td:not(:first-child) { width: 84px; text-align: center; }
table.matrix td.yes { background: var(--accent-fill); color: var(--accent-fill-ink); font-weight: 800; text-align: center; }
table.matrix td.no { color: var(--ink-2); text-align: center; }

/* ---- toast / loading ---- */
.toast { position: fixed; left: 50%; bottom: var(--s-5); top: auto; transform: translateX(-50%); width: max-content; max-width: 90vw; z-index: 50; background: var(--n-950); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-control); box-shadow: var(--shadow); font-weight: 600; font-size: var(--fs-body); pointer-events: none; }
.toast.error { background: var(--problem); }
@media (max-width: 640px) { .toast { left: var(--s-3); right: var(--s-3); transform: none; width: auto; max-width: none; } }
.loading { padding: var(--s-7) 0; text-align: center; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--fs-small); color: var(--ink-2); }

/* ---- broadcast composer ---- */
.bc-grid { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .bc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: start; } .bc-sticky { position: sticky; top: var(--s-3); } }
.bc-block { display: flex; gap: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-3); margin-bottom: var(--s-3); background: var(--n-50); }
.bc-blockbody { flex: 1 1 auto; min-width: 0; display: grid; gap: var(--s-2); align-content: start; }
.bc-blockbody > .badge { justify-self: start; }
.bc-ctrl { display: flex; flex-direction: column; gap: var(--s-2); }
.bc-ctrl .btn { padding: 0 var(--s-3); }
.bc-toolbar { margin-bottom: var(--s-1); }
.bc-linkform { margin: var(--s-2) 0; }
.bc-linkform input { flex: 1 1 140px; min-height: var(--control-h); }
.bc-thumb { max-width: 160px; height: auto; border: 1px solid var(--line); border-radius: var(--r-control); display: block; }
.aud-counts { background: var(--info-bg); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); font-weight: 600; }
.bc-big { font-size: var(--fs-lead); margin: 0 0 var(--s-2); }
.bc-big strong { font-size: var(--fs-kpi); font-weight: 900; margin-right: var(--s-2); }
.bc-lint li { display: flex; gap: var(--s-2); align-items: baseline; }
.bc-aiout { margin-top: var(--s-3); }
progress { width: 100%; height: 12px; appearance: none; -webkit-appearance: none; border: 0; border-radius: var(--r-pill); background: var(--n-100); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--n-100); }
progress::-webkit-progress-value { background: var(--accent-gradient); }
progress::-moz-progress-bar { background: var(--accent-fill); }

/* ---- email preview (approximates the branded email template) ---- */
.em-inbox { border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); padding: var(--s-2) var(--s-3); margin: var(--s-2) 0; font-size: var(--fs-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; max-width: 600px; }
.em-bar { height: 6px; background: var(--accent-gradient); }
.em-head { padding: var(--s-4) var(--s-5) var(--s-1); font-weight: 800; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; }
.em-pro { background: var(--n-950); color: var(--accent-on-dark); padding: 3px 7px; border-radius: var(--r-tag); margin-right: var(--s-1); }
.em-kick { font-weight: 600; color: var(--ink-2); text-transform: uppercase; font-size: var(--fs-label); }
.em-body { padding: var(--s-3) var(--s-5) var(--s-2); }
.em-h { margin: var(--s-2) 0 var(--s-3); font-size: var(--fs-h2); line-height: 1.2; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; }
h3.em-h { font-size: var(--fs-h3); }
.em-p { margin: 0 0 var(--s-4); line-height: 1.55; font-size: var(--fs-body); color: var(--ink); overflow-wrap: anywhere; }
.em-p a, .em-h a { color: var(--ink); font-weight: 800; }
.em-btn { display: inline-block; background: var(--accent-gradient); color: var(--accent-fill-ink); border-radius: var(--r-control); padding: 12px 24px; font-weight: 800; font-size: var(--fs-body); text-decoration: none; box-shadow: var(--shadow-cta); }
.em-hr { border: 0; border-top: 2px solid var(--ink); margin: var(--s-2) 0 var(--s-5); }
.em-img { display: block; max-width: 100%; height: auto; margin: 0 0 var(--s-4); border-radius: var(--r-control); }
.em-foot { padding: var(--s-4) var(--s-5) var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-label); color: var(--ink-2); line-height: 1.5; }
.em-unsub { color: var(--ink); text-decoration: underline; }
.em-text { white-space: pre-wrap; background: var(--n-50); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3); font-size: var(--fs-small); overflow-wrap: anywhere; max-height: 520px; overflow: auto; }
[hidden] { display: none !important; }

@media (max-width: 640px) {
  .hero { padding: var(--s-5); }
  .panel { padding: var(--s-4); }
  .panel > h2 { margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-4); padding: var(--s-3) var(--s-4); }
  .brand .name { display: none; }
}

/* ---- Milestone 7: dashboards (app layer only; the core/brand layers above are untouched) ---- */
.brand-logo { height: 44px; width: auto; display: block; }
.subnav { margin: 0 0 var(--s-4); }
.row.tight { gap: var(--s-2); }
.btn.small { min-height: 36px; padding: 0 var(--s-3); font-size: var(--fs-small); }
.btn.danger { background: none; color: var(--danger, #b3261e); border: 1px solid currentColor; box-shadow: none; }
.clubhead { display: flex; gap: var(--s-4); align-items: center; margin-bottom: var(--s-3); }
.clubhead p { margin: 0 0 var(--s-1); }
.crest, .asset { max-width: 100%; height: auto; border-radius: var(--r-control); }
.crest { width: 64px; height: 64px; object-fit: contain; }
.asset { display: block; max-height: 140px; object-fit: contain; margin-bottom: var(--s-3); }
.asset.pdf { display: grid; place-items: center; height: 90px; background: var(--n-50); border: 1px solid var(--line); font-weight: 800; }
ul.plain, ul.squads, ul.agenda, ul.people { list-style: none; margin: 0 0 var(--s-3); padding: 0; }
ul.plain li, ul.agenda li, ul.people li { padding: var(--s-2) 0; border-bottom: 1px solid var(--line); }
ul.squads li { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-1) 0; }
ul.squads li.ok span:first-child { font-weight: 800; }
ul.people li { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.thumb.ph { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-tag); background: var(--n-800); border: 2px solid var(--accent-fill); color: #fff; font-weight: 900; font-size: var(--fs-small); flex: none; vertical-align: middle; }
.agenda-d { margin: var(--s-1) 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.doc { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.banner { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-5); border-radius: var(--r-card); border: 2px solid var(--ink); text-decoration: none; color: var(--ink); background: var(--surface); }
.msg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-4); margin: var(--s-3) 0; }
.msg.unread { border-color: var(--ink); box-shadow: var(--shadow-xs); }
.tab { min-height: 36px; padding: 0 var(--s-4); border-radius: var(--r-control); border: 1px solid var(--field-line); background: none; cursor: pointer; font: inherit; }
.tab.on { background: var(--ink); color: #fff; }
.msgbox { width: 100%; font: inherit; padding: var(--s-3); border: 1px solid var(--field-line); border-radius: var(--r-control); margin: var(--s-2) 0; }
textarea { width: 100%; font: inherit; padding: var(--s-3); border: 1px solid var(--field-line); border-radius: var(--r-control); }
iframe.embed { width: 100%; min-height: 480px; border: 1px solid var(--line); border-radius: var(--r-control); margin-bottom: var(--s-3); }
td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Portal program, Phase 1: free agency (appended; the core / brand layers above are untouched) ---- */
.md { line-height: 1.55; overflow-wrap: anywhere; }
.md h2, .md h3, .md h4 { margin: var(--s-5) 0 var(--s-2); }
.md ul, .md ol { padding-left: var(--s-5); margin: var(--s-2) 0; }
.md li { margin: var(--s-1) 0; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-4) 0; }
.stack { display: flex; flex-direction: column; gap: var(--s-3); }
.panel.inner { margin: 0; }
.verdict { border-left: 8px solid var(--line); }
.verdict.ok { border-left-color: #1f8f4e; }
.verdict.bad { border-left-color: #c0392b; }
.verdict.warn { border-left-color: #d6a100; }
.check-block { margin: var(--s-3) 0; padding-left: var(--s-3); border-left: 4px solid var(--line); }
.check-block.pass { border-left-color: #1f8f4e; }
.check-block.fail { border-left-color: #c0392b; }
.check-block.unknown, .check-block.approval { border-left-color: #d6a100; }
.check-block ul { padding-left: var(--s-5); }
label.check { display: flex; gap: var(--s-2); align-items: flex-start; margin: var(--s-2) 0; }

/* Store (Phase 2) */
.shop-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.shop-item-body { flex: 1; min-width: 0; }
.shop-thumb { flex: 0 0 auto; width: 84px; height: 84px; }
.shop-big { display: grid; place-items: center; margin: var(--s-3) 0; }
.shop-photo { object-fit: cover; border-radius: 10px; max-width: 100%; }
.mockup { max-width: 100%; height: auto; }
.mock-missing { outline: 2px dashed #c0392b; }
h2.sec { margin: var(--s-5) 0 var(--s-3); }
.badge.bad { background: #c0392b; color: #fff; }
.badge.k { background: var(--n-50); border: 1px solid var(--line); }

/* Phase 5: club pages */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel.inner { margin: .75rem 0; }
.club-page .leader { margin: 1rem 0; }
.club-page figure { margin: 1rem 0; }
.club-page figure img { max-width: 100%; height: auto; }
fieldset.fronts { border: 0; padding: 0; margin: .5rem 0; }

/* ---- League Updates: announcement banners, pinned banners, FAQ (appended; earlier layers untouched) ---- */
.banner-stack { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-5); }
.banner-card { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4) var(--s-5); border-radius: var(--r-card); border: 2px solid var(--ink); background: var(--surface); color: var(--ink); }
.banner-card.pinned { background: var(--accent-fill); color: var(--accent-fill-ink); }
.banner-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); justify-content: space-between; }
.banner-title { overflow-wrap: anywhere; }
.banner-line { margin: 0; overflow-wrap: anywhere; }
.banner-actions { flex-wrap: wrap; }
.banner-more { text-decoration: none; font-size: var(--fs-small); }
.faq-entry { border-top: 1px solid var(--line); padding: var(--s-3) 0; }
.faq-entry summary { cursor: pointer; }
.faq-answer { padding-top: var(--s-2); }
.faq-admin-entry { border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3); margin: var(--s-2) 0; background: var(--surface); }
.faq-admin-entry summary { cursor: pointer; font-weight: 700; }
.banner-card.pinned .badge { background: var(--ink); color: #fff; }

/* Phase 6: Veem payouts. Vertical, stacked, one item per line. */
.payout-list { display: block; }
.payout-row { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.payout-row:last-child { border-bottom: 0; }
.payout-row.pick { display: block; cursor: pointer; }
.payout-row.pick input { margin-right: var(--s-2); }
.payout-row .num { font-variant-numeric: tabular-nums; }
.payout-row details { margin-top: var(--s-2); }
.payout-row .claim-link { word-break: break-all; }
.payee-form { max-width: 520px; }
.hidden { display: none; }

/* ===================================================================================================================
   UX OVERHAUL (2026-10-30) — app layer only. Core + brand layers above are untouched.
   Rules kept here: Inter only; radii 6/10/14/20/999 via tokens; yellow #FAE116 is a FILL, or text only on black; tap targets >= 44px;
   data shows as vertical lists; no emoji (icons are the CSS masks below).
   =================================================================================================================== */
.ico { display: inline-block; width: 22px; height: 22px; flex: none; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico-menu { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M4%207h16M4%2012h16M4%2017h16%27/%3E%3C/svg%3E"); }
.ico-close { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6%206l12%2012M18%206L6%2018%27/%3E%3C/svg%3E"); }
.ico-back { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M15%205l-7%207%207%207%27/%3E%3C/svg%3E"); }
.ico-chev { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M9%205l7%207-7%207%27/%3E%3C/svg%3E"); }
.ico-check { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M5%2012.5l4.5%204.5L19%207.5%27/%3E%3C/svg%3E"); }
.ico-events { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Crect%20x=%273.5%27%20y=%275%27%20width=%2717%27%20height=%2715%27%20rx=%272.5%27/%3E%3Cpath%20d=%27M3.5%2010h17M8%203v4M16%203v4%27/%3E%3C/svg%3E"); }
.ico-ticket { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M4%208a2%202%200%200%200%200%204v0a2%202%200%200%201%200%204h0v2h16v-2a2%202%200%200%201%200-4V8a2%202%200%200%201%200-4H4z%27%20transform=%27translate(0%201)%27/%3E%3Cpath%20d=%27M14%206v12%27%20stroke-dasharray=%272%202%27/%3E%3C/svg%3E"); }
.ico-person { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%2712%27%20cy=%278%27%20r=%274%27/%3E%3Cpath%20d=%27M4.5%2020c1-4%204-6%207.500-6s6.500%202%207.500%206%27/%3E%3C/svg%3E"); }
.ico-users { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%279%27%20cy=%279%27%20r=%273.5%27/%3E%3Cpath%20d=%27M2.500%2019.500c.8-3.300%203.300-5%206.500-5s5.700%201.700%206.500%205%27/%3E%3Ccircle%20cx=%2717.500%27%20cy=%278%27%20r=%272.800%27/%3E%3Cpath%20d=%27M17%2013.800c2.500.2%204.200%201.700%204.800%204.200%27/%3E%3C/svg%3E"); }
.ico-shield { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M12%203l7.500%203v5.500c0%204.500-3%207.500-7.500%209.500-4.500-2-7.500-5-7.500-9.500V6z%27/%3E%3C/svg%3E"); }
.ico-inbox { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Crect%20x=%273%27%20y=%275.500%27%20width=%2718%27%20height=%2713%27%20rx=%272.500%27/%3E%3Cpath%20d=%27M3.500%207.500l8.500%206%208.500-6%27/%3E%3C/svg%3E"); }
.ico-store { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M5%208h14l-1%2012H6z%27/%3E%3Cpath%20d=%27M9%208V6.500a3%203%200%200%201%206%200V8%27/%3E%3C/svg%3E"); }
.ico-help { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%2712%27%20cy=%2712%27%20r=%279%27/%3E%3Cpath%20d=%27M9.500%209.500a2.600%202.600%200%201%201%203.700%202.300c-.8.400-1.200%201-1.200%201.900M12%2017h.01%27/%3E%3C/svg%3E"); }
.ico-trophy { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M8%204h8v5a4%204%200%200%201-8%200zM8%206H4.500a3%203%200%200%200%203.500%204M16%206h3.500a3%203%200%200%201-3.500%204M12%2013v4M8.500%2020h7%27/%3E%3C/svg%3E"); }
.ico-tools { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M14.500%206.500a4%204%200%200%200-5.200%205.200L4%2017l3%203%205.300-5.300a4%204%200%200%200%205.200-5.200l-2.500%202.500-2.300-.7-.7-2.300z%27/%3E%3C/svg%3E"); }
.ico-book { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M5%204.500h10a3%203%200%200%201%203%203V20H8a3%203%200%200%201-3-3z%27/%3E%3Cpath%20d=%27M5%2017a3%203%200%200%201%203-3h10%27/%3E%3C/svg%3E"); }
.ico-swap { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M4%208h13l-3-3M20%2016H7l3%203%27/%3E%3C/svg%3E"); }
.ico-gear { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%2712%27%20cy=%2712%27%20r=%273%27/%3E%3Cpath%20d=%27M12%203v3M12%2018v3M3%2012h3M18%2012h3M5.600%205.600l2.100%202.100M16.300%2016.300l2.100%202.100M5.600%2018.400l2.100-2.100M16.300%207.700l2.100-2.100%27/%3E%3C/svg%3E"); }
.ico-whistle { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%279%27%20cy=%2714%27%20r=%275%27/%3E%3Cpath%20d=%27M14%2011l7-3v5l-4%201.500M9%2014h.01%27/%3E%3C/svg%3E"); }
.ico-chart { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M4%2020V10M10%2020V4M16%2020v-7M22%2020H2%27/%3E%3C/svg%3E"); }
.ico-card { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Crect%20x=%273%27%20y=%275.500%27%20width=%2718%27%20height=%2713%27%20rx=%272.500%27/%3E%3Cpath%20d=%27M3%2010h18M7%2015h4%27/%3E%3C/svg%3E"); }
.ico-logout { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M10%204H5.500A1.500%201.500%200%200%200%204%205.500v13A1.500%201.500%200%200%200%205.500%2020H10M15%208l4%204-4%204M19%2012H9%27/%3E%3C/svg%3E"); }

/* ---- header: brand + profile box + hamburger on row one; main links on row two (mobile first) ---- */
.topbar-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand me menu" "links links links"; gap: 0 var(--s-3); align-items: center; padding: var(--s-1) var(--s-4) 0; }
.topbar .brand { grid-area: brand; }
.topbar .brand .name { display: none; }
.hdr-me { grid-area: me; justify-self: end; display: flex; align-items: center; gap: var(--s-2); min-width: 0; max-width: 100%; overflow: hidden; min-height: var(--control-h); text-decoration: none; color: #fff; border-radius: var(--r-control); padding: 0 var(--s-1); }
.hdr-me:hover { background: rgba(255, 255, 255, .08); }
.hdr-me .avatar { width: 36px; height: 36px; border-radius: var(--r-pill); object-fit: cover; background: var(--n-800); border: 2px solid var(--accent-fill); flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; font-size: var(--fs-small); }
/* The name/role column must SHRINK and truncate, never overflow: on a small phone a long
   role line ("League admin · Owner · Player · Boise Bandits") slid left under the logo
   because flex items refuse to shrink below content width without min-width: 0 (2026-11-03). */
.hdr-me .who { display: flex; flex-direction: column; align-items: flex-end; text-align: right; min-width: 0; max-width: 100%; overflow: hidden; line-height: 1.2; }
.hdr-me .who strong { font-weight: 800; font-size: var(--fs-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }
.hdr-me .who span { font-size: var(--fs-label); color: var(--accent-on-dark); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }
@media (max-width: 560px) { .hdr-me .who span { font-size: 10px; } .hdr-me .who strong { font-size: 12px; } }
.hdr-menu { grid-area: menu; position: relative; justify-self: end; }
.hdr-menu > button { min-width: var(--control-h); min-height: var(--control-h); border-radius: var(--r-control); background: none; border: 1px solid var(--on-dark-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); padding: 0 var(--s-3); cursor: pointer; font: inherit; font-weight: 800; font-size: var(--fs-small); text-transform: uppercase; }
.hdr-menu > button:hover, .hdr-menu > button[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.hdr-menu > button .lbl { display: none; }
.hdr-drop { position: absolute; right: 0; top: calc(100% + var(--s-2)); width: min(320px, calc(100vw - 2 * var(--s-4))); max-height: calc(100vh - 90px); overflow-y: auto; background: var(--surface); color: var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow); border: 1px solid var(--line); padding: var(--s-2); z-index: 60; }
.hdr-drop h4 { margin: var(--s-3) var(--s-3) var(--s-1); font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.hdr-drop a, .hdr-drop button { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: var(--control-h); padding: 0 var(--s-3); border-radius: var(--r-control); color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; font-weight: 600; font-size: var(--fs-body); cursor: pointer; text-align: left; }
.hdr-drop a:hover, .hdr-drop button:hover { background: var(--info-bg); }
.hdr-drop a[aria-current="page"] { background: var(--accent-fill); color: var(--accent-fill-ink); font-weight: 800; }
.hdr-links { grid-area: links; display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--s-4) * -1); padding: 0 var(--s-4); }
.hdr-links::-webkit-scrollbar { display: none; }
.hdr-links a { flex: none; color: var(--on-dark); font-weight: 800; font-size: var(--fs-small); text-transform: uppercase; text-decoration: none; min-height: var(--control-h); padding: 0 var(--s-3); display: inline-flex; align-items: center; gap: var(--s-2); border-bottom: 3px solid transparent; }
.hdr-links a:hover { color: var(--accent-on-dark); }
.hdr-links a[aria-current="page"] { color: var(--accent-on-dark); border-bottom-color: var(--accent-fill); }
.hdr-links a.po-hot { font-weight: 800; }
/* links out to the league website: quieter than the app's own links, with a small out-arrow */
.hdr-links a.ext { color: var(--on-dark-2); }
.hdr-links a.ext::after { content: "↗"; font-size: 11px; color: var(--accent-on-dark); }
.hdr-links a.ext:hover { color: #fff; }
@media (min-width: 900px) {
  /* Desktop keeps the SAME two-row header as mobile (Alex, 2026-11-03): the old one-row
     desktop grid ("brand links me menu", links overflow:visible) piled the links, the
     profile box and the menu button on top of each other whenever the link row ran out
     of room. Two rows at every width: row two can scroll sideways if it ever has to,
     and nothing can overlap. */
  .hdr-menu > button .lbl { display: inline; }
  .topbar .brand .name { display: inline; }
}

/* ---- back link under the header, on every page except home ---- */
.backbar { max-width: var(--w-page); margin: 0 auto; padding: var(--s-2) var(--s-4) 0; }
.backlink { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--control-h); padding: 0 var(--s-3) 0 var(--s-2); border-radius: var(--r-control); font-weight: 800; font-size: var(--fs-small); text-transform: uppercase; text-decoration: none; color: var(--ink); }
.backlink:hover { background: var(--info-bg); }
.backbar + main { padding-top: var(--s-2); }

/* ---- tap targets ---- */
.btn.small, .tab, .linkbtn, .badge.link, a.badge { min-height: var(--control-h); }
.btn.small { padding: 0 var(--s-4); }
.linkbtn { display: inline-flex; align-items: center; padding: 0 var(--s-2); }
.panel > h2 a.badge { display: inline-flex; align-items: center; min-height: var(--control-h); }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; }
.check { display: flex; align-items: flex-start; gap: var(--s-3); min-height: var(--control-h); padding: var(--s-2) 0; }
.check.big { padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-card); margin-bottom: var(--s-2); background: var(--surface); }
.check.big span { display: flex; flex-direction: column; gap: 2px; }
.payopts { border: 0; padding: 0; margin: 0 0 var(--s-3); }
.payopts legend { font-weight: 800; margin-bottom: var(--s-2); }

/* ---- crests (club logos) + icons on tiles ---- */
/* crests sit directly on the surface — transparent artwork only, never a white box (Alex, 2026-11-09). */
.crest { border-radius: var(--r-control); object-fit: contain; flex: none; }
.crest.md { width: 40px; height: 40px; } .crest.sm { width: 28px; height: 28px; border-radius: var(--r-tag); } .crest.lg { width: 56px; height: 56px; border-radius: var(--r-card); }
.crest.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-panel); color: #fff; font-weight: 900; border: 0; }
.crest.sm.ph { font-size: var(--fs-small); } .crest.lg.ph { font-size: 24px; }
.card .ico { width: 28px; height: 28px; margin-bottom: var(--s-2); color: var(--ink); }
.tile { display: flex; flex-direction: column; }
.hero .heroline { display: flex; align-items: center; gap: var(--s-3); }
/* player home hero (Alex, 2026-11-03): the club-page captain treatment — a modest square
   photo beside the name and role line inside the dark panel, not a full-bleed banner.
   (.hero-media is gone with the round-2 banner layout.) */
.hero-id { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-5); }
.hero-idtxt { min-width: 0; }
.hero-idtxt h1 { margin: 0 0 var(--s-2); }
.hero-photo { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-control); flex: none; display: block; }
.hero-media-ph { width: 96px; height: 96px; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 34px; color: #fff; background: var(--n-800); border-radius: var(--r-control); }
.hero-body { padding: var(--s-6); }
.hero-id .hero-clubline { margin-bottom: 0; }
.hero-clubline { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero-clubline p { margin: 0; }
.hero-clubline .crest { margin: 0; }
@media (max-width: 480px) { .hero-body { padding: var(--s-5); } }

/* ---- event boxes: floating black cards, image on top, white title, yellow date ---- */
.evlist { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-bottom: var(--s-5); }
@media (min-width: 720px) { .evlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.evbox { display: block; background: #0b0b0b; color: #fff; border-radius: var(--r-panel); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-panel); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.evbox:hover { transform: translateY(-4px); box-shadow: 0 28px 54px rgba(0, 0, 0, .38), 0 8px 18px rgba(0, 0, 0, .28); }
.evimg { aspect-ratio: 16 / 8.4; background: var(--n-800); overflow: hidden; }
.evimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evbody { padding: var(--s-4) var(--s-5) var(--s-5); }
.evbody h3 { margin: 0 0 var(--s-2); color: #fff; font-size: var(--fs-h2); text-transform: uppercase; line-height: 1.1; }
.evbody p { margin: 0 0 var(--s-1); }
.evwhen { color: var(--accent-on-dark); font-weight: 800; }
.evwhere { color: #fff; font-weight: 600; }
.evclubs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-3); color: #fff; font-weight: 600; font-size: var(--fs-small); }
.evclubs .crest { border-color: var(--n-600); }
.evstatus { margin-top: var(--s-3); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 600; }
/* Registration status line (Alex, 2026-11-05; restored 2026-11-08): plain text with a green SVG check
   or a muted dot — never a filled pill, so the card's one yellow button stands alone. A badge inside a
   status row is never forced yellow (the accent fill is reserved for the card's action). */
.evstatus .badge.plain { background: var(--n-800); color: #fff; }
.regstat { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 600; line-height: 1.25; white-space: nowrap; }
.regstat .ico { width: 16px; height: 16px; }
.regstat.ok .ico { color: var(--done); }
.regstat.bal .ico { color: #D97706; }
.regstat.dim { color: var(--ink-2); }
.regstat.bad { color: var(--problem); }
.regdot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }
.panel .regstat.dim, .evbox .regstat.dim { color: var(--on-dark-2); }
.panel .regstat.ok .ico, .evbox .regstat.ok .ico { color: #4ADE80; }
.panel .regstat.bad, .evbox .regstat.bad { color: #FCA5A5; }
.evcta { display: inline-flex; align-items: center; min-height: var(--control-h); margin-top: var(--s-3); padding: 0 var(--s-5); border-radius: var(--r-control); background: var(--accent-fill); color: var(--accent-fill-ink); font-weight: 800; }
.evhero { border-radius: var(--r-panel); overflow: hidden; margin-bottom: var(--s-5); box-shadow: var(--shadow-panel); }
.evhero img { width: 100%; height: auto; display: block; }
.hypevid { display: block; width: 100%; max-width: 330px; height: auto; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: var(--r-card); background: var(--n-900); border: 1px solid var(--n-900); box-shadow: var(--shadow); }
/* chooser media block: hype video + About in one shared panel — stacked video-first
   on narrow screens, side by side (video left ~330px, About right) on wide ones */
.mediagrid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
.mediagrid .mediahead { font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 var(--s-3); }
.mediagrid .hypevid { margin: 0 auto; }
@media (min-width: 860px) {
  .mediagrid { grid-template-columns: 330px 1fr; align-items: start; }
  .mediagrid .hypevid { margin: 0; }
}

/* ---- event page: role switcher + per-role views + compact pass rows ---- */
/* The tabs borrow the league website's treatment: near-black panels, 900-weight
   uppercase labels, squared 10px corners, and the league yellow (#FAE116) on the
   active tab. They sit under the hero in every state and swap the whole page below
   them via ?role=player|coach|spectator — the other roles' sections never render. */
.roleswitch { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: var(--s-5); }
.roletab { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 60px; padding: var(--s-3) var(--s-5); background: var(--surface-panel); color: #fff; border: 1px solid var(--n-800); border-radius: var(--r-control); text-decoration: none; box-shadow: var(--shadow-sm); }
.roletab strong { font-size: var(--fs-h3); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.roletab span { color: var(--on-dark); font-weight: 800; font-variant-numeric: tabular-nums; }
.roletab:hover { border-color: var(--n-600); }
.roletab.on { background: var(--accent-fill); border-color: var(--accent-fill); }
.roletab.on strong { color: var(--accent-fill-ink); }
.roletab.on span { color: var(--accent-fill-ink); }
/* the league-styled header band that opens each role view */
.roleband { background: var(--surface-panel); color: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-panel); padding: var(--s-5); margin-bottom: var(--s-5); border-bottom: 3px solid var(--accent-fill); }
.roleband-kicker { margin: 0 0 var(--s-1); font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-on-dark); }
.roleband h2 { margin: 0 0 var(--s-2); color: #fff; text-transform: uppercase; }
.roleband-sub { margin: 0; color: var(--on-dark); max-width: 60ch; }
/* coach view: the pass as one hero offer */
.coachoffer .coachname { font-size: var(--fs-h3); margin: 0 0 var(--s-1); }
.coachoffer .coachprice { font-size: 40px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 var(--s-2); font-variant-numeric: tabular-nums; }
.passlist { display: flex; flex-direction: column; gap: var(--s-4); }
.passgroup .sub { margin-bottom: 0; }
.passrow { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.passgroup .passrow:last-of-type { border-bottom: 0; padding-bottom: var(--s-1); }
.passinfo { flex: 1 1 auto; min-width: 0; }
.passinfo .badge { margin-left: var(--s-2); }
.passinfo .help { margin-top: 2px; }
.passbuy { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.passprice { font-size: var(--fs-lead); font-weight: 900; font-variant-numeric: tabular-nums; }
.row.presel { background: var(--accent-tint); border-radius: var(--r-control); box-shadow: 0 0 0 2px var(--accent-fill); }
/* spectator view: the per-pass pitch line (the pass's own stored description, lifted
   out of help-text grey) + the Finals-night header above the pass list */
.passinfo .passpitch { margin-top: 2px; color: var(--ink); font-weight: 600; font-size: var(--fs-small); }

/* ---- kids-free note + spectator cart (Alex, 2026-11-03) ---- */
.passfree { font-weight: 700; background: var(--accent-tint); border: 1px solid var(--accent-fill); border-radius: var(--r-control); padding: var(--s-2) var(--s-3); margin: var(--s-3) 0 0; }
.cartrow { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.cartrow:last-of-type { border-bottom: 0; }
.cartrow .passinfo { flex: 1 1 auto; min-width: 0; }
.cartrow .passinfo .badge { margin-left: var(--s-2); }
.stepper { display: flex; align-items: center; gap: var(--s-2); flex: none; }
.stepbtn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; }
.stepbtn:disabled { opacity: .35; cursor: default; }
.stepqty { min-width: 28px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.cartline { min-width: 76px; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; flex: none; }
.cartline-row { display: flex; justify-content: space-between; gap: var(--s-3); }
.cartrow.presel { background: var(--accent-tint); border-radius: var(--r-control); box-shadow: 0 0 0 2px var(--accent-fill); }

/* ---- the league-app requirement: phone-frame example (Alex, 2026-11-03) ---- */
.appreq { display: flex; gap: var(--s-4); align-items: center; margin-bottom: var(--s-3); }
.phoneframe { flex: none; width: 118px; border: 7px solid #111; border-radius: 20px; overflow: hidden; background: #111; line-height: 0; }
.phoneframe img { width: 100%; height: auto; }

/* ---- spectator gate + order QR ---- */
.qrimg { width: 176px; height: 176px; }
.qrbox { text-align: center; margin: var(--s-3) 0; }
.qrbox .help { margin-top: var(--s-2); }

/* ---- discount code on checkout: a subtle expandable row (Alex, 2026-11-03) ---- */
.disc { margin-top: var(--s-3); }
.disc p { margin: 0; }
.disctoggle { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: var(--fs-small); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.discarrow { width: 8px; height: 8px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--t-fast) var(--ease); }
.discarrow.open { transform: rotate(225deg); }
.disc .row.apply { margin-top: var(--s-2); }

/* ---- league merch rail: checkout + player dashboard (Alex, 2026-11-03) ---- */
.merchrail { display: flex; gap: var(--s-3); overflow-x: auto; padding: var(--s-1) 0 var(--s-2); scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.merchcard { flex: 0 0 176px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-3); background: var(--n-50); }
.merchimg { width: 100%; height: 104px; object-fit: cover; border-radius: var(--r-control); background: var(--n-100); display: block; }
.merchph { display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; color: var(--n-400); }
.merchname { font-weight: 700; margin: var(--s-2) 0 0; line-height: 1.3; }
.merchpick { width: 100%; min-height: 44px; margin-top: var(--s-2); border: 1px solid var(--field-line); border-radius: var(--r-control); background: var(--surface); padding: 0 var(--s-2); font: inherit; }
/* Product detail popup (Alex, 2026-11-12): a product picture in the merch
   rail or on the shop pages opens the shared modal; clickable pictures show
   a pointer and a focus ring, the big popup picture fills the card width,
   and a photo-less product's letter placeholder grows to popup size. */
.proddetail-img { width: 100%; height: auto; max-height: 340px; object-fit: contain; border-radius: var(--r-card); background: var(--n-100); display: block; }
.proddetail-ph { height: 220px; font-size: 64px; }
.imgbtn { cursor: pointer; }
.imgbtn:focus-visible { outline: 3px solid var(--accent-fill); outline-offset: 2px; }
.gatecode { font-size: 22px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.finalshype { border-left: 4px solid var(--accent-fill); background: var(--accent-tint); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.finalshype strong { display: block; font-size: var(--fs-lead); line-height: 1.15; margin-bottom: 2px; }
.finalshype p { margin: 0; color: var(--ink-2); }
/* coach view: what-you-get bullets (ul.plain strips markers, so scope them here) */
.coachget .getlist { list-style: disc; padding-left: 22px; margin: 0 0 var(--s-3); }
.coachget .getlist li { padding: 3px 0; }
.coachwhy p { line-height: 1.55; }
/* player view: "How the weekend runs" — a dark league panel, two day columns */
.weekend { background: var(--surface-panel); color: #fff; border-bottom: 3px solid var(--accent-fill); }
.weekend h2 { color: #fff; text-transform: uppercase; }
.weekend .wkintro { color: var(--on-dark); margin: 0 0 var(--s-4); max-width: 62ch; }
.wkgrid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 860px) { .wkgrid { grid-template-columns: 1fr 1fr; } }
.wkday h3 { margin: 0 0 var(--s-2); color: #fff; text-transform: uppercase; font-size: var(--fs-h3); line-height: 1.15; }
.wkday h3 span { display: block; font-size: var(--fs-label); font-weight: 900; letter-spacing: 0.08em; color: var(--accent-on-dark); margin-bottom: 2px; }
.wkrow { display: flex; gap: var(--s-3); padding: var(--s-2) 0; border-top: 1px solid var(--n-800); }
.wktime { flex: none; width: 84px; font-weight: 900; color: var(--accent-on-dark); font-variant-numeric: tabular-nums; }
.wkrow p { margin: 0; }
.weekend .wkformat { margin: var(--s-4) 0 0; color: var(--on-dark); border-top: 1px solid var(--n-800); padding-top: var(--s-3); }

/* ---- calendar cards ---- */
.calcards { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.calcard { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-xs); text-decoration: none; min-height: 72px; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.calcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.calcard .caldate { flex: none; width: 56px; text-align: center; background: var(--surface-panel); color: #fff; border-radius: var(--r-control); padding: var(--s-2) 0; line-height: 1.1; }
.calcard .caldate b { display: block; font-size: 22px; font-weight: 900; } .calcard .caldate span { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; color: var(--accent-on-dark); }
.calcard .calbody { min-width: 0; flex: 1; } .calcard .calbody strong { display: block; } .calcard .calbody span { color: var(--ink-2); font-size: var(--fs-small); }
.calcard .ico { color: var(--ink-2); }

/* ---- club picker with logos ---- */
.cpick-search { width: 100%; min-height: var(--control-h); border: 1px solid var(--field-line); border-radius: var(--r-control); padding: 0 var(--s-3); margin-bottom: var(--s-2); background: var(--surface); }
.cpick-list { display: flex; flex-direction: column; gap: var(--s-2); max-height: 360px; overflow-y: auto; padding: 2px; }
.cpick { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 56px; padding: var(--s-2) var(--s-3); border: 1px solid var(--field-line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cpick:hover { background: var(--info-bg); }
.cpick.on { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); background: var(--accent-tint); }
.cpick-text { display: flex; flex-direction: column; min-width: 0; flex: 1; } .cpick-text span { color: var(--ink-2); font-size: var(--fs-small); }
.cpick-current { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 56px; padding: var(--s-2) var(--s-3); border: 1px solid var(--ink); box-shadow: inset 0 0 0 2px var(--ink); border-radius: var(--r-card); background: var(--accent-tint); color: var(--ink); margin-bottom: var(--s-2); }
.cpick-current .crest { background: #0b0b0b; padding: 5px; }
.cpick-sel { margin-left: auto; background: #F9E211; color: #111; font-weight: 700; font-size: var(--fs-small); line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.cpick-current-wrap:empty { display: none; }

/* ---- coach pass ---- */
.rolechoice { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }
.coachwarn { border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--accent-tint); padding: var(--s-4); margin: var(--s-3) 0; }
.coachwarn h3 { margin: 0 0 var(--s-2); text-transform: uppercase; }
.coachwarn p { margin: 0 0 var(--s-2); font-weight: 600; }

/* ---- price ladder + wallet ---- */
.ladder { list-style: none; padding: 0; margin: 0 0 var(--s-3); }
.ladder li { padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-control); margin-bottom: var(--s-2); }
.ladder li.now { border-color: var(--ink); background: var(--accent-tint); }
/* price summary tiers: name, then the big price, then dates, then the total with the fee (scoped so it beats the ul.plain li padding) */
.price-summary .ps-lede { font-weight: 600; }
.price-summary .ladder li { padding: var(--s-4); }
.price-summary .ladder li.now { border: 2px solid var(--ink); }
.price-summary .tier-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.price-summary .tier-name { font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.price-summary .tier-price { font-size: 32px; font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; margin-top: var(--s-1); }
.price-summary .tier-when { color: var(--ink-2); margin-top: var(--s-1); }
.price-summary .tier-total { font-weight: 800; margin-top: var(--s-1); }
.price-summary .tier-note { color: var(--ink-2); font-size: var(--fs-small); margin-top: var(--s-1); }
/* Soft Register is its own sub-section inside the Prices card: pronounced by structure
   only (Alex 2026-11-10) — white ground, a strong 2px black border, a real shadow, and a
   bold black header strip. No yellow tint or glow anywhere in it. */
.price-summary .ps-soft { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card); padding: var(--s-4); margin-top: var(--s-4); box-shadow: var(--shadow); overflow: hidden; }
.price-summary .ps-soft .ps-tag { display: block; background: var(--ink); color: #fff; font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; padding: var(--s-2) var(--s-4); margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-3); }
/* what-you-get list: real bullet markers (ul.plain strips them) */
.price-summary .getlist { list-style: disc; padding-left: 22px; margin: 0 0 var(--s-2); }
.price-summary .getlist li { padding: 2px 0; }
/* One price covers…: the flashy box (Alex 2026-11-10). The prices above stay plain on
   purpose; what you get is the showpiece — a black panel with a real drop shadow, brand
   yellow heading and markers, white list text. */
.price-summary .ps-gets { background: var(--n-950); color: #fff; border-radius: var(--r-card); padding: var(--s-4) var(--s-5); margin-top: var(--s-4); box-shadow: var(--shadow-panel); }
.price-summary .ps-gets-title { color: #F9E211; font-size: var(--fs-h3); font-weight: 900; text-transform: uppercase; margin: 0 0 var(--s-3); }
.price-summary .ps-gets .getlist { margin: 0; }
.price-summary .ps-gets .getlist li { padding: 3px 0; color: #fff; }
.price-summary .ps-gets .getlist li::marker { color: #F9E211; }
/* About card: paragraphed description with bold section headings (events.js aboutBlocks) */
.desc p { margin: 0 0 var(--s-3); line-height: 1.55; }
.desc p:last-child { margin-bottom: 0; }
.desc .about-h { font-size: 17px; font-weight: 900; letter-spacing: 0.02em; margin: var(--s-4) 0 var(--s-2); }
.desc .about-h:first-child { margin-top: 0; }
.picks { list-style: none; padding: 0; margin: var(--s-3) 0; }
.pick { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-control); margin-bottom: var(--s-2); }
.pick.off { opacity: .65; }

/* ---- My events: big boxes ---- */
.myev { display: grid; gap: var(--s-4); grid-template-columns: 1fr; margin-bottom: var(--s-4); }
@media (min-width: 720px) { .myev { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rolebtn { display: flex; flex-direction: column; gap: 2px; width: 100%; min-height: 56px; padding: var(--s-3) var(--s-4); border: 1px solid var(--field-line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.rolebtn span { color: var(--ink-2); font-size: var(--fs-small); }
.rolebtn.on { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); background: var(--accent-tint); }
.muted-on-dark { color: #E5E5E5; font-size: var(--fs-small); }
.evwrap { display: flex; flex-direction: column; gap: var(--s-2); align-items: stretch; }
.hero .crest { margin-bottom: var(--s-2); }
.evthumb { max-width: 100%; height: auto; border-radius: var(--r-card); display: block; margin-bottom: var(--s-3); }

/* ---- Club contact (public lead form) ---- */
.cc-club { display: flex; align-items: center; gap: var(--s-3); }
.cc-club .help { margin: 2px 0 0; }
.cc-club .crest { margin: 0; }

/* ---- Modal pop-up (full-screen sheet on small screens) ---- */
.modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(3,3,3,.55); display: flex; align-items: center; justify-content: center; padding: var(--s-4); }
.modal-card { background: var(--surface); color: var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow); width: min(680px, 100%); max-height: calc(100dvh - 2 * var(--s-4)); display: flex; flex-direction: column; overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-4); border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: var(--fs-h2); }
.modal-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-control); background: var(--n-100); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: var(--s-4); }
.modal-body .panel:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .modal-overlay { padding: 0; }
  .modal-card { width: 100%; height: 100dvh; max-height: none; border-radius: 0; }
}

/* ===== 2026-11-03 nav/registration fixes ===== */
/* Less yellow: add-to-cart is black with yellow text; the one primary (checkout/continue) stays yellow. */
.btn.addcart { background: var(--ink); color: var(--accent-fill); box-shadow: none; }
.btn.addcart:hover { background: var(--n-800); }
/* Equal-height card rows; the action pins to the bottom of each card. */
.merchrail { align-items: stretch; }
.merchcard { display: flex; flex-direction: column; }
.merchcard > :last-child { margin-top: auto; }
.shop-item { align-items: stretch; }
.shop-item-body { display: flex; flex-direction: column; }
.shop-item-body > :last-child { margin-top: auto; }
/* Slide-out drawer: from the right on desktop, a full sheet on mobile. */
.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(3,3,3,.55); display: flex; justify-content: flex-end; }
.drawer-panel { background: var(--surface); color: var(--ink); width: min(560px, 100%); height: 100dvh; display: flex; flex-direction: column; box-shadow: var(--shadow-panel); animation: drawer-in var(--t-med) var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-4); border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: var(--fs-h2); }
.drawer-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-control); background: var(--n-100); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.drawer-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: var(--s-4); flex: 1; }
.drawer-body .panel:last-child { margin-bottom: 0; }
@keyframes drawer-in { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) { .drawer-panel { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .drawer-panel { animation: none; } }
/* "One price covers the whole weekend": league black, yellow heading, check list. */
.weekend-included { background: var(--n-900); color: var(--on-dark); border-radius: var(--r-panel); padding: var(--s-5); margin-bottom: var(--s-4); box-shadow: var(--shadow-panel); }
.weekend-included h2 { color: var(--accent-on-dark); margin: 0 0 var(--s-3); }
.weekend-included .checklist { list-style: none; margin: 0; padding: 0; }
.weekend-included .checklist li { position: relative; padding: 6px 0 6px 30px; color: #fff; }
.weekend-included .checklist li::before { content: "\2713"; position: absolute; left: 0; top: 6px; color: var(--accent-on-dark); font-weight: 900; }
/* Price tiers: only today's tier is a card; the rest are quiet rows. */
.price-summary .tier-card { border: 2px solid var(--ink); background: var(--accent-tint); border-radius: var(--r-card); padding: var(--s-4); margin: var(--s-3) 0; }
.price-summary .tier-card .tier-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.price-summary .tier-card .tier-name { font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.price-summary .tier-card .tier-price { font-size: 40px; font-weight: 900; line-height: 1.05; margin-top: var(--s-1); }
.price-summary .tier-card .tier-when { color: var(--ink-2); margin-top: var(--s-1); }
.price-summary .tier-card .tier-total { font-weight: 800; margin-top: var(--s-1); }
.price-summary .tier-card .tier-note { color: var(--ink-2); font-size: var(--fs-small); margin-top: var(--s-1); }
.price-summary .tier-rows { list-style: none; margin: 0 0 var(--s-3); padding: 0; }
/* Price ladder as a table (Alex 2026-11-10, round 2): two fixed columns per row —
   tier name with the dates under it (left); price with the with-fee total under it
   (right), both right-aligned so all prices share one right edge and all totals
   share the same edge. Hairlines between rows, no tinted rows; today's tier is
   marked by a small black pill beside its name. */
.price-summary .tier-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-3); align-items: start; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-small); }
.price-summary .tier-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.price-summary .tier-name-line { display: flex; align-items: center; gap: var(--s-2); }
.price-summary .tier-row-name { font-weight: 800; color: var(--ink-2); }
.price-summary .tier-row.now .tier-row-name { color: var(--ink); }
.price-summary .tier-today { display: inline-flex; align-items: center; padding: 3px 7px; font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: 0.04em; border-radius: var(--r-tag); background: var(--ink); color: #fff; white-space: nowrap; }
/* Today's tier also carries the match-card winner triangle (same geometry as
   .mcard-arrow in the match-card design system) at the left of its name line,
   pointing at the tier name: you are here today. Current row only. */
.price-summary .tier-tri { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid var(--ink); flex: none; }
.price-summary .tier-row .tier-when { color: var(--ink-2); margin-top: 0; }
.price-summary .tier-row .tier-note { color: var(--ink-2); margin-top: 0; }
.price-summary .tier-amt { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; text-align: right; }
.price-summary .tier-row-price { font-weight: 800; white-space: nowrap; }
.price-summary .tier-row .tier-total { font-weight: 600; color: var(--ink-2); white-space: nowrap; margin-top: 0; }
/* App download badges (registration confirmation). */
.appdl .row { flex-wrap: wrap; }
.app-badge { display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 18px; border-radius: var(--r-control); background: var(--n-900); color: #fff; text-decoration: none; border: 1px solid var(--n-900); }
.app-badge-small { font-size: 10px; line-height: 1.2; }
.app-badge-big { font-size: 18px; font-weight: 800; line-height: 1.2; }
.app-badge.soon { opacity: .6; cursor: default; }
.ordergroup h3 { margin: var(--s-3) 0 var(--s-1); }
.subnav { flex-wrap: wrap; }

/* ===================================================================================================================
   DASHBOARD DESIGN PASS (2026-11-07) — app layer only; core + brand layers untouched.
   Warm the dark panels with restrained yellow INSIDE them (icon chips, accent rules, calendar-tile month bands) — never yellow
   on white. Section headers are plain titles, not boxes. Calendar entries and promotions are tiles in horizontal scroll-snap rows.
   =================================================================================================================== */
.ico-plane { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M21%203L3%2010.5l7%202.5%202.5%207L21%203z%27/%3E%3Cpath%20d=%27M10%2013L21%203%27/%3E%3C/svg%3E"); }
.ico-camera { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M4%208h3l1.5-2h7L17%208h3a1%201%200%200%201%201%201v10a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V9a1%201%200%200%201%201-1z%27/%3E%3Ccircle%20cx=%2712%27%20cy=%2713.5%27%20r=%273.5%27/%3E%3C/svg%3E"); }

/* icon chip: a small yellow icon on a dark chip, beside a section title */
.chip-ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: var(--r-control); background: var(--surface-panel); color: var(--accent-on-dark); box-shadow: var(--shadow-xs); }
.chip-ico .ico { width: 18px; height: 18px; margin: 0; }
.dash .panel > h2 .h2-main { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.dash .panel > h2 .chip-ico { width: 28px; height: 28px; background: rgba(255, 255, 255, .1); box-shadow: none; }
.dash .panel > h2 .chip-ico .ico { width: 16px; height: 16px; }

/* section titles are titles, not boxes */
.dash-sec { margin: 0 0 var(--s-5); }
/* Matches / PRO Score entry (bridge): a dark panel, so the yellow handoff button is an accent ON dark — never yellow on the light page */
#matches-entry { background: var(--surface-panel); color: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-panel); padding: var(--s-5); }
#matches-entry .sec-title { color: #fff; }
#matches-entry .sec-sub { color: var(--on-dark); }
#matches-entry .chip-ico { background: rgba(255,255,255,.1); box-shadow: none; }
#matches-entry .notice { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
/* PRO Score inside the Matches / PRO Score panel: the number is the panel's
   headline figure (white, KPI size — the panel's yellow lives in its button);
   the stats under it sit in a tidy grid of labeled cells, and the squad ·
   club line is a quiet context footer above the button. Indented to the
   section text line. */
#matches-entry .nspro { margin: 0 0 var(--s-3) calc(32px + var(--s-3)); }
#matches-entry .nspro-main { display: flex; align-items: baseline; gap: var(--s-3); }
#matches-entry .nspro-top { display: flex; align-items: center; gap: var(--s-3); }
#matches-entry .nspro-main { margin-left: auto; }
#matches-entry .nspro-ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: rgba(255,255,255,.08); }
#matches-entry .nspro-v { font-size: var(--fs-kpi); font-weight: 900; line-height: 1.05; color: #fff; font-variant-numeric: tabular-nums; }
#matches-entry .nspro-k { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; }
#matches-entry .nspro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); margin-top: var(--s-3); }
@media (min-width: 640px) { #matches-entry .nspro-grid { grid-template-columns: repeat(4, 1fr); } }
#matches-entry .nspro-cell { background: rgba(255,255,255,.06); border-radius: var(--r-control); padding: var(--s-2) var(--s-3); }
#matches-entry .nspro-ck { display: block; font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark); }
#matches-entry .nspro-cv { display: block; margin-top: 2px; font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; color: #fff; font-variant-numeric: tabular-nums; }
#matches-entry .nspro-foot { margin: var(--s-3) 0 0; color: var(--on-dark); font-size: var(--fs-small); display: flex; align-items: center; gap: var(--s-2); }
#matches-entry .nspro-crest { width: 20px; height: 20px; object-fit: contain; flex: none; }
#matches-entry .nspro-empty { margin: 0 0 var(--s-3) calc(32px + var(--s-3)); color: var(--on-dark); font-size: var(--fs-small); }
/* League line (PRO Score / PER) on the dashboard card + My statistics */
.lgstats-link { display: block; color: inherit; text-decoration: none; border-radius: var(--r-control); }
.lgstats-link:hover .lgstats-v { text-decoration: underline; text-underline-offset: 3px; }
.lgstats-pro { display: flex; align-items: baseline; gap: var(--s-3); margin-bottom: var(--s-2); }
.lgstats-k { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.lgstats-v { font-size: var(--fs-kpi); font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; }
/* PER / PRO label standard (Alex, 2026-11-09): PER is a proper noun —
   bold at full strength inside its label (asterisked on the stats
   page, which carries the definition line); the PRO Score is the
   career ladder and carries a small (career) sub-label. */
.facts dt .perK { color: var(--ink); font-weight: 800; }
.lgstats-k .proC { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: var(--ink-2); }
.lgstats-note { font-size: var(--fs-small); color: var(--ink-2); margin: var(--s-2) 0 0; }
#matches-entry .nspro-k .proC { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: var(--on-dark-2); }
#matches-entry .nspro-ck .perK { color: #fff; font-weight: 900; }
.sechead { margin: 0 0 var(--s-3); }
.sechead-row { display: flex; align-items: center; gap: var(--s-3); }
/* CREST IN THE SECTION-HEAD SLOT (Alex, 2026-11-18): the club panel's head
   carries the club's own crest in the same 32px left slot every other
   section's icon chip fills. The crest keeps its own colors (no chip
   backing) and is fitted whole inside the slot. */
.chip-ico.chip-crest { background: transparent; box-shadow: none; }
.chip-ico.chip-crest .crest { width: 32px; height: 32px; object-fit: contain; }
.chip-ico.chip-crest .crest.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-panel); color: #fff; font-weight: 900; font-size: var(--fs-small); }
h2.sec-title { flex: 1; min-width: 0; margin: 0; font-size: 24px; line-height: 1.1; overflow-wrap: anywhere; }
.sec-sub { margin: var(--s-2) 0 0 calc(32px + var(--s-3)); color: var(--ink-2); font-size: var(--fs-small); }
.sec-link { flex: none; display: inline-flex; align-items: center; min-height: var(--control-h); font-weight: 800; font-size: var(--fs-small); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* horizontal tile rows: scroll-snap; exactly two tiles visible on a phone, the rest swipe */
.tilerow { display: flex; gap: var(--s-3); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: var(--s-1) 0 var(--s-4); margin: 0; }
.tilerow > * { flex: 0 0 calc((100% - (var(--s-3) * 2)) / 2.2); min-width: 0; scroll-snap-align: start; }
@media (min-width: 640px) { .tilerow > * { flex-basis: 184px; } }
.tilegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); margin-bottom: var(--s-3); }

/* calendar-page tile: dark month band (yellow on dark), the date big, the title under it */
.caltile { display: flex; flex-direction: column; min-height: 168px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-xs); overflow: hidden; text-decoration: none; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.caltile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.caltile-band { background: var(--surface-panel); color: var(--accent-on-dark); padding: var(--s-2) var(--s-2); text-align: center; font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caltile-day { display: block; padding: var(--s-3) var(--s-2) var(--s-1); text-align: center; font-size: 44px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.caltile-day.span { font-size: 32px; padding-top: calc(var(--s-3) + 6px); }
.caltile-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; padding: 0 var(--s-3); text-align: center; font-size: var(--fs-small); font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.caltile-time { margin-top: auto; padding: var(--s-1) var(--s-3) var(--s-3); text-align: center; color: var(--ink-2); font-size: var(--fs-label); }

/* promotion tile: dark gradient, a yellow accent rule and chip inside it, teaser, "Details" */
.promotile { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); min-height: 168px; padding: var(--s-4); border: 0; border-top: 3px solid var(--accent-fill); border-radius: var(--r-card); background: var(--surface-panel); color: #fff; box-shadow: var(--shadow-sm); font: inherit; text-align: left; cursor: pointer; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.promotile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.promotile .chip-ico { background: rgba(255, 255, 255, .1); box-shadow: none; }
.promotile strong { font-weight: 800; font-size: var(--fs-body); line-height: 1.2; color: #fff; }
.promotile-teaser { color: var(--on-dark); font-size: var(--fs-small); line-height: 1.35; }
.promotile-more { margin-top: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--accent-on-dark); font-weight: 800; font-size: var(--fs-small); }
.promotile-more .ico { width: 16px; height: 16px; }
.promo-detail p { margin: 0 0 var(--s-3); }
.promo-detail .row { margin-top: var(--s-4); }

/* greeting panel: league event hero behind a dark gradient; a short yellow rule under the name (inside the dark panel) */
.hero-home { position: relative; overflow: hidden; isolation: isolate; }
.hero-home .hero-body { position: relative; z-index: 2; }
.hero-bgimg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.hero-home.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3, 3, 3, .8) 0%, rgba(3, 3, 3, .94) 100%); }
.hero-home .hero-idtxt h1::after { content: ""; display: block; width: 44px; height: 3px; margin-top: var(--s-2); border-radius: var(--r-pill); background: var(--accent-fill); }

/* desktop density: the dashboard reads about half as big at 1280px (Alex, 2026-11-07); phone proportions stay as they were */
@media (min-width: 900px) {
  .dash .hero-home { padding: 0; margin-bottom: var(--s-4); }
  .hero-home.has-photo::before { background: linear-gradient(90deg, rgba(3, 3, 3, .96) 0%, rgba(3, 3, 3, .86) 40%, rgba(3, 3, 3, .35) 100%); }
  .dash .hero-home .hero-body { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); }
  .dash .hero-home .hero-id { flex-wrap: nowrap; gap: var(--s-3); margin-bottom: 0; }
  .dash .hero-home .hero-photo, .dash .hero-home .hero-media-ph { width: 56px; height: 56px; font-size: 20px; }
  .dash .hero-home h1 { font-size: 22px; margin-bottom: var(--s-1); }
  .dash .hero-home .hero-idtxt h1::after { margin-top: 6px; }
  .dash .hero-home .crest.lg { width: 32px; height: 32px; font-size: 16px; }
  .dash .hero-home .hero-clubline { gap: var(--s-2); }
  .dash .hero-home .hero-clubline p { font-size: var(--fs-small); max-width: none; }
  .dash .hero-home .hero-actions { flex: none; flex-wrap: nowrap; gap: var(--s-2); }
  .dash .panel { padding: var(--s-4); margin-bottom: var(--s-4); }
  .dash .panel > h2 { margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-3); padding: var(--s-2) var(--s-4); min-height: 40px; }
  .dash .evlist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-bottom: var(--s-4); }
  .dash .evbody { padding: var(--s-3) var(--s-4) var(--s-4); }
  .dash .evbody h3 { font-size: var(--fs-h3); }
  .dash .cards { gap: var(--s-3); margin-bottom: var(--s-4); }
  .dash .card { padding: var(--s-4); }
  .dash-sec { margin-bottom: var(--s-4); }
  h2.sec-title { font-size: 20px; }
}

/* greeting panel on phones (Alex, 2026-11-08): the panel reads compact like the desktop bar — one row for
   photo + name/club, actions under it — instead of stacking at full desktop padding with a 96px tile. */
@media (max-width: 899px) {
  .dash .hero-home { padding: 0; margin-bottom: var(--s-4); }
  .dash .hero-home .hero-body { padding: var(--s-4); }
  .dash .hero-home .hero-id { flex-wrap: nowrap; gap: var(--s-3); margin-bottom: var(--s-3); }
  .dash .hero-home .hero-photo, .dash .hero-home .hero-media-ph { width: 64px; height: 64px; font-size: 24px; }
  .dash .hero-home h1 { font-size: 24px; margin-bottom: var(--s-1); }
  .dash .hero-home .hero-idtxt h1::after { margin-top: 6px; }
  .dash .hero-home .crest.lg { width: 36px; height: 36px; font-size: 17px; }
  .dash .hero-home .hero-clubline { gap: var(--s-2); }
  .dash .hero-home .hero-clubline p { max-width: none; }
  .dash .hero-home .hero-actions { gap: var(--s-2); margin-top: 0; }
}

/* ===== captain dashboard (CAPTAIN-DASHBOARD-JOB 2026-11-08): existing tokens only (Inter, radii 6/10/14/20/999, no new colours) ===== */
.cap { display: grid; gap: var(--s-4); }
.cap-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-4); box-shadow: var(--shadow-xs); }
.cap-h { margin: var(--s-4) 0 var(--s-1); }
.cap-list, .cap-rank, .cap-photos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.cap-match { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); justify-content: space-between; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-control); }
.cap-match-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.cap-match-main .muted { font-size: var(--fs-small); }
.cap-match-main .badge { justify-self: start; }
.cap-rank-row { display: flex; align-items: center; gap: var(--s-3); min-height: var(--row-h); padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-control); }
.cap-rank-n { width: 28px; font-weight: 800; text-align: center; }
.cap-rank-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.cap-rank-ctl { display: flex; gap: var(--s-2); }
.cap-player { padding: var(--s-3) 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-2); }
.cap-player-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); }
.cap-photos { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cap-photo { display: grid; gap: var(--s-2); justify-items: start; align-content: start; padding: var(--s-2); border: 1px solid var(--line); border-radius: var(--r-control); }
.cap-photo img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-control); background: radial-gradient(115% 90% at 50% 38%, #3c3c3c 0%, #1b1b1c 52%, #000000 100%); }
.cap-photo-meta { display: flex; flex-wrap: wrap; gap: var(--s-1); align-items: center; font-size: var(--fs-small); }
.cap-add summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; }
.cap-fail { flex-basis: 100%; }

/* Owner Roster section (ROSTER-SECTION-JOB 2026-11-08). Existing tokens only. */
.rs-flags { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: center; margin: var(--s-3) 0; }
.rs-flag { display: inline-flex; gap: var(--s-1); align-items: baseline; padding: 6px 10px; border-radius: var(--r-tag); font-size: var(--fs-small); border: 1px solid var(--line); background: var(--surface); }
.rs-flag-a { border-color: var(--problem); background: var(--problem-bg); color: var(--problem); }
.rs-flag-b { border-color: var(--n-800); background: var(--info-bg); color: var(--ink); }
.rs-squad { margin-bottom: var(--s-4); display: grid; gap: var(--s-3); }
.rs-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.rs-head .sub { margin: 0; }
.rs-list, .rs-pool, .rs-results { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.rs-row, .rs-prow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); min-height: var(--row-h); padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: var(--r-control); }
.rs-unreg, .rs-p-rostered_unregistered { border-left: 4px solid var(--problem); }
.rs-p-registered_unrostered { border-left: 4px solid var(--n-800); }
.rs-name { flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.rs-act, .rs-remind, .rs-all, .rs-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.rs-res { padding: var(--s-2) var(--s-3); border-radius: var(--r-control); background: var(--info-bg); font-size: var(--fs-small); }
.rs-sent { background: var(--done-bg); } .rs-failed { background: var(--problem-bg); }
.rs-edit summary { cursor: pointer; list-style: none; display: inline-flex; }
.termshort { border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); background: #fffbe6; margin-bottom: var(--s-3); }
.termshort h3 { margin: 0 0 var(--s-2); font-size: var(--fs-body); }
.termshort ul { margin: 0; padding-left: 1.2em; }
.termshort li { margin-bottom: var(--s-1); line-height: 1.5; }

/* ---- password show/hide eye (2026-11-09) ---- */
.ico-eye { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M1%2012s4-8%2011-8%2011%208%2011%208-4%208-11%208-11-8-11-8z%27/%3E%3Ccircle%20cx=%2712%27%20cy=%2712%27%20r=%273%27/%3E%3C/svg%3E"); }
.ico-eye-off { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M1%2012s4-8%2011-8%2011%208%2011%208-4%208-11%208-11-8-11-8z%27/%3E%3Ccircle%20cx=%2712%27%20cy=%2712%27%20r=%273%27/%3E%3Cpath%20d=%27M3%203l18%2018%27/%3E%3C/svg%3E"); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 48px; }
.pw-eye { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }

/* ---- success toast (2026-11-09) ---- */
.toast.success { background: var(--done); }

/* ===== Commissions package (Alex, 2026-11-11): MD notice, Veem line, playoff bonuses, My Club logo ===== */
.commission-notice { margin-top: var(--s-4); background: var(--surface); }
.veem-line { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-4); }
.veem-check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--done); color: #fff; font-weight: 900; font-size: 13px; flex: none; }
.myclub-logo { height: 30px; width: auto; flex: none; margin-left: var(--s-2); }
.pb-card { display: flex; align-items: stretch; background: var(--surface-panel); color: #fff; border-radius: var(--r-panel); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-panel); margin: 0 0 var(--s-4); }
.pb-card-img { width: 34%; max-width: 200px; min-height: 104px; object-fit: cover; display: block; }
.pb-card-body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); justify-content: center; min-width: 0; }
.pb-card-body h3 { margin: 0; color: #fff; }
.pb-card-body .sec-link { color: var(--accent-on-dark); }
.pb-hero { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--n-950); box-shadow: var(--shadow-panel); }
.pb-hero-img { width: 100%; height: 230px; object-fit: cover; display: block; }
.pb-hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s-5); color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); }
.pb-hero-text h1 { margin: 0 0 var(--s-1); color: #fff; }
.pb-kicker { margin: 0 0 var(--s-1); color: var(--accent-on-dark); font-weight: 800; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; }
.pb-sub { margin: 0; color: var(--on-dark); }
.pb-bar { display: flex; gap: 6px; margin: var(--s-3) 0; }
.pb-seg { flex: 1; height: 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.18); }
.pb-seg.on { background: var(--accent-fill); }
/* STATUS PANEL (Alex, 2026-11-13): Qualified is the lead figure; the squads
   are one merged list — name + status chip, a slim progress track (paid of size), and the counts as one text line. The old
   .pb-big/.pb-missing/.pb-fr/.pb-squads rules went with the duplicated
   markup they styled. */
.pb-lead { display: grid; gap: 1px; margin: var(--s-3) 0 var(--s-2); }
.pb-lead-lb { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.pb-lead-vl { font-size: 34px; font-weight: 800; line-height: 1.1; color: var(--ink); }
.pb-lead-sub { font-size: var(--fs-small); color: var(--ink-2); }
.pb-note { font-size: var(--fs-small); color: var(--ink-2); margin: var(--s-2) 0 0; }
.pb2-squads { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.pb2-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.pb2-name { font-weight: 700; color: var(--ink); }
.pb2-dim { background: rgba(0,0,0,.06); color: var(--ink-2); }
.pb2-track { height: 6px; border-radius: var(--r-pill); background: var(--n-200); margin: 5px 0 4px; overflow: hidden; }
.pb2-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--ink); }
.pb2-sub { font-size: var(--fs-small); color: var(--ink-2); }
/* STAT ROWS + STATUS STRIP (Alex, 2026-11-13): the designed fact rows the
   Club Credit panel and the playoff-bonus panel share — label left in small
   caps gray, value right in bold, hairlines between; an event name becomes
   a subhead row over its facts; a lock state becomes a status strip with
   its wording intact. LIGHT panels (white body, black header band): ink
   values, ink-2 labels, --line hairlines. (First landed styled for a dark
   panel — white values on the white body were invisible; fixed the same
   day, 2026-11-13.) */
.srows { display: grid; margin: 0 0 var(--s-3); }
.srow { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: 7px 0; border-bottom: 1px solid var(--line); }
.srow:last-child { border-bottom: 0; }
.srow-lb { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.srow-vl { font-size: var(--fs-lead); font-weight: 800; color: var(--ink); text-align: right; }
.ssub { font-size: var(--fs-body); font-weight: 800; color: var(--ink); margin: var(--s-4) 0 var(--s-1); padding-bottom: var(--s-2); border-bottom: 2px solid var(--ink); }
.slock { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); background: var(--n-100); border: 1px solid var(--line); border-radius: var(--r-control); padding: 9px 12px; margin: 0 0 var(--s-3); }
.slock-lb { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); flex: none; }
.slock-vl { font-weight: 700; color: var(--ink); text-align: right; }
/* INVITATION MANAGER COPY BUTTONS (Alex, 2026-11-13): inside the manager
   pop-up only, Copy takes the dashboard's black treatment (black fill,
   white bold text) — no yellow buttons on the white pop-up. "Text it"
   keeps its outline. */
.inv .inv-btns .btn:not(.ghost) { background: var(--ink); color: #fff; box-shadow: none; }
/* STATS SCOPE TOGGLE (Alex, 2026-11-13): the Player stats tab's This season
   | Career segmented control sits at the top of the tab (the .rb-seg family
   above carries its look, selected state black). */
.rb-stats-seg { margin-bottom: var(--s-2); }
.pb-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.pb-rung { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-control); }
.pb-rung.current { border-color: var(--accent-fill); background: rgba(250,225,22,.08); }
.pb-rung strong { font-size: var(--fs-lead); }
.pb-rules { margin: 0; padding-left: var(--s-5); display: grid; gap: var(--s-2); }
.rb-fullpop { background: var(--accent-tint); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-2) var(--s-3); margin: var(--s-2) 0; font-size: var(--fs-small); }

/* Roster builder + player task bar (promoted from the test door with the recap builder, 2026-11-11). */

.rb-squads { display: grid; gap: var(--s-3); margin-bottom: var(--s-4); }

.rb-squad { position: relative; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-sm); padding: var(--s-3); display: grid; gap: var(--s-3); }

.rb-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }

.rb-head .sub, .rb-sq-name { margin: 0; flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; }

.rb-meta { font-size: var(--fs-small); }

.rb-grip { flex: none; display: inline-flex; align-items: center; justify-content: center; width: var(--control-h); min-height: var(--control-h); padding: 0; border: 0; background: none; color: var(--ink-2); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; border-radius: var(--r-control); }

.rb-grip:hover, .rb-grip:focus-visible { color: var(--ink); background: var(--n-100); }

.rb-grip:active { cursor: grabbing; }

.rb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
/* ROW GEOMETRY (REWORK 2026-11-11): the row has SIX children (grip, rank, avatar, who, stat, acts) and the template
   must name six columns. The old five-column template auto-placed the actions into a second row inside the 44px grip
   column, so Remind / Captain / Remove hung stacked off the card's left edge and every row ballooned. The unregistered
   accent is an inset shadow, never a wider border, so it can never shift a row's geometry or misalign between rows. */
.rb-row { display: grid; grid-template-columns: var(--control-h) 24px 36px minmax(0, 1fr) auto auto; align-items: center; gap: var(--s-1) var(--s-2); min-height: var(--row-h); padding: var(--s-1) var(--s-2) var(--s-1) 0; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); }
.rb-row.rb-unreg { box-shadow: inset 4px 0 0 var(--problem); }
.rb-ava { width: 36px; height: 36px; border-radius: var(--r-pill); object-fit: cover; flex: none; }
.rb-ava.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--n-100); color: var(--ink-2); font-weight: 800; font-size: var(--fs-small); }

.rb-row.rb-fresh { background: var(--done-bg); border-color: var(--done); transition: background 0.4s; }

.rb-row.rb-picked { box-shadow: 0 0 0 3px var(--accent-fill); }

.rb-frozen { grid-template-columns: minmax(0, 1fr) auto; padding-left: var(--s-3); }

.rb-rank { font-weight: 800; text-align: center; color: var(--ink-2); }

.rb-who { display: grid; min-width: 0; }

.rb-name { font-weight: 600; overflow-wrap: anywhere; }

.rb-sub { font-size: var(--fs-label); color: var(--ink-2); font-weight: 600; }

.rb-stat { justify-self: end; }

.rb-acts { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--s-1); }

.rb-move .ico, .rb-x .ico { width: 18px; height: 18px; }

.rb-move, .rb-x { gap: var(--s-1); padding: 0 var(--s-3); }

.rb-move.on { background: var(--accent-fill); color: var(--accent-fill-ink); border-color: var(--accent-fill); }

.rb-x.armed { background: var(--problem); color: #fff; border-color: var(--problem); }

.rb-none { padding: var(--s-4); text-align: center; border: 1px dashed var(--field-line); border-radius: var(--r-control); }

.rb-empty { min-height: var(--row-h); }

.rb-foot { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }

.rb-all { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }

/* the player picker */
.rb-add { position: relative; flex: 1 1 280px; min-width: 0; }

.rb-addrow { display: flex; gap: var(--s-2); }

.rb-addrow .rb-input { flex: 1 1 auto; min-width: 0; }

.rb-pick { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: min(320px, 50vh); overflow: auto; margin: 0; padding: var(--s-1); list-style: none; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--r-control); box-shadow: var(--shadow-panel); }

.rb-pick[hidden] { display: none; }

.rb-grp { padding: var(--s-2) var(--s-3) var(--s-1); font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }

.rb-opt { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-height: var(--control-h); padding: var(--s-2) var(--s-3); border-radius: var(--r-tag); cursor: pointer; }

.rb-opt:hover, .rb-opt[aria-selected="true"] { background: var(--accent-tint); }

.rb-opt-name { font-weight: 600; overflow-wrap: anywhere; }

.rb-opt-note { font-size: var(--fs-small); color: var(--ink-2); text-align: right; }

/* add a squad */
.rb-new { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); padding: var(--s-4); border: 1px dashed var(--field-line); border-radius: var(--r-card); }

.rb-new .sub, .rb-new p { margin: 0; }

.rb-divs { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.rb-adddiv { flex: 1 1 120px; }

.rb-plus { font-weight: 900; font-size: 1.2em; line-height: 1; }

.rb-pool { margin-bottom: var(--s-4); }

.rb-pool > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; margin-bottom: var(--s-3); }

.rb-pool > p { margin: 0 0 var(--s-3); }

/* tap-to-move */
.rb-moving { position: sticky; top: calc(var(--control-h) + var(--s-3)); z-index: 20; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-3); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-3); background: var(--ink); color: #fff; border-radius: var(--r-control); font-weight: 600; }

.rb-moving .btn.ghost { color: #fff; border-color: #fff; }

.rb-squad.rb-target { box-shadow: 0 0 0 3px var(--accent-fill); }

.rb-here { width: 100%; }

/* dragging */
.rb-row.rb-dragging, .rb-squad.rb-dragging { opacity: 0.35; }

.rb-ghost { position: fixed; z-index: 90; pointer-events: none; margin: 0; box-shadow: var(--shadow-panel); background: var(--surface); border-color: var(--ink); opacity: 0.95; }

.rb-squad.rb-ghost { display: block; max-height: 160px; overflow: hidden; }

.rb-drop-before { box-shadow: 0 -4px 0 0 var(--accent-fill); }

.rb-drop-end { box-shadow: 0 4px 0 0 var(--accent-fill); }

.rb-list.rb-drop-end { box-shadow: 0 4px 0 0 var(--accent-fill); }

.rb-squad.rb-drop-over { outline: 2px solid var(--accent-fill); outline-offset: 2px; }

.rb-squad.rb-drop-before { box-shadow: 0 -6px 0 0 var(--accent-fill); }

.rb-squad.rb-drop-end { box-shadow: 0 6px 0 0 var(--accent-fill); }
@media (max-width: 640px) {

  .rb-squad { padding: var(--s-2); }

  .rb-row { grid-template-columns: var(--control-h) 20px 32px minmax(0, 1fr); grid-template-areas: "grip rank ava who" "stat stat stat stat" "acts acts acts acts"; padding: var(--s-1) var(--s-2) var(--s-2) 0; row-gap: var(--s-1); }
  .rb-row .rb-grip { grid-area: grip; } .rb-row .rb-rank { grid-area: rank; } .rb-row .rb-who { grid-area: who; }
  .rb-row .rb-ava { grid-area: ava; width: 32px; height: 32px; }

  .rb-row .rb-stat { grid-area: stat; justify-self: start; padding-left: var(--s-3); }

  .rb-row .rb-acts { grid-area: acts; justify-content: flex-start; padding-left: var(--s-3); }

  .rb-frozen { grid-template-columns: 1fr; grid-template-areas: none; }

  .rb-frozen .rb-stat, .rb-frozen .rb-name { grid-area: auto; padding-left: 0; }

  .rb-add { flex-basis: 100%; }

  .rb-divs .btn { flex: 1 1 40%; }
}

/* ROSTER BUILDER FOLLOW-UP (2026-11-10): hold and boundary tags, the waiting panel, the pool drag grip. Neutral outlines only: the
   registered check stays the green event-card standard and nothing here is a yellow pill. */
.rb-tag { display: inline-flex; align-items: center; justify-self: start; margin-top: 2px; padding: 2px var(--s-2); border: 1px solid var(--ink-2); border-radius: var(--r-tag); background: var(--n-100); color: var(--ink); font-size: var(--fs-label); font-weight: 700; line-height: 1.3; }

.rb-tag-hold { border-style: dashed; }

.rb-tag-bad { border-color: var(--problem); color: var(--problem); background: var(--surface); }

.rb-flagnote { margin-top: 2px; font-weight: 500; }

.rb-wait { margin-bottom: var(--s-4); }

.rb-wait .sub, .rb-wait p { margin: 0 0 var(--s-2); }

.rs-prow .rb-grip { margin-left: calc(var(--s-3) * -1); }

.rs-prow.rb-picked { box-shadow: 0 0 0 3px var(--accent-fill); }

.rs-prow.rb-dragging { opacity: 0.35; }

.rs-prow.rb-ghost { display: flex; }

.rs-prow .rb-move, .rs-prow select { min-height: var(--control-h); }

.rb-ghost .rb-tag, .rb-ghost select { display: none; }

.rr-actions .rb-input { flex: 1 1 14rem; }


/* ============================================================================
   PLAYER TASK BAR (Alex, 2026-11-11) — the seven-step journey under a player
   (builder) or under their event (dashboard). States come from
   server/player-tasks.mjs; this block only paints them. Coming steps are
   hatched so they never read as failures; the optional certifications are
   dashed outlines after a divider and are never counted as missing.
   ============================================================================ */
.ptb-li { list-style: none; margin-top: calc(-1 * var(--s-1)); }

.ptb-strip { display: flex; align-items: center; gap: 3px; }

.ptb-seg { flex: 1 1 0; min-width: 0; height: 10px; border-radius: var(--r-pill); background: var(--n-300); }

.ptb-seg.is-done { background: var(--done); }

.ptb-seg.is-coming { height: 8px; background: repeating-linear-gradient(45deg, var(--n-200) 0 4px, var(--n-50) 4px 8px); border: 1px solid var(--line); }

.ptb-div { flex: 0 0 auto; width: 1px; height: 14px; background: var(--field-line); margin: 0 2px; }

.ptb-optcluster { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; padding: 4px; margin: -4px; background: none; border: 0; border-radius: var(--r-tag); cursor: pointer; }

.ptb-optcluster .ptb-seg { flex: 0 0 22px; height: 8px; background: var(--surface); border: 1.5px dashed var(--n-400); }

.ptb-optcluster .ptb-seg.is-done { background: var(--done); border-style: solid; border-color: var(--done); }

/* Lookahead rows (Alex, 2026-11-11): the next three steps, always visible
   under the tally. Rows wrap instead of crushing at small widths, so a long
   label or a 'coming' note drops to its own line at 320px rather than
   squeezing unreadable or pushing the bar sideways. */
.ptb-next { margin-top: var(--s-1); }

.ptb-step { flex-wrap: wrap; }

.ptb-step .ptb-lb { min-width: 0; }

.ptb-line { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }

.ptb-det > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 24px; font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }

.ptb-det > summary::-webkit-details-marker { display: none; }

.ptb-steps { list-style: none; margin: var(--s-1) 0 0; padding: 0; display: grid; gap: 2px; }

.ptb-step { display: flex; align-items: center; gap: var(--s-2); min-height: 24px; font-size: var(--fs-small); }

.ptb-step.is-todo .ptb-lb { font-weight: 600; }

.ptb-step.is-coming { color: var(--ink-2); }

.ptb-ic { flex: 0 0 16px; text-align: center; }

.ptb-step.is-done .ptb-ic { color: var(--done); font-weight: 800; }

.ptb-note { color: var(--ink-2); font-size: var(--fs-label); }

.ptb-opthead { margin-top: var(--s-2); font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }

.ptb-certbtn { display: inline-flex; align-items: center; gap: var(--s-2); padding: 2px 0; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }

/* the player's own copy of the bar, under their event card */
.ptb-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-3); display: grid; gap: var(--s-2); }

.ptb-wrap .ptb { background: none; border: 0; padding: 0; }

.ptb-head { margin: 0; }

.rb-fullpop { background: var(--accent-tint); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-2) var(--s-3); margin: var(--s-2) 0; font-size: var(--fs-small); }

/* Contest boards + jersey contest (promoted from the test door, Alex 2026-11-11) */
.promo-detail p { margin: 0 0 var(--s-3); }
.promo-board { margin-top: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.promo-board h3 { margin: 0 0 var(--s-2); }
.promo-board-total { font-weight: 700; }
.promo-board-you { font-weight: 700; }
.promo-board-list { list-style: none; margin: var(--s-2) 0 0; padding: 0; }
.promo-board-row { display: flex; align-items: baseline; gap: var(--s-2); padding: 7px 8px; border-radius: 8px; }
.promo-board-row.you { background: var(--n-100); box-shadow: inset 0 0 0 1px var(--accent-fill); }
.promo-board-rank { font-weight: 800; min-width: 2.2em; }
.hdr-links a.po-hot { font-weight: 800; }
.rec-list { list-style: none; margin: 0; padding: 0; }
.rec-row { display: flex; gap: var(--s-3); align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rec-row:last-child { border-bottom: 0; }
.rec-rank { flex: none; width: 1.9em; font-weight: 800; color: var(--n-500); }
.rec-main { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.rec-meta { font-weight: 600; }
.rec-team { width: 100%; font-size: var(--fs-small); }
.promo-rules { margin-top: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-3); }
.promo-rules h3 { margin: 0 0 var(--s-2); }
.promo-rules ul { margin: 0; padding-left: 1.2em; }
.promo-rules li { margin: 0 0 6px; line-height: 1.4; }
.promo-rule-rows { display: flex; flex-direction: column; }
.promo-rule-row { display: flex; align-items: flex-start; gap: var(--s-3); padding: 8px 0; border-bottom: 1px solid var(--line); }
.promo-rule-row:last-child { border-bottom: none; padding-bottom: 0; }
.promo-rule-n { flex: none; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; background: var(--accent-fill); color: #000; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.promo-rule-text { flex: 1 1 auto; line-height: 1.4; padding-top: 9px; }
.promo-rule-cond { display: block; margin-top: 2px; font-size: var(--fs-small); color: var(--ink-2); }
.promo-rule-note { margin: var(--s-3) 0 0; line-height: 1.45; font-size: var(--fs-small); color: var(--ink-2); }
.promo-board-youcard { display: flex; align-items: center; gap: var(--s-3); background: #101013; border-radius: var(--r-card); padding: 10px 12px; margin: var(--s-2) 0; }
.promo-board-youdisc { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-fill); color: #000; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.promo-board-youtext { color: #fff; font-weight: 800; }
.promo-board-list .promo-board-rank { flex: none; width: 30px; height: 30px; min-width: 30px; border-radius: 50%; background: var(--n-100); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-small); }
.promo-board-row { align-items: center; }
.promo-board-row.podium-1 { background: #101013; }
.promo-board-row.podium-1 .promo-board-rank { background: var(--accent-fill); color: #000; width: 36px; height: 36px; min-width: 36px; font-size: var(--fs-body); }
.promo-board-row.podium-1 .promo-board-name, .promo-board-row.podium-1 .promo-board-tickets { color: #fff; }
.promo-board-row.podium-1 .promo-board-club { color: var(--on-dark); }
.promo-board-row.podium-2 .promo-board-rank, .promo-board-row.podium-3 .promo-board-rank { box-shadow: inset 0 0 0 2px var(--n-300); }
.promo-board-kinds { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.promo-board-kind { padding: 1px 7px; border-radius: 999px; background: var(--n-100); font-size: var(--fs-small); font-weight: 600; }
.promo-board-claimed { padding: 1px 7px; border-radius: 999px; background: var(--accent-fill); color: #000; font-size: var(--fs-small); font-weight: 700; }
.promo-board-unclaimed { padding: 1px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--n-300); color: var(--n-500); font-size: var(--fs-small); font-weight: 600; }
.promo-board-row.podium-1 .promo-board-kind { background: #242428; color: var(--on-dark); }
.promo-board-empty { border: 1px dashed var(--n-300); border-radius: var(--r-card); padding: 12px; line-height: 1.45; }
.promo-board-name { flex: 1; min-width: 0; font-weight: 600; }
.promo-board-club { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--n-600); }
.promo-board-youtag { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--accent-fill); color: #000; font-size: var(--fs-small); font-weight: 800; }
.promo-board-tickets { font-weight: 700; white-space: nowrap; }
/* ===== Jersey contest (Alex, 2026-11-11) ===== */
.jersey-entry-img { width: 100%; max-width: 520px; border-radius: var(--r-card); display: block; margin: 0 0 var(--s-3); }
.jersey-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s-3); margin: var(--s-3) 0; }
.jersey-pick { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-2); background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-card); cursor: pointer; text-align: left; font: inherit; color: var(--ink); }
.jersey-pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-control); }
.jersey-pick[aria-pressed="true"] { border-color: var(--n-900); }
.jersey-pick-name { font-weight: 700; }
.jersey-pick-mark { font-size: 13px; color: var(--ink-2); }
.jersey-pick[aria-pressed="true"] .jersey-pick-mark { color: var(--ink); font-weight: 700; }
.jersey-thumb { width: 52px; height: 40px; object-fit: cover; border-radius: var(--r-tag); flex: none; }

/* ===== Test-door parity additions (audit, 2026-11-11): feature CSS that existed only on testreg ===== */
.hero .claimLine { margin: var(--s-4) 0 0; font-size: var(--fs-small); }
.hero .claimLine a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.hero .claimLine a:hover { color: #fff; }
.panel > h2 .btn.ghost { background: var(--accent-fill); color: #000; border: 1px solid transparent; box-shadow: none; }
.hdr-scrollwrap { grid-area: links; position: relative; min-width: 0; margin: 0 calc(var(--s-4) * -1); }
.hdr-scrollwrap > .hdr-links { margin: 0; }
.hdr-scrollwrap.has-r > .hdr-links { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); }
.hdr-scrollwrap.has-l > .hdr-links { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 34px), transparent); }
.hdr-scrollwrap.has-l.has-r > .hdr-links { -webkit-mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent); }
.hdr-chev { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--accent-fill); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity var(--t-fast) var(--ease); z-index: 2; }
.hdr-chev::before { content: ''; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-top: 2px solid var(--n-900); border-right: 2px solid var(--n-900); transform: translate(-60%, -50%) rotate(45deg); }
.hdr-scrollwrap.has-r > .hdr-chev { opacity: 1; }
.merchcard:last-child { scroll-snap-align: end; }
.cpick .crest { background: #0b0b0b; padding: 5px; }
#matches-entry .btn.ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.divTgl { margin: var(--s-2) 0; }
.statTiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); margin: 0 0 var(--s-4); }
@media (min-width: 640px) { .statTiles { grid-template-columns: repeat(4, 1fr); } }
.statTile { background: var(--n-50); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3); }
.statTk { display: block; font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.statTk .proC { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.statTv { display: block; margin-top: 2px; font-size: var(--fs-h2); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rung { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); background: var(--n-50); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-2) var(--s-3); min-height: 44px; }
.rungK { font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); }
.rungV { font-size: var(--fs-h2); font-weight: 800; font-variant-numeric: tabular-nums; }
.rungV.txt { font-size: var(--fs-body); font-weight: 700; }
.tilerow > :last-child { scroll-snap-align: end; }
.ico-grip { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%3E%3Cg%20fill=%27black%27%3E%3Ccircle%20cx=%279%27%20cy=%276%27%20r=%271.8%27/%3E%3Ccircle%20cx=%2715%27%20cy=%276%27%20r=%271.8%27/%3E%3Ccircle%20cx=%279%27%20cy=%2712%27%20r=%271.8%27/%3E%3Ccircle%20cx=%2715%27%20cy=%2712%27%20r=%271.8%27/%3E%3Ccircle%20cx=%279%27%20cy=%2718%27%20r=%271.8%27/%3E%3Ccircle%20cx=%2715%27%20cy=%2718%27%20r=%271.8%27/%3E%3C/g%3E%3C/svg%3E"); }
.ico-up { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6%2015l6-6%206%206%27/%3E%3C/svg%3E"); }
.ico-down { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6%209l6%206%206-6%27/%3E%3C/svg%3E"); }
.ico-phone { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272.4%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Crect%20x=%277%27%20y=%272%27%20width=%2710%27%20height=%2720%27%20rx=%272%27/%3E%3Cpath%20d=%27M12%2018h.01%27/%3E%3C/svg%3E"); }
.rr-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.rr-row p { margin: .2rem 0; }
.rr-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .4rem; }
.clubswipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
.clubswipe::-webkit-scrollbar { display: none; }
.clubpage { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; margin-bottom: 0; }
.clubfoot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-2); }
.clubdots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; flex: 1 1 auto; }
.cdot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); }
.cdot.on { background: #111; }
.clubnav { min-width: 44px; min-height: 44px; font-size: 20px; line-height: 1; }
a.personlink { display: flex; gap: var(--s-3); align-items: center; flex: 1 1 auto; min-width: 0; min-height: 44px; color: inherit; text-decoration: none; }
ul.people .btn.small { min-height: 44px; display: inline-flex; align-items: center; }
.retreat-hero { width: 100%; max-height: 340px; object-fit: cover; object-position: 50% 22%; border-radius: var(--r-card); display: block; margin-bottom: var(--s-5); background: var(--n-900); }
.retreat-thumb { width: 100%; height: 190px; object-fit: cover; object-position: 50% 35%; border-radius: var(--r-card); display: block; margin-bottom: var(--s-4); background: var(--n-900); }
.retreat-photos { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.retreat-photos img { height: 300px; width: auto; border-radius: var(--r-card); flex: 0 0 auto; }
.evFilters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.evFilters select { flex: 1 1 150px; min-height: 44px; padding: 0 10px; border: 1px solid var(--field-line); border-radius: var(--r-control); background: var(--surface); font: 600 14px var(--font); color: var(--ink); }
.evg { margin: 0 0 18px; }
.evg:last-child { margin-bottom: 2px; }
.evg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 6px; }
.evg-head h3 { font-size: 15px; font-weight: 800; margin: 0; }
.evg-head .muted { font-size: 12.5px; }
.evm-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.evm-res { flex: 0 0 auto; width: 26px; height: 26px; border-radius: var(--r-pill); display: inline-flex; align-items: center; justify-content: center; font: 800 12px var(--font); background: var(--n-100); color: var(--ink-2); }
.evm-res.w { background: var(--done-bg); color: var(--done); }
.evm-res.l { background: var(--problem-bg); color: var(--problem); }
.evm-main { flex: 1 1 auto; min-width: 0; }
.evm-top { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evm-nets { font-size: 12.5px; margin-top: 1px; }
.evm-score { flex: 0 0 auto; font: 800 14px var(--font); color: var(--ink); }
.ptb { background: var(--n-50); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-2) var(--s-3); display: grid; gap: var(--s-1); }
.cert-cards { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.cert-card { display: grid; gap: var(--s-1); align-content: start; width: 100%; min-height: var(--control-h); padding: var(--s-4); background: var(--n-50); border: 1.5px dashed var(--field-line); border-radius: var(--r-card); font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.cert-card h3 { margin: 0; display: flex; align-items: center; gap: var(--s-2); }
.cert-card p { margin: 0; }

.ladder { display: grid; gap: var(--s-2); margin: 0 0 var(--s-4); }

/* Cart line furniture (cart fix, 2026-11-11): thumbnails in the registration
   cart and quantity steppers in both carts. */
.cart-thumb { flex: 0 0 auto; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.qtystep { display: inline-flex; align-items: center; gap: 8px; }
.innerline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* ROSTER BUILDER DENSITY PASS (Alex, 2026-11-11 23:50): one compact row per
   player at old-Roster-Manager density. The row carries grip, number, photo,
   name, captain chip and ONE registration indicator; the task bar, the account
   state in words, and the captain / credential / remind / remove tools live in
   the .rb-detail layer behind the row's overflow. The squad summary (players,
   registered count, the full-squad note) lives in the squad header. */
.rb .rb-who { display: flex; align-items: center; gap: var(--s-2); }
.rb .rb-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.rb-ind { width: 32px; height: 32px; border-radius: var(--r-control); background: var(--n-100); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.rb-ind .ico { width: 18px; height: 18px; }
.rb-ind.ok { background: var(--done); color: #fff; }
.rb-ind.bad { background: var(--problem-bg); color: var(--problem); }
.rb-dot { width: 8px; height: 8px; border-radius: var(--r-pill); background: var(--n-300); display: block; }
.rb-more { width: 40px; min-height: 40px; padding: 0; border: 0; background: none; border-radius: var(--r-control); color: var(--ink-2); font-size: 20px; line-height: 1; letter-spacing: 1px; cursor: pointer; }
.rb-more:hover, .rb-row.rb-open .rb-more { background: var(--n-100); color: var(--ink); }
.rb-detail { list-style: none; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--n-50); padding: var(--s-2) var(--s-3); display: grid; gap: 6px; margin-top: calc(-1 * var(--s-1)); }
/* Detail-layer view toggle + stats block (PLAYER STATS, Alex 2026-11-12): a compact segmented
   pill in the .rolebar pattern; the stats rows stay at panel density. */
.rb-seg { display: inline-flex; gap: 4px; padding: 2px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--surface); justify-self: start; }
.rb-seg-btn { min-height: 28px; padding: 2px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: var(--fs-label); font-weight: 700; cursor: pointer; }
.rb-seg-btn.on { background: var(--ink); color: #fff; }
.rb-stats { display: grid; gap: 4px; }
.rb-stat { display: flex; gap: 10px; align-items: baseline; }
.rb-stat-lb { font-size: var(--fs-label); color: var(--ink-2); font-weight: 700; min-width: 118px; }
.rb-stat-vl { font-weight: 700; }
/* STATS PANEL + COMPACT DETAIL HEADER + ROW MARKER (Alex, 2026-11-13): the
   stats rows take a scoped layout of their own (the bare .rb-stat rule in the
   row section above is the roster ROW's cell: its justify-self:end leaked
   into this grid and packed every stats row against the panel's right edge,
   and the partners were squeezed into a bold value cell). Partners become a
   stacked list under their label; the detail header's status and visibility
   sentences become one compact line; the row's registration word becomes an
   icon-only circle so the name takes the width. */
.rb-stats { gap: var(--s-2); }
.rb-stats .rb-stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-3); align-items: baseline; justify-self: stretch; }
.rb-stats .rb-stat-lb { min-width: 0; font-size: var(--fs-small); font-weight: 500; }
.rb-stats .rb-stat-vl { text-align: right; }
.rb-partners { display: grid; gap: var(--s-1); }
.rb-partners-lb { font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); }
.rb-partners-list { display: grid; gap: 2px; }
.rb-partner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s-2); }
.rb-partner-nm { font-weight: 600; color: var(--ink); }
.rb-partner-rc { font-size: var(--fs-small); color: var(--ink-2); white-space: nowrap; }
.rb-det-line { font-size: var(--fs-label); font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-reg { width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid var(--n-300); color: var(--n-300); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rb-reg .ico { width: 13px; height: 13px; }
.rb-reg.ok { background: var(--done); border-color: var(--done); color: #fff; }
.rb-reg.bal { background: var(--done); border-color: var(--done); color: #fff; position: relative; }
.rb-reg-dot { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 999px; background: #D97706; border: 2px solid #fff; box-sizing: border-box; }

.rb-msgbox { list-style: none; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--n-50); padding: var(--s-2) var(--s-3); margin-top: calc(-1 * var(--s-1)); }
.rb-det-stat { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.rb-det-acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-2); }
.rb-fullnote { margin: 0; font-size: var(--fs-small); color: var(--ink-2); }
/* OWNER BONUS BUTTON (Alex, 2026-11-13, revised same day): the full-squad playoff-bonus
   line as a light outlined BUTTON inside the squad card's footer zone — white fill, a
   clear black border, a yellow trophy chip. (First built as an all-black bar; Alex found
   it blurred into the next squad's black header and impersonated it, so it is a button
   now, not a slab: no black fill anywhere in it.) Owner/admin only — the markup is
   never sent to captains. */
.rb-bonusbar { display: flex; align-items: center; gap: var(--s-3); background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 10px; padding: 10px var(--s-3); text-decoration: none; }
.rb-bonusbar:active { background: var(--n-100); }
.rb-bonus-chip { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: var(--r-control); background: var(--accent-fill); color: var(--accent-fill-ink); }
.rb-bonus-chip .ico { width: 20px; height: 20px; }
.rb-bonus-txt { display: grid; gap: 1px; min-width: 0; }
.rb-bonus-title { font-weight: 800; font-size: 15px; line-height: 1.25; color: var(--ink); }
.rb-bonus-sub { font-size: var(--fs-small); line-height: 1.35; color: var(--ink-2); }
/* DASHBOARD BLACK BUTTONS (Alex, 2026-11-13): on the club dashboard ONLY (the .dash-club
   root that dashboard() builds), the primary buttons read black with white bold text and
   their destination word in brand yellow (.btn-y). The shared .btn rule is untouched —
   every other screen, the player dashboard (plain .dash) included, keeps the yellow
   gradient. The roster builder (.rs) keeps its own reviewed treatment even when embedded
   in the dashboard, and ghost buttons keep theirs everywhere. The Playoffs / Invitation
   Manager duo stacks full-width at phone sizes so its text and labels get the whole row. */
.dash-club .btn:not(.ghost) { background: var(--ink); color: #fff; box-shadow: none; }
.dash-club .rs .btn:not(.ghost) { background: var(--accent-gradient); color: var(--accent-fill-ink); box-shadow: var(--shadow-cta); }
.dash-club .btn .btn-y { color: #F9E211; }
/* BUTTON LABELS FIT (Alex, 2026-11-13): dashboard labels run a size down with
   a prose line height, and every multi-part label arrives wrapped in one
   .btn-label span (dashboard.js btnLabel), so a label reads as ordinary
   spaced text — one clean line, or two clean lines where the column is
   narrow — never flex items squeezed against each other. The Playoffs /
   Invitation Manager duo stacks full-width up to 480px (Alex's phone is
   440px wide; the old 430px breakpoint left the duo two-up and colliding),
   and its buttons hold their labels on one line at that full width. */
.dash-club .btn { font-size: 15px; line-height: 1.25; }
.dash-club .btn.small { font-size: 13px; }
.dash-club .btn .btn-label { display: block; min-width: 0; text-align: center; }
.dash-club .duo-panel .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .dash-club .dash-duo { grid-template-columns: minmax(0, 1fr); }
}

/* ADMIN CLUB PICKER (Alex, 2026-11-13): the league-admin Roster Manager picks its club
   in two swipeable rails instead of a dropdown — conference name chips (alphabetical),
   then the picked conference's clubs as crest tiles with name captions. Standing rule
   (Alex, 2026-11-11): a scrolling row must signal more content — each rail's next item
   is cut by the edge AND the right edge carries a fade. Admin view only; owners and
   captains never render this. */
.arm-picker { gap: var(--s-2); }
.arm-railwrap { position: relative; }
.arm-railwrap::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 30px; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .10)); pointer-events: none; }
.arm-rail { position: relative; display: flex; gap: var(--s-2); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 30px 2px 2px; }
.arm-rail::-webkit-scrollbar { display: none; }
/* CONFERENCE RAIL SCROLLS (Alex, 2026-12-02): the conference rail is a
   single-row left-to-right swipe rail again, exactly like the club rail
   under it — this reverses the 2026-12-01 wrap at Alex's word from his
   phone. No overrides here on purpose: the base .arm-rail overflow-x and
   the railwrap fade apply to the conference rail too. Scoped to the admin
   picker (.arm-confs / .arm-confwrap render only in the league-admin
   rosters view). */
/* CONFERENCE TILES (Alex, 2026-11-13; dark tiles 2026-12-02): each
   conference is a tile — the conference's own logo with the name in small
   caps under it. EVERY tile takes the black backing (Alex, 2026-12-02:
   the pale conference crests vanished on the old white tiles; logos live
   on black panels). The picked tile adds the league-yellow ring the club
   tiles use. A conference with no logo file stands name-only on the same
   dark tile. */
.arm-conftile { flex: none; display: grid; justify-items: center; align-content: start; gap: 4px; min-width: 84px; min-height: 44px; padding: 8px 10px 7px; border-radius: var(--r-card); border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.arm-conftile.on { border-color: var(--accent-fill); box-shadow: 0 0 0 2px var(--accent-fill); }
.arm-cluster { display: flex; align-items: center; height: 30px; }
.arm-conflogo { flex: none; width: 48px; height: 48px; object-fit: contain; border-radius: var(--r-control); }
.arm-mini { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: contain; background: #fff; border: 2px solid var(--surface); margin-left: -10px; }
.arm-mini:first-child { margin-left: 0; }
.arm-conftile .arm-mini { border-color: var(--ink); }
.arm-mini.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--n-100); color: var(--ink-2); font-size: 10px; font-weight: 800; }
.arm-confname { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.2; text-align: center; color: #fff; }
.arm-club.idle .arm-crest { opacity: 0.45; }
.arm-club { flex: none; width: 78px; display: grid; justify-items: center; align-content: start; gap: 5px; padding: 8px 4px 7px; border-radius: var(--r-card); border: 1px solid transparent; background: none; color: var(--ink); cursor: pointer; }
.arm-club.on { background: var(--surface); border-color: var(--ink); box-shadow: 0 0 0 2px var(--accent-fill); }
.arm-crest { width: 48px; height: 48px; object-fit: contain; border-radius: var(--r-control); }
.arm-crest.ph { display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; }
.arm-club-name { font-size: 11px; line-height: 1.25; text-align: center; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arm-club.on .arm-club-name { color: var(--ink); font-weight: 700; }
/* STACKED HEADER (Alex, 2026-11-11 23:55): the squad header is one compact band
   so a full 7-player squad AND the next squad's header fit one phone screen. */
.rb .rb-squad { gap: var(--s-2); }
.rb .rb-head { flex-wrap: nowrap; }
.rb .rb-sq-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; flex: 1 1 auto; }
.rb-subhead { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-3); font-size: var(--fs-small); color: var(--ink-2); }
.rb-subhead .rb-meta strong { color: var(--ink); }
.rb-subhead .rb-capline { display: inline-flex; align-items: center; gap: var(--s-1); }
.rb-foot .rb-rename { flex: 0 1 auto; }
.rb-foot .rb-rename .row { flex-wrap: wrap; margin-top: var(--s-2); max-width: 330px; }
/* PEEK FIT (Alex, 2026-11-11 23:55): tightened until a full squad plus the next
   squad's header share one phone screen — 50px rows, hairline list gaps. */
.rb .rb-row { min-height: 50px; }
.rb .rb-list { gap: 2px; }
.rb .rb-squad { gap: 6px; }
.rb-subhead { line-height: 1.3; row-gap: 2px; }


/* DENSITY PASS phone override (production append, 2026-11-12): the same rules
   the test door carries inside its 640px media block; grid-template-areas is
   reset because the old stacked-areas rule above would otherwise survive. */
@media (max-width: 640px) {
  .rb-row { grid-template-columns: 36px 18px 32px minmax(0, 1fr) auto 36px; grid-template-areas: none; padding: var(--s-1) var(--s-1) var(--s-1) 0; }
  .rb-row .rb-grip { width: 36px; min-height: 40px; }
  .rb-row .rb-ava { width: 32px; height: 32px; }
}

/* DENSITY PASS phone correction (production append, 2026-11-12): on the test
   door the pass replaced the old areas rules outright; here they are
   neutralized so the compact row auto-places exactly as it does there. */
@media (max-width: 640px) {
  .rb-row .rb-grip, .rb-row .rb-rank, .rb-row .rb-who, .rb-row .rb-ava, .rb-row .rb-stat, .rb-row .rb-acts { grid-area: auto; }
  .rb-frozen { grid-template-columns: minmax(0, 1fr) auto; }
}

/* BUILDER REFINEMENTS (Alex, 2026-11-12): black squad bands carrying the
   club's own crest and a yellow division chip; the registration marker moved
   in beside the name and labeled with its word at every width. */
.rb-band { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: var(--s-2) var(--s-3); display: grid; gap: 2px; min-width: 0; }
.rb-band .rb-head { min-width: 0; }
.rb-band .rb-subhead { flex-wrap: wrap; min-width: 0; }
.rb-band .rb-head .sub, .rb-band .rb-sq-name { color: #fff; }
.rb-band .rb-div { background: var(--accent-fill); color: #111; border-radius: var(--r-tag); padding: 2px 8px; font-weight: 800; font-size: var(--fs-small); white-space: nowrap; }
.rb-band .rb-div.unset { background: transparent; color: #fff; border: 1px dashed #888; }
.rb-band .rb-meta, .rb-band .rb-meta-dim, .rb-band .rb-capline, .rb-band .rb-fullnote, .rb-band .rb-meta strong { color: #e8e8e8; }
.rb-band .rb-fullnote a { color: var(--accent-fill); }
.rb-band .rb-role { background: #333; color: #fff; border-radius: var(--r-tag); padding: 1px 6px; }
.rb-band .rb-role.co { background: #222; color: #ccc; }
.rb-band .btn.ghost { color: #fff; border-color: #555; }
.rb-band .rb-grip { color: #ccc; }
.rb-band .regstat.dim { color: var(--on-dark-2); }
.rb-band .regstat.ok .ico { color: #4ADE80; }
.rb-crest { width: 34px; height: 34px; object-fit: contain; border-radius: var(--r-tag); flex: none; }
.rb-row { grid-template-columns: var(--control-h) 24px 36px minmax(0, 1fr) auto; }
.rb-frozen { grid-template-columns: minmax(0, 1fr) auto; }
.rb-ind { width: auto; height: 32px; padding: 0 10px; gap: 6px; border-radius: 999px; font-size: 12px; font-weight: 700; flex: none; }
.rb-ind .ico { width: 15px; height: 15px; }
.rb-ind-t { white-space: nowrap; }
@media (max-width: 640px) {
  .rb-row { grid-template-columns: 36px 18px 32px minmax(0, 1fr) auto; }
  .rb-ind { height: 28px; padding: 0 8px; font-size: 11px; }
  .rb-band { padding: var(--s-2); }
  .rb-crest { width: 28px; height: 28px; }
}
/* Phone fit (2026-11-12): at 390 the captain chip leaves the row — the squad
   band already names the captain — so name + labeled marker keep their room. */
@media (max-width: 640px) {
  .rb-row .rb-role.co { display: none; }
}
/* Phone name room (2026-11-12): trim row chrome at 390 so the name keeps its
   full width beside the labeled marker; the whole row stays the tap target. */
@media (max-width: 640px) {
  .rb-row { grid-template-columns: 30px 14px 28px minmax(0, 1fr) auto; column-gap: 6px; }
  .rb-grip { width: 30px; min-width: 0; }
  .rb-ava, .rb-ava img, .rb-ava .rb-init { width: 28px; height: 28px; }
  .rb-more { width: 28px; height: 32px; }
  .rb-ind { padding: 0 7px; gap: 5px; font-size: 10.5px; }
  .rb-ind .rb-dot { display: none; }
  .rb .rb-who { gap: 6px; }
}

/* PROD LEGACY MEDIA CORRECTION (2026-11-12): the pre-density phone block
   that survived prod's audit merge still padded the row box and the acts
   cell; both are retired so prod rows match the test door exactly. */
@media (max-width: 640px) {
  .rb-row { padding: 0 var(--s-2); row-gap: 0; }
  .rb-row .rb-acts { padding-left: 0; }
}

@media (max-width: 640px) {
  .rb-row { padding: 0 4px 0 0; }
}

/* LADDER SPICE (Alex, 2026-11-12): the ladder starts at 2 squads (the $0 rung
   is never shown) and carries real presence: black tier badges with yellow
   numbers, the owner's next tier as a black band with a yellow amount chip. */
.pb-tier { flex: none; width: 38px; height: 38px; border-radius: var(--r-control); background: var(--ink); color: var(--accent-fill); font-weight: 800; font-size: var(--fs-lead); display: inline-flex; align-items: center; justify-content: center; }
.pb-rung-label { flex: 1; display: inline-flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; font-weight: 600; }
.pb-flag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--n-200); color: var(--ink); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.pb-rung.current { background: rgba(250, 225, 22, .10); }
.pb-rung.next { background: var(--ink); border-color: var(--ink); color: #fff; }
.pb-rung.next .pb-tier { background: var(--accent-fill); color: #111; }
.pb-rung.next .pb-flag { background: var(--accent-fill); color: #111; }
.pb-rung.next .pb-amt { background: var(--accent-fill); color: #111; border-radius: var(--r-tag); padding: 2px 10px; }

/* ROSTER BUILDER PASS 2 (Alex, 2026-11-12): one-line prices (no pale-yellow box,
   no four-row ladder), event tabs across the top, squad tools and identity tools. */
.rb-sizenote { margin: var(--s-2) 0 0; }
.rb-prices { margin: var(--s-2) 0 0; color: var(--ink); }
.rb-tabs { display: flex; gap: var(--s-2); overflow-x: auto; padding: var(--s-2) 0 var(--s-1); scrollbar-width: none; }
.rb-tabs::-webkit-scrollbar { display: none; }
.rb-tab { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--n-300, #c9c9c9); background: var(--panel); color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.rb-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rb-tab-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }
.rb-div.unset { cursor: pointer; font: inherit; }
.rb-sq-rm.armed { background: var(--problem); color: #fff; border-color: var(--problem); }
.rb-editname { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-top: var(--s-2); }
.rb-editname .rb-sub { flex-basis: 100%; margin: 0; }
.rb-file { display: none; }
.rb-det-edit { display: flex; gap: var(--s-2); align-items: flex-start; flex-wrap: wrap; margin-top: var(--s-2); }

/* Squad footer band (Alex, 2026-11-12): the full-squad playoff-bonus note closes the
   squad block in the same black band treatment as the header. */
.rb-footband { display: block; }
.rb-footline { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rb-footline .rb-crest { width: 22px; height: 22px; }
.rb-foot-name { font-weight: 800; letter-spacing: .04em; font-size: 13px; text-transform: uppercase; }
/* Invitation Manager (Alex, 2026-11-12): Playoffs + Invitation Manager side by side on the club dashboard. */
.dash-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-items: start; }
.dash-duo .sec-title { font-size: 21px; }
.inv-row { display: flex; gap: var(--s-3); align-items: center; padding: var(--s-2) 0; border-bottom: 1px solid #e7e7e7; }
.inv-main { flex: 1; min-width: 0; }
.inv-main p { margin: 2px 0; }
.inv-url { font-size: 12px; color: #666; overflow-wrap: anywhere; }
.inv-btns { display: flex; gap: 6px; flex: none; align-items: center; }
.inv-film { padding: var(--s-2) 0; border-bottom: 1px solid #e7e7e7; }
.inv-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.inv-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.inv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.inv-frame { width: 100%; height: 100%; border: 0; display: block; }
.inv-filmrow { display: flex; align-items: center; gap: var(--s-2); margin-top: 6px; }
.inv-filmrow strong { flex: 1; min-width: 0; }
@media (max-width: 560px) { .inv-row { flex-wrap: wrap; } }


/* Share card (Alex, 2026-11-12): the generated "I'm in" card preview on the
   success panel and the Contest page. */
.share-card-img { width: 100%; max-width: 320px; border-radius: 14px; display: block; }
.share-card-btns { margin-top: 10px; }

.share-opts { flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.share-custom { width: 100%; max-width: 420px; margin: 4px 0 10px; }
.share-claim { margin-top: 10px; }
.share-claim-input { flex: 1; min-width: 200px; }
.share-claim-row { gap: 8px; }

/* ROSTER UI BATCH (Alex, 2026-11-12): the section collapse chevron, the Events box with
   its side panel, the squad-size note inside the black band, and the per-player message
   chooser beside the registration marker. */
.ico-msg { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M21%2011.5a8.38%208.38%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.38%208.38%200%200%201-3.8-.9L3%2021l1.9-5.7a8.38%208.38%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.38%208.38%200%200%201%203.8-.9h.5a8.48%208.48%200%200%201%208%208v.5z%27/%3E%3C/svg%3E"); }
.rb-foldbtn { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-control); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rb-foldbtn .ico { width: 18px; height: 18px; transform: rotate(90deg); transition: transform var(--t-fast) var(--ease); }
.rb-foldbtn[aria-expanded="false"] .ico { transform: rotate(0deg); }
.rb-events { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--panel); padding: var(--s-2) var(--s-3) var(--s-3); margin: 0 0 var(--s-3); }
.rb-events-head { display: flex; align-items: center; gap: var(--s-2); }
.rb-events-title { margin: 0; flex: 1; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.rb-evtbtn { flex: none; width: 40px; min-height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.rb-evtbtn .ico { width: 20px; height: 20px; }
.rb-events .rb-tabs { padding: var(--s-2) 0 0; }
.rb-sqnote { font-size: 11px; line-height: 1.25; color: #c9c9c9; white-space: nowrap; }
.rb-band .rb-sqnote a { color: var(--accent-fill); }
@media (max-width: 640px) {
  .rb .rb-head { flex-wrap: wrap; }
  .rb-sqnote { order: 9; flex-basis: 100%; white-space: normal; }
}
.rb-evtlinks { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.rb-evtlink { display: block; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-control); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.rb-evtlink:hover { border-color: var(--ink); }
.rb-evtprice-now { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin: 0 0 var(--s-2); }
.rb-evtprice-now strong { font-size: 28px; font-weight: 900; }
.rb-evtprice-next { margin: 0 0 var(--s-2); font-weight: 600; }
.rb-msg { display: inline-flex; align-items: center; gap: var(--s-1); flex: none; }
.rb-msgbtn { width: 32px; height: 32px; padding: 0; border: 0; background: none; border-radius: var(--r-control); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rb-msgbtn:hover, .rb-msg.open .rb-msgbtn { background: var(--n-100); color: var(--ink); }
.rb-msgbtn .ico { width: 17px; height: 17px; }
.rb-msgmenu { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.rb-msgitem { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; }
.rb-msgitem.off { opacity: .45; }
.rb-msgpick { display: block; margin-top: 8px; }
.rb-rev-open { font-size: 12px; font-weight: 700; color: #555; align-self: center; }
.rb-rev-note { width: 100%; box-sizing: border-box; margin: 10px 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.rb-draft { display: block; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; text-decoration: none; color: var(--ink); background: var(--surface); }
.rb-draft-h { display: block; font-weight: 800; font-size: 13px; }
.rb-draft-p { display: block; font-size: 12.5px; color: #555; margin-top: 2px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .rb-msgbtn { width: 28px; height: 28px; }
}

/* ---- contest cards: banner photo, collapse, board paging (Alex, 2026-11-12) ---- */
.contest-head { cursor: pointer; }
.contest-chev { flex: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #fff; transition: transform var(--t-fast) var(--ease); }
.contest-card.collapsed .contest-chev { transform: rotate(-90deg); }
.contest-card.collapsed .contest-banner, .contest-card.collapsed .contest-body { display: none; }
.contest-banner { display: block; width: 100%; height: 148px; object-fit: cover; object-position: center 42%; border-radius: var(--r-control); margin: 0 0 var(--s-4); }
.contest-banner.b-media { object-position: center 38%; }
.contest-banner.b-jersey { object-position: center 30%; }
.contest-banner.b-crowd { object-position: center 38%; }
.contest-banner.b-finals { object-position: center 46%; }
.promo-board-pager > .btn { margin-top: var(--s-3); }
@media (max-width: 640px) { .contest-banner { height: 118px; } }

/* Event panel polish + in-portal pop-up (Alex, 2026-11-12). */
.rb-evtprices { border-top: 1px solid var(--line); padding-top: 10px; }
.rb-evtprice-now { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rb-evtprice-now strong { font-size: 20px; }
.rb-evtsizes { border-top: 1px solid var(--line); padding-top: 10px; }
.rb-evtsizes p { line-height: 1.45; }
.rb-evttools { border-top: 1px solid var(--line); padding-top: 8px; }
.rb-evtgroup { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin: 2px 0 4px; }
.pop-overlay { position: fixed; inset: 0; background: rgba(10, 10, 10, 0.62); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 10px; }
.pop-panel { background: var(--surface); border-radius: var(--r-card); width: min(1120px, 100%); height: min(94vh, 100%); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); }
.pop-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.pop-head h2 { font-size: 17px; margin: 0; flex: 1; min-width: 0; }
.pop-frame { flex: 1; width: 100%; border: 0; background: #fff; }

/* Captain chip on the row + status icons (Alex, 2026-11-12). */
.ico-pen { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M12%2020h9%27/%3E%3Cpath%20d=%27M16.5%203.5a2.121%202.121%200%200%201%203%203L7%2019l-4%201%201-4L16.5%203.5z%27/%3E%3C/svg%3E"); }
.rb-row .rb-role { background: var(--ink); color: #fff; border-radius: var(--r-tag); padding: 1px 6px; font-size: 11px; font-weight: 700; }
.rb-tics { display: flex; flex-wrap: wrap; gap: 8px 2px; padding: 8px 2px 2px; }
.rb-tic { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 62px; text-align: center; }
.rb-tic-ic { position: relative; display: inline-flex; }
.rb-tic .ico { width: 24px; height: 24px; color: #C9CDD4; }
.rb-tic.done .ico { color: var(--done); }
.rb-tic.sent .ico { color: var(--ink); }
.rb-tic.coming .ico { color: #DDE0E6; }
.rb-tic-badge { position: absolute; top: -3px; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: #E5484D; border: 2px solid #fff; }
.rb-tic-lb { font-size: 10.5px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.rb-tic-nt { font-size: 9.5px; color: var(--ink-2); line-height: 1.15; }
.rb-tics-cap { display: flex; align-items: flex-start; gap: 2px; border-left: 1px solid var(--line); padding-left: 8px; margin-left: 4px; }
.rb-tics-cap-lb { font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); align-self: center; margin-right: 2px; }

/* Duplicate marker + pop-up, spectator count chip (Alex, 2026-11-12). */
.rb-dupe { display: inline-flex; align-items: center; gap: 4px; background: #FFF4D6; color: #7A5200; border: 1px solid #E8C766; border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 800; cursor: pointer; }
.rb-dupe .ico { width: 14px; height: 14px; }
.dupe-panel { width: min(860px, 100%); height: auto; max-height: 94vh; }
.dupe-body { padding: 14px; overflow: auto; }
.dupe-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
@media (max-width: 560px) { .dupe-cards { grid-template-columns: 1fr; } }
.dupe-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; }
.dupe-card h3 { margin: 8px 0 2px; font-size: 16px; }
.dupe-card img, .dupe-ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; font-size: 24px; }
.dupe-facts { margin: 8px 0 0; padding-left: 16px; line-height: 1.45; }
.dupe-q { font-weight: 700; margin: 14px 0 8px; }
.dupe-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rb-tic-count { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #E5484D; color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }

/* ---- Owners Retreat design pass (Alex, 2026-11-12): crest club picker, faces and
   crests in Who's Coming, the black seats strip, the dashboard card club line.
   House tokens only; yellow appears as text on black (the seats strip) or as the
   existing yellow-fill badge, never as an element on white. ---- */
.rt-panel { box-shadow: var(--shadow); }
.rt-h2 { display: inline-flex; align-items: center; gap: var(--s-2); min-width: 0; }
.rt-h2 .crest { border-radius: var(--r-tag); }
.rt-pick { position: relative; }
.rt-pick-btn { display: flex; align-items: center; gap: var(--s-3); width: 100%; min-height: 48px; padding: var(--s-2) var(--s-3); border: 1px solid var(--field-line); border-radius: var(--r-control); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.rt-pick-btn:hover { border-color: var(--ink); }
.rt-pick-name { flex: 1; min-width: 0; }
.rt-pick-chev { flex: none; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--ink); }
.rt-pick-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: var(--s-3); }
.rt-pick-panel[hidden] { display: none; }
.rt-pick-backdrop { position: fixed; inset: 0; z-index: 55; }
.rt-pick-list { max-height: 320px; }
.rt-seats { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); background: var(--n-900); color: #fff; border-radius: var(--r-control); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); font-size: var(--fs-small); }
.rt-seats-n { color: var(--accent-on-dark); font-weight: 800; }
.rt-seats-dot { color: var(--on-dark-2); }
.rt-rsvps { display: flex; flex-direction: column; gap: var(--s-3); }
.rt-rsvps .rt-rsvp { display: flex; gap: var(--s-3); align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-3); }
.rt-rsvp .thumb { flex: none; }
.rt-rsvp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rt-rsvp-top { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.rt-rsvp-crest { flex: none; }
.rt-dash-club { display: flex; align-items: center; gap: var(--s-2); }
.rt-dash-club .crest { flex: none; }

/* FAQ POP-UPS (Alex, 2026-11-12): the exact-FAQ-language pop-up in the dashboard. */
.faq-pop-body { line-height: 1.55; }
.faq-pop-body p { margin: 0 0 10px; }
.faq-pop-body ul.qaList { margin: 0 0 10px; padding-left: 20px; }
.faq-pop-body ul.qaList li { margin: 3px 0; }
.faq-pop-body p.qaQuote { border-left: 3px solid #111; padding-left: 10px; font-weight: 600; }
.faq-pop-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #e5e5e5; }
.faq-pop-load { margin: 4px 0; }
/* POP-UP STACK (Alex, 2026-11-13): a level opened from inside the pop-up
   carries a back step at its top; a section level lists its entries with
   their questions as subheads. */
.faq-pop-nav { margin: 0 0 12px; }
.faq-pop-entry { margin: 0 0 18px; }
.faq-pop-entry:last-child { margin-bottom: 0; }
.faq-pop-q { font-size: var(--fs-body); font-weight: 800; margin: 0 0 6px; }

/* Expanded detail opens with the player's full name, big (Alex, 2026-11-12:
   the compact row can truncate a name; the expanded box never does). */
.rb-det-name { font-size: 17px; font-weight: 600; line-height: 1.25; padding: 0 0 2px; overflow-wrap: break-word; }

/* Role dashboard toggle (Alex, 2026-11-12): top of the dashboard body,
   one pill per role the signed-in person actually holds. */
.rolebar { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 16px; }
.rolebar button { min-height: 44px; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.rolebar button.on { background: var(--ink); color: #fff; }

/* Task-bar step icons + phone fit (Alex, 2026-11-12): the bell glyph joins the
   one icon set (same 24px stroke style as every .ico- glyph). Step markers
   mirror the Roster Manager grid colors: silhouette #C9CDD4 while not done,
   #DDE0E6 for coming steps, green var(--done) when done. The fit rules let
   the bar's grid/flex children actually shrink: the certification button's
   single-line min-content was blowing the card wide on phones, pushing the
   progress strip and step rows past the card's right edge. */
.ico-bell { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M6%208a6%206%200%200%201%2012%200c0%207%203%209%203%209H3s3-2%203-9%27/%3E%3Cpath%20d=%27M10.3%2021a1.94%201.94%200%200%200%203.4%200%27/%3E%3C/svg%3E"); }
.ptb-ic { flex: 0 0 22px; color: #C9CDD4; }
.ptb-ic .ico { width: 20px; height: 20px; vertical-align: -4px; }
.ptb-step.is-coming .ptb-ic { color: #DDE0E6; }
.ptb-wrap, .ptb, .ptb-step, .ptb-certbtn { min-width: 0; }
.ptb-certbtn { flex-wrap: wrap; }
.ptb-strip { max-width: 100%; }

/* Task-bar cert rows, deterministic layout (2026-11-12, second pass): a step
   row never wraps its icon onto its own line; the certification button takes
   the rest of the row and stacks its label over its note. */
.ptb-step { flex-wrap: nowrap; }
.ptb-lb { flex: 1 1 auto; }
.ptb-certbtn { flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: 0; }
.ptb-certbtn .ptb-note { margin-top: 1px; }

/* Dashboard Roster Manager holder (Alex, 2026-11-13): the holder rests as
   the roster section's own header (chip, title, sub-line, fold chevron) on
   the white panel — the club-name band, the Open/Collapse button and the
   summary column are gone. The sechead's bottom margin is dropped so the
   resting card hugs the header; an open builder keeps its separation. */
.dash-roster > .sechead { margin-bottom: 0; }
.dash-roster-body:not(:empty) { margin-top: var(--s-3); }
/* BARE HEAD (Alex, 2026-11-14): the dashboard roster box's own head is just
   the sub-line + fold control on one row (see roster-section.js bareHead) —
   the sub loses its chip indent and flexes beside the fold button. */
.rs-barehead .sec-sub { flex: 1 1 auto; min-width: 0; margin: 0; }
/* ROSTER MINIATURE (Alex, 2026-11-13): the dashboard Roster Manager holder
   carries a tiny replica of the club's first squad at the right of its text
   (the Playoffs card thumbnail pattern). Built from the club's own roster
   payload; decorative only, never interactive. */
.dash-roster-top { display: flex; gap: var(--s-3); align-items: flex-start; }
.dash-roster-top .sechead { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
.dash-roster-top .sechead-row { min-width: 0; }
.dash-roster-top .dash-roster-desc { flex: 1 1 auto; min-width: 0; margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.rmini-slot { flex: none; }
.rmini-slot:empty { display: none; }
.rmini { width: 92px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface); pointer-events: none; }
.rmini-head { background: var(--surface-panel); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .04em; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmini-row { display: flex; align-items: center; gap: 4px; padding: 3px 6px; border-top: 1px solid var(--line); }
.rmini-grip { display: inline-flex; flex: none; color: var(--ink-2); }
.rmini-grip .ico { width: 8px; height: 8px; margin: 0; }
.rmini-ava { flex: none; width: 14px; height: 14px; border-radius: 50%; object-fit: cover; }
.rmini-ava.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-panel); color: #fff; font-size: 7px; font-weight: 800; }
.rmini-name { flex: 1; min-width: 0; font-size: 9px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rmini-check { display: inline-flex; flex: none; color: var(--done); }
.rmini-check .ico { width: 10px; height: 10px; margin: 0; }


/* Invitation Manager films: the homepage's own HLS films in place
   (Alex, 2026-11-12). Portrait stage like the homepage rail; the old 16:9
   YouTube stage rules above are superseded by these. */
.inv-filmtitle { margin: var(--s-2) 0 6px; font-size: var(--fs-body); }
.inv-watch { color: var(--muted); font-weight: 600; margin-right: 2px; }
.inv-stage { aspect-ratio: auto; width: min(248px, 72vw); margin: 0 auto; background: #000; }
.inv-vid { width: 100%; display: block; border-radius: 10px; background: #000; aspect-ratio: 9 / 16; object-fit: cover; }
.inv-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 10px; background: none; border: 0; cursor: pointer; color: #fff; }
.inv-chip { background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.inv-center { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.inv-teaser { font-weight: 700; font-size: 15px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.inv-disc { width: 56px; height: 56px; border-radius: 50%; background: var(--brand, #F9E211); position: relative; flex: none; }
.inv-disc::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #000; }
.inv-credit { text-align: center; font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.inv-credit a { color: inherit; }

/* Playoffs | Invitation Manager duo as a matched set (Alex, 2026-11-12):
   equal-height cards, buttons aligned at the bottom of each panel. The
   invite button label is shortened to fit (two lines like its pair). */
.dash-duo { align-items: stretch; }
.dash-duo .dash-sec { display: flex; flex-direction: column; }
.dash-duo .duo-panel { flex: 1; display: flex; flex-direction: column; }
.dash-duo .duo-panel .row { margin-top: auto; padding-top: var(--s-2); }
.dash-duo .duo-panel .btn { line-height: 1.25; }

/* Pronounced fold + squad-move controls (Alex, 2026-11-12): the section fold
   is a labeled pill at full tap height, and the squad Up/Down buttons carry
   their action in words. */
.rb-foldbtn { width: auto; min-height: 44px; padding: 0 14px; gap: 8px; font-weight: 700; font-size: var(--fs-small); }

/* ROSTER FOLD BESIDE THE TITLE (Alex, 2026-11-13): the shared section title
   flexes to fill its header row, which pushed the Roster Manager fold
   chevron to the card's far edge. Scoped to the roster section, the title
   sizes to its text so the chevron sits right beside it. */
.rb .sechead-row .sec-title, .dash-roster .sechead-row .sec-title { flex: none; }

/* SPOT VISIBILITY (2026-11-12): the eye toggle on a roster spot, the hidden row state, the Hidden chip. */
.rb-eye { width: 40px; min-height: 40px; padding: 0; border: 0; background: none; border-radius: var(--r-control); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rb-eye .ico { width: 19px; height: 19px; }
.rb-eye.on { color: var(--ink); }
.rb-eye.off { color: var(--problem); }
.rb-eye:hover { background: var(--n-100); }
.rb-eye:disabled { cursor: default; opacity: .65; }
.rb-eye:disabled:hover { background: none; }
.rb-ind.warn { background: #FFF4D6; color: #7A5200; }
.rb-row.rb-hidden .rb-name, .rb-row.rb-hidden .rb-rank { opacity: .55; }

/* The one avatar treatment (Alex, 2026-11-12): a plain circle with the
   current-photo crop — no border tile, no shadow square. .thumb carried a
   rounded-square tag radius before; every .thumb is a person photo. */
.thumb { border-radius: var(--r-pill); border: 0; }
.thumb.ph { border-radius: var(--r-pill); }

/* IG contest board photos (Alex, 2026-11-12): the official photo in the one standard circle. */
.promo-board-ava { width: 30px; height: 30px; border-radius: var(--r-pill); object-fit: cover; flex: none; }
.promo-board-ava-none { background: #e7e7e7; }

/* Product pop-up on wide screens (Alex, 2026-11-12): a proper desktop dialog —
   wider card, photo and details side by side, the WHOLE product photo shown
   (fit, never a crop). Phones keep the stacked sheet. */
.modal-card:has(.proddetail) { width: min(980px, 100%); }
@media (min-width: 900px) {
  .proddetail { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: var(--s-4); align-items: start; }
  .proddetail .proddetail-img { max-height: 560px; }
  .proddetail .proddetail-ph { height: 320px; }
}

/* Cert rows: the icon sits on the LABEL line, not centred over label+note. */
.ptb-step:has(.ptb-certbtn) { align-items: flex-start; }
.ptb-step:has(.ptb-certbtn) .ptb-ic { margin-top: 1px; }

/* League Admin Roster Manager (2026-11-12): the admin move dropdown in a row's detail layer */
.rb-movesel { width: auto; min-height: 44px; }

/* SQUAD FOOTER + PHONE ROW ROOM (Alex, 2026-11-13): the squad footer closes
   its own card under a dashed hairline — one compact count + Remind row,
   Rename / Remove as quiet text actions, and the full-squad bonus as a plain
   text line (the black footer band is retired). On phones the row chrome
   tightens a few px and the name cluster may wrap within the name column, so
   a long name reads in full instead of truncating to a fragment. */
.rb-footzone { flex: 1 1 100%; border-top: 1px dashed var(--line); padding-top: var(--s-2); display: grid; gap: var(--s-2); }
.rb-footacts { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); align-items: baseline; }
.rb-textact { background: none; border: none; padding: 4px 2px; font: inherit; font-size: var(--fs-label); font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rb-textact.rb-sq-rm.armed { background: none; border: none; color: var(--problem); font-weight: 700; }
@media (max-width: 640px) {
  .rb .rb-row { column-gap: 4px; padding-right: 0; }
  .rb .rb-row .rb-who { gap: 4px; flex-wrap: wrap; }
}

/* ---- Embed mode (ProScore app embed, 2026-11-13): the app frames /app/ with ?embed=app and
   public/js/embed-boot.js flags <html class="embed-app"> before first paint. The shared shell
   chrome goes away: header.topbar.pl-shell carries the brand row, the account box, the menu
   AND the nav strip (nav.hdr-links), and .pl-shell.pl-foot is the footer. Everything else,
   including the portal's own .backbar, is content and stays. A normal browser visit never
   carries the flag, so nothing changes for it. */
html.embed-app header.topbar.pl-shell,
html.embed-app .pl-shell.pl-foot { display: none !important; }

/* COPY TOAST (Alex, 2026-11-13): the copy confirmation pill — black, white
   text, fully rounded, bottom of the screen, above sheets and modals
   (z 90-120) where the app's general toast (z 50) stays hidden. */
.copy-toast { position: fixed; left: 50%; bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 200; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow); pointer-events: none; white-space: nowrap; max-width: 92vw; }
.copy-toast.err { background: var(--problem); white-space: normal; text-align: center; }

/* INVITATION MANAGER TABS + LINK THUMBNAILS (Alex, 2026-11-13): the tab bar
   sticks under the sheet header while its pane scrolls; each page-link row
   leads with the target page's own representative image. */
.inv-tabs { position: sticky; top: calc(var(--s-4) * -1); z-index: 5; background: var(--surface); padding: var(--s-2) 0 var(--s-3); margin-top: calc(var(--s-2) * -1); }
.inv-thumb { width: 56px; height: 56px; border-radius: var(--r-thumb, 10px); object-fit: cover; flex: none; background: var(--n-100); }

/* CLUB CARD (Alex, 2026-11-13, Item P; BLACK CARD in every role view,
   Alex, 2026-11-13 evening): the viewer's own club leads the owner, captain
   and player dashboards. The card wears the owner team card's black
   treatment (the .otc family): black panel, club name in white, the
   summary line in light gray, the crest on the black, the standings rows
   restyled to match, yellow accent-only on the black. At rest: ONE LINE —
   crest, club name and the expand chevron, the name truncating rather
   than wrapping. Expanded: the summary line, the club's stat sheet (the
   .srow family) plus its published standings lines. */
.ctc { background: var(--surface-panel); color: #fff; border: 0; padding: var(--s-4); box-shadow: var(--shadow-panel); }
.ctc-head { display: flex; align-items: center; flex-wrap: nowrap; gap: var(--s-3); width: 100%; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ctc .crest.lg { width: 72px; height: 72px; }
.ctc-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ctc-name { font-size: 22px; font-weight: 900; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctc-sum { font-size: var(--fs-small); font-weight: 700; color: var(--on-dark); }
.ctc-chev { flex: none; font-size: 22px; line-height: 1; color: var(--on-dark-2); transform: rotate(90deg); transition: transform 0.15s ease; }
.ctc.open .ctc-chev { transform: rotate(270deg); }
.ctc-body { margin-top: var(--s-2); }
.ctc-body .ctc-sum { display: block; margin-bottom: var(--s-2); }
.ctc .srow { border-bottom-color: var(--n-800); }
.ctc .srow-lb { color: var(--on-dark-2); }
.ctc .srow-vl { color: #fff; }
.ctc .ssub { color: #fff; border-bottom-color: var(--accent-fill); }
.ctc-srow { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: 7px 0; border-bottom: 1px solid var(--n-800); }
.ctc-srow:last-child { border-bottom: 0; }
.ctc-sq { font-weight: 700; color: #fff; }
.ctc-st { font-weight: 700; color: var(--on-dark); text-align: right; white-space: nowrap; }

/* OWNER TEAM CARD (Alex, 2026-11-13): the owner dashboard's top card is a
   black team-page section (the .otc family). At rest: ONE LINE — crest,
   club name and the expand chevron. Expanded: the tenure line, the owners
   and headquarters block, and the stat sheet. Brand
   yellow is accent-only on the black. No personal stats on this card. */
.otc { background: var(--surface-panel); color: #fff; border: 0; padding: var(--s-4); box-shadow: var(--shadow-panel); }
.otc-head { display: flex; align-items: center; flex-wrap: nowrap; gap: var(--s-4); width: 100%; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.otc .crest.lg { width: 72px; height: 72px; }
.otc-main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.otc-name { font-size: 22px; font-weight: 900; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otc-tenure { font-size: var(--fs-small); font-weight: 700; color: var(--accent-on-dark); }
.otc-chev { flex: none; font-size: 22px; line-height: 1; color: var(--on-dark-2); transform: rotate(90deg); transition: transform 0.15s ease; }
.otc.open .otc-chev { transform: rotate(270deg); }
.otc-side { display: grid; gap: var(--s-3); flex: none; min-width: 0; max-width: 55%; justify-items: end; text-align: right; }
.otc-meta-line { display: grid; min-width: 0; }
.otc-meta-lb { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-2); }
.otc-meta-vl { font-size: var(--fs-small); font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otc-owners-big { display: grid; gap: var(--s-2); justify-items: end; }
.otc-owners-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); justify-content: flex-end; }
.otc-owner-big { display: grid; justify-items: center; gap: 4px; width: 80px; }
.otc-owner-ava-lg { width: 60px; height: 60px; border-radius: var(--r-pill); object-fit: cover; flex: none; background: var(--n-800); }
.otc-owner-ava-lg.ph { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 900; border: 2px solid var(--accent-fill); }
.otc-owner-name-lg { font-size: var(--fs-small); font-weight: 700; color: #fff; text-align: center; line-height: 1.2; }
.otc-body .otc-tenure { display: block; margin-bottom: var(--s-3); }
.otc-body .otc-side { max-width: none; justify-items: start; text-align: left; margin-bottom: var(--s-3); }
.otc-body .otc-owners-big { justify-items: start; }
.otc-body .otc-owners-row { justify-content: flex-start; }
.otc-body .otc-meta-vl { white-space: normal; }
.otc-body { margin-top: var(--s-3); }
.otc .srow { border-bottom-color: var(--n-800); }
.otc .srow-lb { color: var(--on-dark-2); }
.otc .srow-vl { color: #fff; }
.otc .ssub { color: #fff; border-bottom-color: var(--accent-fill); }
.otc .ctc-srow { border-bottom-color: var(--n-800); }
.otc .ctc-sq { color: #fff; }
.otc .ctc-st { color: var(--on-dark); }

/* ===== OWNERS' JACKET PAGE (Alex, 2026-11-13) ===== */
.oj-who { display: flex; align-items: center; gap: var(--s-4); margin: var(--s-4) 0 var(--s-2); }
.oj-ava { width: 56px; height: 56px; border-radius: var(--r-pill); object-fit: cover; background: #262626; border: 2px solid #F9E211; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; font-size: 20px; max-width: none; }
.oj-who-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oj-who-tx strong { font-size: 18px; font-weight: 900; }
.oj-who-tx span { color: var(--ink-2); font-size: 14px; }
.oj-sub { font-size: var(--fs-lead); margin: var(--s-2) 0 var(--s-4); }
.oj-note { color: var(--ink-2); font-size: var(--fs-small); margin-top: var(--s-3); }
.oj-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.oj-head .ssub { margin: 0; }
.oj-retail { font-size: var(--fs-lead); font-weight: 800; margin: var(--s-2) 0 var(--s-4); }
.oj-gallery { display: flex; flex-direction: column; gap: var(--s-3); }
.oj-main { width: 100%; border-radius: var(--r-card); display: block; background: var(--n-100); }
.oj-thumbs { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.oj-thumb { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 6px var(--s-3) 6px 6px; border: 1px solid var(--field-line); border-radius: var(--r-control); background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.oj-thumb img { width: 34px; height: 48px; object-fit: cover; border-radius: var(--r-tag); display: block; }
.oj-thumb.on { border: 2px solid var(--ink); padding: 5px calc(var(--s-3) - 1px) 5px 5px; }
.oj-desc { margin-top: var(--s-4); }
.oj-details { margin: var(--s-2) 0 0 var(--s-5); padding: 0; }
.oj-details li { margin: 2px 0; }
.oj-sizes { font-weight: 800; margin-top: var(--s-3); }
.oj-jacket .btn { margin-top: var(--s-4); }
.oj-jacket .btn[disabled] { opacity: .55; }
.oj-hide { display: none !important; }
.pb-jacket-cta { margin-top: var(--s-3); }
.pb-showcase .oj-gallery { margin-top: var(--s-3); }
.pb-showcase-cap { font-size: var(--fs-small); color: var(--ink-2); margin-top: var(--s-2); }
.pb-ladder-block { margin: var(--s-4) 0 var(--s-3); }
.pb-rung-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pb-rung-sub { font-size: var(--fs-small); font-weight: 600; opacity: .85; }

/* ===== EVENING PASS (Alex, 2026-11-13): jacket header + gallery layout,
   club credit explainer, jersey entry preview, bonuses card, retreat
   teaser, invitation preview ===== */
.oj-title { margin: 0; }
.oj-owners { font-size: var(--fs-lead); font-weight: 800; margin: var(--s-2) 0 0; }
.oj-locks { margin: var(--s-3) 0; }
.oj-locks p { margin: 0 0 var(--s-1); font-weight: 700; }
.oj-locks p:last-child { margin-bottom: 0; }
.oj-main { height: 52vh; object-fit: contain; background: var(--n-0); }
.oj-thumb img { width: 44px; height: 62px; }
.wallet-explain { margin: 0 0 var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-control); padding: var(--s-3) var(--s-4); }
.wallet-explain p { margin: 0 0 var(--s-2); }
.wallet-explain p:last-child { margin-bottom: 0; }
.jc-club { margin-top: var(--s-4); }
.jc-club-name { margin: 0 0 var(--s-2); }
.jc-cap { font-size: var(--fs-small); font-weight: 700; color: var(--ink-2); margin: 0 0 var(--s-2); }
.jc-thumb { display: inline-block; border-radius: var(--r-card); }
.jc-preview { display: block; width: 128px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.jc-club .row { margin-top: var(--s-3); }
.jccard { display: flex; flex-direction: row; align-items: flex-start; gap: var(--s-4); }
.jc-side { flex: none; display: flex; flex-direction: column; gap: var(--s-4); }
.pb2-club { font-weight: 800; margin: var(--s-1) 0; }
.pb2-jacket { margin-top: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-4); }
.pb2-jacket-img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-card); }
.pb2-jacket-tier { font-weight: 800; margin-top: var(--s-3); }
/* ===== COMPRESSION PASS (Alex, 2026-11-13): the dashboard bonuses card is a
   black link card — the club's jacket render on the left, its crest when the
   club has no render — with the earned-only amount line. ===== */
.pb2-card { display: flex; align-items: stretch; gap: var(--s-4); background: var(--surface-panel); color: #fff; border: 0; box-shadow: var(--shadow-panel); text-decoration: none; }
.pb2-media { flex: none; width: 96px; display: flex; align-items: center; justify-content: center; }
.pb2-media-img { display: block; width: 96px; height: 100%; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-card); }
.pb2-main { display: grid; gap: 2px; align-content: center; min-width: 0; }
.pb2-card h3 { color: #fff; margin: 0; }
.pb2-status { color: var(--on-dark); font-weight: 700; margin: var(--s-1) 0 0; }
/* BONUSES CARD DESIGN (Alex, 2026-11-13): the dashboard's black bonuses card
   gets a designed header row (trophy in a yellow chip beside the title), the
   club name in brand yellow under it, key figures picked out in yellow inside
   the white pitch line, and a yellow "See your status" affordance at the
   bottom of the text block. Yellow here is the brand fill on black only. */
.pb2-head { display: flex; align-items: center; gap: var(--s-2); }
.pb2-head .chip-ico { width: 28px; height: 28px; }
.pb2-head .chip-ico .ico { width: 16px; height: 16px; }
.pb2-chip { background: var(--brand, #F9E211); color: #000; box-shadow: none; }
.pb2-card .pb2-club { color: var(--brand, #F9E211); }
.pb2-status .y { color: var(--brand, #F9E211); }
.pb2-more { color: var(--brand, #F9E211); font-weight: 800; font-size: var(--fs-small); margin-top: var(--s-2); }

.rt-teaser { font-weight: 800; }
/* MINOR TEAMS CARD (Alex, 2026-11-13; production nod 2026-11-13): the
   designed graphic shows whole (its text is baked in), and the three
   choices read as titled entries in the expanded body. */
.mt-graphic { width: 100%; height: auto; display: block; border-radius: var(--r-card); margin-bottom: var(--s-4); background: var(--n-900); }
/* MINOR TEAMS COMPACT (Alex, 2026-12-03): on desktop the graphic ran the
   panel's full width (~1010px, ~675px tall) and towered over the section.
   Capped and centered it reads as a header image; mobile keeps full width. */
@media (min-width: 721px) { .mt-graphic { width: 400px; margin-left: auto; margin-right: auto; } }
.mt-choice { margin-top: var(--s-3); }
.rt-toggle { margin-top: var(--s-3); }
.rt-more { margin-top: var(--s-3); }
.invprev { margin-top: var(--s-4); }
/* INVITE CARD (Alex, 2026-11-13): the Invitation Manager teaser carries a
   miniature of the film (its poster with a play button over it), the
   title, one teaser line and the Open button. */
.invcard { cursor: pointer; display: flex; flex-direction: row; align-items: center; gap: var(--s-4); }
.invmini { position: relative; flex: none; width: 168px; height: 112px; border-radius: var(--r-card); overflow: hidden; cursor: pointer; background: #000; }
.invmini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.invmini-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--brand, #F9E211); }
.invmini-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #000; }
.invtext { min-width: 0; }
.invtext h3 { margin: 0 0 4px; }
.invtext p { margin: 0 0 var(--s-3); font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 480px) { .invmini { width: 150px; height: 100px; } }
/* PLAYOFFS CARD THUMB (Alex, 2026-11-13): a small still of the fifth
   anniversary playoff graphic sits at the right of the card's text,
   representative only, not sized to be read. */
.pocard { display: flex; flex-direction: row; align-items: center; gap: var(--s-4); }
.potext { min-width: 0; flex: 1; }
.pothumb { display: block; width: 112px; height: auto; flex: none; border-radius: var(--r-card); }
.invprev-poster { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--r-card); }
.invprev-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); }
.invprev-title { font-weight: 800; margin-top: var(--s-2); }
.invprev-row { cursor: pointer; margin-top: var(--s-2); }
.invprev-text { min-width: 0; overflow-wrap: anywhere; }

/* BONUSES EXPLAINER FORMATTING (Alex, 2026-11-13): the explainer and the
   ladder read as one text column inside the status panel. The added side
   padding brings the text to the portal text-card standard (.card padding
   is s-5 = 24px; the panel alone gives 16px at phone widths), one spacing
   scale (s-3) evens the paragraph and bullet rhythm, and the club-pick
   badge wraps inside the card instead of running off its right edge
   (.badge is nowrap everywhere else). */
.pb-explain { padding-left: var(--s-2); padding-right: var(--s-2); }
.pb-explain > p { margin: 0 0 var(--s-3); }
.pb-explain > p:last-child { margin-bottom: 0; }
.pb-explain .pb-rules { gap: var(--s-3); margin-bottom: var(--s-3); }
.pb-ladder-block { padding-left: var(--s-2); padding-right: var(--s-2); }
.pb-ladder-intro { margin: 0 0 var(--s-3); color: var(--ink); }
.pb-note .badge { white-space: normal; line-height: 1.35; text-align: center; }
/* BONUS FRONT FACE (Alex, 2026-11-16): the bonuses page leads with a
   teaser panel — the next tier and the jacket in two lines — and the
   ladder, the counting rule and the free-registration tracker sit in
   the pop-up behind "See the bonus ladder". */
.pb-front-line { font-size: var(--fs-lead); font-weight: 800; color: var(--ink); margin: 0 0 var(--s-1); }
.pb-front-jacket { font-weight: 600; color: var(--ink); margin: 0 0 var(--s-3); }
.pb-pop .pb-ladder { margin-bottom: var(--s-3); }
.pb-pop-rule { color: var(--ink); margin: 0 0 var(--s-3); }
.pb-pop .slock { margin-bottom: 0; }

/* Playoff bonuses page layout (Alex, 2026-11-16): two status boxes,
   projected (light) and locked in (solid black), plus squad progress
   tracks whose fill is the paid share of 7 on a visible track. */
.pbl-boxes { display: grid; gap: var(--s-3); }
.pbl-box { border-radius: var(--r-panel); padding: var(--s-4); box-shadow: var(--shadow-panel); }
.pbl-box.pbl-projected { background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.pbl-box.pbl-locked { background: var(--n-950); border: 2px solid var(--n-950); color: #fff; }
.pbl-label { margin: 0 0 var(--s-2); font-size: var(--fs-label); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.pbl-box.pbl-locked .pbl-label { color: var(--accent-on-dark); }
.pbl-big { margin: 0; font-size: 40px; font-weight: 800; line-height: 1.05; }
.pbl-box.pbl-locked .pbl-big { color: var(--accent-fill); }
.pbl-squads-line { margin: var(--s-1) 0 0; font-size: var(--fs-lead); font-weight: 800; }
.pbl-sub { margin: var(--s-2) 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.pbl-box.pbl-locked .pbl-sub { color: var(--on-dark); }
.pbl-line { margin: var(--s-2) 0 0; font-weight: 600; }
.pbl-caption { font-weight: 700; color: var(--ink); margin: 0; }
.pbl-track { height: 8px; border-radius: var(--r-pill); background: var(--n-200); margin: 5px 0 4px; overflow: hidden; }
.pbl-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--ink); }
.pb-flag.pbl-locked { background: var(--accent-fill); color: #111; }
.pb-rung.projected { border-color: rgba(0, 0, 0, .4); }
@media (min-width: 720px) { .pbl-boxes { grid-template-columns: 1fr 1fr; } }

/* ---- admin home: event-first (Alex, 2026-11-16) ---- */
.evfirst-panel { margin-bottom: var(--s-4); }
.evfirst-panel .field { margin: 0 0 var(--s-2); }
.evfirst-meta { margin: 0; }
.evfirst-group { font-size: var(--fs-label); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-2); margin: var(--s-5) 0 var(--s-3); }
.evfirst-strip { font-size: var(--fs-small); margin: 0 0 var(--s-5); }

/* Minor Teams choices as clean blocks (Alex, 2026-11-16) */
.mt-choice { margin-top: var(--s-3); padding: var(--s-3); border: 1px solid var(--n-800, #2a2a2a); border-radius: var(--r-card); }
.mt-choice p { margin: 2px 0; }
.mt-choice-name { font-size: 15px; }
.mt-faq { margin-top: var(--s-4); }
.mt-blurb { margin-top: var(--s-3); font-weight: 600; }

/* Minor Teams card formatting pass (Alex, 2026-11-17): the squad rules as
   their own block, numbered choice headings (yellow discs carry black
   text), and the Survival road as a black callout with a yellow heading
   (yellow on black only, never on white). */
.mt-upd { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #52525B; background: #F4F4F5; border-radius: var(--r-pill); padding: 2px 8px; }
.mt-rules { margin-top: var(--s-3); padding: var(--s-3); background: #F4F4F5; border-radius: var(--r-card); }
.mt-rules-head { margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.mt-rule { margin: 2px 0; }
.mt-choice-name { font-size: 16.5px; display: flex; align-items: center; gap: 8px; }
.mt-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #F9E211; color: #111; font-size: 13px; font-weight: 900; flex: none; }
.mt-survival { margin-top: var(--s-3); padding: var(--s-3); background: var(--n-900); border-radius: var(--r-card); }
.mt-survival-head { margin: 0 0 4px; color: #F9E211; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.mt-survival-line { margin: 2px 0; color: #fff; }

/* Roster player matchdays pop-up (2026-11-16): the stat line in the expanded
   player detail is the tap target; the pop-up's two matchday cards sit side
   by side when the modal has room, stacked at phone width. */
.rb-stats-tap { cursor: pointer; display: grid; gap: 4px; border-radius: 10px; }
.rb-stats-tap:hover { background: var(--n-100); }
.rb-stats-tap:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rb-stats-hint { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 700; font-size: var(--fs-label); color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 2px; }
.rb-stats-chev { font-size: 20px; line-height: 1; }
.rb-md-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s-3); }
.rb-md-head .rb-ava { width: 44px; height: 44px; }
.rb-md-name { font-weight: 800; font-size: 17px; }
.rb-md-season { margin-bottom: var(--s-3); }
.rb-md-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; margin-top: var(--s-3); }
@media (min-width: 640px) { .rb-md-grid { grid-template-columns: 1fr 1fr; } }
.rb-md-card { border: 1px solid var(--line); border-radius: 14px; padding: var(--s-3); }
.rb-md-title { margin: 0 0 6px; font-size: 15px; }
.rb-md-rec { font-weight: 800; font-size: 18px; display: flex; gap: 8px; align-items: baseline; }
.rb-md-games { font-weight: 600; font-size: 13px; color: var(--ink-2); }

/* CONTACT FLAGS (Alex, 2026-11-18): quiet chips beside a roster name for each missing piece of
   contact — dark chip, brand-yellow text, never yellow on white; readable at phone width. */
.rb-miss { display: inline-flex; align-items: center; flex: none; padding: 2px 8px; border-radius: 999px; background: #262626; color: #F9E211; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.rb-lensbar { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; padding: var(--s-2) 0 var(--s-1); }
.rb-lens-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; opacity: .65; }
.rb-lens { display: inline-flex; gap: var(--s-1); flex-wrap: wrap; }
.rb-lens-btn { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--n-300, #c9c9c9); background: var(--panel); color: var(--ink); font-weight: 700; cursor: pointer; }
.rb-lens-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Commissions page (redesign 2026-11-20) ===== */
.cx-hero{background:var(--surface-panel);border-radius:var(--r-panel);padding:22px;color:#fff;margin:0 0 14px}
.cx-hero .eyebrow{color:var(--accent-on-dark);margin:0 0 6px}
.cx-hero-amt{font-size:var(--fs-kpi);font-weight:900;letter-spacing:var(--ls-tight);line-height:1}
.cx-hero-sub{color:var(--on-dark);font-size:var(--fs-2);margin:8px 0 0;max-width:560px}
.cx-hstats{display:flex;gap:26px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.18)}
.cx-hstat span{display:block;font-size:var(--fs-0);letter-spacing:var(--ls-label);text-transform:uppercase;color:var(--on-dark-2)}
.cx-hstat strong{font-size:var(--fs-3);font-weight:800}
.cx-lead{color:var(--text-dim);font-size:var(--fs-1);margin:0 0 10px}
.cx-sect{font-size:var(--fs-4);font-weight:900;letter-spacing:var(--ls-tight);margin:18px 0 4px}
.cx-sect3{font-size:var(--fs-2);font-weight:800;margin:14px 0 6px}
.cx-sgroup{margin:0 0 10px}
.cx-shead{display:flex;justify-content:space-between;gap:12px;padding:8px 0 4px;border-bottom:2px solid var(--ink);font-weight:800;font-size:var(--fs-2)}
.cx-srow{display:flex;justify-content:space-between;gap:12px;padding:5px 0 5px 14px;border-bottom:1px solid var(--line);font-size:var(--fs-1);color:var(--text-dim)}
.cx-srow .num{color:var(--text);font-weight:600}
.cx-foot{color:var(--text-dim);font-size:var(--fs-1);margin:8px 0 0}
.cx-totalrow{display:flex;justify-content:space-between;gap:12px;padding:10px 0 2px;border-top:2px solid var(--ink);font-weight:900;font-size:var(--fs-3)}
.cx-offer{border:1px solid var(--line);border-radius:var(--r-card);padding:14px;margin:0 0 10px;background:var(--surface)}
.cx-offer-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
.cx-offer-head h3{margin:0;font-size:var(--fs-2)}
.cx-offer p{margin:8px 0 10px;color:var(--text-dim);font-size:var(--fs-1)}
.cx-drow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:7px 0;border-bottom:1px solid var(--line);font-size:var(--fs-1)}
.cx-drow:last-child{border-bottom:0}
.cx-damt{font-weight:800}
.cx-ddate{color:var(--text-dim)}
.cx-dreason{color:var(--text-dim);flex:1 1 100%}
.cx-rrow{display:flex;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.cx-rrow:last-child{border-bottom:0}
.cx-rname{font-weight:600;flex:1 1 auto}
.cx-ramt{font-weight:800}
.cx-deal{border:1px solid var(--line);border-radius:var(--r-card);padding:14px;margin:0 0 10px}
.cx-deal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
.cx-deal-head h3{margin:0;font-size:var(--fs-2)}
.cx-dline{margin:8px 0 4px;font-size:var(--fs-1)}
.cx-dnote{margin:6px 0 0;color:var(--text-dim);font-size:var(--fs-1)}
.cx-irow{display:flex;gap:10px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--line);font-size:var(--fs-1)}
.cx-irow:last-child{border-bottom:0}
.cx-ilabel{font-weight:600;flex:0 0 auto}
.cx-ifate{color:var(--text-dim);flex:1 1 auto}
.cx-iamt{font-weight:800}
.cx-lgroup{margin:0 0 18px}
.cx-lgroup:last-child{margin-bottom:0}
.cx-lhead{display:flex;justify-content:space-between;gap:12px;padding:10px 100px 6px 0;border-bottom:2px solid var(--ink);font-weight:800;font-size:var(--fs-2)}
.cx-lrow{display:flex;gap:14px;padding:10px 0;border-bottom:1px solid var(--line)}
.cx-lrow:last-child{border-bottom:0}
.cx-lmain{flex:1 1 auto;min-width:0}
.cx-ava{width:30px;height:30px;border-radius:var(--r-pill);object-fit:cover;flex:0 0 auto;margin-top:2px;background:var(--info-bg)}
.cx-ltitle{font-weight:600;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cx-lsub{color:var(--text-dim);font-size:var(--fs-1)}
.cx-lnote{color:var(--text-dim);font-size:var(--fs-1)}
.cx-lmeta{color:var(--text-dim);font-size:var(--fs-0);margin-top:2px}
.cx-lamt{text-align:right;flex:0 0 auto}
.cx-amt{font-weight:800;font-size:var(--fs-2);white-space:nowrap}
.cx-amt.neg{color:var(--text-dim)}
.cx-lrun{flex:0 0 86px;text-align:right;color:var(--text-dim)}
.cx-lrun-lab{font-size:var(--fs-0);letter-spacing:var(--ls-label);text-transform:uppercase}
.cx-lrun-fig{font-size:var(--fs-1);font-weight:600;white-space:nowrap;margin-top:1px}
.cx-bwrap{margin:18px 0 4px}
.cx-bblock{width:100%;min-height:56px;display:flex;justify-content:space-between;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);padding:12px 16px;cursor:pointer;text-align:left;color:var(--ink)}
.cx-bmain{display:flex;flex-direction:column;gap:2px}
.cx-blabel{font-size:var(--fs-0);letter-spacing:var(--ls-label);text-transform:uppercase;font-weight:800}
.cx-bamt{font-size:var(--fs-4);font-weight:900;line-height:1;color:var(--done)}
.cx-bcta{font-weight:800;font-size:var(--fs-1);display:flex;align-items:center;gap:8px}
.cx-chev{width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex:0 0 auto}
.cx-bwrap.open .cx-chev{transform:rotate(225deg)}
.cx-bdetail{border:1px solid var(--line);border-top:0;border-radius:0 0 var(--r-card) var(--r-card);padding:6px 16px 14px;background:var(--surface)}
.cx-bdetail h3{font-size:var(--fs-2);margin:14px 0 6px}
.cx-brow{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line);font-size:var(--fs-1);align-items:center}
.cx-brow.total{font-weight:900;border-bottom:2px solid var(--ink)}
.cx-brow.total .num{color:var(--done)}
.cx-bnote{color:var(--text-dim);font-size:var(--fs-1);margin:8px 0 0}
.cx-tlabel{display:block;font-weight:600;font-size:var(--fs-1);margin:4px 0 6px}
.cx-tinput{flex:1 1 160px;min-height:44px;border:1px solid var(--line-strong);border-radius:var(--r-control);padding:0 12px;font:inherit}
.cx-terr{color:var(--danger);font-size:var(--fs-1);margin:6px 0 0;min-height:0}
.cx-terr:empty{display:none}
.cx-tconfirm{font-size:var(--fs-1);margin:4px 0 10px}
@media (max-width:640px){.cx-hero-amt{font-size:32px}.cx-hstats{gap:16px}.cx-lrow{gap:10px}.cx-lrun{flex-basis:72px}.cx-lhead{padding-right:82px}.cx-bcta{font-size:var(--fs-0)}}

/* WELCOME VIDEO (Alex, 2026-11-20): owner dashboard walkthrough block. */
.ico-play { --ico: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2024%2024%27%20fill=%27none%27%20stroke=%27black%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%2712%27%20cy=%2712%27%20r=%279%27/%3E%3Cpath%20d=%27M10%208.2v7.6L16.5%2012z%27/%3E%3C/svg%3E"); }
.wv-vid { width: 100%; border-radius: 12px; background: #000; display: block; }
.wv-row { flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* WELCOME VIDEO TV PASS (Alex, 2026-11-20): a real TV frame, true 16:9
   proportions, capped width and centered even on wide desktops. */
.wv-tv { max-width: 740px; margin: 6px auto 0; background: #000; border-radius: 18px; padding: 12px; box-shadow: 0 10px 34px rgba(0,0,0,.38); }
.wv-vid { aspect-ratio: 16 / 9; border-radius: 8px; }
.wv-row { max-width: 740px; margin: 12px auto 0; }

.wv-toggle { margin-bottom: 10px; }

/* Deep-link landing (2026-11-20): sections rest below the shell bar when scrolled to. */
.dash-sec { scroll-margin-top: 76px; }
.fa-statusbox{background:#fdf6d8;border:1.5px solid #141414;border-radius:12px;padding:10px 14px;margin:0 0 12px}
.fa-statusbox p{margin:4px 0}
.fa-search{margin:0 0 10px}
.fa-search input{width:100%}

/* TRAINING VIDEO DECK (Alex, 2026-11-24): swipeable training videos, most
   recent first, the next video peeking at the right edge; the topic + date
   line sits under the section header and follows the swipe. */
.rv-meta { margin: 0 0 8px; font-size: 15px; }
.tv-deck { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tv-deck::-webkit-scrollbar { display: none; }
.tv-slide { flex: 0 0 92%; min-width: 0; scroll-snap-align: start; margin-right: 12px; }
.tv-slide:last-child { margin-right: 0; }
.tv-deck.single .tv-slide { flex-basis: 100%; margin-right: 0; }

/* CAPTAIN'S AGREEMENT POP-UP (Alex, 2026-11-30) */
.ca-intro { font-weight: 600; margin-top: 0; }
.ca-sec { margin-top: 20px; }
.ca-sec-title { margin: 0 0 8px; font-size: 1.02rem; }
.ca-p { margin: 0 0 8px; }
.ca-list { margin: 0 0 8px; padding-left: 1.25em; }
.ca-list li { margin-bottom: 4px; }
.ca-foot { margin-top: 20px; }
