/* ==========================================================================
   CRIC SQUAD — Global Design System
   --------------------------------------------------------------------------
   1.  Tokens (dark default + light theme)
   2.  Reset & base
   3.  Typography
   4.  Layout (container, sections, grid)
   5.  Buttons
   6.  Badges, chips, live indicator, verified
   7.  Cards (generic, stat, match, player, team, tournament, news, ground, video)
   8.  Header (public), mobile menu, search overlay, footer, bottom nav
   9.  Page hero, breadcrumbs, profile hero
   10. Tabs, tables, form indicators
   11. Forms, filters, pagination
   12. Dropdown, modal, toast, tooltip, accordion, alerts
   13. States: empty, loading (skeleton), error
   14. Live score & commentary
   15. Charts
   16. Dashboard layout
   17. Scorer UI
   18. Utilities
   19. Why / feature split (home)
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
    --primary: #16A34A;
    --primary-dark: #15803D;
    --primary-light: #22C55E;
    --primary-soft: rgba(34, 197, 94, 0.12);
    --primary-ring: rgba(34, 197, 94, 0.35);

    --black: #050505;
    --dark: #0B0F0C;
    --card: #111714;
    --card-2: #161C18;
    --card-3: #1C241F;

    --white: #FFFFFF;
    --heading: #FFFFFF;
    --text: #E5E7EB;
    --muted: #9CA3AF;
    --subtle: #6B7280;

    --border: #26312A;
    --border-strong: #34433A;

    --danger: #EF4444;
    --danger-soft: rgba(239, 68, 68, 0.12);
    --warning: #F59E0B;
    --warning-soft: rgba(245, 158, 11, 0.12);
    --info: #38BDF8;
    --info-soft: rgba(56, 189, 248, 0.12);
    --six: #A855F7;
    --six-soft: rgba(168, 85, 247, 0.14);

    --bg: var(--dark);
    --bg-alt: var(--black);
    --surface: var(--card);
    --surface-2: var(--card-2);
    --surface-3: var(--card-3);
    --header-bg: rgba(5, 5, 5, 0.86);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 0 1px var(--primary-ring), 0 10px 30px rgba(22, 163, 74, 0.18);

    --font-body: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-heading: "Archivo", "Google Sans", system-ui, sans-serif;
    --font-display: "Archivo", "Google Sans", system-ui, sans-serif;

    --header-h: 68px;
    --container: 1240px;
    --gutter: 24px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --t-fast: 150ms var(--ease);
    --t-med: 260ms var(--ease);

    color-scheme: dark;
}

[data-theme="light"] {
    --bg: #F6F8F7;
    --bg-alt: #FFFFFF;
    --surface: #FFFFFF;
    --surface-2: #F1F4F2;
    --surface-3: #E8EDEA;
    --card: #FFFFFF;
    --card-2: #F1F4F2;
    --card-3: #E8EDEA;

    --heading: #0B0F0C;
    --text: #1F2933;
    --muted: #5B6670;
    --subtle: #8A949C;

    --border: #E1E7E3;
    --border-strong: #CBD5CF;
    --primary-light: #15803D; /* darker accent for AA text contrast on white */
    --primary-soft: rgba(22, 163, 74, 0.10);
    --header-bg: rgba(255, 255, 255, 0.88);

    --shadow-sm: 0 1px 2px rgba(16, 24, 20, 0.06);
    --shadow-md: 0 8px 24px rgba(16, 24, 20, 0.08);
    --shadow-lg: 0 24px 60px rgba(16, 24, 20, 0.12);

    color-scheme: light;
}

/* Always-dark surfaces keep the bright accent in light theme */
.hero, .scoreboard, .cta-band, .scorer-board, .auth-visual, .score-header, .hero-live { --primary-light: #22C55E; }

/* 2. RESET & BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
::selection { background: var(--primary); color: #fff; }

:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 6px; }
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
    transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }
.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; }

/* 3. TYPOGRAPHY ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--heading); margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: 0; text-transform: uppercase; line-height: .95; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-light);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.text-muted { color: var(--muted); }
.text-subtle { color: var(--subtle); }
.text-green { color: var(--primary-light); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-white { color: var(--heading); }
.num, .score { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.small { font-size: 13px; }
.xsmall { font-size: 12px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.uppercase { text-transform: uppercase; letter-spacing: .08em; }
.prose { max-width: 72ch; font-size: 1.05rem; line-height: 1.8; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
    margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--primary);
    background: var(--surface-2); border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.15rem; color: var(--heading); font-weight: 500;
}
.link { color: var(--primary-light); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link i { transition: transform var(--t-fast); }
.link:hover i { transform: translateX(3px); }

/* 4. LAYOUT --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 880px; }
.section { padding-block: 64px; }
.section-sm { padding-block: 40px; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 4px 0 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
main { min-height: 60vh; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.grid-sidebar-left { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.span-2 { grid-column: span 2; }
.span-full { grid-column: 1 / -1; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 20px); }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.ml-auto { margin-left: auto; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden, [hidden] { display: none !important; }

/* 5. BUTTONS -------------------------------------------------------------- */
.btn {
    --btn-bg: var(--surface-2); --btn-fg: var(--heading); --btn-bd: var(--border);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 42px; padding: 0 18px; border-radius: var(--radius-sm);
    background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
    font-weight: 600; font-size: 14px; white-space: nowrap; line-height: 1;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
    user-select: none;
}
.btn:hover { border-color: var(--border-strong); background: var(--surface-3); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn i { font-size: 1.05em; }
.btn-primary { --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 8px 22px rgba(22, 163, 74, .28); }
.btn-outline { --btn-bg: transparent; --btn-bd: var(--border-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: var(--primary-soft); }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: transparent; }
.btn-light { --btn-bg: #fff; --btn-fg: #050505; --btn-bd: #fff; }
.btn-light:hover { background: #E5E7EB; border-color: #E5E7EB; }
.btn-danger { --btn-bg: var(--danger-soft); --btn-fg: var(--danger); --btn-bd: transparent; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 7px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; border-radius: var(--radius-md); }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }
.btn-group { display: inline-flex; gap: 8px; flex-wrap: wrap; }

/* Follow / favourite toggles */
.btn-follow.is-active { --btn-bg: var(--primary-soft); --btn-fg: var(--primary-light); --btn-bd: var(--primary); }
.fav-btn {
    width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
    transition: color var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.fav-btn:hover { color: var(--heading); }
.fav-btn.is-active { color: #F43F5E; background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .4); }
.fav-btn.is-active i::before { content: "\f415"; } /* bi-heart-fill */
.fav-btn.star.is-active { color: var(--warning); background: var(--warning-soft); border-color: rgba(245, 158, 11, .4); }
.fav-btn.star.is-active i::before { content: "\f586"; } /* bi-star-fill */
.fav-btn.pop { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.25); } }

/* 6. BADGES --------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
    border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: var(--surface-3); color: var(--muted); border: 1px solid var(--border); white-space: nowrap;
}
.badge-green { background: var(--primary-soft); color: var(--primary-light); border-color: rgba(34, 197, 94, .25); }
.badge-solid { background: var(--primary); color: #fff; border-color: var(--primary); }
.badge-live { background: rgba(239, 68, 68, .12); color: #F87171; border-color: rgba(239, 68, 68, .3); }
.badge-live::before, .live-dot {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
    box-shadow: 0 0 0 0 currentColor; animation: live-pulse 1.6s infinite;
}
.live-dot { display: inline-block; color: var(--primary-light); }
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
    70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.badge-live::before { animation-name: live-pulse-red; }
@keyframes live-pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); }
    70% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.badge-upcoming { background: var(--info-soft); color: var(--info); border-color: rgba(56, 189, 248, .25); }
.badge-completed { background: var(--surface-3); color: var(--muted); }
.badge-warning { background: var(--warning-soft); color: var(--warning); border-color: rgba(245, 158, 11, .25); }
.badge-danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(239, 68, 68, .25); }
.badge-pro { background: linear-gradient(135deg, #22C55E, #15803D); color: #fff; border: 0; }
.badge-demo { background: transparent; border-style: dashed; color: var(--subtle); }

.verified { display: inline-grid; place-items: center; width: 20px; height: 20px; color: var(--primary-light); font-size: 18px; vertical-align: -3px; }
.verified-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: var(--radius-pill);
    background: var(--primary-soft); color: var(--primary-light); font-size: 12px; font-weight: 700; border: 1px solid rgba(34, 197, 94, .25);
}
.verified-pill i { font-size: 15px; }

.chip {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill);
    background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 13px; font-weight: 600;
    transition: all var(--t-fast); cursor: pointer;
}
.chip:hover { border-color: var(--border-strong); color: var(--heading); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip .count { font-size: 11px; opacity: .75; }

.live-indicator {
    display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill);
    background: var(--primary-soft); color: var(--primary-light); font-size: 12px; font-weight: 800; letter-spacing: .1em;
    border: 1px solid rgba(34, 197, 94, .3);
}
.live-indicator .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-light); }

/* Role tag */
.role-tag { font-size: 12px; font-weight: 600; color: var(--primary-light); }

/* 7. CARDS ---------------------------------------------------------------- */
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    position: relative; overflow: hidden;
}
.card-body { padding: 22px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.card-header h2, .card-header h3 { margin: 0; font-size: 1rem; }
.card-footer { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-hover { transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med); }
.card-hover:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* stretched link */
.card .raise { position: relative; z-index: 2; }
.card-flat { background: var(--surface-2); border-radius: var(--radius-md); }

/* Stat card */
.stat-card { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stat-card .stat-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat-card .stat-value { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1.1; color: var(--heading); margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-card .stat-meta { font-size: 12px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.stat-card .stat-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-light); font-size: 17px; }
.trend-up { color: var(--primary-light); font-weight: 700; }
.trend-down { color: var(--danger); font-weight: 700; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.stat-strip > div { padding: 20px; border-right: 1px solid var(--border); }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip .v { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--heading); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-strip .v.green { color: var(--primary-light); }
.stat-strip .l { font-size: 12px; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* Avatars & logos */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex-shrink: 0; border: 1px solid var(--border); }
.avatar-xs { width: 28px; height: 28px; }
.avatar-sm { width: 36px; height: 36px; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 128px; height: 128px; border-width: 3px; }
.team-logo { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.team-logo-sm { width: 28px; height: 28px; }
.team-logo-lg { width: 64px; height: 64px; }
.team-logo-xl { width: 112px; height: 112px; }
.media-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.media-row .title { font-weight: 700; color: var(--heading); line-height: 1.3; }
.media-row .sub { font-size: 12px; color: var(--muted); }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* Match card */
.match-card { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.match-card .mc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.match-card .mc-top .mc-tour { font-weight: 600; color: var(--text); }
.match-card .mc-team { display: flex; align-items: center; gap: 12px; }
.match-card .mc-team .name { font-weight: 700; color: var(--heading); flex: 1; min-width: 0; }
.match-card .mc-team .runs { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--heading); font-variant-numeric: tabular-nums; }
.match-card .mc-team .overs { font-size: 12px; color: var(--muted); margin-left: 4px; }
.match-card .mc-team.is-batting .name::after { content: "\F231"; font-family: "bootstrap-icons"; font-size: 8px; color: var(--primary-light); margin-left: 8px; vertical-align: 2px; }
.match-card .mc-team.is-dim .name, .match-card .mc-team.is-dim .runs { color: var(--muted); }
.match-card .mc-status { font-size: 13px; color: var(--primary-light); font-weight: 600; }
.match-card .mc-status.neutral { color: var(--muted); }
.match-card .mc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.match-card .mc-meta i { margin-right: 4px; }
.match-card .mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.match-card.is-live { border-color: rgba(34, 197, 94, .35); }
.match-card.is-live::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light), transparent); }

/* Player card */
.player-card { display: flex; flex-direction: column; }
.player-card .pc-media { position: relative; aspect-ratio: 4 / 3.2; background: radial-gradient(120% 90% at 50% 0%, #1d3b28 0%, #0d1510 70%); overflow: hidden; }
[data-theme="light"] .player-card .pc-media { background: radial-gradient(120% 90% at 50% 0%, #d8f3e1 0%, #eef4f0 70%); }
.player-card .pc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--t-med); }
.player-card:hover .pc-media img { transform: scale(1.04); }
.player-card .pc-media .fav-btn { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(5, 5, 5, .55); border-color: transparent; color: #fff; backdrop-filter: blur(6px); }
.player-card .pc-media .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.player-card .pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.player-card .pc-name { font-size: 1.05rem; font-weight: 800; color: var(--heading); margin: 0; display: flex; align-items: center; gap: 6px; }
.player-card .pc-sub { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.player-card .pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-top: auto; }
.player-card .pc-stats div { text-align: center; padding: 10px 4px; border-right: 1px solid var(--border); }
.player-card .pc-stats div:last-child { border-right: 0; }
.player-card .pc-stats b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--heading); line-height: 1.1; }
.player-card .pc-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.player-card .pc-rating { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.player-card .pc-rating b { color: var(--primary-light); font-family: var(--font-display); font-size: 1.1rem; }

/* Team card */
.team-card { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.team-card .tc-head { display: flex; align-items: center; gap: 14px; }
.team-card .tc-head h3 { margin: 0; font-size: 1.05rem; }
.team-card .tc-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-2); border-radius: var(--radius-md); }
.team-card .tc-stats div { padding: 10px; text-align: center; }
.team-card .tc-stats b { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--heading); line-height: 1.1; }
.team-card .tc-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.team-card .tc-meta { font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.team-card .tc-meta i { width: 18px; color: var(--subtle); }

/* Tournament card */
.tour-card { display: flex; flex-direction: column; }
.tour-card .tr-banner { height: 92px; position: relative; background: linear-gradient(135deg, #0f2a19, #050505 70%); overflow: hidden; }
.tour-card .tr-banner::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(34, 197, 94, .07) 22px 23px); }
.tour-card .tr-banner .badge { position: absolute; top: 12px; right: 12px; z-index: 1; }
.tour-card .tr-logo { width: 64px; height: 64px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 8px; margin: -32px 0 0 18px; position: relative; z-index: 1; }
.tour-card .tr-body { padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-card h3 { margin: 0; font-size: 1.05rem; }
.tour-card .tr-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.tour-card .tr-meta i { color: var(--subtle); margin-right: 6px; }

/* News card */
.news-card { display: flex; flex-direction: column; }
.news-card .nc-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.news-card .nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med); }
.news-card:hover .nc-media img { transform: scale(1.04); }
.news-card .nc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .nc-cat { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); }
.news-card h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nc-meta { margin-top: auto; font-size: 12px; color: var(--subtle); display: flex; gap: 12px; }
.news-card.horizontal { flex-direction: row; }
.news-card.horizontal .nc-media { width: 38%; aspect-ratio: auto; flex-shrink: 0; }

/* Ground card & video card */
.ground-card .gc-media, .video-card .vc-media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--surface-2); }
.ground-card .gc-media img, .video-card .vc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med); }
.ground-card:hover .gc-media img, .video-card:hover .vc-media img { transform: scale(1.04); }
.ground-card .gc-body, .video-card .vc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.ground-card h3, .video-card h3 { margin: 0; font-size: 1.02rem; }
.facility-list { display: flex; flex-wrap: wrap; gap: 6px; }
.facility-list span { font-size: 12px; padding: 4px 9px; border-radius: 6px; background: var(--surface-2); color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.video-card .vc-play {
    position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%;
    background: rgba(22, 163, 74, .92); color: #fff; display: grid; place-items: center; font-size: 26px; z-index: 2;
    box-shadow: 0 0 0 8px rgba(22, 163, 74, .25); transition: transform var(--t-fast);
}
.video-card:hover .vc-play { transform: scale(1.08); }
.video-card .vc-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 5px; z-index: 2; }

/* List rows (generic) */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--border); transition: background var(--t-fast); }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover, .list-item.is-hover:hover { background: var(--surface-2); }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title { font-weight: 600; color: var(--heading); }
.list-item .li-sub { font-size: 12px; color: var(--muted); }
.rank-num { width: 28px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--subtle); text-align: center; flex-shrink: 0; }
.rank-num.top { color: var(--primary-light); }

/* Leader / performer card */
.leader-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.leader-card .lc-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.leader-card .lc-label i { color: var(--primary-light); }
.leader-card .lc-value { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--primary-light); }
.leader-card .lc-value small { font-size: 1rem; color: var(--muted); margin-left: 6px; font-family: var(--font-body); font-weight: 600; }

/* Record card */
.record-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(160deg, var(--surface) 55%, rgba(22, 163, 74, .08)); }
.record-card .rc-value { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: .95; color: var(--heading); }
.record-card .rc-value .unit { font-size: 1.1rem; color: var(--primary-light); margin-left: 6px; }
.record-card .rc-title { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); }
.record-card .rc-desc { color: var(--muted); font-size: 13px; }

/* Plan cards */
.plan-card { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan-card.featured { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.plan-card .plan-price { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--heading); line-height: 1; }
.plan-card .plan-price small { font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: 500; }
.check-list { display: grid; gap: 10px; font-size: 14px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: var(--primary-light); font-size: 16px; line-height: 1.4; }
.check-list li.off { color: var(--subtle); }
.check-list li.off::before { content: "\F62A"; color: var(--subtle); }

/* 8. HEADER --------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100; height: var(--header-h);
    background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .04em; color: var(--heading); line-height: 1; }
.brand-name span { color: var(--primary-light); }
.main-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.main-nav a {
    position: relative; padding: 8px 11px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted);
    transition: color var(--t-fast), background var(--t-fast); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.main-nav a:hover { color: var(--heading); background: var(--surface-2); }
.main-nav a.is-active { color: var(--heading); }
.main-nav a.is-active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -15px; height: 2px; background: var(--primary-light); border-radius: 2px; }
.main-nav .nav-live { color: var(--primary-light); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
    width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--text);
    border: 1px solid transparent; transition: background var(--t-fast), border-color var(--t-fast); position: relative; font-size: 18px;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light); border: 2px solid var(--bg); }
.menu-toggle { display: none; }
.theme-toggle .bi-sun { display: none; }
[data-theme="light"] .theme-toggle .bi-sun { display: inline; }
[data-theme="light"] .theme-toggle .bi-moon-stars { display: none; }

/* Mobile drawer */
.mobile-drawer {
    position: fixed; inset: 0; z-index: 300; visibility: hidden; pointer-events: none;
}
.mobile-drawer .drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity var(--t-med); }
.mobile-drawer .drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--bg); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform var(--t-med); display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
.mobile-drawer.is-open .drawer-backdrop { opacity: 1; }
.mobile-drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer-nav { padding: 12px; display: grid; gap: 2px; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-weight: 600; color: var(--text); }
.drawer-nav a i { color: var(--subtle); font-size: 18px; width: 20px; }
.drawer-nav a:hover, .drawer-nav a.is-active { background: var(--surface-2); color: var(--heading); }
.drawer-nav a.is-active i { color: var(--primary-light); }
.drawer-nav .drawer-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); padding: 14px 14px 6px; }
.drawer-foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 400; background: rgba(5, 5, 5, .7); backdrop-filter: blur(8px); display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.search-overlay.is-open { display: flex; animation: fade-in .2s var(--ease); }
.search-box { width: min(680px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box form { display: flex; align-items: center; gap: 12px; padding: 6px 16px; border-bottom: 1px solid var(--border); }
.search-box input { flex: 1; height: 54px; background: none; border: 0; outline: 0; font-size: 17px; color: var(--heading); }
.search-box .search-hints { padding: 16px; display: grid; gap: 12px; }
.search-box kbd { font-family: var(--font-body); font-size: 11px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--border); color: var(--muted); }
@keyframes fade-in { from { opacity: 0; } }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 64px 0 28px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr) 1.6fr; gap: 32px; }
.footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--heading); margin-bottom: 16px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--primary-light); }
.footer-brand p { margin: 14px 0 18px; max-width: 30ch; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text); transition: all var(--t-fast); }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); color: var(--heading); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a:hover { color: var(--primary-light); }

/* Bottom nav (mobile) */
.bottom-nav { display: none; }

/* 9. PAGE HERO / BREADCRUMB ---------------------------------------------- */
.page-hero {
    position: relative; padding: 44px 0 36px; border-bottom: 1px solid var(--border); overflow: hidden;
    background: radial-gradient(800px 300px at 85% -40%, rgba(34, 197, 94, .16), transparent 70%), var(--bg-alt);
}
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; opacity: .25; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 10px 0 8px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.page-hero p { color: var(--muted); max-width: 64ch; margin: 0; }
.page-hero .hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--subtle); }
.breadcrumb [aria-current] { color: var(--heading); font-weight: 600; }

/* Profile hero (player/team/tournament/ground) */
.profile-hero { position: relative; padding: 40px 0 0; background: var(--bg-alt); border-bottom: 1px solid var(--border); overflow: hidden; }
.profile-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 10% 0%, rgba(34, 197, 94, .18), transparent 70%), repeating-linear-gradient(115deg, transparent 0 40px, rgba(34, 197, 94, .035) 40px 41px); pointer-events: none; }
.profile-hero .container { position: relative; }
.profile-head { display: flex; align-items: flex-end; gap: 28px; padding: 18px 0 28px; flex-wrap: wrap; }
.profile-head .ph-photo { width: 148px; height: 148px; border-radius: 24px; object-fit: cover; border: 3px solid var(--border-strong); background: var(--surface-2); flex-shrink: 0; }
.profile-head .ph-info { flex: 1; min-width: 260px; }
.profile-head h1 { margin: 6px 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-head .ph-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.profile-head .ph-meta i { color: var(--primary-light); margin-right: 6px; }
.profile-head .ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.profile-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.profile-nav::-webkit-scrollbar { display: none; }

/* Hero (homepage) */
.hero { position: relative; overflow: hidden; background: var(--black); color: #E5E7EB; border-bottom: 1px solid #26312A; }
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .96) 0%, rgba(5, 5, 5, .78) 42%, rgba(5, 5, 5, .1) 100%), linear-gradient(0deg, rgba(5, 5, 5, .9), transparent 40%); }
.hero .container { position: relative; z-index: 1; padding-block: 96px 72px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: .98; letter-spacing: 0; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--primary-light); }
.hero .lead { color: #B8BFC6; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .v { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: #fff; line-height: 1; }
.hero-stats .l { font-size: 12px; color: #9CA3AF; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.hero .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .25); }
.hero-live { background: rgba(17, 23, 20, .82); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); --heading: #fff; --muted: #9CA3AF; --border: #26312A; --surface-2: #161C18; --text: #E5E7EB; }

/* CTA band */
.cta-band { position: relative; border-radius: 24px; overflow: hidden; padding: 64px 56px; background: radial-gradient(600px 300px at 90% 10%, rgba(34, 197, 94, .35), transparent 70%), linear-gradient(135deg, #0f2a19 0%, #050505 60%); border: 1px solid #26312A; color: #E5E7EB; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 360px; height: 360px; border-radius: 50%; border: 2px dashed rgba(34, 197, 94, .25); }
.cta-band h2 { color: #fff; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; margin-bottom: 12px; letter-spacing: 0; }
.cta-band p { color: #B8BFC6; max-width: 52ch; }
.cta-band .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .25); }

/* 10. TABS ---------------------------------------------------------------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
    position: relative; padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;
    transition: color var(--t-fast); display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--heading); }
.tab[aria-selected="true"], .tab.is-active { color: var(--heading); }
.tab[aria-selected="true"]::after, .tab.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--primary-light); border-radius: 2px; }
.tab .count { font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--surface-3); color: var(--muted); }
.tabs-pill { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; border-bottom: 1px solid var(--border); max-width: 100%; }
.tabs-pill .tab { padding: 8px 14px; border-radius: 9px; }
.tabs-pill .tab[aria-selected="true"], .tabs-pill .tab.is-active { background: var(--primary); color: #fff; }
.tabs-pill .tab[aria-selected="true"]::after, .tabs-pill .tab.is-active::after { display: none; }
.tab-panel { padding-top: 24px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering { animation: tab-in .3s var(--ease); }
@keyframes tab-in { from { opacity: 0; transform: translateY(6px); } }

/* TABLES */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.table-wrap.flush { border: 0; border-radius: 0; background: transparent; }
.table { font-size: 14px; min-width: 560px; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table thead th { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; background: var(--surface-2); position: sticky; top: 0; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--surface-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num, .table td.n, .table th.n { text-align: right; font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.table td.c, .table th.c { text-align: center; }
.table .strong, .table td.strong { color: var(--heading); font-weight: 700; }
.table .hl { color: var(--primary-light); font-weight: 800; }
.table tr.is-highlight { background: var(--primary-soft); }
.table tr.is-highlight td:first-child { box-shadow: inset 3px 0 0 var(--primary-light); }
.table tr.qualify td:first-child { box-shadow: inset 3px 0 0 var(--primary-light); }
.table .sticky-col { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.table thead .sticky-col { background: var(--surface-2); z-index: 2; }
.table tbody tr:hover .sticky-col { background: var(--surface-2); }
.table .dismissal { color: var(--muted); font-size: 12px; white-space: normal; min-width: 160px; }
.table a:hover { color: var(--primary-light); }
.table-compact th, .table-compact td { padding: 9px 12px; }
.table-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--border); font-size: 14px; background: var(--surface-2); flex-wrap: wrap; }

.form-guide { display: inline-flex; gap: 4px; }
.form-pill { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; }
.form-w { background: var(--primary); }
.form-l { background: var(--danger); }
.form-n { background: var(--subtle); }

/* 11. FORMS --------------------------------------------------------------- */
.field { display: grid; gap: 7px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--heading); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .error { font-size: 12px; color: var(--danger); }
.input, .select, .textarea {
    width: 100%; height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
    background: var(--surface-2); border: 1px solid var(--border); color: var(--heading); font-size: 14px;
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); outline: 0;
}
.input::placeholder, .textarea::placeholder { color: var(--subtle); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-strong); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); background: var(--surface); }
.input.is-invalid { border-color: var(--danger); }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.select { appearance: none; padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239CA3AF' viewBox='0 0 16 16'%3E%3Cpath d='M1.6 5.1a.75.75 0 0 1 1.06 0L8 10.44l5.34-5.34a.75.75 0 1 1 1.06 1.06l-5.87 5.87a.75.75 0 0 1-1.06 0L1.6 6.16a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.select option { background: var(--surface); color: var(--heading); }
.input-group { position: relative; display: flex; align-items: center; }
.input-group > i:first-child { position: absolute; left: 14px; color: var(--subtle); pointer-events: none; }
.input-group > .input { padding-left: 40px; }
.input-group > .input-action { position: absolute; right: 6px; height: 32px; width: 32px; border-radius: 6px; color: var(--muted); display: grid; place-items: center; }
.input-group > .input-action:hover { background: var(--surface-3); color: var(--heading); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { appearance: none; width: 40px; height: 22px; border-radius: 99px; background: var(--surface-3); border: 1px solid var(--border-strong); position: relative; cursor: pointer; transition: background var(--t-fast); }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--t-fast); }
.switch input:checked { background: var(--primary); border-color: var(--primary); }
.switch input:checked::after { transform: translateX(18px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .span-full { grid-column: 1 / -1; }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Filter bar */
.filter-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.filter-bar .input-group { flex: 1 1 260px; }
.filter-bar .select { width: auto; min-width: 150px; flex: 0 1 180px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.results-bar b { color: var(--heading); }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.active-filters .chip { height: 28px; font-size: 12px; }
.filter-panel { display: grid; gap: 22px; padding: 20px; }
.filter-panel h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.filter-panel .check { margin-bottom: 8px; display: flex; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination button, .pagination a {
    min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; display: inline-grid; place-items: center;
    background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--text); transition: all var(--t-fast);
}
.pagination button:hover, .pagination a:hover { border-color: var(--primary); color: var(--primary-light); }
.pagination .is-active, .pagination [aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .ellipsis { border: 0; background: none; pointer-events: none; }
.pagination [disabled] { opacity: .4; pointer-events: none; }

/* 12. DROPDOWN ------------------------------------------------------------ */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; z-index: 200;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--t-fast);
}
.dropdown-menu.left { left: 0; right: auto; }
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--text); text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--surface-2); color: var(--heading); }
.dropdown-menu a i, .dropdown-menu button i { color: var(--subtle); width: 18px; }
.dropdown-menu .dd-sep { height: 1px; background: var(--border); margin: 6px 0; }
.dropdown-menu .dd-label { font-size: 11px; color: var(--subtle); text-transform: uppercase; letter-spacing: .1em; padding: 8px 12px 4px; font-weight: 700; }

/* Notifications dropdown */
.notif-menu { width: 380px; padding: 0; max-width: calc(100vw - 24px); }
.notif-menu .nm-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-menu .nm-head h2, .notif-menu .nm-title { font-size: 15px; margin: 0; font-weight: 800; color: var(--heading); }
.notif-menu .nm-foot { padding: 10px; border-top: 1px solid var(--border); text-align: center; }
.notif-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); position: relative; align-items: flex-start; }
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { background: rgba(34, 197, 94, .05); }
.notif-item.unread::after { content: ""; position: absolute; right: 16px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light); }
.notif-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--primary-soft); color: var(--primary-light); font-size: 17px; }
.notif-icon.info { background: var(--info-soft); color: var(--info); }
.notif-icon.warn { background: var(--warning-soft); color: var(--warning); }
.notif-icon.six { background: var(--six-soft); color: var(--six); }
.notif-text { font-size: 14px; color: var(--text); line-height: 1.45; padding-right: 14px; }
.notif-text b { color: var(--heading); }
.notif-time { font-size: 12px; color: var(--subtle); margin-top: 3px; }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); animation: fade-in .2s var(--ease); }
.modal-dialog { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: modal-in .25s var(--ease); }
.modal-dialog.lg { width: min(780px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 1.1rem; margin: 0; }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--border); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
body.no-scroll { overflow: hidden; }

/* TOAST */
.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 600; display: grid; gap: 10px; pointer-events: none; }
.toast {
    pointer-events: auto; display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 380px;
    padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-lg); font-size: 14px; color: var(--heading); animation: toast-in .3s var(--ease);
}
.toast i { font-size: 18px; color: var(--primary-light); }
.toast.error i { color: var(--danger); }
.toast.info i { color: var(--info); }
.toast.is-leaving { animation: toast-out .25s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(20px); } }

/* TOOLTIP */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
    content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px);
    background: #000; color: #fff; font-size: 12px; font-weight: 500; padding: 6px 9px; border-radius: 6px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: all var(--t-fast); z-index: 50; letter-spacing: 0; text-transform: none;
}
[data-tooltip]:hover::after, [data-tooltip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* ACCORDION */
.accordion { display: grid; gap: 10px; }
.accordion-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 700; color: var(--heading); text-align: left; font-size: 15px; }
.accordion-trigger i { transition: transform var(--t-fast); color: var(--muted); }
.accordion-trigger[aria-expanded="true"] i { transform: rotate(180deg); color: var(--primary-light); }
.accordion-panel { padding: 0 20px 18px; color: var(--muted); }

/* ALERTS */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-2); font-size: 14px; }
.alert i { font-size: 18px; line-height: 1.3; }
.alert-success { background: var(--primary-soft); border-color: rgba(34, 197, 94, .3); }
.alert-success i { color: var(--primary-light); }
.alert-warning { background: var(--warning-soft); border-color: rgba(245, 158, 11, .3); }
.alert-warning i { color: var(--warning); }
.alert-danger { background: var(--danger-soft); border-color: rgba(239, 68, 68, .3); }
.alert-danger i { color: var(--danger); }
.alert-info { background: var(--info-soft); border-color: rgba(56, 189, 248, .3); }
.alert-info i { color: var(--info); }
.demo-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--subtle); padding: 8px 12px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); }

/* Progress */
.progress { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary-dark), var(--primary-light)); }
.progress.danger > span { background: var(--danger); }

/* 13. STATES -------------------------------------------------------------- */
.empty-state, .error-state { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty-state .es-icon, .error-state .es-icon {
    width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font-size: 32px; margin-bottom: 12px;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--primary-light); position: relative;
}
.empty-state .es-icon::after { content: ""; position: absolute; inset: -8px; border-radius: 28px; border: 1px dashed var(--border-strong); }
.error-state .es-icon { color: var(--danger); background: var(--danger-soft); border-color: rgba(239, 68, 68, .25); }
.empty-state h3, .error-state h3 { margin: 0; font-size: 1.15rem; }
.empty-state p, .error-state p { color: var(--muted); max-width: 42ch; margin: 0 0 14px; }

.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: 8px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.4s infinite; }
[data-theme="light"] .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent); }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-line { height: 12px; margin-bottom: 10px; }
.sk-line.lg { height: 20px; }
.sk-line.w-40 { width: 40%; } .sk-line.w-60 { width: 60%; } .sk-line.w-80 { width: 80%; }
.sk-circle { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.sk-media { aspect-ratio: 4 / 3; border-radius: 0; }
.sk-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.sk-card .sk-body { padding: 18px; }
.is-loading-demo { pointer-events: none; }

/* 14. LIVE SCORE & COMMENTARY -------------------------------------------- */
.scoreboard {
    background: radial-gradient(900px 300px at 50% -60%, rgba(34, 197, 94, .25), transparent 70%), linear-gradient(180deg, #0d1510, #050505);
    border: 1px solid #26312A; border-radius: 24px; padding: 28px; color: #E5E7EB; position: relative; overflow: hidden;
    --heading: #fff; --muted: #9CA3AF; --border: #26312A; --surface-2: #161C18; --surface-3: #1C241F; --text: #E5E7EB;
}
.scoreboard .sb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #9CA3AF; }
.scoreboard .sb-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; margin: 26px 0; }
.scoreboard .sb-team { display: flex; align-items: center; gap: 16px; }
.scoreboard .sb-team.right { flex-direction: row-reverse; text-align: right; }
.scoreboard .sb-team .tn { font-weight: 700; color: #fff; font-size: 1.05rem; }
.scoreboard .sb-team .ts { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.scoreboard .sb-team .to { font-size: 13px; color: #9CA3AF; }
.scoreboard .sb-team.is-dim .ts { color: #6B7280; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.scoreboard .sb-vs { font-family: var(--font-display); font-weight: 800; color: #6B7280; font-size: 1.2rem; }
.scoreboard .sb-status { text-align: center; padding: 12px; border-radius: 12px; background: rgba(34, 197, 94, .1); color: #4ADE80; font-weight: 700; border: 1px solid rgba(34, 197, 94, .2); }
.scoreboard .sb-rates { display: flex; justify-content: center; gap: 28px; margin-top: 16px; flex-wrap: wrap; font-size: 13px; color: #9CA3AF; }
.scoreboard .sb-rates b { color: #fff; font-family: var(--font-display); font-size: 1.2rem; margin-left: 6px; }

.balls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ball {
    width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; font-weight: 800;
    background: var(--surface-3); color: var(--text); border: 1px solid var(--border-strong); flex-shrink: 0;
}
.ball.b-0 { color: var(--muted); }
.ball.b-4 { background: var(--primary); border-color: var(--primary); color: #fff; }
.ball.b-6 { background: var(--six); border-color: var(--six); color: #fff; }
.ball.b-w { background: var(--danger); border-color: var(--danger); color: #fff; }
.ball.b-x { background: var(--warning-soft); border-color: rgba(245, 158, 11, .4); color: var(--warning); font-size: 11px; }
.ball.is-new { animation: pop .4s var(--ease); }
.over-sep { width: 1px; height: 24px; background: var(--border-strong); margin: 0 4px; }

.player-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.player-line:last-child { border-bottom: 0; }
.player-line .pl-name { font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 8px; }
.player-line .pl-name .striker { color: var(--primary-light); font-size: 12px; }
.player-line .pl-fig { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--heading); font-variant-numeric: tabular-nums; }
.player-line .pl-fig small { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; }
.equation { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--heading); text-transform: uppercase; line-height: 1.1; }
.equation em { font-style: normal; color: var(--primary-light); }

.commentary { display: grid; gap: 0; }
.comm-item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.comm-item:last-child { border-bottom: 0; }
.comm-item .ci-over { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--heading); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.comm-item .ci-title { font-weight: 800; color: var(--heading); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin-bottom: 4px; }
.comm-item p { margin: 0; color: var(--text); }
.comm-item .ci-score { font-size: 12px; color: var(--muted); margin-top: 6px; }
.comm-item.c-4 .ci-title { color: var(--primary-light); }
.comm-item.c-6 .ci-title { color: var(--six); }
.comm-item.c-w { background: linear-gradient(90deg, var(--danger-soft), transparent 60%); margin: 0 -18px; padding-inline: 18px; border-radius: 10px; }
.comm-item.c-w .ci-title { color: var(--danger); }
.comm-item.c-x .ci-title { color: var(--warning); }
.over-summary { margin: 10px 0; padding: 14px 18px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.over-summary b { color: var(--heading); }

/* Win probability bar */
.prob-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--surface-3); }
.prob-bar span:first-child { background: var(--primary); }
.prob-bar span:last-child { background: #3B82F6; }

/* 15. CHARTS -------------------------------------------------------------- */
.chart { width: 100%; position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: var(--border); stroke-dasharray: 3 4; }
.chart .axis-label { fill: var(--muted); font-size: 11px; font-family: var(--font-body); }
.chart .bar { fill: var(--primary); transition: fill var(--t-fast); }
.chart .bar:hover { fill: var(--primary-light); }
.chart .bar.alt { fill: var(--border-strong); }
.chart .bar.hl { fill: var(--primary-light); }
.chart .line { fill: none; stroke: var(--primary-light); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .line.alt { stroke: #60A5FA; }
.chart .area { fill: url(#cs-area-grad); }
.chart .dot { fill: var(--surface); stroke: var(--primary-light); stroke-width: 2; }
.chart .dot.alt { stroke: #60A5FA; }
.chart .val-label { fill: var(--heading); font-size: 11px; font-weight: 700; font-family: var(--font-body); }
.chart-tip { position: absolute; pointer-events: none; background: #000; color: #fff; font-size: 12px; padding: 6px 9px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity var(--t-fast); z-index: 5; }
.chart-tip.show { opacity: 1; }
.chart-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 12px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--primary)); }
.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut-wrap .chart { width: 160px; flex-shrink: 0; }
.donut-center { font-family: var(--font-display); font-weight: 800; fill: var(--heading); }

/* Wagon wheel */
.wagon { max-width: 360px; margin-inline: auto; }
.wagon .field-outer { fill: #0f2a19; stroke: #1f5132; }
.wagon .field-inner { fill: none; stroke: rgba(255, 255, 255, .15); stroke-dasharray: 4 4; }
.wagon .pitch { fill: #c8b27a; }
.wagon .shot { stroke-width: 2; stroke-linecap: round; }
.wagon .shot.s1 { stroke: #9CA3AF; } .wagon .shot.s2 { stroke: #38BDF8; } .wagon .shot.s4 { stroke: #22C55E; } .wagon .shot.s6 { stroke: #A855F7; }

/* 16. DASHBOARD ----------------------------------------------------------- */
.dash-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.dash-sidebar {
    position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--bg-alt); border-right: 1px solid var(--border);
    display: flex; flex-direction: column; transition: width var(--t-med); scrollbar-width: thin;
}
.dash-sidebar .ds-brand { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 18px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.dash-sidebar .ds-role { margin: 16px 14px 4px; padding: 12px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.dash-sidebar .ds-role .title { font-weight: 700; color: var(--heading); font-size: 14px; line-height: 1.2; }
.dash-sidebar .ds-role .sub { font-size: 12px; color: var(--muted); }
.ds-nav { padding: 10px; display: grid; gap: 2px; }
.ds-nav .ds-label { font-size: 11px; color: var(--subtle); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; padding: 14px 12px 6px; }
.ds-nav a, .ds-nav button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: all var(--t-fast); width: 100%; text-align: left; }
.ds-nav a i, .ds-nav button i { font-size: 17px; width: 20px; text-align: center; flex-shrink: 0; }
.ds-nav a:hover, .ds-nav button:hover { background: var(--surface-2); color: var(--heading); }
.ds-nav a.is-active, .ds-nav button.is-active { background: var(--primary-soft); color: var(--primary-light); }
.ds-nav .ds-count { margin-left: auto; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--primary); color: #fff; }
.ds-foot { margin-top: auto; padding: 14px; border-top: 1px solid var(--border); }
.dash-main { min-width: 0; display: flex; flex-direction: column; }
.dash-topbar { position: sticky; top: 0; z-index: 90; height: var(--header-h); display: flex; align-items: center; gap: 12px; padding: 0 28px; background: var(--header-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.dash-topbar .dt-search { flex: 1; max-width: 420px; }
.dash-topbar .dt-search .input { height: 40px; }
.dash-content { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.dash-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash-title h1 { font-size: 1.7rem; margin: 0; }
.dash-title p { margin: 4px 0 0; color: var(--muted); }
.dash-section[hidden] { display: none; }
.sidebar-collapsed .dash-layout { grid-template-columns: 76px minmax(0, 1fr); }
.sidebar-collapsed .dash-sidebar .brand-name, .sidebar-collapsed .ds-nav span, .sidebar-collapsed .ds-nav .ds-label, .sidebar-collapsed .ds-role > div, .sidebar-collapsed .ds-nav .ds-count, .sidebar-collapsed .ds-foot .btn span { display: none; }
.sidebar-collapsed .ds-nav a, .sidebar-collapsed .ds-nav button { justify-content: center; padding: 12px 0; }
.sidebar-collapsed .dash-sidebar .ds-brand { justify-content: center; padding: 0; }
.sidebar-collapsed .dash-sidebar .ds-brand .sidebar-toggle { display: none; }
.sidebar-collapsed .ds-role { justify-content: center; padding: 8px; margin-inline: 10px; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 99px; border: 1px solid var(--border); }
.user-chip:hover { background: var(--surface-2); }
.user-chip .name { font-size: 13px; font-weight: 700; color: var(--heading); line-height: 1.1; }
.user-chip .role { font-size: 11px; color: var(--muted); }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--subtle); }
.status-dot.ok::before { background: var(--primary-light); }
.status-dot.warn::before { background: var(--warning); }
.status-dot.err::before { background: var(--danger); }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.quick-actions a, .quick-actions button { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--radius-md); background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--heading); transition: all var(--t-fast); text-align: left; }
.quick-actions a:hover, .quick-actions button:hover { border-color: var(--primary); background: var(--primary-soft); }
.quick-actions i { font-size: 20px; color: var(--primary-light); }

/* Scoring header (minimal) */
.score-header { position: sticky; top: 0; z-index: 100; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--black); border-bottom: 1px solid #26312A; color: #E5E7EB; --heading: #fff; --surface-2: #161C18; --border: #26312A; --text: #E5E7EB; }
.score-header .sh-title { flex: 1; min-width: 0; text-align: center; }
.score-header .sh-title b { display: block; color: #fff; font-size: 14px; line-height: 1.2; }
.score-header .sh-title span { font-size: 12px; color: #9CA3AF; }

/* 17. SCORER UI ----------------------------------------------------------- */
.scorer-wrap { max-width: 560px; margin: 0 auto; padding: 16px; display: grid; gap: 14px; }
.scorer-board { background: linear-gradient(180deg, #0f2a19, #0B0F0C); border: 1px solid #1f5132; border-radius: 20px; padding: 20px; color: #E5E7EB; --heading: #fff; --muted: #9CA3AF; --border: #26312A; --surface-3: #1C241F; --border-strong: #34433A; --text: #E5E7EB; }
.scorer-board .sc-score { font-family: var(--font-display); font-size: 3.6rem; font-weight: 800; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.scorer-board .sc-overs { font-size: 15px; color: #9CA3AF; }
.score-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.score-btn {
    height: 66px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-display);
    font-size: 1.7rem; font-weight: 800; color: var(--heading); transition: transform .08s, background var(--t-fast), border-color var(--t-fast);
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.score-btn:hover { border-color: var(--border-strong); }
.score-btn:active, .score-btn.is-pressed { transform: scale(.94); }
.score-btn.is-pressed { background: var(--primary); border-color: var(--primary); color: #fff; }
.score-btn.boundary { color: var(--primary-light); border-color: rgba(34, 197, 94, .35); }
.score-btn.six { color: var(--six); border-color: rgba(168, 85, 247, .4); }
.score-btn.wicket { background: var(--danger); border-color: var(--danger); color: #fff; }
.score-btn.extra { font-size: 1.15rem; color: var(--warning); }
.score-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.score-actions .btn { height: 48px; font-size: 13px; flex-direction: column; gap: 4px; padding: 0 6px; }
.score-actions .btn i { font-size: 16px; }

/* Role selection (register) */
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.role-option { position: relative; }
.role-option input { position: absolute; opacity: 0; pointer-events: none; }
.role-option label {
    display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius-md); border: 1px solid var(--border);
    background: var(--surface-2); cursor: pointer; transition: all var(--t-fast); height: 100%;
}
.role-option label i { font-size: 24px; color: var(--muted); transition: color var(--t-fast); }
.role-option label b { color: var(--heading); font-size: 15px; }
.role-option label span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.role-option label:hover { border-color: var(--border-strong); }
.role-option input:checked + label { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary); }
.role-option input:checked + label i { color: var(--primary-light); }
.role-option input:focus-visible + label { outline: 2px solid var(--primary-light); outline-offset: 2px; }

/* Auth layout */
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { position: relative; overflow: hidden; background: #050505; color: #E5E7EB; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; }
.auth-visual img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.auth-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 5, 5, .95), rgba(5, 5, 5, .2) 60%); }
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual .brand-name { color: #fff; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-form { width: min(440px, 100%); display: grid; gap: 18px; }

/* 18. UTILITIES ----------------------------------------------------------- */
.divider { height: 1px; background: var(--border); }
.rounded { border-radius: var(--radius-lg); }
.bg-surface { background: var(--surface); }
.bg-surface-2 { background: var(--surface-2); }
.border { border: 1px solid var(--border); }
.p-16 { padding: 16px; } .p-24 { padding: 24px; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.map-placeholder { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #0e1611; }
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-placeholder .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); font-size: 40px; color: var(--primary-light); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--heading); font-weight: 600; text-align: right; }
.info-list { display: grid; }
.info-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-list > div:last-child { border-bottom: 0; }
.info-list span { color: var(--muted); }
.info-list b { color: var(--heading); text-align: right; font-weight: 600; }
.achievement { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 14px; }
.achievement .ach-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #050505; background: linear-gradient(135deg, #4ADE80, #15803D); box-shadow: 0 0 0 6px var(--primary-soft); }
.achievement .ach-icon.gold { background: linear-gradient(135deg, #FDE68A, #D97706); box-shadow: 0 0 0 6px var(--warning-soft); }
.achievement b { color: var(--heading); }
.achievement span { font-size: 12px; color: var(--muted); }
.timeline { position: relative; padding-left: 24px; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--primary-light); }
.d-block { display: block; }
.text-left { text-align: left; }
.spin { display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 576px) { .d-none-sm { display: none !important; } }
@media (min-width: 769px) { .d-mobile-only { display: none !important; } }
@media (max-width: 768px) { .d-desktop-only { display: none !important; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   19. WHY / FEATURE SPLIT (home)
   --------------------------------------------------------------------------
   Two feature columns flanking a device mock. The numerals sit on the inside
   edge of each column so they face the phone, which is what makes the three
   columns read as one block rather than as a list with a picture next to it.

   Everything here is token-driven, so the light theme needs no overrides:
   the numerals use --border-strong (#34433A dark, #CBD5CF light), which is
   the one token that stays a faint grey against either background.
   ========================================================================== */

.why-head { text-align: center; max-width: 60ch; margin-inline: auto; margin-bottom: 40px; }
.why-head h2 { margin: 8px 0 0; }
.why-head p { margin: 8px 0 0; color: var(--muted); }

.why-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

/* ---- the two feature columns ---- */

.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }

.why-list li { display: flex; align-items: center; gap: 18px; }

/* Left column: copy then numeral, so the numeral lands against the phone. */
.why-list-left { text-align: right; }
.why-list-left li { justify-content: flex-end; }

/* Right column: numeral first in the markup, so it lands against the phone
   from the other side without needing a reversed flex direction. */
.why-list-right { text-align: left; }

.why-copy { min-width: 0; }
.why-copy h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; color: var(--heading); }
.why-copy p { font-size: .9rem; line-height: 1.55; color: var(--muted); margin: 0; }

.why-n {
    flex: 0 0 auto;
    /* Tabular so 01 and 10 occupy the same width and the column edge stays
       straight down the list. */
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--border-strong);
    user-select: none;
}

/* ---- device mock ---- */

.why-device { display: flex; justify-content: center; }

.why-phone {
    position: relative;
    width: 300px;
    height: 600px;
    flex: 0 0 auto;
    padding: 10px;
    border-radius: 38px;
    background: #0B0F0C;
    /* Two rings: the bezel edge, then a hairline highlight so the body does
       not disappear into a dark page. */
    box-shadow: inset 0 0 0 1px #2B332E, 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow-lg);
}

.why-phone-notch {
    position: absolute;
    top: 16px; left: 50%;
    transform: translateX(-50%);
    width: 54px; height: 5px;
    border-radius: var(--radius-pill);
    background: #2B332E;
    z-index: 2;
}

.why-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

/* The list runs past the bottom of the screen on purpose — a mock cut off
   mid-row reads as a real scrolling app. This fades that cut rather than
   leaving a hard slice through a row. */
.why-screen::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 56px;
    background: linear-gradient(to bottom, transparent, var(--surface));
    pointer-events: none;
}

.why-app-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 26px 14px 12px;
    background: var(--primary);
    color: #fff;
}
.why-app-bar b { font-size: .95rem; font-weight: 700; }
.why-app-bar i { font-size: 1rem; opacity: .9; }

.why-app-tabs {
    display: flex; gap: 4px;
    padding: 0 10px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}
.why-app-tabs span {
    flex: 1;
    padding: 10px 4px;
    text-align: center;
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 2px solid transparent;
}
.why-app-tabs .is-on { color: var(--primary-light); border-bottom-color: var(--primary); }

.why-app-meta { margin: 0; padding: 10px 14px 6px; font-size: .68rem; font-weight: 600; color: var(--primary-light); }

/* Shown instead of the rows when nothing has been recorded yet, so the mock
   is never an empty frame on a brand-new install. */
.why-app-empty { margin: 0; padding: 4px 14px 14px; font-size: .72rem; line-height: 1.5; color: var(--muted); }

.why-app-list { list-style: none; margin: 0; padding: 0 14px; }
.why-app-list li {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}
/* The face reuses .avatar .avatar-sm from section 7, so a player with no
   photo gets the initials fallback for free and nothing is duplicated. */
.why-app-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.why-app-who b { font-size: .78rem; font-weight: 700; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.why-app-who small { font-size: .62rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.why-app-rank { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--heading); flex: 0 0 auto; }

/* ---- narrower desktops: shrink the phone before the columns get squeezed ---- */

@media (max-width: 1180px) {
    .why-split { gap: 22px; }
    .why-phone { width: 262px; height: 524px; border-radius: 34px; }
    .why-n { font-size: 2.4rem; }
}

/* ---- stacked: one column, phone last ---- */

@media (max-width: 992px) {
    .why-split { grid-template-columns: 1fr; gap: 30px; }

    /* The phone is decorative, so it goes under the features it illustrates
       rather than splitting them in half. */
    .why-device { order: 3; }

    /* Both columns now read left-to-right, numeral first. The left column's
       markup is copy-then-numeral, so it is the one that flips. */
    .why-list-left { text-align: left; }
    .why-list-left li { flex-direction: row-reverse; justify-content: flex-end; }

    .why-list { gap: 22px; }
}

@media (max-width: 576px) {
    .why-head { margin-bottom: 28px; }
    .why-list li { gap: 14px; }
    .why-n { font-size: 2rem; }
    .why-phone { width: 236px; height: 472px; padding: 8px; border-radius: 30px; }
    .why-screen { border-radius: 24px; }
}

/* ==========================================================================
   LIGHT THEME (default) — brighten the feature surfaces that are dark-only
   in the dark theme. Media overlays (ground hero, video stage, auth visual)
   intentionally stay dark so text over imagery stays legible.
   ========================================================================== */
[data-theme="light"] .hero, [data-theme="light"] .scoreboard, [data-theme="light"] .cta-band,
[data-theme="light"] .scorer-board, [data-theme="light"] .score-header, [data-theme="light"] .hero-live,
[data-theme="light"] .dash-hero, [data-theme="light"] .newsletter-card, [data-theme="light"] .mini-board {
    --primary-light: #15803D; --heading: #0B0F0C; --text: #1F2933; --muted: #5B6670;
    --border: #E1E7E3; --border-strong: #CBD5CF; --surface-2: #F1F4F2; --surface-3: #E8EDEA;
    color: var(--text);
}
/* Hero: daytime stadium + white wash */
[data-theme="light"] .hero { background: #F6F8F7; border-bottom-color: var(--border); }
[data-theme="light"] .hero .hero-bg { content: url("../images/hero-stadium-day.svg"); }
[data-theme="light"] .hero::after { background: linear-gradient(90deg, rgba(246, 248, 247, .98) 0%, rgba(246, 248, 247, .88) 42%, rgba(246, 248, 247, .05) 100%), linear-gradient(0deg, rgba(246, 248, 247, .9), transparent 35%); }
[data-theme="light"] .hero h1, [data-theme="light"] .hero-stats .v { color: var(--heading); }
[data-theme="light"] .hero .lead, [data-theme="light"] .hero-stats .l { color: var(--muted); }
[data-theme="light"] .hero .btn-outline, [data-theme="light"] .cta-band .btn-outline { --btn-fg: var(--heading); --btn-bd: var(--border-strong); }
[data-theme="light"] .hero-live { background: rgba(255, 255, 255, .92); border-color: var(--border); box-shadow: var(--shadow-lg); }
/* CTA band */
[data-theme="light"] .cta-band { background: radial-gradient(600px 300px at 90% 10%, rgba(34, 197, 94, .22), transparent 70%), linear-gradient(135deg, #E6F6EC 0%, #FFFFFF 65%); border-color: #CDEBD6; }
[data-theme="light"] .cta-band h2 { color: var(--heading); }
[data-theme="light"] .cta-band p { color: var(--muted); }
/* Scoreboard (match centre / live) */
[data-theme="light"] .scoreboard { background: radial-gradient(900px 300px at 50% -60%, rgba(34, 197, 94, .18), transparent 70%), linear-gradient(180deg, #F1FAF4, #FFFFFF); border-color: var(--border); box-shadow: var(--shadow-md); }
[data-theme="light"] .scoreboard .sb-top, [data-theme="light"] .scoreboard .sb-team .to, [data-theme="light"] .scoreboard .sb-rates { color: var(--muted); }
[data-theme="light"] .scoreboard .sb-team .tn, [data-theme="light"] .scoreboard .sb-team .ts, [data-theme="light"] .scoreboard .sb-rates b { color: var(--heading); }
[data-theme="light"] .scoreboard .sb-team.is-dim .ts, [data-theme="light"] .scoreboard .sb-vs { color: #8A949C; }
[data-theme="light"] .scoreboard .sb-status { color: #15803D; background: rgba(22, 163, 74, .08); border-color: rgba(22, 163, 74, .25); }
/* Scorer */
[data-theme="light"] .scorer-board { background: linear-gradient(180deg, #ECF8F0, #FFFFFF); border-color: #CDEBD6; }
[data-theme="light"] .scorer-board .sc-score { color: var(--heading); }
[data-theme="light"] .scorer-board .sc-overs { color: var(--muted); }
[data-theme="light"] .score-header { background: #FFFFFF; border-bottom-color: var(--border); }
[data-theme="light"] .score-header .sh-title b { color: var(--heading); }
[data-theme="light"] .score-header .sh-title span { color: var(--muted); }
/* Page-level dark accents */
[data-theme="light"] .dash-hero { background: radial-gradient(600px 240px at 100% 0%, rgba(34, 197, 94, .2), transparent 70%), linear-gradient(135deg, #E6F6EC 0%, #FFFFFF 75%); border-color: #CDEBD6; }
[data-theme="light"] .dash-hero .dh-photo { background: #F1F4F2; }
[data-theme="light"] .newsletter-card { background: radial-gradient(360px 200px at 100% 0%, rgba(34, 197, 94, .18), transparent 70%), linear-gradient(160deg, #E6F6EC, #FFFFFF 75%); border-color: #CDEBD6; }
[data-theme="light"] .mini-board { background: linear-gradient(180deg, #F1FAF4, #FFFFFF); border-color: var(--border); }
[data-theme="light"] .tour-card .tr-banner { background: linear-gradient(135deg, #CDEBD6, #F1FAF4 70%); }
[data-theme="light"] .profile-head .ph-photo.is-logo { background: #FFFFFF; }
[data-theme="light"] .initials.alt { background: linear-gradient(135deg, #F1F4F2, #E1E7E3); }
[data-theme="light"] .wagon .field-outer { fill: #DCF5E4; stroke: #86EFAC; }
[data-theme="light"] .wagon .field-inner { stroke: rgba(0, 0, 0, .15); }
/* Light theme — page-level components built on the scoreboard / scorer board */
[data-theme="light"] .scoreboard .sb-title, [data-theme="light"] .scoreboard .sb-foot .v,
[data-theme="light"] .ls-board .equation, [data-theme="light"] .ls-tile .v,
[data-theme="light"] .scorer-board .sb-team, [data-theme="light"] .scorer-board .sb-rates b,
[data-theme="light"] .scorer-board .sb-lines .player-line > span:last-child { color: var(--heading); }
[data-theme="light"] .scoreboard .sb-team .tn small, [data-theme="light"] .potm small, [data-theme="light"] .ls-tile .k,
[data-theme="light"] .ls-strip .xsmall, [data-theme="light"] .ls-status, [data-theme="light"] .scoreboard .sb-foot .k,
[data-theme="light"] .scorer-board .sb-rates span, [data-theme="light"] .scorer-board .sb-lines .player-line .lbl,
[data-theme="light"] .scorer-board .sb-lines small, [data-theme="light"] .scorer-board .sb-over .lbl { color: var(--muted); }
[data-theme="light"] .ls-board .equation em, [data-theme="light"] .scoreboard .sb-foot a.v:hover { color: #15803D; }
[data-theme="light"] .scoreboard .sb-foot { background: var(--border); border-color: var(--border); }
[data-theme="light"] .scoreboard .sb-foot > div { background: #FFFFFF; }
[data-theme="light"] .scoreboard .sb-team .team-logo-lg, [data-theme="light"] .ls-tile, [data-theme="light"] .scorer-board .sb-rates div { background: #FFFFFF; border-color: var(--border); }
[data-theme="light"] .ls-strip, [data-theme="light"] .scorer-board .sb-lines { border-color: var(--border); }
[data-theme="light"] .scoreboard .btn-outline, [data-theme="light"] .dash-hero .btn-outline { --btn-fg: var(--heading); --btn-bd: var(--border-strong); }
[data-theme="light"] .scoreboard .fav-btn:not(.is-active) { background: #FFFFFF; border-color: var(--border); color: var(--muted); }
