/*
Theme Name: LI Hockey
Theme URI: https://lisportsnetwork.com
Description: Hockey stats, scores, and schedules for Long Island hockey leagues. Built on the LI Sports Network brand.
Version: 1.0.0
Author: LI Sports Network
Author URI: https://lisportsnetwork.com
Text Domain: li-hockey
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* Brand colors */
    --color-primary: #ff2a13;
    --color-primary-dark: #a71000;
    --color-primary-hover: #d80f0f;
    --color-secondary: #1a1aff;
    --color-accent: #09fcaa;

    /* Gradient */
    --gradient-brand: linear-gradient(135deg, #ff2a13 0%, #1a1aff 100%);
    --gradient-brand-hover: linear-gradient(135deg, #d80f0f 0%, #1212cc 100%);

    /* Neutrals */
    --color-bg: #0d0d0d;
    --color-bg-alt: #1a1a1a;
    --color-bg-card: #ffffff;
    --color-bg-light: #f3f3f3;
    --color-text: #272727;
    --color-text-light: #555555;
    --color-text-muted: #999999;
    --color-text-on-dark: #ffffff;
    --color-border: #e5e5e5;
    --color-border-dark: #333333;

    /* Status colors */
    --color-win: #22c55e;
    --color-loss: #ef4444;
    --color-tie: #f59e0b;
    --color-scheduled: #3b82f6;
    --color-live: #ef4444;
    --color-final: #6b7280;

    /* Typography */
    --font-display: 'Oswald', sans-serif;
    --font-feature: 'Bebas Neue', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Layout */
    --max-width: 1280px;
    --header-height: 64px;
    --border-radius: 6px;
    --border-radius-lg: 12px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: #f5f5f7;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Constrain all team logos globally */
img[class*="logo"], img[class*="Logo"] {
    object-fit: contain;
}

.game-card-team-logo, .game-card-logo { width: 28px !important; height: 28px !important; min-width: 28px; object-fit: contain; }
.game-card-league-logo { width: 16px !important; height: 16px !important; object-fit: contain; vertical-align: middle; margin-right: 2px; filter: brightness(1.1); }
.game-card-level-logo { width: 16px !important; height: 16px !important; object-fit: contain; vertical-align: middle; margin-right: 2px; filter: brightness(1.1); }
.game-card-league { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }

/* Team color dot indicator */
.team-color-dot {
    display: inline-block;
    width: 4px;
    height: 16px;
    border-radius: 2px;
    flex-shrink: 0;
}
.team-logo { width: 24px !important; height: 24px !important; }
.ticker-logo { width: 16px !important; height: 16px !important; }
.sidebar-league-logo { width: 28px !important; height: 28px !important; }
.featured-team img { width: 72px !important; height: 72px !important; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }

.font-feature {
    font-family: var(--font-feature);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.font-display {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    text-transform: uppercase;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-title {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.section-dark {
    background: var(--color-bg);
    color: var(--color-text-on-dark);
}

.section-alt {
    background: var(--color-bg-light);
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}

/* ============================================================
   HEADER
   ============================================================ */
/* ============================================================
   HEADER — Sticky dark bar with mega menu
   ============================================================ */
.site-header {
    background: #0a0a0a;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid;
    border-image: var(--gradient-brand) 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.site-logo-img {
    height: 36px;
    width: auto;
}

/* Nav links */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link, .nav-mega-trigger {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active,
.nav-mega-trigger:hover, .nav-mega.open .nav-mega-trigger {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.nav-caret {
    transition: transform 0.2s;
}
.nav-mega.open .nav-caret {
    transform: rotate(180deg);
}

/* CTA button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--color-primary);
    padding: 7px 16px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    margin-left: 8px;
}
.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: scale(1.03);
}
.nav-cta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.5s infinite;
}

.nav-admin-link {
    font-size: 0.75rem !important;
    opacity: 0.7;
    padding: 6px 10px !important;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    margin-left: 4px;
}
.nav-admin-link:hover { opacity: 1; background: rgba(255,255,255,0.15); }

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}
.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MEGA MENU PANEL
   ============================================================ */
.mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 3px solid var(--color-primary);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    z-index: 999;
}
.nav-mega.open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 200px;
    gap: var(--space-xl);
}

.mega-col-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: background 0.15s;
    flex-wrap: wrap;
}
.mega-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.mega-link-featured {
    background: rgba(255,42,19,0.1);
    border: 1px solid rgba(255,42,19,0.2);
    margin-bottom: var(--space-sm);
}
.mega-link-featured:hover {
    background: rgba(255,42,19,0.18);
}

.mega-link-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.mega-link-name {
    font-weight: 700;
    font-size: 1rem;
}
.mega-link-desc {
    width: 100%;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    margin-top: -2px;
    padding-left: 40px;
}
.mega-link-featured .mega-link-desc {
    padding-left: 0;
}

.mega-col-quick {
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: var(--space-xl);
}
.mega-quick {
    display: block;
    padding: 10px 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.15s;
}
.mega-quick:hover {
    color: #fff;
}

/* News mega menu */
.nav-mega[data-mega="news"] .mega-inner {
    grid-template-columns: 1fr 1fr 1fr 170px;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
}
.mega-news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.15s;
}
.mega-news-item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.mega-news-date {
    flex: 0 0 36px;
    font-size: 0.625rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.mega-news-matchup {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.mega-news-team {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}
.mega-news-team.w {
    color: #fff;
}
.mega-news-team img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}
.mega-news-abbr {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-news-team strong {
    flex-shrink: 0;
    font-size: 0.8125rem;
    min-width: 12px;
    text-align: right;
}
.mega-col-more {
    display: inline-block;
    margin-top: 6px;
    padding-left: 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}
.mega-col-more:hover {
    color: #ff5a47;
}

/* Nav open body lock */
body.nav-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE HEADER
   ============================================================ */
@media (max-width: 960px) {
    .menu-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
        flex-direction: column;
        padding: 0;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
    }
    .main-nav.open {
        transform: translateX(0);
    }

    .nav-link, .nav-mega-trigger {
        width: 100%;
        justify-content: space-between;
        font-size: 1.0625rem;
        font-weight: 600;
        padding: 18px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
        letter-spacing: 0.03em;
    }
    .nav-link:hover, .nav-mega-trigger:hover {
        background: rgba(255,255,255,0.04);
    }

    .nav-cta {
        margin: auto 24px 24px;
        width: calc(100% - 48px);
        justify-content: center;
        padding: 16px;
        font-size: 0.9375rem;
        border-radius: 12px;
    }

    /* Mega panel as smooth accordion on mobile */
    .mega-panel {
        position: static;
        width: 100%;
        margin-left: 0;
        background: rgba(255,255,255,0.02);
        border: none;
        border-top: 1px solid rgba(255,255,255,0.06);
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-mega.open .mega-panel {
        max-height: 800px;
    }

    .mega-inner {
        grid-template-columns: 1fr;
        padding: var(--space-md) var(--space-lg);
        gap: var(--space-md);
    }

    .mega-col-title {
        font-size: 0.625rem;
        margin-bottom: var(--space-sm);
        color: rgba(255,255,255,0.3);
    }

    .mega-col-quick {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: var(--space-md);
    }

    .mega-link {
        padding: 12px 16px;
        border-radius: 10px;
    }
    .mega-link:hover {
        background: rgba(255,255,255,0.06);
    }

    .mega-link-icon {
        width: 24px;
        height: 24px;
    }

    .mega-link-name {
        font-size: 0.875rem;
    }

    .mega-link-desc {
        padding-left: 36px;
        font-size: 0.6875rem;
    }

    .mega-link-featured {
        margin-bottom: var(--space-xs);
    }
    .mega-link-featured .mega-link-name {
        font-size: 0.9375rem;
    }

    .mega-quick {
        padding: 12px 16px;
        font-size: 0.875rem;
        border-radius: 8px;
    }
    .mega-quick:hover {
        background: rgba(255,255,255,0.04);
    }
}

@media (max-width: 480px) {
    .header-inner { padding: 0 16px; }
    .site-logo-img { height: 28px; }
}

/* ============================================================
   HERO / PAGE HEADER
   ============================================================ */
.page-hero {
    background: var(--gradient-brand);
    padding: var(--space-2xl) 0;
    color: var(--color-text-on-dark);
}

.page-hero h1 {
    font-family: var(--font-feature);
    font-size: 3rem;
    letter-spacing: 0.03em;
}

.page-hero .subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    opacity: 0.9;
    margin-top: var(--space-sm);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--color-bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    border: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.card-header {
    background: var(--color-bg);
    color: var(--color-text-on-dark);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body {
    padding: var(--space-lg);
}

/* ============================================================
   GAME CARDS — Apple-inspired
   Clean, spacious, content-first. Soft shadows, no borders.
   ============================================================ */
.game-card {
    background: var(--color-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.game-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.game-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.6875rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.02em;
    background: var(--color-bg);
}

.game-card-status {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
}
.game-card-status.scheduled { background: rgba(79,107,237,0.2); color: #8EA4FF; }
.game-card-status.live { background: rgba(220,38,38,0.2); color: #FF6B6B; animation: pulse 1.5s infinite; }
.game-card-status.final { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }

/* Playoff card styling */
.game-card-playoff {
    border: 1px solid rgba(212,175,55,0.3);
    box-shadow: 0 0 0 1px rgba(212,175,55,0.1);
}
.game-card-header-playoff {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1f0a 100%) !important;
}

/* Game type badges */
.game-card-type-badge {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 3px;
    flex-shrink: 0;
}
.playoff-badge {
    background: rgba(212,175,55,0.2);
    color: #d4af37;
    border: 1px solid rgba(212,175,55,0.4);
}
.exhibition-badge {
    background: rgba(100,100,255,0.15);
    color: #8ea4ff;
    border: 1px solid rgba(100,100,255,0.3);
}

/* Video badge on game cards */
.game-card-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255,0,0,0.12);
    color: #ff4444;
    padding: 2px 7px;
    border-radius: 3px;
    border: 1px solid rgba(255,0,0,0.25);
}

/* Video badge on scoreboard */
.scoreboard-video-badge {
    font-size: 0.625rem;
    color: #ff4444;
    margin-left: auto;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.game-card-body {
    padding: 10px 16px;
}

.game-card-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    gap: 10px;
}

.game-card-team + .game-card-team {
    border-top: 1px solid rgba(0,0,0,0.05);
}

.game-card-team-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.game-card-team-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.game-card-team-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.game-card-team-record {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.2;
}

.game-card-team.loser .game-card-team-name {
    color: #aaa;
}
.game-card-team.loser .game-card-team-record {
    color: #ccc;
}

.game-card-score {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    min-width: 28px;
    text-align: right;
    color: var(--color-text);
    flex-shrink: 0;
    line-height: 1;
}

.game-card-team.loser .game-card-score {
    color: #ccc;
}

.game-card-footer {
    padding: 6px 16px 10px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
    letter-spacing: 0.01em;
    border-top: 1px solid rgba(0,0,0,0.04);
}

/* Team color dot — subtle accent next to logo */
.team-color-dot {
    display: inline-block;
    width: 3px;
    height: 18px;
    border-radius: 2px;
    flex-shrink: 0;
    opacity: 0.6;
}
.game-card .team-color-dot {
    height: 28px;
    opacity: 0.5;
}

/* ============================================================
   STANDINGS TABLE
   ============================================================ */
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.standings-table thead th {
    background: var(--color-bg);
    color: var(--color-text-on-dark);
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    position: sticky;
    top: var(--header-height);
}

.standings-table thead th.num {
    text-align: center;
    width: 50px;
}

.standings-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s;
}

.standings-table tbody tr:hover {
    background: var(--color-bg-light);
}

.standings-table tbody td {
    padding: var(--space-sm) var(--space-md);
}

.standings-table tbody td.num {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
}

.standings-table .team-cell {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.standings-table .team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.standings-table .team-name {
    font-weight: 600;
}

/* ============================================================
   STAT TABLES
   ============================================================ */
.stat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    font-family: var(--font-body);
}

.stat-table thead th {
    background: var(--color-bg);
    color: var(--color-text-on-dark);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    padding: 10px 12px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 2px solid var(--team-color, var(--color-primary));
}

.stat-table thead th:first-child,
.stat-table thead th:nth-child(2) {
    text-align: left;
}

.stat-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s;
}

.stat-table tbody tr:hover {
    background: rgba(255,42,19,0.05);
}

.stat-table tbody td {
    padding: 10px 12px;
    text-align: center;
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
}

.stat-table tbody td:first-child,
.stat-table tbody td:nth-child(2) {
    text-align: left;
}

.stat-table tbody td a {
    font-weight: 600;
}

.stat-table tfoot td {
    padding: 10px 12px;
    font-size: 0.9375rem;
}

.stat-table .player-name {
    font-weight: 600;
}

.num { font-variant-numeric: tabular-nums; }
.font-bold { font-weight: 700; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-2xl) 0;
}

.team-header .team-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.team-header .team-info h1 {
    font-family: var(--font-feature);
    font-size: 3rem;
}

.team-header .team-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

.team-color-bar {
    height: 6px;
    border-radius: 3px;
    margin-top: var(--space-sm);
}

/* ============================================================
   PLAYER PROFILE — NHL-STYLE
   ============================================================ */

/* Hero section */
.player-profile-hero {
    background: var(--color-bg);
    padding: var(--space-2xl) 0 var(--space-xl);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--team-color, var(--color-primary));
}
/* Jersey mesh texture overlay */
.player-profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 6px 6px;
    pointer-events: none;
    z-index: 0;
}
/* Dark vignette for readability */
.player-profile-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
    z-index: 0;
}

.player-profile-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Watermark team logo */
.player-profile-team-bg {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.player-profile-team-bg img {
    width: 380px;
    height: 380px;
    object-fit: contain;
}

/* Photo */
.player-profile-photo {
    flex-shrink: 0;
}
.player-profile-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    background: var(--color-bg-alt);
}
.player-profile-initials {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-feature);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    background: var(--color-bg-alt);
    border: 4px solid var(--color-primary);
}

/* Identity block (name, number, position) */
.player-profile-identity {
    flex: 1;
    min-width: 200px;
}
.player-profile-name {
    font-family: var(--font-feature);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 var(--space-sm);
}
.player-profile-tags {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xs);
}
.player-profile-team-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.player-profile-number {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 12px var(--team-color, var(--color-primary));
}
.player-profile-pos {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    padding-left: var(--space-sm);
    border-left: 1px solid rgba(255,255,255,0.15);
}

/* Bio details grid */
.player-profile-bio {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg) var(--space-2xl);
    align-self: center;
}
.player-bio-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.player-bio-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.45);
}
.player-bio-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
}
.player-bio-item--team .player-bio-value {
    font-family: var(--font-feature);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Season + Career stat cards (big numbers) */
.player-stat-cards {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.player-stat-card {
    flex: 1;
    min-width: 280px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 3px solid var(--team-color, var(--color-primary));
}
.player-stat-card-career {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    border-top: 3px solid var(--team-color-2, rgba(255,255,255,0.3));
    backdrop-filter: blur(8px);
}
.player-stat-card-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-md);
}
.player-stat-card-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
}
.player-stat-big {
    text-align: center;
    flex: 1;
}
.player-stat-big-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.45);
    margin-bottom: 4px;
}
.player-stat-big-val {
    font-family: var(--font-feature);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.player-stat-big-val.highlight {
    color: var(--team-color, var(--color-primary));
}

/* Career totals row in tables */
.career-totals-row {
    border-top: 2px solid var(--team-color, var(--color-border));
    background: var(--color-bg-light);
}

/* Table horizontal scroll wrapper */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Section titles */
.section-title {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

/* Player page sections — tighter flow */
.player-profile-hero + .section { padding-top: 0; }
.player-profile-hero ~ .section { padding-top: var(--space-xl); padding-bottom: var(--space-lg); }
.player-profile-hero ~ .section .card { border-radius: var(--radius-md); overflow: hidden; }
.player-profile-hero ~ .section .card + .card { margin-top: var(--space-md); }
.player-profile-hero ~ .section .card-header {
    background: var(--color-bg-alt);
    color: var(--color-text-on-dark);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-left: 3px solid var(--team-color, var(--color-primary));
}

/* Badges */
.player-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}
.player-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(255,42,19,0.15);
    color: var(--color-primary);
    border: 1px solid rgba(255,42,19,0.3);
}
.player-badge-rank {
    font-family: var(--font-feature);
    font-weight: 800;
}
.player-badge-gold {
    background: rgba(255,215,0,0.15);
    color: #ffd700;
    border-color: rgba(255,215,0,0.3);
}
.player-badge-silver {
    background: rgba(192,192,192,0.15);
    color: #c0c0c0;
    border-color: rgba(192,192,192,0.3);
}
.player-badge-bronze {
    background: rgba(205,127,50,0.12);
    color: #cd7f32;
    border-color: rgba(205,127,50,0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .player-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .player-profile-name { font-size: 2rem; }
    .player-profile-tags { justify-content: center; }
    .player-profile-bio { justify-content: center; }
    .player-stat-cards { flex-direction: column; }
    .player-stat-big-val { font-size: 1.5rem; }
}

/* ============================================================
   LEAGUE HUB PAGE
   ============================================================ */

/* Hero */
.league-hero {
    position: relative;
    padding: var(--space-2xl) 0;
    overflow: hidden;
    border-bottom: 4px solid var(--league-color, var(--color-primary));
}
.league-hero-texture {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 6px 6px;
    pointer-events: none;
}
.league-hero-inner {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}
.league-hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}
.league-hero-name {
    font-family: var(--font-feature);
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}
.league-hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin: var(--space-sm) 0 0;
    max-width: 600px;
}
.league-hero-season {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-xs);
}
.league-hero-nav {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}
.league-hero-nav a {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}
.league-hero-nav a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Stats bar */
.league-stats-bar {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
}
.league-stats-row {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
}
.league-stat-item {
    text-align: center;
}
.league-stat-num {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1.1;
}
.league-stat-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

/* Featured game */
.league-featured-game {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--league-color, var(--color-primary));
}
.league-featured-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    padding: var(--space-md) var(--space-xl) 0;
}
.league-featured-link {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    padding: var(--space-md) var(--space-xl) var(--space-lg);
}
.league-featured-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
}
.league-featured-team {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}
.league-featured-team:last-child { justify-content: flex-end; }
.league-featured-team img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.league-featured-team-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
}
.league-featured-record {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.league-featured-score {
    font-family: var(--font-feature);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-muted);
    line-height: 1;
}
.league-featured-score.winner {
    color: var(--color-text);
}
.league-featured-vs {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    padding: 0 var(--space-md);
}
.league-featured-meta {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}

/* Leader stat details */
.leader-stat-detail {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Team GP in sidebar */
.league-team-gp {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-left: auto;
}

/* Scores ticker bar */
.league-scores-bar {
    background: var(--color-bg-alt);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}
.league-scores-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.league-scores-scroll::-webkit-scrollbar { display: none; }
.league-score-chip {
    flex-shrink: 0;
    width: 200px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: transform 0.15s;
}
.league-score-chip:hover { transform: translateY(-1px); }
.league-score-date {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.league-score-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.league-score-team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    opacity: 0.6;
}
.league-score-team.winner {
    opacity: 1;
    font-weight: 700;
}
.league-score-team img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.league-score-team span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.league-score-team strong { font-variant-numeric: tabular-nums; }
.league-score-final {
    font-size: 0.625rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* Division label in sidebar */
.sidebar-division-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--league-color, var(--color-primary));
    padding: var(--space-sm) 0 4px;
    border-bottom: 1px solid var(--color-border);
    margin-top: var(--space-md);
}
.sidebar-division-label:first-child { margin-top: 0; }

/* Teams list */
.league-teams-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: var(--space-xs);
}
.league-team-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px var(--space-sm);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background 0.15s;
}
.league-team-link:hover { background: var(--color-bg-light); }
.league-team-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Broadcasts grid */
.broadcasts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}
.broadcasts-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .broadcasts-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .broadcasts-grid-4 { grid-template-columns: 1fr; } }
.broadcast-card {
    text-decoration: none;
    color: var(--color-text);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.15s;
}
.broadcast-card:hover { transform: translateY(-2px); }
.broadcast-thumb { position: relative; }
.broadcast-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.broadcast-info { padding: var(--space-sm) var(--space-md); }
.broadcast-title { font-weight: 600; font-size: 0.875rem; }
.broadcast-date { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }

@media (max-width: 768px) {
    .league-hero-inner { flex-direction: column; text-align: center; }
    .league-hero-name { font-size: 1.75rem; }
    .league-hero-meta { justify-content: center; }
    .broadcasts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HOMEPAGE CHAMPIONS BAR
   ============================================================ */
.hp-champions {
    background: linear-gradient(180deg, #0a0a0a 0%, #15120a 50%, #0a0a0a 100%);
    border-top: 1px solid rgba(212,175,55,0.12);
    border-bottom: 1px solid rgba(212,175,55,0.12);
    padding: 12px 0;
}
.hp-champions-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 12px;
    scroll-snap-type: x mandatory;
}
.hp-champions-row::-webkit-scrollbar { display: none; }
.hp-champ {
    flex-shrink: 0;
    width: calc((100% - 36px) / 7);
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 10px 8px;
    background: rgba(212,175,55,0.04);
    border-radius: 8px;
    border: 1px solid rgba(212,175,55,0.1);
    text-decoration: none;
    color: #fff;
    transition: background 0.2s, border-color 0.2s;
    scroll-snap-align: start;
}
.hp-champ:hover {
    background: rgba(212,175,55,0.1);
    border-color: rgba(212,175,55,0.3);
}
.hp-champ-league-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.6;
}
.hp-champ-label {
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    line-height: 1.2;
}
.hp-champ-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.hp-champ-title {
    font-family: var(--font-feature);
    font-size: 0.5625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4af37;
    line-height: 1;
}
.hp-champ-name {
    font-family: var(--font-feature);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 1100px) {
    .hp-champ { width: calc((100% - 24px) / 5); }
}
@media (max-width: 768px) {
    .hp-champ { width: 140px; min-width: 140px; }
}

/* ============================================================
   MOST WATCHED WIDGET
   ============================================================ */
.most-watched-list {
    padding: 0;
}
.most-watched-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px var(--space-md);
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s;
}
.most-watched-item:hover { background: var(--color-bg-light); }
.most-watched-item:last-child { border-bottom: none; }
.most-watched-rank {
    font-family: var(--font-feature);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.most-watched-thumb {
    width: 48px;
    height: 36px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.most-watched-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.most-watched-info {
    flex: 1;
    min-width: 0;
}
.most-watched-teams {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.most-watched-meta {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-top: 1px;
}
.most-watched-league {
    background: var(--color-bg-light);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-right: 4px;
}
.most-watched-views {
    font-family: var(--font-feature);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
    white-space: nowrap;
}

/* ============================================================
   DIVISION CHAMPIONS
   ============================================================ */
.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}
.champion-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--champ-color, var(--color-primary));
    transition: transform 0.15s, box-shadow 0.15s;
    position: relative;
    overflow: hidden;
}
.champion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.champion-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, transparent 100%);
    pointer-events: none;
}
.champion-league-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    margin: 0 auto var(--space-xs);
    position: relative;
    z-index: 1;
}
.champion-level {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d4af37;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}
.champion-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}
.champion-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}
.champion-logo-loser {
    opacity: 0.35;
    filter: grayscale(0.5);
}
.champion-final-score {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-feature);
    position: relative;
    z-index: 1;
}
.champion-winner-score {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--champ-color, var(--color-primary));
}
.champion-dash {
    font-size: 1rem;
    color: var(--color-text-muted);
}
.champion-loser-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-muted);
}
.champion-name {
    font-family: var(--font-feature);
    font-size: 1.0625rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}
.champion-record {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--champ-color, var(--color-text-muted));
    position: relative;
    z-index: 1;
}
.champion-runner-up {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    position: relative;
    z-index: 1;
}
.champion-meta {
    font-size: 0.625rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.champion-video {
    color: #ff4444;
    font-weight: 700;
}

@media (max-width: 768px) {
    .champions-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CLUB HUB PAGE
   ============================================================ */
.club-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
}
.club-team-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.15s, box-shadow 0.15s;
}
.club-team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.club-team-card-top {
    padding: 8px 14px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.club-team-card-body {
    padding: 14px;
}
.club-team-card-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}
.club-team-card-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}
.club-team-card-stats {
    display: flex;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}
.club-team-card-stats strong {
    color: var(--color-text);
}

@media (max-width: 768px) {
    .club-teams-grid { grid-template-columns: 1fr; }
}

/* HS Hub league cards */
.hs-league-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}
.hs-league-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    border-top: 4px solid;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.15s, box-shadow 0.15s;
}
.hs-league-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.hs-league-card-logo { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.hs-league-card-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; }
.hs-league-card-meta { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 2px; }

/* Related Players */
.related-players-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.related-player-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    position: relative;
}
.related-player-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--team-color, var(--color-primary));
}
.related-player-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.related-player-photo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--team-color, var(--color-primary));
}
.related-player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-player-initials {
    font-family: var(--font-feature);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-muted);
}
.related-player-info {
    flex: 1;
    min-width: 0;
}
.related-player-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-player-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}
.related-player-stats {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}
.related-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.related-stat-val {
    font-family: var(--font-feature);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1;
}
.related-stat-highlight {
    color: var(--team-color, var(--color-primary));
}
.related-stat-label {
    font-family: var(--font-display);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .related-players-grid { grid-template-columns: 1fr; }
    .related-player-card { flex-wrap: wrap; }
}

/* ============================================================
   GAME RECAP TEMPLATE
   ============================================================ */
.recap-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.recap-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}
.recap-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
}
.recap-hero-inner {
    position: relative;
    z-index: 1;
    padding: var(--space-2xl) 0 var(--space-xl);
    color: #fff;
}
.recap-hero-meta {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-md);
}
.recap-league-badge, .recap-division-badge {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(255,255,255,0.15);
}
.recap-playoff-badge {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(212,175,55,0.25);
    color: #d4af37;
}
.recap-headline {
    font-family: var(--font-feature);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    max-width: 800px;
}
.recap-date {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin-top: var(--space-sm);
}

/* Scoreboard */
.recap-scoreboard {
    background: var(--color-bg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border-dark);
}
.recap-score-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    max-width: 700px;
    margin: 0 auto;
}
.recap-team {
    text-align: center;
    flex: 1;
}
.recap-team-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: var(--space-xs);
}
.recap-team-name {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
}
.recap-score-center {
    text-align: center;
}
.recap-final-score {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.recap-score-num {
    font-family: var(--font-feature);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.4);
    line-height: 1;
}
.recap-score-num.winner { color: #fff; }
.recap-score-dash {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
}
.recap-status {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}
.recap-periods {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
}

/* Stars */
.recap-stars {
    background: var(--color-bg-alt);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border-dark);
}
.recap-stars-row {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
}
.recap-star {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.15s;
}
.recap-star:hover { opacity: 0.8; }
.recap-star-rank {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d4af37;
    width: 50px;
}
.recap-star-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.recap-star-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}
.recap-star-num {
    color: rgba(255,255,255,0.4);
    font-weight: 400;
    font-size: 0.875rem;
}
.recap-star-line {
    font-family: var(--font-feature);
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Article */
.recap-article {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text);
}
.recap-article p {
    margin-bottom: var(--space-lg);
}
.recap-article p:first-child::first-letter {
    font-family: var(--font-feature);
    font-size: 3.5rem;
    font-weight: 800;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 6px;
    color: var(--color-primary);
}

/* Video */
.recap-video {
    margin-top: var(--space-xl);
}
.recap-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.recap-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.recap-video-views {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
    text-align: right;
}

/* Scoring summary */
.recap-scoring { margin-top: var(--space-xl); }
.recap-period-header {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    background: var(--color-bg-light);
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}
.recap-goal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.875rem;
}
.recap-goal:last-child { border-bottom: none; }
.recap-goal-time {
    font-family: var(--font-feature);
    font-weight: 700;
    color: var(--color-text-muted);
    width: 45px;
    flex-shrink: 0;
}
.recap-goal-team {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    width: 120px;
    flex-shrink: 0;
}
.recap-goal-scorer { font-weight: 600; flex: 1; }
.recap-goal-type {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(255,42,19,0.1);
    color: var(--color-primary);
}
.recap-goal-type.gwg {
    background: rgba(212,175,55,0.15);
    color: #d4af37;
}

@media (max-width: 768px) {
    .recap-headline { font-size: 1.75rem; }
    .recap-score-card { gap: var(--space-lg); }
    .recap-score-num { font-size: 2rem; }
    .recap-team-logo { width: 48px; height: 48px; }
    .recap-stars-row { flex-direction: column; gap: var(--space-sm); }
}

/* Legacy — kept for compatibility */
.player-header {
    display: flex;
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
}
.player-headshot {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    background: var(--color-bg-light);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
}
.btn-primary:hover {
    background: var(--gradient-brand-hover);
    color: white;
    box-shadow: 0 4px 12px rgba(255,42,19,0.3);
}

.btn-secondary {
    background: rgba(0,0,0,0.06);
    color: var(--color-text);
}
.btn-secondary:hover {
    background: rgba(0,0,0,0.1);
    color: var(--color-text);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.75rem;
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
}

/* ============================================================
   FILTERS / CONTROLS
   ============================================================ */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.filter-select {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: var(--space-xl);
}

.tab {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text-muted);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.tab:hover {
    color: var(--color-text);
}

.tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 3px;
}

.badge-league {
    background: var(--color-bg);
    color: var(--color-text-on-dark);
}

.badge-division {
    background: var(--color-primary);
    color: white;
}

.badge-live {
    background: var(--color-live);
    color: white;
    animation: pulse 1.5s infinite;
}

/* ============================================================
   FOOTER
   ============================================================ */
/* Footer — Ticker */
.footer-ticker {
    background: linear-gradient(135deg, #1b2838 0%, #0f1923 100%);
    border-top: 3px solid var(--color-primary);
    padding: var(--space-lg) 0;
}
.footer-ticker-inner {
    display: flex;
    justify-content: center;
    gap: 48px;
}
.footer-ticker-stat { text-align: center; }
.footer-ticker-num {
    display: block;
    font-family: var(--font-feature);
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.footer-ticker-label {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    display: block;
}

/* Footer — Main */
.footer-main {
    background: #111;
    padding: var(--space-2xl) 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}
.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: brightness(10);
}
.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 0 0 var(--space-lg) 0;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    transition: all 0.2s;
}
.footer-social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}
.footer-heading {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    margin: 0 0 var(--space-md) 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover { color: white; }

/* Footer — Bottom */
.footer-bottom {
    background: #0a0a0a;
    padding: var(--space-md) 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.3);
}
.footer-bottom-credit {
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-ticker-inner { gap: 24px; flex-wrap: wrap; justify-content: space-around; }
    .footer-ticker-num { font-size: 1.25rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom-inner { flex-direction: column; gap: 4px; text-align: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.flex { display: flex; }
.flex-between { justify-content: space-between; }
.flex-center { align-items: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ============================================================
   SCOREBOARD TICKER (NHL.com style)
   ============================================================ */
.scoreboard-ticker {
    background: #111;
    border-bottom: 2px solid #222;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    height: 68px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.scoreboard-ticker-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-lg);
    background: var(--color-bg-alt);
    color: var(--color-text-on-dark);
    min-width: 60px;
    border-right: 1px solid var(--color-border-dark);
}
.ticker-month {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}
.ticker-day {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    line-height: 1;
}

.scoreboard-ticker-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}
.scoreboard-ticker-scroll::-webkit-scrollbar { display: none; }

.ticker-game {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xs) var(--space-lg);
    border-right: 1px solid var(--color-border-dark);
    min-width: 180px;
    color: var(--color-text-on-dark);
    text-decoration: none;
    transition: background 0.15s;
    gap: 2px;
}
.ticker-game:hover {
    background: var(--color-bg-alt);
    color: var(--color-text-on-dark);
}

.ticker-status {
    font-family: var(--font-display);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.ticker-status.final { color: var(--color-text-muted); }
.ticker-status.live { color: var(--color-live); animation: pulse 1.5s infinite; }
.ticker-status.scheduled { color: var(--color-scheduled); }

.ticker-team {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
}
.ticker-logo {
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-width: 16px;
    object-fit: contain;
}
.ticker-abbrev {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    flex: 1;
}
.ticker-score {
    font-family: var(--font-feature);
    font-size: 1rem;
    min-width: 20px;
    text-align: right;
}
.ticker-score.winner { color: var(--color-primary); }

.ticker-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-md);
    color: var(--color-text-muted);
    font-size: 1.5rem;
    background: var(--color-bg-alt);
    border-left: 1px solid var(--color-border-dark);
    text-decoration: none;
}
.ticker-more:hover { color: var(--color-primary); }

/* ============================================================
   HOME LAYOUT (2/3 + 1/3)
   ============================================================ */
.home-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-2xl);
}

@media (max-width: 1024px) {
    .home-layout { grid-template-columns: 1fr; }
}

.home-main { min-width: 0; }
.home-sidebar { min-width: 0; }

/* ============================================================
   FEATURED GAME (hero card)
   ============================================================ */
.featured-game {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.featured-game:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transform: translateY(-2px);
    color: white;
}

.featured-game-bg {
    position: relative;
    padding: var(--space-3xl) var(--space-2xl);
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}
.featured-game-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 0;
}
.featured-game-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 0;
    opacity: 0.5;
}

.featured-game-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
}

.featured-game-league {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.featured-game-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
}

.featured-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
}
.featured-team img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.featured-team span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.featured-score {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.featured-score span {
    font-family: var(--font-feature);
    font-size: 4rem;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.featured-score .winner { color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.5); }
.featured-divider {
    font-size: 2rem !important;
    opacity: 0.5;
}

.featured-meta {
    text-align: center;
    margin-top: var(--space-lg);
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.sidebar-widget {
    background: var(--color-bg-card);
    border-radius: 16px;
    overflow: visible;
    margin-bottom: var(--space-xl);
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
.sidebar-widget > .sidebar-title:first-child {
    border-radius: 16px 16px 0 0;
}

.sidebar-title {
    font-family: var(--font-feature);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 2px solid var(--league-color, var(--team-color, var(--color-primary)));
    background: var(--color-bg-light);
}

.sidebar-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-bg);
    color: var(--color-text-on-dark);
}
.sidebar-widget-header h3 {
    font-family: var(--font-feature);
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}
.sidebar-widget-header a {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    text-decoration: none;
    padding: 3px 8px;
    border: 1px solid rgba(255,42,19,0.3);
    border-radius: 3px;
    transition: background 0.15s, color 0.15s;
}
.sidebar-widget-header a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Scoring leaders in sidebar */
.sidebar-leaders {
    padding: 0;
}
.sidebar-leader {
    display: flex;
    align-items: center;
    padding: 10px var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
    gap: 10px;
}
.sidebar-leader:hover { background: var(--color-bg-light); }
.sidebar-leader:last-child { border-bottom: none; }

.leader-rank {
    font-family: var(--font-feature);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-muted);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.leader-info {
    flex: 1;
    min-width: 0;
}
.leader-logo {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
    flex-shrink: 0;
}
.leader-league-tag {
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    background: var(--color-bg-light);
    padding: 1px 5px;
    border-radius: 3px;
    flex-shrink: 0;
}
.leader-name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.leader-team {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}
.leader-stat {
    font-family: var(--font-feature);
    font-size: 1.125rem;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Standings in sidebar */
.sidebar-standings {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    margin: 0;
}
.sidebar-standings thead th {
    padding: 8px 10px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}
.sidebar-standings thead th:first-child { width: 26px; }
.sidebar-standings thead th:nth-child(2) { width: auto; }
.sidebar-standings thead th:nth-child(n+3) { text-align: center; width: 38px; }
.sidebar-standings tbody td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--color-border);
    font-variant-numeric: tabular-nums;
    font-size: 0.8125rem;
    vertical-align: middle;
}
.sidebar-standings tbody td:nth-child(2) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}
.sidebar-standings tbody td:nth-child(2) img { vertical-align: middle; }
.sidebar-standings tbody td:nth-child(n+3) { text-align: center; }
.sidebar-standings tbody tr:last-child td { border-bottom: none; }
.sidebar-standings tbody tr:hover { background: var(--color-bg-light); }
.sidebar-standings .rank {
    font-family: var(--font-feature);
    font-weight: 700;
    color: var(--color-text-muted);
}
.sidebar-standings a { color: var(--color-text); text-decoration: none; }

/* Sidebar tabs — smaller for tight space */
.sidebar-widget .tabs {
    padding: 0 var(--space-md);
    gap: 0;
    flex-wrap: wrap;
}
.sidebar-widget .tab {
    font-size: 0.75rem;
    padding: 8px 10px;
}

/* Sidebar division labels */
.sidebar-widget .sidebar-division-label {
    padding: var(--space-sm) var(--space-lg);
}

/* League links in sidebar */
.sidebar-league-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
}
.sidebar-league-link:hover { background: var(--color-bg-light); }
.sidebar-league-link:last-child { border-bottom: none; }
.sidebar-league-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.sidebar-league-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
}
.sidebar-league-full {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}

/* ============================================================
   STATS BAR (bottom of homepage)
   ============================================================ */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: var(--space-md) 0;
    border-top: 3px solid;
    border-image: var(--gradient-brand) 1;
}
.stats-bar-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.stats-bar-number {
    font-family: var(--font-feature);
    font-size: 2rem;
    color: var(--color-primary);
}
.stats-bar-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* ============================================================
   TICKER ARROWS
   ============================================================ */
.ticker-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    background: #1a1a1a;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 1px solid #222;
    border-right: 1px solid #222;
}
.ticker-arrow:hover { background: #252525; color: var(--color-primary); }

/* ============================================================
   AROUND THE LEAGUES (banner strip)
   ============================================================ */
/* ============================================================
   SCOREBOARD BAR (ESPN-style)
   ============================================================ */
.scoreboard {
    background: #111;
    border-bottom: 1px solid #222;
    padding: 8px 0;
    position: relative;
}
.scoreboard-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px;
    scroll-snap-type: x mandatory;
}
.scoreboard-track::-webkit-scrollbar { display: none; }

.scoreboard-card {
    flex-shrink: 0;
    width: 190px;
    background: #1a1a1a;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    border: 1px solid #252525;
    transition: border-color 0.15s, transform 0.15s;
    scroll-snap-align: start;
}
.scoreboard-card:hover {
    border-color: #444;
    transform: translateY(-1px);
}
.scoreboard-playoff {
    border-color: rgba(212,175,55,0.3);
}

.scoreboard-card-top {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: #141414;
    border-bottom: 1px solid #222;
    font-size: 0.625rem;
}
.scoreboard-league {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
}
.scoreboard-badge {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(212,175,55,0.2);
    color: #d4af37;
    padding: 1px 5px;
    border-radius: 3px;
}
.scoreboard-date {
    margin-left: auto;
    color: rgba(255,255,255,0.35);
    font-size: 0.625rem;
}

.scoreboard-team {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
}
.scoreboard-team.loser {
    opacity: 0.45;
}
.scoreboard-logo {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    flex-shrink: 0;
}
.scoreboard-name {
    flex: 1;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.scoreboard-score {
    font-family: var(--font-feature);
    font-size: 1rem;
    font-weight: 800;
    min-width: 18px;
    text-align: right;
    color: rgba(255,255,255,0.5);
}
.scoreboard-score.winner {
    color: #fff;
}

.scoreboard-card-bottom {
    padding: 4px 10px;
    border-top: 1px solid #222;
    font-size: 0.625rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

@media (max-width: 768px) {
    .scoreboard-card { width: 170px; }
}

/* ============================================================
   PLAYER SPOTLIGHT
   ============================================================ */
.player-spotlight { position: relative; }
.spotlight-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.spotlight-card {
    display: flex;
    background: white;
    border-radius: 16px;
    border: none;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.spotlight-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-1px);
    color: var(--color-text);
}
.spotlight-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    flex: 1;
}
.spotlight-headshot {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.spotlight-headshot img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-initials {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    color: var(--color-text-muted);
}
.spotlight-info { display: flex; flex-direction: column; gap: 2px; }
.spotlight-number {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    color: var(--color-primary);
    line-height: 1;
}
.spotlight-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
}
.spotlight-team { font-size: 0.75rem; color: var(--color-text-light); }
.spotlight-league { font-size: 0.625rem; color: var(--color-text-muted); text-transform: uppercase; font-family: var(--font-display); }

.spotlight-stats {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-lg);
}
.spotlight-stat { text-align: center; color: white; }
.spotlight-stat-val {
    display: block;
    font-family: var(--font-feature);
    font-size: 1.5rem;
    line-height: 1;
}
.spotlight-stat-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-top: 2px;
}
.spotlight-stat.highlight .spotlight-stat-val { color: var(--color-primary); }

/* ============================================================
   BROADCAST CARDS
   ============================================================ */
.broadcast-card {
    display: block;
    background: white;
    border-radius: 16px;
    border: none;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.broadcast-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: var(--color-text);
}
.broadcast-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
}
.broadcast-thumb img { width: 100%; height: 100%; object-fit: cover; }
.broadcast-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255,42,19,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    padding-left: 3px;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}
.broadcast-card:hover .broadcast-play { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
.broadcast-score {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-family: var(--font-feature);
    font-size: 0.875rem;
    padding: 2px 8px;
    border-radius: 3px;
}
.broadcast-info { padding: var(--space-md); }
.broadcast-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
}
.broadcast-meta {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ============================================================
   SIDEBAR TABS (standings by league)
   ============================================================ */
.sidebar-tabs {
    display: flex;
    overflow-x: auto;
    background: #1a1a1a;
    scrollbar-width: none;
}
.sidebar-tabs::-webkit-scrollbar { display: none; }
.sidebar-tab {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    background: none;
    border: none;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}
.sidebar-tab:hover { color: white; }
.sidebar-tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.sidebar-division-label {
    font-family: var(--font-display);
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0505 50%, #0d0d0d 100%);
    padding: var(--space-3xl) 0;
    border-top: 3px solid;
    border-image: var(--gradient-brand) 1;
}
.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
}
.cta-text { flex: 1; color: white; }
.cta-text h2 { margin-bottom: var(--space-md); }
.cta-text p { color: #999; font-size: 1rem; max-width: 500px; }
.cta-actions { display: flex; gap: var(--space-md); flex-shrink: 0; }

@media (max-width: 768px) {
    .cta-content { flex-direction: column; text-align: center; }
    .cta-text p { max-width: none; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .stats-bar { flex-wrap: wrap; gap: var(--space-lg); }
    .stats-bar-item { flex: 0 0 30%; }
    .scoreboard-ticker { display: none; }
    .featured-score span { font-size: 2.5rem; }
    .featured-team img { width: 48px !important; height: 48px !important; }
    .scoreboard-card { width: 160px; }
    .spotlight-card { flex-direction: column; }
    .spotlight-stats { justify-content: center; }
}

/* ============================================================
   NEWS SECTION
   ============================================================ */

/* Section header */
.news-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}
.news-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.news-section-label h2 {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.02em;
    margin: 0;
}
.news-accent-bar {
    width: 4px;
    height: 24px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

/* Grid: featured left, headlines right */
.news-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-md);
    align-items: stretch;
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* Featured article */
.news-featured {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.news-featured:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: var(--color-text);
}
.news-featured-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #111;
}
.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-featured:hover .news-featured-image img {
    transform: scale(1.04);
}
.news-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 12px;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.news-featured-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-featured-placeholder span {
    font-family: var(--font-feature);
    font-size: 2rem;
    color: rgba(255,255,255,0.08);
    letter-spacing: 0.1em;
}
.news-featured-content {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-featured-content h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}
.news-excerpt {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.news-date {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* League badges */
.news-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 100px;
    color: white;
    background: var(--color-primary);
}
.news-badge-sm {
    padding: 2px 8px;
    font-size: 0.5rem;
}
.news-badge-schshl { background: #c41e3a; }
.news-badge-nyihshl { background: #0055a5; }
.news-badge-acha { background: #1a1a1a; }
.news-badge-chshl { background: #5b2d8e; }
.news-badge-liahl { background: #0a6e3f; }
.news-badge-college { background: #1a1a1a; }

/* Headlines list */
.news-headlines {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
}
.news-headlines-header {
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.9);
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-primary);
}

.news-headline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.15s;
}
.news-headline:last-child { border-bottom: none; }
.news-headline:hover {
    background: rgba(0,0,0,0.015);
    color: var(--color-text);
}

.news-headline-thumb-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}
.news-headline-thumb {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px;
    object-fit: cover;
}
.news-headline-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
}

.news-headline-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}
.news-headline-title {
    font-weight: 600;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-headline:hover .news-headline-title {
    color: var(--color-primary);
}
.news-headline-date {
    font-size: 0.625rem;
    color: var(--color-text-muted);
    font-weight: 500;
}


/* ============================================================
   NEWS / RECAPS HUB - GRID
   ============================================================ */
.recap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
@media (max-width: 900px) { .recap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .recap-grid { grid-template-columns: 1fr; } }

.recap-grid-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.recap-grid-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: var(--color-text);
}

.recap-grid-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
}
.recap-grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.recap-grid-card:hover .recap-grid-thumb img {
    transform: scale(1.04);
}
.recap-grid-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.recap-grid-thumb-placeholder img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    opacity: 0.7;
}
.recap-grid-thumb-placeholder span {
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
    font-weight: 600;
}
.recap-grid-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
}

.recap-grid-body {
    padding: 12px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recap-grid-score {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}
.recap-grid-team {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.recap-grid-team.winner {
    color: var(--color-text);
    font-weight: 600;
}
.recap-grid-team img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.recap-grid-team span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recap-grid-team strong {
    font-size: 0.9375rem;
    min-width: 18px;
    text-align: right;
}
.recap-grid-ot {
    font-size: 0.625rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: right;
}

.recap-grid-title {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 auto 0;
    text-transform: none;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recap-grid-date {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* Pagination */
.recap-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}
.recap-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-text);
    background: white;
    border: 1px solid var(--color-border, #e5e7eb);
    transition: all 0.15s;
}
.recap-page-btn:hover {
    background: var(--color-bg, #f5f5f5);
    color: var(--color-text);
}
.recap-page-btn.active {
    background: var(--color-primary, #ff2a13);
    color: white;
    border-color: var(--color-primary, #ff2a13);
}
.recap-page-info {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-left: 12px;
}

/* ============================================================
   VIDEO EMBED (responsive 16:9)
   ============================================================ */
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 0;
}
.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================================
   STATS CENTRAL — ULTRA DELUXE
   ============================================================ */

/* Hero */
.stats-hero {
    background: linear-gradient(135deg, #1b2838 0%, #0f1923 50%, #162230 100%);
    padding: var(--space-xl) 0 var(--space-lg);
    border-bottom: 3px solid var(--color-primary);
}
.stats-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: var(--space-lg);
}
.stats-hero-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.stats-hero-title {
    font-family: var(--font-feature);
    font-size: 2.25rem;
    margin: 0;
    letter-spacing: -0.02em;
    color: white;
}
.stats-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}
.stats-hero-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}
.stats-hero-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.stats-league-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}
.stats-league-pill img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Hero Cards — featured leaders */
.stats-hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.stats-hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: white;
    transition: background 0.2s, border-color 0.2s;
}
.stats-hero-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    color: white;
}
.stats-hero-card-label {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.stats-hero-card-body {
    display: flex;
    align-items: center;
    gap: 10px;
}
.stats-hero-card-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
.stats-hero-card-info {
    flex: 1;
    min-width: 0;
}
.stats-hero-card-name {
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stats-hero-card-team {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.45);
}
.stats-hero-card-num {
    font-family: var(--font-feature);
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    flex-shrink: 0;
}
.stats-hero-card-num small {
    display: block;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

/* Section Navigation */
.stats-nav {
    background: white;
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.stats-nav-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.stats-nav-inner::-webkit-scrollbar { display: none; }
.stats-nav-btn {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.stats-nav-btn:hover { color: var(--color-text); }
.stats-nav-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Sections */
.stats-container {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
}
.stats-section { display: none; }
.stats-section.active { display: block; }

/* Filters */
.stats-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: var(--space-lg);
    align-items: flex-end;
}
.stats-filter-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.stats-filter-group label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text);
}
.stats-select, .stats-input {
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.8125rem;
    background: white;
    min-width: 100px;
}
.stats-input { min-width: 160px; }
.stats-search-group { flex: 1; min-width: 150px; }

/* Toggle */
.stats-toggle {
    display: inline-flex;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
}
.stats-toggle-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    background: white;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: all 0.15s;
}
.stats-toggle-btn.active {
    background: var(--color-primary);
    color: white;
}

/* Count */
.stats-count {
    font-size: 0.75rem;
    color: var(--color-text-light, #555);
    margin-bottom: 8px;
}

/* Team cell */
.team-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}
.team-logo-sm {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Sortable headers */
.sort-col {
    cursor: pointer;
    user-select: none;
    position: relative;
    white-space: nowrap;
}
.sort-col::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(255,255,255,0.3);
    transition: transform 0.15s;
}
.sort-col.sorted.desc::after {
    border-top-color: white;
}
.sort-col.sorted.asc::after {
    border-top: none;
    border-bottom: 4px solid white;
}
.sort-col:hover::after {
    border-top-color: rgba(255,255,255,0.6);
}

/* Grids */
.stats-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.stats-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg);
}
@media (max-width: 768px) {
    .stats-grid-2, .stats-grid-3 { grid-template-columns: 1fr; }
}

/* Sub titles */
.stats-sub-title {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 var(--space-sm) 0;
    color: var(--color-text);
}

/* Milestone list */
.milestone-list {
    max-height: 500px;
    overflow-y: auto;
}
.milestone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
}
.milestone-item:last-child { border-bottom: none; }
.milestone-item:hover { background: rgba(255,42,19,0.03); color: var(--color-text); }
.milestone-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}
.milestone-rank {
    font-family: var(--font-feature);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.milestone-info {
    flex: 1;
    min-width: 0;
}
.milestone-name {
    font-weight: 600;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.milestone-meta {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}
.milestone-stat {
    font-family: var(--font-feature);
    font-size: 0.8125rem;
    font-weight: 800;
    color: #1a1a1a;
    white-space: nowrap;
    flex-shrink: 0;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ── Compare: Hero & Pickers ── */
.cmp-hero {
    background: linear-gradient(135deg, #1b2838 0%, #0f1923 50%, #162230 100%);
    border-radius: 16px;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}
.cmp-hero-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: start;
}
.cmp-pick-label {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
}
.cmp-pick-input-wrap { position: relative; }
.cmp-pick-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: white;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}
.cmp-pick-input::placeholder { color: rgba(255,255,255,0.3); }
.cmp-pick-input:focus { outline: none; border-color: var(--color-primary); }
.cmp-vs-badge {
    align-self: center;
    margin-top: 20px;
    font-family: var(--font-feature);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-primary);
    background: rgba(255,42,19,0.12);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255,42,19,0.25);
}

/* Player Cards */
.cmp-pick-card {
    margin-top: 12px;
    min-height: 70px;
}
.cmp-pick-empty {
    color: rgba(255,255,255,0.2);
    font-size: 0.8125rem;
    text-align: center;
    padding: 20px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 10px;
}
.cmp-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}
.cmp-card-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.cmp-card-info { flex: 1; min-width: 0; }
.cmp-card-name { font-weight: 700; font-size: 0.9375rem; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-card-team { font-size: 0.6875rem; color: rgba(255,255,255,0.45); }
.cmp-card-quick { display: flex; gap: 10px; flex-shrink: 0; }
.cmp-card-stat { text-align: center; line-height: 1.2; }
.cmp-card-stat span { display: block; font-family: var(--font-feature); font-size: 1.125rem; font-weight: 800; color: white; }
.cmp-card-stat { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }

/* Dropdown */
.compare-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    z-index: 50;
    max-height: 320px;
    overflow-y: auto;
    margin-top: 4px;
}
.compare-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.1s;
}
.compare-option:last-child { border-bottom: none; }
.compare-option:hover { background: rgba(255,42,19,0.04); }
.compare-option img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.compare-option-info { flex: 1; min-width: 0; }
.compare-option-name { display: block; font-weight: 600; font-size: 0.8125rem; }
.compare-option-team { display: block; font-size: 0.6875rem; color: var(--color-text-muted); }
.compare-option-pts { font-family: var(--font-feature); font-weight: 700; font-size: 0.75rem; color: var(--color-primary); white-space: nowrap; }

/* ── Compare: Verdict ── */
.cmp-verdict {
    text-align: center;
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-lg);
    border-bottom: 2px solid var(--color-border);
}
.cmp-verdict-score { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 4px; }
.cmp-verdict-num { font-family: var(--font-feature); font-size: 2.5rem; font-weight: 900; color: var(--color-text); }
.cmp-verdict-dash { font-size: 1.5rem; color: var(--color-text-muted); font-weight: 300; }
.cmp-verdict-text { font-size: 0.875rem; color: var(--color-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Compare: Stat Categories ── */
.cmp-category {
    margin-bottom: var(--space-xl);
}
.cmp-cat-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-border);
}

/* Stat Rows — dual bar */
.cmp-stat-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 5px 0;
}
.cmp-stat-val {
    width: 56px;
    font-family: var(--font-feature);
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--color-text);
    transition: color 0.3s;
}
.cmp-stat-left { text-align: right; padding-right: 10px; }
.cmp-stat-right { text-align: left; padding-left: 10px; }
.cmp-stat-val.cmp-winner { color: var(--color-primary); }
.cmp-stat-bars {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0;
}
.cmp-bar-left, .cmp-bar-right {
    flex: 1;
    height: 26px;
    position: relative;
    overflow: hidden;
}
.cmp-bar-left { border-radius: 4px 0 0 4px; background: #f5f5f5; }
.cmp-bar-right { border-radius: 0 4px 4px 0; background: #f5f5f5; }
.cmp-bar-fill-left {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,42,19,0.08), rgba(255,42,19,0.2));
    border-radius: 4px 0 0 4px;
    width: 0;
    animation: cmpBarGrow 0.6s ease forwards;
}
.cmp-bar-fill-right {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30,100,200,0.2), rgba(30,100,200,0.08));
    border-radius: 0 4px 4px 0;
    width: 0;
    animation: cmpBarGrow 0.6s ease forwards;
}
@keyframes cmpBarGrow {
    from { width: 0; }
}
.cmp-stat-label {
    flex: 0 0 110px;
    text-align: center;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text);
    z-index: 1;
}

/* ── Compare: Per-Game ── */
.cmp-pergame {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 2px solid var(--color-border);
}
.cmp-pg-title {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}
.cmp-pg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.cmp-pg-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}
.cmp-pg-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    margin-bottom: 8px;
}
.cmp-pg-vals {
    display: flex;
    justify-content: center;
    gap: 24px;
}
.cmp-pg-vals span {
    font-family: var(--font-feature);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
}
.cmp-pg-vals span.cmp-winner {
    color: var(--color-primary);
}

/* ============================================================
   HUB CLUBS GRID
   ============================================================ */
.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.club-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    border-left: 3px solid var(--club-color, #333);
}
.club-card:hover {
    border-color: var(--club-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    color: var(--color-text);
}
.club-card-logo-wrap { flex-shrink: 0; }
.club-card-logo { width: 40px; height: 40px; object-fit: contain; }
.club-card-initials {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--club-color); color: white;
    font-weight: 800; font-size: 0.875rem;
    border-radius: 8px;
}
.club-card-name { font-weight: 700; font-size: 0.875rem; }
.club-card-teams { font-size: 0.6875rem; color: var(--color-text-muted); }

/* ============================================================
   HUB CLUBS — RICH GRID
   ============================================================ */
.hub-clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.hub-club-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--club-color);
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.hub-club-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: var(--color-text);
}
.hub-club-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
}
.hub-club-logo-wrap { flex-shrink: 0; }
.hub-club-logo { width: 48px; height: 48px; object-fit: contain; }
.hub-club-initials {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 900; font-size: 1rem;
    border-radius: 10px;
}
.hub-club-title { flex: 1; min-width: 0; }
.hub-club-name {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
}
.hub-club-city {
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* (record bar removed — info shown inline) */

.hub-club-meta {
    padding: 12px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hub-club-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.8125rem;
}
.hub-club-info-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    flex-shrink: 0;
}
.hub-club-info-val {
    font-weight: 600;
    font-size: 0.8125rem;
    text-align: right;
    color: var(--color-text);
}
.hub-club-teams-section {
    margin-top: 4px;
}
.hub-club-teams-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 6px;
}
.hub-club-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.8125rem;
}
.hub-club-team-row:last-child { border-bottom: none; }
.hub-club-team-name { font-weight: 600; }
.hub-club-team-record {
    font-family: var(--font-feature);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.hub-club-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid var(--color-border);
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}
.hub-club-arrow {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    transition: transform 0.2s;
}
.hub-club-card:hover .hub-club-arrow {
    transform: translateX(3px);
    color: var(--club-color);
}

@media (max-width: 768px) {
    .hub-clubs-grid { grid-template-columns: 1fr; gap: 12px; }
    .hub-club-logo { width: 40px; height: 40px; }
    .hub-club-name { font-size: 0.9375rem; }
    .hub-club-record-num { font-size: 1rem; }
}

/* ============================================================
   HUB SUB-NAVIGATION
   ============================================================ */
.hub-subnav {
    background: #1a1f2e;
    border-bottom: 3px solid var(--hub-accent, var(--color-primary));
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hub-subnav-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0;
}
.hub-subnav-inner::-webkit-scrollbar { display: none; }
.hub-subnav-link {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 22px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    white-space: nowrap;
    transition: all 0.2s;
    position: relative;
}
.hub-subnav-link:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.04);
}
.hub-subnav-link.active {
    color: white;
    border-bottom-color: var(--hub-accent, var(--color-primary));
    background: rgba(255,255,255,0.06);
}
@media (max-width: 768px) {
    .hub-subnav-link {
        font-size: 0.6875rem;
        padding: 10px 14px;
        letter-spacing: 0.03em;
    }
}

/* ============================================================
   HOMEPAGE — POWER RANKINGS + POTW WIDGETS
   ============================================================ */
.hp-pr-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.1s;
}
.hp-pr-item:last-child { border-bottom: none; }
.hp-pr-item:hover { background: rgba(255,42,19,0.03); color: var(--color-text); }
.hp-pr-rank {
    font-family: var(--font-feature);
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--color-text-muted);
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.hp-pr-item:first-child .hp-pr-rank { color: #d4af37; }
.hp-pr-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.hp-pr-name { flex: 1; font-weight: 600; font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-pr-record { font-family: var(--font-feature); font-size: 0.75rem; font-weight: 700; color: var(--color-text-muted); flex-shrink: 0; }

/* Player of the Week widget */
.hp-potw {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.hp-potw:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); color: var(--color-text); }
.hp-potw-label {
    padding: 8px 14px;
    font-family: var(--font-feature);
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    background: linear-gradient(135deg, var(--potw-color), #111);
}
.hp-potw-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}
.hp-potw-logo { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.hp-potw-info { flex: 1; min-width: 0; }
.hp-potw-name { font-weight: 700; font-size: 0.875rem; }
.hp-potw-team { font-size: 0.6875rem; color: var(--color-text-muted); }
.hp-potw-stats {
    text-align: right;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
}
.hp-potw-stats strong {
    display: block;
    font-family: var(--font-feature);
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--potw-color);
}

/* ============================================================
   AWARDS — PLAYER OF THE WEEK
   ============================================================ */
.award-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 16px;
}
.award-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-top: 4px solid var(--award-color);
}
.award-card-badge {
    text-align: center;
    padding: 8px;
    font-family: var(--font-feature);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--award-color);
    background: rgba(0,0,0,0.02);
}
.award-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}
.award-card-logo { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.award-card-identity { flex: 1; }
.award-card-name { font-family: var(--font-feature); font-size: 1.375rem; font-weight: 900; color: white; }
.award-card-team { font-size: 0.6875rem; color: rgba(255,255,255,0.55); font-weight: 600; }
.award-card-jersey { font-family: var(--font-feature); font-size: 2rem; font-weight: 900; color: rgba(255,255,255,0.15); }
.award-card-stats {
    display: flex;
    padding: 16px 20px;
}
.award-stat { flex: 1; text-align: center; }
.award-stat-num { display: block; font-family: var(--font-feature); font-size: 1.75rem; font-weight: 900; line-height: 1; }
.award-stat-label { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); margin-top: 4px; display: block; }
.award-stat-main { background: var(--award-color); border-radius: 8px; padding: 12px 0; margin: -8px 0; }
.award-stat-main .award-stat-num { color: white; font-size: 2rem; }
.award-stat-main .award-stat-label { color: rgba(255,255,255,0.7); }
.award-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid var(--color-border);
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}
.award-card-link { font-weight: 700; color: var(--award-color); text-decoration: none; }

/* ============================================================
   POWER RANKINGS
   ============================================================ */
.pr-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 14px 16px;
    transition: box-shadow 0.15s;
}
.pr-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.pr-card-first { border: 2px solid #d4af37; background: linear-gradient(135deg, rgba(212,175,55,0.04), white); }

.pr-top-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pr-rank { text-align: center; flex: 0 0 40px; }
.pr-rank-num { font-family: var(--font-feature); font-size: 1.5rem; font-weight: 900; display: block; line-height: 1; }
.pr-card-first .pr-rank-num { color: #d4af37; }
.pr-movement { display: block; font-size: 0.5625rem; font-weight: 700; margin-top: 2px; }
.pr-up { color: #16a34a; }
.pr-down { color: #dc2626; }
.pr-same { color: #999; }

.pr-team { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.pr-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.pr-team-name { font-weight: 700; font-size: 0.9375rem; }
.pr-team-record { font-size: 0.6875rem; color: var(--color-text-muted); }

.pr-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.pr-form { display: flex; gap: 3px; }
.pr-form-dot {
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    font-size: 0.5rem; font-weight: 800;
}
.pr-form-w { background: #dcfce7; color: #16a34a; }
.pr-form-l { background: #fef2f2; color: #dc2626; }

.pr-rating-num {
    font-family: var(--font-feature);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-text);
    min-width: 40px;
    text-align: right;
}

.pr-analysis {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--color-text-light, #555);
    line-height: 1.5;
    margin-top: 8px;
    padding-left: 54px;
}

@media (max-width: 768px) {
    .pr-top-row { flex-wrap: wrap; gap: 8px; }
    .pr-rank { flex: 0 0 32px; }
    .pr-rank-num { font-size: 1.125rem; }
    .pr-right { flex: 0 0 100%; padding-left: 46px; }
    .pr-analysis { padding-left: 46px; font-size: 0.75rem; }
    .pr-form-dot { width: 18px; height: 18px; font-size: 0.4375rem; }
}

.pr-methodology {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}
.pr-methodology h4 { margin: 0 0 8px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text); }

@media (max-width: 768px) {
    .award-grid { grid-template-columns: 1fr; }
    .pr-card { flex-wrap: wrap; gap: 8px; }
    .pr-rank { flex: 0 0 36px; }
    .pr-rank-num { font-size: 1.125rem; }
    .pr-rating { flex: 1 0 100%; }
    .pr-form { order: 3; }
}

/* ============================================================
   PLAYER SEARCH — PRO LEVEL
   ============================================================ */
.psearch-bar {
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.psearch-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.psearch-input-wrap {
    flex: 1;
    min-width: 220px;
    position: relative;
}
.psearch-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    pointer-events: none;
}
.psearch-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
}
.psearch-input:focus { outline: none; border-color: var(--color-primary); }

/* Autocomplete dropdown */
.psearch-autocomplete {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 50;
    margin-top: 4px;
    overflow: hidden;
}
.psearch-ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.1s;
}
.psearch-ac-item:last-child { border-bottom: none; }
.psearch-ac-item:hover { background: rgba(255,42,19,0.03); }
.psearch-ac-item img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.psearch-ac-item div { flex: 1; min-width: 0; }
.psearch-ac-item strong { display: block; font-size: 0.875rem; }
.psearch-ac-item span { font-size: 0.6875rem; color: var(--color-text-muted); }
.psearch-ac-pts { font-family: var(--font-feature); font-weight: 800; font-size: 0.8125rem; color: var(--color-primary); flex-shrink: 0; }

/* Alphabet bar */
.psearch-alpha {
    background: #f8f9fa;
    border-bottom: 1px solid var(--color-border);
    padding: 6px 0;
}
.psearch-alpha-inner {
    display: flex;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
}
.psearch-alpha-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.1s;
}
.psearch-alpha-link:hover { background: white; color: var(--color-text); }
.psearch-alpha-link.active { background: var(--color-primary); color: white; }

/* Results */
.psearch-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    font-weight: 600;
}
.psearch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 8px;
}
.psearch-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--pc-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.15s, border-color 0.15s;
}
.psearch-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-color: var(--pc-color); color: var(--color-text); }
.psearch-card-logo { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.psearch-card-info { flex: 1; min-width: 0; }
.psearch-card-name { font-weight: 700; font-size: 0.875rem; }
.psearch-card-team { font-size: 0.6875rem; color: var(--color-text-muted); }
.psearch-card-stats {
    display: flex;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    flex-shrink: 0;
}
.psearch-card-pts {
    font-family: var(--font-feature);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .psearch-form { flex-direction: column; }
    .psearch-input-wrap { min-width: 100%; }
    .psearch-form .stats-select { flex: 1; }
    .psearch-grid { grid-template-columns: 1fr; }
    .psearch-alpha-link { width: 28px; height: 28px; font-size: 0.625rem; }
}

/* ============================================================
   RECAP SHARE CTA
   ============================================================ */
.recap-share-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: var(--space-xl) 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1b2838, #0f1923);
    border-radius: 12px;
}
.recap-share-cta-text strong {
    display: block;
    color: white;
    font-family: var(--font-display);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.recap-share-cta-text span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}
.recap-share-cta-buttons {
    display: flex;
    gap: 8px;
}
.recap-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.recap-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    color: white;
    opacity: 0.9;
}
@media (max-width: 768px) {
    .recap-share-cta { flex-direction: column; text-align: center; padding: 16px; }
    .recap-cta-btn { width: 44px; height: 44px; }
}

/* ============================================================
   SHARE CARDS — SOCIAL MEDIA SCREENSHOTS
   ============================================================ */
.share-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.share-overlay.active { display: flex; }
.share-modal {
    background: #1a1a1a;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.share-modal-title { color: white; font-weight: 700; font-size: 0.875rem; }
.share-modal-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 1.5rem; cursor: pointer; }
.share-card-wrap { padding: 16px; }
.share-modal-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}
.share-modal-tip { color: rgba(255,255,255,0.4); font-size: 0.6875rem; margin: 0 0 8px; }
.share-modal-buttons { display: flex; gap: 8px; justify-content: center; }
.share-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}
.share-btn-copy { background: rgba(255,255,255,0.1); color: white; }
.share-btn-copy:hover { background: rgba(255,255,255,0.18); }
.share-btn-native { background: var(--color-primary); color: white; }
.share-btn-native:hover { opacity: 0.9; }

/* Share button trigger */
.share-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.share-trigger:hover { background: rgba(255,255,255,0.2); color: white; }
.share-trigger svg { width: 12px; height: 12px; }
.share-trigger-light {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.share-trigger-light:hover { background: #f5f5f5; color: var(--color-text); }
.share-trigger svg { width: 14px; height: 14px; }

/* ── Share Card: Base ── */
.sc {
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.sc-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: linear-gradient(135deg, var(--sc-color, #333), #111);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}
.sc-site-logo { height: 14px; width: auto; filter: brightness(10); opacity: 0.6; }

/* ── Share Card: Player ── */
.sc-header {
    padding: 20px;
    position: relative;
}
.sc-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.sc-team-logo { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.sc-player-identity { flex: 1; }
.sc-player-name { font-family: var(--font-feature); font-size: 1.375rem; font-weight: 900; color: white; line-height: 1.1; }
.sc-player-team { font-size: 0.6875rem; color: rgba(255,255,255,0.6); font-weight: 600; margin-top: 2px; }
.sc-jersey { font-family: var(--font-feature); font-size: 2.5rem; font-weight: 900; color: rgba(255,255,255,0.15); line-height: 1; }

.sc-body {
    padding: 20px 20px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.08) 100%);
    position: relative;
}
.sc-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sc-color, #333) 0%, transparent 100%);
    opacity: 0.06;
}
.sc-stat-row {
    display: flex;
    gap: 0;
    position: relative;
}
.sc-stat {
    flex: 1;
    text-align: center;
    padding: 10px 0;
}
.sc-stat-num {
    display: block;
    font-family: var(--font-feature);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1;
}
.sc-stat-label {
    display: block;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 4px;
}
.sc-stat-highlight {
    background: var(--sc-color, var(--color-primary));
    border-radius: 8px;
    margin: -4px 0;
    padding: 14px 0;
}
.sc-stat-highlight .sc-stat-num { color: white; font-size: 2rem; }
.sc-stat-highlight .sc-stat-label { color: rgba(255,255,255,0.7); }
.sc-extras {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    position: relative;
}
.sc-extras strong { color: var(--color-text); }

/* ── Share Card: Game ── */
.sc-game-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: #1a1a1a;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}
.sc-game-matchup { padding: 16px 20px; }
.sc-game-team {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}
.sc-game-team.sc-winner { font-weight: 700; }
.sc-game-logo { width: 32px; height: 32px; object-fit: contain; }
.sc-game-name { flex: 1; font-size: 1rem; font-weight: 600; }
.sc-winner .sc-game-name { font-weight: 800; }
.sc-game-score {
    font-family: var(--font-feature);
    font-size: 1.75rem;
    font-weight: 900;
    min-width: 30px;
    text-align: right;
}
.sc-winner .sc-game-score { color: var(--color-primary); }
.sc-game-status {
    text-align: center;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    padding: 0 20px 4px;
}
.sc-game-venue {
    text-align: center;
    font-size: 0.625rem;
    color: var(--color-text-muted);
    padding: 0 20px 12px;
}

/* ============================================================
   TEAM PAGE — PRO LEVEL
   ============================================================ */
.team-hero {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}
.team-hero-texture {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.team-hero-inner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}
.team-hero-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
.team-hero-info { flex: 1; }
.team-hero-meta {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}
.team-hero-name {
    font-family: var(--font-feature);
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
}
.team-hero-record {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin-top: 6px;
    letter-spacing: 0.02em;
}
.team-hero-detail {
    display: flex;
    gap: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}
.team-hero-links {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.team-hero-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.team-hero-btn:hover { background: rgba(255,255,255,0.2); color: white; }

.team-hero-record-card {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}
.team-hero-record-big {
    text-align: center;
    font-family: var(--font-feature);
    font-size: 2rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.team-hero-record-big span {
    display: block;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* Team tabs */
.team-tab { display: none; }
.team-tab.active { display: block; }

/* Roster grid */
.team-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}
.team-roster-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.team-roster-card:hover {
    border-color: var(--team-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    color: var(--color-text);
}
.team-roster-jersey {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    font-weight: 900;
    min-width: 36px;
    text-align: center;
    line-height: 1;
    position: relative;
    opacity: 0.8;
}
.team-roster-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 0.5rem;
    font-weight: 800;
    background: var(--team-color);
    color: white;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-body);
}
.team-roster-info { flex: 1; min-width: 0; }
.team-roster-name { font-weight: 700; font-size: 0.875rem; }
.team-roster-meta {
    display: flex;
    gap: 6px;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}
.team-roster-meta span:not(:last-child)::after { content: '·'; margin-left: 6px; }
.team-roster-stats {
    display: flex;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    flex-shrink: 0;
}
.team-roster-pts {
    font-family: var(--font-feature);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text);
}

/* Result cards */
.team-result-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.15s;
}
.team-result-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); color: var(--color-text); }
.team-result-date {
    flex: 0 0 45px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
}
.team-result-matchup {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.team-result-prefix {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    width: 16px;
}
.team-result-opp-logo { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.team-result-opp { font-weight: 600; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.team-result-score {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.team-result-outcome {
    font-size: 0.625rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.team-result-outcome.win { background: #dcfce7; color: #16a34a; }
.team-result-outcome.loss { background: #fef2f2; color: #dc2626; }
.team-result-final {
    font-family: var(--font-feature);
    font-size: 0.9375rem;
    font-weight: 800;
}
.team-result-badges {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .team-hero-inner { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
    .team-hero-logo { width: 64px; height: 64px; }
    .team-hero-name { font-size: 1.5rem; }
    .team-hero-record-card { gap: 16px; }
    .team-hero-record-big { font-size: 1.5rem; }
    .team-result-card { flex-wrap: wrap; }
}

/* ============================================================
   SEASON PICKER
   ============================================================ */
.season-picker {
    display: inline-flex;
    align-items: center;
}
.season-picker-select {
    padding: 6px 28px 6px 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: white;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}
.season-picker-select:hover {
    border-color: rgba(255,255,255,0.35);
    background-color: rgba(255,255,255,0.12);
}
.season-picker-select option {
    background: #1a1a1a;
    color: white;
}

/* Light variant for white-bg pages */
.season-picker-light .season-picker-select {
    border-color: var(--color-border);
    background: white;
    color: var(--color-text);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.season-picker-light .season-picker-select option {
    background: white;
    color: var(--color-text);
}

/* ============================================================
   STANDINGS PAGE — PRO LEVEL
   ============================================================ */

/* Summary bar */
.stand-summary {
    display: flex;
    gap: 24px;
}
.stand-summary-item { text-align: center; }
.stand-summary-num {
    display: block;
    font-family: var(--font-feature);
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}
.stand-summary-label {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}

/* League tabs */
.stand-league-tabs {
    background: #1a1f2e;
    border-bottom: 3px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.stand-league-tabs-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
}
.stand-league-tabs-inner::-webkit-scrollbar { display: none; }
.stand-league-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    white-space: nowrap;
    transition: all 0.2s;
}
.stand-league-tab img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.stand-league-tab:hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.04); }
.stand-league-tab.active {
    color: white;
    border-bottom-color: var(--tab-color, var(--color-primary));
    background: rgba(255,255,255,0.06);
}

/* Enhanced standings table */
.stand-table tbody tr { transition: background 0.1s; }
.stand-table tbody tr:hover { background: rgba(0,0,0,0.02); }
.stand-top { background: rgba(22,163,106,0.03); }
.stand-rank { font-weight: 700; color: var(--color-text-muted); }
.stand-rank-top { color: var(--color-text); }
.stand-team-name { font-weight: 700; }
.stand-pts { font-size: 1rem; }
.stand-bar-cell { padding: 0 8px !important; vertical-align: middle; }
.stand-bar {
    height: 8px;
    border-radius: 4px;
    min-width: 2px;
    opacity: 0.6;
    transition: width 0.3s ease;
}

/* Season Race Chart */
.stand-race-wrap {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    margin-bottom: var(--space-lg);
}
.stand-race-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: 8px;
}
.stand-race-title {
    font-family: var(--font-feature);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-transform: uppercase;
}
.stand-race-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.stand-race-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: default;
}
.stand-race-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.stand-race-chart {
    position: relative;
}
.stand-race-svg {
    width: 100%;
    height: 260px;
    display: block;
    overflow: visible;
}
.stand-race-line {
    transition: stroke-opacity 0.2s, stroke-width 0.2s;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.stand-race-logo {
    transition: opacity 0.2s;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.stand-race-xaxis {
    display: flex;
    justify-content: space-between;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-top: 6px;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .stand-race-wrap { padding: var(--space-md); }
    .stand-race-svg { height: 150px; }
    .stand-race-legend { gap: 6px; }
    .stand-race-legend-item { font-size: 0.5rem; }
    .stand-summary { gap: 16px; }
    .stand-summary-num { font-size: 1.125rem; }
    .stand-league-tab { padding: 10px 14px; font-size: 0.6875rem; gap: 5px; }
    .stand-league-tab img { width: 16px; height: 16px; }
}

/* ============================================================
   SCHEDULE PAGE — PRO LEVEL
   ============================================================ */

/* Hero */
.sched-hero {
    background: linear-gradient(135deg, #1b2838 0%, #0f1923 100%);
    padding: var(--space-lg) 0;
    border-bottom: 3px solid var(--color-primary);
}
.sched-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.sched-hero-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
}
.sched-hero-title {
    font-family: var(--font-feature);
    font-size: 2rem;
    color: white;
    margin: 0;
}

/* Month nav */
.sched-month-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.sched-month-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.15s;
    line-height: 1.2;
}
.sched-month-btn:hover { color: white; background: rgba(255,255,255,0.08); }
.sched-month-btn.active { color: white; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.sched-month-count { font-size: 0.5rem; color: rgba(255,255,255,0.3); }

/* Date ribbon */
.sched-ribbon {
    background: white;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sched-ribbon-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 0;
}
.sched-ribbon-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.15s;
}
.sched-ribbon-arrow:hover { background: var(--color-bg); color: var(--color-text); }
.sched-ribbon-dates {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.sched-ribbon-dates::-webkit-scrollbar { display: none; }
.sched-date-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.15s;
    min-width: 52px;
    position: relative;
}
.sched-date-pill:hover { background: #f5f5f5; color: var(--color-text); }
.sched-date-pill.active { background: var(--color-primary); color: white; }
.sched-date-pill.today:not(.active) { border: 2px solid var(--color-primary); }
.sched-date-pill.empty { opacity: 0.35; }
.sched-date-dow { font-size: 0.5625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.sched-date-num { font-family: var(--font-feature); font-size: 1.25rem; font-weight: 800; line-height: 1; }
.sched-date-dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-top: 3px;
}
.sched-date-pill.active .sched-date-dot { background: white; }

/* Filters */
.sched-filters {
    background: #f8f9fa;
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
}
.sched-filter-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.sched-clear-btn {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-decoration: none;
}
.sched-clear-btn:hover { color: var(--color-primary); }

/* Empty state */
.sched-empty {
    text-align: center;
    padding: 60px 20px;
}
.sched-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.sched-empty h3 { margin: 0 0 4px; }
.sched-empty p { color: var(--color-text-muted); }

/* Day groups */
.sched-day {
    margin-bottom: var(--space-xl);
}
.sched-day-today {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-md);
}
.sched-day-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-border);
}
.sched-day-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}
.sched-today-badge {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 8px;
    vertical-align: middle;
}
.sched-day-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

/* Game cards grid */
.sched-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 10px;
}

/* Individual game card */
.sched-game {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}
.sched-game:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #ccc;
    color: var(--color-text);
}
.sched-game-playoff { border-left: 3px solid #d4af37; }

/* League bar */
.sched-game-league {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}
.sched-game-league img { width: 14px; height: 14px; object-fit: contain; }
.sched-game-div {
    background: rgba(0,0,0,0.06);
    padding: 1px 6px;
    border-radius: 3px;
}
.sched-playoff-tag {
    background: rgba(212,175,55,0.15);
    color: #b8960c;
    padding: 1px 6px;
    border-radius: 3px;
}
.sched-game-status {
    margin-left: auto;
    font-weight: 800;
}
.sched-game-status.final { color: var(--color-text); }
.sched-game-status.scheduled { color: var(--color-primary); }

/* Matchup */
.sched-game-matchup {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.sched-game-team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}
.sched-game-team.loser { opacity: 0.45; }
.sched-team-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.sched-team-name { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-team-score {
    font-family: var(--font-feature);
    font-size: 1.125rem;
    font-weight: 800;
    min-width: 20px;
    text-align: right;
}
.sched-team-score.winner { color: var(--color-text); }

/* Footer */
.sched-game-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    border-top: 1px solid var(--color-border);
    font-size: 0.6875rem;
    color: var(--color-text-muted);
}
.sched-game-venue {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
}
.sched-game-badges { display: flex; gap: 4px; }
.sched-badge {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 6px;
    border-radius: 3px;
}
.sched-badge-video { background: #dc2626; color: white; }
.sched-badge-recap { background: #2563eb; color: white; }

/* Nav buttons */
.sched-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--space-xl);
}

/* Mobile */
@media (max-width: 768px) {
    .sched-hero-title { font-size: 1.5rem; }
    .sched-hero-inner { flex-direction: column; align-items: flex-start; }
    .sched-month-nav { gap: 3px; }
    .sched-month-btn { padding: 4px 8px; font-size: 0.625rem; }
    .sched-date-pill { padding: 6px 8px; min-width: 40px; }
    .sched-date-num { font-size: 1rem; }
    .sched-games-grid { grid-template-columns: 1fr; }
    .sched-day-title { font-size: 0.875rem; }
    .sched-filter-form { gap: 6px; }
    .sched-filter-form .stats-select { font-size: 0.75rem; min-width: 0; flex: 1; }
}

/* ── Mobile: Stats Page ── */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    /* Hero */
    .stats-hero-top { flex-direction: column; gap: 8px; }
    .stats-hero-title { font-size: 1.5rem; }
    .stats-hero-meta { font-size: 0.75rem; gap: 6px; flex-wrap: wrap; }
    .stats-hero-badges { gap: 4px; }
    .stats-league-pill { font-size: 0.5625rem; padding: 3px 8px; }
    .stats-hero-cards { grid-template-columns: 1fr; gap: 8px; }
    .stats-hero-card { padding: 10px 12px; }
    .stats-hero-card-logo { width: 26px; height: 26px; }
    .stats-hero-card-name { font-size: 0.8125rem; }
    .stats-hero-card-num { font-size: 1.5rem; }

    /* Nav tabs — smaller, scrollable */
    .stats-nav-btn {
        font-size: 0.6875rem;
        padding: var(--space-sm) var(--space-md);
        letter-spacing: 0.02em;
    }

    /* Container */
    .stats-container { padding-top: var(--space-md); }

    /* Filters — 2-col grid */
    .stats-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .stats-filter-group { min-width: 0; }
    .stats-search-group { grid-column: 1 / -1; }
    .stats-select, .stats-input { font-size: 0.75rem; padding: 5px 8px; min-width: 0; }
    .stats-toggle-btn { font-size: 0.6875rem; padding: 5px 8px; }
    .stats-count { font-size: 0.6875rem; }

    /* Stat table — mobile optimized */
    .stat-table { font-size: 0.75rem; }
    .stat-table thead th {
        font-size: 0.5625rem;
        padding: 7px 5px;
        letter-spacing: 0.03em;
    }
    .stat-table tbody td { padding: 7px 5px; }
    .stat-table .player-name { font-size: 0.75rem; }
    .team-cell { gap: 4px; }
    .team-logo-sm { width: 16px; height: 16px; }
    .team-cell .text-sm { font-size: 0.6875rem; max-width: 90px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
    .pos-cell { display: none; }
    .sort-col::after { margin-left: 2px; border-left-width: 3px; border-right-width: 3px; border-top-width: 3px; }

    /* Grids */
    .stats-grid-2, .stats-grid-3 { grid-template-columns: 1fr; gap: var(--space-md); }

    /* Milestones */
    .milestone-list { max-height: 400px; }
    .milestone-item { padding: 6px 10px; gap: 8px; }
    .milestone-name { font-size: 0.75rem; }
    .milestone-stat { font-size: 0.75rem; }
    .stats-sub-title { font-size: 0.75rem; }

    /* Compare hero */
    .cmp-hero { padding: var(--space-md); border-radius: 12px; }
    .cmp-hero-inner { grid-template-columns: 1fr; gap: var(--space-sm); }
    .cmp-vs-badge { justify-self: center; margin-top: 0; width: 40px; height: 40px; font-size: 1rem; }
    .cmp-pick-input { font-size: 0.8125rem; padding: 8px 12px; }
    .cmp-card-logo { width: 28px; height: 28px; }
    .cmp-card-name { font-size: 0.8125rem; }
    .cmp-card-stat span { font-size: 0.9375rem; }
    .cmp-card-quick { gap: 8px; }

    /* Compare bars */
    .cmp-stat-row { gap: 0; }
    .cmp-stat-val { width: 40px; font-size: 0.875rem; }
    .cmp-stat-left { padding-right: 6px; }
    .cmp-stat-right { padding-left: 6px; }
    .cmp-stat-label { flex: 0 0 60px; font-size: 0.4375rem; letter-spacing: 0.04em; }
    .cmp-bar-left, .cmp-bar-right { height: 22px; }
    .cmp-verdict-num { font-size: 2rem; }
    .cmp-verdict-text { font-size: 0.75rem; }

    /* Per game */
    .cmp-pg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cmp-pg-card { padding: 10px; }
    .cmp-pg-vals span { font-size: 1rem; }
    .cmp-pg-vals { gap: 16px; }

    /* Dropdown */
    .compare-dropdown { border-radius: 8px; }
    .compare-option { padding: 8px 10px; font-size: 0.75rem; }
    .compare-option img { width: 18px; height: 18px; }
}

/* Extra small — iPhone SE etc */
@media (max-width: 380px) {
    .stats-filters { grid-template-columns: 1fr; }
    .cmp-stat-label { flex: 0 0 48px; font-size: 0.375rem; }
    .cmp-stat-val { width: 32px; font-size: 0.75rem; }
    .team-cell .text-sm { max-width: 70px; }
}

/* ============================================================
   MOBILE OPTIMIZATION — GLOBAL (v4.9.0)
   ============================================================ */
@media (max-width: 768px) {
    /* Global hide-mobile */
    .hide-mobile { display: none !important; }

    /* Container padding */
    .container { padding-left: 16px; padding-right: 16px; }
    .section { padding: var(--space-xl) 0; }

    /* Touch targets — minimum 44px */
    .btn, button, a.btn { min-height: 44px; }
    .btn-sm { min-height: 36px; font-size: 0.8125rem; }

    /* Tables — horizontal scroll + compact */
    .stat-table { font-size: 0.75rem; }
    .stat-table th, .stat-table td { padding: 6px 8px; }
    .stat-table th:first-child, .stat-table td:first-child { padding-left: 10px; }

    /* Cards — tighter padding */
    .card-header { padding: 10px 14px; font-size: 0.8125rem; }
    .card-body { padding: 12px 14px; }
}

/* ============================================================
   MOBILE OPTIMIZATION — HOMEPAGE
   ============================================================ */
@media (max-width: 768px) {
    /* Featured game hero */
    .featured-game-bg { min-height: 220px; padding: var(--space-xl) var(--space-lg); }
    .featured-game-matchup { gap: var(--space-md); flex-wrap: wrap; justify-content: center; }
    .featured-team img { width: 48px !important; height: 48px !important; }
    .featured-team span { font-size: 0.8125rem; }
    .featured-score span { font-size: 2.25rem; }
    .featured-meta { font-size: 0.6875rem; }

    /* News grid stack */
    .news-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .news-featured-image { aspect-ratio: 16/9; }
    .news-featured-content { padding: var(--space-md); }
    .news-featured-content h3 { font-size: 1.125rem; }
    .news-headline { padding: 10px 0; }
    .news-headline-thumb-wrap { width: 60px; height: 60px; }

    /* Scoreboard scroll cards */
    .scoreboard-card { width: 150px; min-width: 150px; }
    .scoreboard-name { font-size: 0.6875rem; max-width: 80px; }
    .scoreboard-score { font-size: 0.9375rem; }

    /* Champions bar */
    .hp-champ { min-width: 140px; padding: 12px; }
    .hp-champ-name { font-size: 0.75rem; }

    /* Sidebar widgets — full-width on mobile */
    .sidebar-widget { border-radius: 12px; }
    .sidebar-leader { padding: 8px 12px; }
    .leader-name { font-size: 0.8125rem; }

    /* Player spotlight */
    .spotlight-card { flex-direction: column; gap: var(--space-md); }
    .spotlight-stats { justify-content: center; flex-wrap: wrap; }
    .spotlight-stat { min-width: 60px; }

    /* Broadcast cards */
    .broadcast-card { border-radius: 10px; }
    .broadcast-info { padding: 8px 10px; }
    .broadcast-title { font-size: 0.8125rem; }

    /* Stats bar */
    .stats-bar { flex-wrap: wrap; gap: var(--space-md); justify-content: center; }
    .stats-bar-item { flex: 0 0 30%; text-align: center; }
    .stats-bar-number { font-size: 1.5rem; }

    /* CTA section */
    .cta-content { flex-direction: column; text-align: center; gap: var(--space-lg); }
    .cta-text p { max-width: none; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   MOBILE OPTIMIZATION — GAME PAGE
   ============================================================ */
@media (max-width: 768px) {
    /* Scoreboard header — stack teams vertically on very small */
    .game-scoreboard-matchup {
        gap: var(--space-md);
    }

    /* Period scores table */
    .game-period-table td { padding: 2px 8px; font-size: 0.6875rem; }
}

@media (max-width: 480px) {
    /* Game page — compact score display */
    .font-feature[style*="font-size:4rem"],
    .font-feature[style*="font-size: 4rem"] {
        font-size: 2.75rem !important;
    }

    /* Scoring summary — compact layout */
    .scoring-play { padding: 8px 12px; gap: 8px; }

    /* Game info sidebar */
    .sidebar-widget .sidebar-title { font-size: 0.9375rem; }
}

/* ============================================================
   GAME PAGE — THREE STARS
   ============================================================ */
.three-stars {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}
.three-star-card {
    flex: 1;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: white;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.2s, transform 0.2s;
}
.three-star-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: var(--color-text);
}
.three-star-rank {
    font-family: var(--font-feature);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}
.three-star-rank.first { color: #f59e0b; font-size: 2rem; }
.three-star-rank.second { color: #94a3b8; }
.three-star-rank.third { color: #b45309; }
.three-star-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin: 0 auto var(--space-xs);
    display: block;
}
.three-star-name {
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.3;
}
.three-star-team {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}
.three-star-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    font-family: var(--font-feature);
    font-size: 0.875rem;
    font-weight: 700;
}
.three-star-stats small {
    font-size: 0.625rem;
    color: var(--color-text-muted);
    font-weight: 400;
}
@media (max-width: 640px) {
    .three-stars { flex-direction: column; gap: var(--space-sm); }
    .three-star-card { flex-direction: row; display: flex; align-items: center; gap: var(--space-md); text-align: left; padding: var(--space-md); }
    .three-star-rank { margin-bottom: 0; font-size: 1.25rem; flex-shrink: 0; width: 30px; }
    .three-star-rank.first { font-size: 1.5rem; }
    .three-star-stats { margin-top: 0; }
}

/* ============================================================
   GAME PAGE — PLAY-BY-PLAY TIMELINE
   ============================================================ */
.play-timeline {
    position: relative;
    padding: 0;
}
.play-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}
.play-event {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    position: relative;
}
.play-event-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    left: 15px;
    z-index: 1;
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--color-border);
}
.play-event-dot.goal { background: #dc2626; box-shadow: 0 0 0 1px #dc2626; }
.play-event-dot.penalty { background: #f59e0b; box-shadow: 0 0 0 1px #f59e0b; }
.play-event-dot.period { background: #6b7280; box-shadow: 0 0 0 1px #6b7280; }
.play-event-content {
    flex: 1;
    padding-left: var(--space-md);
    min-width: 0;
}
.play-event-time {
    font-family: var(--font-feature);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
}
.play-event-desc {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 2px;
}
.play-event-detail {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}
.play-event-score {
    font-family: var(--font-feature);
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--color-primary);
    flex-shrink: 0;
    align-self: center;
}
@media (max-width: 640px) {
    .play-timeline::before { left: 14px; }
    .play-event-dot { left: 9px; width: 10px; height: 10px; }
    .play-event-content { padding-left: var(--space-sm); }
}
