/* GDF Companion — mobile shell. Dark default, light via [data-theme="light"].
   Every colour is a token; no inline colours anywhere in the shell (KI#172). */

:root {
    --bg: #060A14;
    --surface: #0F172A;
    --surface-2: #1E293B;
    --surface-3: #273449;
    --text: #F9FAFB;
    --text-2: #CBD5E1;
    --muted: #8A92A6;
    --border: rgba(255,255,255,0.08);
    --border-2: rgba(255,255,255,0.14);
    --accent: #C8102E;
    --accent-soft: rgba(200,16,46,0.16);
    --accent-text: #FCA5A5;
    --navy: #1B2A6B;
    --navy-text: #A5B4FC;
    --green: #34D399;
    --green-soft: rgba(16,185,129,0.16);
    --amber: #FBBF24;
    --amber-soft: rgba(245,158,11,0.16);
    --blue: #93C5FD;
    --blue-soft: rgba(59,130,246,0.16);
    --gold: #FFD700; --silver: #C0C0C0; --bronze: #CD7F32;
    --hero-from: #C8102E; --hero-to: #1B2A6B;
    --nav-bg: rgba(6,10,20,0.92);
    --shadow: 0 8px 24px rgba(0,0,0,0.35);
    --chart-line: #93C5FD; --chart-fill: rgba(147,197,253,0.14); --chart-grid: rgba(255,255,255,0.08);
    --tap: rgba(255,255,255,0.06);
}
[data-theme="light"] {
    --bg: #F1F3F7;
    --surface: #FFFFFF;
    --surface-2: #F3F4F8;
    --surface-3: #E7E9F0;
    --text: #0F172A;
    --text-2: #334155;
    --muted: #64748B;
    --border: rgba(15,23,42,0.08);
    --border-2: rgba(15,23,42,0.14);
    --accent-soft: rgba(200,16,46,0.09);
    --accent-text: #B91C1C;
    --navy-text: #1B2A6B;
    --green: #047857;
    --green-soft: #D1FAE5;
    --amber: #92400E;
    --amber-soft: #FEF3C7;
    --blue: #1D4ED8;
    --blue-soft: #DBEAFE;
    --nav-bg: rgba(255,255,255,0.94);
    --shadow: 0 8px 24px rgba(15,23,42,0.08);
    --chart-line: #1B2A6B; --chart-fill: rgba(27,42,107,0.10); --chart-grid: rgba(15,23,42,0.08);
    --tap: rgba(15,23,42,0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; min-height: 100%; -webkit-tap-highlight-color: transparent; }
body {
    background: var(--bg); color: var(--text);
    font-family: 'Source Serif 4', Georgia, serif; font-size: 15px; line-height: 1.4;
    overscroll-behavior-y: contain;
    /* Flex column: the bottom nav is IN FLOW (sticky at the end), never position:fixed —
       iOS standalone/Safari parked a fixed bar mid-screen on every tab (UAT 2026-09-15). */
    display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
body > main { flex: 1 0 auto; padding-bottom: 16px; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.osw { font-family: 'Oswald', 'Arial Narrow', sans-serif; }
.num { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Header ─────────────────────────────────────────────── */
.cp-header {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: 10px;
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.cp-back { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: transparent; border: 0; margin-left: -8px; color: var(--text); }
.cp-back:active { background: var(--tap); }
.cp-logo { height: 34px; width: auto; border-radius: 6px; }
.cp-head-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cp-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 1px; font-weight: 600; text-transform: uppercase; }
.cp-status.live { background: var(--green-soft); color: var(--green); }
.cp-status.scheduled { background: var(--blue-soft); color: var(--blue); }
.cp-status.finished { background: var(--surface-3); color: var(--muted); }
.cp-status.cancelled { background: var(--accent-soft); color: var(--accent-text); }
.cp-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cp-status.live .cp-dot { animation: cpPulse 1.6s ease-in-out infinite; }
@keyframes cpPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
.cp-env { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #FEF3C7; color: #92400E; border: 1px solid #FCD34D; margin-bottom: 2px; }
.cp-updated { font-size: 10.5px; color: var(--muted); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.3px; white-space: nowrap; }
.cp-updated.stale { color: var(--amber); }
.cp-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; overflow: hidden; position: relative; text-decoration: none; flex-shrink: 0; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border-2); }
.cp-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-avatar .on { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--surface); }
.cp-signin { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--accent-text); text-decoration: none; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border-2); white-space: nowrap; }

/* ── Banners ─────────────────────────────────────────────── */
.cp-banner { margin: 10px 16px 0; padding: 10px 14px; border-radius: 10px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.cp-banner.offline { background: var(--amber-soft); color: var(--amber); }
.cp-banner.alert { background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent); }
.cp-banner.clk { justify-content: space-between; font-family: 'Oswald', sans-serif; letter-spacing: .3px; }
.cp-banner.clk .clk-t { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: auto; }
.cp-banner.clk.break { background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber); }
.cp-banner.clk.called { background: rgba(59,130,246,0.12); color: #93C5FD; border: 1px solid rgba(59,130,246,0.5); }
[data-theme="light"] .cp-banner.clk.called { background: #DBEAFE; color: #1E40AF; border-color: #93C5FD; }
.cp-banner.clk.live { background: rgba(255,255,255,0.05); color: var(--text-muted, #9CA3AF); border: 1px solid rgba(255,255,255,0.1); }
[data-theme="light"] .cp-banner.clk.live { background: #F1F5F9; color: #475569; border-color: rgba(0,0,0,0.08); }
.cp-banner button { margin-left: auto; background: transparent; border: 1px solid currentColor; border-radius: 6px; padding: 4px 10px; font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ── Page ────────────────────────────────────────────────── */
.cp-view { padding: 14px 16px 0; max-width: 640px; margin: 0 auto; }
.cp-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 12px; }
.cp-title { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin: 0; line-height: 1.1; color: var(--text); }
.cp-subtitle { font-size: 12.5px; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.cp-section { font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; display: flex; align-items: center; justify-content: space-between; }
.cp-section a { font-size: 11px; color: var(--accent-text); text-decoration: none; letter-spacing: 0.5px; }
.cp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.cp-muted { color: var(--muted); font-size: 13px; }
.cp-empty { text-align: center; padding: 34px 20px; color: var(--muted); font-size: 14px; }
.cp-empty svg { display: block; margin: 0 auto 10px; opacity: 0.5; }

/* ── Hero: Up Next ───────────────────────────────────────── */
.hero {
    position: relative; overflow: hidden; border-radius: 16px; color: #fff;
    background: linear-gradient(118deg, var(--hero-from) 0%, var(--hero-to) 100%);
    padding: 16px 18px 16px; box-shadow: 0 12px 30px rgba(200,16,46,0.25);
}
.hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.hero .kicker { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; display: flex; align-items: center; gap: 8px; }
.hero .kicker .cp-dot { background: #fff; animation: cpPulse 1.6s ease-in-out infinite; }
.hero .round { font-family: 'Oswald', sans-serif; font-size: 34px; font-weight: 700; line-height: 1; margin: 6px 0 4px; text-transform: uppercase; }
.hero .opp { font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: 0.5px; line-height: 1.25; opacity: 0.95; }
.hero .opp small { display: block; font-size: 12px; opacity: 0.8; letter-spacing: 1px; }
.hero .table { display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: 0.5px; }
.hero .table svg { flex-shrink: 0; }
.hero .table .lbl { font-size: 18px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.9; align-self: flex-end; margin-bottom: 6px; }
.hero .table.tba { font-size: 18px; letter-spacing: 1px; opacity: 0.9; }
.hero .when { display: flex; align-items: center; gap: 8px; font-family: 'Barlow Condensed', sans-serif; font-size: 16px; letter-spacing: 0.5px; opacity: 0.95; }
.hero .when.soon { color: #FDE68A; }
.hero .cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; padding: 13px 16px; border-radius: 10px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35); color: #fff; text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; width: 100%; }
.hero .cta:active { background: rgba(255,255,255,0.24); }
.hero .cta.cta-solid { background: #fff; color: var(--accent); border-color: #fff; }
.hero .cta + .cta { margin-top: 8px; }
.hero .score-now { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-family: 'Barlow Condensed', sans-serif; }
.hero .score-now b { font-family: 'Oswald', sans-serif; font-size: 40px; line-height: 1; }
.hero .score-now .sep { font-size: 22px; opacity: 0.6; }
.hero .score-now small { font-size: 13px; opacity: 0.8; letter-spacing: 1px; text-transform: uppercase; }
.hero.calm { background: var(--surface); color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--border); }
.hero.calm::after { display: none; }
.hero.calm .kicker { color: var(--muted); }
.hero.calm .round { font-size: 24px; }
.hero.calm .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.hero.gold { background: linear-gradient(118deg, #B8860B 0%, #FFD700 100%); color: #1F1300; box-shadow: 0 12px 30px rgba(255,215,0,0.25); }

/* ── Record strip ────────────────────────────────────────── */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.strip.strip-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.strip.strip-5 .v { font-size: 22px; }
.strip.strip-5 .v small { display: block; font-size: 10px; }
.strip > div { padding: 10px 6px; text-align: center; border-right: 1px solid var(--border); }
.strip > div:last-child { border-right: 0; }
.strip .k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); }
.strip .v { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.strip .v.w { color: var(--green); } .strip .v.l { color: var(--accent-text); }

/* ── Tiles ───────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 4px 10px; text-align: center; text-decoration: none; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 74px; }
.tile:active { background: var(--tap); }
.tile svg { width: 24px; height: 24px; stroke: var(--navy-text); }
.tile span { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.4px; }
.tile.locked { opacity: 0.55; }
button.tile { font: inherit; cursor: pointer; width: 100%; }
button.tile:disabled { cursor: default; }
.tile .badge { position: absolute; }
.tile-wrap { position: relative; display: flex; }
.tile-wrap .tile { flex: 1; }
.tile-wrap .live-n { position: absolute; top: 6px; right: 8px; background: var(--accent); color: #fff; font-family: 'Oswald', sans-serif; font-size: 10px; border-radius: 999px; padding: 1px 6px; }

/* ── Sponsor feature ─────────────────────────────────────── */
.sponsor { margin-top: 18px; border-radius: 14px; overflow: hidden; background: var(--navy); color: #fff; position: relative; min-height: 96px; display: flex; align-items: center; box-shadow: var(--shadow); }
.sponsor .txt { padding: 14px 16px; flex: 1; min-width: 0; z-index: 1; }
.sponsor .k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.75; }
.sponsor .n { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.1; margin-top: 3px; }
.sponsor .tg { font-size: 12.5px; opacity: 0.85; margin-top: 2px; }
.sponsor .logo { height: 60px; max-width: 120px; object-fit: contain; margin: 0 14px; background: #fff; border-radius: 8px; padding: 6px; }
.sponsor .video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.sponsor .video iframe, .sponsor .video video { width: 100%; height: 100%; border: 0; display: block; }
.sponsor .vwrap { width: 100%; }
.sponsor .vbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.sponsor .vbar .logo { height: 34px; margin: 0; padding: 4px; }
.sponsor .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.35); border: 0; color: #fff; }
.sponsor .play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,0.95); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.sponsor .unmute { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,0.55); color: #fff; border: 0; border-radius: 999px; padding: 6px 12px; font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 0.5px; }
.sponsor-strip { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 24px 0 8px; opacity: 0.9; }
.sponsor-strip img { height: 34px; max-width: 110px; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px; }

/* ── Locked ──────────────────────────────────────────────── */
.locked { text-align: center; padding: 30px 18px; }
.locked svg { margin: 0 auto 10px; display: block; stroke: var(--muted); }
.locked h3 { font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: 0.5px; text-transform: uppercase; margin: 0 0 6px; }
.locked p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; min-height: 44px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-block { width: 100%; }

/* ── Stats ───────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 6px 10px; text-align: center; }
.stat .k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 600; line-height: 1.1; margin-top: 4px; }
.stat .v.w { color: var(--green); } .stat .v.l { color: var(--accent-text); }
.stat .v small { font-size: 14px; color: var(--muted); }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; }
.chart .tip { position: absolute; pointer-events: none; background: var(--surface-3); color: var(--text); border: 1px solid var(--border-2); border-radius: 8px; padding: 6px 10px; font-size: 12px; font-family: 'Barlow Condensed', sans-serif; white-space: nowrap; transform: translate(-50%, -110%); box-shadow: var(--shadow); }
.rating { display: flex; align-items: center; gap: 12px; }
.rating .v { font-family: 'Oswald', sans-serif; font-size: 30px; font-weight: 700; line-height: 1; }
.rating .tier { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-2); }

/* ── Lists ───────────────────────────────────────────────── */
.list { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; min-height: 56px; text-decoration: none; color: var(--text); border-left: 3px solid transparent; }
.row.mine { border-left-color: var(--accent); }
.row.tap:active { background: var(--tap); }
.row .r { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.6px; color: var(--muted); min-width: 44px; text-transform: uppercase; }
.row .who { flex: 1; min-width: 0; font-size: 14px; }
.row .who .n { font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: 0.3px; }
.row .who small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.row .sc { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 600; white-space: nowrap; }
.row .sc small { font-size: 12px; color: var(--muted); margin-left: 4px; }
.pill { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.pill.won, .pill.done { background: var(--green-soft); color: var(--green); }
.pill.lost { background: var(--accent-soft); color: var(--accent-text); }
.pill.live { background: var(--accent); color: #fff; }
.pill.sched { background: var(--blue-soft); color: var(--blue); }
.pill.tbd, .pill.bye { background: var(--surface-3); color: var(--muted); }
.pill.mine { background: var(--accent-soft); color: var(--accent-text); }
.tno { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 15px; background: var(--accent-soft); color: var(--accent-text); border-radius: 8px; padding: 6px 9px; min-width: 46px; text-align: center; line-height: 1; }
.tno small { display: block; font-size: 9px; letter-spacing: 1px; font-weight: 600; opacity: 0.8; margin-bottom: 2px; }
.tno.big { font-size: 22px; min-width: 60px; padding: 8px 10px; }

/* ── Schedule ────────────────────────────────────────────── */
.rnd { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.rnd-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.rnd-head .nm { flex: 1; min-width: 0; }
.rnd-head .nm b { font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: 0.4px; font-weight: 600; display: block; }
.rnd-head .nm small { color: var(--muted); font-size: 12px; }
.rnd-head .chev { transition: transform 0.2s; color: var(--muted); }
.rnd.open .chev { transform: rotate(180deg); }
.rnd-mine { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px dashed var(--border-2); background: var(--accent-soft); font-size: 13.5px; }
.rnd-mine .lbl { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); }
.rnd-body { display: none; border-top: 1px solid var(--border); }
.rnd.open .rnd-body { display: block; }
.mrow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.mrow:last-child { border-bottom: 0; }
.mrow.mine { background: var(--accent-soft); }
.mrow .teams div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .teams .w { font-weight: 600; }
.mrow .teams .me { color: var(--accent-text); }
.mrow .res { text-align: right; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 600; }
.mrow .res small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; font-family: 'Oswald', sans-serif; }

/* ── Standings ───────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--border); font-weight: 600; }
.tbl th:first-child, .tbl td:first-child { text-align: center; width: 34px; }
.tbl th.l, .tbl td.l { text-align: left; }
.tbl td { padding: 10px 6px; border-bottom: 1px solid var(--border); text-align: right; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; }
.tbl td.l { font-family: 'Source Serif 4', serif; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.mine td { background: var(--accent-soft); }
.tbl tr.mine td.l { color: var(--accent-text); font-weight: 600; }
.tbl .pos { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 700; background: var(--surface-3); }
.tbl .pos.p1 { background: var(--gold); color: #1F1300; } .tbl .pos.p2 { background: var(--silver); color: #1F2937; } .tbl .pos.p3 { background: var(--bronze); color: #fff; }
.tbl td .adv { color: var(--green); font-size: 11px; margin-left: 4px; }
.tbl td.pts { font-weight: 700; }
/* No accidental pinch-zoom: a zoomed page detaches position:fixed bars from the visible bottom on iOS. */
html { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; }
/* Standings table (shared-ui.js: Companion + GDF Live) — team cell is "🇩🇴 🇨🇦 #007" at content width;
   the result columns share the remaining width evenly; tap the row for the team detail */
.tbl-std { table-layout: auto; }
.tbl-std th, .tbl-std td { padding-left: 4px; padding-right: 4px; }
.tbl-std th:first-child, .tbl-std td:first-child { width: 30px; }
.tbl-std th.l, .tbl-std td.l { width: 1%; max-width: none; overflow: visible; white-space: nowrap; padding-right: 10px; }
.tbl-std th:not(.l):not(:first-child), .tbl-std td:not(.l):not(:first-child) { width: auto; white-space: nowrap; }
.tbl-std td:not(.l) { font-size: 14px; }
.tbl-std th { font-size: 9.5px; letter-spacing: 0.8px; }
.st-team { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.st-team .st-fl { font-size: 15px; letter-spacing: 3px; }
.st-team b { font-family: 'Oswald', sans-serif; font-weight: 600; }
.tbl tr.mine td.l .st-team b { color: var(--accent-text); }

/* ── Bracket ─────────────────────────────────────────────── */
.br-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px; margin: 0 -16px; -webkit-overflow-scrolling: touch; }
.br-col { flex: 0 0 82%; max-width: 320px; scroll-snap-align: start; }
.br-col h4 { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; display: flex; justify-content: space-between; }
.bm { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.bm.mine { border-color: var(--accent); }
.bm .t { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13.5px; }
.bm .t + .t { border-top: 1px solid var(--border); }
.bm .t .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm .t.w .n { font-weight: 700; }
.bm .t.loser { opacity: 0.55; }
.bm .t .s { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 600; min-width: 22px; text-align: right; }
.bm .t .me { color: var(--accent-text); }
.bm .meta { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; background: var(--surface-2); font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.bm .meta .lv { color: var(--accent-text); display: inline-flex; align-items: center; gap: 5px; }
.bm.tbd { border-style: dashed; background: transparent; }
.bm.tbd .t .n { color: var(--muted); font-style: italic; }
.bm.tbd .meta { background: transparent; min-height: 14px; }
.br-hint { text-align: center; color: var(--muted); font-size: 11px; margin-top: -6px; }

/* ── Live cards ──────────────────────────────────────────── */
.lv { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.lv.mine { border-color: var(--accent); }
.lv .teams { display: flex; flex-direction: column; gap: 6px; }
.lv .tm { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lv .tm .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv .tm .g { font-family: 'Oswald', sans-serif; font-size: 12px; color: var(--muted); min-width: 16px; text-align: center; }
.lv .tm .p { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 600; min-width: 34px; text-align: right; }
.lv .tm.lead .p { color: var(--green); }
.lv .sub { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ── Rules ───────────────────────────────────────────────── */
.rb-section { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.rb-section:first-child { margin-top: 0; }
.rb-rule { padding: 10px 0; border-bottom: 1px solid var(--border); }
.rb-rule:last-child { border-bottom: 0; }
.rb-rule h4 { font-family: 'Oswald', sans-serif; font-size: 15px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rb-rule .rb-body { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.rb-rule .rb-body p { margin: 0 0 6px; } .rb-rule .rb-body ul, .rb-rule .rb-body ol { margin: 4px 0 6px 18px; padding: 0; }
.rb-tag { font-family: 'Oswald', sans-serif; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-text); }
.rb-tag.opt { background: var(--blue-soft); color: var(--blue); }
.rb-disclaimer { background: var(--amber-soft); color: var(--amber); border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 8px 0 10px; }
a.cp-banner button { pointer-events: none; }

/* ── Table map ───────────────────────────────────────────── */
:root { --tm-border: rgba(255,255,255,0.14); --tm-table: rgba(255,255,255,0.06); --tm-text: #fff; --tm-zone: rgba(27,42,107,0.35); --tm-zone-b: rgba(147,197,253,0.5); --tm-zone-t: #93C5FD; }
[data-theme="light"] { --tm-border: rgba(15,23,42,0.15); --tm-table: #fff; --tm-text: #1B2A6B; --tm-zone: #DBEAFE; --tm-zone-b: #93C5FD; --tm-zone-t: #1E40AF; --tm-live: #FEE2E2; }
[data-theme="light"] .tm-table.live { color: #991B1B; }
.map-legend { display: flex; gap: 16px; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; color: var(--muted); margin: 10px 0 6px; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--tm-border); background: var(--tm-table); }
.map-legend .l { background: var(--tm-live, rgba(200,16,46,0.22)); border-color: var(--accent); } .map-legend .d { opacity: 0.45; }

/* ── Announcements ───────────────────────────────────────── */
.ann-card { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--navy-text); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--text); position: relative; }
.ann-card.alert { border-left-color: var(--accent); background: var(--accent-soft); }
.ann-card.compact { margin-top: 12px; }
.ann-k { font-size: 20px; flex-shrink: 0; }
.ann-i { flex: 1; min-width: 0; }
.ann-t { font-family: 'Oswald', sans-serif; font-size: 15px; line-height: 1.25; }
.ann-b { font-size: 13.5px; color: var(--text-2); margin-top: 3px; white-space: pre-line; line-height: 1.45; }
.ann-card.compact .ann-b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ann-m { font-size: 11.5px; color: var(--muted); margin-top: 5px; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.3px; }
.ann-del { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--muted); }
.ann-in { display: block; width: 100%; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 8px; padding: 10px 12px; color: var(--text); font: inherit; font-size: 15px; margin-bottom: 8px; }
.ann-in:focus { outline: none; border-color: var(--accent); }

/* ── Insights ────────────────────────────────────────────── */
.ins-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 8px; margin: 0 -16px; -webkit-overflow-scrolling: touch; }
.ins { flex: 0 0 150px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
.ins .k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.ins .v { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; margin-top: 4px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ins .s { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ── Rules Assistant ─────────────────────────────────────── */
.assist-form { display: flex; gap: 8px; align-items: stretch; }
.assist-form .ann-in { margin: 0; flex: 1; min-width: 0; }
.as-q { font-family: 'Oswald', sans-serif; font-size: 14px; margin: 10px 0 4px; padding-left: 10px; border-left: 3px solid var(--navy-text); }
.as-a { font-size: 14px; line-height: 1.5; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.as-a.nc { border-left: 3px solid var(--amber); }
.as-cite { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 11px; background: var(--blue-soft); color: var(--blue); border-radius: 5px; padding: 1px 6px; margin: 0 2px; }

/* ── Moments ─────────────────────────────────────────────── */
.mo-card { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.mo-card.major { background: linear-gradient(118deg, var(--hero-from) 0%, var(--hero-to) 100%); color: #fff; border: 0; box-shadow: 0 10px 26px rgba(200,16,46,0.25); }
.mo-card.major .cp-muted { color: rgba(255,255,255,0.85); }
.mo-card.strong { border-left: 3px solid var(--accent); }
.mo-ic { font-size: 28px; flex-shrink: 0; }
.mo-t { font-family: 'Oswald', sans-serif; font-size: 16px; line-height: 1.2; }
.mo-s { font-size: 12.5px; margin-top: 2px; }
.mo-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.8px; text-transform: uppercase; min-height: 40px; }
.mo-card.major .mo-btn { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); color: #fff; }
.mo-home { margin-top: 12px; }
/* Share card — rendered off-screen at 540×675 (2x → 1080×1350, portrait, IG/WhatsApp-friendly) */
#shareHost { position: fixed; left: -2000px; top: 0; }
.shc { width: 540px; height: 675px; position: relative; overflow: hidden; background: linear-gradient(160deg, #0B1230 0%, #1B2A6B 45%, #C8102E 130%); color: #fff; font-family: 'Oswald', 'Arial Narrow', sans-serif; }
.shc-bg { position: absolute; right: -90px; top: -90px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.shc-bg2 { position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: rgba(0,0,0,0.18); }
.shc-top { display: flex; align-items: center; justify-content: space-between; padding: 26px 32px 0; position: relative; }
.shc-logo { height: 46px; border-radius: 8px; background: #fff; padding: 4px 8px; }
.shc-tn { font-size: 14px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.85; text-align: right; max-width: 300px; line-height: 1.25; }
.shc-body { position: relative; padding: 24px 32px 0; }
.shc-icon { font-size: 44px; line-height: 1; }
.shc-title { font-size: 48px; font-weight: 700; line-height: 1.02; text-transform: uppercase; margin: 8px 0 6px; letter-spacing: 0.5px; }
.shc-sub { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; opacity: 0.9; }
.shc-player { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.shc-av { width: 78px; height: 78px; border-radius: 50%; background: #fff; color: #1B2A6B; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; overflow: hidden; border: 3px solid rgba(255,255,255,0.7); flex-shrink: 0; }
.shc-av img { width: 100%; height: 100%; object-fit: cover; }
.shc-pn { font-size: 26px; font-weight: 600; line-height: 1.1; }
.shc-pm { font-family: 'Barlow Condensed', sans-serif; font-size: 17px; opacity: 0.85; margin-top: 3px; }
.shc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.shc-stat { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 12px 8px; text-align: center; }
.shc-stat .k { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; }
.shc-stat .v { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.shc-foot { position: absolute; left: 32px; right: 32px; bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; }
.shc-brand { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.9; line-height: 1.5; }
.shc-brand b { display: block; font-size: 17px; letter-spacing: 2px; }
.shc-qr { background: #fff; padding: 6px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.shc-qr svg, .shc-qr img { width: 74px; height: 74px; display: block; }
.shc-qr small { font-family: 'Barlow Condensed', sans-serif; font-size: 9px; color: #1B2A6B; letter-spacing: 1px; text-transform: uppercase; }

/* ── Push card ───────────────────────────────────────────── */
.push-card { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.push-card.compact { margin-top: 12px; border-left: 3px solid var(--navy-text); }
.push-i { font-size: 22px; flex-shrink: 0; }
.push-card .btn { margin-right: 6px; }

/* ── More ────────────────────────────────────────────────── */
.menu { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.menu a, .menu .item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; min-height: 50px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: 14.5px; background: transparent; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.menu a:last-child, .menu .item:last-child { border-bottom: 0; }
.menu svg { stroke: var(--navy-text); flex-shrink: 0; }
.menu .grow { flex: 1; }
.menu .val { color: var(--muted); font-size: 13px; }
.cp-locale { appearance:none; -webkit-appearance:none; background: var(--surface-2); border:1px solid var(--border-2); border-radius:8px; color: var(--text); font-family:'Oswald',sans-serif; font-size:12px; letter-spacing:0.4px; padding:8px 28px 8px 10px; min-height:36px; max-width:200px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 9px center; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 8px; overflow: hidden; }
.seg button { padding: 7px 12px; border: 0; background: transparent; color: var(--muted); font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; min-height: 36px; }
.seg button.on, .seg a.on { background: var(--accent); color: #fff; }
.seg a { color: var(--muted); }
.about p { margin: 6px 0; font-size: 14px; }
.about .k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); display: block; }

/* ── Tab bar — TOP, directly under the header, between two red rules ─────────
   The PWA's tab bar lives under the sticky header (sticky-top is the one thing iOS renders
   reliably; a bottom bar — fixed OR sticky — parked itself mid-screen during UAT 2026-09-15).
   Bottom tabs return with a native shell. DOM order is header → main → nav; flex `order`
   places the bar visually under the header, and --hdr-h (set by GdfUI.pinNav) makes it stick
   right beneath it. */
.cp-nav { order: -1; position: sticky; top: var(--hdr-h, 64px); z-index: 29; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); padding: 4px 0 3px; }
.cp-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 4px 3px; text-decoration: none; color: var(--muted); font-family: 'Oswald', sans-serif; font-size: 10.5px; letter-spacing: 0.5px; min-height: 44px; position: relative; }
.cp-nav a svg { width: 20px; height: 20px; stroke: currentColor; }
.cp-nav a.on { color: var(--accent); }
.cp-nav a.on::after { content: ''; position: absolute; bottom: 0; width: 20px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.cp-header { order: -2; }

/* ── Bottom sheet (match detail) ─────────────────────────── */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 50; display: none; }
.sheet-bg.on { display: block; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; background: var(--surface); border-radius: 18px 18px 0 0; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform 0.25s ease; max-height: 85vh; overflow-y: auto; box-shadow: 0 -10px 30px rgba(0,0,0,0.3); }
.sheet.on { transform: translateY(0); }
/* Closed sheet: fully hidden — iOS places fixed "bottom" mid-screen on some phones, and the slid-away
   sheet's box-shadow bled into the page as a grey band on every tab (UAT 2026-09-15). */
.sheet:not(.on) { visibility: hidden; box-shadow: none; pointer-events: none; }
.toast:not(.on) { visibility: hidden; }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--border-2); margin: 0 auto 12px; }
.sheet h3 { font-family: 'Oswald', sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 4px; }
.sheet .vs { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 10px; align-items: center; margin: 14px 0; text-align: center; }
.sheet .vs .n { font-family: 'Oswald', sans-serif; font-size: 14px; line-height: 1.2; }
.sheet .vs .n small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.sheet .vs .n.me { color: var(--accent-text); }
.sheet .vs .big { font-family: 'Oswald', sans-serif; font-size: 34px; font-weight: 700; }
.sheet .games { display: flex; flex-direction: column; gap: 4px; }
.sheet .games div { display: grid; grid-template-columns: 50px 1fr auto 1fr; gap: 8px; padding: 8px 10px; background: var(--surface-2); border-radius: 8px; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; align-items: center; }
.sheet .games .gl { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.sheet .games .w { font-weight: 700; color: var(--green); }
.sheet .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* ── Index page ──────────────────────────────────────────── */
.tcard { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); }
.tcard .i { flex: 1; min-width: 0; }
.tcard .i b { font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: 0.3px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard .i small { color: var(--muted); font-size: 12.5px; display: block; margin-top: 2px; }
.tcard:active { background: var(--tap); }
.tcard .tcard-chev { color: var(--muted); flex-shrink: 0; }
.tcard .role { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); margin-top: 4px; display: block; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: var(--surface-3); color: var(--text); border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 16px; font-size: 13px; z-index: 60; opacity: 0; transition: all 0.25s; pointer-events: none; box-shadow: var(--shadow); max-width: 90vw; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 640px) {
    .cp-nav { max-width: 640px; margin: 0 auto; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
    .br-col { flex-basis: 300px; }
}

.reg-state { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--amber-soft); color: var(--amber); font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 0.5px; }

/* ── GDF Player Pass card (Home) ── */
.pass-card { display: block; text-decoration: none; color: inherit; margin-top: 12px; border-left: 4px solid var(--amber); }
.pass-card.ready { border-left-color: var(--green); }
.pass-card.in    { border-left-color: var(--accent); }
.pass-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pass-brand { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.pass-state { font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--amber); }
.pass-card.ready .pass-state { color: var(--green); }
.pass-card.in .pass-state { color: var(--accent-text); }
.pass-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pass-todo { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 13px; color: var(--text); }
.pass-todo li { margin: 2px 0; }
.pass-partner { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.pass-partner .ok { color: var(--green); font-weight: 700; }
.pass-partner .wait { color: var(--amber); font-weight: 700; }
.pass-both { font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 1px; color: var(--green); margin-top: 4px; }
.pass-cta { margin-top: 10px; font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-text); }
