        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Readability-first base scale (14px) */
        html {
            font-size: 87.5%;
        }

        :root {
            --base-bg: #171a34;
            --base-bg-deep: #0d1122;
            --surface-elevated: rgba(18, 22, 44, 0.96);
            --primary: #6f86e6;
            --primary-dark: #8e69c8;
            --secondary: #b38adf;
            --danger: #ff4444;
            --warning: #ff8800;
            --caution: #ffd700;
            --success: #4caf50;
            --text-dark: #333;
            --text-light: #666;
            --text-muted: #999;
            --bg-light: #f8f9fa;
            --border-light: #e0e0e0;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
            --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
            --shadow-lg: 0 8px 30px rgba(0,0,0,0.25);
            --momentum-home: #3b82f6;
            --momentum-away: #ef4444;

            /* Signal System — Section Accents */
            --accent-warm: rgba(233, 176, 205, 0.26);
            --accent-cool: rgba(118, 154, 236, 0.24);
            --accent-neutral: rgba(245, 241, 255, 0.1);

            /* Signal System — Depth Tiers */
            --depth-primary-bg: rgba(8, 12, 28, 0.82);
            --depth-secondary-bg: rgba(14, 18, 36, 0.78);
            --depth-support-bg: rgba(20, 25, 46, 0.72);
            --depth-support-blur: 18px;
            --depth-support-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);

            /* Signal System — Rank Tinting */
            --rank-gold: rgba(255, 215, 0, 0.85);
            --rank-silver: rgba(192, 192, 192, 0.7);
            --rank-bronze: rgba(180, 140, 100, 0.6);

            /* Vertical rhythm: single source of truth for spacing between major sections */
            --section-gap: 12px;

            /* UI contract: spacing scale (6/12/18/24), typography, cards, motion. Exception: header-to-first-section uses --section-gap. */
            --space-6: 6px;
            --space-12: 12px;
            --space-18: 18px;
            --space-24: 24px;
            --gutter-mobile: 12px;
            --gutter-desktop: 14px;
            --text-muted-ui: rgba(255, 255, 255, 0.55);
            --radius-lg: 20px;
            --radius-sm: 12px;
            --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            --card-border: rgba(188, 196, 255, 0.16);
            --card-padding-mobile: 12px;
            --card-padding-desktop: 18px;
            --ease: cubic-bezier(0.4, 0, 0.2, 1);
            --duration-fast: 0.16s;
            --duration-normal: 0.22s;

            /* Breakpoints: mobile ≤499px, skinny 500px–768px, desktop 769px+. WYW + chip strip visible ≤768px. */
        }

        body {
            font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: var(--base-bg);
            min-height: 100vh;
            min-height: 100svh;
            padding: 14px;
            line-height: 1.5;
            position: relative;
        }

        @supports (min-height: 100dvh) {
            body {
                min-height: 100dvh;
            }
        }

        /* Overlay to darken background for better contrast */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: url('background.jpg') no-repeat center center / cover;
            z-index: -1;
            pointer-events: none;
        }

        body::after {
            content: '';
            position: fixed;
            inset: 0;
            background:
                linear-gradient(
                    180deg,
                    rgba(114, 96, 189, 0.28) 0%,
                    rgba(90, 128, 210, 0.22) 44%,
                    rgba(6, 10, 22, 0.55) 100%
                );
            z-index: 0;
            pointer-events: none;
        }

        /* Desktop: heavy gradient fade so atmospheric background only reads in the hero zone */
        @media (min-width: 769px) {
            body::after {
                background:
                    linear-gradient(
                        180deg,
                        rgba(114, 96, 189, 0.25) 0%,
                        rgba(90, 128, 210, 0.18) 32%,
                        rgba(23, 26, 52, 0.82) 55%,
                        rgba(23, 26, 52, 0.96) 74%,
                        rgba(23, 26, 52, 0.99) 100%
                    );
            }
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 var(--gutter-desktop);
            position: relative;
            z-index: 1;
        }

        /* Single card wrapper: owns all border/background/shadow so header and dropdown share one surface (no seam). Header-to-first-section gap = --section-gap (documented exception). */
        .header-card-wrapper {
            position: relative;
            z-index: 1000;
            overflow: hidden;
            border-radius: var(--radius-lg);
            border: 1px solid var(--card-border);
            box-shadow: var(--card-shadow);
            background: var(--depth-secondary-bg);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            margin-bottom: var(--section-gap);
        }

        /* Header Styles — structural only; wrapper provides card chrome */
        header {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
            align-items: center;
            column-gap: 12px;
            color: white;
            padding: 12px 20px;
            position: relative;
            z-index: 1;
            margin-bottom: 0;
        }

        /* When a panel or drawer is attached; kept for JS/state, no visual chrome (wrapper owns it) */
        header.panel-open {
            margin-bottom: 0;
        }

        .header-left,
        .header-right,
        .header-center {
            min-width: 0;
            display: flex;
            align-items: center;
        }

        .header-left {
            justify-content: flex-start;
            gap: 10px;
            overflow: hidden;
        }

        .header-right {
            justify-content: flex-end;
            gap: 10px;
            overflow: hidden;
        }

        .header-center {
            justify-content: center;
            overflow: visible;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: opacity 0.2s;
            min-width: 0;
            max-width: 100%;
            overflow: visible;
            padding: 2px 0;
        }

        .logo-container:hover {
            opacity: 0.85;
        }

        .logo-icon {
            display: block;
            height: 32px;
            width: auto;
            filter:
                drop-shadow(0 0 6px rgba(255, 255, 255, 0.45))
                drop-shadow(0 2px 6px rgba(255, 255, 255, 0.45));
        }

        .logo-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            line-height: 1;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        }

        .logo-text .vitus {
            color: #FFFFFF;
        }

        .logo-text .live {
            color: #FFFFFF;
        }

        .tagline {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.86rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.7);
            margin-left: 8px;
            padding-left: 8px;
            border-left: 1px solid rgba(255, 255, 255, 0.3);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: clamp(140px, 18vw, 280px);
        }

        .header-nav {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: nowrap;
            gap: 8px;
            min-width: 0;
            max-width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .header-nav::-webkit-scrollbar {
            display: none;
        }

        /* Header Panel Buttons */
        .header-panel-btn {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.86rem;
            font-weight: 500;
            color: white;
            background: transparent;
            border: none;
            padding: 6px 14px;
            cursor: pointer;
            transition: opacity 0.2s, background 0.2s;
            border-radius: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }

        .header-left .header-panel-btn {
            max-width: clamp(130px, 16vw, 260px);
        }

        .header-right .header-panel-btn {
            max-width: clamp(96px, 11vw, 180px);
        }

        .header-panel-btn:hover {
            opacity: 0.8;
            background: rgba(255, 255, 255, 0.1);
        }

        .header-panel-btn.active {
            background: rgba(255, 255, 255, 0.15);
        }

        /* Header Dropdown Panels — structural only; wrapper provides card chrome */
        .header-panel {
            max-height: 0;
            overflow: hidden;
            padding: 0;
            margin: 0;
            border: none;
            border-radius: 0;
            transition: max-height 0.18s cubic-bezier(0.2, 0, 0, 1), padding 0.18s cubic-bezier(0.2, 0, 0, 1);
            transform: translateZ(0);
            backface-visibility: hidden;
        }

        .header-panel.open {
            max-height: 80vh;
            padding: 14px 16px;
            margin-bottom: 0;
            overflow-y: auto;
        }

        #weeklyLeadersPanel.open {
            max-height: 84vh;
        }

        @media (max-width: 1200px) {
            header {
                padding: 10px 16px;
                column-gap: 10px;
            }
            .header-panel-btn {
                padding: 4px 10px;
                font-size: 0.86rem;
            }
            .header-nav {
                gap: 4px;
            }
            .header-left,
            .header-right {
                gap: 6px;
            }
            .tagline {
                display: none;
            }
        }

        @media (max-width: 1024px) {
            .header-panel-btn {
                font-size: 0.8rem;
                padding: 4px 8px;
            }
            .header-left .header-panel-btn {
                max-width: 170px;
            }
            .header-right .header-panel-btn {
                max-width: 130px;
            }
            .api-status {
                padding: 3px 9px;
            }
        }

        @media (max-width: 768px) {
            .header-card-wrapper {
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
            .header-panel.open {
                padding: 12px 10px;
                max-height: 70vh;
            }
            .tagline {
                display: none;
            }
        }

        .header-panel-content {
            max-width: 1400px;
            margin: 0 auto;
            opacity: 0;
            transition: opacity 0.12s ease;
        }

        .header-panel.open .header-panel-content {
            opacity: 1;
        }

        .header-panel-btn[data-marquee-active="1"]::after {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(74, 222, 128, 0.95);
            margin-left: 6px;
            vertical-align: middle;
        }

        .marquee-summary-line {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            gap: 6px;
            padding: var(--space-6) 20px;
            background: rgba(0, 0, 0, 0.35);
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9em;
            font-weight: 500;
            line-height: 1.25;
            cursor: pointer;
            border-radius: 0 0 var(--radius-sm) var(--radius-sm);
            margin-bottom: 10px;
            border: 1px solid var(--card-border);
            border-top: none;
            max-height: 60px;
            overflow: hidden;
            transition: max-height var(--duration-normal) var(--ease), padding var(--duration-normal) var(--ease), margin-bottom var(--duration-normal) var(--ease), opacity var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
        }
        .msl-logo {
            width: 20px;
            height: 20px;
            border-radius: 2px;
            object-fit: contain;
            flex-shrink: 0;
        }
        .msl-team {
            display: flex;
            align-items: center;
            gap: 4px;
            min-width: 0;
            flex-shrink: 1;
        }
        .msl-name {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .msl-score {
            font-weight: 700;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .msl-vs {
            opacity: 0.6;
            flex-shrink: 0;
        }
        .msl-meta {
            opacity: 0.65;
            font-size: 0.8em;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .marquee-summary-line:hover { color: white; }
        .marquee-summary-line.folded {
            max-height: 0;
            padding-top: 0;
            padding-bottom: 0;
            margin-bottom: 0;
            border-color: transparent;
            opacity: 0;
            pointer-events: none;
        }
        @media (min-width: 769px) {
            .marquee-summary-line { display: none !important; }
        }

        /* ── Desktop recommendation strip — mirrors mobile marqueeSummaryLine pill ── */
        /* Mobile already has the pill inside the drawer; strip is desktop-only */
        @media (max-width: 768px) {
            .main-marquee-strip { display: none !important; }
        }

        .main-marquee-strip {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            gap: 6px;
            padding: var(--space-6) 20px;
            background: rgba(0, 0, 0, 0.35);
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9em;
            font-weight: 500;
            line-height: 1.25;
            cursor: pointer;
            border-radius: 0 0 var(--radius-sm) var(--radius-sm);
            border: 1px solid var(--card-border);
            border-top: none;
            min-height: 44px;
            max-height: 60px;
            overflow: hidden;
            transition: max-height var(--duration-normal) var(--ease), padding var(--duration-normal) var(--ease), opacity var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease);
            user-select: none;
        }
        .main-marquee-strip[data-state="pending"] {
            opacity: 0.78;
            pointer-events: none;
        }
        .main-marquee-strip[data-state="hidden"] {
            max-height: 0;
            padding-top: 0;
            padding-bottom: 0;
            border-color: transparent;
            opacity: 0;
            pointer-events: none;
        }
        .main-marquee-strip:hover {
            background: rgba(0, 0, 0, 0.45);
            color: white;
        }
        .marquee-summary-line[data-rankings-state="degraded"],
        .main-marquee-strip[data-rankings-state="degraded"] {
            border-color: rgba(242, 190, 92, 0.34);
        }
        .marquee-summary-line[data-rankings-state="warning"],
        .main-marquee-strip[data-rankings-state="warning"] {
            border-color: rgba(244, 114, 114, 0.28);
        }
        .mms-badge {
            font-size: 0.72em;
            font-weight: 700;
            letter-spacing: 0.06em;
            padding: 2px 7px;
            border-radius: 4px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .mms-summary-copy {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
            flex: 1 1 auto;
            overflow: hidden;
        }
        .mms-network-status {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 3px 8px;
            border-radius: 999px;
            font-size: 0.68em;
            font-weight: 700;
            letter-spacing: 0.04em;
            white-space: nowrap;
            flex-shrink: 0;
            border: 1px solid transparent;
        }
        .mms-network-status--degraded {
            color: rgba(255, 225, 168, 0.96);
            background: rgba(242, 190, 92, 0.14);
            border-color: rgba(242, 190, 92, 0.28);
        }
        .mms-network-status--warning {
            color: rgba(254, 202, 202, 0.96);
            background: rgba(239, 68, 68, 0.12);
            border-color: rgba(248, 113, 113, 0.24);
        }
        .mms-badge--must-watch {
            background: rgba(210, 60, 40, 0.85);
            color: #fff;
        }
        .mms-badge--best-available {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
        }
        .mms-badge--pending {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.62);
        }
        .mms-placeholder-text {
            color: rgba(255, 255, 255, 0.62);
            letter-spacing: 0.01em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }


        .refresh-fail-banner {
            display: none;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: var(--space-6) var(--space-12);
            background: rgba(255, 170, 50, 0.12);
            border: 1px solid rgba(255, 170, 50, 0.25);
            border-radius: var(--radius-sm);
            margin: 0;
            font-size: 0.86rem;
            line-height: 1.3;
            color: rgba(255, 255, 255, 0.72);
        }
        .refresh-fail-banner.visible { display: flex; }
        .refresh-fail-banner button {
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.85);
            border-radius: 6px;
            padding: 4px 12px;
            font-size: 0.9em;
            cursor: pointer;
            white-space: nowrap;
            transition: background var(--duration-fast) var(--ease);
        }
        .refresh-fail-banner button:active { background: rgba(255, 255, 255, 0.2); }

        @keyframes spin { to { transform: rotate(360deg); } }

        /* Overlay to close panels */
        .header-panel-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.3);
            z-index: 998;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.14s ease;
            will-change: opacity;
        }

        .header-panel-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .api-status {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.86rem;
            font-family: 'Montserrat', sans-serif;
            font-weight: 500;
            padding: 4px 12px;
            background: rgba(0, 0, 0, 0.4);
            border-radius: 15px;
            border: 1px solid rgba(85, 55, 215, 0.2);
            transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }

        .api-status.state-connecting {
            background: rgba(20, 28, 38, 0.72);
            border-color: rgba(148, 163, 184, 0.45);
        }

        .api-status.state-connected {
            background: rgba(4, 120, 87, 0.22);
            border-color: rgba(34, 197, 94, 0.45);
        }

        .api-status.state-warning {
            background: rgba(120, 53, 15, 0.38);
            border-color: rgba(251, 191, 36, 0.75);
            color: #fde68a;
        }

        .api-status.state-error {
            background: rgba(127, 29, 29, 0.42);
            border-color: rgba(248, 113, 113, 0.8);
            color: #fecaca;
        }

        /* Footer */
        .site-footer {
            position: relative;
            z-index: 1;
            width: min(calc(100% - 28px), calc(1440px + (2 * var(--gutter-desktop))));
            margin: 0 auto 12px;
            text-align: center;
            padding: 6px 20px;
            border-top: 1px solid rgba(85, 55, 215, 0.15);
            font-size: 0.86rem;
            color: rgba(255, 255, 255, 0.7);
            overflow-wrap: anywhere;
        }

        #buildLabel:empty {
            display: none;
        }

        .last-update-mobile {
            display: none;
        }

        @media (max-width: 520px) {
            .site-footer #lastUpdate,
            .site-footer #lastUpdateSuffix {
                display: none !important;
            }
            .site-footer .last-update-mobile {
                display: inline;
            }
        }

        .status-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 5px;
            transition: background 0.3s;
        }

        .status-dot.connected {
            background: var(--success);
            animation: pulse-green 2s ease-in-out infinite;
        }

        .status-dot.connecting {
            background: #94a3b8;
            animation: pulse-neutral 1.8s ease-in-out infinite;
        }

        .status-dot.warning {
            background: #fbbf24;
            animation: pulse-warning 1.4s ease-in-out infinite;
        }

        .status-dot.error {
            background: var(--danger);
        }

        @keyframes pulse-green {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        @keyframes pulse-warning {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.45; }
        }

        @keyframes pulse-neutral {
            0%, 100% { opacity: 0.85; }
            50% { opacity: 0.35; }
        }
        /* Survey: dots B+D — one Live label per block (existing) + reduced motion for blink */
        @media (prefers-reduced-motion: reduce) {
            .status-dot.connected { animation: none !important; opacity: 0.85; }
        }


        /* Highlights row - Who's Hot + GamePoint using CSS Grid for clean layout */
        .highlights-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--section-gap);
            margin-bottom: 0;
            width: 100%;
        }

        @media (min-width: 769px) {
            .highlights-row {
                display: contents;
            }
        }

        .highlights-row > div:empty {
            display: none;
        }


        /* GamePoint Section - Critical Games */
        .gamepoint-section {
            background: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-radius: 0;
            padding: 18px;
            border: none;
            box-shadow: none;
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
            overflow: visible;
            animation: fadeIn 0.5s;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 100%;
        }

        /* Glossy top highlight - removed since no background panel */
        .gamepoint-section::before {
            display: none;
        }

        .gamepoint-title {
            font-size: clamp(1.5em, 4vw, 2em);
            font-weight: 800;
            color: var(--danger);
            text-align: center;
            margin-bottom: 18px;
        }

        .gamepoint-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
            align-items: stretch;
            width: 100%;
        }

        .gamepoint-card {
            border-radius: 16px;
            padding: 20px;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: visible;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 2px solid;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        .gamepoint-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: transparent;
            pointer-events: none;
            border-radius: 16px 16px 0 0;
            z-index: 1;
        }

        .gamepoint-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 16px;
            padding: 2px;
            background: transparent;
            pointer-events: none;
            opacity: 0.5;
        }

        .gamepoint-card:hover {
            transform: translateY(-4px) scale(1.02);
        }

        .gamepoint-card--lead {
            border-width: 2px;
            box-shadow:
                0 0 0 1px rgba(255, 255, 255, 0.12),
                0 18px 48px rgba(0, 0, 0, 0.42),
                inset 0 1px 0 rgba(255, 255, 255, 0.14);
        }

        .gamepoint-card--lead::before {
            opacity: 1;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 42%, transparent 64%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 56%);
        }

        /* RED: 0-3 points - Dark glass with red glow */
        .gamepoint-card.red {
            background: rgba(139, 0, 0, 0.45);
            border-color: #ff4444;
            color: white;
            animation: pulse-glow-red var(--pulse-duration, 1.5s) ease-in-out infinite;
            box-shadow:
                0 0 30px rgba(255, 68, 68, 0.4),
                0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .gamepoint-card.red.critical {
            animation: heartbeat-glow var(--pulse-duration, 1s) ease-in-out infinite;
        }

        .gamepoint-card.red.critical.police-siren {
            animation: siren-card-glow var(--pulse-duration, 0.5s) ease-in-out infinite;
        }

        /* GamePoint section: NO badge animations at all (only card border animates) */
        .gamepoint-section .gp-badge .badge {
            animation: none !important;
        }

        @keyframes pulse-glow-red {
            0%, 100% {
                box-shadow:
                    0 0 30px rgba(255, 68, 68, 0.4),
                    0 8px 32px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
            50% {
                box-shadow:
                    0 0 45px rgba(255, 68, 68, 0.6),
                    0 8px 32px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
        }

        @keyframes heartbeat-glow {
            0%, 100% {
                transform: scale(1);
                box-shadow:
                    0 0 40px rgba(255, 68, 68, 0.5),
                    0 8px 32px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
            25% {
                transform: scale(1.03);
                box-shadow:
                    0 0 60px rgba(255, 68, 68, 0.8),
                    0 12px 48px rgba(255, 68, 68, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
            }
            50% {
                transform: scale(1);
                box-shadow:
                    0 0 40px rgba(255, 68, 68, 0.5),
                    0 8px 32px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
        }

        @keyframes siren-card-glow {
            0% {
                transform: scale(1);
                box-shadow:
                    0 0 30px rgba(255, 68, 68, 0.4),
                    0 8px 32px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
            25% {
                transform: scale(1.02);
                box-shadow:
                    0 0 50px rgba(255, 68, 68, 0.7),
                    0 10px 40px rgba(255, 68, 68, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
            }
            50% {
                transform: scale(1);
                box-shadow:
                    0 0 30px rgba(59, 130, 246, 0.4),
                    0 8px 32px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
            75% {
                transform: scale(1.02);
                box-shadow:
                    0 0 50px rgba(59, 130, 246, 0.7),
                    0 10px 40px rgba(59, 130, 246, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
            }
            100% {
                transform: scale(1);
                box-shadow:
                    0 0 30px rgba(255, 68, 68, 0.4),
                    0 8px 32px rgba(0, 0, 0, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
        }

        /* Police Siren Badge Animation - Alternates RED then BLUE (more subtle) */
        @keyframes siren-badge-glow {
            0% { 
                box-shadow: 
                    0 0 15px rgba(255, 68, 68, 0.4);
            }
            25% {
                box-shadow: 
                    0 0 35px rgba(255, 68, 68, 0.8),
                    0 0 20px rgba(255, 68, 68, 0.6);
            }
            50% {
                box-shadow: 
                    0 0 15px rgba(59, 130, 246, 0.4);
            }
            75% {
                box-shadow: 
                    0 0 35px rgba(59, 130, 246, 0.8),
                    0 0 20px rgba(59, 130, 246, 0.6);
            }
            100% { 
                box-shadow: 
                    0 0 15px rgba(255, 68, 68, 0.4);
            }
        }

        .motion-shell {
            position: relative;
            isolation: isolate;
        }

        .motion-chrome {
            position: absolute;
            inset: 0;
            border-radius: inherit;
            overflow: hidden;
            pointer-events: none;
            z-index: 0;
        }

        .motion-overlay {
            position: absolute;
            inset: -18%;
            opacity: 0;
            pointer-events: none;
            mix-blend-mode: screen;
            will-change: auto;
        }

        /* Promote to compositor only during active motion animations */
        .motion-shell[data-motion-primary] .motion-overlay--primary,
        .motion-shell[data-motion-secondary] .motion-overlay--secondary {
            will-change: transform, opacity, filter;
        }

        .motion-shell[data-motion-primary="entered_overtime"] .motion-overlay--primary {
            background:
                linear-gradient(120deg, transparent 6%, rgba(255, 255, 255, 0.34) 36%, rgba(191, 219, 254, 0.52) 56%, transparent 84%),
                radial-gradient(circle at 50% 48%, rgba(226, 232, 240, 0.34), transparent 58%);
            animation: motionOvertimeWash 1050ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .motion-shell[data-motion-primary="late_lead_change"][data-motion-side="home"] .motion-overlay--primary {
            background: linear-gradient(90deg, transparent 12%, rgba(var(--motion-accent-rgb), 0.08) 24%, rgba(var(--motion-accent-rgb), 0.52) 50%, rgba(255, 255, 255, 0.28) 58%, transparent 80%);
            animation: motionSweepRight 850ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .motion-shell[data-motion-primary="late_lead_change"][data-motion-side="away"] .motion-overlay--primary {
            background: linear-gradient(270deg, transparent 12%, rgba(var(--motion-accent-rgb), 0.08) 24%, rgba(var(--motion-accent-rgb), 0.52) 50%, rgba(255, 255, 255, 0.28) 58%, transparent 80%);
            animation: motionSweepLeft 850ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .motion-shell[data-motion-primary="tension_peak_cross"] .motion-overlay--primary {
            background:
                radial-gradient(circle at 50% 50%, rgba(255, 244, 214, 0.2) 0%, rgba(251, 146, 60, 0.22) 18%, rgba(239, 68, 68, 0.5) 40%, transparent 70%);
            animation: motionHeatBloom 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .motion-shell[data-motion-primary="gamepoint_promoted"] .motion-overlay--primary {
            background:
                linear-gradient(180deg, transparent 10%, rgba(255, 214, 102, 0.16) 38%, rgba(255, 255, 255, 0.18) 54%, transparent 82%),
                radial-gradient(circle at 50% 112%, rgba(255, 86, 86, 0.48), transparent 54%);
            animation: motionPromoteIgnite 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .motion-shell[data-motion-primary="close_final"] .motion-overlay--primary {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 52%),
                linear-gradient(90deg, transparent 18%, rgba(255, 255, 255, 0.34) 50%, transparent 82%);
            animation: motionFinalSettle 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .motion-shell[data-motion-secondary="tension_critical_cross"] .motion-overlay--secondary {
            background: radial-gradient(circle at 50% 48%, rgba(255, 214, 102, 0.16), rgba(249, 115, 22, 0.22) 28%, rgba(239, 68, 68, 0.34) 48%, transparent 72%);
            animation: motionCriticalBloom 520ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .motion-shell[data-motion-secondary="upset_watch_entered"] .motion-overlay--secondary {
            background: linear-gradient(132deg, transparent 18%, rgba(255, 214, 102, 0.08) 34%, rgba(255, 214, 102, 0.34) 46%, rgba(255, 255, 255, 0.18) 54%, transparent 70%);
            animation: motionUpsetSweep 650ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .motion-shell[data-motion-primary="tension_peak_cross"] .gp-tension-badge,
        .motion-shell[data-motion-primary="tension_peak_cross"] .spotlight-tier.tier-peak,
        .motion-shell[data-motion-secondary="tension_critical_cross"] .gp-tension-badge,
        .motion-shell[data-motion-secondary="tension_critical_cross"] .spotlight-tier.tier-critical,
        .motion-shell[data-motion-secondary="tension_critical_cross"] .tension-score-badge.tier-critical,
        .motion-shell[data-motion-primary="tension_peak_cross"] .tension-score-badge.tier-peak {
            animation: motionBadgeBloom 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .spotlight-alert-badge--motion {
            animation: motionAlertBadgeFlare 650ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .gp-team-row--home .gp-score[data-score-state="recent_change"],
        .gp-team-row--home .gp-score[data-score-burst="score_change"],
        .spotlight-team-row--home .spotlight-score[data-score-state="recent_change"],
        .spotlight-team-row--home .spotlight-score[data-score-burst="score_change"],
        .team.home .team-score[data-score-state="recent_change"],
        .team.home .team-score[data-score-burst="score_change"] {
            --motion-score-rgb: var(--motion-home-rgb);
        }

        .gp-team-row--away .gp-score[data-score-state="recent_change"],
        .gp-team-row--away .gp-score[data-score-burst="score_change"],
        .spotlight-team-row--away .spotlight-score[data-score-state="recent_change"],
        .spotlight-team-row--away .spotlight-score[data-score-burst="score_change"],
        .team.away .team-score[data-score-state="recent_change"],
        .team.away .team-score[data-score-burst="score_change"] {
            --motion-score-rgb: var(--motion-away-rgb);
        }

        .gp-score[data-score-state="recent_change"] .score-main,
        .spotlight-score[data-score-state="recent_change"] .score-main,
        .team-score[data-score-state="recent_change"] .score-main {
            color: #ffffff;
            text-shadow: 0 0 12px rgba(255, 255, 255, 0.06);
        }

        /* ── Delta color coding: +1 chartreuse, +2 neon green, +3 spring green ── */
        .score-change-burst--live.delta-1 { color: #7FFF00; }
        .score-change-burst--live.delta-2 { color: #39FF14; }
        .score-change-burst--live.delta-3 { color: #00FF7F; }

        /* ── Score containers need positioning context for absolute burst text ── */
        .gp-score, .spotlight-score, .team-score {
            position: relative;
        }

        .gp-score[data-score-burst="score_change"] .score-change-burst--live,
        .spotlight-score[data-score-burst="score_change"] .score-change-burst--live,
        .team-score[data-score-burst="score_change"] .score-change-burst--live {
            animation: motionScoreBurst 1850ms cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-delay: var(--score-burst-delay, 0ms);
        }

        /* ── Mechanical Slot Reel score transition ── */
        .score-slot-container {
            display: inline-flex;
            align-items: center;
            line-height: 1;
            vertical-align: baseline;
            overflow: hidden;
            height: 1.1em; /* Clip to single digit height */
            position: relative;
            contain: layout style;
        }

        .score-slot-digit-static {
            display: inline-block;
            min-width: 0.6em;
            text-align: center;
        }

        .score-slot-digit {
            display: inline-block;
            position: relative;
            width: 0.6em;
            height: 1.1em;
            overflow: hidden;
        }

        .score-slot-reel {
            display: flex;
            flex-direction: column;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            animation: slotMachineSpin 550ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
            animation-delay: var(--score-burst-delay, 0ms);
            /* will-change set via animation — cleared automatically when animation ends */
        }

        .score-slot-num {
            display: block;
            height: 1.1em;
            line-height: 1.1em;
            text-align: center;
            min-width: 0.6em;
        }

        @keyframes slotMachineSpin {
            0% {
                transform: translateY(0);
                filter: blur(0);
            }
            30% {
                filter: blur(1px);
            }
            70% {
                filter: blur(0.5px);
            }
            100% {
                transform: translateY(-50%);
                filter: blur(0);
            }
        }

        /* ── Team row flash on score change ── */
        .gp-team-row[data-score-flash],
        .spotlight-team-row[data-score-flash] {
            animation: scoreRowFlash 1200ms ease-out both;
            border-radius: 6px;
        }
        .gp-team-row[data-score-flash="1"],
        .spotlight-team-row[data-score-flash="1"] {
            --flash-r: 127; --flash-g: 255; --flash-b: 0; /* chartreuse */
        }
        .gp-team-row[data-score-flash="2"],
        .spotlight-team-row[data-score-flash="2"] {
            --flash-r: 57; --flash-g: 255; --flash-b: 20; /* neon green */
        }
        .gp-team-row[data-score-flash="3"],
        .spotlight-team-row[data-score-flash="3"] {
            --flash-r: 0; --flash-g: 255; --flash-b: 127; /* spring green */
        }

        @keyframes scoreRowFlash {
            0% { background-color: transparent; }
            8% { background-color: rgba(var(--flash-r), var(--flash-g), var(--flash-b), 0.18); }
            20% { background-color: rgba(var(--flash-r), var(--flash-g), var(--flash-b), 0.10); }
            100% { background-color: transparent; }
        }

        .motion-shell[data-motion-state~="urgent_clock"] .gp-urgent-time,
        .motion-shell[data-motion-state~="urgent_clock"] .spotlight-time--urgent,
        .motion-shell[data-motion-state~="urgent_clock"] .stat-value--urgent {
            animation: motionUrgentClockBeat 1.35s ease-in-out infinite;
        }

        .momentum-bar--surge::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            pointer-events: none;
            clip-path: inset(0 round 7px);
            opacity: 0;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), rgba(var(--motion-accent-rgb), 0.28), transparent);
        }

        .momentum-bar--surge[data-motion-side="home"]::before {
            animation: motionMomentumSurgeHome 780ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .momentum-bar--surge[data-motion-side="away"]::before {
            animation: motionMomentumSurgeAway 780ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        .play-item--fresh-score {
            animation: motionPlayFlash 560ms cubic-bezier(0.2, 0.82, 0.25, 1) both;
        }

        @keyframes motionOvertimeWash {
            0% { opacity: 0; transform: translateY(12%) scale(1.04); filter: blur(24px); }
            28% { opacity: 0.75; }
            100% { opacity: 0; transform: translateY(-8%) scale(1); filter: blur(6px); }
        }

        @keyframes motionSweepRight {
            0% { opacity: 0; transform: translateX(-50%) skewX(-16deg) scaleX(0.72); }
            24% { opacity: 0.72; }
            100% { opacity: 0; transform: translateX(42%) skewX(-8deg) scaleX(1.08); }
        }

        @keyframes motionSweepLeft {
            0% { opacity: 0; transform: translateX(50%) skewX(16deg) scaleX(0.72); }
            24% { opacity: 0.72; }
            100% { opacity: 0; transform: translateX(-42%) skewX(8deg) scaleX(1.08); }
        }

        @keyframes motionHeatBloom {
            0% { opacity: 0; transform: scale(0.72); filter: blur(28px); }
            35% { opacity: 0.78; }
            100% { opacity: 0; transform: scale(1.12); filter: blur(8px); }
        }

        @keyframes motionCriticalBloom {
            0% { opacity: 0; transform: scale(0.8); filter: blur(20px); }
            40% { opacity: 0.68; }
            100% { opacity: 0; transform: scale(1.04); filter: blur(8px); }
        }

        @keyframes motionPromoteIgnite {
            0% { opacity: 0; transform: translateY(22%) scaleY(0.84); filter: blur(20px); }
            25% { opacity: 0.82; }
            100% { opacity: 0; transform: translateY(-8%) scaleY(1.02); filter: blur(8px); }
        }

        @keyframes motionFinalSettle {
            0% { opacity: 0; transform: translateY(-8%) scaleY(0.86); }
            34% { opacity: 0.58; }
            100% { opacity: 0; transform: translateY(0) scaleY(1); }
        }

        @keyframes motionBadgeBloom {
            0% { transform: scale(0.96); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
            38% { transform: scale(1.08); box-shadow: 0 0 24px rgba(255, 255, 255, 0.22); }
            100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
        }

        @keyframes motionAlertBadgeFlare {
            0% { transform: scale(0.96); box-shadow: 0 0 0 rgba(255, 214, 102, 0); }
            40% { transform: scale(1.1); box-shadow: 0 0 24px rgba(255, 214, 102, 0.32); }
            100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 214, 102, 0); }
        }

        @keyframes motionScoreUnderlineSweep {
            0% {
                opacity: 0;
                transform: scaleX(0.18);
            }
            18% {
                opacity: 1;
                transform: scaleX(1.04);
            }
            56% {
                opacity: 1;
                transform: scaleX(1);
            }
            100% {
                opacity: 0;
                transform: scaleX(0.72);
            }
        }

        @keyframes motionScorePop {
            0% {
                opacity: 0.82;
                transform: scale(0.94) translateY(4%);
                color: #ffffff;
                text-shadow: 0 0 0 rgba(255, 255, 255, 0);
            }
            30% {
                opacity: 1;
                transform: scale(1.05) translateY(0);
                color: #ffffff;
                text-shadow: 0 0 14px rgba(var(--motion-score-rgb), 0.14);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
                color: #fff;
                text-shadow: 0 0 0 rgba(255, 255, 255, 0);
            }
        }

        @keyframes motionScoreBurst {
            0% {
                opacity: 0;
                transform: translate(var(--score-burst-enter-x, 0%), var(--score-burst-enter-y, 0%)) scale(0.82);
            }
            12% {
                opacity: 1;
            }
            24% {
                opacity: 1;
                transform: translate(var(--score-burst-pop-x, 4%), var(--score-burst-pop-y, -12%)) scale(1.14);
            }
            74% {
                opacity: 1;
                transform: translate(var(--score-burst-hold-x, 6%), var(--score-burst-hold-y, -20%)) scale(1);
            }
            88% {
                opacity: 1;
                transform: translate(var(--score-burst-hold-x, 6%), var(--score-burst-hold-y, -20%)) scale(0.98);
            }
            100% {
                opacity: 0;
                transform: translate(var(--score-burst-exit-x, 8%), var(--score-burst-exit-y, -28%)) scale(1.24);
            }
        }

        @keyframes motionUrgentClockBeat {
            0%, 100% { transform: scale(1); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
            50% { transform: scale(1.03); box-shadow: 0 14px 30px rgba(255, 214, 102, 0.18); }
        }

        @keyframes motionMomentumSurgeHome {
            0% { opacity: 0; transform: translateX(-58%); }
            24% { opacity: 0.78; }
            100% { opacity: 0; transform: translateX(72%); }
        }

        @keyframes motionMomentumSurgeAway {
            0% { opacity: 0; transform: translateX(58%); }
            24% { opacity: 0.78; }
            100% { opacity: 0; transform: translateX(-72%); }
        }

        @keyframes motionPlayFlash {
            0% {
                transform: translateY(8%);
                background: rgba(255, 255, 255, 0.06);
                box-shadow: 0 0 0 rgba(255, 255, 255, 0);
            }
            32% {
                transform: translateY(0);
                background: rgba(255, 255, 255, 0.14);
                box-shadow: 0 0 22px rgba(255, 255, 255, 0.14);
            }
            100% {
                transform: translateY(0);
                background: rgba(255, 255, 255, 0.05);
                box-shadow: 0 0 0 rgba(255, 255, 255, 0);
            }
        }

        @keyframes motionUpsetSweep {
            0% { opacity: 0; transform: translateX(-28%) translateY(10%); }
            24% { opacity: 0.72; }
            100% { opacity: 0; transform: translateX(18%) translateY(-6%); }
        }

        html.motion-review-reduced .motion-overlay,
        html.motion-review-reduced .gp-score[data-score-burst="score_change"] .score-main,
        html.motion-review-reduced .spotlight-score[data-score-burst="score_change"] .score-main,
        html.motion-review-reduced .team-score[data-score-burst="score_change"] .score-main,
        html.motion-review-reduced .score-change-burst,
        html.motion-review-reduced .motion-shell[data-motion-state~="urgent_clock"] .gp-urgent-time,
        html.motion-review-reduced .motion-shell[data-motion-state~="urgent_clock"] .spotlight-time--urgent,
        html.motion-review-reduced .motion-shell[data-motion-state~="urgent_clock"] .stat-value--urgent,
        html.motion-review-reduced .spotlight-alert-badge--motion,
        html.motion-review-reduced .momentum-bar--surge::before,
        html.motion-review-reduced .play-item--fresh-score {
            animation: none !important;
            transition: none !important;
            transform: none !important;
        }

        html.motion-review-reduced .motion-shell[data-motion-primary],
        html.motion-review-reduced .motion-shell[data-motion-secondary] {
            box-shadow:
                0 0 0 1px rgba(var(--motion-accent-rgb), 0.28),
                0 14px 32px rgba(0, 0, 0, 0.22);
        }

        html.motion-review-reduced .gp-score[data-score-state="recent_change"] .score-main,
        html.motion-review-reduced .spotlight-score[data-score-state="recent_change"] .score-main,
        html.motion-review-reduced .team-score[data-score-state="recent_change"] .score-main,
        html.motion-review-reduced .gp-score[data-score-burst="score_change"] .score-main,
        html.motion-review-reduced .spotlight-score[data-score-burst="score_change"] .score-main,
        html.motion-review-reduced .team-score[data-score-burst="score_change"] .score-main {
            color: #ffffff;
            text-shadow: 0 0 16px rgba(var(--motion-score-rgb), 0.18);
        }

        html.motion-review-reduced .score-change-burst {
            opacity: 1;
            transform: translate(var(--score-burst-hold-x, 12%), var(--score-burst-hold-y, -8%));
        }

        html.motion-review-reduced .motion-shell[data-motion-state~="urgent_clock"] .gp-urgent-time,
        html.motion-review-reduced .motion-shell[data-motion-state~="urgent_clock"] .spotlight-time--urgent,
        html.motion-review-reduced .motion-shell[data-motion-state~="urgent_clock"] .stat-value--urgent {
            border-color: rgba(255, 214, 102, 0.42);
            box-shadow: 0 0 0 1px rgba(255, 214, 102, 0.16);
        }

        html.motion-review-reduced .spotlight-alert-badge--motion {
            box-shadow: 0 0 0 1px rgba(255, 214, 102, 0.36), 0 0 18px rgba(255, 214, 102, 0.18);
        }

        html.motion-review-reduced .play-item--fresh-score {
            background: rgba(255, 255, 255, 0.12);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        }

        @media (prefers-reduced-motion: reduce) {
            .motion-overlay,
            .gp-score[data-score-burst="score_change"] .score-main,
            .spotlight-score[data-score-burst="score_change"] .score-main,
            .team-score[data-score-burst="score_change"] .score-main,
            .score-change-burst,
            .motion-shell[data-motion-state~="urgent_clock"] .gp-urgent-time,
            .motion-shell[data-motion-state~="urgent_clock"] .spotlight-time--urgent,
            .motion-shell[data-motion-state~="urgent_clock"] .stat-value--urgent,
            .spotlight-alert-badge--motion,
            .momentum-bar--surge::before,
            .play-item--fresh-score {
                animation: none !important;
                transition: none !important;
                transform: none !important;
            }

            .motion-shell[data-motion-primary],
            .motion-shell[data-motion-secondary] {
                box-shadow:
                    0 0 0 1px rgba(var(--motion-accent-rgb), 0.28),
                    0 14px 32px rgba(0, 0, 0, 0.22);
            }

            .gp-score[data-score-state="recent_change"] .score-main,
            .spotlight-score[data-score-state="recent_change"] .score-main,
            .team-score[data-score-state="recent_change"] .score-main,
            .gp-score[data-score-burst="score_change"] .score-main,
            .spotlight-score[data-score-burst="score_change"] .score-main,
            .team-score[data-score-burst="score_change"] .score-main {
                color: #ffffff;
                text-shadow: 0 0 16px rgba(var(--motion-score-rgb), 0.18);
            }

            .score-change-burst {
                opacity: 1;
                transform: translate(var(--score-burst-hold-x, 12%), var(--score-burst-hold-y, -8%));
            }

            .motion-shell[data-motion-state~="urgent_clock"] .gp-urgent-time,
            .motion-shell[data-motion-state~="urgent_clock"] .spotlight-time--urgent,
            .motion-shell[data-motion-state~="urgent_clock"] .stat-value--urgent {
                border-color: rgba(255, 214, 102, 0.42);
                box-shadow: 0 0 0 1px rgba(255, 214, 102, 0.16);
            }

            .spotlight-alert-badge--motion {
                box-shadow: 0 0 0 1px rgba(255, 214, 102, 0.36), 0 0 18px rgba(255, 214, 102, 0.18);
            }

            .play-item--fresh-score {
                background: rgba(255, 255, 255, 0.12);
                box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
            }
        }

        /* ORANGE: 4-5 points - Dark glass with orange glow */
        .gamepoint-card.orange {
            background: rgba(139, 69, 0, 0.45);
            border-color: #ff8800;
            color: white;
            box-shadow:
                0 0 25px rgba(255, 136, 0, 0.4),
                0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .gamepoint-card.orange:hover {
            box-shadow:
                0 0 35px rgba(255, 136, 0, 0.6),
                0 12px 40px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }

        /* YELLOW: 6-9 points - Dark glass with yellow glow */
        .gamepoint-card.yellow {
            background: rgba(139, 115, 0, 0.45);
            border-color: #ffd700;
            color: white;
            box-shadow:
                0 0 20px rgba(255, 215, 0, 0.3),
                0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .gamepoint-card.yellow:hover {
            box-shadow:
                0 0 30px rgba(255, 215, 0, 0.5),
                0 12px 40px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
        }

        .gamepoint-card.yellow .gp-sport {
            background: rgba(0, 0, 0, 0.3);
        }

        .gp-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
            position: relative;
            z-index: 2;
        }

        .gp-sport {
            font-weight: 700;
            font-size: 0.9em;
            background: rgba(0, 0, 0, 0.3);
            padding: 6px 12px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .gp-header-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .gp-broadcast {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(96, 165, 250, 0.18));
            padding: 7px 12px;
            border-radius: 999px;
            font-size: 0.82em;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            border: 1px solid rgba(255, 255, 255, 0.24);
            color: rgba(255, 255, 255, 0.96);
            position: relative;
            z-index: 2;
            box-shadow:
                0 8px 18px rgba(8, 15, 36, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
        }

        .gp-broadcast--live {
            background: linear-gradient(135deg, rgba(255, 209, 102, 0.28), rgba(239, 68, 68, 0.22));
            border-color: rgba(255, 209, 102, 0.34);
        }

        .gp-matchup {
            margin: 15px 0;
        }

        .gp-team-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            margin: 8px 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            position: relative;
            z-index: 2;
        }

        .gamepoint-card.yellow .gp-team-row {
            background: rgba(255, 255, 255, 0.15);
        }

        /* Wide card: spans both columns on 2-column layouts */
        .gamepoint-card.wide {
            grid-column: span 2;
        }

        /* GAMEPOINT RESPONSIVE BREAKPOINTS */

        /* Large screens - 4 cards across */
        @media (min-width: 1400px) {
            .gamepoint-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            /* Wide card spans 2 of 4 on large screens */
            .gamepoint-card.wide {
                grid-column: span 2;
            }
        }

        /* Medium-large screens - 3 cards across */
        @media (max-width: 1399px) and (min-width: 1050px) {
            .gamepoint-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            /* Wide card spans all 3 on this breakpoint — only triggers for 1-card case */
            .gamepoint-card.wide {
                grid-column: span 2;
            }
        }

        /* Medium screens - 2 cards across */
        @media (max-width: 1049px) and (min-width: 700px) {
            .gamepoint-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
        }

        /* Small screens - keep 2-column grid so wide cards still work */
        @media (max-width: 699px) {
            .gamepoint-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            .gamepoint-card.wide {
                grid-column: span 2;
            }
            .gamepoint-card {
                padding: 16px;
            }
        }

        /* Extra small screens - more compact */
        @media (max-width: 480px) {
            .gamepoint-grid {
                gap: 10px;
            }

            .gamepoint-card {
                padding: 14px;
            }

            .gamepoint-title {
                font-size: 1.5em;
                margin-bottom: 12px;
            }
        }

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

        .gp-team-logo {
            width: 35px;
            height: 35px;
            object-fit: contain;
            flex-shrink: 0;
            /* Gentler glow to help dark logos pop against dark background */
            filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2)) 
                    drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
        }

        .gp-team-name {
            font-weight: 700;
            font-size: 1.05em;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .gp-score {
            font-size: 2em;
            font-weight: 800;
            flex-shrink: 0;
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            min-width: 1.8em;
            text-align: center;
            overflow: visible;
        }

        .gp-badge {
            text-align: center;
            margin-top: auto;
            padding-top: 15px;
            position: relative;
            z-index: 2;
        }

        .gp-badge .badge {
            display: inline-block;
            padding: 10px 18px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.85em;
            line-height: 1.5;
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            color: white;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        }

        .gp-urgent-time {
            margin-top: 12px;
            padding: 10px 12px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(255, 214, 102, 0.22), rgba(239, 68, 68, 0.2));
            border: 1px solid rgba(255, 214, 102, 0.26);
            color: #fff2c9;
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.1em;
            text-align: center;
            text-transform: uppercase;
            position: relative;
            z-index: 2;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
        }

        .gp-why-line {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.16);
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            color: rgba(255, 255, 255, 0.82);
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            position: relative;
            z-index: 2;
            text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
        }

        .spotlight-fallback {
            position: relative;
            padding: 20px 24px 20px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(188, 196, 255, 0.11);
            border-top: 1px solid rgba(245, 241, 255, 0.07);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 26%),
                var(--depth-support-bg);
            backdrop-filter: blur(var(--depth-support-blur));
            -webkit-backdrop-filter: blur(var(--depth-support-blur));
            box-shadow: var(--depth-support-shadow);
            overflow: hidden;
        }

        .spotlight-fallback::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%);
            pointer-events: none;
        }

        .spotlight-header,
        .spotlight-grid,
        .spotlight-empty,
        .spotlight-cta-ribbon {
            position: relative;
            z-index: 1;
        }

        .spotlight-title {
            margin: 0 0 4px;
            text-align: left;
            color: #f8fafc;
            font-size: clamp(1.35em, 3vw, 1.9em);
            font-weight: 800;
            letter-spacing: -0.01em;
        }

        .spotlight-header .spotlight-title {
            margin-bottom: 2px;
        }
        .spotlight-subtitle {
            margin: 0 0 10px;
            font-size: 0.9rem;
            line-height: 1.4;
            color: rgba(255, 255, 255, 0.62);
        }

        .spotlight-grid {
            display: grid;
            gap: 14px;
            align-items: stretch;
        }

        .spotlight-grid--count-1 {
            grid-template-columns: 1fr;
        }

        .spotlight-grid--count-2 {
            grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
        }

        .spotlight-grid--count-3 {
            grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
            grid-template-rows: repeat(2, minmax(0, 1fr));
        }

        .spotlight-grid--count-4 {
            grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
            grid-template-rows: repeat(2, minmax(0, 1fr));
        }

        .spotlight-grid--count-3 .spotlight-card--lead,
        .spotlight-grid--count-4 .spotlight-card--lead {
            grid-row: span 2;
            align-self: start;
            max-height: 320px;
        }

        /* Cards in "No GamePoint live right now" fallback only — muted surface language (not .gamepoint-card). */
        .spotlight-fallback .spotlight-card,
        .spotlight-card {
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-height: 184px;
            padding: 14px;
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255, 255, 255, 0.08);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
                var(--depth-support-bg);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.04),
                var(--depth-support-shadow);
        }

        .spotlight-card--lead {
            padding: 16px;
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
                linear-gradient(135deg, rgba(111, 134, 230, 0.16), transparent 52%),
                var(--depth-support-bg);
            border-color: rgba(166, 186, 255, 0.2);
            box-shadow:
                0 18px 36px rgba(0, 0, 0, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.06),
                0 0 0 1px rgba(255, 255, 255, 0.04);
        }

        .spotlight-card-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
        }

        .spotlight-card-flags {
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: 6px;
        }

        .spotlight-sport-pill,
        .spotlight-tier,
        .spotlight-alert-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            min-height: 24px;
            padding: 5px 8px;
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .spotlight-sport-pill {
            color: rgba(255, 255, 255, 0.82);
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .spotlight-tier {
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
        }

        .spotlight-alert-badge {
            color: #fff2b8;
            background: rgba(255, 214, 102, 0.18);
            border: 1px solid rgba(255, 214, 102, 0.34);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
        }

        .spotlight-tier.tier-building {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.88);
            border-color: rgba(255, 255, 255, 0.12);
        }

        .spotlight-tier.tier-high {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.9);
            border-color: rgba(255, 255, 255, 0.14);
        }

        .spotlight-tier.tier-critical,
        .spotlight-tier.tier-peak {
            background: rgba(239, 68, 68, 0.2);
            color: #fca5a5;
            border-color: rgba(239, 68, 68, 0.3);
        }

        .spotlight-matchup {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .spotlight-team-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

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

        .spotlight-team-logo {
            width: 30px;
            height: 30px;
            object-fit: contain;
            flex-shrink: 0;
            filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.18));
        }

        .spotlight-team-name {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 1rem;
            font-weight: 700;
            color: #ffffff;
        }

        .spotlight-score {
            flex-shrink: 0;
            font-size: 1.72rem;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.95);
            position: relative;
            display: inline-flex;
            min-width: 1.8em;
            text-align: center;
            align-items: center;
            justify-content: center;
            line-height: 1;
            overflow: visible;
        }

        .spotlight-time {
            margin-top: auto;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.56);
        }

        .spotlight-time--urgent {
            color: #fff2c9;
            font-weight: 800;
        }

        .spotlight-reason {
            font-size: 0.9rem;
            font-weight: 700;
            line-height: 1.3;
            color: rgba(255, 255, 255, 0.9);
        }

        .spotlight-context {
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.56);
        }

        .spotlight-card--urgent {
            border-color: rgba(255, 214, 102, 0.2);
            background:
                linear-gradient(180deg, rgba(255, 214, 102, 0.08), rgba(255, 255, 255, 0.03)),
                var(--depth-support-bg);
        }

        .spotlight-card--upset {
            box-shadow:
                inset 3px 0 0 rgba(255, 214, 102, 0.68),
                inset 0 1px 0 rgba(255, 255, 255, 0.04),
                var(--depth-support-shadow);
        }

        .spotlight-empty {
            min-height: 220px;
            display: flex;
            align-items: center;
            padding: 18px 20px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.03);
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
        }

        .spotlight-cta-ribbon {
            margin-top: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.03);
        }

        .spotlight-cta-copy {
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            text-transform: none;
            color: rgba(255, 255, 255, 0.58);
        }

        .spotlight-cta-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 6px;
        }

        .spotlight-cta-btn {
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.04);
            color: rgba(255, 255, 255, 0.88);
            border-radius: 999px;
            padding: 6px 12px;
            font-size: 0.75rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .spotlight-cta-btn:hover {
            background: rgba(255, 255, 255, 0.07);
            border-color: rgba(255, 255, 255, 0.12);
        }

        .spotlight-cta-btn--primary {
            background: rgba(111, 134, 230, 0.75);
            border-color: rgba(111, 134, 230, 0.4);
            color: #fff;
            padding: 8px 20px;
            font-size: 0.8rem;
            letter-spacing: 0.02em;
        }

        .spotlight-cta-btn--primary:hover {
            background: rgba(111, 134, 230, 0.88);
            border-color: rgba(111, 134, 230, 0.5);
        }

        @media (max-width: 1199px) {
            .spotlight-grid--count-4 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                grid-template-rows: auto;
            }

            .spotlight-grid--count-4 .spotlight-card--lead {
                grid-column: span 2;
                grid-row: span 1;
            }
        }

        @media (max-width: 980px) {
            .spotlight-grid--count-2,
            .spotlight-grid--count-3,
            .spotlight-grid--count-4 {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
            }

            .spotlight-grid--count-3 .spotlight-card--lead,
            .spotlight-grid--count-4 .spotlight-card--lead {
                grid-column: span 1;
                grid-row: span 1;
            }

            .spotlight-card--lead {
                padding: 18px;
            }

            .spotlight-cta-ribbon {
                flex-direction: column;
                align-items: flex-start;
            }

            .spotlight-cta-actions {
                justify-content: flex-start;
            }
        }

        @media (max-width: 768px) {
            .spotlight-fallback {
                display: none !important;
            }
        }

        /* Upcoming Games Banner — card system per UI contract */
        .upcoming-banner {
            background: var(--depth-support-bg);
            backdrop-filter: blur(var(--depth-support-blur));
            -webkit-backdrop-filter: blur(var(--depth-support-blur));
            border-radius: var(--radius-lg);
            padding: var(--card-padding-desktop);
            border: 1px solid var(--card-border);
            box-shadow: var(--depth-support-shadow);
            transition: transform var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
            position: relative;
            overflow: hidden;
            margin-bottom: 0;
            animation: fadeIn 0.5s;
        }
        
        /* Glossy top highlight */
        .upcoming-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: transparent;
            pointer-events: none;
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        }

        .banner-title {
            font-size: 1.3em;
            font-weight: 700;
            color: white;
            margin-bottom: 15px;
            padding-bottom: 11px;
            border-bottom: 3px solid transparent;
            text-align: center;
            cursor: pointer;
            user-select: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: border-bottom 0.2s ease;
        }

        .banner-title:hover {
            border-bottom-color: rgba(255, 255, 255, 0.2);
        }

        .banner-title .toggle-icon {
            transition: transform 0.3s ease;
        }

        .upcoming-banner.collapsed .banner-title {
            margin-bottom: 0;
        }

        .upcoming-banner.collapsed .banner-title .toggle-icon {
            transform: rotate(-90deg);
        }

        .upcoming-banner.collapsed .upcoming-sports {
            display: none;
        }

        .upcoming-sports {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
            gap: 15px;
        }

        .upcoming-sport {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .upcoming-sport-header {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 1.1em;
            margin-bottom: 10px;
            color: white;
        }

        .upcoming-games-list {
            font-size: 0.9em;
            color: rgba(255, 255, 255, 0.8);
        }

        /* ── Games Today panel: tabs ── */
        .gt-tabs {
            display: none;
            gap: 0;
            margin-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .gt-tab {
            flex: 1;
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.5);
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 0.9em;
            padding: 10px 0;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: color 0.2s, border-color 0.2s;
            min-height: 44px;
        }
        .gt-tab.active {
            color: white;
            border-bottom-color: rgba(85, 55, 215, 0.8);
        }
        .gt-tab:not(.active):hover { color: rgba(255, 255, 255, 0.7); }
        .gt-tab .gt-tab-count {
            font-size: 0.75em;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.35);
            margin-left: 4px;
        }
        .gt-tab.active .gt-tab-count { color: rgba(255, 255, 255, 0.5); }

        .gt-sport-panel { display: none; }
        .gt-sport-panel.active { display: block; }

        @media (max-width: 768px) {
            .gt-tabs { display: flex; }
            .gt-columns { display: none !important; }
        }
        @media (min-width: 769px) {
            .gt-tabs { display: none !important; }
            .gt-tabbed-content { display: none !important; }
        }

        /* ── Section micro-headers ── */
        .gt-section-label {
            font-size: 0.7em;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.3);
            padding: 8px 0 4px;
            margin-top: 4px;
        }
        .gt-section-label:first-child { margin-top: 0; }

        /* ── Live row highlight ── */
        .upcoming-game-item.live-game-item {
            background: rgba(255, 68, 68, 0.06);
            border-left: 2px solid rgba(255, 68, 68, 0.5);
            margin-left: -8px;
            padding-left: 26px;
            border-radius: 0 6px 6px 0;
        }

        .upcoming-game-item.live-game-item--urgent {
            background: linear-gradient(90deg, rgba(255, 214, 102, 0.12), rgba(255, 68, 68, 0.08));
            border-left-color: rgba(255, 214, 102, 0.8);
        }

        /* ── Hide broadcast tags inside the dropdown panel ── */
        .header-panel .broadcast-tag { display: none; }

        /* ── Tighter time column inside the dropdown ── */
        .header-panel .upcoming-game-time {
            min-width: 90px;
        }

        .upcoming-game-item {
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }
        
        .upcoming-game-item {
            padding-left: 20px;
        }

        .upcoming-game-item:last-child {
            border-bottom: none;
        }

        .upcoming-game-teams {
            font-weight: 600;
            flex: 1;
            color: white;
            display: grid;
            grid-template-columns: auto minmax(60px, 1fr) auto auto auto minmax(60px, 1fr) auto;
            align-items: center;
            gap: 6px;
            font-size: 0.95em;
            min-width: 0;
        }

        /* Ensure live games use the exact same grid layout */
        .live-game-item .upcoming-game-teams {
            display: grid;
            grid-template-columns: auto minmax(60px, 1fr) auto auto auto minmax(60px, 1fr) auto;
            gap: 6px;
            align-items: center;
        }

        /* Ensure completed games use the exact same grid layout */
        .completed-game-item .upcoming-game-teams {
            display: grid;
            grid-template-columns: auto minmax(60px, 1fr) auto auto auto minmax(60px, 1fr) auto;
            gap: 6px;
            align-items: center;
        }

        /* Rank badge containers for symmetry */
        .rank-container-away {
            display: flex;
            justify-content: flex-start; /* Left-align: badge hugs away team name */
            min-width: 20px;
            flex-shrink: 0;
        }

        .rank-container-home {
            display: flex;
            min-width: 20px; /* Just a spacer for symmetry - badges now inside team-logos */
            flex-shrink: 0;
        }

        /* Home team rank badges appear INSIDE team-logos, so add small left margin */
        .team-logos .rank-badge {
            margin-left: 2px;
        }

        /* Hide rank containers for non-college sports */
        .sport-section:not([data-sport="ncaa"]) .rank-container-away,
        .sport-section:not([data-sport="ncaa"]) .rank-container-home,
        .upcoming-sport:not([data-sport="ncaa"]) .rank-container-away,
        .upcoming-sport:not([data-sport="ncaa"]) .rank-container-home {
            display: none;
        }

        /* Adjust grid when rank containers are hidden */
        .sport-section:not([data-sport="ncaa"]) .upcoming-game-teams,
        .sport-section:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
        .sport-section:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams,
        .upcoming-sport:not([data-sport="ncaa"]) .upcoming-game-teams,
        .upcoming-sport:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
        .upcoming-sport:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams {
            grid-template-columns: minmax(60px, 1fr) auto auto auto minmax(60px, 1fr);
        }

        /* RESPONSIVE BREAKPOINTS - Prevent grid collapse at narrow widths */
        /* Transitions start earlier with buffer zones to prevent broken states */
        
        /* Medium screens - reduce gap and adjust spacing */
        @media (max-width: 900px) {
            .upcoming-game-teams,
            .live-game-item .upcoming-game-teams,
            .completed-game-item .upcoming-game-teams {
                grid-template-columns: auto minmax(50px, 1fr) auto auto auto minmax(50px, 1fr) auto;
                gap: 4px;
                font-size: 0.9em;
            }
            
            .sport-section:not([data-sport="ncaa"]) .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams {
                grid-template-columns: minmax(50px, 1fr) auto auto auto minmax(50px, 1fr);
            }
            
            .score-separator {
                padding: 0 6px;
            }
        }
        
        /* Small screens - more compact layout - START EARLIER */
        @media (max-width: 800px) {
            .upcoming-game-teams,
            .live-game-item .upcoming-game-teams,
            .completed-game-item .upcoming-game-teams {
                grid-template-columns: auto minmax(45px, 1fr) auto auto auto minmax(45px, 1fr) auto;
                gap: 3px;
                font-size: 0.88em;
            }
            
            .sport-section:not([data-sport="ncaa"]) .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams {
                grid-template-columns: minmax(45px, 1fr) auto auto auto minmax(45px, 1fr);
            }
            
            .mini-logo {
                width: 18px;
                height: 18px;
            }
            
            .today-score {
                font-size: 1em;
                width: 32px;
                min-width: 32px;
                max-width: 32px;
            }
            
            .score-spacer {
                width: 32px;
                min-width: 32px;
                max-width: 32px;
            }
            
            .score-separator {
                width: 16px;
                min-width: 16px;
                max-width: 16px;
                padding: 0 4px;
            }
        }
        
        /* Tighter compact for very problematic zone */
        @media (max-width: 680px) {
            .upcoming-game-teams,
            .live-game-item .upcoming-game-teams,
            .completed-game-item .upcoming-game-teams {
                grid-template-columns: auto minmax(35px, 1fr) auto auto auto minmax(35px, 1fr) auto;
                gap: 2px;
                font-size: 0.82em;
            }
            
            .sport-section:not([data-sport="ncaa"]) .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams {
                grid-template-columns: minmax(35px, 1fr) auto auto auto minmax(35px, 1fr);
            }
            
            .team-name-text {
                max-width: 40px; /* Force truncation before it wraps */
            }
            
            .rank-container-away,
            .rank-container-home {
                min-width: 28px;
            }
        }
        
        /* Extra small screens - hide team names, keep logos only */
        @media (max-width: 560px) {
            .team-name-text {
                display: none;
            }
            
            /* Also hide rank badges inside team-logos since team names are gone */
            .team-logos .rank-badge {
                display: none;
            }
            
            .upcoming-game-teams,
            .live-game-item .upcoming-game-teams,
            .completed-game-item .upcoming-game-teams {
                grid-template-columns: auto auto auto auto auto auto auto;
                gap: 8px;
            }
            
            .sport-section:not([data-sport="ncaa"]) .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .sport-section:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .live-game-item .upcoming-game-teams,
            .upcoming-sport:not([data-sport="ncaa"]) .completed-game-item .upcoming-game-teams {
                grid-template-columns: auto auto auto auto auto;
            }
            
            .team-logos {
                min-width: auto;
            }
        }
        
        /* Ultra-narrow screens - absolute minimum layout */
        @media (max-width: 420px) {
            .mini-logo {
                width: 16px;
                height: 16px;
            }
            
            .today-score {
                font-size: 0.95em;
                width: 28px;
                min-width: 28px;
                max-width: 28px;
            }
            
            .score-spacer {
                width: 28px;
                min-width: 28px;
                max-width: 28px;
            }
            
            .score-separator {
                width: 12px;
                min-width: 12px;
                max-width: 12px;
                padding: 0 2px;
            }
            
            .upcoming-game-teams,
            .live-game-item .upcoming-game-teams,
            .completed-game-item .upcoming-game-teams {
                gap: 6px;
            }
            
            .rank-container-away,
            .rank-container-home {
                min-width: 24px;
            }
        }

        /* 360px viewport pass — prevent overlap and horizontal scroll */
        @media (max-width: 360px) {
            .mini-logo {
                width: 14px;
                height: 14px;
            }
            .today-score {
                font-size: 0.9em;
                width: 24px;
                min-width: 24px;
                max-width: 24px;
            }
            .score-spacer {
                width: 24px;
                min-width: 24px;
                max-width: 24px;
            }
            .score-separator {
                width: 10px;
                min-width: 10px;
                max-width: 10px;
                padding: 0 1px;
            }
            .upcoming-game-teams,
            .live-game-item .upcoming-game-teams,
            .completed-game-item .upcoming-game-teams {
                gap: 4px;
            }
            .rank-container-away,
            .rank-container-home {
                min-width: 20px;
                font-size: 0.7em;
            }
            .upcoming-game-time {
                min-width: 100px;
                font-size: 0.78em;
            }
        }

        .team-logos {
            display: flex;
            gap: 5px;
            align-items: center;
            min-width: 0;
        }
        
        .team-logos:first-child {
            justify-content: flex-start;
        }
        
        .team-logos:last-child {
            justify-content: flex-end;
        }
        
        .team-name-text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            min-width: 0; /* Allow text to shrink */
        }

        .mini-logo {
            width: 20px;
            height: 20px;
            object-fit: contain;
            /* Gentle glow for visibility */
            filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.25));
        }

        .upcoming-game-time {
            font-size: 0.85em;
            color: rgba(255, 255, 255, 0.6);
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: center;
            gap: 4px;
            flex-shrink: 0;
            min-width: 140px;
        }

        .time-info {
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

        .time-info--urgent {
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #fff2c9;
        }
        
        .status-tags {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .upcoming-game-time .live-indicator {
            color: #ff4444; /* Red for LIVE text */
            font-weight: 700;
            white-space: nowrap;
        }

        .upcoming-game-time .final-indicator {
            color: #999; /* Grey for FINAL text */
            font-weight: 700;
            white-space: nowrap;
        }

        .broadcast-tag {
            display: inline-block;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(111, 134, 230, 0.42));
            color: white;
            padding: 4px 8px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            font-size: 0.72em;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            white-space: nowrap;
            max-width: 80px;
            overflow: hidden;
            text-overflow: ellipsis;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        .no-upcoming {
            color: rgba(255, 255, 255, 0.5);
            font-style: italic;
            text-align: center;
            padding: 10px;
        }

        /* Live and Final Game Indicators */

        .final-indicator {
            color: rgba(255, 255, 255, 0.7);
            font-weight: 700;
            font-size: 0.85em;
        }

        .game-score {
            font-weight: 700;
            color: #4caf50;
            margin-left: 5px;
            font-size: 1.1em;
        }

        /* Games Today section scores - perfect symmetry */
        .today-score {
            font-weight: 700;
            color: #4caf50;
            font-size: 1.1em;
            width: 36px;
            min-width: 36px;
            max-width: 36px;
            text-align: center;
            flex-shrink: 0;
        }

        /* Center the dash between scores - PERFECT SYMMETRY */
        .score-separator {
            font-weight: 600;
            color: rgba(255, 255, 255, 0.5);
            width: 20px;
            min-width: 20px;
            max-width: 20px;
            text-align: center;
            flex-shrink: 0;
            margin: 0;
            padding: 0 10px;
        }

        /* Spacer elements for upcoming games - matches score width for perfect dash centering */
        .score-spacer {
            width: 36px;
            min-width: 36px;
            max-width: 36px;
            flex-shrink: 0;
        }

        .live-game-item .today-score {
            color: #4caf50; /* Green for live games */
        }

        .completed-game-item .today-score {
            color: #999; /* Grey for completed games */
        }

        /* Sport Sections — card system per UI contract */
        .sport-section {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
                rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: var(--radius-lg);
            padding: var(--card-padding-desktop);
            border: 1px solid var(--card-border);
            box-shadow: var(--card-shadow);
            transition: transform var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
            position: relative;
            overflow: hidden;
            margin-bottom: 0;
            animation: fadeIn 0.5s;
            width: 100%;
            max-width: 100%;
            margin-left: auto;
            margin-right: auto;
        }

        #sportsContainer {
            display: flex;
            flex-direction: column;
            gap: var(--section-gap);
        }

        @media (min-width: 769px) {
            #sportsContainer {
                gap: 16px;
            }

            .sport-section {
                max-width: 100%;
                margin-left: auto;
                margin-right: auto;
            }

            .sport-section + .sport-section {
                position: relative;
            }

            .sport-section + .sport-section::after {
                content: '';
                position: absolute;
                top: 0;
                left: 18px;
                right: 18px;
                height: 1px;
                background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
                pointer-events: none;
            }
        }
        
        /* Glossy top highlight */
        .sport-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: transparent;
            pointer-events: none;
            border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        }
        
        .sport-section.collapsed .games-grid {
            display: none;
        }
        
        .sport-section.collapsed .no-games {
            display: none;
        }

        .sport-header {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            margin-bottom: 14px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            gap: 10px;
        }
        
        .sport-section.collapsed .sport-header {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .sport-title {
            font-size: clamp(1.3em, 3vw, 1.8em);
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            width: 100%;
            gap: 6px;
        }
        .sport-title-center {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .sport-title-right {
            display: none;
        }

        .player-section-header {
            margin-bottom: 18px;
            gap: 12px;
        }

        .player-section-controls {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .player-section-controls .player-status-segments {
            width: 100%;
            padding-bottom: 4px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        }

        .player-status-segment {
            display: flex;
            justify-content: center;
            grid-template-columns: none;
        }

        .player-status-spacer {
            display: none;
        }

        .sport-icon {
            font-size: 1.2em;
        }

        .sport-status-segments {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0;
            overflow: hidden;
            padding-bottom: 2px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        }
        .sport-status-segment {
            border: none;
            border-radius: 0;
            border-bottom: 2px solid transparent;
            background: transparent;
            color: rgba(255, 255, 255, 0.74);
            padding: 8px 12px 9px;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.82rem;
            font-weight: 600;
            line-height: 1;
            cursor: pointer;
            transition: color 0.2s, border-color 0.2s, background-color 0.2s;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            justify-items: center;
            min-width: 0;
            width: 100%;
        }
        .sport-status-segment:not(.is-disabled):hover {
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.04);
        }
        .sport-status-segment.active {
            border-bottom-color: color-mix(in srgb, var(--primary) 78%, #fff 22%);
            background: rgba(255, 255, 255, 0.03);
            color: #fff;
        }
        .sport-status-segment.is-disabled {
            opacity: 0.58;
            cursor: default;
        }
        .sport-status-segment:focus-visible {
            outline: 2px solid color-mix(in srgb, var(--primary) 72%, #ffffff 28%);
            outline-offset: 2px;
        }
        .sport-status-label {
            grid-column: 2;
            letter-spacing: 0.01em;
            text-align: center;
        }
        .sport-status-count {
            grid-column: 3;
            justify-self: start;
            margin-left: 8px;
            min-width: 18px;
            height: 18px;
            padding: 0 6px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.72rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.72);
            background: rgba(255, 255, 255, 0.12);
        }
        .sport-status-segment.active .sport-status-count {
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.18);
        }
        .sport-status-context {
            width: 100%;
            font-size: 0.78rem;
            color: rgba(255, 255, 255, 0.58);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.3;
        }
        .sport-status-empty {
            margin: 10px 0 0;
            padding: 12px 14px;
            border-radius: 10px;
            color: rgba(255, 255, 255, 0.64);
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 0.86rem;
        }
        .just-finished-note {
            margin: 0 0 10px;
            padding: 4px 8px;
            border-radius: 8px;
            width: fit-content;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.78);
            background: rgba(255, 255, 255, 0.08);
        }
        .status-filter-hidden {
            display: none !important;
        }

        /*
         * Game card grid — 4 explicit sizes:
         *   mobile (1 col)  → 1/2 (2 col)  → 1/3 (3 col)  → 1/4 (4 col)
         * Card-count classes cap the max columns so 3 cards never show 4 tracks.
         */
        /*
         * Game card grid — 4 explicit sizes.
         * The 4-across card is the absolute minimum width at ~300px.
         * Viewport fallbacks include outer body/section padding, so they fire a bit early.
         *
         *   < 680px   → 1 col
         *   680px+    → 2 col
         *   1000px+   → 3 col
         *   1265px+   → 4 col
         */
        .games-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }

        @media (min-width: 680px) {
            .games-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (min-width: 1000px) {
            .games-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (min-width: 1265px) {
            .games-grid { grid-template-columns: repeat(4, 1fr); }
        }

        /* Featured layout when filter yields ≤2 games (home page) */
        .games-grid--featured {
            grid-template-columns: repeat(auto-fit, minmax(260px, 480px));
            justify-content: center;
        }

        /* 3 cards: fill full width, 1/3 each at desktop */
        .ggl.gg3 {
            grid-template-columns: 1fr;
        }
        @media (min-width: 680px) {
            .ggl.gg3 { grid-template-columns: repeat(2, 1fr); }
        }
        @media (min-width: 1000px) {
            .ggl.gg3 { grid-template-columns: repeat(3, 1fr); }
        }

        /*
         * 1–2 cards: double-width cards, center-aligned.
         * Each card stretches to ~50% of the section to fill space properly.
         */
        .ggl.ggw {
            grid-template-columns: 1fr;
            justify-content: center;
        }
        @media (min-width: 680px) {
            .ggl.ggw {
                grid-template-columns: repeat(2, 1fr);
            }
            .ggl.ggw.gg1 {
                grid-template-columns: minmax(0, 1fr);
                max-width: 50%;
                margin-left: auto;
                margin-right: auto;
            }
        }

        @supports (container-type: inline-size) {
            .sport-section {
                container-type: inline-size;
            }

            /*
             * Route grids use the actual sport-section width, not the viewport.
             * Thresholds are derived from a hard 300px minimum card floor with a 15px gap.
             *
             * 2 cols: 2 * 300 + 15  = 615px
             * 3 cols: 3 * 300 + 30  = 930px
             * 4 cols: 4 * 300 + 45  = 1245px
             */
            .games-grid.ggl {
                grid-template-columns: 1fr;
            }

            @container (min-width: 615px) {
                .games-grid.ggl {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }

                /* 1–2 cards: double-width center-aligned */
                .games-grid.ggl.ggw {
                    grid-template-columns: repeat(2, minmax(0, 1fr));
                }
                .games-grid.ggl.ggw.gg1 {
                    grid-template-columns: minmax(0, 1fr);
                    max-width: 50%;
                    margin-left: auto;
                    margin-right: auto;
                }
            }

            @container (min-width: 930px) {
                /* 3 cards fill at 1/3 each */
                .games-grid.ggl.gg3 {
                    grid-template-columns: repeat(3, minmax(0, 1fr));
                }

                .games-grid.ggl:not(.ggw):not(.gg3) {
                    grid-template-columns: repeat(3, minmax(0, 1fr));
                }
            }

            @container (min-width: 1245px) {
                .games-grid.ggl:not(.ggw):not(.gg3) {
                    grid-template-columns: repeat(4, minmax(0, 1fr));
                }
            }
        }

        .game-card {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
                rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 15px;
            transition: all 0.3s;
            border: 2px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            position: relative;
            overflow: visible;
            display: flex;
            flex-direction: column;
            min-height: 300px;
            width: 100%;
            min-width: 0;
            max-width: 100%;
        }
        
        /* Live card hero treatment */
        .game-card.is-live {
            background:
                linear-gradient(180deg, rgba(255, 111, 111, 0.12), rgba(255, 255, 255, 0.05)),
                rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.28);
            animation: liveAccentPulse 4s ease-in-out infinite;
        }

        .game-card--state-live::after,
        .game-card--state-upcoming::after,
        .game-card--state-final::after {
            content: '';
            position: absolute;
            left: 14px;
            right: 14px;
            top: 0;
            height: 2px;
            border-radius: 999px;
            pointer-events: none;
            opacity: 0.9;
        }

        .game-card--state-live::after {
            background: linear-gradient(90deg, rgba(255, 214, 102, 0.18), rgba(255, 89, 94, 0.92), rgba(255, 214, 102, 0.18));
        }

        .game-card--state-upcoming {
            background:
                linear-gradient(180deg, rgba(111, 134, 230, 0.12), rgba(255, 255, 255, 0.04)),
                rgba(255, 255, 255, 0.09);
            border-color: rgba(166, 186, 255, 0.18);
        }

        .game-card--state-upcoming::after {
            background: linear-gradient(90deg, rgba(111, 134, 230, 0.15), rgba(166, 186, 255, 0.86), rgba(111, 134, 230, 0.15));
        }

        .game-card--state-final {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
                rgba(255, 255, 255, 0.06);
        }

        .game-card--state-final::after {
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08));
        }

        .game-card--urgent .status-text {
            color: #fff2c9;
            text-shadow: 0 0 12px rgba(255, 214, 102, 0.24);
        }
        @keyframes liveAccentPulse {
            0%, 100% { border-color: rgba(255, 255, 255, 0.28); }
            50% { border-color: rgba(255, 255, 255, 0.18); }
        }
        @media (prefers-reduced-motion: reduce) {
            .status-dot.connected,
            .gamepoint-card.red.critical,
            .gamepoint-card.red.critical.police-siren,
            .no-games.is-loading p,
            .loading-spinner,
            .game-card.is-live,
            .momentum-bar--flow::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            .game-card.is-live {
                border-color: rgba(255, 255, 255, 0.25);
            }
            .momentum-bar--flow::after {
                opacity: 0.18;
            }
        }

        /* Frutiger Aero glossy top shine */
        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: transparent;
            border-radius: 12px 12px 0 0;
            pointer-events: none;
            z-index: 1;
        }

        /* Recent plays overlay on hover — pointer-events: none so Share/Data buttons stay clickable */
        .plays-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.95);
            border-radius: 12px;
            padding: 15px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 100; /* High z-index to ensure it's above momentum indicator */
            display: flex;
            flex-direction: column;
            overflow: hidden;
            pointer-events: none;
            will-change: opacity;
            transform: translateZ(0);
            backface-visibility: hidden;
            contain: paint;
        }
        .plays-overlay .plays-list,
        .plays-overlay .plays-overlay-header,
        .plays-overlay .no-plays {
            pointer-events: auto;
        }

        @media (hover: hover) and (pointer: fine) {
            .game-card:not(.mobile-condensed):hover .plays-overlay,
            .game-card.is-hover-preview:not(.mobile-condensed) .plays-overlay {
                opacity: 1;
                visibility: visible;
            }
        }

        .plays-overlay-header {
            font-size: 0.85em;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .plays-list {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
            overflow: hidden;
        }

        .play-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 8px 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border-left: 3px solid var(--primary);
        }

        .play-item.scoring {
            border-left-color: #4ade80;
            background: rgba(74, 222, 128, 0.1);
        }

        /* Team colors will be set inline to match momentum bar */
        .play-item.home-team {
            /* Color set inline */
        }

        .play-item.away-team {
            /* Color set inline */
        }

        .play-time {
            font-size: 0.75em;
            color: rgba(255, 255, 255, 0.5);
            font-weight: 600;
            display: block;
        }
        
        .play-time-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
            min-width: 45px;
        }
        
        .play-team-abbr {
            font-size: 0.65em;
            color: rgba(255, 255, 255, 0.35);
            font-weight: 700;
            text-transform: uppercase;
        }

        .play-text {
            flex: 1;
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.3;
        }

        .play-score {
            font-size: 0.75em;
            font-weight: 700;
            color: #4ade80;
            white-space: nowrap;
        }

        .no-plays {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.85em;
        }

        .game-card.gamepoint {
            background: rgba(255, 68, 68, 0.2);
            border-color: var(--danger);
        }

        .game-card.heat-yellow {
            border-color: var(--caution);
            background: rgba(255, 215, 0, 0.1);
        }

        .game-card.heat-orange {
            border-color: var(--warning);
            background: rgba(255, 136, 0, 0.15);
        }

        .game-card.heat-red {
            border-color: var(--danger);
            background: rgba(255, 68, 68, 0.2);
        }

        @keyframes pulse-border {
            0%, 100% { border-color: var(--danger); }
            50% { border-color: #ff8888; }
        }

        .game-card.interesting {
            border-color: var(--warning);
        }

        .game-card.comeback {
            border-color: #9333ea; /* Purple */
            background: rgba(147, 51, 234, 0.28);
        }

        .game-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .game-header-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            min-height: 44px;
        }
        .share-icon-btn {
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            border: 1px solid var(--card-border);
            border-radius: 999px;
            background: rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.85);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
            position: relative;
            z-index: 102;
        }
        .share-icon-btn:hover {
            background: rgba(255,255,255,0.15);
            color: #fff;
            border-color: rgba(255,255,255,0.32);
        }
        .share-icon-btn:focus-visible {
            outline: 2px solid rgba(255,255,255,0.6);
            outline-offset: 2px;
        }

        .game-status {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .status-text {
            color: var(--danger);
            font-weight: 700;
            font-size: 0.9em;
            letter-spacing: 0.05em;
        }

        .status-scheduled {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85em;
        }

        .status-delayed {
            color: #f0c36b;
            font-weight: 700;
            font-size: 0.85em;
            letter-spacing: 0.05em;
        }

        .status-final {
            color: #888;
            font-weight: 700;
            font-size: 0.9em;
        }
        .status-final-note {
            color: rgba(255, 255, 255, 0.48);
            font-size: 0.75em;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .favorite-star {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.8em;
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.4);
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
            z-index: 10;
        }

        .game-card.blowout {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.1);
            opacity: 0.80;
        }
        .game-card.deep-link-highlight,
        .completed-game-card.deep-link-highlight,
        .gamepoint-card.deep-link-highlight,
        .gamepoint-section.deep-link-highlight,
        .sport-section.deep-link-highlight,
        .hot-player-card.deep-link-highlight,
        .whos-hot-section.deep-link-highlight,
        .who-to-watch-section.deep-link-highlight {
            animation: deepLinkPulse 2.2s ease-out;
        }
        @keyframes deepLinkPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255,255,255,0.45);
                border-color: rgba(255,255,255,0.55);
            }
            100% {
                box-shadow: 0 0 0 18px rgba(255,255,255,0);
                border-color: rgba(255,255,255,0.2);
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .game-card.deep-link-highlight,
            .completed-game-card.deep-link-highlight,
            .gamepoint-card.deep-link-highlight,
            .gamepoint-section.deep-link-highlight,
            .sport-section.deep-link-highlight,
            .hot-player-card.deep-link-highlight,
            .whos-hot-section.deep-link-highlight,
            .who-to-watch-section.deep-link-highlight {
                animation: none;
                border-color: rgba(255,255,255,0.55);
            }
        }

        /* Pre-game tension gradient */
        .game-card.upcoming-close {
            border-color: rgba(255, 170, 50, 0.45);
            background: rgba(255, 150, 30, 0.06);
        }

        .game-card.upcoming-lopsided {
            opacity: 0.78;
            border-color: rgba(255, 255, 255, 0.08);
        }

        .game-score {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin: 20px 0;
            gap: 10px;
            flex: 1;
        }

        .team {
            position: relative;
            flex: 1;
            text-align: center;
            min-width: 0;
            display: grid;
            grid-template-rows: auto 52px 60px auto auto;
            align-items: center;
            justify-items: center;
            gap: 5px;
        }

        .team-name {
            font-weight: 700;
            font-size: 1.1em;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            flex-wrap: wrap;
            height: 52px;
            overflow: hidden;
        }

        .rank-badge {
            background: transparent;
            color: #fff;
            padding: 2px 4px;
            border-radius: 4px;
            font-size: 0.75em;
            font-weight: 700;
        }

        .rank-label {
            background: transparent;
            color: #fff;
            padding: 3px 6px;
            border-radius: 6px;
            font-size: 0.9em;
            font-weight: 700;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Placeholder for teams without rank to maintain alignment */
        .rank-placeholder {
            height: 24px;
        }

        .team-record {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85em;
            font-weight: 500;
            height: 20px;
        }

        .team-logo {
            width: 60px;
            height: 60px;
            object-fit: contain;
            /* Gentler glow to help dark logos pop */
            filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2)) 
                    drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
        }

        .team-score {
            font-size: 2em;
            font-weight: 800;
            color: white;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            min-width: 1.8em;
            line-height: 1;
            overflow: visible;
        }

        .score-main {
            display: inline-block;
            position: relative;
            z-index: 1;
            line-height: 1;
            color: #ffffff;
        }

        .score-main::after {
            content: '';
            position: absolute;
            left: 10%;
            right: 10%;
            bottom: -0.18em;
            height: 0.12em;
            border-radius: 999px;
            background: linear-gradient(90deg, rgba(var(--motion-score-rgb), 0.14), rgba(255, 255, 255, 0.58), rgba(var(--motion-score-rgb), 0.14));
            opacity: 0;
            transform: scaleX(0.68);
            transform-origin: center;
            pointer-events: none;
        }

        .gp-score[data-score-burst="score_change"] .score-main::after,
        .spotlight-score[data-score-burst="score_change"] .score-main::after,
        .team-score[data-score-burst="score_change"] .score-main::after {
            opacity: 1;
            transform: scaleX(1);
        }

        .gp-score[data-score-burst="score_change"] .score-main::after,
        .spotlight-score[data-score-burst="score_change"] .score-main::after,
        .team-score[data-score-burst="score_change"] .score-main::after {
            animation: motionScoreUnderlineSweep 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
            animation-delay: var(--score-burst-delay, 0ms);
        }

        .score-change-burst {
            position: absolute;
            --score-burst-enter-x: 0%;
            --score-burst-enter-y: 0%;
            --score-burst-pop-x: 4%;
            --score-burst-pop-y: -12%;
            --score-burst-hold-x: 6%;
            --score-burst-hold-y: -20%;
            --score-burst-exit-x: 8%;
            --score-burst-exit-y: -28%;
            top: -0.12em;
            right: -0.06em;
            display: block;
            color: #bbf7d0;
            font-size: 0.4em;
            font-weight: 800;
            letter-spacing: 0.02em;
            line-height: 1;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            z-index: 2;
            text-shadow:
                0 1px 0 rgba(3, 10, 20, 0.85),
                0 0 10px rgba(34, 197, 94, 0.22),
                0 4px 10px rgba(3, 10, 20, 0.26);
            transform-origin: center center;
            /* will-change promoted by the motionScoreBurst animation when active */
        }

        .score-change-burst--hold {
            opacity: 0;
            transform: translate(var(--score-burst-hold-x, 6%), var(--score-burst-hold-y, -20%)) scale(1);
        }

        .gp-score .score-change-burst {
            top: -0.1em;
            right: -0.02em;
            font-size: 0.38em;
        }

        .spotlight-score .score-change-burst {
            top: -0.08em;
            right: -0.02em;
            font-size: 0.38em;
        }

        .team-score .score-change-burst {
            top: -0.14em;
            right: -0.04em;
            font-size: 0.42em;
        }

        .vs {
            font-weight: 700;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9em;
            padding: 0 10px;
            flex-shrink: 0;
        }

        .game-badge {
            text-align: center;
            margin-top: auto;
            margin-bottom: 10px;
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .badge {
            display: inline-block;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.85em;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        }

        .badge-gamepoint {
            background: var(--danger);
            color: white;
            animation: glow 2s ease-in-out infinite;
        }

        .badge-gamepoint-red {
            background: var(--danger);
            color: white;
            animation: glow-red var(--pulse-duration, 2s) ease-in-out infinite;
        }

        .badge-gamepoint-orange {
            background: var(--warning);
            color: white;
        }

        .badge-gamepoint-yellow {
            background: var(--caution);
            color: white;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
        }

        @keyframes glow {
            0%, 100% { box-shadow: 0 0 10px rgba(255, 68, 68, 0.5); }
            50% { box-shadow: 0 0 20px rgba(255, 68, 68, 0.8); }
        }

        @keyframes glow-red {
            0%, 100% { box-shadow: 0 0 10px rgba(255, 68, 68, 0.5); }
            50% { box-shadow: 0 0 20px rgba(255, 68, 68, 0.8); }
        }

        @keyframes glow-orange {
            0%, 100% { box-shadow: 0 0 10px rgba(255, 136, 0, 0.5); }
            50% { box-shadow: 0 0 20px rgba(255, 136, 0, 0.8); }
        }

        @keyframes glow-yellow {
            0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
            50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
        }

        .badge-interesting {
            background: var(--warning);
            color: white;
        }

        /* Why Watch Overlay (matches plays-overlay style) — pointer-events: none so Share/Data buttons stay clickable */
        .why-watch-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.95);
            border-radius: 12px;
            padding: 15px;
            padding-bottom: 48px; /* Reserve space at bottom for the data button */
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 100;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            pointer-events: none;
            will-change: opacity;
            transform: translateZ(0);
            backface-visibility: hidden;
            contain: paint;
        }
        .why-watch-overlay .why-watch-list,
        .why-watch-overlay .why-watch-overlay-header {
            pointer-events: auto;
        }

        @media (hover: hover) and (pointer: fine) {
            .game-card:not(.mobile-condensed):hover .why-watch-overlay,
            .game-card.is-hover-preview:not(.mobile-condensed) .why-watch-overlay {
                opacity: 1;
                visibility: visible;
            }
        }

        .why-watch-overlay-header {
            font-size: 0.85em;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .why-watch-list {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
            overflow-y: auto;
        }

        .why-watch-item {
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border-left: 3px solid var(--primary);
        }

        .why-watch-category {
            font-size: 0.7em;
            color: rgba(255, 255, 255, 0.5);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .why-watch-detail {
            font-size: 0.9em;
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.4;
        }

        .prediction-storylines {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            padding: 4px 8px;
        }

        .pred-tag {
            background: rgba(46, 134, 193, 0.2);
            color: #85c1e9;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.72rem;
            white-space: nowrap;
        }

        .prediction-hot-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            padding: 2px 8px 4px;
        }

        .hot-preview {
            font-size: 0.68rem;
            color: #f0b27a;
            background: rgba(240, 178, 122, 0.15);
            padding: 1px 6px;
            border-radius: 3px;
        }

        .badge-comeback {
            background: #9333ea; /* Purple */
            color: white;
            animation: glow-purple 2s ease-in-out infinite;
        }

        @keyframes glow-purple {
            0%, 100% { box-shadow: 0 0 10px rgba(147, 51, 234, 0.5); }
            50% { box-shadow: 0 0 20px rgba(147, 51, 234, 0.8); }
        }

        .badge-blowout {
            background: rgba(255, 255, 255, 0.12);
            color: rgba(255, 255, 255, 0.55);
        }

        .game-stats {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-top: auto;
            padding-top: 14px;
            border-top: 2px solid rgba(255, 255, 255, 0.1);
            gap: 8px;
            min-height: 46px;
        }

        .stat-item {
            text-align: center;
            flex: 1;
            min-width: 60px;
            max-width: 100px;
            overflow: hidden;
        }

        .stat-item--time-urgent {
            max-width: 128px;
        }

        .stat-label {
            font-size: 0.75em;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .stat-value {
            font-weight: 700;
            color: white;
            font-size: 1em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .stat-value--urgent {
            color: #fff2c9;
            font-weight: 800;
            font-size: 0.88em;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            line-height: 1.08;
        }

        .tv-row .stat-label {
            color: rgba(255, 255, 255, 0.52);
        }

        .tv-row .stat-value {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 24px;
            max-width: 100%;
            padding: 0 8px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: none;
            font-size: 0.92em;
            color: rgba(255, 255, 255, 0.82);
        }

        .game-stats > .tv-row:only-child {
            flex: 0 1 min(100%, 280px);
            max-width: min(100%, 280px);
        }

        .game-stats > .tv-row:only-child .stat-value {
            padding: 6px 12px;
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            line-height: 1.18;
        }

        /* Momentum Styles */
        .momentum-section {
            margin-top: 15px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
            z-index: 1; /* Keep below plays overlay */
        }

        .momentum-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            padding: 0 5px;
        }

        .momentum-label {
            font-size: 0.75em;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .momentum-value {
            font-size: 0.75em;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 4px;
            /* Default background - will be overridden by inline styles for strong momentum */
            background: rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.9);
            white-space: nowrap;
        }
        
        /* Remove any specific momentum color classes that might conflict */
        .momentum-value.strong-home,
        .momentum-value.strong-away {
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
        }

        /* Strong momentum colors are applied inline with team colors */

        .momentum-bar-container {
            height: 14px;
            background: rgba(0, 0, 0, 0.45);
            border-radius: 7px;
            position: relative;
            margin: 6px 0;
            box-shadow:
                inset 0 2px 4px rgba(0, 0, 0, 0.5),
                inset 0 -1px 2px rgba(255, 255, 255, 0.04),
                0 1px 2px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }

        .momentum-bar {
            height: 100%;
            /* ownership colors are set via inline CSS vars */
            transition: all 0.5s ease;
            position: relative;
            border-radius: 7px;
            overflow: hidden;
        }

        .ownership-bar {
            isolation: isolate;
            overflow: hidden;
            background: transparent;
            border-radius: 7px;
        }

        .ownership-bar-clip {
            position: absolute;
            inset: 0;
            overflow: hidden;
            border-radius: inherit;
            pointer-events: none;
        }

        .ownership-bar-fill {
            position: absolute;
            top: 0;
            bottom: 0;
            pointer-events: none;
            transition: width 0.5s ease, opacity 0.5s ease;
        }

        .ownership-bar-fill--away {
            left: 0;
            /*
             * Extends 25% past ownership boundary so the two fills overlap.
             * Both fade to transparent in their overlap zone, producing a
             * smooth color blend instead of a dark gap.
             */
            width: calc(var(--ownership-away-fill, 0) * 1% + 25%);
            background:
                linear-gradient(
                    90deg,
                    rgba(var(--ownership-away-rgb, 239, 68, 68), 1) 0%,
                    rgba(var(--ownership-away-rgb, 239, 68, 68), 0.95) 50%,
                    rgba(var(--ownership-away-rgb, 239, 68, 68), 0.4) 78%,
                    rgba(var(--ownership-away-rgb, 239, 68, 68), 0) 100%
                );
            -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.94) 100%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.94) 100%);
        }

        .ownership-bar-fill--home {
            right: 0;
            width: calc(var(--ownership-home-fill, 0) * 1% + 25%);
            background:
                linear-gradient(
                    90deg,
                    rgba(var(--ownership-home-rgb, 59, 130, 246), 0) 0%,
                    rgba(var(--ownership-home-rgb, 59, 130, 246), 0.4) 22%,
                    rgba(var(--ownership-home-rgb, 59, 130, 246), 0.95) 50%,
                    rgba(var(--ownership-home-rgb, 59, 130, 246), 1) 100%
                );
            -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.94) 100%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.78) 50%, rgba(0,0,0,0.94) 100%);
        }

        .momentum-bar--flow::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: 0.42;
            border-radius: inherit;
            background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
            background-repeat: no-repeat;
            background-size: 42% 100%;
            animation: momentumFlowAway 2.4s linear infinite;
        }

        .momentum-bar--home::after {
            animation-name: momentumFlowHome;
        }

        .momentum-bar--away::after {
            animation-name: momentumFlowAway;
        }

        @keyframes momentumFlowAway {
            0% { background-position: -42% 0; }
            100% { background-position: 142% 0; }
        }

        @keyframes momentumFlowHome {
            0% { background-position: 142% 0; }
            100% { background-position: -42% 0; }
        }

        /* Meniscus line indicator — thin seam where liquids meet */
        .momentum-indicator {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 2px;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.45);
            border: none;
            border-radius: 1px;
            transition: left 0.5s ease;
            box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
            z-index: 10;
            font-size: 0;
            line-height: 1;
        }

        /* Moderate+: bubble glow emerges at the meniscus */
        .momentum-indicator.strong {
            width: 3px;
            background: rgba(255, 255, 255, 0.6);
            box-shadow:
                0 0 6px rgba(255, 255, 255, 0.35),
                0 0 14px var(--ind-color, rgba(255, 255, 255, 0.25));
            animation: meniscusPulse 2.5s ease-in-out infinite;
        }

        .momentum-teams {
            display: flex;
            justify-content: space-between;
            margin-top: 4px;
            padding: 0 2px;
            font-size: 0.65em;
            color: rgba(255, 255, 255, 0.6);
        }

        /* ── Glass Tube Plasma Bar Effects ── */

        .glass-highlight {
            position: absolute;
            top: 0;
            left: 2%;
            right: 2%;
            height: 38%;
            border-radius: 7px 7px 50% 50%;
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.14) 0%,
                rgba(255, 255, 255, 0.04) 60%,
                transparent 100%
            );
            pointer-events: none;
            z-index: 5;
        }

        /* Bubbles — mix of small specks and larger bubble-like dots */
        .plasma-particles {
            position: absolute;
            top: 0;
            bottom: 0;
            pointer-events: none;
            border-radius: inherit;
            background-image:
                /* Small specks */
                radial-gradient(circle 1px at 12% 35%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
                radial-gradient(circle 0.8px at 38% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
                radial-gradient(circle 1px at 64% 25%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
                radial-gradient(circle 0.8px at 88% 60%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
                /* Larger bubbles with specular highlight */
                radial-gradient(ellipse 2.5px 2px at 28% 45%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%),
                radial-gradient(ellipse 2px 1.8px at 72% 55%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.06) 50%, transparent 100%);
            background-size: 100px 14px;
            background-repeat: repeat-x;
            opacity: 0.25;
            animation: plasmaDrift 9s linear infinite;
            z-index: 3;
        }

        .plasma-particles--away {
            left: 0;
            width: calc(var(--ownership-away-fill, 0) * 1% + 14px);
            animation-direction: normal;
        }

        .plasma-particles--home {
            right: 0;
            width: calc(var(--ownership-home-fill, 0) * 1% + 14px);
            animation-direction: reverse;
            animation-delay: -4s;
        }

        /* Plasma intensity — controls particle speed/opacity + meniscus glow */

        [data-plasma-intensity="neutral"] .plasma-particles {
            animation-duration: 12s;
            opacity: 0.18;
        }
        [data-plasma-intensity="neutral"] .momentum-indicator {
            opacity: 0.35;
        }

        [data-plasma-intensity="slight"] .plasma-particles {
            animation-duration: 9s;
            opacity: 0.28;
        }
        [data-plasma-intensity="slight"] .momentum-indicator {
            opacity: 0.5;
        }

        [data-plasma-intensity="moderate"] .plasma-particles {
            animation-duration: 6s;
            opacity: 0.4;
        }
        [data-plasma-intensity="moderate"] .momentum-indicator {
            width: 2px;
            background: rgba(255, 255, 255, 0.55);
            box-shadow:
                0 0 5px rgba(255, 255, 255, 0.25),
                0 0 10px var(--ind-color, rgba(255, 255, 255, 0.15));
        }
        [data-plasma-intensity="moderate"] .ownership-bar-fill--away,
        [data-plasma-intensity="moderate"] .ownership-bar-fill--home {
            filter: brightness(1.06);
        }

        [data-plasma-intensity="strong"] .plasma-particles {
            animation-duration: 4s;
            opacity: 0.5;
        }
        [data-plasma-intensity="strong"] .momentum-indicator {
            width: 3px;
            background: rgba(255, 255, 255, 0.65);
            box-shadow:
                0 0 6px rgba(255, 255, 255, 0.35),
                0 0 14px var(--ind-color, rgba(255, 255, 255, 0.3));
            animation: meniscusPulse 2.5s ease-in-out infinite;
        }
        [data-plasma-intensity="strong"] .ownership-bar-fill--away,
        [data-plasma-intensity="strong"] .ownership-bar-fill--home {
            filter: brightness(1.12);
        }

        /* Plasma keyframes */
        @keyframes plasmaDrift {
            0%   { background-position: 0 0; }
            100% { background-position: 100px 0; }
        }

        @keyframes meniscusPulse {
            0%, 100% { opacity: 0.65; box-shadow: 0 0 6px rgba(255, 255, 255, 0.35), 0 0 14px var(--ind-color, rgba(255, 255, 255, 0.3)); }
            50%      { opacity: 0.85; box-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 20px var(--ind-color, rgba(255, 255, 255, 0.4)); }
        }

        /* Reduced motion: disable plasma animations */
        @media (prefers-reduced-motion: reduce) {
            .plasma-particles {
                animation: none !important;
                opacity: 0.12 !important;
            }
            .momentum-indicator.strong {
                animation: none !important;
            }
            .glass-highlight {
                opacity: 0.08;
            }
        }

        html.motion-review-reduced .plasma-particles {
            animation: none !important;
            opacity: 0.12 !important;
        }
        html.motion-review-reduced .momentum-indicator.strong {
            animation: none !important;
        }
        html.motion-review-reduced .glass-highlight {
            opacity: 0.08;
        }

        /* ── End Glass Tube Plasma Bar Effects ── */

        /* ── Signal Chamber — team logo treatment ── */
        @property --sc-glint-angle {
            syntax: '<angle>';
            inherits: false;
            initial-value: 0deg;
        }

        .signal-chamber {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            flex-shrink: 0;
            isolation: isolate;
            overflow: visible;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
            transition: box-shadow 0.3s ease;
        }

        .signal-chamber > :not(.sc-particles) {
            position: relative;
            z-index: 0;
        }

        .pregame-matchup-card .signal-chamber {
            width: 88px;
            height: 88px;
            background:
                radial-gradient(circle at 50% 34%, rgba(248, 250, 255, 0.22) 0%, rgba(235, 240, 255, 0.16) 18%, rgba(205, 214, 240, 0.08) 32%, rgba(32, 25, 52, 0.90) 56%, rgba(9, 11, 24, 0.98) 100%);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                inset 0 0 0 1px rgba(255, 255, 255, 0.08),
                inset 0 -8px 18px rgba(4, 6, 16, 0.28),
                0 18px 32px rgba(3, 5, 16, 0.34),
                0 10px 20px rgba(0, 0, 0, 0.22);
        }

        .pregame-matchup-card .signal-chamber--logo-dark {
            background:
                radial-gradient(circle at 50% 34%, rgba(250, 252, 255, 0.34) 0%, rgba(240, 245, 255, 0.24) 18%, rgba(214, 223, 245, 0.12) 34%, rgba(34, 27, 56, 0.90) 58%, rgba(9, 11, 24, 0.98) 100%);
        }

        .pregame-matchup-card .signal-chamber--logo-dark.signal-chamber--logo-hue-coolclash {
            background:
                radial-gradient(circle at 50% 34%, rgba(252, 253, 255, 0.42) 0%, rgba(244, 247, 255, 0.30) 18%, rgba(226, 233, 247, 0.15) 34%, rgba(32, 28, 46, 0.88) 58%, rgba(9, 11, 24, 0.98) 100%);
        }

        .pregame-matchup-card .signal-chamber--logo-balanced {
            background:
                radial-gradient(circle at 50% 34%, rgba(248, 250, 255, 0.24) 0%, rgba(235, 240, 255, 0.17) 18%, rgba(205, 214, 240, 0.08) 32%, rgba(32, 25, 52, 0.90) 56%, rgba(9, 11, 24, 0.98) 100%);
        }

        .pregame-matchup-card .signal-chamber--logo-light {
            background:
                radial-gradient(circle at 50% 34%, rgba(244, 247, 255, 0.16) 0%, rgba(224, 231, 246, 0.11) 16%, rgba(182, 193, 223, 0.05) 30%, rgba(30, 24, 48, 0.91) 56%, rgba(9, 11, 24, 0.98) 100%);
        }

        .game-card .team .signal-chamber,
        .marquee-team .signal-chamber {
            width: 60px;
            height: 60px;
        }

        .gp-team-info .signal-chamber {
            width: 35px;
            height: 35px;
        }

        /* Dark field + team-color radial bloom */
        .signal-chamber::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            background:
                radial-gradient(circle at center, rgba(var(--sc-team-rgb, 59, 130, 246), 0.35) 0%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.08) 55%, transparent 75%),
                radial-gradient(circle at center, rgba(10, 10, 20, 0.7) 0%, transparent 70%);
            z-index: -1;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .pregame-matchup-card .signal-chamber::before {
            inset: -10px;
            background:
                radial-gradient(circle at center, rgba(244, 247, 255, 0.06) 0%, rgba(244, 247, 255, 0.02) 22%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.18) 44%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.08) 62%, transparent 80%),
                radial-gradient(circle at center, rgba(9, 12, 24, 0.76) 0%, rgba(9, 12, 24, 0.28) 54%, transparent 74%);
            opacity: 0.96;
        }

        .pregame-matchup-card .signal-chamber--logo-dark::before {
            background:
                radial-gradient(circle at center, rgba(248, 250, 255, 0.09) 0%, rgba(248, 250, 255, 0.04) 20%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.18) 44%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.08) 62%, transparent 80%),
                radial-gradient(circle at center, rgba(9, 12, 24, 0.72) 0%, rgba(9, 12, 24, 0.24) 54%, transparent 74%);
        }

        .pregame-matchup-card .signal-chamber--logo-dark.signal-chamber--logo-hue-coolclash::before {
            background:
                radial-gradient(circle at center, rgba(250, 252, 255, 0.11) 0%, rgba(250, 252, 255, 0.05) 18%, rgba(220, 228, 245, 0.04) 28%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.10) 48%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.04) 64%, transparent 80%),
                radial-gradient(circle at center, rgba(9, 12, 24, 0.68) 0%, rgba(9, 12, 24, 0.22) 54%, transparent 74%);
        }

        .pregame-matchup-card .signal-chamber--logo-light::before {
            background:
                radial-gradient(circle at center, rgba(242, 246, 255, 0.04) 0%, rgba(242, 246, 255, 0.015) 20%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.17) 44%, rgba(var(--sc-team-rgb, 59, 130, 246), 0.08) 62%, transparent 80%),
                radial-gradient(circle at center, rgba(9, 12, 24, 0.8) 0%, rgba(9, 12, 24, 0.32) 54%, transparent 74%);
        }

        /* Glass arc + rotating glint (full variant only) */
        .signal-chamber--full::after {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 50%;
            border: 1.5px solid rgba(255, 255, 255, 0.08);
            mask-image: conic-gradient(from var(--sc-glint-angle), transparent 0deg, rgba(255,255,255,0.9) 15deg, transparent 30deg, transparent 360deg);
            -webkit-mask-image: conic-gradient(from var(--sc-glint-angle), transparent 0deg, rgba(255,255,255,0.9) 15deg, transparent 30deg, transparent 360deg);
            animation: signalGlint 10s linear infinite;
            pointer-events: none;
            z-index: 1;
        }

        .pregame-matchup-card .signal-chamber--full::after {
            inset: -1px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            box-shadow:
                0 0 0 1px rgba(var(--sc-team-rgb, 59, 130, 246), 0.10),
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                inset 0 0 18px rgba(255, 255, 255, 0.04);
        }

        .pregame-matchup-card .signal-chamber > :not(.sc-particles) {
            z-index: 2;
        }

        /* Compact variant: no arc/glint */
        .signal-chamber--compact::after {
            display: none;
        }
        .signal-chamber--compact::before {
            inset: -2px;
        }

        /* Micro-particle dots */
        .sc-particles {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            pointer-events: none;
            z-index: 1;
        }
        .sc-particles::before,
        .sc-particles::after {
            content: '';
            position: absolute;
            width: 2px;
            height: 2px;
            border-radius: 50%;
            background: rgba(var(--sc-team-rgb, 59, 130, 246), 0.6);
            box-shadow: 0 0 3px rgba(var(--sc-team-rgb, 59, 130, 246), 0.4);
        }
        .sc-particles::before {
            top: 15%;
            right: 10%;
            animation: signalParticleDrift 7s ease-in-out infinite alternate;
        }
        .sc-particles::after {
            bottom: 20%;
            left: 12%;
            animation: signalParticleDrift 9s ease-in-out infinite alternate-reverse;
        }

        /* Hover states */
        .signal-chamber:hover {
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
        }
        .signal-chamber:hover::before {
            opacity: 1.2;
        }

        @keyframes signalGlint {
            from { --sc-glint-angle: 0deg; }
            to   { --sc-glint-angle: 360deg; }
        }

        @keyframes signalParticleDrift {
            0%   { transform: translate(0, 0); opacity: 0.3; }
            50%  { transform: translate(3px, -2px); opacity: 0.7; }
            100% { transform: translate(-2px, 1px); opacity: 0.3; }
        }

        /* Reduced motion: static glow only */
        @media (prefers-reduced-motion: reduce) {
            .signal-chamber--full::after {
                animation: none !important;
                mask-image: none;
                -webkit-mask-image: none;
                border-color: rgba(255, 255, 255, 0.1);
            }
            .sc-particles::before,
            .sc-particles::after {
                animation: none !important;
                opacity: 0.4;
            }
        }

        html.motion-review-reduced .signal-chamber--full::after {
            animation: none !important;
            mask-image: none;
            -webkit-mask-image: none;
        }
        html.motion-review-reduced .sc-particles::before,
        html.motion-review-reduced .sc-particles::after {
            animation: none !important;
        }

        /* ── End Signal Chamber ── */

        /* Tension Meter */
        .tension-section {
            margin-top: 12px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            position: relative;
            z-index: 1;
        }

        .plays-section {
            display: none;
            margin-top: 10px;
            padding-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .plays-section .play-item {
            color: rgba(255, 255, 255, 0.9);
        }
        .plays-section .play-clock {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.75em;
            font-weight: 600;
            margin-right: 6px;
        }
        @media (max-width: 600px) {
            .plays-section { display: none; }
        }

        .tension-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
            padding: 0 4px;
        }

        .tension-label {
            font-size: 0.7em;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .tension-score-badge {
            font-size: 0.7em;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 4px;
            color: #fff;
        }

        .tension-score-badge.tier-low {
            background: rgba(255, 255, 255, 0.15);
            color: rgba(255, 255, 255, 0.6);
        }

        .tension-score-badge.tier-building {
            background: rgba(234, 179, 8, 0.3);
            color: #fbbf24;
        }

        .tension-score-badge.tier-high {
            background: rgba(249, 115, 22, 0.35);
            color: #fb923c;
        }

        .tension-score-badge.tier-critical {
            background: rgba(239, 68, 68, 0.4);
            color: #f87171;
            animation: tensionPulse 2s ease-in-out infinite;
        }

        .tension-score-badge.tier-peak {
            background: rgba(239, 68, 68, 0.6);
            color: #fff;
            animation: tensionPulse 1s ease-in-out infinite;
        }

        .tension-bar-track {
            height: 4px;
            background: rgba(255, 255, 255, 0.12);
            overflow: hidden;
            position: relative;
        }

        .tension-bar-fill {
            height: 100%;
            transition: width 0.8s ease, background 0.8s ease;
        }

        .tension-bar-fill.tier-low {
            background: linear-gradient(90deg, #4ade80, #86efac);
        }

        .tension-bar-fill.tier-building {
            background: linear-gradient(90deg, #86efac, #fbbf24);
        }

        .tension-bar-fill.tier-high {
            background: linear-gradient(90deg, #fbbf24, #f97316);
        }

        .tension-bar-fill.tier-critical {
            background: linear-gradient(90deg, #f97316, #ef4444);
        }

        .tension-bar-fill.tier-peak {
            background: linear-gradient(90deg, #ef4444, #dc2626);
            box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
        }

        @keyframes tensionPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        /* Compact tension badge for GamePoint cards */
        .gp-tension-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.9em;
            font-weight: 700;
            padding: 6px 12px;
            border-radius: 12px;
            color: #fff;
        }

        .gp-tension-badge.tier-low { background: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.5); }
        .gp-tension-badge.tier-building { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.72); }
        .gp-tension-badge.tier-high { background: rgba(249, 115, 22, 0.35); color: #fb923c; }
        .gp-tension-badge.tier-critical { background: rgba(239, 68, 68, 0.4); color: #f87171; }
        .gp-tension-badge.tier-peak { background: rgba(239, 68, 68, 0.6); color: #fff; }

        .no-games {
            text-align: center;
            padding: 40px 20px;
            color: rgba(255, 255, 255, 0.6);
        }

        .no-games-icon {
            font-size: 4em;
            margin-bottom: 20px;
        }

        .no-games h3 {
            font-size: 1.3em;
            margin-bottom: 10px;
            color: rgba(255, 255, 255, 0.8);
        }

        .no-games .no-games-sub {
            font-size: 0.9em;
            color: rgba(255,255,255,0.4);
            margin-top: 4px;
        }

        .no-games.is-loading p {
            animation: emptyPulse 2s ease-in-out infinite;
        }

        @keyframes emptyPulse {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 0.8; }
        }

        .espn-link {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 20px;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .espn-link:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* Completed Games Section */
        .completed-games-section {
            margin-top: 10px;
            padding-top: 6px;
            border-top: none;
        }
        .completed-games-section--inline {
            margin-top: 10px;
            padding-top: 6px;
            border-top: none;
        }
        .completed-games-section--inline .section-divider {
            margin-bottom: 12px;
            font-size: 0.82em;
            letter-spacing: 0.08em;
        }
        .completed-games-section--inline .completed-games-grid {
            grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
        }

        /* Mobile only: show mobile recap/forward, hide desktop */
        @media (max-width: 768px) {
            .completed-section-summary:not(.completed-section-summary--mobile) { display: none !important; }
            .completed-section-next:not(.completed-section-next--mobile) { display: none !important; }
        }
        /* Desktop: show desktop recap/forward, hide mobile and standout */
        @media (min-width: 769px) {
            .completed-section-summary--mobile,
            .completed-section-next--mobile { display: none !important; }
        }
        .completed-section-top-final {
            font-size: 0.86em;
            color: rgba(255,255,255,0.62);
            margin-bottom: 8px;
        }
        .completed-section-standout {
            font-size: 0.85em;
            color: rgba(255,255,255,0.5);
            margin-bottom: 10px;
        }
        .completed-section-standout[aria-hidden="true"],
        .mob-panel-standout[aria-hidden="true"] {
            display: none;
        }

        .section-divider {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9em;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-divider::before,
        .section-divider::after {
            content: none;
        }

        .completed-games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
            gap: 12px;
        }

        .completed-game-card {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            padding: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
            opacity: 0.7;
            min-height: 130px; /* Increased to fit full overlay content */
            display: flex;
            flex-direction: column;
            justify-content: center;
            transform: translateZ(0);
            backface-visibility: hidden;
        }

        @media (hover: hover) and (pointer: fine) and (min-width: 769px) {
            .completed-game-card:hover {
                opacity: 1;
                background: rgba(0, 0, 0, 0.3);
                border-color: rgba(255, 255, 255, 0.2);
                transform: translateY(-2px);
            }
        }

        .completed-game-card--top-final {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 255, 255, 0.18);
            opacity: 1;
            margin-top: 14px;
            margin-bottom: 12px;
        }

        .completed-game-card--top-final:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.22);
        }

        .completed-top-final-label {
            font-size: 0.7em;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.45);
            text-transform: uppercase;
            letter-spacing: 0.08em;
            margin-bottom: 10px;
        }

        .completed-game-card--rest {
            opacity: 0.8;
            background: rgba(0, 0, 0, 0.15);
        }
        .completed-game-card--rest:hover {
            opacity: 1;
            background: rgba(0, 0, 0, 0.2);
        }

        /* Desktop: no Top Final / rest emphasis — all cards uniform */
        @media (min-width: 769px) {
            .completed-game-card--top-final {
                background: rgba(0, 0, 0, 0.2);
                border-color: rgba(255, 255, 255, 0.1);
                opacity: 0.7;
                margin-top: 0;
                margin-bottom: 0;
            }
            .completed-game-card--top-final:hover {
                background: rgba(0, 0, 0, 0.3);
                border-color: rgba(255, 255, 255, 0.2);
            }
            .completed-top-final-label { display: none; }
            .completed-game-card--rest {
                opacity: 0.7;
                background: rgba(0, 0, 0, 0.2);
            }
            .completed-game-card--rest:hover {
                opacity: 1;
                background: rgba(0, 0, 0, 0.3);
            }
        }

        .completed-standout-line {
            font-size: 0.82em;
            color: rgba(255, 255, 255, 0.45);
            margin-top: 8px;
            font-weight: 400;
        }

        .completed-game-teams {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .completed-team-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.95em;
            gap: 10px;
            position: relative;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid transparent;
            background: rgba(255, 255, 255, 0.025);
        }

        .completed-team-row.winner {
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
            border-color: rgba(255, 255, 255, 0.12);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
        }

        .completed-team-row.winner::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            bottom: 10px;
            width: 3px;
            border-radius: 999px;
            background: linear-gradient(180deg, rgba(155, 190, 255, 0.95), rgba(255, 255, 255, 0.7));
        }

        .completed-team-row.loser {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.54);
            background: rgba(255, 255, 255, 0.015);
        }

        .completed-team-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            min-width: 0;
        }

        .completed-team-logo {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: contain;
            flex-shrink: 0;
            background: rgba(255, 255, 255, 0.06);
            padding: 1px;
        }
        .completed-team-row.winner .completed-team-logo {
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
        }

        .completed-team-name {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
        }

        .completed-team-text {
            min-width: 0;
            overflow-wrap: anywhere;
        }

        .completed-score {
            font-weight: 700;
            min-width: 32px;
            text-align: right;
            color: rgba(255, 255, 255, 0.92);
        }
        .completed-team-row.loser .completed-score {
            color: rgba(255, 255, 255, 0.64);
        }

        .completed-final {
            text-align: center;
            margin-top: 8px;
            font-size: 0.75em;
            color: rgba(255, 255, 255, 0.4);
            font-weight: 600;
        }

        /* Completed Game Leaders Overlay (on hover) */
        .completed-game-card {
            position: relative;
            cursor: pointer;
            overflow: hidden; /* Prevent overlay from extending outside */
        }

        .completed-leaders-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 12px;
            padding: 14px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: center;
            z-index: 10;
            will-change: opacity;
            backface-visibility: hidden;
        }

        @media (hover: hover) and (pointer: fine) and (min-width: 769px) {
            .completed-game-card:hover .completed-leaders-overlay {
                opacity: 1;
                pointer-events: none;
            }
        }

        /* Mobile tap-to-flip: show overlay when .stats-visible is toggled */
        @media (max-width: 768px) {
            #gamesPage.mobile-section-active .completed-game-card.stats-visible .completed-leaders-overlay {
                opacity: 1;
                pointer-events: all;
            }
            #gamesPage.mobile-section-active .completed-game-card.stats-visible .completed-leaders-overlay::after {
                content: 'Tap to close';
                position: absolute;
                bottom: 8px;
                left: 0;
                right: 0;
                text-align: center;
                font-size: 0.65em;
                color: rgba(255, 255, 255, 0.3);
                pointer-events: none;
            }
        }

        .leaders-overlay-header {
            text-align: center;
            font-size: 0.7em;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.4);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .leaders-overlay-content {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .leader-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 7px 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 5px;
            gap: 10px;
        }

        .leader-info {
            flex: 1;
            min-width: 0;
        }

        .leader-player-name {
            font-size: 0.85em;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 3px;
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .leader-team-name {
            font-size: 0.7em;
            color: rgba(255, 255, 255, 0.5);
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .leader-stats {
            font-size: 0.8em;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.85);
            text-align: right;
            white-space: nowrap;
            flex-shrink: 0;
            line-height: 1.2;
        }

        .leaders-loading {
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.75em;
            font-style: italic;
            padding: 15px;
        }

        /* Tomorrow's Games Section */
        .tomorrow-games-section {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 2px solid rgba(255, 255, 255, 0.15);
        }

        .tomorrow-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 1em;
            font-weight: 600;
        }

        .tomorrow-header::before,
        .tomorrow-header::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        }

        .tomorrow-games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
            gap: 12px;
        }

        .tomorrow-game-card {
            background: rgba(0, 0, 0, 0.25);
            border-radius: 12px;
            padding: 14px 16px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.3s;
        }

        .tomorrow-game-time {
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.45);
            font-weight: 500;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .tomorrow-game-teams {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .tomorrow-team-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.95em;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.85);
        }

        .tomorrow-team-name {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .tomorrow-record {
            font-size: 0.85em;
            color: rgba(255, 255, 255, 0.5);
            font-weight: 500;
        }

        .tomorrow-vs {
            text-align: center;
            color: rgba(255, 255, 255, 0.3);
            font-size: 0.7em;
            font-weight: 600;
            margin: 2px 0;
        }

        /* Loading Overlay */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }

        .loading-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .loading-content {
            text-align: center;
            color: white;
        }

        .loading-spinner {
            width: 100px;
            height: 100px;
            margin: 0 auto;
            animation: bounce 1s ease-in-out infinite;
        }

        .loading-spinner img {
            width: 100%;
            height: 100%;
            filter: drop-shadow(0 0 30px rgba(85, 55, 215, 0.8));
        }

        @keyframes bounce {
            0%, 100% { 
                transform: translateY(0px) scale(1);
            }
            50% { 
                transform: translateY(-30px) scale(1.1);
            }
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .loading-text {
            font-size: 1.5em;
            font-weight: 600;
            margin-top: 20px;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }

            .sport-section,
            .gamepoint-section,
            .upcoming-banner {
                padding: 15px;
            }

            .games-grid {
                gap: 15px;
            }

            .game-card {
                padding: 15px;
                width: 100%;
                min-width: 0;
            }

            .team-logo {
                width: 50px;
                height: 50px;
            }

            .game-card .team .signal-chamber {
                width: 50px;
                height: 50px;
            }

            .team {
                grid-template-rows: auto 52px 50px auto auto;
            }

            .gp-team-logo {
                width: 30px;
                height: 30px;
            }

            .gp-team-info .signal-chamber {
                width: 30px;
                height: 30px;
            }

            .gp-broadcast {
                background: rgba(255, 255, 255, 0.08);
                color: rgba(255, 255, 255, 0.88);
                border: 1px solid rgba(255, 255, 255, 0.14);
                padding: 4px 8px;
                font-size: 0.65em;
                border-radius: 999px;
                letter-spacing: 0.04em;
            }

            .gp-urgent-time {
                margin-top: 10px;
                padding: 8px 10px;
                font-size: 0.7rem;
            }

            .upcoming-game-time {
                gap: 4px;
                min-width: 120px;
            }

            .upcoming-game-teams {
                gap: 4px;
            }

            /* ── Mobile Overview UX ── */
            #mobileBackNav {
                display: none; /* JS controls this */
                align-items: center;
                gap: 12px;
                padding: 10px 0 14px;
            }
            #mobileBackNav button {
                background: none;
                border: none;
                color: rgba(255,255,255,0.8);
                font-family: 'Montserrat', sans-serif;
                font-weight: 700;
                font-size: 0.85em;
                cursor: pointer;
                padding: 10px 12px 10px 8px;
                border-radius: 8px;
                display: flex;
                align-items: center;
                gap: 8px;
                min-height: 44px;
                min-width: 44px;
            }
            #mobileBackNav button:focus-visible {
                outline: 2px solid rgba(255,255,255,0.4);
                outline-offset: 2px;
            }
            #mobileBackNav button svg { width: 8px; height: 14px; flex-shrink: 0; }
            .mobile-section-title {
                font-weight: 700;
                font-size: 1.05em;
                color: white;
            }

            .mobile-overview-grid {
                display: grid;
                grid-template-columns: 1fr 1fr;
                row-gap: var(--section-gap);
                column-gap: 10px;
                padding: 0;
            }
            .mobile-overview-panel {
                background: rgba(0, 0, 0, 0.4);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                border: 1px solid var(--card-border);
                border-radius: var(--radius-lg);
                box-shadow: var(--card-shadow);
                padding: 14px var(--space-12);
                cursor: pointer;
                -webkit-tap-highlight-color: transparent;
                transition: background var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
                display: flex;
                flex-direction: column;
                gap: var(--space-6);
                user-select: none;
                min-height: 80px;
            }
            /* Player panels (Who to Watch / Who's Hot) have no tall content — don't force height */
            .mobile-overview-panel--player {
                min-height: auto;
                padding-bottom: 10px;
            }
            .mobile-overview-panel:active {
                background: rgba(255, 255, 255, 0.08);
                box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
            }
            .mobile-overview-panel:focus-visible {
                outline: 2px solid rgba(255, 255, 255, 0.4);
                outline-offset: 3px;
            }
            .mobile-overview-panel--wide { grid-column: 1 / -1; }
            .mob-panel-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 6px;
            }
            .mob-panel-name-row {
                display: flex;
                align-items: center;
                gap: 8px;
                flex: 1;
                min-width: 0;
            }
            .mob-panel-inline-counts {
                font-size: 0.75em;
                font-weight: 600;
                color: rgba(255,255,255,0.5);
                white-space: normal;
                letter-spacing: 0;
                line-height: 1.3;
            }
            .mob-panel-inline-counts .mob-live { color: rgba(100,210,100,0.9); }
            .mob-panel-name {
                font-weight: 700;
                font-size: 0.9em;
                line-height: 1.2;
                color: rgba(255,255,255,0.9);
                letter-spacing: 0.04em;
                text-transform: uppercase;
            }
            .mob-panel-dot {
                width: 7px;
                height: 7px;
                border-radius: 50%;
                flex-shrink: 0;
            }
            .mob-panel-dot--none  { background: rgba(255,255,255,0.18); }
            .mob-panel-dot--live  { background: #4caf50; box-shadow: 0 0 5px rgba(76,175,80,0.6); }
            .mob-panel-dot--close { background: rgba(255,165,40,0.9);  box-shadow: 0 0 5px rgba(255,150,30,0.5); }
            .mob-panel-dot--gp    { background: #f44336;               box-shadow: 0 0 5px rgba(244,67,54,0.7); }
            .mob-panel-counts {
                font-weight: 600;
                font-size: 0.8em;
                line-height: 1.3;
                color: var(--text-muted-ui);
            }
            .mob-panel-counts .mob-live { color: rgba(100,210,100,0.9); }
            .mob-panel-sub {
                font-size: 0.72em;
                color: rgba(255,255,255,0.38);
                line-height: 1.25;
            }

            /* ── Panel severity left-border accents ── */
            .mobile-overview-panel--sev-live {
                border-left: 2px solid rgba(76,175,80,0.55);
            }
            .mobile-overview-panel--sev-close {
                border-left: 2px solid rgba(255,165,40,0.55);
            }
            .mobile-overview-panel--sev-gp {
                border-left: 2px solid rgba(244,67,54,0.6);
                box-shadow: var(--card-shadow), -2px 0 12px rgba(244,67,54,0.15);
            }

            /* Condensed game cards: hide heavy sections */
            .game-card.mobile-condensed .momentum-section,
            .game-card.mobile-condensed .tension-section,
            .game-card.mobile-condensed .plays-section,
            .game-card.mobile-condensed .data-btn,
            .game-card.mobile-condensed .tv-row {
                display: none;
            }
            .game-card.mobile-condensed {
                cursor: pointer;
            }
            /* Expanded: reveal hidden sections */
            .game-card.mobile-condensed.mobile-expanded .momentum-section,
            .game-card.mobile-condensed.mobile-expanded .tension-section,
            .game-card.mobile-condensed.mobile-expanded .plays-section,
            .game-card.mobile-condensed.mobile-expanded .data-btn,
            .game-card.mobile-condensed.mobile-expanded .tv-row {
                display: block;
            }

            /* Condensed meta strip — key stats in one line */
            .condensed-meta {
                display: none;
            }
            .game-card.mobile-condensed .condensed-meta {
                display: flex;
                align-items: center;
                gap: 5px;
                flex-wrap: wrap;
                margin-top: 6px;
            }
            .game-card.mobile-condensed.mobile-expanded .condensed-meta {
                display: none;
            }
            .condensed-chip {
                font-size: 0.7em;
                font-weight: 700;
                padding: 2px 7px;
                border-radius: 4px;
                white-space: nowrap;
                letter-spacing: 0.02em;
            }
            .condensed-chip--wp {
                /* color/background set inline via favColor */
                opacity: 0.92;
            }
            .condensed-chip--diff {
                background: rgba(255, 255, 255, 0.1);
                color: rgba(255, 255, 255, 0.65);
            }
        }

        /* 360px viewport pass — game cards, touch targets, prevent horizontal scroll */
        @media (max-width: 360px) {
            body { padding: 6px; overflow-x: hidden; }
            html { overflow-x: hidden; }

            .container { overflow-x: hidden; }

            .game-card {
                padding: 10px !important;
                min-height: 220px !important;
                border-radius: 8px !important;
            }
            .team-logo { width: 40px; height: 40px; }
            .game-card .team .signal-chamber { width: 40px; height: 40px; }
            .team-name {
                font-size: 0.9em;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                max-width: 100%;
            }
            .team-score { font-size: 1.6em; }
            .vs { padding: 0 5px; font-size: 0.8em; }
            .badge { padding: 6px 12px; font-size: 0.78em; }

            .gamepoint-card {
                padding: 10px !important;
                border-radius: 10px !important;
            }
            .gp-header { gap: 6px; margin-bottom: 10px; }
            .gp-sport { padding: 4px 8px; font-size: 0.8em; }
            .gp-matchup { margin: 10px 0; }
            .gp-team-row { padding: 6px 8px; margin: 6px 0; }
            .gp-team-logo { width: 24px; height: 24px; }
            .gp-team-info .signal-chamber { width: 24px; height: 24px; }
            .gp-team-name { font-size: 0.85em; }
            .gp-team-score { font-size: 1em; }
            .gp-tension-badge { font-size: 0.65em; padding: 2px 6px; }

            .sport-section { padding: 10px !important; margin-bottom: 0 !important; }
            .sport-title { font-size: 1em !important; gap: 6px; }

            .tension-label { font-size: 0.6em; }

            /* Touch target minimums */
            .mobile-hamburger { width: 44px; height: 44px; }
            .drawer-close { width: 44px; height: 44px; font-size: 16px; }
            .mobile-show-all { min-height: 44px; font-size: 0.85em; }
            .sport-status-segment { min-height: 44px; padding: 8px 14px; }
            #mobileBackNav button { min-height: 44px; min-width: 44px; }
            .mobile-nav-item { min-height: 44px; }

            .mobile-overview-grid { row-gap: var(--section-gap); column-gap: 8px; }
            .mobile-overview-panel { padding: 12px; }

            .refresh-fail-banner { padding: 6px 10px; font-size: 0.86rem; gap: 8px; }

            .highlights-row { gap: var(--section-gap); }
            .hot-player-card { padding: 10px !important; }
        }

        /* ── Section back button (replaces #mobileBackNav when in section mode) ── */
        .sport-mobile-back {
            display: none;
            align-items: center;
            gap: 6px;
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: rgba(255,255,255,0.80);
            font-size: 1em;
            font-weight: 700;
            cursor: pointer;
            padding: 0;
            min-height: 44px;
            min-width: 44px;
        }
        .sport-mobile-back svg { width: 8px; height: 14px; flex-shrink: 0; }

        @media (max-width: 768px) {
            #gamesPage.mobile-section-active .sport-mobile-back { display: inline-flex; }
            #gamesPage.mobile-section-active .sport-title-center {
                transform: translateX(-6px);
            }
            #gamesPage.mobile-section-active .games-grid,
            #gamesPage.mobile-section-active .games-grid--featured,
            #gamesPage.mobile-section-active .completed-games-grid,
            #gamesPage.mobile-section-active .tomorrow-games-grid {
                grid-template-columns: 1fr !important;
                justify-content: stretch;
            }
            #gamesPage.mobile-section-active .gamepoint-section .gamepoint-title { display: none; }
            #gamesPage.mobile-section-active .whos-hot-title .whos-hot-title-content { display: none; }
            #gamesPage.mobile-section-active .whos-hot-title--stacked .whos-hot-title-content { display: flex; }
            #gamesPage.mobile-section-active .whos-hot-title--stacked .sport-mobile-back {
                position: static;
                transform: none;
                min-width: auto;
            }
            #gamesPage.mobile-section-active .whos-hot-title--stacked .whos-hot-sport-switcher {
                flex-wrap: wrap;
            }
            #gamesPage.mobile-section-active .player-section-header .sport-title-center {
                transform: none;
            }
            #gamesPage.mobile-section-active .player-section-header .sport-title-right {
                display: block;
                width: 56px;
                flex: 0 0 56px;
            }
            #gamesPage.mobile-section-active .player-section-header {
                margin-bottom: 18px;
                gap: 14px;
            }
            #gamesPage.mobile-section-active .player-section-header .sport-title {
                display: grid;
                grid-template-columns: minmax(56px, max-content) 1fr minmax(56px, max-content);
                align-items: center;
                gap: 10px;
                min-height: 34px;
            }
            #gamesPage.mobile-section-active .player-section-header .sport-mobile-back {
                position: static;
                transform: none;
                min-width: auto;
                min-height: 0;
                padding: 0;
                justify-self: start;
            }
            #gamesPage.mobile-section-active .player-section-header .sport-title-center {
                justify-self: center;
                min-width: 0;
                text-align: center;
            }
            #gamesPage.mobile-section-active .player-section-header .sport-title-right {
                justify-self: end;
                visibility: hidden;
            }
            #gamesPage.mobile-section-active .player-section-header .player-section-controls {
                padding-top: 2px;
            }
            #gamesPage.mobile-section-active .player-section-header .player-section-controls .player-status-segments {
                border-bottom: 1px solid rgba(255, 255, 255, 0.14);
                padding-bottom: 6px;
            }
            #gamesPage.mobile-section-active .whos-hot-section:not(.collapsed) {
                padding-top: 18px;
                border-top: 1px solid rgba(255, 255, 255, 0.12);
            }
            #gamesPage.mobile-section-active .whos-hot-section:not(.collapsed) .whos-hot-grid {
                gap: 14px;
                margin-top: 6px;
            }
            #gamesPage.mobile-section-active .whos-hot-section:not(.collapsed) .surface-empty-state {
                margin-top: 6px;
            }
        }

        @media (max-width: 449px) {
            .games-grid,
            .games-grid--featured,
            .completed-games-grid,
            .tomorrow-games-grid {
                grid-template-columns: 1fr !important;
                justify-content: stretch;
            }
        }

        /* Games Today - small screens: hide team names, show logos only */
        @media (max-width: 520px) {
            .team-name-text {
                display: none;
            }

            .upcoming-game-time {
                min-width: 100px;
                font-size: 0.75em;
                gap: 3px;
            }

            .upcoming-game-teams {
                gap: 3px;
            }

            .upcoming-game-item {
                gap: 6px;
            }

            /* ── 520px: tighten mobile section view ── */

            /* Condensed cards: remove tall min-height, tighten padding */
            .game-card.mobile-condensed {
                padding: 11px 12px;
                min-height: unset;
            }

            /* Sport sections: reduce outer padding and radius */
            .sport-section {
                padding: 12px 10px;
                border-radius: 16px;
                margin-bottom: 0;
            }

            /* Overview panels: tighter */
            .mobile-overview-grid {
                row-gap: var(--section-gap);
                column-gap: 8px;
            }
            .mobile-overview-panel {
                padding: 11px 13px;
                min-height: 68px;
                border-radius: 16px;
            }
            .mobile-overview-panel.mobile-overview-panel--player {
                min-height: auto;
            }

            /* Back nav: tighter */
            #mobileBackNav {
                padding: 6px 0 10px;
            }

            /* NCAA conference filter row: tighter buttons */
            .ncaa-filter-row {
                gap: 4px;
                margin-bottom: 10px;
            }
            .ncaa-conf-tab {
                padding: 5px 10px;
                font-size: 0.72em;
            }
            .ncaa-conf-dropdown-btn {
                padding: 5px 10px;
                font-size: 0.72em;
            }

            /* Sport section title */
            .sport-title {
                font-size: 1rem !important;
            }
        }

        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Screen-reader only: visually hidden, announced by aria-live */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Skip-to-content link */
        .skip-link {
            position: absolute;
            left: -9999px;
            top: auto;
            z-index: 9999;
        }
        .skip-link:focus {
            left: 16px;
            top: 8px;
            background: #1e40af;
            color: #fff;
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.85rem;
            text-decoration: none;
            outline: 2px solid #fff;
            outline-offset: 2px;
        }

        /* Focus styles for keyboard navigation */
        button:focus-visible,
        a:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }

        .game-card:focus-visible,
        .sport-status-segment:focus-visible,
        .mobile-nav-item:focus-visible,
        .mobile-show-all:focus-visible {
            outline: 2px solid rgba(255,255,255,0.4);
            outline-offset: 2px;
        }

        /* Admin Panel button - single entry point, shown with ?admin=true */
        #adminPanelBtn {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
            padding: 12px 22px;
            border-radius: 8px;
            background: #1e40af;
            color: white;
            border: none;
            font-weight: 700;
            cursor: pointer;
            opacity: 0.85;
            transition: opacity 0.3s;
            box-shadow: var(--shadow-md);
        }
        #adminPanelBtn:hover { opacity: 1; }
        #adminPanelBtn.visible { display: block; }

        /* Unified Admin Panel */
        #adminPanel {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(10,10,14,0.97);
            backdrop-filter: blur(20px);
            z-index: 10001;
            flex-direction: column;
            box-sizing: border-box;
        }
        #adminPanel.visible { display: flex; }
        .adm-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 24px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            flex-shrink: 0;
        }
        .adm-title { font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
        .adm-debug-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: rgba(255,255,255,0.85); cursor: pointer; }
        .adm-console-hint { margin: 0 24px 10px; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
        .adm-close { background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; opacity: 0.5; padding: 4px 8px; }
        .adm-close:hover { opacity: 1; }
        .adm-tab-nav {
            display: flex;
            gap: 0;
            padding: 0 24px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            flex-shrink: 0;
        }
        .adm-tab-btn {
            padding: 10px 18px;
            border: none;
            background: none;
            color: rgba(255,255,255,0.45);
            font-weight: 600;
            font-size: 0.82rem;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: color 0.2s, border-color 0.2s;
        }
        .adm-tab-btn:hover { color: rgba(255,255,255,0.8); }
        .adm-tab-btn.active { color: #fff; border-bottom-color: #3b82f6; }
        .adm-body { flex: 1; overflow: hidden; position: relative; }
        .adm-tab-pane { display: none; height: 100%; overflow-y: auto; padding: 20px 24px; box-sizing: border-box; }
        .adm-tab-pane.active { display: block; }
        /* Ops tab layout */
        .adm-ops-layout { display: flex; gap: 20px; align-items: flex-start; }
        .adm-ops-list { flex: 0 0 340px; display: flex; flex-direction: column; gap: 6px; }
        .adm-ops-detail { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px; min-height: 200px; }
        .adm-ops-filter { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
        .adm-ops-filter label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
        .adm-game-row {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 9px 12px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.07);
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.15s;
        }
        .adm-game-row:hover { background: rgba(255,255,255,0.08); }
        .adm-game-row.selected { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.35); }
        .adm-game-matchup { flex: 1; font-size: 0.82rem; color: #fff; font-weight: 600; }
        .adm-game-sport { font-size: 0.75rem; color: rgba(255,255,255,0.35); font-weight: 700; text-transform: uppercase; }
        .watch-score {
            font-size: 0.78rem; font-weight: 800; width: 28px; height: 28px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%; background: rgba(255,255,255,0.07);
            color: rgba(255,255,255,0.6); flex-shrink: 0;
        }
        /* Signal badges */
        .sig-badge {
            font-size: 0.62rem; font-weight: 700; letter-spacing: 0.07em;
            text-transform: uppercase; padding: 2px 6px; border-radius: 4px; flex-shrink: 0;
        }
        .sig-strong   { background: rgba(74,222,128,0.15);  color: #4ade80; }
        .sig-lean     { background: rgba(96,165,250,0.15);  color: #60a5fa; }
        .sig-tossup   { background: rgba(251,191,36,0.15);  color: #fbbf24; }
        .sig-degraded { background: rgba(251,146,60,0.15);  color: #fb923c; }
        .sig-broken   { background: rgba(248,113,113,0.15); color: #f87171; }
        /* Alert history grid */
        .alert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
        @media (max-width: 768px) { .alert-grid { grid-template-columns: 1fr; } }
        .alert-card {
            background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px;
            transition: background 0.2s;
        }
        .alert-card:hover { background: rgba(255,255,255,0.08); }
        .alert-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
        .alert-matchup { font-weight: 700; font-size: 0.9rem; color: #fff; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .alert-tier-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; flex-shrink: 0; }
        .alert-tier-badge.low    { background: rgba(251,191,36,0.15);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
        .alert-tier-badge.medium { background: rgba(251,146,60,0.15);  color: #fb923c; border: 1px solid rgba(251,146,60,0.3); }
        .alert-tier-badge.high   { background: rgba(248,113,113,0.15); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
        .alert-score { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 600; }
        .alert-meta  { font-size: 0.72rem; color: rgba(255,255,255,0.4); display: flex; gap: 8px; flex-wrap: wrap; }
        .alert-time  { font-size: 0.68rem; color: rgba(255,255,255,0.3); }
        .alert-empty { color: rgba(255,255,255,0.35); font-size: 0.88rem; padding: 20px 0; text-align: center; }
        /* Ops detail pane */
        .ops-detail-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 4px; }
        .ops-detail-hint  { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
        .ops-detail-health {
            display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
            margin: 14px 0; padding: 12px; border-radius: 8px;
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
        }
        .ops-health-item { font-size: 0.76rem; color: rgba(255,255,255,0.5); }
        .ops-health-val  { font-weight: 700; color: #fff; }
        .ops-reasons-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.35); margin: 14px 0 8px; }
        .reason-card {
            padding: 10px 12px; background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; margin-bottom: 7px;
        }
        .reason-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 3px; }
        .reason-code  { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.3); letter-spacing: 0.07em; text-transform: uppercase; }
        .reason-title { font-size: 0.8rem; font-weight: 600; color: #fff; }
        .reason-evidence { font-size: 0.76rem; color: rgba(255,255,255,0.48); }
        .reason-bar-wrap { margin-top: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; height: 3px; }
        .reason-bar { height: 3px; border-radius: 3px; background: #3b82f6; transition: width 0.3s; }
        .bb-inner {
            max-width: 720px;
            margin: 0 auto;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 16px;
            padding: 28px;
        }
        .bb-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }
        .bb-header h2 { margin: 0; font-size: 1.4rem; color: #fff; }
        .bb-header span { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
        .bb-close { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; opacity: 0.6; }
        .bb-close:hover { opacity: 1; }
        .bb-sport-label {
            font-size: 0.7rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.4);
            margin: 20px 0 10px;
        }
        .bb-card {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            padding: 16px 20px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }
        .bb-matchup { font-weight: 700; font-size: 1rem; color: #fff; }
        .bb-pick { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
        .bb-prob {
            font-size: 1.5rem;
            font-weight: 800;
            color: #4ade80;
            white-space: nowrap;
        }
        .bb-spread { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-align: right; }
        .bb-empty { color: rgba(255,255,255,0.4); font-size: 0.9rem; padding: 16px 0; }
        .bb-section-header {
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            padding: 4px 0 2px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            margin-bottom: 4px;
        }

        /* Notification Settings */
        #notificationSettingsBtn {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            padding: 10px 15px;
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            font-weight: 600;
            cursor: pointer;
            box-shadow: var(--shadow-md);
            transition: all 0.3s;
            backdrop-filter: blur(10px);
        }

        #notificationSettingsBtn:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: translateY(-2px);
        }

        /* Settings Page - Glassmorphism Design */
        .settings-page {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .settings-page.active {
            display: block;
        }

        /* Hide dropdown panel buttons when on settings page */
        .container[data-page="settings"] #mustWatchBtn,
        .container[data-page="settings"] #weeklyLeadersBtn {
            display: none;
        }

        /* Hide dropdown panels and entire drawer when on settings page */
        .container[data-page="settings"] .header-panel,
        .container[data-page="settings"] #mobileHeaderDropdown {
            display: none !important;
        }

        .settings-container {
            max-width: 800px;
            margin: 0 auto;
            padding-top: 12px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .settings-section {
            background: rgba(0, 0, 0, 0.72);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 24px;
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
            overflow: visible;
        }
        
        .settings-section.has-open-dropdown {
            z-index: 100;
        }
        
        /* Glossy top highlight */
        .settings-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: transparent;
            pointer-events: none;
            border-radius: 20px 20px 0 0;
        }

        .settings-section:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(255,255,255,0.15);
        }

        .settings-section h2 {
            color: white;
            font-size: 1.25em;
            font-weight: 700;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .settings-section p {
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 16px;
            font-size: 0.9em;
            line-height: 1.5;
        }

        .broadcast-delay-setting {
            margin-top: 4px;
        }

        .delay-setting-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 14px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .delay-setting-label label {
            color: white;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.95em;
            display: block;
        }

        .delay-setting-hint {
            color: rgba(255, 255, 255, 0.5);
            font-family: 'Montserrat', sans-serif;
            font-size: 0.78em;
            margin-top: 2px;
            display: block;
        }

        /* Delay dropdown — matches NCAA conference dropdown style */
        .delay-dropdown {
            position: relative;
            flex-shrink: 0;
        }
        .delay-dropdown-btn {
            display: flex; align-items: center; gap: 6px;
            padding: 7px 14px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            color: rgba(255, 255, 255, 0.65);
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.85em;
            cursor: pointer;
            transition: all 0.18s;
            white-space: nowrap;
        }
        .delay-dropdown-btn:hover { background: rgba(255, 255, 255, 0.11); color: white; }
        .delay-dropdown-btn svg { width: 8px; height: 8px; transition: transform 0.18s; }
        .delay-dropdown.open .delay-dropdown-btn {
            background: rgba(85, 55, 215, 0.35);
            border-color: rgba(85, 55, 215, 0.6);
            color: white;
        }
        .delay-dropdown.open .delay-dropdown-btn svg { transform: rotate(180deg); }

        .delay-dropdown-list {
            position: fixed;
            background: #14142a;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 4px 12px 12px 12px;
            padding: 6px;
            min-width: 200px;
            max-height: 320px;
            overflow-y: auto;
            z-index: 9999;
            display: none;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.1) transparent;
        }
        .delay-dropdown.open .delay-dropdown-list { display: block; }

        .delay-dropdown-item {
            padding: 8px 12px;
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.65);
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.82em;
            cursor: pointer;
            transition: all 0.15s;
            white-space: nowrap;
        }
        .delay-dropdown-item:hover { background: rgba(255, 255, 255, 0.08); color: white; }
        .delay-dropdown-item.active { background: rgba(85, 55, 215, 0.35); color: white; }

        .delay-rec-badge {
            font-size: 0.75em;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.4);
            margin-left: 4px;
        }
        .delay-dropdown-item.active .delay-rec-badge { color: rgba(255, 255, 255, 0.6); }

        .delay-dropdown-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.08);
            margin: 6px 4px;
        }

        .delay-dropdown-custom {
            padding: 8px 12px;
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.65);
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.82em;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .delay-custom-input-wrap {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .delay-custom-input-wrap input {
            width: 52px;
            padding: 4px 6px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(0, 0, 0, 0.3);
            color: white;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.9em;
            font-weight: 600;
            text-align: center;
        }
        .delay-custom-input-wrap input:focus {
            outline: none;
            border-color: rgba(85, 55, 215, 0.6);
        }
        .delay-custom-input-wrap input::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }
        .delay-custom-input-wrap button {
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid rgba(85, 55, 215, 0.5);
            background: rgba(85, 55, 215, 0.3);
            color: white;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.82em;
            cursor: pointer;
            transition: all 0.15s;
        }
        .delay-custom-input-wrap button:hover {
            background: rgba(85, 55, 215, 0.5);
        }

        .sport-teams-group {
            margin-bottom: 16px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 14px;
            padding: 16px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .sport-teams-header {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1em;
            font-weight: 600;
            color: white;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .teams-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 8px;
        }

        .team-checkbox {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(8px);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .team-checkbox:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .team-checkbox.selected {
            background: rgba(85, 55, 215, 0.3);
            border-color: rgba(85, 55, 215, 0.6);
        }

        .team-checkbox input[type="checkbox"] {
            display: none;
        }

        .team-checkbox label {
            color: white;
            cursor: pointer;
            font-weight: 500;
            font-size: 0.9em;
            flex: 1;
        }

        .team-checkbox.selected label::before {
            content: '✓ ';
            color: var(--success);
        }

        .notification-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 12px;
            margin-bottom: 16px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .notification-toggle label {
            color: white;
            font-weight: 600;
            font-size: 1em;
        }

        .toggle-switch {
            position: relative;
            width: 52px;
            height: 28px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .toggle-switch.active {
            background: var(--success);
            box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
        }

        .toggle-slider {
            position: absolute;
            top: 2px;
            left: 2px;
            width: 24px;
            height: 24px;
            background: white;
            border-radius: 50%;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .toggle-switch.active .toggle-slider {
            left: 26px;
        }


        /* Push Notification Settings */
        .push-toggle-container {
            margin: 16px 0;
        }

        .push-toggle-btn {
            width: 100%;
            padding: 14px 20px;
            font-size: 1em;
            font-weight: 600;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .push-toggle-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            color: white;
        }

        .push-toggle-btn.active {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border-color: transparent;
        }

        .push-settings-details {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .push-setting-group {
            margin-bottom: 20px;
        }

        .push-setting-title {
            font-weight: 600;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 12px;
            font-size: 0.95em;
        }

        .push-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            margin-bottom: 8px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
            color: rgba(255, 255, 255, 0.85);
            font-size: 0.95em;
        }

        .push-checkbox:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .push-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
            cursor: pointer;
        }

        .push-checkbox select {
            margin-left: auto;
            padding: 6px 10px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(0, 0, 0, 0.24);
            color: rgba(255, 255, 255, 0.9);
            font: inherit;
        }

        .push-diagnostic-list {
            display: grid;
            gap: 8px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 0.9em;
            line-height: 1.4;
        }

        .push-setting-group .push-toggle-btn {
            margin-top: 12px;
            width: 100%;
        }

        .push-recent-alerts {
            display: grid;
            gap: 10px;
        }

        .push-recent-alert-item {
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
        }

        .push-recent-alert-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 4px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.78em;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .push-recent-alert-matchup {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.92em;
            font-weight: 600;
        }

        .push-recent-alert-empty {
            padding: 12px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px dashed rgba(255, 255, 255, 0.12);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9em;
        }

        .push-checkbox .heat-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .push-checkbox .heat-dot.red {
            background: #ef4444;
            box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
        }

        .push-checkbox .heat-dot.orange {
            background: #f97316;
            box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
        }

        .push-checkbox .heat-dot.yellow {
            background: #eab308;
            box-shadow: 0 0 8px rgba(234, 179, 8, 0.5);
        }

        .quiet-hours-inputs {
            display: flex;
            gap: 16px;
            margin-top: 12px;
            padding: 12px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 8px;
        }

        .quiet-hours-inputs label {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9em;
        }

        .quiet-hours-inputs input[type="time"] {
            padding: 6px 10px;
            border-radius: 6px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
            color: white;
            margin-left: 8px;
        }

        .push-unsupported {
            padding: 16px;
            background: rgba(255, 193, 7, 0.1);
            border: 1px solid rgba(255, 193, 7, 0.3);
            border-radius: 8px;
            color: #ffc107;
            text-align: center;
        }

        .setting-badge {
            font-size: 0.75em;
            padding: 4px 10px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
        }

        .setting-badge.enabled {
            background: rgba(34, 197, 94, 0.2);
            color: #22c55e;
        }

        .setting-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 1.1em;
            font-weight: 600;
            margin-bottom: 8px;
            color: white;
        }

        .setting-desc {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9em;
            margin: 0 0 12px 0;
        }

        /* Auto-save indicator */
        .auto-save-indicator {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.5);
            padding: 4px 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            margin-left: auto;
        }

        .auto-save-indicator.saving {
            color: var(--warning);
        }

        .auto-save-indicator.saved {
            color: var(--success);
        }

        /* Filter UI Styles */
        .filter-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 12px;
            margin-bottom: 16px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .filter-toggle label {
            color: white;
            font-weight: 600;
        }

        .sport-filters {
            transition: all 0.3s;
        }

        .sport-filters.disabled {
            opacity: 0.4;
            pointer-events: none;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            min-height: 44px;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 10px;
            cursor: pointer;
            margin-bottom: 12px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: all 0.2s;
        }

        .filter-option:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .filter-checkbox {
            width: 22px;
            height: 22px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .filter-checkbox.checked {
            background: var(--primary);
            border-color: var(--primary);
        }

        .filter-checkbox.checked::after {
            content: '✓';
            color: white;
            font-size: 14px;
            font-weight: bold;
        }

        .filter-option label {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
            cursor: pointer;
        }

        .filter-label {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85em;
            font-weight: 600;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .filter-levels {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-bottom: 16px;
        }

        .filter-level {
            padding: 14px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .filter-level:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .filter-level.selected {
            background: rgba(85, 55, 215, 0.25);
            border-color: rgba(85, 55, 215, 0.5);
        }

        .filter-level-title {
            color: white;
            font-weight: 600;
            font-size: 0.95em;
            margin-bottom: 4px;
        }

        .filter-level-desc {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.8em;
        }

        .conference-picker {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .conference-group {
            margin-bottom: 16px;
        }

        .conference-group-title {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85em;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .conferences-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .conference-chip {
            padding: 6px 12px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.85em;
            cursor: pointer;
            transition: all 0.2s;
        }

        .conference-chip:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .conference-chip.selected {
            background: rgba(85, 55, 215, 0.3);
            border-color: rgba(85, 55, 215, 0.5);
            color: white;
        }

        .favorite-teams-section {
            margin-top: 12px;
            padding: 16px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        /* NBA Teams Picker - Premium Design */
        .nba-teams-picker {
            margin-top: 16px;
        }

        .selected-teams-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 16px;
            min-height: 36px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            border: 1px dashed rgba(255, 255, 255, 0.15);
        }

        .selected-teams-preview:empty::before {
            content: 'No teams selected - tap teams below to add favorites';
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.85em;
        }

        .selected-team-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px 6px 6px;
            background: rgba(85, 55, 215, 0.3);
            border: 1px solid rgba(85, 55, 215, 0.5);
            border-radius: 20px;
            font-size: 0.85em;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
            animation: chipIn 0.2s ease;
        }

        @keyframes chipIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .selected-team-chip:hover {
            background: rgba(239, 68, 68, 0.3);
            border-color: rgba(239, 68, 68, 0.5);
        }

        .selected-team-chip .team-color-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .selected-team-chip .remove-x {
            margin-left: 4px;
            opacity: 0.6;
        }

        .selected-team-chip:hover .remove-x {
            opacity: 1;
        }

        .conference-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
        }

        .conf-tab {
            flex: 1;
            padding: 10px 16px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 600;
            font-size: 0.9em;
            cursor: pointer;
            transition: all 0.2s;
        }

        .conf-tab:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .conf-tab.active {
            background: rgba(85, 55, 215, 0.3);
            border-color: rgba(85, 55, 215, 0.5);
            color: white;
        }

        .ncaa-filter-row {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 14px;
        }
        .ncaa-hidden { display: none !important; }
        .ncaa-conf-tabs {
            display: flex;
            gap: 6px;
            overflow-x: auto;
            padding-bottom: 4px;
            scrollbar-width: none;
        }
        .ncaa-conf-tabs::-webkit-scrollbar { display: none; }
        .ncaa-conf-tab {
            flex-shrink: 0;
            padding: 7px 14px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            color: rgba(255, 255, 255, 0.65);
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.78em;
            cursor: pointer;
            transition: all 0.18s;
            white-space: nowrap;
        }
        .ncaa-conf-tab:hover {
            background: rgba(255, 255, 255, 0.11);
            color: white;
        }
        .ncaa-conf-tab.active {
            background: rgba(85, 55, 215, 0.35);
            border-color: rgba(85, 55, 215, 0.6);
            color: white;
        }
        .ncaa-conf-tab.hot-tab.active {
            background: rgba(220, 110, 20, 0.30);
            border-color: rgba(255, 160, 50, 0.55);
            color: rgba(255, 200, 80, 1);
        }
        .ncaa-conf-dropdown {
            position: relative;
            flex-shrink: 0;
        }
        .ncaa-conf-dropdown-btn {
            display: flex; align-items: center; gap: 5px;
            padding: 7px 14px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            color: rgba(255, 255, 255, 0.65);
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.78em;
            cursor: pointer;
            transition: all 0.18s;
            white-space: nowrap;
        }
        .ncaa-conf-dropdown-btn:hover { background: rgba(255, 255, 255, 0.11); color: white; }
        .ncaa-conf-dropdown-btn.conf-selected {
            background: rgba(85, 55, 215, 0.35);
            border-color: rgba(85, 55, 215, 0.6);
            color: white;
        }
        .ncaa-conf-dropdown-btn svg { width: 8px; height: 8px; transition: transform 0.18s; }
        .ncaa-conf-dropdown.open .ncaa-conf-dropdown-btn svg { transform: rotate(180deg); }
        .ncaa-conf-dropdown-list {
            position: fixed;
            background: #14142a;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 4px 12px 12px 12px;
            padding: 6px;
            min-width: 190px;
            max-height: 260px;
            overflow-y: auto;
            z-index: 9999;
            display: none;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.1) transparent;
        }
        #ncaaDropdownPortal.open { display: block; }
        .ncaa-conf-dropdown-item {
            padding: 7px 12px;
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.65);
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 0.78em;
            cursor: pointer;
            transition: all 0.15s;
            white-space: nowrap;
        }
        .ncaa-conf-dropdown-item:hover { background: rgba(255, 255, 255, 0.08); color: white; }
        .ncaa-conf-dropdown-item.active { background: rgba(85, 55, 215, 0.35); color: white; }

        .nba-conf-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
        }

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

        .nba-team-card {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 16px 8px;
            background: rgba(255, 255, 255, 0.04);
            border: 2px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .nba-team-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            opacity: 0.7;
            transition: height 0.2s;
        }

        .nba-team-card:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .nba-team-card:hover::before {
            height: 100%;
            opacity: 0.15;
        }

        .nba-team-card.selected {
            background: rgba(85, 55, 215, 0.2);
            border-color: rgba(85, 55, 215, 0.6);
            transform: scale(0.98);
        }

        .nba-team-card.selected::after {
            content: '✓';
            position: absolute;
            top: 6px;
            right: 6px;
            width: 18px;
            height: 18px;
            background: var(--success);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: white;
            font-weight: bold;
        }

        .nba-team-card:active {
            transform: scale(0.95);
        }

        .team-abbr {
            font-size: 1.1em;
            font-weight: 800;
            color: white;
            margin-bottom: 4px;
            letter-spacing: 0.5px;
        }

        .team-name {
            font-size: 0.75em;
            color: rgba(255, 255, 255, 0.6);
            text-align: center;
        }

        /* NCAA Team Search Styles */
        .ncaa-team-search {
            margin-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 20px;
        }

        .ncaa-search-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        .ncaa-search-header h4 {
            margin: 0;
            font-size: 0.95em;
            color: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .ncaa-favorites-count {
            background: rgba(85, 55, 215, 0.4);
            color: white;
            font-size: 0.75em;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 600;
        }

        .ncaa-search-container {
            position: relative;
            margin-bottom: 12px;
        }

        .ncaa-search-input {
            width: 100%;
            padding: 12px 16px 12px 40px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 10px;
            color: white;
            font-size: 0.9em;
            outline: none;
            transition: all 0.2s;
            box-sizing: border-box;
        }

        .ncaa-search-input:focus {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(85, 55, 215, 0.5);
        }

        .ncaa-search-input::placeholder {
            color: rgba(255, 255, 255, 0.4);
        }

        .ncaa-search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.9em;
            pointer-events: none;
        }

        .ncaa-selected-teams {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 12px;
            min-height: 0;
        }

        .ncaa-selected-teams:empty {
            display: none;
        }

        .ncaa-team-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 8px;
            background: rgba(85, 55, 215, 0.3);
            border: 1px solid rgba(85, 55, 215, 0.5);
            border-radius: 6px;
            font-size: 0.8em;
            color: white;
            cursor: pointer;
            transition: all 0.2s;
        }

        .ncaa-team-chip:hover {
            background: rgba(220, 53, 69, 0.3);
            border-color: rgba(220, 53, 69, 0.5);
        }

        .ncaa-team-chip .remove-x {
            font-size: 0.9em;
            opacity: 0.7;
        }

        .ncaa-browse-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.85em;
            cursor: pointer;
            transition: all 0.2s;
        }

        .ncaa-browse-toggle:hover {
            background: rgba(255, 255, 255, 0.08);
            color: white;
        }

        .ncaa-browse-toggle .arrow {
            transition: transform 0.2s;
        }

        .ncaa-browse-toggle.expanded .arrow {
            transform: rotate(180deg);
        }

        .ncaa-conference-browser {
            display: none;
            margin-top: 12px;
            max-height: 300px;
            overflow-y: auto;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            padding: 12px;
        }

        .ncaa-conference-browser.expanded {
            display: block;
        }

        .ncaa-conf-section {
            margin-bottom: 16px;
        }

        .ncaa-conf-section:last-child {
            margin-bottom: 0;
        }

        .ncaa-conf-header {
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
            padding-bottom: 4px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .ncaa-conf-header:hover {
            color: rgba(255, 255, 255, 0.7);
        }

        .ncaa-conf-header .conf-arrow {
            transition: transform 0.2s;
        }

        .ncaa-conf-header.collapsed .conf-arrow {
            transform: rotate(-90deg);
        }

        .ncaa-conf-teams {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 6px;
        }

        .ncaa-conf-teams.collapsed {
            display: none;
        }

        @media (min-width: 500px) {
            .ncaa-conf-teams {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .ncaa-team-option {
            padding: 8px 10px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 6px;
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            transition: all 0.15s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .ncaa-team-option:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .ncaa-team-option.selected {
            background: rgba(85, 55, 215, 0.3);
            border-color: rgba(85, 55, 215, 0.5);
            color: white;
        }

        .ncaa-team-option.selected::after {
            content: ' ★';
            color: #ffd700;
        }

        .ncaa-search-results {
            display: none;
            max-height: 200px;
            overflow-y: auto;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            margin-top: 4px;
        }

        .ncaa-search-results.active {
            display: block;
        }

        .ncaa-search-result {
            padding: 10px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: background 0.15s;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .ncaa-search-result:last-child {
            border-bottom: none;
        }

        .ncaa-search-result:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .ncaa-search-result.selected {
            background: rgba(85, 55, 215, 0.2);
        }

        .ncaa-result-team {
            font-size: 0.9em;
            color: white;
        }

        .ncaa-result-conf {
            font-size: 0.75em;
            color: rgba(255, 255, 255, 0.5);
        }

        .ncaa-result-star {
            color: #ffd700;
        }

        /* Ops tab responsive stacking on narrow screens */
        @media (max-width: 720px) {
            .adm-ops-layout { flex-direction: column; }
            .adm-ops-list   { flex: none; width: 100%; }
        }
        .tr-modal-inner {
            max-width: 900px;
            margin: 0 auto;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 16px;
            padding: 32px;
        }
        .tr-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 28px;
        }
        .tr-modal-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin: 0;
        }
        .tr-close-btn {
            background: none;
            border: 1px solid rgba(255,255,255,0.3);
            color: #fff;
            font-size: 1.2rem;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .tr-sport-section {
            margin-bottom: 32px;
        }
        .tr-sport-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: rgba(255,255,255,0.85);
            margin-bottom: 14px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .tr-accuracy-bar-wrap {
            margin-bottom: 8px;
        }
        .tr-bar-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.6);
            margin-bottom: 4px;
        }
        .tr-bar-track {
            height: 10px;
            background: rgba(255,255,255,0.1);
            border-radius: 5px;
            overflow: hidden;
        }
        .tr-bar-fill {
            height: 100%;
            border-radius: 5px;
            transition: width 0.6s ease;
        }
        .tr-bar-fill.green  { background: #22c55e; }
        .tr-bar-fill.yellow { background: #eab308; }
        .tr-bar-fill.red    { background: #ef4444; }
        .tr-meta {
            font-size: 0.78rem;
            color: rgba(255,255,255,0.4);
            margin-top: 8px;
        }
        .tr-divider {
            border: none;
            border-top: 1px solid rgba(255,255,255,0.1);
            margin: 28px 0;
        }
        .tr-miss-title {
            font-size: 1rem;
            font-weight: 700;
            color: rgba(255,255,255,0.85);
            margin-bottom: 12px;
        }
        .tr-miss-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.8rem;
        }
        .tr-miss-table th {
            text-align: left;
            padding: 6px 8px;
            color: rgba(255,255,255,0.45);
            font-weight: 600;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .tr-miss-table td {
            padding: 6px 8px;
            color: rgba(255,255,255,0.75);
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .tr-miss-table tr:hover td {
            background: rgba(255,255,255,0.04);
        }

        /* Onboarding Styles */
        .onboarding-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s;
        }

        .onboarding-overlay.active {
            display: flex;
        }

        .onboarding-modal {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(30px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            padding: 40px;
            max-width: 500px;
            width: 90%;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .onboarding-header {
            margin-bottom: 30px;
        }

        .onboarding-logo {
            width: 60px;
            height: 60px;
            margin-bottom: 16px;
            filter: drop-shadow(0 4px 12px rgba(85, 55, 215, 0.5));
        }

        .onboarding-header h1 {
            color: white;
            font-size: 1.8em;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .onboarding-header p {
            color: rgba(255, 255, 255, 0.6);
        }

        .onboarding-step h2 {
            color: white;
            font-size: 1.2em;
            margin-bottom: 8px;
        }

        .onboarding-step p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9em;
            margin-bottom: 20px;
        }

        .sport-choices {
            display: flex;
            gap: 16px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .sport-choice {
            padding: 20px 30px;
            background: rgba(255, 255, 255, 0.06);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .sport-choice:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .sport-choice.selected {
            background: rgba(85, 55, 215, 0.3);
            border-color: rgba(85, 55, 215, 0.6);
        }

        .sport-choice-icon {
            font-size: 2em;
        }

        .sport-choice-name {
            color: white;
            font-weight: 600;
        }

        .ncaa-level-choices {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }

        .ncaa-level-choice {
            padding: 14px 20px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            cursor: pointer;
            text-align: left;
            transition: all 0.2s;
        }

        .ncaa-level-choice:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .ncaa-level-choice.selected {
            background: rgba(85, 55, 215, 0.25);
            border-color: rgba(85, 55, 215, 0.5);
        }

        .ncaa-level-choice strong {
            color: white;
            display: block;
            margin-bottom: 2px;
        }

        .ncaa-level-choice small {
            color: rgba(255, 255, 255, 0.5);
        }

        .alert-choices {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .alert-choice-btn {
            padding: 14px 24px;
            border-radius: 12px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }

        .alert-choice-btn.primary {
            background: var(--success);
            color: white;
        }

        .alert-choice-btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
        }

        .alert-choice-btn.secondary {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
        }

        .alert-choice-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .onboarding-inline-status {
            margin-top: 14px;
            padding: 12px 14px;
            border-radius: 12px;
            background: rgba(255, 179, 179, 0.12);
            border: 1px solid rgba(255, 179, 179, 0.25);
            color: #ffd7d7;
            font-size: 0.88em;
            line-height: 1.45;
            text-align: left;
        }

        .onboarding-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .onboarding-btn {
            padding: 12px 28px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }

        .onboarding-btn.back {
            background: transparent;
            color: rgba(255, 255, 255, 0.6);
        }

        .onboarding-btn.back:hover {
            color: white;
        }

        .onboarding-btn.next {
            background: var(--primary);
            color: white;
            margin-left: auto;
        }

        .onboarding-btn.next:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(85, 55, 215, 0.3);
        }

        .games-page {
            display: flex;
            flex-direction: column;
            gap: var(--section-gap);
            padding-bottom: var(--section-gap);
            position: relative;
        }
        .games-page > * {
            margin: 0;
        }

        .games-page.hidden {
            display: none;
        }

        .upcoming-game-item {
            position: relative;
        }

        .upcoming-game-item .favorite-star {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0;
            width: 18px;
            text-align: center;
            font-size: 0.95em;
            z-index: 5;
            opacity: 1;
        }

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

            .settings-container {
                padding: 20px;
            }

            header {
                flex-wrap: wrap;
                gap: 8px;
                padding: 10px 15px;
            }

            .header-left,
            .header-right {
                flex: 0 0 auto;
            }

            .header-center {
                order: -1;
                flex: 1 0 100%;
                text-align: center;
                margin-bottom: 5px;
            }

            .logo-container {
                justify-content: center;
                flex-wrap: wrap;
            }

            .tagline {
                display: none;
            }

            .api-status {
                font-size: 0.86rem;
                padding: 3px 8px;
            }
        }

        /* ====== WHO'S HOT SECTION ====== */
        .whos-hot-section {
            background: var(--depth-support-bg);
            backdrop-filter: blur(var(--depth-support-blur));
            -webkit-backdrop-filter: blur(var(--depth-support-blur));
            border-radius: 20px;
            padding: 18px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-top: 2px solid var(--accent-neutral);
            box-shadow: var(--depth-support-shadow);
            position: relative;
            overflow: hidden;
            animation: fadeIn 0.5s;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            transition: height 0.3s ease;
            width: 100%;
            max-width: 100%; /* Allow it to fit within container */
        }

        .whos-hot-section.collapsed {
            height: auto;
        }

        /* Who to Watch Tonight — no extra margin so no gap above it */
        .who-to-watch-section {
            margin-top: 0;
        }

        .who-to-watch-section.collapsed .whos-hot-title {
            margin-bottom: 0;
        }

        /* Standout Player Recap section */
        .standout-recap-section {
            margin-top: 0;
        }
        .standout-recap-section .hot-player-card.recap-standout-card {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .standout-recap-section .hot-player-card.recap-standout-card .hot-player-header {
            display: flex;
            align-items: center;
        }
        .standout-recap-section .hot-player-headshot {
            border-radius: 50%;
            margin-right: 8px;
            flex-shrink: 0;
        }

        .whos-hot-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: transparent;
            pointer-events: none;
            border-radius: 20px 20px 0 0;
        }

        .whos-hot-title {
            font-size: 1.3em;
            font-weight: 800;
            color: white;
            margin-bottom: 15px;
            padding-bottom: 13px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.14);
            cursor: pointer;
            user-select: none;
            position: relative;
            transition: margin-bottom 0.3s ease, padding-bottom 0.3s ease, border-bottom 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }
        
        .whos-hot-title-content {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .whos-hot-title--stacked {
            align-items: stretch;
            gap: 12px;
        }

        .whos-hot-title-main {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 44px;
            min-width: 0;
        }

        .whos-hot-title--stacked .whos-hot-title-content {
            flex: 1 1 auto;
            min-width: 0;
        }

        .whos-hot-title-right {
            display: none;
        }

        .whos-hot-title-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
            width: 100%;
        }
        
        .whos-hot-sport-switcher {
            display: flex;
            gap: 8px;
            pointer-events: auto;
        }
        
        .whos-hot-sport-switcher .sport-switch-btn {
            padding: 4px 12px;
            font-size: 0.7em;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.7);
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
        }
        
        .whos-hot-sport-switcher .sport-switch-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            color: white;
        }
        
        .whos-hot-sport-switcher .sport-switch-btn.active {
            background: rgba(255, 255, 255, 0.25);
            color: white;
            border-color: rgba(255, 255, 255, 0.4);
        }

        .whos-hot-title:hover {
            border-bottom-color: rgba(255, 255, 255, 0.25);
        }

        .whos-hot-title .toggle-icon {
            transition: transform 0.3s ease;
            font-size: 0.7em;
        }

        .whos-hot-header {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .whos-hot-header .player-league-segments {
            width: 100%;
        }

        .whos-hot-section.collapsed .whos-hot-header .sport-status-segments {
            display: none;
        }

        .whos-hot-section.collapsed .whos-hot-title {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .whos-hot-section.collapsed .whos-hot-title .toggle-icon {
            transform: rotate(-90deg);
        }

        .whos-hot-section.collapsed .whos-hot-grid {
            display: none;
        }

        .whos-hot-collapsed-preview {
            font-size: 0.85em;
            color: rgba(255, 255, 255, 0.65);
            margin-top: 6px;
            cursor: pointer;
            width: 100%;
        }

        .whos-hot-title-controls .whos-hot-collapsed-preview {
            margin-top: 0;
            flex: 1 1 100%;
        }

        .whos-hot-section:not(.collapsed) .whos-hot-collapsed-preview {
            display: none;
        }

        .whos-hot-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(min(310px, 100%), 1fr));
            gap: 16px;
            flex: 1;
            max-width: 100%;
            margin: 0 auto;
            justify-content: center;
        }

        @media (min-width: 769px) {
            .whos-hot-section:not(.collapsed) {
                padding-top: 24px;
            }

            .whos-hot-section:not(.collapsed) .whos-hot-header {
                gap: 16px;
            }

            .whos-hot-section:not(.collapsed) .whos-hot-title {
                margin-bottom: 0;
                padding-bottom: 14px;
            }

            .whos-hot-section:not(.collapsed) .whos-hot-header .player-league-segments {
                margin-top: 2px;
            }

            .whos-hot-section:not(.collapsed) .whos-hot-grid {
                margin-top: 8px;
            }
        }

        .whos-hot-section:not(.collapsed).surface-empty-shell {
            padding-top: 20px;
        }
        
        /* Responsive breakpoints for smaller screens */
        @media (max-width: 699px) {
            .whos-hot-grid {
                grid-template-columns: 1fr;
            }
            
            .hot-player-card {
                max-width: 400px;
                margin: 0 auto;
            }
        }
        
        /* Medium screens: ensure Who's Hot cards don't overflow */
        @media (min-width: 700px) and (max-width: 1400px) {
            .whos-hot-grid {
                grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
                gap: 12px;
            }

            .hot-player-card {
                max-width: none;
            }
        }

        /* Desktop: left-align cards so a lone card doesn't float centered in empty space */
        @media (min-width: 769px) {
            .whos-hot-grid {
                justify-content: start;
                margin: 0;
            }
        }

        .hot-player-card {
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
                rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 16px;
            border: 2px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(12px) saturate(180%);
            -webkit-backdrop-filter: blur(12px) saturate(180%);
            position: relative;
            overflow: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .hot-player-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
            pointer-events: none;
            border-radius: 12px 12px 0 0;
        }

        .hot-player-card:hover {
            transform: translateY(-3px);
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        }

        .hot-player-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .hot-rank {
            width: 36px;
            height: 36px;
            min-width: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.85rem;
            color: white;
            background: rgba(255, 255, 255, 0.15);
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        .hot-rank.rank-1 {
            width: 42px;
            height: 42px;
            min-width: 42px;
            font-size: 0.95rem;
            /* Default fallback; overridden by inline team color */
            background: linear-gradient(135deg, #f97316, #ea580c);
            border-color: rgba(249, 115, 22, 0.6);
            box-shadow: 0 2px 12px rgba(249, 115, 22, 0.35);
        }

        .hot-player-info {
            flex: 1;
            min-width: 0;
        }

        .hot-player-name {
            color: white;
            font-weight: 800;
            font-size: 0.92rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .hot-player-team-logo {
            width: 28px;
            height: 28px;
            min-width: 28px;
            object-fit: contain;
            margin-left: auto;
        }

        .hot-player-team {
            color: rgba(255, 255, 255, 0.64);
            font-size: 0.77rem;
            font-weight: 600;
            line-height: 1.4;
        }

        .hot-broadcast-live {
            color: #ff4444;
            font-weight: 700;
            animation: broadcast-blink 1.5s ease-in-out infinite;
        }

        @keyframes broadcast-blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        .hot-stats-row {
            display: flex;
            gap: 6px;
            margin-bottom: 10px;
        }

        .hot-stat {
            flex: 1;
            background: rgba(0, 0, 0, 0.25);
            border-radius: 8px;
            padding: 7px 5px;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .hot-stat-value {
            color: white;
            font-weight: 800;
            font-size: 1.1rem;
            line-height: 1.2;
        }

        .hot-stat-label {
            color: rgba(255, 255, 255, 0.48);
            font-size: 0.6rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .hot-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-bottom: 10px;
        }

        .hot-badge {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 6px;
            padding: 2px 7px;
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.72);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .heat-meter {
            margin-top: auto;
            margin-bottom: 10px;
        }

        .heat-meter-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
        }

        .heat-meter-text {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.65rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .heat-score {
            color: #f97316;
            font-weight: 800;
            font-size: 0.8rem;
        }

        .heat-meter-bar {
            height: 4px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 2px;
            overflow: hidden;
        }

        .heat-meter-fill {
            height: 100%;
            border-radius: 2px;
            background: linear-gradient(90deg, #f97316, #eab308);
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hot-game-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: rgba(255, 255, 255, 0.54);
            font-size: 0.72rem;
            font-weight: 600;
        }

        .hot-live-indicator {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: var(--danger);
            font-weight: 700;
            font-size: 0.68rem;
            text-transform: uppercase;
        }

        .hot-live-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--danger);
            animation: pulse-green 2s ease-in-out infinite;
        }

        /* Expandable stat detail */
        .hot-expanded-stats {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin 0.35s ease, opacity 0.35s ease;
            margin-top: 0;
            opacity: 0;
        }

        .hot-player-card:hover .hot-expanded-stats {
            max-height: 200px;
            margin-top: 10px;
            opacity: 1;
        }

        .hot-expanded-inner {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 10px;
        }

        .hot-full-statline {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
        }

        .hot-full-stat {
            text-align: center;
            padding: 4px;
        }

        .hot-full-stat-value {
            color: rgba(255, 255, 255, 0.85);
            font-weight: 700;
            font-size: 0.9rem;
        }
        
        .hot-full-stat-value.positive {
            color: #4ade80;
        }
        
        .hot-full-stat-value.negative {
            color: #f87171;
        }

        .hot-full-stat-label {
            color: rgba(255, 255, 255, 0.35);
            font-size: 0.58rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .hot-expand-hint {
            text-align: center;
            color: rgba(255, 255, 255, 0.2);
            font-size: 0.62rem;
            margin-top: 6px;
            transition: opacity 0.2s ease;
        }

        .hot-player-card:hover .hot-expand-hint {
            opacity: 0;
        }

        /* Stack the two player sections with the same rhythm as the rest of the page */
        #whosHotContainer {
            display: flex;
            flex-direction: column;
            gap: var(--section-gap);
        }

        /* Keep desktop player-section shells aligned; collapsed/open states should span the row */
        #whoToWatchContainer {
            width: 100%;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .surface-empty-state {
            display: flex;
            flex-direction: column;
            gap: 6px;
            width: 100%;
            padding: 16px 18px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.04);
            box-sizing: border-box;
        }

        .surface-empty-kicker {
            color: rgba(255, 255, 255, 0.42);
            font-size: 0.66rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .surface-empty-title {
            color: rgba(255, 255, 255, 0.92);
            font-size: 0.98rem;
            font-weight: 700;
            line-height: 1.25;
        }

        .surface-empty-copy {
            color: rgba(255, 255, 255, 0.68);
            font-size: 0.86rem;
            line-height: 1.45;
            max-width: 52ch;
        }

        .whos-hot-section .surface-empty-state {
            margin-top: 2px;
        }

        .gamepoint-section .surface-empty-state {
            margin-top: 8px;
            background: rgba(255, 255, 255, 0.035);
        }

        /* Mobile section-specific visibility — now handled via direct display toggling in JS */
        #whosHotContainer.show-watch-only .whos-hot-section:not(.who-to-watch-section) {
            display: none !important;
        }

        @media (max-width: 768px) {
            .whos-hot-section {
                padding: 14px;
            }
            .whos-hot-grid {
                gap: 12px;
            }
            .hot-player-card {
                padding: 12px;
                width: 100%;
            }
            .surface-empty-state {
                padding: 14px 15px;
            }
            .surface-empty-copy {
                font-size: 0.83rem;
            }
        }

        .hot-player-card.pre-game {
            border-left: 3px solid rgba(166, 186, 255, 0.46);
            opacity: 0.96;
        }

        .hot-broadcast-pregame {
            color: rgba(255, 255, 255, 0.72);
            font-weight: 700;
            font-size: 0.75rem;
        }

        .hot-pregame-context {
            font-size: 0.74rem;
            color: rgba(255, 255, 255, 0.78);
            padding: 6px 0 2px;
            line-height: 1.35;
            font-weight: 600;
        }

        /* ========================================
           WEEKLY LEADERS SECTION
           ======================================== */

        .weekly-leaders-section {
            background: var(--depth-support-bg);
            backdrop-filter: blur(var(--depth-support-blur));
            -webkit-backdrop-filter: blur(var(--depth-support-blur));
            border-radius: 20px;
            padding: 18px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-top: 2px solid var(--accent-cool);
            box-shadow: var(--depth-support-shadow);
            margin-bottom: 0;
            transition: height 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .weekly-leaders-section.collapsed {
            height: auto;
        }

        .weekly-leaders-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: transparent;
            pointer-events: none;
            border-radius: 20px 20px 0 0;
        }

        .weekly-leaders-title {
            font-size: 1.3em;
            font-weight: 700;
            color: white;
            text-align: center;
            margin-bottom: 15px;
            padding-bottom: 11px;
            border-bottom: 3px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            user-select: none;
            position: relative;
            transition: margin-bottom 0.3s ease, padding-bottom 0.3s ease, border-bottom 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .weekly-leaders-title:hover {
            border-bottom-color: rgba(255, 255, 255, 0.25);
        }

        /* Signal System — Section Subtitles */
        .section-subtitle {
            display: block;
            font-size: 0.65em;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            letter-spacing: 0.5px;
            text-transform: uppercase;
            opacity: 0.55;
            margin-top: 2px;
        }

        .weekly-leaders-section.collapsed .weekly-leaders-title {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .weekly-leaders-title .toggle-icon {
            transition: transform 0.3s ease;
            font-size: 0.7em;
        }

        .weekly-leaders-section.collapsed .weekly-leaders-title .toggle-icon {
            transform: rotate(-90deg);
        }

        .weekly-leaders-section.collapsed .weekly-leaders-grid {
            display: none;
        }

        .weekly-leaders-icon {
            color: #3b82f6;
        }

        #weeklyLeadersContent .weekly-leaders-header-inline {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        #weeklyLeadersContent .weekly-leaders-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
        }

        #weeklyLeadersContent .section-subtitle {
            margin-right: 0 !important;
        }

        #weeklyLeadersContent .weekly-leaders-window {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(255, 255, 255, 0.05);
            color: rgba(255, 255, 255, 0.66);
            font-size: 0.68rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .weekly-leaders-sport-switcher {
            display: inline-flex;
            gap: 0;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            padding: 2px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .weekly-leaders-sport-switcher .sport-switch-btn {
            padding: 4px 12px;
            font-size: 0.75em;
        }


        #weeklyLeadersContent .weekly-leaders-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        @media (max-width: 768px) {
            #weeklyLeadersContent .weekly-leaders-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
        }

        /* Better layout for tablets/medium screens */
        @media (min-width: 480px) and (max-width: 768px) {
            #weeklyLeadersContent .weekly-leaders-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        #weeklyLeadersContent .leader-category {
            background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
            border-radius: 14px;
            padding: 10px;
            border: 1px solid rgba(255, 255, 255, 0.09);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        #weeklyLeadersContent .leader-category-header {
            --cat-accent: #7fb2ff;
            font-size: 0.92rem;
            font-weight: 700;
            margin-bottom: 8px;
            padding: 3px 0 3px 8px;
            display: flex;
            align-items: center;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.9);
            border-left: 3px solid var(--cat-accent);
        }

        #weeklyLeadersContent .leader-category-header.scoring { --cat-accent: #ffad44; }
        #weeklyLeadersContent .leader-category-header.rebounds { --cat-accent: #66d4ff; }
        #weeklyLeadersContent .leader-category-header.playmaking { --cat-accent: #8bf18f; }
        #weeklyLeadersContent .leader-category-header.allaround { --cat-accent: #d6a6ff; }

        #weeklyLeadersContent .leader-item {
            --team-accent: #4a9eff;
            --team-accent-soft: rgba(74, 158, 255, 0.2);
            --team-accent-border: rgba(74, 158, 255, 0.45);
            display: grid;
            grid-template-columns: auto auto minmax(0, 1fr);
            align-items: center;
            gap: 8px;
            padding: 7px 8px;
            border-radius: 10px;
            margin-bottom: 6px;
            border: 1px solid var(--team-accent-border);
            background:
                linear-gradient(90deg, var(--team-accent-soft) 0%, rgba(255, 255, 255, 0.02) 60%),
                rgba(9, 11, 20, 0.28);
            transition: none;
            cursor: default;
        }

        #weeklyLeadersContent .leader-item:last-child {
            margin-bottom: 0;
        }

        #weeklyLeadersContent .leader-rank {
            font-weight: 700;
            color: rgba(255, 255, 255, 0.7);
            min-width: 28px;
            font-size: 0.95rem;
        }

        #weeklyLeadersContent .leader-headshot-wrap {
            position: relative;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
        }

        #weeklyLeadersContent .leader-headshot {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        #weeklyLeadersContent .leader-headshot-fallback {
            position: absolute;
            inset: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.64rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.88);
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }

        #weeklyLeadersContent .leader-main {
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        #weeklyLeadersContent .leader-topline,
        #weeklyLeadersContent .leader-bottomline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            min-width: 0;
        }

        #weeklyLeadersContent .leader-name {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            font-size: 0.94rem;
        }

        #weeklyLeadersContent .leader-team-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 2px 7px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.88);
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            flex: 0 0 auto;
        }

        #weeklyLeadersContent .leader-team-logo {
            width: 12px;
            height: 12px;
            object-fit: contain;
            display: block;
        }

        #weeklyLeadersContent .leader-team {
            margin-right: 0;
            color: inherit;
            font-size: inherit;
            line-height: 1;
        }

        #weeklyLeadersContent .leader-last-game {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-right: 0;
            color: rgba(255, 255, 255, 0.62);
            font-size: 0.72rem;
            line-height: 1.2;
        }

        #weeklyLeadersContent .leader-stat {
            margin-right: 0;
            min-width: 74px;
            text-align: right;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.84);
            font-size: 0.9rem;
            line-height: 1.2;
        }

        .sport-switch-btn {
            padding: 6px 16px;
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.85em;
            font-weight: 600;
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.2s ease;
            font-family: 'Montserrat', sans-serif;
        }

        .sport-switch-btn:hover {
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.05);
        }

        .sport-switch-btn.active {
            color: white;
            background: rgba(103, 126, 234, 0.5);
            box-shadow: 0 2px 8px rgba(103, 126, 234, 0.3);
        }




        /* Signal System — Rank Medal Tinting */
        #weeklyLeadersContent .leader-item.rank-1 .leader-rank { color: var(--rank-gold); }
        #weeklyLeadersContent .leader-item.rank-2 .leader-rank { color: var(--rank-silver); }
        #weeklyLeadersContent .leader-item.rank-3 .leader-rank { color: var(--rank-bronze); }
        #weeklyLeadersContent .leader-item.rank-1 .leader-stat { color: var(--rank-gold); }
        #weeklyLeadersContent .leader-item.rank-2 .leader-stat { color: var(--rank-silver); }
        #weeklyLeadersContent .leader-item.rank-3 .leader-stat { color: var(--rank-bronze); }

        /* ========================================
           MARQUEE BANNER
           ======================================== */

        .marquee-banner {
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border-radius: 24px;
            padding: 24px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-top: 2px solid var(--accent-warm);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
            margin-bottom: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            animation: fadeIn 0.5s;
        }

        .marquee-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 40%;
            background: transparent;
            pointer-events: none;
            border-radius: 24px 24px 0 0;
        }

        .marquee-banner.collapsed {
            padding: 12px 24px;
        }

        .marquee-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .marquee-title {
            font-size: 1.5em;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .marquee-collapse-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 6px 12px;
            color: white;
            cursor: pointer;
            font-size: 0.9em;
            transition: all 0.2s;
            font-family: inherit;
        }

        .marquee-collapse-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Marquee Banner Inline (for header panel) */
        .marquee-banner-inline {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .marquee-content {
            display: grid;
            gap: 20px;
        }

        .marquee-panel-loading {
            display: grid;
            gap: 6px;
            padding: 18px 20px;
            border-radius: 16px;
            background: rgba(0, 0, 0, 0.22);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.82);
        }

        .marquee-panel-loading__title {
            font-size: 0.88rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.88);
        }

        .marquee-panel-loading__meta {
            font-size: 0.84rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .marquee-banner.collapsed .marquee-content {
            display: none;
        }

        .marquee-game-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .marquee-drama-badge {
            display: inline-block;
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.85em;
            animation: glow-pulse 2s ease-in-out infinite;
        }
        
        /* Badge colors based on must-watch score — 6-tier school bus yellow → burning red */
        .badge-amber {
            --glow-color: rgba(255, 209, 0, 0.45);
            background: linear-gradient(135deg, #FFD100, #D4A800);
            box-shadow: 0 0 18px rgba(255, 209, 0, 0.4);
        }

        .badge-golden {
            --glow-color: rgba(255, 160, 0, 0.45);
            background: linear-gradient(135deg, #FFA000, #CC7800);
            box-shadow: 0 0 18px rgba(255, 160, 0, 0.4);
        }

        .badge-ember {
            --glow-color: rgba(255, 101, 0, 0.45);
            background: linear-gradient(135deg, #FF6500, #CC4400);
            box-shadow: 0 0 20px rgba(255, 101, 0, 0.45);
        }

        .badge-blaze {
            --glow-color: rgba(255, 110, 0, 0.5);
            background: linear-gradient(135deg, #FF6E00, #CC4500);
            box-shadow: 0 0 20px rgba(255, 110, 0, 0.5);
        }

        .badge-crimson {
            --glow-color: rgba(204, 0, 0, 0.55);
            background: linear-gradient(135deg, #CC0000, #8B0000);
            box-shadow: 0 0 22px rgba(204, 0, 0, 0.55);
        }

        .badge-inferno {
            --glow-color: rgba(180, 0, 0, 0.7);
            background: linear-gradient(135deg, #7B0000, #3B0000);
            box-shadow: 0 0 28px rgba(180, 0, 0, 0.65);
            animation: glow-pulse-inferno 1.5s ease-in-out infinite;
        }

        .marquee-drama-badge.badge-best-available {
            background: rgba(255, 255, 255, 0.18);
            box-shadow: none;
            animation: none;
        }

        .marquee-badge-wrap {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
        }
        .marquee-best-available-subtext {
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.55);
        }
        .marquee-rankings-status {
            font-size: 0.78em;
            line-height: 1.35;
            border-radius: 999px;
            padding: 4px 10px;
            border: 1px solid transparent;
        }
        .marquee-rankings-status--degraded {
            color: rgba(255, 228, 179, 0.96);
            background: rgba(242, 190, 92, 0.12);
            border-color: rgba(242, 190, 92, 0.24);
        }
        .marquee-rankings-status--warning {
            color: rgba(254, 202, 202, 0.95);
            background: rgba(239, 68, 68, 0.12);
            border-color: rgba(248, 113, 113, 0.22);
        }

        @keyframes glow-pulse {
            0%, 100% { box-shadow: 0 0 18px var(--glow-color, rgba(255, 160, 0, 0.4)); }
            50%       { box-shadow: 0 0 32px var(--glow-color, rgba(255, 160, 0, 0.6)); }
        }

        @keyframes glow-pulse-inferno {
            0%, 100% { box-shadow: 0 0 28px rgba(180, 0, 0, 0.65); }
            50%       { box-shadow: 0 0 52px rgba(180, 0, 0, 0.9); }
        }

        .marquee-game-info {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.95em;
            flex-wrap: wrap;
        }

        .marquee-broadcast-live {
            color: #ff4444;
            font-weight: 700;
        }

        .marquee-broadcast-normal {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 700;
        }

        .marquee-broadcast-final {
            color: rgba(255, 255, 255, 0.45);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .marquee-separator {
            color: rgba(255, 255, 255, 0.4);
        }

        .marquee-sport-switcher {
            display: inline-flex;
            gap: 0;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            padding: 2px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-left: 8px;
        }

        .marquee-sport-switcher .sport-switch-btn {
            padding: 4px 12px;
            font-size: 0.75em;
        }

        @media (max-width: 768px) {
            .marquee-sport-switcher .sport-switch-btn {
                padding: 3px 10px;
                font-size: 0.7em;
            }

            .weekly-leaders-sport-switcher .sport-switch-btn {
                padding: 3px 10px;
                font-size: 0.7em;
            }
        }


        .marquee-matchup {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 20px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .marquee-team {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            flex: 1;
            min-width: 150px;
        }
        
        .marquee-team-logo {
            width: 60px;
            height: 60px;
            object-fit: contain;
            filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
        }
        
        .marquee-team-info {
            text-align: center;
        }

        .marquee-team-name {
            font-size: 1.8em;
            font-weight: 800;
            color: white;
            margin-bottom: 6px;
        }

        .marquee-team-record {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.95em;
        }

        .marquee-team-momentum {
            margin-top: 8px;
            font-size: 1.5em;
        }

        .marquee-vs {
            font-size: 1.2em;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.4);
            padding: 0 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .marquee-score {
            font-size: 1.4em;
            font-weight: 800;
            color: rgba(255, 255, 255, 0.95);
            min-width: 30px;
            text-align: center;
        }

        .marquee-vs-label {
            font-size: 0.7em;
            color: rgba(255, 255, 255, 0.4);
        }

        .marquee-details {
            display: grid;
            gap: 16px;
        }

        .marquee-detail-section {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            padding: 12px 16px;
        }

        .marquee-detail-title {
            font-weight: 700;
            color: white;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 1em;
        }

        .marquee-detail-content {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.95em;
            line-height: 1.6;
        }
        
        .marquee-score-breakdown {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .marquee-score-factors-wrap {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .marquee-collapse-trigger {
            display: flex !important;
            justify-content: space-between;
            align-items: center;
        }
        .marquee-collapse-icon {
            display: none;
            font-size: 1em;
            opacity: 0.5;
            transition: transform 0.2s ease;
            flex-shrink: 0;
            padding-left: 6px;
        }
        /* Desktop parity with mobile/skinny: only MATCHUP QUALITY + MOMENTUM CHECK are collapsible */
        #mustWatchPanel .marquee-detail-section--matchup .marquee-collapse-icon,
        #mustWatchPanel .marquee-detail-section--momentum .marquee-collapse-icon {
            display: inline;
        }
        #mustWatchPanel .marquee-detail-section--matchup .marquee-collapse-trigger,
        #mustWatchPanel .marquee-detail-section--momentum .marquee-collapse-trigger {
            cursor: pointer;
            user-select: none;
        }
        #mustWatchPanel .marquee-detail-section--matchup .marquee-score-factors-wrap,
        #mustWatchPanel .marquee-detail-section--momentum .marquee-collapsible {
            display: none;
        }
        #mustWatchPanel .marquee-detail-section--matchup.expanded .marquee-score-factors-wrap {
            display: flex;
        }
        #mustWatchPanel .marquee-detail-section--momentum.expanded .marquee-collapsible {
            display: block;
        }
        .marquee-detail-section.expanded .marquee-collapse-icon {
            transform: rotate(90deg);
        }
        
        .marquee-score-factor {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .factor-label {
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            font-size: 0.85em;
            min-width: 110px;
        }
        
        .factor-bar-container {
            flex: 1;
            position: relative;
            height: 24px;
            /* No background - colored bar stands alone */
            border-radius: 6px;
            overflow: hidden;
        }
        
        .factor-bar {
            height: 100%;
            transition: width 0.5s ease;
            border-radius: 6px;
            position: relative;
        }
        
        /* Color intensity scale: green → yellow → orange → red */
        .score-low {
            background: linear-gradient(90deg, #22c55e, #16a34a);
        }
        
        .score-moderate {
            background: linear-gradient(90deg, #eab308, #ca8a04);
        }
        
        .score-good {
            background: linear-gradient(90deg, #f97316, #ea580c);
        }
        
        .score-excellent {
            background: linear-gradient(90deg, #ef4444, #dc2626);
        }
        
        .factor-score {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-weight: 700;
            font-size: 0.8em;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        }
        
        .marquee-score-total {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            margin-top: 8px;
            background: linear-gradient(135deg, rgba(103, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
            border-radius: 8px;
            border: 1px solid rgba(103, 126, 234, 0.4);
        }
        
        .total-label {
            color: white;
            font-weight: 700;
            font-size: 0.9em;
        }
        
        .total-value {
            color: #ffd700;
            font-weight: 800;
            font-size: 1.5em;
        }

        /* Total-value color matches badge tier */
        .total-value.score-tier-amber   { color: #FFD100; }
        .total-value.score-tier-golden  { color: #FFA000; }
        .total-value.score-tier-ember   { color: #FF8030; }
        .total-value.score-tier-blaze   { color: #FF6E00; }
        .total-value.score-tier-crimson { color: #FF3333; }
        .total-value.score-tier-inferno { color: #FF2020; }

        .marquee-storyline-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 6px;
        }

        .marquee-storyline-item:last-child {
            margin-bottom: 0;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .marquee-banner {
                padding: 16px;
            }
            
            .marquee-title {
                font-size: 1.2em;
            }
            
            .marquee-team-name {
                font-size: 1.4em;
            }
            
            .marquee-matchup {
                padding: 15px;
            }

            /* Mobile: Stack game info vertically */
            .marquee-game-info {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            /* Mobile: Sport switcher on its own line */
            .marquee-sport-switcher {
                margin-left: 0;
                align-self: flex-end;
            }

            /* mustWatch panel: single-line header */
            #mustWatchPanel .marquee-game-header {
                flex-wrap: nowrap !important;
                align-items: center;
                gap: 8px;
                margin-bottom: 8px;
            }
            #mustWatchPanel .marquee-game-info {
                flex-direction: row !important;
                align-items: center !important;
                gap: 6px !important;
                flex: 1;
                flex-wrap: nowrap;
            }
            #mustWatchPanel .marquee-sport-switcher {
                margin-left: auto;
                align-self: auto !important;
            }
            #mustWatchPanel .marquee-best-available-subtext {
                display: none;
            }

            /* Tap-to-reveal: show collapse icons on mobile */
            .marquee-collapse-icon {
                display: inline;
            }
            .marquee-collapse-trigger {
                cursor: pointer;
                user-select: none;
            }

            /* Score factors hidden until expanded */
            #mustWatchPanel .marquee-score-factors-wrap {
                display: none;
            }
            #mustWatchPanel .marquee-detail-section.expanded .marquee-score-factors-wrap {
                display: flex;
            }

            /* WHY WATCH + MOMENTUM bodies hidden until expanded */
            #mustWatchPanel .marquee-collapsible {
                display: none;
            }
            #mustWatchPanel .marquee-detail-section.expanded .marquee-collapsible {
                display: block;
            }

            /* Mobile: Weekly leaders panel density */
            #weeklyLeadersContent .leader-item {
                gap: 6px;
                padding: 7px;
                grid-template-columns: auto auto minmax(0, 1fr);
            }

            #weeklyLeadersContent .leader-rank {
                min-width: 24px;
            }

            #weeklyLeadersContent .leader-name {
                font-size: 0.88rem;
            }

            #weeklyLeadersContent .leader-stat {
                min-width: 66px;
                font-size: 0.84rem;
            }

            #weeklyLeadersContent .leader-team-badge {
                padding: 1px 6px;
                font-size: 0.62rem;
            }

            #weeklyLeadersContent .leader-last-game {
                font-size: 0.68rem;
            }

            /* Mobile: Weekly leaders header */
            #weeklyLeadersContent .weekly-leaders-header-inline {
                margin-bottom: 10px;
            }

            /* Mobile: Smaller category headers */
            #weeklyLeadersContent .leader-category-header {
                font-size: 1em;
            }

            /* Mobile: More compact leader categories */
            #weeklyLeadersContent .leader-category {
                padding: 9px;
            }
        }

        /* ── Entrance card + leaders: phone-width tightening ── */
        @media (max-width: 520px) {
            .marquee-banner {
                padding: 12px 14px;
                border-radius: 18px;
                margin-bottom: 14px;
            }
            .marquee-banner.collapsed {
                padding: 9px 14px;
            }
            .marquee-header {
                margin-bottom: 10px;
            }
            .marquee-title {
                font-size: 1em;
                gap: 7px;
            }
            .marquee-collapse-btn {
                padding: 4px 9px;
                font-size: 0.78em;
            }
            .marquee-content {
                gap: 12px;
            }
            .marquee-game-header {
                margin-bottom: 8px;
                gap: 6px;
            }
            .marquee-drama-badge {
                padding: 4px 10px;
                font-size: 0.76em;
            }
            .marquee-matchup {
                padding: 10px 8px;
                gap: 10px;
                margin-bottom: 10px;
                border-radius: 12px;
            }
            .marquee-team {
                gap: 8px;
                min-width: 100px;
            }
            .pregame-matchup-card .signal-chamber,
            .marquee-team .signal-chamber {
                width: 54px;
                height: 54px;
            }
            .pregame-matchup-card .pregame-logo,
            .marquee-team-logo {
                width: 38px;
                height: 38px;
            }
            .marquee-team-name {
                font-size: 1.05em;
                margin-bottom: 2px;
            }
            .marquee-team-record {
                font-size: 0.8em;
            }
            .marquee-vs {
                padding: 0 8px;
                gap: 6px;
            }
            .marquee-score {
                font-size: 1.15em;
            }
            .marquee-details {
                gap: 10px;
            }
            .marquee-detail-section {
                padding: 8px 10px;
            }
            .marquee-detail-title {
                font-size: 0.82em;
                margin-bottom: 5px;
            }
            /* Weekly leaders panel inside marquee */
            .leader-category {
                padding: 9px 10px;
            }
            .leader-item {
                padding: 7px 0;
            }
            .leader-name {
                font-size: 0.88em;
            }
            .leader-stat {
                font-size: 0.82em;
            }
        }

        /* ========================================
           GAME CARD ENHANCEMENTS
           ======================================== */

        .momentum-icon {
            display: inline-block;
            font-size: 0.8em;
            margin-left: 4px;
            vertical-align: middle;
        }

        .momentum-icon.hot {
            filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.6));
        }

        .momentum-icon.cold {
            filter: drop-shadow(0 0 4px rgba(191, 219, 254, 0.6));
        }

        .game-storylines {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .storyline-tag {
            display: inline-block;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 4px 10px;
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.8);
            white-space: nowrap;
        }

        .storyline-tag:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        /* ================================================
           VitusLive Enhancement: Momentum Badge Styles
           ================================================ */
        
        .momentum-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.85em;
            font-weight: 600;
            margin-left: 8px;
            cursor: help;
            transition: transform 0.2s ease;
            user-select: none;
        }

        .momentum-badge:hover {
            transform: scale(1.1);
        }

        /* Badge Color Tiers */
        .momentum-red-hot {
            background: linear-gradient(135deg, #FF4444, #CC0000);
            color: white;
            box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
        }

        .momentum-heating-up {
            background: linear-gradient(135deg, #FF8844, #FF5500);
            color: white;
            box-shadow: 0 0 10px rgba(255, 136, 68, 0.4);
        }

        .momentum-hot {
            background: linear-gradient(135deg, #FFAA44, #FF8800);
            color: white;
        }

        .momentum-steady {
            background: linear-gradient(135deg, #4A9EFF, #2E7FD4);
            color: white;
        }

        .momentum-cooling {
            background: linear-gradient(135deg, #6BA3FF, #4A85D4);
            color: #003366;
        }

        .momentum-ice-cold {
            background: linear-gradient(135deg, #A4C8FF, #6BA3FF);
            color: #003366;
        }

        /* Glow Animation for Hot Teams */
        .momentum-badge.glow {
            animation: momentum-pulse 2s infinite;
        }

        @keyframes momentum-pulse {
            0%, 100% { 
                box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
                transform: scale(1);
            }
            50% { 
                box-shadow: 0 0 25px rgba(255, 68, 68, 0.9);
                transform: scale(1.05);
            }
        }

        /* Storyline Icons */
        .storyline-icons {
            display: flex;
            gap: 6px;
            font-size: 1.2em;
            padding: 4px 0;
            justify-content: center;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        /* Weekly Leaders Section */
        .weekly-leaders-section {
            background: var(--depth-support-bg);
            backdrop-filter: blur(var(--depth-support-blur));
            -webkit-backdrop-filter: blur(var(--depth-support-blur));
            border-radius: 20px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-top: 2px solid var(--accent-cool);
            box-shadow: var(--depth-support-shadow);
        }

        .weekly-leaders-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        }

        .weekly-leaders-title {
            font-size: 1.4em;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .leaders-toggle {
            font-size: 1.2em;
            color: rgba(255, 255, 255, 0.6);
            transition: transform 0.3s;
        }

        .leaders-toggle.open {
            transform: rotate(180deg);
        }

        .weekly-leaders-content {
            margin-top: 16px;
        }

        .weekly-leaders-section .leader-category {
            margin-bottom: 20px;
        }

        .weekly-leaders-section .leader-category h3 {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.1em;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .weekly-leaders-section .leader-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .weekly-leaders-section .leader-item {
            display: flex;
            align-items: center;
            padding: 12px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            transition: all 0.2s;
        }

        .weekly-leaders-section .leader-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(4px);
        }

        .weekly-leaders-section .leader-rank {
            font-weight: bold;
            color: var(--warning);
            margin-right: 15px;
            min-width: 30px;
            font-size: 1.1em;
        }

        .weekly-leaders-section .leader-player-name {
            flex: 1;
            font-weight: 600;
            color: white;
        }

        .weekly-leaders-section .leader-stat {
            font-weight: bold;
            color: #4a9eff;
            margin-right: 10px;
        }

        .leader-games {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9em;
        }

        /* ========== MOBILE OPTIMIZATION (Phase: close-game-first) ========== */

        /* Hamburger + mobile dropdown: hidden on desktop */
        .mobile-hamburger {
            display: none;
        }
        .mobile-nav-menu {
            display: none;
        }
        .mobile-header-dropdown {
            display: none;
        }

        @media (max-width: 768px) {
            header {
                flex-wrap: nowrap !important;
                align-items: center;
                padding: 8px 12px !important;
                gap: 0 !important;
            }
            .header-right {
                display: none !important;
            }
            .header-left {
                display: flex !important;
                flex: 0 0 auto !important;
                gap: 0 !important;
            }
            .header-left #mustWatchBtn {
                display: none !important;
            }
            .header-center {
                order: 0 !important;
                flex: 1 1 auto !important;
                margin-bottom: 0 !important;
                text-align: center !important;
            }
            .logo-container {
                justify-content: center !important;
            }
            .api-status {
                background: transparent !important;
                border: none !important;
                padding: 0 !important;
                gap: 0 !important;
                margin-left: 8px;
            }
            #statusText {
                display: none !important;
            }
            .status-dot {
                margin-right: 0 !important;
                animation: none !important;
            }

            /* Hamburger button — min 44px touch target per UI contract */
            .mobile-hamburger {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 5px;
                background: rgba(255,255,255,0.08);
                border: 1px solid var(--card-border);
                border-radius: var(--radius-sm);
                width: 44px;
                height: 44px;
                min-width: 44px;
                min-height: 44px;
                cursor: pointer;
                padding: 0;
                flex-shrink: 0;
                margin-left: auto;
            }
            .mobile-hamburger span {
                display: block;
                width: 20px;
                height: 2px;
                background: rgba(255,255,255,0.85);
                border-radius: 2px;
                transition: transform var(--duration-normal) var(--ease), opacity var(--duration-normal) var(--ease);
            }
            .mobile-hamburger.active span:nth-child(1) {
                transform: translateY(7px) rotate(45deg);
            }
            .mobile-hamburger.active span:nth-child(2) {
                opacity: 0;
            }
            .mobile-hamburger.active span:nth-child(3) {
                transform: translateY(-7px) rotate(-45deg);
            }

            /* Header layout only; wrapper provides card chrome (no border/shadow to zero) */
            header {
                transition: none;
            }

            /* Overlay must not create any layout space between header and drawer */
            .header-panel-overlay {
                position: fixed !important;
                display: block;
                margin: 0 !important;
                padding: 0 !important;
            }

            /* Drawer: structural only; wrapper provides card chrome */
            .mobile-header-dropdown {
                display: block;
                position: relative;
                z-index: 999;
                margin-top: 0 !important;
                margin-bottom: 0;
                padding-top: 0 !important;
                overflow: hidden;
            }
            /* Dropdown only holds hamburger nav now; hide its decorations when nav is closed */
            .mobile-header-dropdown {
                transition: border-color var(--duration-normal) var(--ease);
            }
            /* Pill is first row of drawer; hide when any panel is open (JS adds .panel-open to drawer) */
            .mobile-header-dropdown.panel-open .drawer-pill {
                display: none !important;
            }
            .mobile-header-dropdown .drawer-pill {
                background: none;
                border: none;
                border-radius: 0;
                margin-bottom: 0;
                display: flex !important;
                align-items: center;
                flex-wrap: nowrap;
                min-height: 44px;
                box-sizing: border-box;
            }
            /* Marquee pill gets the darker attached-tab treatment to match desktop strip */
            .mobile-header-dropdown #marqueeSummaryLine.drawer-pill {
                background: rgba(0, 0, 0, 0.35);
                border-top: 1px solid var(--card-border);
                border-radius: 0;
            }
            /* Panels inside drawer: collapsed when closed (pill is separate); no chrome (wrapper owns it) */
            #mustWatchPanel {
                max-height: 0;
            }
            #mustWatchPanel.open {
                max-height: 70vh;
                overflow-y: auto;
            }
            #weeklyLeadersPanel {
                max-height: 0;
            }
            #weeklyLeadersPanel.open {
                max-height: 76vh;
                overflow-y: auto;
            }
            /* Inner content wrapper: panel provides background; just add a separator */
            #mustWatchPanel .header-panel-inner {
                background: none;
                backdrop-filter: none;
                -webkit-backdrop-filter: blur(20px);
                border: none;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                border-radius: 0;
                box-shadow: none;
            }

            /* Slide-down nav menu (wrapper provides border/background; no gap under tag) */
            .mobile-nav-menu {
                display: flex;
                flex-direction: column;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.18s cubic-bezier(0.2, 0, 0, 1);
                background: transparent;
                border: none;
                border-radius: 0;
                padding: 0;
                margin: 0;
            }
            .mobile-nav-menu.open {
                max-height: 260px;
                margin-bottom: 0;
            }
            .mobile-nav-item {
                background: none;
                border: none;
                color: rgba(255,255,255,0.9);
                font-family: 'Montserrat', sans-serif;
                font-size: 0.95rem;
                min-height: 44px;
                padding: var(--space-12) var(--space-18);
                text-align: left;
                cursor: pointer;
                border-bottom: 1px solid var(--card-border);
                transition: background var(--duration-fast) var(--ease);
            }
            .mobile-nav-item:last-child {
                border-bottom: none;
            }
            .mobile-nav-item:active {
                background: rgba(85, 55, 215, 0.3);
            }

            body {
                padding: 0 !important;
                overflow-x: clip;
            }

            /* Task 9: Card density — gutter per UI contract */
            .container {
                padding-left: max(var(--gutter-mobile), env(safe-area-inset-left)) !important;
                padding-right: max(var(--gutter-mobile), env(safe-area-inset-right)) !important;
                overflow-x: clip;
            }
            .header-card-wrapper,
            .games-page,
            .games-page > *,
            #liveZoneWrapper,
            .highlights-row,
            #mobileOverviewContainer,
            #whileYouWaitContainer,
            #gamepointChipStrip,
            #refreshFailBanner,
            #upcomingContainer,
            #sportsContainer,
            #whosHotContainer,
            #whoToWatchContainer {
                width: 100%;
                max-width: 100%;
                min-width: 0;
            }
            .sport-section {
                padding: 12px !important;
                border-radius: 14px !important;
                margin-bottom: 0 !important;
            }
            .games-grid {
                gap: 10px !important;
            }
            .game-card {
                padding: 12px !important;
                min-height: 240px !important;
                border-radius: 10px !important;
            }
            .gamepoint-card {
                padding: 14px !important;
                border-radius: 12px !important;
            }

            /* ── GamePoint horizontal scroll layout ──
               Symmetric padding = (100vw - 2*card_w - gap) / 2
               centers exactly 2 cards on screen at all times.
               3rd+ card peeks off the right edge naturally.
               Default range: 361–430px, card = 42vw
               pad = (100vw - 84vw - 10px) / 2 = 8vw - 5px       */
            .gamepoint-grid {
                display: flex !important;
                overflow: visible;
                min-width: 0;
            }
            .gamepoint-grid-inner {
                display: flex !important;
                grid-template-columns: unset !important;
                gap: 10px !important;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                /* Extra padding so pulse/glow can spill without being clipped */
                padding-left: calc(8vw - 5px + 40px);
                padding-right: calc(8vw - 5px + 40px);
                scroll-padding-left: calc(8vw - 5px + 40px);
                min-width: 0;
                flex: 1;
            }
            .gamepoint-grid-inner::-webkit-scrollbar { display: none; }

            /* All cards fixed vw width — overrides width:100% from base; peeking cards smaller + greyed out */
            .gamepoint-grid .gamepoint-card {
                flex: 0 0 42vw !important;
                width: 42vw !important;
                scroll-snap-align: start;
                opacity: 0.46;
                filter: saturate(0.55) brightness(0.82);
                transform: scale(0.9);
                transform-origin: center center;
                transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
            }
            .gamepoint-grid .gamepoint-card.is-active {
                opacity: 1;
                filter: none;
                transform: scale(1);
            }

            .hot-player-card {
                padding: 12px !important;
                border-radius: 10px !important;
            }
            .whos-hot-grid {
                gap: 10px !important;
            }
            .whos-hot-section {
                padding: 12px !important;
                border-radius: 14px !important;
                border-top: none !important; /* no visible line above Who to Watch / sections */
            }
            /* No line above the first content block (whoever is first in the row) */
            .highlights-row > div:first-child .whos-hot-section,
            .highlights-row > div:first-child .gamepoint-section,
            .highlights-row > div:first-child [class*="section"] {
                border-top: none !important;
            }
            .sport-header {
                margin-bottom: 8px !important;
            }
            .sport-title {
                font-size: 1.1rem !important;
            }
            .sport-status-segments {
                gap: 0;
            }
            .sport-status-segment {
                font-size: 0.7rem;
                min-height: 40px;
                padding: 6px 8px;
            }
            .sport-status-context {
                white-space: normal;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            .team-name {
                font-size: 0.85rem !important;
            }
            .score {
                font-size: 1.4rem !important;
            }

            /* Task 5: Show-more caps */
            .mobile-capped > .gamepoint-card:nth-child(n+6) {
                display: none !important;
            }
            .mobile-capped-hot > .hot-player-card:nth-child(n+6) {
                display: none !important;
            }
            .mobile-capped-games > .game-card:nth-child(n+6) {
                display: none !important;
            }
            .mobile-show-all {
                display: block;
                width: 100%;
                margin: 10px 0 0;
                padding: 12px;
                background: rgba(255,255,255,0.06);
                border: 1px solid rgba(255,255,255,0.12);
                border-radius: 10px;
                color: rgba(255,255,255,0.8);
                font-family: 'Montserrat', sans-serif;
                font-size: 0.85rem;
                font-weight: 600;
                cursor: pointer;
                transition: background 0.2s;
            }
            .mobile-show-all:active {
                background: rgba(85, 55, 215, 0.3);
            }

            /* Task 3: Section order + congruent gaps. GamePoint strip first, then What to Watch, then NBA/NCAA/Who's Hot. */
            /* liveZoneWrapper is display:contents on mobile (base rule) — children participate directly in flex order */
            .header-card-wrapper {
                margin-bottom: var(--section-gap);
            }
            .games-page {
                display: flex;
                flex-direction: column;
                gap: var(--section-gap);
                padding-bottom: var(--section-gap);
            }
            .games-page > * {
                margin-top: 0;
                margin-bottom: 0;
            }
            #gamepointChipStrip { order: -1; }
            #whileYouWaitContainer { order: 0; }
            #mobileBackNav { order: 1; }
            #mobileOverviewContainer { order: 2; }
            #refreshFailBanner { order: 4; }
            .highlights-row {
                order: 6;
                gap: var(--section-gap) !important;
                margin-top: 0 !important;
                margin-bottom: 0 !important;
                width: 100%;
                max-width: 100%;
                min-width: 0;
            }
            .highlights-row .gamepoint-section,
            #whosHotContainer,
            #whoToWatchContainer {
                min-width: 0;
                max-width: 100%;
            }
            #gamepointContainer { order: 1; }
            #whosHotContainer { order: 2; }
            #whoToWatchContainer { order: 3; }
            #upcomingContainer { order: 7; }
            #sportsContainer { order: 8; }
            /* Normalize vertical padding so gap is the main spacing (reduces incongruent gaps). */
            .while-you-wait {
                margin: 0;
                padding: 8px 18px 12px;
            }
            .while-you-wait .wyw-section {
                margin-bottom: 10px;
            }
            .while-you-wait .wyw-section:last-child { margin-bottom: 0; }
            .while-you-wait .wyw-title {
                margin-bottom: 6px;
            }
            .mobile-overview-grid {
                row-gap: var(--section-gap);
                padding: 0;
            }
            .site-footer {
                padding-left: max(var(--gutter-mobile), env(safe-area-inset-left));
                padding-right: max(var(--gutter-mobile), env(safe-area-inset-right));
                padding-bottom: calc(8px + env(safe-area-inset-bottom));
                overflow-wrap: anywhere;
            }
            #adminPanelBtn {
                right: max(var(--gutter-mobile), env(safe-area-inset-right));
                bottom: calc(16px + env(safe-area-inset-bottom));
            }
        }

        /* ── GamePoint scroll: card width steps by breakpoint ──
           Formula per range: pad = (100vw - 2*card_w - 10px) / 2          */

        /* Very small phones ≤ 360px: 44vw → pad = 6vw - 5px; +40px for glow spill */
        @media (max-width: 360px) {
            .gamepoint-grid-inner {
                padding-left: calc(6vw - 5px + 40px) !important;
                padding-right: calc(6vw - 5px + 40px) !important;
                scroll-padding-left: calc(6vw - 5px + 40px) !important;
            }
            .gamepoint-card { flex: 0 0 44vw !important; width: 44vw !important; }
        }

        /* Large phones 431–600px: 40vw → pad = 10vw - 5px; +40px for glow spill */
        @media (min-width: 431px) and (max-width: 600px) {
            .gamepoint-grid-inner {
                padding-left: calc(10vw - 5px + 40px) !important;
                padding-right: calc(10vw - 5px + 40px) !important;
                scroll-padding-left: calc(10vw - 5px + 40px) !important;
            }
            .gamepoint-card { flex: 0 0 40vw !important; width: 40vw !important; }
        }

        /* Small tablet 601–768px: 37vw → pad = 13vw - 5px; +40px for glow spill */
        @media (min-width: 601px) and (max-width: 768px) {
            .gamepoint-grid-inner {
                padding-left: calc(13vw - 5px + 40px) !important;
                padding-right: calc(13vw - 5px + 40px) !important;
                scroll-padding-left: calc(13vw - 5px + 40px) !important;
            }
            .gamepoint-card { flex: 0 0 37vw !important; width: 37vw !important; }
        }

        /* ── P1: GamePoint Chip Strip ── */
        .gamepoint-chip-strip {
            background: transparent;
            border: none;
            padding: 12px 20px;
            font-size: 0.85em;
            font-weight: 600;
        }
        .gamepoint-chip-strip-inner {
            display: flex;
            flex-wrap: nowrap;
            gap: 8px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x proximity;
            scrollbar-width: none;
        }
        .gamepoint-chip-strip-inner::-webkit-scrollbar { display: none; }
        .gamepoint-chip {
            flex-shrink: 0;
            min-width: 140px;
            min-height: 44px;
            padding: 10px 16px;
            border-radius: 12px;
            cursor: pointer;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            color: inherit;
            font-family: 'Montserrat', sans-serif;
            font-size: inherit;
            font-weight: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            transition: background 0.15s;
            white-space: nowrap;
        }
        .gamepoint-chip:hover { background: rgba(255,255,255,0.14); }
        .gamepoint-chip:focus-visible {
            outline: 2px solid rgba(255,255,255,0.4);
            outline-offset: 2px;
        }
        .gamepoint-chip--live {
            animation: chipLivePulse 2s ease-in-out infinite;
        }
        @keyframes chipLivePulse {
            0%, 100% { box-shadow: 0 0 0 0 rgba(255,68,68,0); }
            50% { box-shadow: 0 0 8px 2px rgba(255,68,68,0.35); }
        }
        @media (prefers-reduced-motion: reduce) {
            .gamepoint-chip--live {
                animation: none;
            }
        }
        @media (max-width: 768px) {
            .gamepoint-chip-strip {
                --gp-carousel-card-width: 180px;
                --gp-carousel-edge-fade: 56px;
                position: relative;
                overflow: visible;
                padding: 8px 0 14px;
            }
            .gp-strip-title {
                margin: 0 0 8px;
                font-size: clamp(1rem, 3.8vw, 1.2rem);
                font-weight: 800;
                text-align: center;
                line-height: 1.1;
            }
            .gamepoint-chip-strip-inner {
                display: flex;
                flex-wrap: nowrap;
                align-items: stretch;
                gap: 12px;
                padding: 18px calc((100% - var(--gp-carousel-card-width)) / 2) 10px;
                overflow-x: auto;
                overflow-y: visible;
                scroll-snap-type: x mandatory;
                scroll-padding-inline: calc((100% - var(--gp-carousel-card-width)) / 2);
                -webkit-mask-image: linear-gradient(
                    to right,
                    transparent 0,
                    rgba(0, 0, 0, 0.28) calc(var(--gp-carousel-edge-fade) * 0.45),
                    #000 var(--gp-carousel-edge-fade),
                    #000 calc(100% - var(--gp-carousel-edge-fade)),
                    rgba(0, 0, 0, 0.28) calc(100% - (var(--gp-carousel-edge-fade) * 0.45)),
                    transparent 100%
                );
                mask-image: linear-gradient(
                    to right,
                    transparent 0,
                    rgba(0, 0, 0, 0.28) calc(var(--gp-carousel-edge-fade) * 0.45),
                    #000 var(--gp-carousel-edge-fade),
                    #000 calc(100% - var(--gp-carousel-edge-fade)),
                    rgba(0, 0, 0, 0.28) calc(100% - (var(--gp-carousel-edge-fade) * 0.45)),
                    transparent 100%
                );
            }
            .gamepoint-chip-strip-show-all {
                width: 100%;
                margin-top: 4px;
                padding: 12px 16px;
                border-radius: 14px;
                border: 1px solid rgba(255, 255, 255, 0.2);
                background: rgba(255, 255, 255, 0.08);
                color: rgba(255, 255, 255, 0.9);
                font-family: 'Montserrat', sans-serif;
                font-size: 0.85rem;
                font-weight: 600;
                cursor: pointer;
                text-align: center;
                transition: background 0.2s;
            }
            .gamepoint-chip-strip-show-all:active {
                background: rgba(255, 255, 255, 0.15);
            }
            .gamepoint-chip {
                min-height: 44px;
            }
        }
        @media (min-width: 410px) and (max-width: 768px) {
            .gamepoint-chip-strip {
                --gp-carousel-card-width: 160px;
                --gp-carousel-edge-fade: 32px;
            }
            .gamepoint-chip-strip-inner {
                gap: 8px;
            }
        }
        @media (min-width: 769px) {
            .gamepoint-chip-strip { display: none !important; }
        }

        /* Compact GamePoint cards (mobile/skinny): larger size; compact-only keyframes keep glow inside strip padding so no clip. */
        @keyframes pulse-glow-red-compact {
            0%, 100% { box-shadow: 0 0 8px rgba(255, 68, 68, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
            50% { box-shadow: 0 0 14px rgba(255, 68, 68, 0.55), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
        }
        @keyframes heartbeat-glow-compact {
            0%, 100% { box-shadow: 0 0 10px rgba(255, 68, 68, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
            50% { box-shadow: 0 0 14px rgba(255, 68, 68, 0.7), 0 3px 10px rgba(255, 68, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
        }
        @keyframes siren-card-glow-compact {
            0% { box-shadow: 0 0 8px rgba(255, 68, 68, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
            25% { box-shadow: 0 0 14px rgba(255, 68, 68, 0.6), 0 2px 10px rgba(255, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
            50% { box-shadow: 0 0 10px rgba(59, 130, 246, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
            75% { box-shadow: 0 0 14px rgba(59, 130, 246, 0.6), 0 2px 10px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
            100% { box-shadow: 0 0 8px rgba(255, 68, 68, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
        }
        @media (max-width: 768px) {
            .gamepoint-chip-strip-inner .gamepoint-compact-card {
                width: var(--gp-carousel-card-width);
                flex-shrink: 0;
                min-width: unset;
                max-width: unset;
                scroll-snap-align: center;
                border-radius: 20px;
                padding: 6px 10px 7px;
                position: relative;
                overflow: visible;
                backdrop-filter: blur(16px);
                -webkit-backdrop-filter: blur(16px);
                border: 2px solid;
                cursor: pointer;
                opacity: 0.46;
                filter: saturate(0.55) brightness(0.82);
                transform: scale(0.9);
                transform-origin: center center;
                transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                gap: 3px;
                text-align: left;
                box-sizing: border-box;
                font-family: inherit;
                font-size: inherit;
                font-weight: inherit;
                -webkit-appearance: none;
                appearance: none;
            }
            .gamepoint-chip-strip-inner.is-pair-mode .gamepoint-compact-card {
                scroll-snap-align: start;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card.is-active {
                opacity: 1;
                filter: none;
                transform: scale(1);
                z-index: 1;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card:hover {
                transform: scale(0.92);
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card.is-active:hover {
                transform: scale(1.01);
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 3px;
                margin-bottom: 0;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-sport {
                font-size: 0.62rem;
                padding: 2px 6px;
                border-radius: 8px;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-header-right {
                display: flex;
                align-items: center;
                gap: 2px;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-tension-badge {
                font-size: 0.5em;
                padding: 1px 4px;
                border-radius: 6px;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-matchup {
                margin: 1px 0;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-team-row {
                padding: 3px 5px;
                margin: 1px 0;
                border-radius: 10px;
                font-size: 0.66rem;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-team-info {
                gap: 3px;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-team-info .signal-chamber {
                width: 16px;
                height: 16px;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-team-logo {
                width: 16px;
                height: 16px;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-team-name {
                font-size: 0.63rem;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-score {
                font-size: 0.76rem;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-badge {
                margin-top: 4px;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card .gp-badge .badge {
                font-size: 0.54rem;
                padding: 2px 6px;
                border-radius: 8px;
                animation: none !important;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card.red {
                background: rgba(139, 0, 0, 0.45);
                border-color: #ff4444;
                color: white;
                box-shadow: 0 0 8px rgba(255, 68, 68, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
                animation: pulse-glow-red-compact var(--pulse-duration, 1.5s) ease-in-out infinite;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card.red.critical {
                animation: heartbeat-glow-compact var(--pulse-duration, 1s) ease-in-out infinite;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card.red.critical.police-siren {
                animation: siren-card-glow-compact var(--pulse-duration, 0.5s) ease-in-out infinite;
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card.orange {
                background: rgba(139, 69, 0, 0.45);
                border-color: #ff8800;
                color: white;
                box-shadow: 0 0 10px rgba(255, 136, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
            .gamepoint-chip-strip-inner .gamepoint-compact-card.yellow {
                background: rgba(139, 115, 0, 0.45);
                border-color: #ffd700;
                color: white;
                box-shadow: 0 0 8px rgba(255, 215, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            }
        }

        /* ── Live Zone Wrapper: transparent on mobile, permanent 2-col grid on desktop ── */
        #liveZoneWrapper {
            display: contents; /* transparent to parent flex on mobile */
        }

        @media (min-width: 769px) {
            /* Permanent desktop grid: GamePoint hero (left, fills 1fr) + player sidebar (right, fixed 360px) */
            #liveZoneWrapper {
                display: grid;
                grid-template-columns: 1fr 360px;
                grid-template-rows: auto;
                align-items: stretch; /* both columns always match the taller one */
                gap: var(--section-gap);
                min-height: 500px; /* floor: both columns stretch to at least 500px via align-items:stretch */
            }
            /* GamePoint: left column row 1 — hero area */
            #gamepointContainer {
                grid-column: 1;
                grid-row: 1;
                min-width: 0;
                overflow: visible;
                display: flex;
                flex-direction: column;
                min-height: 500px;
            }
            /* Player sidebar: right column, stretches to match left column height */
            #whileYouWaitContainer {
                grid-column: 2;
                grid-row: 1 / 2;
                overflow-y: visible;
                display: flex;
                flex-direction: column;
            }
            #whileYouWaitContainer .while-you-wait {
                flex: 1;
                min-height: 500px; /* CSS floor — JS sync overrides upward when left panel is taller */
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }
            /* Stack grows to fill space, clips any overflow — footer stays anchored at bottom */
            #whileYouWaitContainer .wyw-intel-stack {
                flex: 1;
                min-height: 0;
                overflow: hidden;
            }
            /* Each row is rigid — won't shrink and distort; full rows show or none do */
            #whileYouWaitContainer .wyw-intel-stack > * {
                flex-shrink: 0;
            }
            /* Full-width player sections sit below the two-column hero on desktop */
            #whosHotContainer {
                grid-column: 1 / -1;
                grid-row: 2;
                min-width: 0;
            }
            /* Who to Watch Tonight: full-width row below Who's Hot / hero */
            #whoToWatchContainer {
                grid-column: 1 / -1;
                grid-row: 3;
                min-width: 0;
            }
            /* Player rows always visible in the desktop sidebar */
            #whileYouWaitContainer .wyw-row--player {
                display: flex;
            }
            #whileYouWaitContainer .wyw-who-to-watch-sublabel {
                display: block;
            }
            /* ── GamePoint hero: vertical-stack landscape cards ── */
            #gamepointContainer .gamepoint-section {
                padding: 0;
                overflow: visible;
            }
            /* Fallback states (pregame/postgame/offday) fill the column height */
            #gamepointContainer .gamepoint-section.spotlight-fallback {
                flex: 1;
                display: flex;
                flex-direction: column;
                box-sizing: border-box;
            }
            /* Middle content stretches; CTA ribbon stays pinned to bottom */
            #gamepointContainer .pregame-body,
            #gamepointContainer .postgame-body,
            #gamepointContainer .offday-body {
                flex: 1;
                display: flex;
                flex-direction: column;
            }
            /* Title is redundant on desktop — cards convey urgency via color + badge */
            #gamepointContainer .gamepoint-title {
                display: none;
            }
            #gamepointContainer .gamepoint-grid {
                display: flex;
                overflow: visible;
                min-width: 0;
            }
            /* Hero + compact strip: card 1 = full-width hero; cards 2+ auto-fill side-by-side */
            #gamepointContainer .gamepoint-grid .gamepoint-grid-inner {
                display: grid;
                grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
                gap: 10px;
                overflow: visible;
                padding: 0;
                min-width: 0;
                width: 100%;
            }
            /* Landscape card: full-width grid — matchup info left, win prob right */
            #gamepointContainer .gamepoint-card {
                flex: none;
                width: 100%;
                height: auto;
                min-height: 136px;
                max-height: none;
                border-radius: var(--radius-lg); /* match Live Intel panel (20px) — side-by-side peers */
                aspect-ratio: unset;
                display: grid;
                grid-template-columns: 1fr 162px;
                grid-template-rows: auto auto auto;
                grid-template-areas:
                    "header badge"
                    "matchup badge"
                    "why badge";
                padding: 18px 0 18px 22px;
                gap: 0;
                opacity: 0.68;
                filter: saturate(0.6) brightness(0.86);
                transform: none;
                transition: opacity 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
                overflow: visible;
                box-sizing: border-box;
            }
            /* Active card: full presence */
            #gamepointContainer .gamepoint-card.is-active {
                opacity: 1;
                filter: none;
                transform: none;
                min-height: 158px;
            }
            /* Desktop hero override: first card = full-width primary hero */
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:first-child {
                grid-column: 1 / -1;
                opacity: 1;
                filter: none;
                min-height: 168px;
            }
            /* Cards 2+ = compact strip — single-column layout, badge inline at bottom */
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) {
                grid-template-columns: 1fr !important;
                grid-template-areas:
                    "header"
                    "matchup"
                    "badge" !important;
                grid-template-rows: auto !important;
                padding: 14px 16px !important;
                min-height: auto !important;
                opacity: 1 !important;
                filter: none !important;
            }
            /* Compact strip: hide verbose why-line */
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-why-line {
                display: none;
            }
            /* Compact strip: badge moves to bottom row, horizontal layout */
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-badge {
                border-left: none;
                border-top: 1px solid rgba(255,255,255,0.1);
                flex-direction: row;
                justify-content: flex-start;
                gap: 6px;
                padding: 8px 0 0;
                margin-top: 4px;
                text-align: left;
            }
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-badge .badge {
                font-size: 0.76em;
                text-align: left;
                white-space: nowrap;
            }
            /* Compact strip: tighter team rows */
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-team-row {
                padding: 5px 8px !important;
                margin: 2px 0 !important;
            }
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-team-logo {
                width: 24px !important;
                height: 24px !important;
            }
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-team-info .signal-chamber {
                width: 24px !important;
                height: 24px !important;
            }
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-team-name {
                font-size: 0.86em !important;
            }
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-score {
                font-size: 1.2em !important;
            }
            #gamepointContainer .gamepoint-grid-inner .gamepoint-card:nth-child(n+2) .gp-header {
                margin-bottom: 6px !important;
                padding-right: 0 !important;
            }
            /* Grid area assignments */
            #gamepointContainer .gamepoint-card .gp-header {
                grid-area: header;
                margin-bottom: 10px;
                gap: 7px;
                flex-wrap: nowrap;
                align-items: center;
                margin-top: 0;
                padding-right: 12px; /* breathing room between header badges and badge-column divider */
            }
            #gamepointContainer .gamepoint-card .gp-matchup {
                grid-area: matchup;
                margin: 0;
            }
            #gamepointContainer .gamepoint-card .gp-why-line {
                grid-area: why;
                margin-top: 8px;
                padding-top: 6px;
                font-size: 0.82rem;
                color: rgba(255, 255, 255, 0.82);
                white-space: normal;
                overflow: visible;
                text-overflow: unset;
                text-align: left;
            }
            /* Win probability: isolated right column — bold, centered, no pill styling */
            #gamepointContainer .gamepoint-card .gp-badge {
                grid-area: badge;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding: 16px 18px;
                margin-top: 0;
                border-left: 1px solid rgba(255, 255, 255, 0.1);
                text-align: center;
            }
            #gamepointContainer .gamepoint-card .gp-badge .badge {
                display: block;
                background: transparent;
                border: none;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                padding: 0;
                font-size: 0.88em;
                font-weight: 800;
                line-height: 1.4;
                letter-spacing: 0.04em;
                text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
                color: white;
                text-align: center;
                white-space: normal;
            }
            #gamepointContainer .gamepoint-card.is-active .gp-badge .badge {
                font-size: 1.0em;
                font-weight: 900;
            }
            /* Team rows */
            #gamepointContainer .gamepoint-card .gp-team-row {
                padding: 7px 12px;
                margin: 3px 0;
            }
            #gamepointContainer .gamepoint-card .gp-team-logo {
                width: 28px;
                height: 28px;
            }
            #gamepointContainer .gamepoint-card .gp-team-info .signal-chamber {
                width: 28px;
                height: 28px;
            }
            #gamepointContainer .gamepoint-card.is-active .gp-team-logo {
                width: 36px;
                height: 36px;
            }
            #gamepointContainer .gamepoint-card.is-active .gp-team-info .signal-chamber {
                width: 36px;
                height: 36px;
            }
            #gamepointContainer .gamepoint-card .gp-team-name {
                font-size: 0.9em;
            }
            #gamepointContainer .gamepoint-card.is-active .gp-team-name {
                font-size: 1.0em;
            }
            #gamepointContainer .gamepoint-card .gp-score {
                font-size: 1.5em;
            }
            #gamepointContainer .gamepoint-card.is-active .gp-score {
                font-size: 1.95em;
            }
            /* Pills */
            #gamepointContainer .gamepoint-card .gp-sport {
                padding: 4px 10px;
                font-size: 0.82em;
            }
            #gamepointContainer .gamepoint-card .gp-tension-badge,
            #gamepointContainer .gamepoint-card .gp-broadcast {
                font-size: 0.76em;
                padding: 3px 8px;
            }
            /* Hover: gentle lift, explicitly cancel base scale(1.02) */
            #gamepointContainer .gamepoint-card:hover {
                transform: translateY(-2px) scale(1);
            }
            /* Desktop player sections stay mounted when data exists; renderer owns visibility */
            /* ── Spotlight fallback in left hero column ── */
            #gamepointContainer .spotlight-fallback {
                padding: 16px 18px 14px;
            }
            #gamepointContainer .spotlight-title {
                font-size: clamp(1.25em, 2.4vw, 1.65em);
                margin-bottom: 6px;
            }
            #gamepointContainer .spotlight-subtitle {
                margin-bottom: 8px;
                font-size: 0.8rem;
            }
            #gamepointContainer .spotlight-grid {
                gap: 12px;
            }
            #gamepointContainer .spotlight-grid--count-2 {
                grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
            }
            #gamepointContainer .spotlight-grid--count-3 {
                grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.94fr);
            }
            #gamepointContainer .spotlight-card {
                min-height: 156px;
                padding: 12px 14px;
                gap: 6px;
            }
            #gamepointContainer .spotlight-card--lead {
                padding: 14px 16px;
            }
            #gamepointContainer .spotlight-sport-pill,
            #gamepointContainer .spotlight-tier {
                font-size: 0.64rem;
                padding: 4px 6px;
                min-height: 22px;
            }
            #gamepointContainer .spotlight-team-row {
                padding: 6px 8px;
            }
            #gamepointContainer .spotlight-team-logo {
                width: 24px;
                height: 24px;
            }
            #gamepointContainer .spotlight-team-name {
                font-size: 0.88rem;
            }
            #gamepointContainer .spotlight-score {
                font-size: 1.35rem;
            }
            #gamepointContainer .spotlight-time {
                font-size: 0.7rem;
            }
            #gamepointContainer .spotlight-reason {
                font-size: 0.78rem;
            }
            #gamepointContainer .spotlight-empty {
                min-height: 180px;
                padding: 16px 18px;
            }
            #gamepointContainer .spotlight-cta-ribbon {
                padding: 8px 12px;
            }
            #gamepointContainer .spotlight-cta-copy {
                font-size: 0.76rem;
            }
            #gamepointContainer .spotlight-cta-btn {
                padding: 5px 10px;
                font-size: 0.7rem;
            }
            /* ── Player sidebar: right column styling ── */
            #whileYouWaitContainer .wyw-featured-card {
                padding: 11px 14px;
            }
            #whileYouWaitContainer .wyw-team-logo {
                width: 22px;
                height: 22px;
            }
            #whileYouWaitContainer .wyw-score {
                font-size: 0.9rem;
            }
            #whileYouWaitContainer .wyw-team-name-long {
                font-size: 0.86rem;
            }
        }

        /* ── P2: While You Wait Block ── card system per UI contract */
        .while-you-wait {
            border-radius: var(--radius-lg);
            padding: var(--card-padding-desktop);
            border: 1px solid var(--card-border);
            border-top: 2px solid var(--accent-neutral);
            background: var(--depth-support-bg);
            backdrop-filter: blur(var(--depth-support-blur));
            -webkit-backdrop-filter: blur(var(--depth-support-blur));
            box-shadow: var(--depth-support-shadow);
            margin: 0;
            box-sizing: border-box;
            overflow: hidden;
            max-width: 100%;
            min-width: 0;
        }
        .wyw-section {
            margin-bottom: var(--space-12);
        }
        .wyw-section:last-child { margin-bottom: 0; }
        .wyw-title {
            font-size: 0.75em;
            font-weight: 700;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted-ui);
            margin-bottom: var(--space-6);
        }
        .wyw-game-line {
            font-size: 0.85rem;
            padding: 4px 0;
            color: rgba(255,255,255,0.8);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 100%;
        }
        .wyw-cta {
            display: inline-block;
            margin-top: 8px;
            font-size: 0.8rem;
            color: var(--accent-primary, #7c6fff);
            cursor: pointer;
            text-decoration: none;
            background: none;
            border: none;
            padding: 0;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
        }
        .wyw-cta:hover { text-decoration: underline; }
        /* Survey: WYW prominence B — when standalone (no live), slightly more prominent */
        .while-you-wait.standalone { padding: 20px 22px; }
        .while-you-wait.standalone .wyw-title { font-size: 0.85em; margin-bottom: 10px; }
        /* ── Yesterday recap mini-block ── */
        .wyw-recap-section {
            border-bottom: 1px solid rgba(255,255,255,0.10);
            padding-bottom: var(--space-12, 12px);
            margin-bottom: var(--space-12, 12px);
        }
        .wyw-recap-label {
            color: rgba(255,255,255,0.45);
            letter-spacing: 0.10em;
        }
        .wyw-recap-score {
            font-weight: 600;
            color: rgba(255,255,255,0.92);
        }
        .wyw-recap-standout {
            color: rgba(255,255,255,0.65);
            font-size: 0.80rem;
        }
        /* ── WYW structured row components ── */
        .wyw-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 7px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            min-height: 32px;
            gap: 8px;
        }
        .wyw-row:last-child { border-bottom: none; }
        .wyw-matchup {
            font-weight: 600;
            font-size: 0.875rem;
            color: rgba(255,255,255,0.88);
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .wyw-time {
            font-size: 0.78rem;
            color: rgba(255,255,255,0.40);
            flex-shrink: 0;
            font-variant-numeric: tabular-nums;
        }
        .wyw-score {
            font-size: 0.82rem;
            font-weight: 700;
            color: rgba(255,255,255,0.88);
            flex-shrink: 0;
            font-variant-numeric: tabular-nums;
        }
        .wyw-player-name {
            font-weight: 600;
            font-size: 0.875rem;
            color: rgba(255,255,255,0.88);
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .wyw-stat-chip {
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.10);
            border-radius: 20px;
            padding: 2px 9px;
            font-size: 0.72rem;
            font-weight: 700;
            color: rgba(255,255,255,0.6);
            flex-shrink: 0;
            white-space: nowrap;
        }
        .wyw-stat-chip--secondary {
            font-size: 0.65rem;
            padding: 2px 6px;
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .wyw-player-stats {
            font-size: 0.78rem;
            font-weight: 700;
            color: rgba(255,255,255,0.88);
            white-space: nowrap;
            flex-shrink: 0;
            font-variant-numeric: tabular-nums;
        }
        .wyw-row--player-right {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-left: auto;
            flex-shrink: 0;
        }
        .wyw-row--player-sep {
            border-top: 1px solid rgba(255,255,255,0.08);
            margin-top: 4px;
            padding-top: 10px;
        }
        .wyw-who-to-watch-sublabel {
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: rgba(255,255,255,0.5);
            margin-top: 12px;
            margin-bottom: 6px;
        }
        .wyw-title--live {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255,255,255,0.8);
        }
        .wyw-live-pill {
            display: inline-block;
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.85);
            flex-shrink: 0;
        }
        .wyw-title:not(.wyw-title--live):not(.wyw-recap-label) {
            color: rgba(255,255,255,0.65);
        }
        .wyw-ot-badge {
            background: rgba(255,215,0,0.15);
            border: 1px solid rgba(255,215,0,0.3);
            border-radius: 4px;
            padding: 1px 5px;
            font-size: 0.65rem;
            font-weight: 700;
            color: rgba(255,215,0,0.85);
            letter-spacing: 0.05em;
            margin-left: 3px;
        }
        .wyw-row--recap .wyw-score { color: rgba(255,255,255,0.95); }
        .wyw-row--recap-standout { margin-top: 6px; }
        .wyw-team-name-long--winner { color: rgba(255,255,255,0.96); font-weight: 700; }
        .wyw-team-name-long--loser  { color: rgba(255,255,255,0.35); font-weight: 500; }
        .wyw-team-logo--loser       { opacity: 0.35; }
        .wyw-recap-link { margin-left: 4px; }
        /* ── WYW vs-layout: logos + sport badge ── */
        .wyw-sport-badge {
            font-size: 0.60rem;
            font-weight: 800;
            letter-spacing: 0.06em;
            padding: 2px 5px;
            border-radius: 3px;
            flex-shrink: 0;
            line-height: 1;
        }
        .wyw-sport-badge--nba {
            background: rgba(29,66,138,0.28);
            color: rgba(110,170,255,0.9);
            border: 1px solid rgba(29,66,138,0.45);
        }
        .wyw-sport-badge--ncaa {
            background: rgba(220,100,0,0.20);
            color: rgba(255,175,80,0.9);
            border: 1px solid rgba(220,100,0,0.35);
        }
        .wyw-matchup-vs {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 4px;
            min-width: 0;
            overflow: hidden;
        }
        .wyw-team-side {
            display: flex;
            align-items: center;
            gap: 4px;
            flex: 1;
            min-width: 0;
        }
        .wyw-team-side--right {
            justify-content: flex-end;
        }
        .wyw-team-logo {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            object-fit: contain;
            flex-shrink: 0;
            background: rgba(255,255,255,0.04);
        }
        .wyw-team-name-long {
            font-size: 0.82rem;
            font-weight: 600;
            color: rgba(255,255,255,0.85);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .wyw-rank {
            font-size: 0.68rem;
            font-weight: 800;
            color: rgba(255,255,255,0.9);
            flex-shrink: 0;
            letter-spacing: -0.01em;
        }
        .wyw-vs-text {
            font-size: 0.65rem;
            color: rgba(255,255,255,0.25);
            flex-shrink: 0;
            padding: 0 2px;
            font-weight: 500;
        }
        .wyw-headshot {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.10);
        }
        .wyw-team-badge {
            font-size: 0.62rem;
            font-weight: 700;
            color: rgba(255,255,255,0.40);
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.10);
            border-radius: 3px;
            padding: 1px 5px;
            flex-shrink: 0;
            white-space: nowrap;
            letter-spacing: 0.04em;
        }
        .wyw-team-display {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            flex-shrink: 0;
        }
        .wyw-player-team-logo {
            width: 22px;
            height: 22px;
            border-radius: 4px;
            object-fit: contain;
        }
        .wyw-player-team-name {
            font-size: 0.7rem;
            font-weight: 600;
            color: rgba(255,255,255,0.85);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 72px;
        }
        /* ── WYW Featured card & League tiles (skinny/mobile computed layout) ── */
        .wyw-featured-card {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            padding: 9px 12px;
            border-radius: 10px;
            margin-bottom: 8px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.16);
            cursor: pointer;
            row-gap: 5px;
        }
        .wyw-featured-card--top {
            background: rgba(120, 170, 255, 0.10);
            border-color: rgba(120, 170, 255, 0.30);
        }
        .wyw-featured-card--look {
            background: rgba(255, 196, 88, 0.11);
            border-color: rgba(255, 196, 88, 0.30);
        }
        .wyw-featured-card--heating {
            background: rgba(255, 170, 85, 0.13);
            border-color: rgba(255, 170, 85, 0.34);
        }
        .wyw-featured-card--clutch {
            background: rgba(255, 122, 72, 0.16);
            border-color: rgba(255, 122, 72, 0.38);
        }
        .wyw-featured-card--must {
            background: rgba(177, 39, 39, 0.30);
            border-color: rgba(255, 88, 88, 0.44);
        }
        .wyw-featured-card--instant {
            background: rgba(180, 32, 32, 0.32);
            border-color: rgba(255, 80, 80, 0.50);
        }
        .wyw-drama-badge {
            display: inline-block;
            font-size: 0.58rem;
            font-weight: 800;
            letter-spacing: 0.09em;
            text-transform: uppercase;
            color: rgba(220, 232, 255, 0.95);
            background: rgba(120, 170, 255, 0.16);
            border: 1px solid rgba(120, 170, 255, 0.28);
            border-radius: 4px;
            padding: 2px 6px;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .wyw-drama-badge--top {
            color: rgba(220, 232, 255, 0.95);
            background: rgba(120, 170, 255, 0.16);
            border-color: rgba(120, 170, 255, 0.28);
        }
        .wyw-drama-badge--look {
            color: rgba(255, 220, 130, 0.95);
            background: rgba(255, 196, 88, 0.16);
            border-color: rgba(255, 196, 88, 0.30);
        }
        .wyw-drama-badge--heating {
            color: rgba(255, 198, 130, 0.97);
            background: rgba(255, 170, 85, 0.16);
            border-color: rgba(255, 170, 85, 0.30);
        }
        .wyw-drama-badge--clutch {
            color: rgba(255, 170, 138, 0.97);
            background: rgba(255, 122, 72, 0.18);
            border-color: rgba(255, 122, 72, 0.34);
        }
        .wyw-drama-badge--must {
            color: rgba(255, 150, 150, 0.98);
            background: rgba(255, 88, 88, 0.20);
            border-color: rgba(255, 88, 88, 0.38);
        }
        .wyw-drama-badge--instant {
            color: rgba(255, 255, 255, 0.98);
            background: rgba(220, 50, 50, 0.35);
            border-color: rgba(255, 80, 80, 0.55);
        }
        /* ── WYW Gamepoint Promotion Row ── */
        .wyw-row--promoted {
            background: rgba(210, 35, 35, 0.12);
            border: 1px solid rgba(255, 70, 70, 0.22);
            border-left: 3px solid rgba(255, 60, 60, 0.72);
            border-radius: 6px;
            padding: 8px 8px 8px 10px;
            animation: wyw-promo-pulse 2.5s ease-in-out infinite;
        }
        .wyw-row--promoted.wyw-row--promoted-fading {
            animation: wyw-promo-fade 5s ease-out forwards;
        }
        .wyw-promoted-up {
            font-size: 0.85rem;
            font-weight: 900;
            color: rgba(255, 85, 85, 0.90);
            flex-shrink: 0;
            line-height: 1;
        }
        .wyw-promoted-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }
        .wyw-promoted-teams {
            font-size: 0.80rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.92);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            letter-spacing: 0.01em;
        }
        .wyw-promoted-detail {
            font-size: 0.60rem;
            font-weight: 700;
            color: rgba(255, 145, 145, 0.82);
            letter-spacing: 0.06em;
            text-transform: uppercase;
            white-space: nowrap;
        }
        .wyw-promoted-cta {
            font-size: 0.56rem;
            font-weight: 900;
            letter-spacing: 0.10em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.92);
            background: rgba(215, 40, 40, 0.48);
            border: 1px solid rgba(255, 70, 70, 0.52);
            border-radius: 4px;
            padding: 3px 7px;
            flex-shrink: 0;
            white-space: nowrap;
        }
        @keyframes wyw-promo-pulse {
            0%, 100% { background: rgba(210, 35, 35, 0.12); border-left-color: rgba(255, 60, 60, 0.72); }
            50%       { background: rgba(210, 35, 35, 0.20); border-left-color: rgba(255, 80, 80, 0.92); }
        }
        @keyframes wyw-promo-fade {
            0%   { opacity: 1; }
            100% { opacity: 0; pointer-events: none; }
        }

        .wyw-featured-reason {
            flex-basis: 100%;
            font-size: 0.64rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: rgba(255,255,255,0.78);
            line-height: 1.2;
            margin-top: -1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .wyw-league-tiles {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }
        .wyw-league-tile {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 7px;
            padding: 8px 10px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.09);
            border-radius: 8px;
            cursor: pointer;
            min-width: 0;
        }
        .wyw-league-tile.active {
            background: rgba(255,255,255,0.09);
            border-color: rgba(255,255,255,0.18);
        }
        .league-status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: rgba(255,255,255,0.20);
            flex-shrink: 0;
        }
        .league-status-dot.live {
            background: #22c55e;
            box-shadow: 0 0 5px rgba(34, 197, 94, 0.55);
        }
        .wyw-league-tile-content {
            display: flex;
            flex-direction: column;
            min-width: 0;
        }
        .wyw-league-tile-name {
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: rgba(255,255,255,0.82);
            white-space: nowrap;
        }
        .wyw-league-tile-sub {
            font-size: 0.60rem;
            color: rgba(255,255,255,0.42);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        /* Visible on mobile (≤768px). On desktop sidebar is always shown — JS controls inline display. */
        @media (max-width: 768px) {
            .while-you-wait { display: block; }
        }
        @media (min-width: 769px) {
            /* Right sidebar: tighter padding, flex column for Tonight's Feed layout */
            .while-you-wait {
                padding: 14px 16px;
                display: flex;
                flex-direction: column;
                box-sizing: border-box;
            }
            .while-you-wait .wyw-section {
                margin-bottom: 8px;
            }
            .while-you-wait .wyw-title {
                font-size: 0.72em;
                margin-bottom: 5px;
            }
            /* Live Intel panel header */
            .wyw-intel-header {
                font-family: 'Montserrat', sans-serif;
                font-size: 0.62rem;
                font-weight: 700;
                letter-spacing: 0.18em;
                text-transform: uppercase;
                color: rgba(255, 255, 255, 0.35);
                margin-bottom: 12px;
                padding-bottom: 9px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            }
            /* Inline section divider labels */
            .wyw-intel-section-label {
                font-size: 0.56rem;
                font-weight: 700;
                letter-spacing: 0.15em;
                text-transform: uppercase;
                color: rgba(255, 255, 255, 0.28);
                margin: 10px 0 4px;
                display: flex;
                align-items: center;
                gap: 7px;
            }
            .wyw-intel-section-label::after {
                content: '';
                flex: 1;
                height: 1px;
                background: rgba(255, 255, 255, 0.07);
            }
            /* ── Live Intel: result rows (close calls, upsets, tonight) ── */
            .wyw-intel-result {
                padding: 7px 0;
                border-bottom: 1px solid rgba(255,255,255,0.07);
            }
            .wyw-intel-result:last-of-type { border-bottom: none; }
            .wyw-intel-result-top {
                display: flex;
                align-items: center;
                gap: 6px;
                font-size: 0.84em;
                font-weight: 600;
                color: rgba(255,255,255,0.9);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .wyw-intel-result-matchup {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                min-width: 0;
            }
            .wyw-intel-score-win { font-weight: 700; color: rgba(255,255,255,0.95); }
            .wyw-intel-score-loss { color: rgba(255,255,255,0.45); font-weight: 500; }
            .wyw-intel-result-note {
                font-size: 0.70em;
                color: rgba(255,255,255,0.38);
                margin-top: 2px;
                letter-spacing: 0.04em;
                text-transform: uppercase;
                font-weight: 600;
            }
            .wyw-intel-result-note--upset { color: rgba(255,140,40,0.75); }
            /* ── Live Intel: v1 live game rows ── */
            .wyw-intel-live-row {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 6px 0;
                border-bottom: 1px solid rgba(255,255,255,0.07);
                gap: 8px;
            }
            .wyw-intel-live-row:last-of-type { border-bottom: none; }
            .wyw-intel-live-left {
                display: flex;
                align-items: center;
                gap: 6px;
                min-width: 0;
                overflow: hidden;
            }
            .wyw-intel-live-matchup {
                font-size: 0.84em;
                font-weight: 600;
                color: rgba(255,255,255,0.88);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .wyw-intel-live-score { font-weight: 700; color: rgba(255,255,255,0.95); }
            .wyw-intel-live-time {
                font-size: 0.70em;
                color: rgba(255,255,255,0.4);
                white-space: nowrap;
                flex-shrink: 0;
                letter-spacing: 0.02em;
            }
            /* ── Live Intel: v2 compact live strip ── */
            .wyw-intel-live-strip {
                display: flex;
                align-items: center;
                gap: 6px;
                padding: 5px 0 8px;
                font-size: 0.82em;
                color: rgba(255,255,255,0.7);
                flex-wrap: nowrap;
                overflow: hidden;
            }
            .wyw-intel-strip-game {
                font-weight: 700;
                color: rgba(255,255,255,0.9);
                white-space: nowrap;
            }
            .wyw-intel-strip-sep { color: rgba(255,255,255,0.25); }
            .wyw-intel-strip-link { margin-left: auto; flex-shrink: 0; }
            /* ── Live Intel: overflow link ── */
            .wyw-intel-more {
                padding: 4px 0 0;
                font-size: 0.78em;
            }
            /* ── On the Radar: upcoming game narrative cards ── */
            .wyw-radar-card {
                padding: 7px 0 9px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            }
            .wyw-radar-card:last-child {
                border-bottom: none;
                padding-bottom: 2px;
            }
            .wyw-radar-teams {
                display: flex;
                align-items: center;
                gap: 4px;
                font-size: 0.74rem;
                font-weight: 700;
                color: rgba(255, 255, 255, 0.88);
                margin-bottom: 3px;
                letter-spacing: 0.03em;
            }
            .wyw-radar-rank {
                font-size: 0.6rem;
                font-weight: 700;
                color: #f59e0b;
                letter-spacing: 0.04em;
            }
            .wyw-radar-team {
                text-transform: uppercase;
                letter-spacing: 0.06em;
            }
            .wyw-radar-sep {
                color: rgba(255, 255, 255, 0.22);
                font-weight: 400;
                font-size: 0.66rem;
                margin: 0 1px;
            }
            .wyw-radar-time {
                margin-left: auto;
                font-size: 0.66rem;
                font-weight: 500;
                color: rgba(255, 255, 255, 0.36);
                letter-spacing: 0;
                white-space: nowrap;
            }
            .wyw-radar-hook {
                font-size: 0.70rem;
                color: rgba(255, 255, 255, 0.5);
                line-height: 1.35;
                margin-bottom: 5px;
                font-style: italic;
            }
            .wyw-radar-conf {
                display: flex;
                align-items: center;
                gap: 8px;
            }
            .wyw-radar-bar {
                flex: 1;
                height: 2px;
                background: rgba(255, 255, 255, 0.07);
                border-radius: 2px;
                overflow: hidden;
            }
            .wyw-radar-bar-fill {
                height: 100%;
                background: linear-gradient(90deg, rgba(99, 179, 237, 0.5), rgba(99, 179, 237, 0.9));
                border-radius: 2px;
            }
            .wyw-radar-conf-label {
                font-size: 0.60rem;
                font-weight: 700;
                color: rgba(255, 255, 255, 0.38);
                letter-spacing: 0.07em;
                text-transform: uppercase;
                white-space: nowrap;
            }
            /* ── Tonight's Feed (desktop unified narrative) ── */
            .wyw-feed-item {
                display: flex;
                gap: 10px;
                padding: 9px 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
                align-items: flex-start;
            }
            .wyw-feed-item:last-of-type { border-bottom: none; }
            .wyw-feed-meta {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 3px;
                min-width: 34px;
                padding-top: 2px;
                flex-shrink: 0;
            }
            .wyw-feed-dot {
                font-size: 0.52rem;
                color: rgba(255, 255, 255, 0.28);
                line-height: 1;
            }
            .wyw-feed-dot--live {
                color: #ef4444;
                animation: wyw-feed-pulse 1.8s ease-in-out infinite;
            }
            .wyw-feed-dot--marquee {
                color: rgba(111, 134, 230, 0.85);
                font-size: 0.48rem;
            }
            .wyw-feed-item--marquee {
                background: rgba(111, 134, 230, 0.06);
                border-radius: 6px;
                margin: 0 -6px;
                padding-left: 6px;
                padding-right: 6px;
            }
            @keyframes wyw-feed-pulse {
                0%, 100% { opacity: 1; }
                50% { opacity: 0.35; }
            }
            .wyw-feed-status {
                font-size: 0.50rem;
                font-weight: 700;
                letter-spacing: 0.1em;
                text-transform: uppercase;
                color: rgba(255, 255, 255, 0.24);
                text-align: center;
                line-height: 1.2;
                white-space: nowrap;
            }
            .wyw-feed-status--live { color: #ef4444; }
            .wyw-feed-status--watch { color: rgba(99, 179, 237, 0.72); }
            .wyw-feed-body {
                flex: 1;
                display: flex;
                gap: 9px;
                align-items: flex-start;
                min-width: 0;
            }
            .wyw-feed-headshot {
                width: 40px !important;
                height: 40px !important;
                border-radius: 50%;
                object-fit: cover;
                flex-shrink: 0;
            }
            .wyw-feed-text {
                flex: 1;
                display: flex;
                flex-direction: column;
                gap: 2px;
                min-width: 0;
            }
            .wyw-feed-name {
                font-size: 0.82rem;
                font-weight: 700;
                color: rgba(255, 255, 255, 0.92);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 1.2;
            }
            .wyw-feed-stats {
                font-size: 0.70rem;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.62);
                letter-spacing: 0.01em;
                line-height: 1.3;
            }
            .wyw-feed-context {
                font-size: 0.64rem;
                color: rgba(255, 255, 255, 0.36);
                line-height: 1.3;
                font-style: italic;
                margin-top: 1px;
            }
            /* Game items */
            .wyw-feed-body--game {
                flex-direction: column;
                gap: 3px;
                padding-top: 1px;
            }
            .wyw-feed-matchup {
                font-size: 0.78rem;
                font-weight: 700;
                color: rgba(255, 255, 255, 0.88);
                line-height: 1.3;
            }
            .wyw-feed-rank {
                font-size: 0.64rem;
                color: #f59e0b;
                font-weight: 700;
            }
            .wyw-feed-vs {
                font-size: 0.62rem;
                color: rgba(255, 255, 255, 0.24);
                font-weight: 400;
                margin: 0 3px;
            }
            .wyw-feed-hook {
                font-size: 0.68rem;
                color: rgba(255, 255, 255, 0.42);
                line-height: 1.35;
                font-style: italic;
            }
            /* Separator between player and game blocks */
            .wyw-feed-sep {
                height: 1px;
                background: rgba(255, 255, 255, 0.07);
                margin: 4px 0 2px;
            }
            /* CTA row */
            .wyw-feed-cta {
                display: flex;
                align-items: center;
                gap: 0;
                margin-top: auto;
                padding-top: 8px;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
            }
            .wyw-feed-cta-sep {
                color: rgba(255, 255, 255, 0.2);
                font-size: 0.7rem;
                padding: 0 6px;
            }

            /* ── Pre-game Hero (Left Panel) ── */
            .pregame-sport-time {
                display: flex;
                align-items: center;
                gap: 8px;
                margin-bottom: 14px;
            }
            .pregame-time {
                font-size: 0.78em;
                font-weight: 700;
                color: rgba(255,255,255,0.6);
                letter-spacing: 0.02em;
            }
            .pregame-today-label {
                margin-left: auto;
                font-size: 0.58em;
                font-weight: 800;
                letter-spacing: 0.15em;
                text-transform: uppercase;
                color: rgba(255,255,255,0.28);
            }
            .pregame-matchup {
                display: flex;
                align-items: center;
                gap: 10px;
                margin-bottom: 12px;
            }
            .pregame-team {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 6px;
                text-align: center;
                min-width: 0;
            }
            .pregame-team--away { align-items: flex-start; text-align: left; }
            .pregame-team--home { align-items: flex-end; text-align: right; }
            .pregame-logo {
                width: 38px;
                height: 38px;
                object-fit: contain;
                filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
            }
            .pregame-team-name {
                font-size: 0.82em;
                font-weight: 700;
                color: rgba(255,255,255,0.88);
                line-height: 1.25;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                max-width: 100%;
                display: flex;
                align-items: center;
                gap: 4px;
                flex-wrap: nowrap;
            }
            .pregame-rank {
                font-size: 0.75em;
                font-weight: 800;
                color: var(--rank-gold, rgba(255,215,0,0.85));
                flex-shrink: 0;
            }
            .pregame-prob-pct {
                font-size: 0.72em;
                font-weight: 700;
                color: rgba(255,255,255,0.45);
                font-variant-numeric: tabular-nums;
            }
            .pregame-vs {
                font-size: 0.62em;
                font-weight: 800;
                letter-spacing: 0.06em;
                color: rgba(255,255,255,0.25);
                flex-shrink: 0;
                padding: 0 2px;
            }
            .pregame-prob-bar {
                position: relative;
                height: 5px;
                border-radius: 3px;
                margin: 0 0 8px;
            }
            .pregame-hook {
                font-size: 0.78em;
                color: rgba(255,255,255,0.5);
                margin-bottom: 12px;
                line-height: 1.4;
            }
            .pregame-also {
                padding-top: 10px;
                border-top: 1px solid rgba(255,255,255,0.07);
            }
            .pregame-also-label {
                display: block;
                font-size: 0.58em;
                font-weight: 800;
                letter-spacing: 0.14em;
                text-transform: uppercase;
                color: rgba(255,255,255,0.25);
                margin-bottom: 7px;
            }
            .pregame-also-row {
                display: flex;
                align-items: center;
                gap: 6px;
                padding: 5px 0;
                border-bottom: 1px solid rgba(255,255,255,0.05);
            }
            .pregame-also-row:last-child { border-bottom: none; }
            .pregame-also-time {
                font-size: 0.72em;
                color: rgba(255,255,255,0.4);
                font-variant-numeric: tabular-nums;
                flex-shrink: 0;
                min-width: 48px;
            }
            .pregame-also-matchup {
                font-size: 0.78em;
                font-weight: 600;
                color: rgba(255,255,255,0.7);
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            /* ── Pregame unified matchup card ── */
            .pregame-matchup-card {
                display: flex;
                flex-direction: column;
                border-radius: 14px;
                overflow: hidden;
                border: 1px solid rgba(255, 255, 255, 0.09);
                margin-bottom: 10px;
            }
            .pregame-matchup-teams {
                display: flex;
                align-items: stretch;
                position: relative;
                min-height: 148px;
            }
            .pregame-matchup-half {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 8px;
                padding: 22px 14px 18px;
                position: relative;
                isolation: isolate;
                overflow: hidden;
            }
            .pregame-matchup-half--away {
                background: linear-gradient(145deg, rgba(55, 115, 255, 0.20) 0%, rgba(55, 115, 255, 0.04) 60%, transparent 100%);
            }
            .pregame-matchup-half--home {
                background: linear-gradient(215deg, rgba(255, 155, 40, 0.17) 0%, rgba(255, 155, 40, 0.03) 60%, transparent 100%);
            }
            .pregame-matchup-half::before {
                content: '';
                position: absolute;
                inset: -8% -14%;
                pointer-events: none;
                z-index: -2;
                opacity: 0.98;
            }
            .pregame-matchup-half::after {
                content: '';
                position: absolute;
                inset: 0;
                pointer-events: none;
                z-index: -1;
                background:
                    radial-gradient(circle at 50% 36%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 16%, transparent 34%),
                    linear-gradient(180deg, rgba(11, 14, 28, 0.04) 0%, rgba(8, 10, 21, 0.22) 100%);
            }
            .pregame-matchup-half--away::before {
                background:
                    radial-gradient(circle at 50% 34%, rgba(235, 242, 255, 0.10) 0%, rgba(55, 115, 255, 0.14) 24%, rgba(55, 115, 255, 0.08) 44%, transparent 68%),
                    radial-gradient(circle at 50% 60%, rgba(8, 11, 22, 0.16) 0%, transparent 62%);
            }
            .pregame-matchup-half--home::before {
                background:
                    radial-gradient(circle at 50% 34%, rgba(255, 243, 238, 0.10) 0%, rgba(255, 155, 40, 0.13) 24%, rgba(255, 155, 40, 0.07) 44%, transparent 68%),
                    radial-gradient(circle at 50% 60%, rgba(8, 11, 22, 0.16) 0%, transparent 62%);
            }
            .pregame-matchup-card .pregame-logo {
                width: 58px;
                height: 58px;
                object-fit: contain;
                filter:
                    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.42))
                    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28))
                    drop-shadow(0 0 1px rgba(255, 255, 255, 0.18));
                transition: transform 0.25s var(--ease);
            }
            .pregame-matchup-card:hover .pregame-logo {
                transform: scale(1.04);
            }
            .pregame-logo-placeholder {
                width: 76px;
                height: 76px;
                border-radius: 50%;
                background: rgba(255,255,255,0.04);
                border: 1px solid rgba(255,255,255,0.07);
            }
            .pregame-duel-name {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 3px;
                line-height: 1.25;
            }
            .pregame-team-name {
                font-size: 0.85em;
                font-weight: 700;
                color: rgba(255, 255, 255, 0.88);
                letter-spacing: 0.01em;
            }
            /* ── VS diamond badge — positioned within pregame-matchup-teams ── */
            .pregame-vs-wrap {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                z-index: 3;
                display: flex;
                align-items: center;
                justify-content: center;
                pointer-events: none;
            }
            .pregame-vs-diamond {
                width: 36px;
                height: 36px;
                background: rgba(255, 255, 255, 0.14);
                border: 1px solid rgba(255, 255, 255, 0.32);
                transform: rotate(45deg);
                display: flex;
                align-items: center;
                justify-content: center;
                backdrop-filter: blur(16px);
                -webkit-backdrop-filter: blur(16px);
                box-shadow: 0 0 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
            }
            .pregame-vs-text {
                transform: rotate(-45deg);
                font-size: 9px;
                font-weight: 900;
                letter-spacing: 1px;
                color: rgba(255, 255, 255, 0.82);
                display: block;
            }
            /* ── Player row (inside matchup card, below teams) ── */
            .pregame-player-row {
                display: flex;
                align-items: stretch;
                border-top: 1px solid rgba(255, 255, 255, 0.08);
                background: rgba(0, 0, 0, 0.08);
            }
            .pregame-player-chip {
                flex: 1;
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 12px 16px;
                min-width: 0;
            }
            .pregame-player-chip--away {
                border-right: 1px solid rgba(255, 255, 255, 0.07);
            }
            .pregame-chip-headshot {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                object-fit: cover;
                border: 1.5px solid rgba(255, 255, 255, 0.14);
                background: rgba(255, 255, 255, 0.06);
                flex-shrink: 0;
            }
            .pregame-chip-headshot--empty {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.05);
                border: 1.5px solid rgba(255, 255, 255, 0.07);
                flex-shrink: 0;
            }
            .pregame-chip-info {
                display: flex;
                flex-direction: column;
                gap: 2px;
                min-width: 0;
            }
            .pregame-chip-name {
                font-size: 0.76em;
                font-weight: 700;
                color: rgba(255, 255, 255, 0.88);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .pregame-chip-stat {
                font-size: 0.84em;
                font-weight: 800;
                color: rgba(255, 255, 255, 0.78);
                font-variant-numeric: tabular-nums;
                letter-spacing: -0.01em;
                white-space: nowrap;
            }
            .pregame-chip-badge {
                font-size: 0.56em;
                font-weight: 700;
                letter-spacing: 0.10em;
                text-transform: uppercase;
                color: rgba(255, 255, 255, 0.28);
                white-space: nowrap;
            }
            .pregame-chip-badge--hot {
                color: rgba(255, 175, 60, 0.72);
            }
            .pregame-chip-empty {
                flex: 1;
                display: flex;
                align-items: center;
                padding: 11px 14px;
                opacity: 0.25;
            }
            .pregame-chip-empty-label {
                font-size: 0.75em;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.6);
            }
            /* ── Stat rail (replaces context card) ── */
            .pregame-stat-rail {
                font-size: 0.72em;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.45);
                line-height: 1.5;
                margin: 8px 0 6px;
                padding: 0 2px;
            }
            .pregame-stat-sep {
                color: rgba(255, 255, 255, 0.22);
                margin: 0 3px;
            }

            /* ── Pregame prob bar with labels ── */
            .pregame-prob-wrapper {
                display: flex;
                align-items: center;
                gap: 8px;
                margin: 0 0 10px;
            }
            .pregame-prob-side-label {
                font-size: 0.68em;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.38);
                white-space: nowrap;
                font-variant-numeric: tabular-nums;
                flex-shrink: 0;
            }
            .pregame-prob-side-label strong {
                font-weight: 800;
                color: rgba(255, 255, 255, 0.65);
            }
            .pregame-prob-wrapper .pregame-prob-bar {
                flex: 1;
                margin: 0;
            }

            /* pregame-player-card removed — replaced by pregame-player-chip inside matchup card */

            /* ── Other league peek row ── */
            .pregame-other-league {
                display: flex;
                align-items: center;
                gap: 7px;
                padding: 8px 0 4px;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
                margin-top: 6px;
            }
            .pregame-other-matchup {
                font-size: 0.78em;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.62);
                flex: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                min-width: 0;
            }
            .pregame-other-time {
                font-size: 0.68em;
                color: rgba(255, 255, 255, 0.35);
                flex-shrink: 0;
                font-variant-numeric: tabular-nums;
            }
            .pregame-other-cta {
                flex-shrink: 0;
                font-size: 0.78em;
                margin-top: 0;
                color: rgba(111, 134, 230, 0.7);
            }

            /* ── Post-game Top Story (Left Panel) ── */
            .postgame-label {
                font-size: 0.58em;
                font-weight: 800;
                letter-spacing: 0.14em;
                text-transform: uppercase;
                color: rgba(255,255,255,0.28);
                margin-bottom: 12px;
            }
            .postgame-feature {
                padding: 14px 16px;
                border-radius: var(--radius-sm, 12px);
                background: rgba(255,255,255,0.04);
                border: 1px solid rgba(255,255,255,0.07);
                margin-bottom: 10px;
            }
            .postgame-badges {
                display: flex;
                align-items: center;
                gap: 6px;
                margin-bottom: 10px;
            }
            .postgame-badge {
                font-size: 0.60em;
                font-weight: 800;
                letter-spacing: 0.08em;
                padding: 2px 7px;
                border-radius: 3px;
                line-height: 1;
            }
            .postgame-badge--upset {
                background: rgba(255,140,40,0.20);
                color: rgba(255,170,80,0.95);
                border: 1px solid rgba(255,140,40,0.35);
            }
            .postgame-badge--close {
                background: rgba(111,134,230,0.18);
                color: rgba(140,170,255,0.90);
                border: 1px solid rgba(111,134,230,0.30);
            }
            .postgame-result {
                display: flex;
                flex-direction: column;
                gap: 3px;
                margin-bottom: 8px;
            }
            .postgame-result-row {
                display: flex;
                align-items: baseline;
                gap: 6px;
            }
            .postgame-result-rank {
                font-size: 0.72em;
                font-weight: 700;
                color: var(--rank-gold, rgba(255,215,0,0.85));
                flex-shrink: 0;
            }
            .postgame-result-team {
                font-size: 0.88em;
                font-weight: 700;
                flex: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .postgame-result-row--win .postgame-result-team,
            .postgame-result-score--win {
                color: rgba(255,255,255,0.95);
            }
            .postgame-result-row--loss .postgame-result-team,
            .postgame-result-score--loss {
                color: rgba(255,255,255,0.38);
            }
            .postgame-result-score {
                font-size: 0.92em;
                font-weight: 800;
                font-variant-numeric: tabular-nums;
                flex-shrink: 0;
            }
            .postgame-note {
                font-size: 0.70em;
                color: rgba(255,255,255,0.35);
                text-transform: uppercase;
                letter-spacing: 0.06em;
                font-weight: 600;
            }
            .postgame-model-strip {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 8px 12px;
                border-radius: 8px;
                background: rgba(111,134,230,0.08);
                border: 1px solid rgba(111,134,230,0.15);
                margin-bottom: 10px;
            }
            .postgame-model-label {
                font-size: 0.65em;
                font-weight: 700;
                letter-spacing: 0.08em;
                color: rgba(111,134,230,0.7);
                text-transform: uppercase;
            }
            .postgame-model-record {
                font-size: 0.75em;
                font-weight: 700;
                color: rgba(255,255,255,0.7);
                font-variant-numeric: tabular-nums;
            }

            /* ── Post-game Best Stories (Hero + Supporting Cards) ── */
            .postgame-stories {
                display: flex;
                flex-direction: column;
                gap: 10px;
            }

            /* Hero card — reuses pregame matchup visual DNA */
            .postgame-hero {
                border-radius: 14px;
                overflow: hidden;
                border: 1px solid rgba(255, 255, 255, 0.09);
                background: rgba(0, 0, 0, 0.15);
            }
            .postgame-hero-badges {
                display: flex;
                align-items: center;
                gap: 6px;
                padding: 10px 14px 0;
                position: relative;
                z-index: 1;
            }
            .postgame-hero-matchup {
                display: flex;
                align-items: stretch;
                position: relative;
                min-height: 148px;
            }
            .postgame-hero .pregame-matchup-half {
                position: relative;
            }
            .postgame-hero-score {
                font-size: 2.2em;
                font-weight: 900;
                font-variant-numeric: tabular-nums;
                line-height: 1;
                margin-top: 4px;
            }
            .postgame-hero-score--win {
                color: rgba(255, 255, 255, 0.95);
                text-shadow: 0 2px 12px rgba(255, 255, 255, 0.15);
            }
            .postgame-hero-score--loss {
                color: rgba(255, 255, 255, 0.30);
            }
            .postgame-hero-final-badge {
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                z-index: 3;
                font-size: 0.55em;
                font-weight: 900;
                letter-spacing: 0.12em;
                color: rgba(255, 255, 255, 0.75);
                background: rgba(255, 255, 255, 0.10);
                border: 1px solid rgba(255, 255, 255, 0.25);
                padding: 4px 10px;
                border-radius: 4px;
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                pointer-events: none;
            }
            .postgame-hero-details {
                padding: 12px 16px 14px;
                display: flex;
                flex-direction: column;
                gap: 8px;
                border-top: 1px solid rgba(255, 255, 255, 0.06);
            }
            .postgame-hero-storyline {
                font-size: 0.78em;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.70);
                line-height: 1.35;
            }
            .postgame-hero-narrative {
                font-size: 0.72em;
                font-style: italic;
                color: rgba(255, 255, 255, 0.40);
                line-height: 1.35;
            }
            .postgame-hero-standout {
                display: flex;
                align-items: center;
                gap: 10px;
                padding: 8px 10px;
                border-radius: 8px;
                background: rgba(255, 255, 255, 0.04);
            }
            .postgame-hero-standout-headshot {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                object-fit: cover;
                flex-shrink: 0;
                border: 1px solid rgba(255, 255, 255, 0.12);
            }
            .postgame-hero-standout-name {
                font-size: 0.75em;
                font-weight: 700;
                color: rgba(255, 255, 255, 0.85);
            }
            .postgame-hero-standout-stats {
                font-size: 0.68em;
                font-weight: 600;
                color: rgba(255, 255, 255, 0.45);
                font-variant-numeric: tabular-nums;
            }

            /* Beat Vegas badge */
            .postgame-badge--beat-vegas {
                background: rgba(80, 200, 120, 0.18);
                color: rgba(100, 220, 140, 0.95);
                border: 1px solid rgba(80, 200, 120, 0.35);
            }

            /* Supporting cards — compact side-by-side */
            .postgame-supporting-row {
                display: flex;
                gap: 8px;
            }
            .postgame-supporting-card {
                flex: 1;
                border-radius: 10px;
                overflow: hidden;
                border: 1px solid rgba(255, 255, 255, 0.07);
                padding: 10px 12px;
                min-width: 0;
            }
            .postgame-supporting-badges {
                display: flex;
                align-items: center;
                gap: 4px;
                margin-bottom: 8px;
                flex-wrap: wrap;
            }
            .postgame-supporting-teams {
                display: flex;
                flex-direction: column;
                gap: 4px;
            }
            .postgame-supporting-team {
                display: flex;
                align-items: center;
                gap: 6px;
                min-width: 0;
            }
            .postgame-supporting-logo {
                width: 24px;
                height: 24px;
                object-fit: contain;
                flex-shrink: 0;
                filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
            }
            .postgame-supporting-name {
                font-size: 0.74em;
                font-weight: 700;
                flex: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                min-width: 0;
            }
            .postgame-supporting-score {
                font-size: 0.80em;
                font-weight: 800;
                font-variant-numeric: tabular-nums;
                flex-shrink: 0;
            }
            .postgame-supporting-team--win .postgame-supporting-name,
            .postgame-supporting-team--win .postgame-supporting-score {
                color: rgba(255, 255, 255, 0.92);
            }
            .postgame-supporting-team--loss .postgame-supporting-name,
            .postgame-supporting-team--loss .postgame-supporting-score {
                color: rgba(255, 255, 255, 0.35);
            }
            .postgame-supporting-note {
                font-size: 0.62em;
                color: rgba(255, 255, 255, 0.30);
                text-transform: uppercase;
                letter-spacing: 0.06em;
                font-weight: 600;
                margin-top: 6px;
            }

            /* Responsive: stack supporting cards on narrow viewports */
            @media (max-width: 480px) {
                .postgame-supporting-row {
                    flex-direction: column;
                }
            }

            /* ── Off Day (Left Panel) ── */
            .offday-header {
                margin-bottom: 16px;
            }
            .offday-title {
                font-size: 0.62em;
                font-weight: 800;
                letter-spacing: 0.15em;
                text-transform: uppercase;
                color: rgba(255,255,255,0.28);
                margin-bottom: 4px;
            }
            .offday-subtitle {
                font-size: 0.80em;
                color: rgba(255,255,255,0.5);
            }
            .offday-stats {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 8px;
                margin-bottom: 14px;
            }
            .offday-stat-item {
                padding: 12px 14px;
                border-radius: var(--radius-sm, 12px);
                background: rgba(255,255,255,0.04);
                border: 1px solid rgba(255,255,255,0.07);
                text-align: center;
            }
            .offday-stat-value {
                font-size: 1.3em;
                font-weight: 800;
                color: rgba(255,255,255,0.88);
                font-variant-numeric: tabular-nums;
                line-height: 1;
                margin-bottom: 4px;
            }
            .offday-stat-label {
                font-size: 0.62em;
                font-weight: 600;
                letter-spacing: 0.06em;
                color: rgba(255,255,255,0.35);
                text-transform: uppercase;
            }

            /* ── Live Intel: section label for pre-game states ── */
            .wyw-intel-empty-note {
                font-size: 0.78em;
                color: rgba(255,255,255,0.32);
                line-height: 1.5;
                padding: 8px 0;
                font-style: italic;
            }
        }

        /* ── P3: Panel Micro-Previews ── */
        .mob-panel-preview-wrap {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 4px;
            min-height: 0;
        }
        .mob-panel-preview {
            flex: 1;
            font-size: 0.7rem;
            line-height: 1.25;
            color: rgba(255,255,255,0.55);
            max-width: 100%;
            overflow: hidden;
        }
        .mob-panel-preview-line {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }
        .mob-panel-affordance {
            color: rgba(255,255,255,0.4);
            font-size: 1.1em;
            flex-shrink: 0;
        }
        .mob-panel-standout {
            display: block;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.5);
            margin-top: 4px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        @media (max-width: 520px) {
            .mob-panel-preview { font-size: 0.65rem; }
        }


        /* ── Game Detail Drawer ── */
        .data-btn {
            display: flex; align-items: center; gap: 5px;
            margin: 6px auto 2px; padding: 4px 10px;
            background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
            border-radius: 10px; color: rgba(255,255,255,0.56);
            font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
            text-transform: uppercase; cursor: pointer; transition: all 0.2s ease;
            position: relative; z-index: 101;
        }
        .data-btn:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.16); }
        .data-btn svg { width: 10px; height: 10px; }

        #game-detail-drawer {
            position: fixed; top: 0; right: -420px;
            width: 360px; max-width: 95vw; height: 100vh;
            height: 100svh;
            background: #0a0c10; border-left: 1px solid rgba(255,255,255,0.06);
            z-index: 9999; transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
            overflow-y: auto; box-shadow: -24px 0 80px rgba(0,0,0,0.8);
            display: flex; flex-direction: column;
        }
        @supports (height: 100dvh) {
            #game-detail-drawer {
                height: 100dvh;
            }
        }
        #game-detail-drawer.open { right: 0; }
        #drawer-backdrop {
            display: none; position: fixed; inset: 0;
            background: rgba(0,0,0,0.28); z-index: 9998; backdrop-filter: blur(1px);
        }
        #drawer-backdrop.open { display: block; }

        /* ── Header ── */
        .drawer-header {
            padding: 0; border-bottom: 1px solid rgba(255,255,255,0.06);
            position: sticky; top: 0; background: #0a0c10; z-index: 1; flex-shrink: 0;
        }
        .drawer-header-inner {
            padding: 18px 20px 16px;
            display: flex; align-items: flex-start; justify-content: space-between;
        }
        .drawer-matchup {
            font-size: 18px; font-weight: 800; color: #fff;
            letter-spacing: 0.02em; line-height: 1.1;
        }
        .drawer-records {
            font-size: 0.86rem; color: rgba(255,255,255,0.55);
            margin-top: 5px; letter-spacing: 0.04em;
        }
        .drawer-label-pill {
            display: inline-block; font-size: 0.86rem; font-weight: 700;
            letter-spacing: 0.08em; text-transform: uppercase;
            color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.08);
            border-radius: 4px; padding: 3px 7px; margin-bottom: 6px;
        }
        .drawer-close {
            width: 30px; height: 30px; border-radius: 50%;
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.4); font-size: 14px; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; transition: all 0.15s; margin-top: 2px;
        }
        .drawer-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

        /* Win probability bar in header */
        .drawer-wp-bar-wrap {
            padding: 0 20px 16px; display: flex; flex-direction: column; gap: 7px;
        }
        .drawer-wp-teams {
            display: flex; justify-content: space-between; align-items: center;
        }
        .drawer-wp-team {
            font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em;
            color: rgba(255,255,255,0.68);
        }
        .drawer-wp-pct {
            font-size: 0.86rem; font-weight: 800; color: #fff;
        }
        .drawer-wp-center-label {
            font-size: 0.86rem;
            color: rgba(255,255,255,0.58);
            letter-spacing: 0.08em;
            font-weight: 700;
        }
        .drawer-wp-bar {
            height: 6px; border-radius: 3px; overflow: hidden;
            background: rgba(255,255,255,0.06); position: relative;
        }
        .drawer-wp-fill-away {
            position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px 0 0 3px;
            transition: width 0.6s ease;
        }
        .drawer-wp-fill-home {
            position: absolute; right: 0; top: 0; height: 100%; border-radius: 0 3px 3px 0;
            transition: width 0.6s ease;
        }

        /* ── Body ── */
        .drawer-body { padding: 16px 20px 48px; flex: 1; }

        /* ── Sections ── */
        .drawer-section { margin-bottom: 24px; }
        .drawer-section-title {
            font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em;
            text-transform: uppercase; color: rgba(255,255,255,0.48);
            margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
        }
        .drawer-section-title::after {
            content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.05);
        }

        /* ── Stat cards (replaces plain rows) ── */
        .drawer-stat-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
            margin-bottom: 8px;
        }
        .drawer-stat-card {
            background: rgba(255,255,255,0.04); border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.05);
            padding: 12px 14px;
        }
        .drawer-stat-card-label {
            font-size: 8px; font-weight: 700; letter-spacing: 0.1em;
            text-transform: uppercase; color: rgba(255,255,255,0.25);
            margin-bottom: 10px;
        }
        .drawer-stat-card-teams {
            display: flex; justify-content: space-between; align-items: flex-end;
        }
        .drawer-stat-card-team { text-align: center; flex: 1; }
        .drawer-stat-card-abbr {
            font-size: 8px; color: rgba(255,255,255,0.25);
            letter-spacing: 0.06em; display: block; margin-bottom: 3px;
        }
        .drawer-stat-card-val {
            font-size: 20px; font-weight: 800; color: rgba(255,255,255,0.5);
            font-variant-numeric: tabular-nums; line-height: 1;
        }
        .drawer-stat-card-val.advantage { color: #4ade80; }
        .drawer-stat-card-val.b2b { color: #f87171; font-size: 14px; }
        .drawer-stat-card-vs {
            font-size: 8px; color: rgba(255,255,255,0.12); padding: 0 6px; flex-shrink: 0;
        }
        .form-pips { display: flex; gap: 3px; margin-top: 5px; justify-content: center; }
        .pip { width: 7px; height: 7px; border-radius: 50%; }
        .pip.win { background: #4ade80; }
        .pip.loss { background: rgba(255,255,255,0.12); }

        /* ── Full-width row (record edge, conference) ── */
        .drawer-row {
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 14px; border-radius: 8px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.04);
            margin-bottom: 6px;
        }
        .drawer-row-label { font-size: 11px; color: rgba(255,255,255,0.38); letter-spacing: 0.02em; }
        .drawer-row-values { display: flex; gap: 10px; align-items: center; }
        .drawer-vs-div { font-size: 9px; color: rgba(255,255,255,0.15); }
        .drawer-edge-badge {
            font-size: 10px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
            background: rgba(74,222,128,0.1); color: #4ade80;
            border: 1px solid rgba(74,222,128,0.2);
        }
        .drawer-edge-badge.even {
            background: transparent; color: rgba(255,255,255,0.2);
            border-color: rgba(255,255,255,0.07);
        }
        .conf-tier-badge { font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
        .conf-tier-3 { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
        .conf-tier-2 { background: rgba(148,163,184,0.08); color: #94a3b8; border: 1px solid rgba(148,163,184,0.15); }
        .conf-tier-1 { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.07); }

        /* ── Data Quality ── */
        .drawer-quality-card {
            background: rgba(255,255,255,0.03); border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.05); padding: 14px;
        }
        .drawer-quality-top {
            display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px;
        }
        .drawer-quality-grade { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); }
        .drawer-quality-pct { font-size: 22px; font-weight: 800; color: #fff; }
        .drawer-cov-bar {
            height: 5px; background: rgba(255,255,255,0.06);
            border-radius: 3px; overflow: hidden;
        }
        .drawer-cov-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }
        .drawer-cov-desc {
            font-size: 10px; color: rgba(255,255,255,0.22); margin-top: 7px; line-height: 1.5;
        }

        /* ── Tier 1: Favored line ── */
        .drawer-favored-line {
            font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
            color: rgba(255,255,255,0.32); padding: 0 20px 10px;
        }
        .drawer-favored-team {
            color: rgba(255,255,255,0.72); font-weight: 700;
        }

        /* ── Win prob: enhanced with favored emphasis ── */
        .drawer-wp-label-favored {
            font-size: 11px; font-weight: 800; color: #fff; letter-spacing: 0.04em;
        }
        .drawer-wp-label-underdog {
            font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.32); letter-spacing: 0.04em;
        }
        .drawer-wp-pct-favored {
            font-size: 13px; font-weight: 800; color: #fff;
        }
        .drawer-wp-pct-underdog {
            font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.32);
        }

        /* ── Tier 1: Confidence row ── */
        .drawer-confidence-row {
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 20px 16px;
        }
        .drawer-conf-label {
            font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
            text-transform: uppercase; color: rgba(255,255,255,0.22);
        }
        .drawer-conf-right { display: flex; align-items: center; gap: 10px; }
        .drawer-conf-pct {
            font-size: 14px; font-weight: 800; color: #fff;
        }
        .drawer-conf-bar-wrap {
            width: 80px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
        }
        .drawer-conf-bar-fill {
            height: 100%; border-radius: 2px; transition: width 0.6s ease;
        }

        /* ── Tier 2: Fan summary ── */
        .drawer-tier2-divider {
            height: 1px; background: rgba(255,255,255,0.06); margin: 0 20px 16px;
        }
        .drawer-fan-summary {
            padding: 0 20px 16px;
            font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.58);
            line-height: 1.58; font-style: italic; letter-spacing: 0.01em;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ── Tier 3 ── */
        .drawer-tier3-divider {
            height: 1px; background: rgba(255,255,255,0.06); margin: 0;
        }

        /* ── Accordion ── */
        .drawer-accordion {
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .drawer-accordion:last-child { border-bottom: none; }
        .drawer-accordion-trigger {
            width: 100%; background: none; border: none; cursor: pointer;
            display: flex; align-items: center; justify-content: space-between;
            padding: 12px 20px; color: rgba(255,255,255,0.35);
            font-family: inherit; font-size: 10px; font-weight: 700;
            letter-spacing: 0.12em; text-transform: uppercase;
            transition: color 0.15s;
        }
        .drawer-accordion-trigger:hover { color: rgba(255,255,255,0.62); }
        .drawer-accordion-trigger.open { color: rgba(255,255,255,0.62); }
        .drawer-accordion-chevron {
            font-size: 9px; transition: transform 0.2s ease; opacity: 0.45;
        }
        .drawer-accordion-trigger.open .drawer-accordion-chevron { transform: rotate(90deg); }
        .drawer-accordion-content {
            max-height: 0; overflow: hidden;
            transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
        }
        .drawer-accordion-content.open { max-height: 400px; }
        .drawer-accordion-inner { padding: 0 20px 14px; }

        /* ── Factor rows ── */
        .drawer-factor-row {
            display: flex; align-items: flex-start; gap: 10px; padding: 5px 0;
        }
        .drawer-factor-icon {
            font-size: 10px; width: 14px; flex-shrink: 0; margin-top: 2px; text-align: center;
        }
        .drawer-factor-icon.pos { color: #4ade80; }
        .drawer-factor-icon.neg { color: #f87171; }
        .drawer-factor-icon.neu { color: rgba(255,255,255,0.25); }
        .drawer-factor-label {
            font-size: 11px; color: rgba(255,255,255,0.42); flex: 1; line-height: 1.4;
        }
        .drawer-factor-value {
            font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.68); white-space: nowrap;
        }

        /* ── Swing bullets ── */
        .drawer-swing-item {
            display: flex; align-items: flex-start; gap: 8px;
            padding: 5px 0; font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4;
        }
        .drawer-swing-dot { color: rgba(255,255,255,0.18); flex-shrink: 0; }

        /* ── Model notes ── */
        .drawer-model-row {
            display: flex; justify-content: space-between; align-items: center;
            padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
        }
        .drawer-model-row:last-child { border-bottom: none; }
        .drawer-model-key { font-size: 10px; color: rgba(255,255,255,0.28); letter-spacing: 0.03em; }
        .drawer-model-val { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.6); }

        /* ── Mobile: bottom sheet ── */
        @media (max-width: 600px) {
            #game-detail-drawer {
                width: 100vw; max-width: 100vw;
                top: auto; bottom: -100%; right: 0; height: 86vh;
                border-left: none; border-top: 1px solid rgba(255,255,255,0.08);
                border-radius: 16px 16px 0 0;
                transition: bottom 0.35s cubic-bezier(0.4,0,0.2,1);
                box-shadow: 0 -16px 60px rgba(0,0,0,0.7);
            }
            #game-detail-drawer.open { bottom: 0; right: 0; }
            .drawer-fan-summary { -webkit-line-clamp: 3; }
            .drawer-accordion-content.open { max-height: 600px; }
        }
        /* ── Narrow desktop ── */
        @media (max-width: 900px) and (min-width: 601px) {
            #game-detail-drawer { width: 320px; }
        }

        .share-popover {
            position: absolute;
            width: 240px;
            border-radius: 14px;
            border: 1px solid var(--card-border);
            background: var(--surface-elevated);
            box-shadow: var(--card-shadow), var(--depth-support-shadow);
            padding: 12px;
            z-index: 9999;
            display: none;
        }
        .share-popover.open { display: block; }
        .share-popover-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        .share-popover-title {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted-ui);
            font-weight: 700;
        }
        .share-close-btn {
            border: none;
            background: transparent;
            color: rgba(255,255,255,0.8);
            font-size: 18px;
            line-height: 1;
            width: 28px;
            height: 28px;
            border-radius: 8px;
            cursor: pointer;
        }
        .share-close-btn:hover { background: rgba(255,255,255,0.08); }
        .share-popover-why {
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
        }
        .share-popover-score {
            font-size: 13px;
            color: rgba(255,255,255,0.92);
            margin-bottom: 4px;
            font-variant-numeric: tabular-nums;
        }
        .share-popover-meta {
            font-size: 12px;
            color: var(--text-muted-ui);
            margin-bottom: 10px;
        }
        .share-popover-actions {
            display: grid;
            grid-template-columns: 1fr;
            gap: 6px;
            margin-bottom: 8px;
        }
        .share-action-chip {
            border: 1px solid var(--card-border);
            border-radius: 10px;
            background: rgba(255,255,255,0.06);
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 8px 10px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
        }
        .share-action-chip:hover { background: rgba(255,255,255,0.14); }
        .share-action-chip:focus-visible {
            outline: 2px solid rgba(255,255,255,0.6);
            outline-offset: 2px;
        }
        .share-surface-footnote {
            font-size: 10px;
            color: var(--text-muted-ui);
            text-align: center;
        }
        .share-sheet-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(var(--depth-support-blur));
            -webkit-backdrop-filter: blur(var(--depth-support-blur));
            z-index: 9999;
            display: none;
            align-items: flex-end;
            justify-content: center;
            padding: 12px;
        }
        .share-sheet-overlay.open { display: flex; }
        .share-sheet-card {
            width: 100%;
            max-width: 430px;
            border-radius: 16px;
            border: 1px solid var(--card-border);
            background: var(--surface-elevated);
            box-shadow: var(--card-shadow), var(--depth-support-shadow);
            padding: 16px 14px 14px;
            animation: shareSheetIn 0.24s var(--ease);
        }
        @keyframes shareSheetIn {
            from { transform: translateY(14px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        .share-toast {
            position: fixed;
            bottom: 22px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(10,10,10,0.9);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 999px;
            padding: 8px 14px;
            font-size: 12px;
            z-index: 10001;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.18s ease;
        }
        .share-toast.show { opacity: 1; }
        @media (min-width: 769px) {
            .share-sheet-overlay { display: none !important; }
        }
        @media (max-width: 768px) {
            .share-popover { display: none !important; }
            .share-action-chip { min-height: 44px; }
        }

        /* ─────────────────────────────────────────────────────
           Phase 3 — GamePoint count badge
           ───────────────────────────────────────────────────── */
        .gp-count {
            display: inline-block;
            font-size: 0.42em;
            font-weight: 700;
            letter-spacing: 0;
            padding: 2px 9px;
            border-radius: 10px;
            background: rgba(255,255,255,0.15);
            color: inherit;
            vertical-align: middle;
            position: relative;
            top: -3px;
            margin-left: 6px;
        }
        @media (max-width: 768px) {
            .gp-count { display: none; }
        }
        @media (min-width: 769px) {
            .gp-count { font-size: 0.55em; }
        }

        /* ─────────────────────────────────────────────────────
           Phase 4 — Desktop League Status Bar
           ───────────────────────────────────────────────────── */
        #desktopLeagueStatusBar {
            max-height: 48px;
            overflow: hidden;
            opacity: 1;
            transition: max-height var(--duration-normal) var(--ease), margin-bottom var(--duration-normal) var(--ease), opacity var(--duration-fast) var(--ease);
        }
        @media (max-width: 768px) {
            #desktopLeagueStatusBar { display: none !important; }
        }
        @media (min-width: 769px) {
            #desktopLeagueStatusBar {
                margin-bottom: var(--section-gap);
            }
            #desktopLeagueStatusBar[data-state="hidden"] {
                max-height: 0;
                margin-bottom: 0;
                opacity: 0;
                pointer-events: none;
            }
            #desktopLeagueStatusBar[data-state="pending"] {
                opacity: 0.78;
                pointer-events: none;
            }
            .dsb-inner {
                display: flex;
                gap: 8px;
                flex-wrap: wrap;
            }
            .dsb-pill {
                display: inline-flex;
                align-items: center;
                gap: 7px;
                padding: 5px 12px 5px 10px;
                border-radius: 20px;
                background: rgba(255,255,255,0.05);
                border: 1px solid rgba(255,255,255,0.1);
                text-decoration: none;
                color: rgba(255,255,255,0.75);
                font-size: 0.78rem;
                font-weight: 600;
                transition: background 0.15s ease, border-color 0.15s ease;
            }
            .dsb-pill:hover {
                background: rgba(255,255,255,0.1);
                border-color: rgba(255,255,255,0.2);
                color: #fff;
            }
            .dsb-pill--placeholder {
                cursor: default;
                color: rgba(255,255,255,0.58);
                background: rgba(255,255,255,0.04);
                border-color: rgba(255,255,255,0.08);
            }
            .dsb-pill--gp   { border-color: rgba(244,67,54,0.35); }
            .dsb-pill--close { border-color: rgba(255,165,40,0.35); }
            .dsb-pill--live  { border-color: rgba(76,175,80,0.35); }
            .dsb-dot {
                width: 7px;
                height: 7px;
                border-radius: 50%;
                flex-shrink: 0;
                background: rgba(255,255,255,0.25);
            }
            .dsb-dot--none  { background: rgba(255,255,255,0.2); }
            .dsb-dot--live  { background: #4caf50; box-shadow: 0 0 4px rgba(76,175,80,0.7); }
            .dsb-dot--close { background: rgba(255,165,40,0.9); box-shadow: 0 0 4px rgba(255,150,30,0.6); }
            .dsb-dot--gp    { background: #f44336; box-shadow: 0 0 4px rgba(244,67,54,0.7); }
            .dsb-label {
                font-weight: 700;
                color: rgba(255,255,255,0.9);
            }
            .dsb-counts {
                color: rgba(255,255,255,0.6);
                font-weight: 500;
            }
            .dsb-live {
                color: rgba(100,210,100,0.9);
                font-weight: 600;
            }
        }

        /* ─────────────────────────────────────────────────────
           Phase 5 — WYWR fade-in on desktop
           ───────────────────────────────────────────────────── */
        @media (min-width: 769px) {
            #whileYouWaitContainer {
                animation: wywr-fadein 0.25s ease forwards;
            }
            #whileYouWaitContainer.wyw-height-sync .while-you-wait {
                height: var(--hero-sync-height);
                min-height: var(--hero-sync-height);
            }
            #whileYouWaitContainer.wyw-compact-live .while-you-wait {
                padding: 12px 14px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-header-hub {
                margin-bottom: 12px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-stack {
                gap: 10px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-lead {
                padding: 12px 12px 10px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-support {
                padding: 10px 11px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-radar-list {
                gap: 8px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-radar-row:nth-child(n+3) {
                display: none;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-section-title {
                padding-top: 2px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-intel-lead-actions {
                margin-top: 10px;
            }
            #whileYouWaitContainer.wyw-compact-live .wyw-cta {
                font-size: 0.72rem !important;
            }
            @keyframes wywr-fadein {
                from { opacity: 0; transform: translateY(4px); }
                to   { opacity: 1; transform: translateY(0); }
            }
        }

/* --- Balanced Intel Hub (Desktop Refined) --- */
.wyw-intel-header-hub {
    margin-bottom: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
}

.wyw-hub-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
}

.wyw-hub-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.wyw-intel-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wyw-intel-lead,
.wyw-intel-support,
.wyw-intel-radar-row {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wyw-intel-clickable {
    cursor: pointer;
}

.wyw-intel-clickable:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.wyw-intel-lead {
    border-radius: 16px;
    padding: 14px 14px 12px;
    background:
        radial-gradient(circle at top right, rgba(120,170,255,0.14), transparent 40%),
        rgba(255,255,255,0.045);
}

.wyw-intel-lead-top,
.wyw-intel-support-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.wyw-intel-eyebrow,
.wyw-intel-row-label,
.wyw-intel-section-title {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.34);
}

.wyw-intel-section-title {
    padding-top: 4px;
}

.wyw-intel-chip-row {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.wyw-intel-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
}

.wyw-intel-chip--strong {
    color: rgba(220,232,255,0.94);
    background: rgba(120,170,255,0.18);
    border-color: rgba(120,170,255,0.30);
}

.wyw-intel-lead-main,
.wyw-intel-support-main,
.wyw-intel-radar-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wyw-intel-copy,
.wyw-intel-radar-copy {
    min-width: 0;
    flex: 1;
}

.wyw-intel-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.wyw-intel-avatar {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.wyw-intel-avatar--fallback {
    background: rgba(255, 255, 255, 0.08);
}

.wyw-intel-team-mark {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(20, 25, 40, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: contain;
}

.wyw-intel-avatar-wrap--game .wyw-logo-stack {
    margin-right: 0;
}

.wyw-intel-headline,
.wyw-intel-support-headline,
.wyw-intel-radar-headline {
    font-weight: 800;
    color: rgba(255,255,255,0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wyw-intel-headline {
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.wyw-intel-support-headline {
    font-size: 0.86rem;
    margin-bottom: 4px;
}

.wyw-intel-radar-headline {
    font-size: 0.78rem;
}

.wyw-intel-value {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 3px;
}

.wyw-intel-value--lead .wyw-intel-value-text {
    font-size: 1.5rem;
}

.wyw-intel-value--radar .wyw-intel-value-text {
    font-size: 0.9rem;
}

.wyw-intel-value-text {
    font-size: 1.08rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.wyw-intel-value-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.44);
}

.wyw-intel-secondary,
.wyw-intel-support-reason,
.wyw-intel-reason {
    font-size: 0.71rem;
    line-height: 1.35;
}

.wyw-intel-secondary {
    font-weight: 700;
    color: rgba(255,255,255,0.70);
}

.wyw-intel-reason,
.wyw-intel-support-reason {
    color: rgba(255,255,255,0.46);
    margin-top: 3px;
}

/* High-Signal Data Badge for Lead Intel */
.wyw-intel-lead-signal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 14px;
    background: rgba(120, 170, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(120, 170, 255, 0.25);
    border-radius: 12px;
}

.wyw-intel-signal-label {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(120, 170, 255, 0.85);
}

.wyw-intel-signal-value {
    font-size: 0.88rem;
    font-weight: 900;
    color: white;
}

.wyw-intel-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wyw-intel-support {
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    min-height: 100px;
}

.wyw-intel-support-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.wyw-intel-support-headline {
    font-size: 0.78rem;
    margin-bottom: 2px;
}

.wyw-intel-support-reason {
    font-size: 0.64rem;
    line-height: 1.2;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wyw-intel-radar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wyw-intel-radar-row {
    padding: 8px 12px;
    border-radius: 10px;
    align-items: center;
}

.wyw-intel-radar-headline {
    font-size: 0.74rem;
}

.wyw-intel-radar-meta {
    font-size: 0.58rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    margin-left: auto;
}

.wyw-intel-section-title {
    font-size: 0.54rem;
    padding-top: 2px;
    margin-bottom: 8px;
}

.wyw-intel-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wyw-intel-radar-row {
    border-radius: 10px;
    padding: 9px 10px;
    align-items: center;
}

.wyw-intel-radar-meta {
    flex-shrink: 0;
    font-size: 0.60rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    margin-left: 8px;
}

.wyw-intel-empty {
    color: rgba(255,255,255,0.56);
    font-size: 0.78rem;
    line-height: 1.4;
}

.wyw-intel-empty--row {
    font-size: 0.72rem;
}

.wyw-narrative-strip {
    height: 64px; /* Slightly taller for breathing room */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s ease;
}

.wyw-narrative-strip--interactive {
    cursor: pointer;
}

.wyw-narrative-strip--interactive:hover {
    background: rgba(255,255,255,0.02);
}

.wyw-strip-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

/* Circular Logo Stack */
.wyw-logo-stack {
    position: relative;
    width: 36px;
    height: 22px;
    margin-right: 12px;
    flex-shrink: 0;
}

.wyw-logo-stack img {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.wyw-logo-stack .away-logo {
    z-index: 2;
    left: 0;
    top: 0;
}

.wyw-logo-stack .home-logo {
    z-index: 1;
    left: 14px;
    top: 0px;
}

/* Slower Fade Rotate Animation */
.wyw-flipper-wrap {
    position: relative;
    height: 16px;
}

.wyw-strip-bottom {
    min-height: 16px;
}

.wyw-flipper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wyw-flipper:nth-child(1) { animation: wyw-fade-in-out 18s infinite 0s; }
.wyw-flipper:nth-child(2) { animation: wyw-fade-in-out 18s infinite 6s; }
.wyw-flipper:nth-child(3) { animation: wyw-fade-in-out 18s infinite 12s; }

@keyframes wyw-fade-in-out {
    0%, 2% { opacity: 0; transform: translateY(4px); }
    5%, 30% { opacity: 1; transform: translateY(0); }
    33%, 35% { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 0; }
}

.wyw-strip-secondary {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wyw-strip-status-pill {
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    border-radius: 3px;
    text-transform: uppercase;
}

.wyw-strip-score {
    font-weight: 700; /* Refined from 900 */
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.wyw-player-team-logo-small {
    width: 14px;
    height: 14px;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.8;
}

.wyw-game-line--desktop-empty {
    padding: 8px 0 4px;
    font-style: italic;
    opacity: 0.68;
}
    flex-direction: column;
    gap: 12px;
}

/* Unified Intel Row Style */
.wyw-intel-lead,
.wyw-intel-support,
.wyw-intel-radar-row {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    transition: background 0.2s ease, border-color 0.2s ease;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    height: 72px; /* Standard uniform height */
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.wyw-intel-lead {
    background:
        radial-gradient(circle at top right, rgba(120,170,255,0.12), transparent 50%),
        rgba(255,255,255,0.05);
    border-color: rgba(120,170,255,0.15);
}

.wyw-intel-clickable {
    cursor: pointer;
}

.wyw-intel-clickable:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
}

.wyw-intel-avatar-wrap {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wyw-intel-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.wyw-intel-team-mark {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(20, 25, 40, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: contain;
}

.wyw-intel-copy,
.wyw-intel-radar-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wyw-intel-headline,
.wyw-intel-support-headline,
.wyw-intel-radar-headline {
    font-size: 0.88rem;
    font-weight: 800;
    color: rgba(255,255,255,0.95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.wyw-intel-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.64rem;
    color: rgba(255,255,255,0.35);
    font-weight: 700;
}

.wyw-intel-value-block {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

.wyw-intel-value-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    display: block;
}

.wyw-intel-value-label {
    font-size: 0.56rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.wyw-intel-chip {
    font-size: 0.52rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wyw-intel-chip--strong {
    background: rgba(120,170,255,0.15);
    color: rgba(120,170,255,0.8);
}

.wyw-intel-stack {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Tight stable list spacing */
}

.wyw-intel-support-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wyw-intel-section-title {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    margin: 6px 0 2px 4px;
}

.wyw-intel-radar-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Precision Dashboard Row System - Option 1 */
.wyw-intel-lead,
.wyw-intel-support,
.wyw-intel-radar-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    height: 52px !important;
    padding: 6px 12px !important;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    margin-bottom: 0;
    transition: all 0.2s ease;
    overflow: hidden;
}

.wyw-intel-lead {
    background: linear-gradient(90deg, rgba(120,170,255,0.1), rgba(255,255,255,0.04));
    border-color: rgba(120,170,255,0.2);
}

.wyw-intel-avatar-wrap {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0;
}

.wyw-intel-avatar {
    width: 34px !important;
    height: 34px !important;
    border-width: 1px !important;
}

.wyw-intel-team-mark {
    width: 14px !important;
    height: 14px !important;
    right: -1px !important;
    bottom: -1px !important;
}

.wyw-intel-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wyw-intel-headline {
    font-size: 0.82rem !important;
    font-weight: 800;
    margin-bottom: 0 !important;
    line-height: 1.2;
}

.wyw-intel-row-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem !important;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    margin-top: 1px;
}

.wyw-intel-meta-reason {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wyw-intel-value-block {
    margin-left: auto;
    text-align: right;
    line-height: 1;
}

.wyw-intel-value-text {
    font-size: 1rem !important;
    font-weight: 800;
}

.wyw-intel-value-label {
    font-size: 0.52rem !important;
    margin-top: 1px !important;
}

.wyw-intel-chip {
    font-size: 0.48rem !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
}

.wyw-intel-stack { gap: 6px !important; }
.wyw-intel-support-grid { gap: 8px !important; display: grid !important; grid-template-columns: 1fr 1fr !important; }
.wyw-intel-radar-list { gap: 6px !important; }

.wyw-intel-section-title {
    font-size: 0.52rem !important;
    margin: 4px 0 2px 4px !important;
    letter-spacing: 0.1em;
}

.wyw-logo-stack { width: 34px !important; height: 34px !important; margin-right: 0 !important; }
.wyw-logo-stack img { width: 22px !important; height: 22px !important; }
.wyw-logo-stack .home-logo { left: 12px !important; }

/* ═══════════════════════════════════════════════
   Live Intel Panel — image-2 target design
   ═══════════════════════════════════════════════ */

/* Panel layout: flex column so body grows and footer pins to bottom */
#whileYouWaitContainer .while-you-wait {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

/* Slate context: single-line situation overview beneath panel title */
.wyw-slate-context {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.50rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.18);
    margin-top: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

/* PICK badge on game row matchup line */
.wyw-gr-pick {
    display: inline-block;
    font-size: 0.42rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    background: rgba(99,179,237,0.18);
    color: rgba(140,200,255,0.88);
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 5px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* Panel header: "LIVE INTEL" eyebrow */
.wyw-panel-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.60rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-bottom: 0;
    flex-shrink: 0;
}
.wyw-slate-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    color: rgba(255,255,255,0.72);
    margin-top: 4px;
    transition: color 0.6s ease, opacity 0.4s ease;
}
/* When the slate is live-active, the headline gains presence */
.is-live .wyw-slate-headline,
.has-wywr .wyw-slate-headline {
    color: rgba(255,255,255,0.88);
    font-weight: 700;
}
.wyw-panel-header-shell {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 0;
    flex-shrink: 0;
}
.wyw-panel-header-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.wyw-panel-header-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 0 0 auto;
}
.wyw-panel-league-nav {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin-left: 0;
}
.wyw-panel-league-nav .dsb-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}
.wyw-panel-league-nav .dsb-pill {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 4px 8px 4px 7px;
    font-size: 0.68rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
.wyw-panel-league-nav .dsb-pill:hover {
    background: rgba(255,255,255,0.1);
}
.wyw-panel-league-nav .dsb-pill--embedded {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.wyw-panel-league-nav .dsb-counts {
    white-space: nowrap;
    font-size: 0.66rem;
}
.wyw-panel-league-nav .dsb-label {
    font-size: 0.66rem;
}
.wyw-panel-league-nav .dsb-dot {
    width: 6px;
    height: 6px;
}

/* Scrollable/clippable content area */
.wyw-panel-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.wyw-panel-body--dual .wyw-panel-section--players {
    flex: 0 0 48%;
}
.wyw-panel-body--dual .wyw-panel-section--games {
    flex: 1 1 52%;
}
.wyw-panel-body--solo > .wyw-panel-section {
    flex: 1 1 auto;
}
.wyw-panel-section {
    flex: 0 0 auto;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}
/* Fade-out gradient so clipped overflow looks intentional */
.wyw-panel-body::after {
    display: none;
}

/* Section dividers: "PLAYERS TO WATCH" / "ON TODAY" */
.wyw-section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    margin: 7px 0 2px;
    flex-shrink: 0;
}
.wyw-panel-body > .wyw-section-label:first-child {
    margin-top: 0;
}

/* Player spotlight card — glass container */
.wyw-pr-card {
    background: rgba(120,100,255,0.04);
    border: 1px solid rgba(120,100,255,0.10);
    border-radius: 10px;
    padding: 5px 9px;
    height: 100%;
    min-height: 0;
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
    flex-shrink: 0;
}
.wyw-panel-game-list {
    min-height: 0;
    display: grid;
    grid-auto-rows: minmax(0, 1fr);
}
.wyw-pr-card .wyw-pr-row {
    padding: 3px 0;
    border-bottom: none;
}
.wyw-pr-card .wyw-pr-row:last-child {
    padding-bottom: 0;
}

/* ── Player rows ── */
.wyw-pr-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.15s ease;
    min-height: 0;
}
.wyw-pr-row:last-of-type { border-bottom: none; }
.wyw-pr-row:hover { background: rgba(255,255,255,0.02); border-radius: 6px; }

/* Fallback leader card — subtler than the primary player card */
.wyw-pr-card--fallback {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.06);
}
.wyw-pr-card--fallback .wyw-pr-name {
    color: rgba(255,255,255,0.68);
}
.wyw-pr-card--fallback .wyw-pr-stat {
    color: rgba(255,255,255,0.52);
}

/* Avatar with team badge */
.wyw-pr-avatar-wrap {
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.wyw-pr-avatar {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    display: block;
}
.wyw-pr-avatar--fallback {
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
.wyw-pr-team-badge {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50%;
    border: 1px solid rgba(20,25,40,0.9);
    background: rgba(20,25,40,0.85);
    object-fit: contain;
}

/* Player copy: name + context */
.wyw-pr-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
}
.wyw-pr-name-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.wyw-pr-inline-team-logo {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.9;
}
.wyw-pr-inline-team-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 14px;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.62);
    font-size: 0.47rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    flex-shrink: 0;
}
.wyw-pr-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.92);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.wyw-pr-sub {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.36);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Stat block */
.wyw-pr-stat {
    font-size: 0.7rem;
    font-weight: 760;
    color: rgba(255,255,255,0.68);
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Game rows ── */
.wyw-gr-row {
    --wyw-gr-score-width: 64px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.15s ease;
    min-height: 0;
}
.wyw-gr-row:last-of-type { border-bottom: none; }
.wyw-gr-row:hover { background: rgba(255,255,255,0.03); border-radius: 6px; }

/* Featured row — top result / headline game */
.wyw-gr-row--featured {
    --wyw-gr-score-width: 68px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 7px 9px;
    margin-bottom: 2px;
}
.wyw-gr-row--featured .wyw-gr-matchup {
    font-size: 0.84rem;
    font-weight: 800;
    color: rgba(255,255,255,0.95);
}
.wyw-gr-row--featured .wyw-gr-score {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.92);
}

/* Live accent — red left border */
.wyw-gr-row--live-accent {
    border-left: 2px solid rgba(239,68,68,0.55);
    padding-left: 8px;
    border-radius: 0 6px 6px 0;
}
.wyw-gr-row--live-accent.wyw-gr-row--featured {
    border-left: 2px solid rgba(239,68,68,0.65);
    border-radius: 8px;
    border-left-width: 3px;
}

/* Close game accent — amber left border */
.wyw-gr-row--close {
    border-left: 2px solid rgba(251,191,36,0.30);
    padding-left: 8px;
    border-radius: 0 6px 6px 0;
}

/* Game copy: matchup + tagline */
.wyw-gr-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
}
.wyw-gr-matchup {
    font-size: 0.76rem;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    line-height: 1.2;
}
.wyw-gr-tagline {
    font-size: 0.58rem;
    color: rgba(255,255,255,0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    line-height: 1.2;
}

/* Score column — right-aligned bold anchor */
.wyw-gr-score {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255,255,255,0.70);
    flex: 0 0 var(--wyw-gr-score-width);
    text-align: right;
    white-space: nowrap;
    width: var(--wyw-gr-score-width);
    min-width: var(--wyw-gr-score-width);
    max-width: var(--wyw-gr-score-width);
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.wyw-gr-meta--time {
    font-size: 0.62rem;
    font-weight: 760;
    color: rgba(255,255,255,0.56);
    min-width: 0;
}
.wyw-gr-row--live-accent .wyw-gr-score {
    color: rgba(255,140,140,0.88);
}

/* ── Footer ── */
.wyw-panel-footer {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.wyw-footer-link {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.28);
    padding: 0;
    text-transform: none;
    transition: color 0.15s ease;
}
.wyw-footer-link:hover { color: rgba(255,255,255,0.55); }
.wyw-footer-link--accent {
    color: rgba(120,160,255,0.7);
}
.wyw-footer-link--accent:hover { color: rgba(140,180,255,0.92); }

/* Logo stack sizing within game rows */
.wyw-gr-row .wyw-logo-stack {
    width: 36px !important;
    height: 24px !important;
    flex-shrink: 0;
}
.wyw-gr-row .wyw-logo-stack img {
    width: 20px !important;
    height: 20px !important;
}
.wyw-gr-row .wyw-logo-stack .home-logo {
    left: 16px !important;
    top: 2px !important;
}

/* ─── Tournament Badges ────────────────────────────────────────────────────── */
.tournament-badge-strip {
    text-align: center;
    padding: 2px 0 0;
}
.tournament-badge {
    display: inline-block;
    font-size: 0.65em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    line-height: 1.4;
}
.tournament-badge.tier-1 {
    background: rgba(59, 130, 246, 0.2);
    color: #93bbfd;
}
.tournament-badge.tier-2 {
    background: rgba(59, 130, 246, 0.35);
    color: #60a5fa;
}
.tournament-badge.tier-3 {
    background: rgba(249, 115, 22, 0.3);
    color: #fb923c;
}
.tournament-badge.tier-4 {
    background: rgba(234, 88, 12, 0.4);
    color: #f97316;
}
.tournament-badge.tier-5 {
    background: rgba(239, 68, 68, 0.45);
    color: #f87171;
}

/* GamePoint card tournament label */
.gp-tournament-label {
    text-align: center;
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1px 0;
    margin: -2px 0 2px;
}
.gp-tournament-label.tier-1 { color: #93bbfd; }
.gp-tournament-label.tier-2 { color: #60a5fa; }
.gp-tournament-label.tier-3 { color: #fb923c; }
.gp-tournament-label.tier-4 { color: #f97316; }
.gp-tournament-label.tier-5 { color: #f87171; }

/* ── Skeleton shimmer for loading surfaces ─────────────────────────── */

@keyframes skeleton-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-line {
    height: 0.85em;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.10) 40%,
        rgba(255, 255, 255, 0.04) 80%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

.skeleton-line--wide  { width: 80%; }
.skeleton-line--med   { width: 55%; }
.skeleton-line--short { width: 35%; }
.skeleton-line--score { width: 2.4ch; height: 1.2em; display: inline-block; vertical-align: middle; }

.skeleton-block {
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.07) 40%,
        rgba(255, 255, 255, 0.03) 80%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

.skeleton-card {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.025) 0%,
        rgba(255, 255, 255, 0.06) 40%,
        rgba(255, 255, 255, 0.025) 80%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-card .skeleton-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skeleton-card .skeleton-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.surface-loading-state {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
}

.surface-loading-kicker {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.surface-loading-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.surface-error-state {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 80, 80, 0.12);
    background: rgba(255, 80, 80, 0.04);
    box-sizing: border-box;
}

.surface-error-title {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 700;
}

.surface-error-copy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.84rem;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-line,
    .skeleton-block,
    .skeleton-card {
        animation: none;
    }
}
