/* Next Bucket League. Charcoal, warm paper, burnt orange. */
:root {
  --char: #1d1e21;
  --char-2: #2a2c31;
  --char-3: #3a3d43;
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --card: #fffdf9;
  --line: #ddd4c5;
  --ink: #1a1a1a;
  --muted: #5d5850;
  --orange: #c4501b;      /* buttons: white text 4.6:1 */
  --orange-dk: #a3421a;   /* links on paper 5.4:1 */
  --orange-lt: #f0874f;   /* accents on charcoal 6.3:1 */
  --green: #1f6b3f;
  --red: #a3261d;
  --amber-bg: #fff1c7;
  --amber-ink: #5c4300;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --tabbar: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dk); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.num, .score, table.stats td, table.stats th { font-variant-numeric: tabular-nums lining-nums; }
:focus-visible { outline: 3px solid var(--orange-lt); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--orange); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 8px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { font: 700 .8rem/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--orange-dk); margin-bottom: .6rem; display: block; }
.dark .eyebrow, .eyebrow.on-dark { color: var(--orange-lt); }

/* Header */
.site-header { background: var(--char); color: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #000; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand svg { width: 34px; height: 34px; }
.brand-word { font: 800 1.45rem/0.9 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand-word small { display: block; font-size: .72rem; letter-spacing: .3em; color: var(--orange-lt); font-weight: 700; }
.main-nav { display: none; margin-left: auto; align-items: center; gap: 4px; }
.main-nav a { color: #e9e6e1; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: 6px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: var(--char-3); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--orange-lt); border-radius: 6px 6px 0 0; background: transparent; }
.header-actions { display: none; align-items: center; gap: 10px; margin-left: 12px; }
.header-actions .account-link { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 6px; }
.menu-btn { margin-left: auto; background: none; border: 1px solid var(--char-3); color: #fff; border-radius: 8px; min-height: 44px; padding: 0 14px; font: 600 .9rem var(--body); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
@media (min-width: 980px) {
  .main-nav, .header-actions { display: flex; }
  .menu-btn { display: none; }
}
.mobile-menu { background: var(--char-2); border-top: 1px solid var(--char-3); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; color: #fff; text-decoration: none; padding: 14px 16px; border-bottom: 1px solid var(--char-3); font-weight: 500; }
@media (min-width: 980px) { .mobile-menu { display: none !important; } }

/* Mobile tab bar: schedule, standings, register, account always in reach */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: var(--char); border-top: 1px solid #000; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { color: #d8d4cd; text-decoration: none; font: 600 .72rem/1.1 var(--body); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: var(--tabbar); }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--orange-lt); }
.tabbar a.tab-register { color: #fff; }
.tabbar a.tab-register span.pill { background: var(--orange); border-radius: 999px; padding: 4px 10px; }
body { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }
@media (min-width: 980px) { .tabbar { display: none; } body { padding-bottom: 0; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #a8441a; color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.dark .btn-secondary, .btn-secondary.on-dark { color: #fff; border-color: #fff; }
.dark .btn-secondary:hover, .btn-secondary.on-dark:hover { background: #fff; color: var(--char); }
.btn-quiet { background: var(--paper-2); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: #e6ddcd; color: var(--ink); }
.btn-danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--orange-dk); text-decoration: underline; font: inherit; cursor: pointer; min-height: 0; }

/* Sections */
.section { padding-top: 48px; padding-bottom: 48px; }
.section-tight { padding-top: 28px; padding-bottom: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.page-head { background: var(--char); color: #fff; padding: 36px 0 30px; }
.page-head h1 { margin: 0; }
.page-head p { color: #d6d2cb; margin: .5rem 0 0; max-width: 60ch; }
.dark { background: var(--char); color: #fff; }
.dark a { color: var(--orange-lt); }
.paper-2 { background: var(--paper-2); }

/* Alert bar */
.alert-bar { background: var(--amber-bg); color: var(--amber-ink); border-bottom: 1px solid #e8d48a; }
.alert-bar .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.alert-bar strong { font-weight: 700; }
.alert-bar svg { flex-shrink: 0; margin-top: 2px; }

/* Hero */
.hero { background: var(--char); color: #fff; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 40px; }
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.15fr; align-items: center; padding-top: 56px; padding-bottom: 56px; gap: 48px; } }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: .9; margin-bottom: .2em; }
.hero h1 .accent { color: var(--orange-lt); display: block; }
.hero .lede { font: 600 clamp(1.25rem, 2.6vw, 1.6rem)/1.2 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #e9e5de; margin-bottom: 1.4rem; }
.hero .btn-row .btn { flex: 1 1 200px; }
@media (min-width: 900px) { .hero .btn-row .btn { flex: 0 0 auto; } }
.hero-note { color: #bdb8b0; font-size: .92rem; margin-top: 14px; }
.court-lines { position: absolute; inset: 0; pointer-events: none; opacity: .07; }

/* Carousel */
.carousel { position: relative; border-radius: 12px; overflow: hidden; background: #111; }
.carousel-track { position: relative; aspect-ratio: 3 / 2; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: rgba(18,18,20,.88); color: #fff; font: 600 1.05rem/1.25 var(--body); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 6px 2px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #55585f; background: var(--char-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel-btn:hover { background: var(--char-3); }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dots button { min-width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.carousel-dots button span { display: block; width: 28px; height: 6px; border-radius: 3px; background: #6a6d74; }
.carousel-dots button[aria-current="true"] span { background: var(--orange-lt); }
.carousel-count { color: #bdb8b0; font-size: .85rem; min-width: 3.5em; text-align: center; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Season strip */
.season-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .season-strip { grid-template-columns: repeat(4, 1fr); } }
.season-strip > div { background: var(--card); padding: 16px 18px; }
.season-strip dt { font: 700 .75rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.season-strip dd { margin: 0; font: 700 1.35rem/1.1 var(--display); text-transform: uppercase; }
.tag { display: inline-block; font: 700 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; vertical-align: middle; }
.tag-tbd { background: var(--amber-bg); color: var(--amber-ink); }
.tag-final { background: var(--char); color: #fff; }
.tag-live { background: var(--orange); color: #fff; }
.tag-post { background: #fde0dc; color: #7c1a12; }
.tag-cancel { background: #e9e5df; color: #5a2a22; text-decoration: line-through; }
.tag-resched { background: #dcebf8; color: #0f3d66; }
.tag-ok { background: #dcefe3; color: #164d2d; }
.tag-warn { background: var(--amber-bg); color: var(--amber-ink); }
.tag-muted { background: var(--paper-2); color: var(--muted); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card h3 { margin-top: 0; }
.reg-card h3 { font-size: 1.9rem; text-transform: uppercase; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: 18px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.reg-card { display: flex; flex-direction: column; border-top: 6px solid var(--orange); }
.reg-card .price { font: 800 2.8rem/1 var(--display); margin: 6px 0 2px; }
.reg-card .price small { font: 500 1rem var(--body); color: var(--muted); }
.reg-card ul, .checklist { padding: 0; list-style: none; margin: 14px 0 18px; }
.reg-card li, .checklist li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.reg-card li::before, .checklist li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.reg-card .btn { margin-top: auto; }
.steps-mini { counter-reset: s; list-style: none; padding: 0; margin: 10px 0 18px; }
.steps-mini li { counter-increment: s; padding-left: 34px; position: relative; margin-bottom: 8px; }
.steps-mini li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--char); color: #fff; font: 700 .8rem/24px var(--body); text-align: center; }

/* Game cards */
.games { display: grid; gap: 12px; }
@media (min-width: 760px) { .games.cols-2 { grid-template-columns: 1fr 1fr; } }
.game { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: block; text-decoration: none; color: var(--ink); position: relative; }
.game:hover { border-color: #b9ad99; color: var(--ink); }
.game-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.game-top .when { font-weight: 600; color: var(--ink); }
.matchup { padding: 8px 14px 4px; }
.side { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; }
.badge { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #fff; font: 800 .8rem/1 var(--display); letter-spacing: .02em; overflow: hidden; }
.badge img { width: 100%; height: 100%; object-fit: cover; }
.side .name { font-weight: 600; overflow-wrap: anywhere; }
.side .pts { font: 800 1.6rem/1 var(--display); min-width: 2.2ch; text-align: right; }
.side.loser .name, .side.loser .pts { color: #6f6a62; font-weight: 500; }
.side.winner .name::after { content: "W"; margin-left: 8px; font: 800 .7rem/1 var(--body); background: var(--char); color: #fff; padding: 3px 5px; border-radius: 3px; vertical-align: 2px; }
.game-foot { padding: 6px 14px 12px; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.game-note { margin: 0 14px 12px; padding: 8px 10px; background: #dcebf8; color: #0f3d66; border-radius: 6px; font-size: .88rem; }
.game.is-canceled .matchup { opacity: .6; }
.day-head { font: 700 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; margin: 22px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }

/* Filters & tabs */
.filters { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin: 0 0 16px; }
@media (min-width: 820px) { .filters { grid-template-columns: repeat(4, minmax(0, 220px)) auto; align-items: end; } }
.filters .full { grid-column: 1 / -1; }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.seg a { padding: 10px 18px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.seg a[aria-current="page"] { background: var(--ink); color: #fff; }
.weeks { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
.weeks a { flex: 0 0 auto; min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.weeks a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.stats, table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.stats th, table.stats td, table.data th, table.data td { padding: 11px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.stats th, table.data th { font: 700 .74rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--paper-2); }
table.stats .team-cell, table.data .l, table.data td.l, table.data th.l { text-align: left; }
table.stats .team-cell a { color: var(--ink); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
table.stats .team-cell a:hover { text-decoration: underline; }
table.stats .badge { width: 28px; height: 28px; font-size: .7rem; border-radius: 6px; }
table.stats tr:last-child td, table.data tr:last-child td { border-bottom: 0; }
table.stats .rank { width: 2.5em; font-weight: 700; text-align: center; }
table.stats .pos { color: var(--green); }
table.stats .neg { color: var(--red); }
table.data td { white-space: normal; text-align: left; }
table.data th { text-align: left; }
.col-x { display: none; }
@media (max-width: 759px) {
  table.stats th, table.stats td { padding: 10px 6px; }
  table.stats .team-cell { white-space: normal; }
  table.stats .team-cell a { gap: 8px; }
  table.stats .badge { display: none; }
}
.show-all .col-x { display: table-cell; }
@media (min-width: 760px) { .col-x { display: table-cell; } .expand-toggle { display: none; } }
.legend { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.legend abbr { text-decoration: none; font-weight: 700; color: var(--ink); }

/* Empty states */
.empty { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; background: rgba(255,255,255,.4); }
.empty h3 { font-size: 1.4rem; margin-bottom: .3em; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 1em; }

/* Forms */
.form { max-width: 640px; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: .87rem; color: var(--muted); margin: -2px 0 6px; }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #a99f8f; border-radius: 8px; background: #fff; font: 400 1rem var(--body); color: var(--ink); }
textarea.input { min-height: 110px; line-height: 1.5; }
.input:focus { border-color: var(--ink); outline: 3px solid rgba(196,80,27,.35); outline-offset: 0; }
.field.has-error .input { border-color: var(--red); background: #fff8f7; }
.error { color: var(--red); font-size: .9rem; font-weight: 600; margin-top: 6px; display: flex; gap: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange); flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #a99f8f; border-radius: 999px; padding: 0 16px; min-height: 44px; background: #fff; cursor: pointer; font-weight: 500; }
.chips input { accent-color: var(--orange); width: 18px; height: 18px; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; padding: 14px; border: 1.5px solid #a99f8f; border-radius: 10px; background: #fff; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.radio-card input { accent-color: var(--orange); width: 20px; height: 20px; margin-top: 2px; }

/* Flash */
.flash { border-radius: 8px; padding: 14px 16px; margin: 16px 0; font-weight: 500; display: flex; gap: 10px; }
.flash-ok { background: #dcefe3; color: #133f25; border: 1px solid #a9d3b8; }
.flash-err { background: #fde3df; color: #6f150e; border: 1px solid #f0b1a8; }
.flash-info { background: #e3eef9; color: #0f3d66; border: 1px solid #b5d0ec; }

/* Stepper */
.stepper { list-style: none; display: flex; gap: 0; padding: 0; margin: 0 0 22px; counter-reset: st; }
.stepper li { flex: 1; counter-increment: st; font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); margin-right: 6px; }
.stepper li::before { content: counter(st) ". "; }
.stepper li[aria-current="step"] { color: var(--ink); border-color: var(--orange); }
.stepper li.done { color: var(--ink); border-color: var(--char); }

/* Key-value */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; font-weight: 600; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 12px; font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.legal-box { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 16px 18px; font-size: .95rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.3em; }
.prose blockquote { margin: 0 0 1.2em; padding: 12px 16px; background: var(--amber-bg); color: var(--amber-ink); border-radius: 8px; }
.prose blockquote p { margin: 0; }
.prose li { margin-bottom: 6px; }

/* Team page */
.team-hero { background: var(--char); color: #fff; padding: 30px 0; border-bottom: 6px solid var(--team, var(--orange)); }
.team-hero .badge { width: 72px; height: 72px; font-size: 1.5rem; border-radius: 14px; }
.team-hero .row { display: flex; gap: 18px; align-items: center; }
.record { font: 800 2.4rem/1 var(--display); }
.stat-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 18px; }
.stat-row div span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #bdb8b0; font-weight: 600; }
.stat-row div strong { font: 800 1.8rem/1.1 var(--display); }

/* Bracket */
.bracket { display: grid; gap: 18px; }
@media (min-width: 900px) { .bracket { grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center; } }
.round h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.champion { background: var(--char); color: #fff; border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 14px; }
.champion strong { font: 800 1.8rem/1 var(--display); text-transform: uppercase; }

/* Account / admin */
.dash-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: 1.4fr 1fr; } }
.next-game { background: var(--char); color: #fff; border-radius: var(--radius); padding: 20px; }
.next-game .vs { font: 800 1.8rem/1.05 var(--display); text-transform: uppercase; margin: 6px 0 10px; }
.next-game .meta { color: #d6d2cb; }
.task { display: flex; gap: 14px; align-items: center; justify-content: space-between; border-left: 6px solid var(--orange); }
.progress { height: 10px; background: var(--paper-2); border-radius: 5px; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: var(--green); }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
.admin-nav { background: var(--char-2); }
.admin-nav .wrap { display: flex; gap: 2px; overflow-x: auto; }
.admin-nav a { color: #e1ddd6; text-decoration: none; padding: 12px 12px; white-space: nowrap; font-size: .92rem; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.admin-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--orange-lt); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--ink); display: block; }
.kpi strong { display: block; font: 800 2.2rem/1 var(--display); }
.kpi span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.kpi.attn { border-left: 6px solid var(--orange); }
.score-entry { display: grid; grid-template-columns: 1fr 96px; gap: 10px 14px; align-items: center; }
.score-entry .input { font: 800 1.8rem var(--display); text-align: center; min-height: 60px; }
.score-entry label { font-weight: 700; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--char); color: #cfcac2; padding: 40px 0 28px; margin-top: 40px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h2 { font-size: 1rem; letter-spacing: .1em; color: #fff; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 10px; }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 820px) { .foot-brand { grid-column: auto; } }
.foot-base { border-top: 1px solid var(--char-3); margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #a9a49c; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.test-banner { background: repeating-linear-gradient(-45deg, #2a2c31, #2a2c31 12px, #33363c 12px, #33363c 24px); color: #ffd9a8; text-align: center; font: 600 .82rem/1.3 var(--body); padding: 6px 12px; }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pagination a, .pagination span { min-height: 40px; min-width: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; background: var(--card); text-decoration: none; }
.pagination [aria-current] { background: var(--ink); color: #fff; }
