        /* CSS Reset */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            /* Fonts — basketball court theme.
               base.html's inline :root (loaded after this file) is authoritative;
               these mirror it so this file is self-consistent in isolation. */
            --font-display: 'Anton', 'Barlow Condensed', 'Impact', 'Arial Narrow', sans-serif;
            --font-mono: 'Geist Mono', 'SF Mono', 'Monaco', 'Courier New', monospace;
            --font-body: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

            /* Colors — primary (violet on near-black) */
            --primary: #8B5CF6;
            --primary-hover: #7C4DEF;
            --primary-glow: rgba(139,92,246,0.16);

            /* Brand dark */
            --navy: #0B0B0F;

            /* Colors — accents */
            --accent-purple: #E11D74;
            --magenta: #E11D74;
            --accent-gold: #e0a52a;
            --accent-gold-light: #e7b94e;

            /* State */
            --green: #3fa45f;
            --green-bright: #4fd07f;
            --red: #e2483d;
            --amber: #e0a52a;

            /* Surfaces */
            --bg-dark: #0B0B0F;
            --bg-darker: #08080B;
            --card-bg: #141117;
            --card-bg-elevated: #1A1620;
            --card-border: rgba(255,255,255,0.08);
            --card-border-hover: rgba(255,255,255,.14);
            --border: rgba(255,255,255,0.08);
            --shadow-soft: 0 8px 24px rgba(0,0,0,.4);
            --violet-tint: rgba(139,92,246,.10);

            /* Text */
            --text-white: #FFFFFF;
            --text-gray: #9A9AA5;
            --text-muted: #555555;

            /* Predictions — branded (2-way: favored violet, remainder muted track) */
            --pred-home: #8B5CF6;
            --pred-draw: #e0a52a;
            --pred-away: #3F3F46;

            /* Spacing */
            --space-1: 4px;
            --space-2: 8px;
            --space-3: 12px;
            --space-4: 16px;
            --space-6: 24px;
            --space-8: 32px;
            --space-5: 20px;
            --space-7: 28px;
            --space-9: 40px;
            --space-10: 44px;
            --space-12: 48px;
            --space-16: 64px;

            /* Radius */
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-dark);
            background-image:
                radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(225, 29, 116, 0.06) 0%, transparent 40%),
                linear-gradient(rgba(11, 11, 15, 0.92), rgba(8, 8, 11, 0.92)),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            color: var(--text-white);
            min-height: 100vh;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Glassmorphism utility */
        .glass-card {
            background: rgba(255,255,255,0.04);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.09);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
        }

        a { color: var(--primary); text-decoration: none; transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
        a:hover { color: var(--text-white); }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        /* Header */
        .header {
            background: rgba(8, 8, 11, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            padding: 10px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: none;
            transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
        }
        .header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--card-border); opacity: 1; }
        .header-scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); background: rgba(8, 8, 11, 0.95); border-bottom: 1px solid rgba(139, 92, 246, 0.3); }
        .header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 15px; }
        .logo {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-white);
            display: flex;
            align-items: center;
            gap: 10px;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            flex-shrink: 0;
            white-space: nowrap;
        }
        .logo-icon { width: auto; height: 40px; flex-shrink: 0; max-width: none; }
        .nav { display: flex; gap: var(--space-1); flex-wrap: wrap; }
        .nav a {
            color: var(--text-gray);
            padding: 10px 22px;
            border-radius: var(--radius-md);
            font-size: 0.9rem;
            font-weight: 600;
            position: relative;
        }
        .nav a::after { content: ''; position: absolute; bottom: 0; left: 20%; width: 60%; height: 2px; background: var(--primary); border-radius: 1px; transform: scaleX(0); transform-origin: center; transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
        .nav a:hover::after { transform: scaleX(1); }
        .nav a:hover { color: var(--text-white); background: rgba(255,255,255,0.06); }
        .nav a.active, .nav a[aria-current="page"] { color: var(--text-white); font-weight: 700; }
        .nav a.active::after, .nav a[aria-current="page"]::after { width: 80%; left: 10%; transform: scaleX(1); }

        /* Tablet band: tighten nav so the web header stays one row beside the logo */
        @media (min-width: 769px) and (max-width: 1040px) {
            .nav { gap: 1px; }
            .nav a { padding: 8px 11px; font-size: 0.8rem; }
            .header .container { gap: 10px; }
        }

        /* Mobile bottom-tabs (app pattern) — hidden on desktop/tablet, shown <768px */
        .bottom-tabs { display: none; }
        .bottom-tabs .bt-tab {
            flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 4px; padding: 8px 4px; text-decoration: none; color: var(--text-gray);
            font-family: var(--font-body); font-size: 0.69rem; font-weight: 500; letter-spacing: 0.01em;
            -webkit-tap-highlight-color: transparent; transition: color 0.18s ease;
        }
        .bottom-tabs .bt-icon { width: 22px; height: 22px; stroke-width: 2; }
        .bottom-tabs .bt-tab.active { color: var(--primary); font-weight: 700; }
        .bottom-tabs .bt-tab:active { color: var(--primary); }

        /* Hero */
        .hero {
            position: relative;
            padding: 40px 0 30px;
            text-align: center;
        }
        .hero-container {
            position: relative;
            max-width: 1100px;
            margin: 0 auto;
            min-height: 220px;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0,0,0,0.4);
        }
        .hero-banner { width: 100%; height: auto; display: block; filter: brightness(0.8); }

        .hero-content-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
            padding: 40px;
            z-index: 2;
        }

        .hero h1 {
            font-family: var(--font-display);
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 10px;
            line-height: 1.1;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
            overflow-wrap: break-word;
            word-break: break-word;
        }
        .hero h1 img { width: clamp(24px, 5vw, 40px); height: clamp(24px, 5vw, 40px); vertical-align: middle; }
        .hero p {
            color: var(--text-white);
            font-size: clamp(1rem, 2vw, 1.25rem);
            max-width: 700px;
            margin: 0 auto 30px;
            opacity: 0.95;
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
        }
        /* ── Home hero: tour/surface chip row + data-forward stat strip ── */
        .hero-home .hero-content { display: flex; flex-direction: column; align-items: center; }
        .hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
        .hero-chip { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 13px; border-radius: 999px; border: 1px solid var(--card-border); color: var(--text-gray); background: rgba(255,255,255,0.03); transition: border-color 0.2s, color 0.2s; }
        .hero-chip:hover { color: var(--text-white); border-color: var(--green-bright); }
        .hero-chip--tour { color: var(--text-white); border-color: rgba(255, 255, 255,0.32); }
        .hero-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 6vw, 56px); margin: 22px auto 26px; }
        .hero-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
        .hero-stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1; color: var(--green-bright); font-variant-numeric: tabular-nums; text-shadow: 0 2px 8px rgba(0,0,0,0.35); }
        .hero-stat-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-gray); }

        /* ── Split hero (navy+orange redesign) ───────────────────────────── */
        .hero-home .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) 400px; gap: clamp(32px, 5vw, 56px); align-items: center; max-width: 1180px; margin: 0 auto; }
        .hero-home .hero-content { text-align: left; align-items: flex-start; background: none; border: none; box-shadow: none; padding: var(--space-8) 0; max-width: none; }
        .hero-home .hero-content::before, .hero-home .hero-content::after { display: none; }
        .hero-home .hero-content h1 { text-align: left; }
        .hero-home .hero-content > p { margin-left: 0; margin-right: 0; }
        .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); background: var(--primary-glow); border: 1px solid rgba(139, 92, 246, 0.25); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
        .hero-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
        .hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 6px 0 4px; }
        .btn-hero-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius-md); border: 1.5px solid var(--card-border); color: var(--text-white); font-weight: 600; font-size: 0.95rem; transition: border-color 0.2s, color 0.2s; }
        .btn-hero-ghost:hover { border-color: var(--card-border-hover); color: var(--text-white); }
        .hero-home .hero-stats { justify-content: flex-start; margin: 26px 0 0; gap: clamp(24px, 4vw, 40px); border-top: 1px solid var(--card-border); padding-top: 22px; }
        .hero-home .hero-stat { align-items: flex-start; }
        .hero-home .hero-stat + .hero-stat { border-left: 1px solid var(--card-border); padding-left: clamp(24px, 4vw, 40px); }
        .hero-home .hero-stat-num { color: var(--text-white); text-shadow: none; }
        .hero-featured { width: 100%; }
        /* Featured card — quiet stat card language (mirrors .pg-predictions-card): mono eyebrow,
           team rows with winner emphasis, hairline prob bar, hairline tip. No glow/pill/spine. */
        .prediction-card--featured { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
        @media (hover: hover) { .prediction-card--featured:hover { border-color: var(--card-border-hover); background: var(--card-bg); } }
        @media (hover: none) { .prediction-card--featured:active { border-color: var(--card-border-hover); } }
        .hero-featured-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
        .hero-featured-league { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-gray); }
        .hero-featured-time { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-gray); white-space: nowrap; flex-shrink: 0; }
        .hero-featured-teams { display: flex; flex-direction: column; gap: 10px; }
        .hero-featured-team { display: flex; align-items: center; gap: 12px; }
        .hero-featured-crest { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--card-bg-elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 0.8rem; color: var(--text-white); overflow: hidden; }
        .hero-featured-crest img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
        .hero-featured-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
        .hero-featured-pct { font-family: var(--font-mono); font-size: 0.92rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }
        .hero-featured-team--home .hero-featured-name { font-weight: 600; color: var(--text-white); }
        .hero-featured-team--away .hero-featured-name { font-weight: 500; color: var(--text-gray); }
        .hero-featured-pct--home { font-weight: 700; color: var(--primary); }
        .hero-featured-pct--away { font-weight: 500; color: var(--text-gray); }
        .prediction-card--featured .prediction-bar { height: 4px; margin-bottom: 0; gap: 0; border-radius: 2px; background: rgba(255,255,255,0.06); box-shadow: none; }
        .prediction-card--featured .prediction-bar .bar-segment { font-size: 0; padding: 0; text-shadow: none; border-radius: 0; }
        .prediction-card--featured .prediction-bar .bar-segment.bar-home { background: var(--primary); }
        .prediction-card--featured .prediction-bar .bar-segment.bar-away { background: transparent; }
        .hero-featured-tip { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; font-weight: 500; line-height: 1.4; color: var(--text-gray); border-top: 1px solid var(--card-border); padding: 12px 0 0; }
        .hero-featured-tip-label { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gray); }
        .hero-featured-tip-text { min-width: 0; }
        @media (max-width: 960px) {
            .hero-home .hero-grid { grid-template-columns: 1fr; gap: 28px; }
            .hero-home .hero-content { text-align: center; align-items: center; padding-bottom: 0; }
            .hero-home .hero-content h1 { text-align: center; }
            .hero-home .hero-stats { justify-content: center; }
            .hero-home .hero-stat { align-items: center; }
            .hero-cta-row { justify-content: center; }
            .hero-featured { max-width: 440px; margin: 0 auto; }
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: var(--primary);
            color: #fff !important;
            padding: 18px 45px;
            border-radius: var(--radius-md);
            font-weight: 800;
            font-size: 1.2rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: background 0.2s;
        }
        .cta-button:hover {
            background: var(--primary-hover);
        }

        /* Share buttons — quiet hairline chips (foundation badge language) */
        .share-buttons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 20px 0; }
        .share-buttons-label { color: var(--text-gray); font-size: 0.8rem; font-weight: 600; }
        .share-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--card-border); background: none; color: var(--text-gray); font-size: 0.75rem; font-weight: 600; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
        .share-btn:hover { border-color: var(--card-border-hover); color: var(--text-white); }


        /* Info Table */
        .info-table-wrapper {
            margin: -30px auto 40px;
            position: relative;
            z-index: 5;
            background: rgba(255,255,255,0.04);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            padding: 20px;
            max-width: 900px;
        }
        .info-table {
            width: 100%;
            border-collapse: collapse;
        }
        .info-table tr { display: inline-block; margin: 10px 20px; }
        .info-table td { display: block; text-align: center; }
        .info-table td:first-child { font-size: 0.75rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
        .info-table td:last-child { font-weight: 800; color: var(--text-white); font-size: 1.1rem; }

        /* Sections */
        .section { padding: var(--space-12) 0; }
        .section + .section { border-top: none; position: relative; margin-top: var(--space-4); }
        .section + .section::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10) 30%, rgba(255,255,255,0.10) 70%, transparent); }
        .section-title {
            font-family: var(--font-display);
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-white);
            margin-bottom: var(--space-6);
            text-align: center;
            text-transform: none;
            position: relative;
            padding-bottom: var(--space-4);
        }
        .section-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), rgba(139, 92, 246,0.3));
            border-radius: 2px;
        }

        /* Casino Card */
        .card-list { display: flex; flex-direction: column; gap: 20px; }
        .card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-lg);
            padding: var(--space-6);
            display: flex;
            align-items: center;
            gap: var(--space-6);
            flex-wrap: wrap;
            transition: background 0.2s, border-color 0.2s;
        }
        .card:hover {
            background: var(--card-bg-elevated);
            border-color: var(--card-border-hover);
        }
        .card-rank {
            font-family: var(--font-display);
            font-size: 1.6rem;
            font-weight: 700;
            color: #fff;
            width: 52px;
            height: 52px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .card-info { flex: 1; min-width: 0; }
        .card-name { font-size: 1.4rem; font-weight: 800; color: var(--text-white); margin-bottom: 5px; }
        .card-desc { color: var(--text-gray); font-size: 0.95rem; }
        .card-rating {
            background: linear-gradient(135deg, var(--accent-gold), #e8941a);
            color: #000;
            font-weight: 700;
            padding: 12px 20px;
            border-radius: 14px;
            font-size: 1.3rem;
            font-family: var(--font-display);
            min-width: 70px;
            text-align: center;
        }
        .card-cta {
            background: var(--primary);
            color: #fff !important;
            padding: 15px 30px;
            border-radius: var(--radius-md);
            font-weight: 800;
            font-size: 1rem;
            text-transform: uppercase;
        }

        /* Bonus Card */
        .promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
        .promo-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-lg);
            padding: var(--space-6);
            position: relative;
            overflow: hidden;
        }
        .promo-card::before {
            content: "";
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 4px;
            background: var(--primary);
        }
        .promo-name { font-size: 1.2rem; font-weight: 700; color: var(--text-white); margin-bottom: 15px; }
        .promo-amount { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
        .promo-code {
            display: block;
            background: rgba(139, 92, 246, 0.1);
            border: 1px dashed var(--primary);
            color: var(--primary);
            padding: 10px;
            text-align: center;
            border-radius: 12px;
            font-weight: 700;
            margin: 15px 0;
        }

        /* FAQ */
        .faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-sm); margin-bottom: 15px; overflow: hidden; }
        .faq-item summary { padding: var(--space-4) var(--space-6); font-weight: 700; color: var(--text-white); display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary::after { content: '+'; color: var(--primary); font-weight: 900; font-size: 1.4rem; min-width: 24px; text-align: center; transition: transform 0.3s; }
        .faq-item[open] summary::after { content: ''; transform: rotate(45deg); }
        .faq-answer { padding: 0 var(--space-6) var(--space-4); color: var(--text-gray); max-width: 720px; }

        /* Footer */
        .footer { margin-top: var(--space-16); padding: var(--space-12) 0 var(--space-8); background: var(--bg-darker); text-align: center; border-top: none; position: relative; }
        .footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--card-border); }
        .badge-18 {
            display: inline-block;
            border: 2px solid var(--primary);
            color: var(--primary);
            font-weight: 900;
            width: 45px; height: 45px;
            line-height: 41px;
            border-radius: 50%;
            margin-bottom: 25px;
        }
        .footer p { color: var(--text-gray); font-size: 0.85rem; max-width: 800px; margin: 0 auto 15px; }
        .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid var(--card-border); text-align: left; }
        .footer-brand p { color: var(--text-gray); font-size: 0.82rem; line-height: 1.6; margin-top: var(--space-3); }
        .footer-logo { font-size: 1.2rem; font-weight: 700; color: var(--text-white); display: flex; align-items: center; gap: var(--space-2); }
        .footer-logo span { color: var(--primary); }
        .footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-gray); margin-bottom: var(--space-4); }
        .footer-col ul { list-style: none; padding: 0; margin: 0; }
        .footer-col li + li { margin-top: var(--space-2); }
        .footer-col a { color: var(--text-gray); font-size: 0.85rem; }
        .footer-col a:hover { color: var(--text-white); filter: none; }
        .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }
        .footer-copyright { font-size: 0.75rem; color: var(--text-muted); margin: 0; }
        .footer a { color: var(--text-gray); }
        .footer a:hover { color: var(--text-white); filter: none; }

        /* Screen-reader only */
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

        /* Skip Link */
        .skip-link {
            position: absolute;
            top: -100%;
            left: 0;
            padding: 10px 20px;
            background: var(--primary);
            color: #fff !important;
            z-index: 9999;
            font-weight: 700;
        }
        .skip-link:focus { top: 0; }

        /* Focus styles */
        a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
        }

        /* Casino CTA hover */
        .card-cta:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            color: #fff !important;
        }
        .card-cta:active { transform: scale(0.97) translateY(0); }

        /* Author Box */
        .author-box {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 25px;
            margin: 20px 0;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
        }
        .author-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        /* Content Body */
        .content-body {
            max-width: 850px;
            margin: 30px auto;
            color: var(--text-gray);
            font-size: 1.05rem;
            line-height: 1.8;
            text-align: left;
            overflow-wrap: break-word;
        }
        .content-body img, .content-body iframe, .content-body table { max-width: 100%; height: auto; }
        .content-body p { margin-bottom: 1.2em; }
        .content-body h2 { color: var(--text-white); margin: 1.5em 0 0.75em; font-size: 1.6rem; font-weight: 800; }
        .content-body h3 { color: var(--text-white); margin: 1.2em 0 0.5em; font-size: 1.3rem; font-weight: 700; }
        .content-body ul, .content-body ol { margin: 1em 0 1.5em 1.5em; color: var(--text-gray); }
        .content-body li { margin-bottom: 0.5em; }
        .content-body li::marker { color: var(--primary); }
        .content-body a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(139, 92, 246,0.4); text-underline-offset: 2px; }
        .content-body a:hover { text-decoration-color: var(--primary); }
        .content-body strong, .content-body b { color: var(--text-white); font-weight: 700; }
        .content-body h2 { padding-bottom: 0.3em; border-bottom: 1px solid var(--card-border); }
        .content-body blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 3px solid var(--primary); background: var(--card-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-gray); font-style: italic; }
        .content-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.95rem; }
        .content-body th, .content-body td { padding: 10px 14px; border: 1px solid var(--card-border); text-align: left; }
        .content-body th { background: rgba(255,255,255,0.03); color: var(--text-white); font-weight: 700; }
        .content-body code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.9em; color: var(--accent-gold-light); }
        .content-body hr { border: none; border-top: 1px solid var(--card-border); margin: 2em 0; }

        /* Bonus Wagering */
        .bonus-wagering { color: var(--text-gray); font-size: 0.9rem; margin-top: 5px; }

        /* Breadcrumbs */
        .breadcrumbs {
            padding: 15px 0;
            font-size: 0.85rem;
            color: var(--text-gray);
        }
        .breadcrumbs a { color: var(--text-gray); }
        .breadcrumbs a:hover { color: var(--primary); }
        .breadcrumbs span { margin: 0 8px; opacity: 0.5; }

        /* Hamburger */
        .hamburger {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 12px;
            min-width: 44px;
            min-height: 44px;
            flex-direction: column;
            gap: 5px;
            justify-content: center;
            align-items: center;
        }
        .hamburger:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }
        .hamburger span {
            display: block;
            width: 24px;
            height: 2.5px;
            background: var(--text-white);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.2s ease;
            transform-origin: center;
        }
        .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
        .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

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

        /* Responsive */
        @media (max-width: 768px) {
            body:has(.nav.open) { overflow: hidden; }
            .header .container { flex-wrap: wrap; }
            .hamburger { display: flex; }
            .nav { display: none; }
            /* bottom-tabs visible only on phones */
            .bottom-tabs {
                display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
                background: var(--navy); border-top: 1px solid var(--card-border);
                padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
                box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
            }
            body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
            body:has(.nav.open) .bottom-tabs { display: none; }
            .nav.open {
                display: flex; flex-direction: column; position: fixed; inset: 0; top: 0; left: 0;
                width: 100vw; height: 100vh; height: 100dvh;
                background: rgba(8, 8, 11, 0.98); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
                z-index: 9999; padding: 80px 24px 40px; gap: 0;
                align-items: center; justify-content: center; overflow-y: auto;
            }
            .nav.open a {
                width: 100%; max-width: 320px; text-align: center;
                font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
                padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
                color: var(--text-white);
            }
            .nav.open a:last-child { border-bottom: none; }
            .nav.open a:hover, .nav.open a:active { color: var(--primary); }
            .hamburger[aria-expanded="true"] { position: fixed; top: 16px; right: 16px; z-index: 10000; }
            .hero { padding: 15px 0 20px; }
            .hero-container { border-radius: 0; min-height: 350px; }
            .hero-banner { border-radius: 0; filter: brightness(0.6); height: 100%; object-fit: cover; position: absolute; inset: 0; }
            .hero-content-overlay { position: relative; background: none; padding: 25px 20px; justify-content: flex-end; min-height: 350px; }
            .hero h1 { font-size: 1.8rem; }
            .hero p { font-size: 0.95rem; }
            .cta-button { padding: 14px 35px; font-size: 1rem; }
            .info-table tr { display: block; margin: 15px 0; border-bottom: 1px solid var(--card-border); padding-bottom: 10px; }
            .info-table tr:last-child { border-bottom: none; }
            .info-table-wrapper { margin-top: 20px; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--card-bg); }
            .card { flex-direction: column; text-align: center; padding: 20px 15px; }
            .card-cta { width: 100%; }
            .section { padding: var(--space-8) 0; }
            .section-title { font-size: 1.5rem; margin-bottom: var(--space-4); }
            .footer { margin-top: var(--space-12); padding: var(--space-8) var(--space-4); }
            .link-card { max-width: 100%; }
            .match-state .match-score { font-size: 1.4rem; gap: 12px; flex-direction: column; }
            .prediction-score { flex-direction: column; text-align: center; gap: 8px; }
            .sponsored-links { padding: 16px; }
            .sponsored-links li a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 16px; }
            .faq-item summary { padding: 16px 18px; }
            .faq-answer { padding: 0 18px 16px; }
            .footer-grid { grid-template-columns: 1fr; text-align: center; gap: var(--space-6); }
            .footer-bottom { flex-direction: column; text-align: center; }
            /* Basketball components: compact reflow on phones */
            .match-state .set-score { gap: 6px; font-size: 0.9rem; }
            .set-score .set-col { min-width: 18px; }
            .prediction-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
            .prediction-stats .stat-item { min-width: 0; }
            .surface-bar-label { width: 60px; font-size: 0.78rem; }
            .surface-bar-val { font-size: 0.78rem; }
            .model-card-pct { font-size: 2rem; }
            .player-stat { padding: 7px 12px; }
            .player-meta-line { font-size: 0.78rem; gap: 6px 10px; }
            .surface-win-v { font-size: 1.6rem; }
        }

        @media print {
            * { background: white !important; color: black !important; box-shadow: none !important; text-shadow: none !important; }
            body { font-size: 12pt; line-height: 1.5; }
            .header, .hamburger, .skip-link, footer, .nav, .bottom-tabs, .cta-button, .card-cta, .promo-cta { display: none !important; }
            a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
            a[rel*="sponsored"]::after { content: " [Sponsored: " attr(href) "]"; }
            img { max-width: 100% !important; }
            .card, .promo-card, .glass-card { break-inside: avoid; border: 1px solid #ccc; padding: 10px; margin-bottom: 10px; }
            .hero-container { padding: 20px 0; min-height: auto; }
            .content-body { max-width: 100%; }
            table { border-collapse: collapse; }
            th, td { border: 1px solid #ccc; padding: 6px; }
        }
        /* Prediction Section */
        .prediction-section { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: var(--space-6); margin: var(--space-12) 0; }
        .prediction-score { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-bottom: 20px; font-size: 1.2rem; flex-wrap: wrap; }
        .prediction-result { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--accent-gold-light); font-variant-numeric: tabular-nums; letter-spacing: 0.05em; padding: 4px 16px; border-radius: var(--radius-sm); background: rgba(224,165,42,0.10); border: 1px solid rgba(224,165,42,0.22); text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
        /* Flat hairline track — no inset neon, no glossy gradients (2-way: violet fill, muted track) */
        .prediction-bar { display: flex; height: 40px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 8px; gap: 2px; background: rgba(255,255,255,0.06); box-shadow: none; }
        .bar-segment:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
        .bar-segment:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
        .bar-segment { display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: #fff; min-width: 0; padding: 0 4px; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
        .bar-home { background: var(--pred-home); }
        .bar-draw { background: var(--pred-draw); color: #1a1a1a; text-shadow: none; }
        .bar-away { background: var(--pred-away); }
        .prediction-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-gray); margin-bottom: 15px; }
        .prediction-stats { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: 15px; }
        .stat-item { flex: 1; min-width: 120px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 14px 10px; text-align: center; transition: border-color 0.2s; }
        .stat-item:has(.confidence-high) { border-color: rgba(63,164,95,0.6); background: rgba(63,164,95,0.10); }
        .stat-item:has(.confidence-medium) { border-color: rgba(224,165,42,0.6); background: rgba(224,165,42,0.10); }
        .stat-item:has(.confidence-low) { border-color: rgba(226,72,61,0.6); background: rgba(226,72,61,0.10); }
        .stat-label { display: block; font-size: 0.75rem; color: var(--text-gray); margin-bottom: 4px; }
        .stat-value { font-weight: 800; font-size: 1.4rem; }
        .confidence-high { color: var(--green-bright); }
        .confidence-medium { color: var(--amber); }
        .confidence-low { color: var(--red); }
        .prediction-reasoning { margin-bottom: 15px; max-width: 720px; margin-left: auto; margin-right: auto; }
        .prediction-reasoning h3 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-gray); margin-bottom: 10px; }
        .prediction-tip { background: linear-gradient(135deg, rgba(139, 92, 246,0.14) 0%, rgba(139, 92, 246,0.05) 100%); border: 1px solid rgba(139, 92, 246,0.25); border-left: 4px solid var(--primary); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 16px 20px; font-size: 1rem; line-height: 1.6; box-shadow: 0 4px 16px rgba(0,0,0,0.3); margin-top: var(--space-4); max-width: 720px; margin-left: auto; margin-right: auto; }
        .risk-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; margin-left: 8px; }
        .risk-low { background: rgba(63,164,95,0.2); color: var(--green-bright); }
        .risk-medium { background: rgba(224,165,42,0.2); color: var(--amber); }
        .risk-high { background: rgba(226,72,61,0.2); color: var(--red); }

        /* Voting */
        .prediction-vote { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--card-border); flex-wrap: wrap; }
        .vote-label { font-size: 0.85rem; color: var(--text-gray); }
        .vote-btn { border: 1px solid var(--card-border); background: rgba(255,255,255,0.05); color: var(--text-white); padding: 10px 16px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: background 0.2s, border-color 0.2s, color 0.2s; min-height: 44px; display: inline-flex; align-items: center; }
        .vote-btn:disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }
        .vote-agree { border-color: rgba(63, 164, 95, 0.3); }
        .vote-agree::before { content: "\1F44D"; margin-right: 6px; font-size: 1em; }
        .vote-disagree { border-color: rgba(226, 72, 61, 0.3); }
        .vote-disagree::before { content: "\1F44E"; margin-right: 6px; font-size: 1em; }
        .vote-btn:hover { background: var(--card-bg-elevated); }
        .vote-agree:hover { background: rgba(63, 164, 95, 0.15); border-color: rgba(63, 164, 95, 0.5); color: var(--green-bright); }
        .vote-disagree:hover { background: rgba(226, 72, 61, 0.15); border-color: rgba(226, 72, 61, 0.5); color: var(--red); }
        .vote-btn:active:not(:disabled) { transform: scale(0.97); }
        .vote-agree.voted { background: rgba(63,164,95,0.2); border-color: var(--green); color: var(--green-bright); }
        .vote-disagree.voted { background: rgba(226,72,61,0.2); border-color: var(--red); color: var(--red); }
        .vote-btn .count { margin-left: 4px; opacity: 0.7; }

        /* Free-tier citation sources (E-E-A-T) */
        .prediction-sources { font-size: 0.8rem; color: var(--text-gray); max-width: 720px; margin: 0 auto 15px; }
        .prediction-sources a { color: var(--primary); text-decoration: none; }
        .prediction-sources a:hover { text-decoration: underline; }

        /* Premium full breakdown — teaser (static SSG markup) */
        .premium-breakdown { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: var(--space-6); }
        .premium-teaser { position: relative; overflow: hidden; border-radius: var(--radius-md); }
        .premium-teaser-preview { filter: blur(6px); user-select: none; pointer-events: none; min-height: 260px; padding: var(--space-4); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
        .pt-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)); }
        .pt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 6px 0; }
        .pt-grid span { height: 42px; border-radius: var(--radius-sm); background: rgba(139, 92, 246,0.18); border: 1px solid rgba(139, 92, 246,0.28); }
        .premium-teaser-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); padding: var(--space-4); background: linear-gradient(180deg, rgba(8, 8, 11,0.4), rgba(8, 8, 11,0.9)); }
        .premium-teaser-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; color: var(--text-white); text-align: left; }
        .premium-teaser-points li { padding-left: 24px; position: relative; }
        .premium-teaser-points li::before { content: "\2605"; position: absolute; left: 0; color: var(--accent-gold); }
        .premium-teaser-cta { display: inline-block; background: var(--primary); color: #fff; font-weight: 700; padding: 12px 28px; border-radius: var(--radius-sm); text-decoration: none; transition: background 0.2s, transform 0.2s; }
        .premium-teaser-cta:hover { background: var(--primary-hover); }

        /* Premium full breakdown — unlocked (JS-rendered via initPremiumAnalysis) */
        .premium-unlocked { display: flex; flex-direction: column; gap: var(--space-6); }
        .premium-unlocked h3 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-gray); margin-bottom: 10px; }
        .pa-probs { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: 10px; }
        .pa-prob { flex: 1; min-width: 100px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 10px; text-align: center; font-size: 0.8rem; color: var(--text-gray); }
        .pa-prob strong { display: block; font-size: 1.3rem; color: var(--text-white); }
        .pa-prob-home strong { color: var(--pred-home); }
        .pa-prob-draw strong { color: var(--pred-draw); }
        .pa-prob-away strong { color: var(--pred-away); }
        .pa-summary { line-height: 1.6; }
        .pa-debate { display: flex; flex-direction: column; gap: var(--space-3); }
        .pa-position { background: rgba(255,255,255,0.04); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: var(--space-4); }
        .pa-position-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
        .pa-model { font-weight: 700; }
        .pa-outcome { padding: 2px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; }
        .pa-outcome-home { background: rgba(139, 92, 246,0.18); color: var(--pred-home); }
        .pa-outcome-draw { background: rgba(224,165,42,0.18); color: var(--pred-draw); }
        .pa-outcome-away { background: rgba(63,164,95,0.18); color: var(--pred-away); }
        .pa-pcts { font-size: 0.8rem; color: var(--text-gray); margin-left: auto; font-variant-numeric: tabular-nums; }
        .pa-args { margin: 0 0 8px; padding-left: 20px; font-size: 0.9rem; line-height: 1.55; }
        .pa-counter { font-size: 0.85rem; color: var(--text-gray); border-left: 3px solid var(--primary); padding-left: 10px; line-height: 1.5; }
        .pa-markets { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--space-2); margin-bottom: 10px; }
        .pa-market { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 10px; text-align: center; }
        .pa-market-label { display: block; font-size: 0.72rem; color: var(--text-gray); margin-bottom: 4px; }
        .pa-market-value { font-weight: 800; font-size: 1.15rem; }
        .pa-news { line-height: 1.6; font-size: 0.92rem; }
        .pa-sources { margin-top: 8px; font-size: 0.8rem; color: var(--text-gray); }
        .pa-sources a { color: var(--primary); }

        /* User Poll */
        .user-poll-section { text-align: center; }
        .poll-buttons { display: flex; gap: 10px; justify-content: center; margin-bottom: 15px; }
        .poll-btn { border: 1px solid var(--card-border); background: rgba(255,255,255,0.05); color: var(--text-white); padding: 12px 24px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 0.95rem; transition: background 0.2s, border-color 0.2s, color 0.2s; min-width: 100px; min-height: 44px; }
        .poll-btn:disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }
        .poll-home:hover { background: rgba(139, 92, 246, 0.12); border-color: rgba(139, 92, 246, 0.5); }
        .poll-draw:hover { background: rgba(224, 165, 42, 0.12); border-color: rgba(224, 165, 42, 0.5); }
        .poll-away:hover { background: rgba(63, 164, 95, 0.12); border-color: rgba(63, 164, 95, 0.5); }
        .poll-btn:active { transform: scale(0.97); }
        .poll-voted { background: rgba(139, 92, 246,0.2) !important; border-color: var(--primary) !important; color: var(--primary) !important; }
        .poll-bar { display: flex; height: 28px; border-radius: 6px; overflow: hidden; margin-bottom: 8px; background: rgba(255,255,255,0.08); }
        .poll-segment { min-width: 0; }
        .poll-home-bar { background: var(--pred-home); }
        .poll-draw-bar { background: var(--pred-draw); }
        .poll-away-bar { background: var(--pred-away); }
        .poll-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-gray); }

        /* Match list */
        .match-list { display: flex; flex-direction: column; gap: var(--space-3); }
        .match-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: background 0.2s, border-color 0.2s; }
        .match-row:hover { background: var(--card-bg-elevated); }
        .match-date { font-size: 0.8rem; color: var(--text-gray); min-width: 110px; white-space: nowrap; }
        .match-players { flex: 1; min-width: 0; font-weight: 600; }
        .match-venue { font-size: 0.8rem; color: var(--text-gray); }
        .match-score { font-weight: 800; color: var(--primary); white-space: nowrap; }
        /* Round badge + basketball period scores on tournament fixture/result rows */
        .match-round-tag { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-gray); background: rgba(255,255,255,0.04); border: 1px solid var(--card-border); border-radius: 4px; padding: 3px 7px; min-width: 64px; text-align: center; flex-shrink: 0; }
        .match-row-sets { flex-shrink: 0; gap: 8px; font-size: 0.85rem; }
        .match-row-sets .set-col { min-width: 16px; }
        .match-players .winner { font-weight: 800; color: var(--text-white); }

        /* Predictions page */
        .tournament-group { margin-bottom: 10px; }
        .tournament-group-header a { color: inherit; text-decoration: none; }
        .tournament-group-header a:hover { text-decoration: underline; }
        .prediction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
        .prediction-card { display: block; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: var(--space-6); text-decoration: none; color: inherit; transition: border-color 0.2s; }
        @media (hover: hover) { .prediction-card:hover { border-color: var(--card-border-hover); } }
        @media (hover: none) { .prediction-card:active { border-color: var(--card-border-hover); } }
        .prediction-card-players { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; min-width: 0; }
        .prediction-card-players img { vertical-align: middle; }
        .prediction-card-players > *:first-child,
        .prediction-card-players > *:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
        .prediction-card-players > *:last-child { text-align: right; }
        .prediction-card-vs { color: var(--text-gray); font-weight: 400; font-size: 0.8rem; }
        .prediction-card-score { text-align: center; font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; color: var(--text-white); margin-bottom: 12px; font-variant-numeric: tabular-nums; letter-spacing: 0.05em; }
        .prediction-card .prediction-bar { height: 24px; margin-bottom: 4px; }
        .prediction-card .prediction-labels { margin-bottom: 10px; }
        .prediction-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: var(--text-gray); margin-bottom: 6px; }
        .confidence-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid rgba(139, 92, 246,0.3); background: rgba(139, 92, 246,0.12); color: var(--primary); }
        .confidence-badge.confidence-high { background: rgba(139, 92, 246,0.12); border-color: rgba(139, 92, 246,0.35); color: var(--primary); }
        .confidence-badge.confidence-medium { background: rgba(224,165,42,0.14); border-color: rgba(224,165,42,0.35); color: var(--amber); }
        .confidence-badge.confidence-low { background: rgba(255,255,255,0.05); border-color: rgba(147,168,146,0.3); color: var(--text-muted); }
        .prediction-card-tip { font-size: 0.8rem; color: var(--text-gray); line-height: 1.4; border-top: 1px solid var(--card-border); padding-top: 8px; margin-top: 4px; }

        /* Tournament grid */
        .tournament-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }
        .tournament-card { display: block; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: var(--space-6); text-align: center; text-decoration: none; color: inherit; transition: border-color 0.2s; }
        .tournament-card:hover { border-color: var(--primary); }
        .tournament-card h3 { margin: 8px 0 4px; }
        .tournament-card p { font-size: 0.85rem; color: var(--text-gray); margin: 0; }
        .tournament-logo { display: block; margin: 0 auto; background: var(--card-bg-elevated); border-radius: 8px; padding: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); object-fit: contain; }

        /* Auth nav */
        .auth-nav-link { background: transparent; border: 1.5px solid rgba(139, 92, 246, 0.6); padding: 8px 20px !important; border-radius: var(--radius-md) !important; color: var(--primary) !important; font-weight: 700; font-size: 0.8rem !important; transition: all 0.25s ease; margin-left: var(--space-2); }
        .auth-nav-link:hover { background: var(--primary) !important; color: #fff !important; border-color: var(--primary); }
        .auth-nav-link:active { transform: scale(0.97); }

        /* ── Match Status Badges ─────────────────────────── */
        .match-state {
            background: var(--card-bg-elevated);
            border: 1px solid var(--card-border);
            border-top: 3px solid var(--primary);
            border-radius: var(--radius-lg);
            padding: var(--space-6);
            margin: var(--space-12) 0;
            text-align: center;
        }
        .match-upcoming { border-color: rgba(139, 92, 246, 0.3); }
        .match-live { border-color: rgba(226, 72, 61, 0.45); }
        .match-past { border-color: rgba(255,255,255,0.08); }
        .match-status-badge {
            display: inline-block;
            padding: 6px 16px;
            border-radius: 50px;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            background: rgba(255,255,255,0.08);
            color: var(--text-gray);
            margin-bottom: 12px;
        }
        .match-status-badge.live {
            background: rgba(139, 92, 246, 0.2);
            color: var(--primary);
            border: 1px solid rgba(139, 92, 246, 0.4);
        }
        .match-status-badge.finished {
            background: rgba(63, 164, 95, 0.16);
            color: var(--green-bright);
        }
        .match-state .match-score {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 800;
            color: var(--accent-gold-light);
            white-space: normal;
            margin: 12px 0;
            font-variant-numeric: tabular-nums;
        }
        .match-datetime { font-size: 0.9rem; color: var(--text-gray); margin: 8px 0; }
        .match-round { font-size: 0.85rem; color: var(--text-gray); opacity: 0.8; }
        .match-state .content-body { text-align: left; margin: 16px auto; line-height: 1.6; max-width: 720px; }
        .match-state .section-title { padding-bottom: 0; margin-bottom: var(--space-4); }
        .match-state .section-title::after { display: none; }
        .match-score span img { width: 28px; height: 28px; object-fit: contain; vertical-align: middle; margin: 0 6px; }

        /* Prediction player names */
        .prediction-player { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
        .prediction-player img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }

        /* Hero content for pages without hero image */
        .hero-content {
            padding: var(--space-16) var(--space-8) var(--space-12);
            text-align: center;
            background: var(--card-bg);
            border-radius: var(--radius-lg);
            border: 1px solid var(--card-border);
            max-width: 1100px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }
        .hero-content::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--card-border); }
        .hero-content::after { display: none; }
        .hero-content > * { position: relative; z-index: 1; }
        .hero-sub {
            color: var(--text-gray);
            max-width: 700px;
            margin: 10px auto 0;
            line-height: 1.7;
            font-size: 0.95rem;
        }
        .hero .match-round,
        .hero .match-venue {
            color: var(--text-gray);
            font-size: 0.9rem;
            text-shadow: none;
            margin-top: 6px;
        }

        /* ── Ad Slots ────────────────────────────────────── */
        .ad-slot {
            position: relative;
            margin: 24px 0;
            text-align: center;
            overflow: hidden;
            border-radius: 12px;
        }
        .ad-slot::before {
            content: "Advertisement";
            display: block;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            margin-bottom: 6px;
        }
        .ad-slot img, .ad-slot iframe, .ad-slot video { max-width: 100%; height: auto; }
        .ad-header {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.07);
            padding: 16px;
        }
        .ad-inline {
            padding: 12px 0;
            border-top: 1px solid rgba(255,255,255,0.06);
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

        /* ── Promo Cards ─────────────────────────────────── */
        .promo-section { padding: 20px 0; }
        .promo-card {
            background: rgba(139, 92, 246, 0.06);
            border: 1px solid rgba(139, 92, 246, 0.2);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 16px;
            overflow: hidden;
            overflow-wrap: break-word;
        }
        .promo-card img, .promo-card iframe, .promo-card video { max-width: 100%; height: auto; }

        /* ── Sponsored Links ─────────────────────────────── */
        .sponsored-links, .related-links {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 20px 24px;
            margin: 24px 0;
        }
        .related-links .section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 12px; }
        .sponsored-links h3 {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-muted);
            margin-bottom: 12px;
        }
        .sponsored-links ul, .related-links ul {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        .sponsored-links li a, .related-links li a {
            display: inline-block;
            padding: 7px 14px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 8px;
            color: var(--text-gray);
            font-size: 0.85rem;
            font-weight: 600;
        }
        .sponsored-links li a:hover, .related-links li a:hover {
            border-color: var(--card-border-hover);
            color: var(--text-white);
        }

        /* ── Data Table (shared casino/bonus) ────────────── */
        .data-table-wrap {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin-bottom: 40px;
            border-radius: 20px;
            border: 1px solid var(--card-border);
            background: var(--card-bg);
        }
        .data-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
        }
        .data-table thead { background: rgba(255,255,255,0.04); }
        .data-table th {
            padding: 16px 20px;
            text-align: left;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-gray);
            font-weight: 700;
            border-bottom: 1px solid var(--card-border);
        }
        .data-table td {
            padding: 16px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            vertical-align: middle;
            font-size: 0.95rem;
        }
        .data-table tbody tr:last-child td { border-bottom: none; }
        .data-table tbody tr:hover { background: rgba(139, 92, 246, 0.05); }
        .data-table .table-name { font-weight: 700; color: var(--text-white); }
        .data-table .table-highlight { font-weight: 900; color: var(--primary); font-size: 1.1rem; }
        .data-table .table-highlight span { font-size: 0.7em; font-weight: 600; opacity: 0.6; color: var(--text-gray); }
        .data-table .table-code {
            font-family: var(--font-mono);
            padding: 4px 12px;
            background: rgba(139, 92, 246, 0.12);
            border: 1px dashed var(--primary);
            border-radius: 8px;
            color: var(--primary);
            font-weight: 700;
            font-size: 0.85rem;
            display: inline-block;
        }
        .data-table .table-cta {
            display: inline-block;
            padding: 10px 24px;
            background: transparent;
            color: var(--primary);
            border: 1.5px solid var(--primary);
            border-radius: var(--radius-sm);
            font-weight: 800;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            transition: background 0.2s, color 0.2s, transform 0.2s;
            white-space: nowrap;
        }
        .data-table .table-cta:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }
        .data-table .table-cta:active { transform: scale(0.97); }
        .data-table .table-muted { color: var(--text-gray); font-size: 0.85rem; }

        /* Rankings table (tournament page) */
        .rankings-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
        .rankings-table th.center, .rankings-table td.center { text-align: center; }
        .rankings-table .rank-pos { font-family: var(--font-display); font-weight: 800; color: var(--text-gray); font-variant-numeric: tabular-nums; }
        .rankings-table tbody tr:nth-child(-n+3) .rank-pos { color: var(--primary); font-size: 1.2rem; }
        .rankings-table .rank-pts { font-weight: 800; color: var(--accent-gold); font-variant-numeric: tabular-nums; }
        .rankings-table .rank-wl { color: var(--text-gray); font-variant-numeric: tabular-nums; }
        .rankings-table .rank-move-up { color: var(--green-bright); font-weight: 700; }
        .rankings-table .rank-move-down { color: var(--red); font-weight: 700; }
        .rankings-table .rank-move-flat { color: var(--text-muted); }
        .rankings-table .rank-player { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-white); font-weight: 700; }
        .rankings-table .rank-player:hover { color: var(--primary); }
        .rankings-table .rank-player img { width: 24px; height: 24px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,0.06); }

        /* ── Link Card (shared for "more items" grids) ──── */
        .link-card {
            flex: 1;
            min-width: 220px;
            max-width: 33%;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            padding: 24px;
            text-decoration: none;
            color: var(--text-white);
            transition: transform 0.2s, border-color 0.2s;
        }
        @media (hover: hover) {
            .link-card:hover {
                transform: translateY(-4px);
                border-color: rgba(139, 92, 246, 0.4);
                filter: none;
                color: var(--text-white);
            }
        }
        .link-card-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
        .link-card-sub { color: var(--text-gray); font-size: 0.85rem; }
        .link-card-accent { color: var(--accent-gold); font-weight: 600; }

        /* ── Casino Logo ─────────────────────────────────── */
        .casino-logo { object-fit: contain; display: block; border-radius: 8px; }

        /* ── Scroll Reveal ─────────────────────────────── */
        .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .reveal.visible { opacity: 1; transform: translateY(0); }

        /* ── Hero Entry Animation ──────────────────────── */
        .hero-content { animation: hero-enter 0.6s ease both; }
        @keyframes hero-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

        /* ── Featured Prediction Card ──────────────────── */
        .prediction-grid > .prediction-card:first-child { grid-column: 1 / -1; background: var(--card-bg); border: 1px solid var(--card-border); padding: var(--space-8); position: relative; }
        .prediction-grid > .prediction-card:first-child::before { content: 'FEATURED'; position: absolute; top: var(--space-3); right: var(--space-4); font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-gold); background: none; padding: 0; border-radius: 0; }
        .prediction-grid > .prediction-card:first-child .prediction-card-score { font-size: 2.4rem; }

        /* Confidence is now read from the mono confidence-text in the card
           header; the old colored side-border tier is dropped (it read as a
           decorative side-stripe and duplicated the text). Low confidence
           keeps a subtle opacity de-emphasis only. */
        .prediction-card:has(.confidence-low) { opacity: 0.9; }

        /* ── Prediction Labels Color-Coded ─────────────── */
        .prediction-labels span:first-child { color: var(--pred-home); }
        .prediction-labels span:nth-child(2) { color: var(--pred-draw); }
        .prediction-labels span:last-child { color: var(--pred-away); }

        /* ── Content Body Display Font on Headings ──────── */
        .content-body h2 { font-family: var(--font-display); }
        .content-body h3 { font-family: var(--font-display); }
        .stat-value { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

        /* ── Countdown Timer ───────────────────────────── */
        .countdown { display: flex; gap: var(--space-2); justify-content: center; margin: var(--space-3) 0; }
        .countdown-unit { background: rgba(255,255,255,0.05); border: 1px solid rgba(63,164,95,0.28); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); text-align: center; min-width: 56px; }
        .countdown-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--green-bright); font-variant-numeric: tabular-nums; }
        .countdown-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-gray); }
        /* Prevent flash: above-fold sections stay visible immediately */
        .hero + .match-state.reveal, .hero + .match-state + .section.reveal { opacity: 1; transform: none; }

        /* ── Footer Disclaimer ─────────────────────────── */
        .footer-disclaimer { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: var(--space-6); padding: var(--space-4) var(--space-6); background: rgba(220, 38, 38, 0.12); border: 1px solid rgba(220, 38, 38, 0.3); border-radius: var(--radius-sm); max-width: 700px; margin-left: auto; margin-right: auto; }
        .footer-disclaimer .badge-18 { flex-shrink: 0; width: 40px; height: 40px; line-height: 40px; text-align: center; font-weight: 800; font-size: 1rem; color: #fff; background: rgba(220, 38, 38, 0.8); border-radius: 50%; border: none; margin-bottom: 0; }
        .footer-disclaimer p { margin: 0; text-align: left; font-size: 0.8rem; }

        /* ── Match Header Versus ───────────────────────── */
        .match-header-versus { display: flex; align-items: center; justify-content: center; gap: var(--space-8); margin-bottom: var(--space-4); }
        .versus-player { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; flex: 1; max-width: 200px; }
        .versus-player img, .versus-avatar { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0,0.45)); background: #f5f7fa; border-radius: 50%; padding: 6px; }
        /* Initials avatar fallback when a player has no photo: surface-tinted ring. */
        .versus-avatar--initials { display: flex; align-items: center; justify-content: center; padding: 0; background: radial-gradient(circle at 50% 32%, var(--card-bg-elevated), var(--bg-darker)); font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--text-white); letter-spacing: 0.02em; filter: none; box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 0 0 2px var(--green-bright); }
        .versus-avatar--initials.surface-ring-clay   { box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 0 0 2px var(--primary); }
        .versus-avatar--initials.surface-ring-grass  { box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 0 0 2px var(--green-bright); }
        .versus-avatar--initials.surface-ring-hard   { box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 0 0 2px #4a8fd0; }
        .versus-avatar--initials.surface-ring-carpet { box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 0 0 2px #9b7fd0; }
        .versus-player-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; text-align: center; text-transform: uppercase; line-height: 1.2; overflow-wrap: break-word; color: var(--text-white); }
        .versus-player:hover .versus-player-name { color: var(--green-bright); }
        .versus-player-rank { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: var(--green-bright); background: rgba(63,164,95,0.12); border: 1px solid rgba(63,164,95,0.25); border-radius: 999px; padding: 1px 9px; margin-top: -2px; }
        .versus-divider { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--text-muted); opacity: 1; letter-spacing: 2px; flex-shrink: 0; }
        /* H2H table: winner name + compact set scores */
        .h2h-winner { font-weight: 700; color: var(--green-bright); white-space: nowrap; }
        .h2h-table .set-score, table.h2h-table .set-score { gap: 7px; font-size: 0.82rem; }
        .h2h-table .set-score .set-col { min-width: 15px; }

        /* ── CTA Hero Button (cleaned) ─────────────────── */
        .btn-hero-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff !important; padding: 14px 36px; border-radius: var(--radius-md); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; margin: 20px 0 10px; transition: background 0.2s; }
        .btn-hero-cta::after { content: " \2192"; font-size: 1.2em; transition: transform 0.25s ease; }
        .btn-hero-cta:hover { background: var(--primary-hover); color: #fff !important; }
        .btn-hero-cta:hover::after { transform: translateX(4px); }
        .btn-hero-cta:active { transform: scale(0.97) translateY(0); }

        /* ── Match Row Link Hover ──────────────────────── */
        .match-row { position: relative; transition: background 0.2s, border-color 0.2s; }
        .match-row:hover { background: var(--card-bg-elevated); border-color: var(--card-border-hover); }
        .btn-outline { display:inline-block; padding:10px 24px; border:1.5px solid var(--primary); border-radius:var(--radius-md); color:var(--primary); font-weight:700; background:transparent; cursor:pointer; transition:all 0.2s; text-decoration:none; }
        .btn-outline:hover { background:var(--violet-tint); color:var(--primary); }
        .btn-premium { display:inline-block; padding:12px 28px; border:none; border-radius:var(--radius-md); background:linear-gradient(135deg, var(--accent-gold), #ff8a3d); color:#1a0e05; font-weight:800; cursor:pointer; font-size:1rem; transition:transform 0.2s, box-shadow 0.2s; }
        .btn-premium:hover { background:linear-gradient(135deg, #ff8a3d, var(--accent-gold)); color:#1a0e05; }
        .premium-cta { text-align:center; padding:var(--space-6); margin-top:var(--space-4); background:linear-gradient(135deg, rgba(63, 164, 95,0.1), rgba(139, 92, 246,0.1)); border:1px solid rgba(63, 164, 95,0.2); border-radius:var(--radius-md); }
        .premium-cta-inner h3 { margin-bottom:8px; }
        .premium-cta-inner p { color:var(--text-gray); margin-bottom:16px; font-size:0.9rem; }

        /* ── Differentiated FAQ Sections ───────────────── */
        .section-pred-faq .faq-item { border-color: rgba(139, 92, 246,0.12); }
        .section-pred-faq .faq-item summary::after { color: var(--accent-gold); }
        .section-pred-faq .section-title::after { background: linear-gradient(90deg, var(--accent-gold), rgba(224, 165, 42,0.3)); }
        .section-general-faq .section-title::after { background: linear-gradient(90deg, var(--accent-purple), rgba(63, 164, 95,0.3)); }

        /* ── Prediction Card Tip Label ─────────────────── */
        .prediction-card-tip::before { content: "TIP"; display: inline-block; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gray); margin-right: 8px; vertical-align: middle; }

        /* ── Button Loading Spinner ────────────────────── */
        .btn-loading { pointer-events: none; opacity: 0.7; position: relative; color: transparent !important; }
        .btn-loading::after { content: ""; position: absolute; width: 18px; height: 18px; top: 50%; left: 50%; margin: -9px 0 0 -9px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: btn-spin 0.6s linear infinite; }
        @keyframes btn-spin { to { transform: rotate(360deg); } }

        /* ── Language Switcher ─────────────────────────────
           Editorial-magazine pill on desktop. Mobile burger
           collapses the dropdown into an always-visible flag
           tile row so picking a language is one tap, not two. */
        .lang-switcher { position: relative; margin-left: var(--space-2); }
        .lang-switcher-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            /* Box geometry matches the .auth-nav-link Login pill so the two
               line up cleanly on desktop: 8px+8px vertical padding + 1.5px
               borders × 2 ≈ Login total height. */
            padding: 8px 10px;
            background: transparent;
            border: 1.5px solid rgba(255,255,255,0.18);
            border-radius: var(--radius-md);
            color: var(--text-white);
            font-family: var(--font-body);
            font-size: 0.8rem;
            font-weight: 500;
            letter-spacing: 0.01em;
            line-height: 1;
            cursor: pointer;
            transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
        }
        .lang-switcher-toggle:hover,
        .lang-switcher-toggle[aria-expanded="true"] {
            background: rgba(255,255,255,0.05);
            border-color: var(--card-border-hover);
            color: var(--text-white);
        }
        .lang-switcher-toggle .lang-flag { display: inline-flex; line-height: 0; }
        .lang-switcher-toggle .lang-flag img {
            width: 22px;
            height: 15px;
            border-radius: 2px;
            box-shadow: 0 0 0 1px rgba(0,0,0,0.18), 0 1px 4px rgba(0, 0, 0, 0.18);
            display: block;
            object-fit: cover;
        }
        .lang-switcher-toggle .lang-chevron { opacity: 0.6; transition: transform 0.25s ease, opacity 0.18s ease, color 0.18s ease; }
        .lang-switcher-toggle:hover .lang-chevron { opacity: 1; }
        .lang-switcher-toggle[aria-expanded="true"] .lang-chevron {
            transform: rotate(180deg);
            opacity: 1;
            color: var(--accent-gold);
        }

        /* Dropdown */
        .lang-switcher-menu {
            position: absolute;
            right: 0;
            top: calc(100% + 10px);
            min-width: 240px;
            padding: 8px;
            margin: 0;
            list-style: none;
            background: rgba(24, 48, 31, 0.98);
            border: 1px solid rgba(255, 255, 255,0.16);
            border-radius: 14px;
            box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
            z-index: 1000;
            backdrop-filter: blur(14px) saturate(140%);
            -webkit-backdrop-filter: blur(14px) saturate(140%);
            transform-origin: top right;
            animation: lang-menu-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
        }
        @keyframes lang-menu-in {
            from { opacity: 0; transform: scale(0.94) translateY(-6px); }
            to   { opacity: 1; transform: scale(1) translateY(0); }
        }
        .lang-switcher-menu li { margin: 0; position: relative; }
        .lang-switcher-menu a {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 10px 14px 10px 18px;
            border-radius: 10px;
            color: var(--text-white);
            text-decoration: none;
            font-family: var(--font-body);
            font-size: 0.95rem;
            font-weight: 400;
            letter-spacing: 0.005em;
            position: relative;
            transition: background 0.15s ease, padding-left 0.18s ease;
        }
        .lang-switcher-menu a::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 0;
            background: var(--primary);
            border-radius: 2px;
            box-shadow: 0 0 0 transparent;
            transition: height 0.22s ease, box-shadow 0.22s ease;
        }
        .lang-switcher-menu a:hover {
            background: rgba(255,255,255,0.05);
            padding-left: 22px;
        }
        .lang-switcher-menu a:hover::before { height: 18px; }
        .lang-switcher-menu li.is-selected a {
            background: var(--violet-tint);
            color: var(--text-white);
        }
        .lang-switcher-menu li.is-selected a::before {
            height: 22px;
        }
        .lang-switcher-menu .lang-flag { display: inline-flex; line-height: 0; flex-shrink: 0; }
        .lang-switcher-menu .lang-flag img {
            width: 36px;
            height: 24px;
            border-radius: 4px;
            box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 2px 6px rgba(0, 0, 0, 0.18);
            display: block;
            object-fit: cover;
        }
        .lang-switcher-menu .lang-code { display: none; }

        @media (max-width: 480px) {
            .lang-switcher-menu { right: -8px; min-width: 220px; }
            /* Recent Results rows overflowed 390px viewports: the 110px fixed
               match-date + nowrap sets/score + W/L pip summed past the card.
               Let the row wrap and the date shrink so scrollWidth <= viewport. */
            .match-row { flex-wrap: wrap; }
            .match-date { min-width: 0; flex: 1 1 100%; }
            .match-sets-inline, .match-score { font-size: 0.8rem; }
        }

        /* Mobile burger: replace dropdown with always-visible
           5-tile flag row anchored to the bottom of the menu.
           Pre-empts the [hidden] attribute the JS toggles.    */
        @media (max-width: 768px) {
            .nav.open { flex-wrap: nowrap; }
            .nav.open .lang-switcher {
                position: relative;
                margin: 24px 0 0;
                width: 100%;
                max-width: 360px;
            }
            .nav.open .lang-switcher::before {
                content: 'Language';
                display: block;
                font-family: var(--font-body);
                font-size: 0.7rem;
                letter-spacing: 0.22em;
                text-transform: uppercase;
                color: var(--text-muted);
                text-align: center;
                margin-bottom: 12px;
            }
            .nav.open .lang-switcher-toggle { display: none; }

            .nav.open .lang-switcher-menu,
            .nav.open .lang-switcher-menu[hidden] {
                display: grid !important;
                grid-template-columns: repeat(5, 1fr);
                gap: 8px;
                position: static;
                inset: auto;
                width: 100%;
                max-width: none;
                min-width: 0;
                max-height: none;
                padding: 8px;
                background: rgba(255,255,255,0.04);
                border: 1px solid rgba(255,255,255,0.08);
                border-radius: 14px;
                box-shadow: none;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                animation: none;
                overflow: visible;
            }
            .nav.open .lang-switcher-menu li { width: 100%; }
            .nav.open .lang-switcher-menu a {
                flex-direction: column;
                gap: 6px;
                padding: 10px 4px;
                border-radius: 10px;
                background: rgba(255,255,255,0.04);
                border: 1px solid rgba(255,255,255,0.06);
                font-family: var(--font-display);
                font-size: 0.78rem;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                color: var(--text-gray);
                transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
            }
            .nav.open .lang-switcher-menu a::before { display: none; }
            .nav.open .lang-switcher-menu .lang-flag img {
                width: 36px;
                height: 24px;
                border-radius: 3px;
                box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 2px 4px rgba(0, 0, 0, 0.15);
            }
            .nav.open .lang-switcher-menu .lang-name { display: none; }
            .nav.open .lang-switcher-menu .lang-code { display: block; line-height: 1; }
            .nav.open .lang-switcher-menu li.is-selected a {
                background: rgba(224, 165, 42, 0.1);
                border-color: rgba(224, 165, 42, 0.55);
                color: var(--text-white);
            }
            .nav.open .lang-switcher-menu li.is-selected a .lang-code { color: var(--primary); }
            .nav.open .lang-switcher-menu li:not(.is-selected) a:active {
                background: rgba(255,255,255,0.06);
                border-color: rgba(255,255,255,0.18);
            }
        }

        /* ── Premium Page ──────────────────────────────── */
        .prem-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--green-bright); padding: 6px 12px; border: 1px solid rgba(63, 164, 95, 0.3); border-radius: 999px; background: rgba(63, 164, 95, 0.08); }
        .prem-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 10px var(--green-bright); animation: prem-pulse 2.4s ease-in-out infinite; }
        @keyframes prem-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

        /* Hero */
        .prem-hero { padding: 28px 0 56px; }
        .prem-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
        .prem-hero-left { max-width: 560px; }
        .prem-h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 0.96; letter-spacing: -0.01em; color: var(--text-white); margin: 18px 0 18px; }
        .prem-h1::after { content: '.'; color: var(--primary); }
        .prem-lede { font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.65; color: var(--text-gray); max-width: 50ch; margin-bottom: 32px; }
        .prem-hero-meta { display: flex; align-items: stretch; gap: 0; padding: 18px 0; margin-bottom: 28px; border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
        .prem-meta-item { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 0 18px; border-right: 1px solid var(--card-border); }
        .prem-meta-item:first-child { padding-left: 0; }
        .prem-meta-item:last-child { border-right: none; padding-right: 0; }
        .prem-meta-item strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-white); letter-spacing: -0.01em; line-height: 1; }
        .prem-meta-unit { font-size: 0.85rem; color: var(--green-bright); margin-left: 4px; font-weight: 700; }
        .prem-meta-item span { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
        .prem-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
        .prem-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; border: none; border-radius: var(--radius-md); cursor: pointer; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25); }
        .prem-btn-primary:hover { background: var(--primary-hover); box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); color: #fff; }
        .prem-btn-primary:active { transform: translateY(0); }
        .prem-btn-primary:disabled { cursor: not-allowed; transform: none; }
        .prem-btn-block { width: 100%; padding: 16px 24px; }
        .prem-btn-arrow { transition: transform 0.2s; }
        .prem-btn-primary:hover .prem-btn-arrow { transform: translateX(4px); }
        .prem-btn-ghost { display: inline-flex; align-items: center; padding: 14px 22px; color: var(--text-white); border: 1px solid var(--card-border); background: transparent; border-radius: var(--radius-md); font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
        .prem-btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); color: var(--text-white); }

        /* Hero preview card */
        .prem-hero-right { position: relative; }
        .prem-preview { position: relative; padding: 22px; border-radius: 18px; background: linear-gradient(180deg, var(--card-bg-elevated) 0%, var(--card-bg) 100%); border: 1px solid rgba(63, 164, 95, 0.2); box-shadow: 0 20px 60px rgba(0, 0, 0,0.4), inset 0 1px 0 rgba(255,255,255,0.04); overflow: hidden; transform: rotate(0.5deg); }
        .prem-preview-glow { position: absolute; top: -40%; right: -30%; width: 80%; height: 80%; background: radial-gradient(circle, rgba(63, 164, 95, 0.18) 0%, transparent 60%); pointer-events: none; }
        .prem-preview::before { content: ''; position: absolute; inset: 0; border-radius: 18px; padding: 1px; background: linear-gradient(135deg, rgba(63, 164, 95, 0.4) 0%, transparent 30%, transparent 70%, rgba(139, 92, 246, 0.4) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
        .prem-preview-tag { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 0.65rem; letter-spacing: 0.18em; font-weight: 800; color: var(--green-bright); padding: 5px 10px; background: rgba(63, 164, 95, 0.1); border-radius: 4px; margin-bottom: 14px; }
        .prem-pulse { width: 6px; height: 6px; background: var(--green-bright); border-radius: 50%; box-shadow: 0 0 8px var(--green-bright); animation: prem-pulse 1.6s infinite; }
        .prem-preview-match { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
        .prem-preview-player { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--text-white); flex: 1; }
        .prem-preview-player:last-child { text-align: right; }
        .prem-preview-vs { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
        .prem-preview-bar { position: relative; padding: 12px 14px; background: rgba(255,255,255,0.04); border-radius: 10px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.06); }
        .prem-preview-bar-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-gray); margin-bottom: 6px; }
        .prem-preview-bar-row-sm { font-size: 0.72rem; color: var(--text-muted); margin-top: 6px; margin-bottom: 0; }
        .prem-preview-pct { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--pred-home); }
        .prem-preview-bar-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
        .prem-preview-bar-fill { height: 100%; background: linear-gradient(90deg, var(--pred-home) 0%, var(--primary) 100%); border-radius: 4px; }
        .prem-preview-block { position: relative; padding: 12px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; margin-bottom: 14px; }
        .prem-preview-section-title { font-size: 0.65rem; letter-spacing: 0.18em; color: var(--accent-gold); text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
        .prem-preview-block p { font-size: 0.83rem; color: var(--text-gray); line-height: 1.5; margin-bottom: 6px; }
        .prem-preview-muted { color: var(--text-muted) !important; font-size: 0.78rem !important; font-style: italic; margin-bottom: 0 !important; }
        .prem-preview-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
        .prem-preview-cell { padding: 10px 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; }
        .prem-cell-label { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
        .prem-cell-value { font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; color: var(--text-white); letter-spacing: 0.02em; }
        .prem-cell-gold { color: var(--accent-gold); letter-spacing: 0.05em; }
        .prem-cell-low { color: var(--pred-home); font-size: 0.75rem; padding: 2px 8px; background: rgba(139, 92, 246,0.14); border-radius: 4px; }
        .prem-cell-mono { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-gold); }

        /* Features */
        .prem-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 32px 0 56px; }
        .prem-feat { position: relative; padding: 28px 24px 24px; background: rgba(255,255,255,0.04); border: 1px solid var(--card-border); border-radius: var(--radius-lg); transition: transform 0.25s, border-color 0.25s, background 0.25s; overflow: hidden; }
        .prem-feat:hover { border-color: rgba(224, 165, 42, 0.3); background: rgba(255,255,255,0.06); }
        .prem-feat-num { position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: rgba(224, 165, 42, 0.12); letter-spacing: -0.02em; }
        .prem-feat-icon { width: 40px; height: 40px; color: var(--accent-gold); margin-bottom: 16px; }
        .prem-feat-icon svg { width: 100%; height: 100%; }
        .prem-feat h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--text-white); margin-bottom: 8px; letter-spacing: 0.005em; }
        .prem-feat p { font-size: 0.92rem; color: var(--text-gray); line-height: 1.6; }

        /* Pricing card */
        .prem-pricing-wrap { padding: 16px 0 56px; scroll-margin-top: 80px; }
        .prem-pricing-card { position: relative; padding: 1px; border-radius: 22px; background: linear-gradient(135deg, rgba(224, 165, 42, 0.45) 0%, rgba(139, 92, 246, 0.25) 50%, rgba(224, 165, 42, 0.35) 100%); overflow: hidden; }
        .prem-pricing-aurora { position: absolute; inset: -60%; background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(224, 165, 42, 0.18) 60deg, transparent 120deg, rgba(139, 92, 246, 0.18) 240deg, transparent 300deg); animation: prem-aurora 18s linear infinite; pointer-events: none; }
        @keyframes prem-aurora { to { transform: rotate(360deg); } }
        .prem-pricing-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; background: linear-gradient(180deg, var(--card-bg-elevated) 0%, var(--card-bg) 100%); border-radius: 21px; overflow: hidden; }
        .prem-pricing-left { padding: 40px 36px; border-right: 1px solid rgba(255,255,255,0.07); position: relative; }
        .prem-pricing-right { padding: 40px 36px; }
        .prem-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; }
        .prem-price-num { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 5.4rem); font-weight: 800; line-height: 0.9; color: var(--text-white); letter-spacing: -0.02em; background: linear-gradient(180deg, #ffffff 0%, #b9cabf 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .prem-price-unit { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--accent-gold); }
        .prem-price-meta { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 26px; }
        .prem-status { padding: 10px 14px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }
        .prem-login-prompt { margin-top: 18px; }
        .prem-login-prompt p { color: var(--text-gray); font-size: 0.88rem; margin-bottom: 6px; }
        .prem-login-prompt a { color: var(--accent-gold); font-weight: 700; }
        .prem-pricing-foot { font-size: 0.78rem; color: var(--text-muted); margin-top: 18px; line-height: 1.55; }

        .prem-checklist { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
        .prem-checklist li { display: flex; gap: 14px; align-items: flex-start; }
        .prem-check { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(224, 165, 42, 0.12); color: var(--accent-gold); border: 1px solid rgba(224, 165, 42, 0.25); }
        .prem-check svg { width: 14px; height: 14px; }
        .prem-checklist strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text-white); letter-spacing: 0.005em; line-height: 1.2; margin-bottom: 2px; }
        .prem-checklist em { font-style: normal; font-size: 0.82rem; color: var(--text-muted); display: block; }

        /* Earn KC */
        .prem-earn { padding: 24px 0 64px; }
        .prem-earn-head { text-align: center; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
        .prem-earn-head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-white); margin-bottom: 8px; letter-spacing: 0.005em; }
        .prem-earn-head p { color: var(--text-gray); font-size: 0.95rem; }
        .prem-earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
        .prem-earn-card { position: relative; padding: 26px 22px; background: rgba(255,255,255,0.04); border: 1px solid var(--card-border); border-radius: var(--radius-lg); transition: transform 0.25s, border-color 0.25s; }
        .prem-earn-card:hover { border-color: rgba(255,255,255,0.18); }
        .prem-earn-badge { position: absolute; top: 14px; right: 14px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 800; padding: 4px 10px; background: rgba(139, 92, 246, 0.14); color: var(--primary); border-radius: 999px; letter-spacing: 0.04em; border: 1px solid rgba(139, 92, 246, 0.25); }
        .prem-earn-badge-orange { background: rgba(139, 92, 246, 0.14); color: var(--primary); border-color: rgba(139, 92, 246, 0.25); }
        .prem-earn-badge-gold { background: rgba(224, 165, 42, 0.14); color: var(--accent-gold); border-color: rgba(224, 165, 42, 0.3); }
        .prem-earn-icon { width: 36px; height: 36px; color: var(--text-white); opacity: 0.7; margin-bottom: 14px; }
        .prem-earn-icon svg { width: 100%; height: 100%; }
        .prem-earn-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--text-white); margin-bottom: 6px; letter-spacing: 0.005em; }
        .prem-earn-card p { font-size: 0.88rem; color: var(--text-gray); line-height: 1.55; }

        /* Article body — editorial long-read */
        .prem-article {
            max-width: 720px;
            margin: 0 auto;
            padding: 56px 24px 88px;
            counter-reset: prem-chapter;
            position: relative;
            font-family: 'Georgia', 'Iowan Old Style', 'Apple Garamond', 'Baskerville', 'Times New Roman', serif;
        }
        .prem-article::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 64px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
        }
        .prem-article::after {
            content: '§';
            position: absolute;
            top: 14px;
            left: 50%;
            transform: translateX(-50%);
            font-family: 'Georgia', serif;
            font-style: italic;
            font-size: 1.4rem;
            color: var(--accent-gold);
            background: var(--bg-dark);
            padding: 0 14px;
            line-height: 1;
        }

        .prem-article h2.section-title {
            counter-increment: prem-chapter;
            font-family: var(--font-display);
            font-size: clamp(1.85rem, 3.4vw, 2.6rem);
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: -0.005em;
            color: var(--text-white);
            text-align: left;
            text-transform: none;
            margin: 64px 0 28px;
            padding: 0 0 0 0;
            position: relative;
        }
        .prem-article h2.section-title::after {
            content: none;
        }
        .prem-article h2.section-title::before {
            content: counter(prem-chapter, decimal-leading-zero);
            display: block;
            font-family: 'Georgia', serif;
            font-style: italic;
            font-weight: 400;
            font-size: 0.85rem;
            letter-spacing: 0.32em;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 14px;
            padding-left: 2px;
        }
        .prem-article h2.section-title:first-of-type {
            margin-top: 0;
        }

        .prem-article h3 {
            font-family: var(--font-display);
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--text-white);
            margin: 36px 0 14px;
            letter-spacing: 0.005em;
            position: relative;
            padding-left: 18px;
        }
        .prem-article h3::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0.55em;
            width: 8px;
            height: 8px;
            background: var(--accent-gold);
            transform: rotate(45deg);
        }

        .prem-article p {
            font-family: 'Georgia', 'Iowan Old Style', 'Baskerville', 'Times New Roman', serif !important;
            font-size: 1.08rem !important;
            line-height: 1.78 !important;
            color: var(--text-gray) !important;
            margin: 0 0 22px !important;
            text-rendering: geometricPrecision;
            -webkit-font-smoothing: antialiased;
        }

        /* Lede paragraph — first p after first h2 */
        .prem-article h2.section-title:first-of-type + p {
            font-size: 1.32rem !important;
            line-height: 1.6 !important;
            color: var(--text-white) !important;
            font-style: italic;
            margin-bottom: 36px !important;
            padding-bottom: 28px;
            border-bottom: 1px solid rgba(224, 165, 42, 0.18);
            position: relative;
        }

        /* Drop cap on second paragraph (start of body proper) */
        .prem-article h2.section-title:first-of-type + p + p::first-letter {
            font-family: 'Georgia', 'Baskerville', serif;
            float: left;
            font-size: 4.6rem;
            line-height: 0.85;
            font-weight: 700;
            padding: 6px 14px 0 0;
            margin: 4px 4px 0 0;
            color: var(--accent-gold);
        }

        /* Each paragraph that directly follows an h2 (other than the lede) gets a subtle accent */
        .prem-article h2.section-title + p::first-line {
            font-variant: small-caps;
            letter-spacing: 0.04em;
            color: var(--text-white);
        }

        .prem-article a,
        .prem-article p a {
            color: var(--accent-gold) !important;
            text-decoration: none;
            background-image: linear-gradient(transparent 92%, rgba(224, 165, 42, 0.45) 92%);
            background-repeat: no-repeat;
            background-size: 100% 100%;
            transition: background-size 0.3s, color 0.2s;
            padding: 0 1px;
        }
        .prem-article a:hover,
        .prem-article p a:hover {
            color: #ffd97a !important;
            background-image: linear-gradient(transparent 0%, rgba(224, 165, 42, 0.18) 0%);
        }

        /* Section divider between h2 sections (not before the first) */
        .prem-article h2.section-title:not(:first-of-type) {
            padding-top: 56px;
        }
        .prem-article h2.section-title:not(:first-of-type)::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 56px;
            height: 1px;
            background: linear-gradient(90deg, var(--accent-gold), transparent);
            opacity: 0.6;
            display: block;
        }

        @media (max-width: 720px) {
            .prem-article { padding: 44px 18px 64px; max-width: none; }
            .prem-article h2.section-title { font-size: 1.7rem; margin: 48px 0 20px; }
            .prem-article h2.section-title:not(:first-of-type) { padding-top: 40px; }
            .prem-article p { font-size: 1.02rem !important; line-height: 1.72 !important; }
            .prem-article h2.section-title:first-of-type + p { font-size: 1.18rem !important; padding-bottom: 22px; margin-bottom: 28px !important; }
            .prem-article h2.section-title:first-of-type + p + p::first-letter { font-size: 3.6rem; padding-right: 10px; }
        }

        /* Tablet */
        @media (max-width: 1024px) {
            .prem-hero-grid { grid-template-columns: 1fr; gap: 36px; }
            .prem-hero-left { max-width: none; }
            .prem-preview { transform: none; max-width: 520px; margin: 0 auto; }
            .prem-features { grid-template-columns: repeat(3, 1fr); gap: 12px; }
            .prem-pricing-grid { grid-template-columns: 1fr; }
            .prem-pricing-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
            .prem-earn-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 720px) {
            .prem-features, .prem-earn-grid { grid-template-columns: 1fr; }
            .prem-hero-meta { flex-wrap: wrap; }
            .prem-meta-item { flex: 1 1 calc(50% - 1px); padding: 8px 12px; border-right: 1px solid var(--card-border); }
            .prem-meta-item:nth-child(2n) { border-right: none; }
            .prem-meta-item:first-child, .prem-meta-item:last-child { padding-left: 12px; padding-right: 12px; }
            .prem-pricing-left, .prem-pricing-right { padding: 28px 22px; }
            .prem-hero-ctas { flex-direction: column; }
            .prem-btn-primary, .prem-btn-ghost { width: 100%; }
        }

        /* ── Match Page H1 ─────────────────────────────── */
        .match-h1 { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; text-align: center; margin: 12px 0 8px; color: var(--text-white); letter-spacing: 0.5px; }
        .match-h1-meta { display: block; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 400; color: var(--text-gray); letter-spacing: 0.2px; margin-top: 4px; }

        /* ════════════════════════════════════════════════════════════════
           BASKETBALL COURT THEME — typography defaults + components
           Appended after the legacy rules so these win on shared selectors.
           ════════════════════════════════════════════════════════════════ */

        /* ── Typography defaults ───────────────────────────
           Display (Anton): heavy condensed, uppercase, tight.
           Mono (JetBrains Mono): meta labels, times, eyebrows, stat labels. */
        .section-title,
        .hero h1,
        .hero-content h1 {
            font-family: var(--font-display);
            line-height: 0.95;
            letter-spacing: -0.01em;
        }
        /* Meta / label / eyebrow text → mono */
        .match-date,
        .match-datetime,
        .match-round,
        .match-venue,
        .prediction-card-meta,
        .stat-label,
        .countdown-label,
        .breadcrumbs,
        .ad-slot::before,
        .sponsored-links h3,
        .prediction-reasoning h3,
        .premium-unlocked h3 {
            font-family: var(--font-mono);
        }

        /* ── Eyebrow ───────────────────────────────────── */
        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-family: var(--font-mono);
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--primary);
        }
        .eyebrow::before { content: "+"; font-weight: 800; opacity: 0.9; }

        /* ── Hero title (display, oversized) ───────────── */
        .hero-title {
            font-family: var(--font-display);
            font-size: clamp(3rem, 8vw, 7rem);
            line-height: 0.92;
            letter-spacing: -0.015em;
            text-transform: uppercase;
            color: var(--text-white);
            margin: 0 0 var(--space-4);
        }

        /* ── Buttons ───────────────────────────────────── */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            padding: 12px 26px;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.2s;
        }
        .btn-primary:hover { background: var(--primary-hover); color: #fff; }
        .btn-primary:active { transform: scale(0.97); }
        /* .btn-outline base already defined above; ensure dark-theme text */
        .btn-outline { color: var(--text-white); border-color: rgba(255, 255, 255,0.35); }
        .btn-outline:hover { background: var(--violet-tint); border-color: var(--primary); color: var(--text-white); }

        /* ── Match Card ────────────────────────────────── */
        .match-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 14px;
            padding: 22px;
            transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
        }
        .match-card:hover {
            border-color: rgba(139, 92, 246,0.4);
            background: var(--card-bg-elevated);
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(0,0,0,0.35);
        }

        /* ── Prediction Bar — slim 2-way (hairline flat track) ──
           Track is a quiet hairline; the home segment fills violet; away stays
           transparent so the track shows through. Basketball = 2-way. */
        .prediction-bar--slim {
            display: block;
            height: 6px;
            border-radius: 999px;
            background: rgba(255,255,255,0.06);
            overflow: hidden;
            margin-bottom: 8px;
            box-shadow: none;
            gap: 0;
        }
        .prediction-bar--slim .bar-home,
        .prediction-bar--slim .bar-segment.bar-home {
            display: block;
            height: 100%;
            background: var(--primary);
            border-radius: 999px 0 0 999px;
            text-shadow: none;
        }
        .prediction-bar--slim .bar-away,
        .prediction-bar--slim .bar-segment.bar-away {
            background: transparent;
        }

        /* ── Filter Pills ──────────────────────────────── */
        .filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-6); }
        .filter-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 16px;
            border-radius: 999px;
            font-family: var(--font-mono);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            background: transparent;
            border: 1px solid rgba(255, 255, 255,0.3);
            color: var(--text-gray);
            cursor: pointer;
            text-decoration: none;
            transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
        }
        .filter-pill:hover { border-color: rgba(139, 92, 246,0.5); color: var(--text-white); }
        .filter-pill.active,
        .filter-pill[aria-selected="true"] {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }
        .filter-pill:active { transform: scale(0.96); }

        /* ── Stats Strip ───────────────────────────────── */
        .stats-strip {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: var(--space-4);
            margin: var(--space-6) 0;
        }
        .stat-big {
            text-align: center;
            padding: 18px 14px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
        }
        .stat-big-num {
            display: block;
            font-family: var(--font-display);
            font-size: clamp(2rem, 4vw, 3rem);
            line-height: 0.95;
            color: var(--text-white);
            font-variant-numeric: tabular-nums;
        }
        .stat-big-label {
            display: block;
            margin-top: 6px;
            font-family: var(--font-mono);
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--text-muted);
        }

        /* ── Period Score ────────────── */
        .set-score {
            display: inline-flex;
            gap: 10px;
            font-family: var(--font-mono);
            font-variant-numeric: tabular-nums;
            font-weight: 700;
        }
        .set-score .set-col {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            min-width: 22px;
            color: var(--text-gray);
        }
        .set-score .set-col.active,
        .set-score .set-col.set-won {
            color: var(--primary);
        }
        .set-score .set-col sup { font-size: 0.6em; color: var(--text-muted); }
        .match-state .set-score { margin-top: 8px; }

        /* ── Surface badge (court surface) ───────────────── */
        .match-surface, .tournament-surface { margin-top: 8px; }
        .surface-badge {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            border: 1px solid currentColor;
            line-height: 1.4;
        }
        .surface-badge.surface-clay   { color: #ef7d2e; background: rgba(139, 92, 246,0.12); }
        .surface-badge.surface-grass  { color: #2f8a4e; background: rgba(63,164,95,0.14); }
        .surface-badge.surface-hard   { color: #2f6fb0; background: rgba(47,111,176,0.14); }
        .surface-badge.surface-carpet { color: #7a5cb0; background: rgba(122,92,176,0.14); }

        /* ── Surface chip (compact, for H2H rows / schedule) ── */
        .surface-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); line-height: 1.4; }
        .surface-chip.surface-clay { color: #ef7d2e; }
        .surface-chip.surface-grass { color: #2f8a4e; }
        .surface-chip.surface-hard { color: #2f6fb0; }
        .surface-chip.surface-carpet { color: #7a5cb0; }

        /* ── Model comparison cards (accuracy page) ──────── */
        .model-grid { display: flex; gap: 16px; flex-wrap: wrap; }
        .model-card { flex: 1 1 0; min-width: 200px; display: flex; flex-direction: column; gap: 10px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 20px; }
        .model-card.model-card--top { border-color: var(--green); border-width: 2px; }
        .model-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
        .model-card-name { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--text-white); }
        .model-card-top { padding: 3px 9px; border-radius: 999px; background: rgba(63,164,95,0.15); color: var(--green-bright); font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; }
        .model-card-pct { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--text-white); }
        .model-card.model-card--top .model-card-pct { color: var(--green); }
        .model-card-sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-gray); }

        /* ── Surface accuracy bars (horizontal) ──────────── */
        .surface-bars { display: flex; flex-direction: column; gap: 12px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; padding: 22px; }
        .surface-bar-row { display: flex; align-items: center; gap: 14px; }
        .surface-bar-label { width: 80px; flex: none; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--text-gray); }
        .surface-bar-track { display: block; flex: 1; height: 22px; border-radius: 999px; background: var(--card-bg-elevated); overflow: hidden; }
        .surface-bar-fill { display: block; height: 100%; border-radius: 999px; }
        .surface-bar-fill.surface-clay { background: #ef7d2e; }
        .surface-bar-fill.surface-grass { background: #3fa45f; }
        .surface-bar-fill.surface-hard { background: #2f6fb0; }
        .surface-bar-fill.surface-carpet { background: #7a5cb0; }
        .surface-bar-val { flex: none; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: var(--text-white); }

        /* ── Profile cards (subscription / referral / streak) ── */
        .profile-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 24px; }
        .profile-head-left { display: flex; align-items: center; gap: 16px; }
        .profile-avatar { width: 72px; height: 72px; border-radius: 999px; background: var(--card-bg-elevated); border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--green); flex: none; }
        .streak-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(224,165,42,0.15); color: var(--accent-gold); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; }
        .profile-cards { display: flex; gap: 20px; flex-wrap: wrap; }
        .subscription-card, .referral-card { flex: 1 1 0; min-width: 260px; display: flex; flex-direction: column; gap: 12px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 22px; }
        .referral-code-row { display: flex; gap: 10px; align-items: center; }
        .referral-code { flex: 1; border-radius: 10px; background: var(--bg-darker); border: 1px solid var(--card-border); padding: 11px 14px; font-family: var(--font-mono); font-size: 0.95rem; letter-spacing: 0.05em; color: var(--green); }
        .pred-row { display: flex; align-items: center; gap: 14px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; padding: 12px 16px; }
        .pred-row-match { flex: 1; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--text-white); }
        .pred-row-pick { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-gray); }
        .pred-tag { padding: 4px 11px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; }
        .pred-tag--won { background: rgba(63,164,95,0.15); color: var(--green-bright); }
        .pred-tag--lost { background: rgba(226,72,61,0.15); color: var(--red); }
        .pred-tag--pending { background: rgba(224,165,42,0.15); color: var(--accent-gold); }

        /* ── Individual player header ────────────────────── */
        .player-avatar-initials { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; background: radial-gradient(circle at 50% 32%, var(--card-bg-elevated), var(--bg-darker)); font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--text-white); letter-spacing: 0.02em; box-shadow: 0 6px 20px rgba(0,0,0,0.35), inset 0 0 0 2px var(--green-bright); }
        .match-sets-inline { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.85rem; color: var(--text-gray); white-space: nowrap; flex-shrink: 0; }

        /* Team page: coach / transfers / news enrichment sections. */
        .coach-card .author-avatar { width: 64px; height: 64px; font-size: 1.4rem; }
        .transfer-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
        .transfer-tag--in { background: rgba(63,164,95,0.15); color: var(--green-bright); }
        .transfer-tag--out { background: rgba(226,72,61,0.15); color: var(--red); }
        .transfer-name { flex: 1; min-width: 0; font-weight: 600; color: var(--text-white); }
        .transfer-detail { font-weight: 400; color: var(--text-gray); }
        .transfer-chip { flex-shrink: 0; }
        .news-source-badge { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card-bg-elevated); border: 1px solid var(--card-border); color: var(--text-gray); font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; flex-shrink: 0; }
        .news-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
        .news-headline { font-weight: 600; color: var(--text-white); text-decoration: none; }
        a.news-headline:hover { color: var(--primary); text-decoration: underline; }
        .news-meta { align-self: flex-start; }
        .player-meta-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; color: var(--text-gray); font-family: var(--font-mono); font-size: 0.85rem; margin-bottom: 14px; }
        .player-stat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; }
        .player-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 16px; border-radius: 10px; background: var(--card-bg-elevated); border: 1px solid var(--card-border); }
        .player-stat-l { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }
        .player-stat-v { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--text-white); }
        .player-form { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
        .form-pip { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; }
        .form-pip.form-W { background: rgba(63,164,95,0.18); color: var(--green-bright); }
        .form-pip.form-L { background: rgba(226,72,61,0.18); color: var(--red); }
        .player-tournament-link { color: var(--text-gray); font-size: 0.9rem; }
        .surface-win-row { display: flex; flex-wrap: wrap; gap: 16px; }
        .surface-win-card { flex: 1 1 0; min-width: 150px; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--card-bg); border: 1px solid var(--card-border); border-left-width: 3px; }
        .surface-win-card.surface-clay { border-left-color: #ef7d2e; }
        .surface-win-card.surface-grass { border-left-color: #3fa45f; }
        .surface-win-card.surface-hard { border-left-color: #2f6fb0; }
        .surface-win-card.surface-carpet { border-left-color: #7a5cb0; }
        .surface-win-l { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
        .surface-win-v { font-family: var(--font-display); font-size: 2rem; color: var(--text-white); }
        .surface-win-s { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-gray); }

        /* ── Stat Row ──────────────────────────────────── */
        .stat-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 8px 0;
            font-family: var(--font-mono);
            font-size: 0.85rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .stat-row:last-child { border-bottom: none; }
        .stat-row .stat-row-label { color: var(--text-gray); }
        .stat-row .stat-row-value { color: var(--text-white); font-weight: 700; text-align: right; }
        .stat-row.good .stat-row-value { color: var(--green); }
        .stat-row.bad .stat-row-value { color: var(--red); }
        .stat-row.warn .stat-row-value { color: var(--amber); }

        /* ── Leaderboard Row ───────────────────────────── */
        .leaderboard-row {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 16px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            margin-bottom: 8px;
        }
        .leaderboard-row .lb-rank {
            font-family: var(--font-display);
            font-size: 1.4rem;
            color: var(--text-gray);
            min-width: 36px;
            text-align: center;
            font-variant-numeric: tabular-nums;
        }
        .leaderboard-row:nth-child(-n+3) .lb-rank,
        .leaderboard-row.top-3 .lb-rank { color: var(--primary); }
        .leaderboard-row .lb-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-white); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.01em; }
        .leaderboard-row .lb-accuracy { font-family: var(--font-mono); font-weight: 700; color: var(--text-white); font-variant-numeric: tabular-nums; }
        .leaderboard-row .lb-trend { font-family: var(--font-mono); font-size: 0.85rem; }
        .leaderboard-row .lb-trend.trend-up { color: var(--green); }
        .leaderboard-row .lb-trend.trend-down { color: var(--red); }
        .leaderboard-row.is-you,
        .leaderboard-row.your-rank {
            border-color: var(--primary);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        /* ── Article Card ──────────────────────────────── */
        .article-card {
            display: flex;
            flex-direction: column;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 14px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
        }
        .article-card:hover { border-color: rgba(139, 92, 246,0.4); }
        .article-card .article-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--card-bg-elevated); }
        .article-card .article-body { padding: 16px 18px 20px; }
        .article-card .article-category {
            font-family: var(--font-mono);
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            color: var(--primary);
        }
        .article-card .article-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            line-height: 1.05;
            color: var(--text-white);
            text-transform: uppercase;
            letter-spacing: -0.005em;
            margin: 8px 0 10px;
        }
        .article-card .article-meta {
            font-family: var(--font-mono);
            font-size: 0.72rem;
            color: var(--text-muted);
            letter-spacing: 0.02em;
        }

        /* ── Bottom Nav (mobile only) ──────────────────── */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            display: flex;
            background: var(--bg-darker);
            border-top: 1px solid var(--card-border);
            padding: 6px 0 max(6px, env(safe-area-inset-bottom));
        }
        .bottom-nav a {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            padding: 6px 0;
            font-family: var(--font-mono);
            font-size: 0.62rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-muted);
            text-decoration: none;
        }
        .bottom-nav a svg { width: 22px; height: 22px; }
        .bottom-nav a.active,
        .bottom-nav a[aria-current="page"] { color: var(--primary); }
        @media (min-width: 768px) {
            .bottom-nav { display: none; }
        }

        /* ===== Accuracy page — data-viz ===== */
        .acc-stats { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 20px; }
        .acc-stat { position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: 24px 20px 20px; text-align: center; overflow: hidden; }
        .acc-stat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); }
        .acc-stat--gold::before { background: var(--accent-gold); }
        .acc-stat--muted::before { background: var(--text-muted); }
        .acc-stat-num { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
        .acc-stat--gold .acc-stat-num { color: var(--accent-gold); }
        .acc-stat--muted .acc-stat-num { color: var(--text-white); }
        .acc-stat-label { font-size: 0.92rem; color: var(--text-white); margin-top: 10px; font-weight: 600; }
        .acc-stat-sub { font-size: 0.8rem; color: var(--text-gray); margin-top: 4px; font-variant-numeric: tabular-nums; }
        .acc-stat-meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.07); margin-top: 14px; overflow: hidden; }
        .acc-stat-meter span { display: block; height: 100%; border-radius: 999px; background: var(--primary); }
        .acc-stat--gold .acc-stat-meter span { background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light)); }

        .acc-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: center; padding: 14px 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--card-border); border-radius: var(--radius-md); margin-bottom: var(--space-6); font-size: 0.83rem; color: var(--text-gray); }
        .acc-trust > span { display: inline-flex; align-items: center; gap: 6px; }
        .acc-trust b { color: var(--text-white); font-weight: 700; }
        .acc-trust .tick { width: 16px; height: 16px; flex-shrink: 0; color: var(--green-bright); }
        .acc-trust a { color: var(--primary); font-weight: 600; }

        .acc-table-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: var(--radius-md); }
        .acc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 460px; }
        .acc-table th { text-align: left; padding: 11px 14px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-gray); background: rgba(255,255,255,0.03); border-bottom: 2px solid var(--card-border); white-space: nowrap; }
        .acc-table th.num { text-align: center; }
        .acc-table td { padding: 11px 14px; border-bottom: 1px solid var(--card-border); color: var(--text-white); }
        .acc-table tbody tr:last-child td { border-bottom: none; }
        .acc-table td.num { text-align: center; font-variant-numeric: tabular-nums; color: var(--text-gray); }
        .acc-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.018); }
        .acc-table tbody tr:hover { background: var(--card-bg-elevated); }
        .acc-table .acc-name { font-weight: 700; }
        .acc-table .acc-name a { color: var(--text-white); }
        .acc-table .acc-name a:hover { color: var(--primary); }
        .acc-cell-acc { min-width: 150px; }
        .acc-bar { position: relative; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.06); overflow: hidden; }
        .acc-bar-fill { position: absolute; top: 0; bottom: 0; left: 0; background: var(--primary); border-radius: 6px; min-width: 2px; }
        .acc-bar-val { position: relative; z-index: 1; font-size: 0.78rem; font-weight: 800; color: #fff; line-height: 24px; padding-left: 9px; text-shadow: 0 1px 2px rgba(0,0,0,0.45); font-variant-numeric: tabular-nums; }

        /* ── ad_placement debug overlay (?ad_placement=1) ─────────── */
        .ad-debug { display: block !important; position: relative; min-height: 64px; margin: 8px 0; border: 2px dashed #888; border-radius: 8px; background: rgba(255,255,255,0.03); }
        .ad-debug-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-white); text-align: center; padding: 8px; line-height: 1.3; }
        .ad-debug-label b { font-size: 0.82rem; letter-spacing: 0.04em; }
        .ad-debug-label span { color: var(--text-gray); word-break: break-word; }
        .ad-debug--filled  { border-color: #3fa45f; background: rgba(63,164,95,0.12); }
        .ad-debug--empty   { border-color: #e0a52a; background: rgba(224,165,42,0.10); }
        .ad-debug--blocked { border-color: #e2483d; background: rgba(226,72,61,0.10); }
        .ad-debug--premium { border-color: #7a5cb0; background: rgba(122,92,176,0.10); }
        .ad-debug-legend { position: fixed; right: 12px; bottom: 12px; z-index: 99999; background: rgba(8, 8, 11,0.96); border: 1px solid var(--card-border); border-radius: 8px; padding: 10px 13px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-white); max-width: 300px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); line-height: 1.8; }
        .ad-debug-legend > div:first-child { margin-bottom: 4px; }
        .ad-debug-legend a { display: inline-block; margin-top: 6px; color: var(--primary); }
        .ad-debug-legend .ad-debug--filled  { color: #4fd07f; border: 0; background: none; }
        .ad-debug-legend .ad-debug--empty    { color: #e7b94e; border: 0; background: none; }
        .ad-debug-legend .ad-debug--blocked  { color: #e2483d; border: 0; background: none; }
        .ad-debug-legend .ad-debug--premium  { color: #9b7fd0; border: 0; background: none; }

        /* ── Auth / login page (split-screen) ──────────────────────────── */
        .auth-split { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 72vh; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--card-border); margin: var(--space-6) 0 var(--space-12); }
        .auth-brand { background: var(--bg-darker); padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 22px; position: relative; overflow: hidden; }
        .auth-brand::after { content: ""; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); pointer-events: none; }
        .auth-brand > * { position: relative; z-index: 1; }
        .auth-brand-logo img { height: 34px; width: auto; }
        .auth-brand-headline { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; color: var(--text-white); max-width: 480px; }
        .auth-brand-para { color: var(--text-gray); max-width: 440px; line-height: 1.6; font-size: 1rem; }
        .auth-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
        .auth-bullets li { display: flex; align-items: center; gap: 10px; color: var(--text-white); font-size: 0.95rem; }
        .auth-bullet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; box-shadow: 0 0 8px var(--primary); }
        .auth-stat-strip { display: flex; gap: clamp(20px, 4vw, 32px); background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 18px 24px; max-width: 460px; }
        .auth-stat { display: flex; flex-direction: column; gap: 2px; }
        .auth-stat-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-white); line-height: 1; }
        .auth-stat-label { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-gray); }
        .auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 56px); background: var(--bg-dark); }
        .auth-card { width: 100%; max-width: 420px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 18px; }
        .auth-tabs { display: flex; gap: 4px; background: var(--bg-darker); border-radius: var(--radius-sm); padding: 4px; }
        .auth-tab { flex: 1; padding: 10px; border: none; background: transparent; color: var(--text-gray); font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; border-radius: 6px; cursor: pointer; transition: background 0.18s, color 0.18s; }
        .auth-tab.active { background: var(--card-bg-elevated); color: var(--text-white); }
        .auth-heading h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--text-white); margin: 0; }
        .auth-heading p { color: var(--text-gray); font-size: 0.9rem; margin: 4px 0 0; }
        .auth-error { background: rgba(226,72,61,0.12); border: 1px solid rgba(226,72,61,0.35); color: #ff8a80; font-size: 0.85rem; border-radius: 8px; padding: 10px 12px; }
        #login-form { display: flex; flex-direction: column; gap: 14px; }
        /* explicit display below would otherwise defeat the [hidden] attribute */
        .auth-field[hidden], .auth-age[hidden] { display: none !important; }
        .auth-field { display: flex; flex-direction: column; gap: 7px; }
        .auth-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-gray); }
        .auth-field input { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--card-border); background: var(--bg-darker); color: var(--text-white); font-size: 0.95rem; transition: border-color 0.18s; }
        .auth-field input:focus { outline: none; border-color: var(--primary); }
        .auth-age { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; color: var(--text-gray); cursor: pointer; }
        .auth-age input { accent-color: var(--primary); }
        .auth-submit { width: 100%; padding: 14px; border: none; border-radius: var(--radius-md); background: var(--primary); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.18s, transform 0.18s; }
        .auth-submit:hover { background: var(--primary-hover); }
        .auth-card-footer { font-size: 0.75rem; color: var(--text-muted); text-align: center; line-height: 1.5; margin: 0; }
        @media (max-width: 860px) {
            .auth-split { grid-template-columns: 1fr; border: none; }
            .auth-brand { display: none; }
            .auth-form-wrap { padding: var(--space-6) 0; }
        }

        /* ── Live games page ───────────────────────────────────────────── */
        .live-pulse { animation: live-pulse 1.4s ease-in-out infinite; }
        .hero-eyebrow-dot.live-pulse { background: var(--magenta); }
        @keyframes live-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
        .live-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 760px; margin: 0 auto; }
        .live-card { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: var(--space-4); padding: 16px 20px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-md); text-decoration: none; transition: border-color 0.18s, background 0.18s; }
        .live-card:hover { border-color: var(--card-border-hover); background: var(--card-bg-elevated); }
        .live-card.is-live { border-color: rgba(225,29,116,0.4); }
        .live-card-status { font-family: var(--font-mono); font-size: 0.78rem; }
        .live-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--magenta); font-weight: 700; letter-spacing: 0.06em; }
        .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); animation: live-pulse 1.2s ease-in-out infinite; }
        .live-final { color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
        .live-time { color: var(--text-gray); }
        .live-card-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3); }
        .live-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
        .live-team img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
        .live-team-home { justify-content: flex-end; text-align: right; }
        .live-team-away { justify-content: flex-start; text-align: left; }
        .live-team-name { font-weight: 700; color: var(--text-white); font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .live-card-score { font-family: var(--font-display); font-size: 1.4rem; color: var(--text-white); display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
        .live-score-sep { color: var(--text-muted); }
        .live-vs { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); }
        .live-card-meta { text-align: right; }
        .live-league { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-gray); }
        .live-empty { text-align: center; padding: var(--space-12) var(--space-4); color: var(--text-gray); display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
        @media (max-width: 600px) {
            .live-card { grid-template-columns: 64px 1fr; grid-template-areas: "status teams" "meta teams"; gap: 10px 12px; padding: 14px 16px; }
            .live-card-status { grid-area: status; }
            .live-card-teams { grid-area: teams; }
            .live-card-meta { grid-area: meta; text-align: left; }
            .live-team-name { font-size: 0.85rem; }
            .live-card-score { font-size: 1.2rem; }
        }

/* ====================================================================
   Per-page sections
   ==================================================================== */
/* ============ PAGE: home ============ */
/* ===================================================================
   Home (sport_home) — dark near-black + violet re-skin
   Scoped under .pg-home-* ; reuses :root tokens + shared components.
   =================================================================== */

/* Hero: bigger Anton display headline (CALL THE GAME.) */
.pg-home-hero .hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 8vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}

/* Section heads: mono pink eyebrow + left-aligned Anton title */
.pg-home-head { margin-bottom: var(--space-6); text-align: left; }
.pg-home-head--split {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: var(--space-4); flex-wrap: wrap;
}
.pg-home-eyebrow {
    display: block; font-family: var(--font-mono);
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--text-gray);
    margin-bottom: 10px;
}
.pg-home-display {
    font-family: var(--font-display); font-weight: 400;
    color: var(--text-white); text-transform: uppercase;
    line-height: 0.95; letter-spacing: -0.005em;
    font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0; text-align: left;
}
.pg-home-cap {
    font-family: var(--font-mono); font-size: 0.72rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-gray); white-space: nowrap;
}

/* WHY THE MODEL WINS — 4 dark feature cards */
.pg-home-feature-row {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4);
}
.pg-home-feature {
    display: flex; flex-direction: column; gap: var(--space-3);
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius-md); padding: var(--space-5);
    transition: border-color 0.2s;
}
@media (hover: hover) {
    .pg-home-feature:hover { border-color: var(--card-border-hover); }
}
.pg-home-feature svg { width: 26px; height: 26px; color: var(--primary); flex-shrink: 0; }
.pg-home-feature h3 {
    font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
    font-size: 1.3rem; letter-spacing: 0.01em; color: var(--text-white); margin: 0;
}
.pg-home-feature p { font-size: 0.86rem; line-height: 1.45; color: var(--text-gray); margin: 0; }

/* Listing sections (tournaments / upcoming / latest / players) keep shared
   grids + cards; only the head changes to the eyebrow + Anton pattern. */
.pg-home-listing .section-title { text-align: left; }

/* Featured-players pill row */
.pg-home-players { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-home-player-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px;
    text-decoration: none; color: var(--text-white); font-size: 0.85rem; font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}
.pg-home-player-pill:hover { border-color: var(--card-border-hover); }
.pg-home-player-pill img { object-fit: contain; }

/* PROBABILITIES, NOT HOT TAKES — copy + big violet proof stat */
.pg-home-proof-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px); align-items: center;
}
.pg-home-proof-copy .pg-home-display { margin-bottom: var(--space-4); }
.pg-home-proof-copy p { color: var(--text-gray); line-height: 1.6; max-width: 48ch; margin: 0 0 var(--space-4); }
.pg-home-proof-cta a { color: var(--primary); font-weight: 700; text-decoration: none; }
.pg-home-proof-cta a:hover { text-decoration: underline; }
.pg-home-proof-stat {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px);
}
.pg-home-bignum {
    font-family: var(--font-display); font-weight: 400; color: var(--primary);
    line-height: 0.88; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
    font-size: clamp(3.5rem, 11vw, 8rem);
}
.pg-home-bignum-cap {
    font-family: var(--font-display); text-transform: uppercase; color: var(--text-white);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1.05; margin-top: 6px;
}
.pg-home-bignum-sub {
    font-family: var(--font-mono); color: var(--text-gray);
    font-size: 0.85rem; letter-spacing: 0.06em; margin-top: 12px;
}
.pg-home-proof-stat .surface-bars { margin-top: var(--space-5); }

/* GET TONIGHT'S PICKS — CTA band */
.pg-home-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-6); flex-wrap: wrap;
    background: var(--card-bg-elevated); border: 1px solid var(--card-border);
    border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
}
.pg-home-cta-band .pg-home-display { font-size: clamp(1.8rem, 4vw, 3rem); }
.pg-home-cta-copy p { color: var(--text-gray); margin: 8px 0 0; font-size: 0.95rem; }
.pg-home-cta-band .btn-hero-cta { margin: 0; flex-shrink: 0; }

/* ── Tablet ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .pg-home-feature-row { grid-template-columns: repeat(2, 1fr); }
    .pg-home-proof-grid { grid-template-columns: 1fr; gap: var(--space-6); }
    .pg-home-head--split { align-items: flex-start; }
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 560px) {
    .pg-home-feature-row { grid-template-columns: 1fr; }
    .pg-home-head--split { flex-direction: column; gap: 8px; }
    .pg-home-cta-inner { flex-direction: column; align-items: flex-start; }
    .pg-home-cta-band .btn-hero-cta { width: 100%; justify-content: center; }
    .pg-home-bignum { font-size: clamp(3rem, 20vw, 5rem); }
}

/* ============ PAGE: predictions ============ */
/* ===================================================================
   PREDICTIONS PAGE — dark near-black + violet re-skin (pg-predictions-*)
   Reuses :root tokens + shared .hero-eyebrow/.prediction-card/.prediction-bar/
   .section-title/.confidence-badge. No :root or shared-class redefinitions.
   =================================================================== */

.pg-predictions { position: relative; }

/* --- Hero: left-aligned, Anton display headline + mono eyebrow --- */
.pg-predictions-hero { text-align: left; background: none; border: none; box-shadow: none; padding: var(--space-12) 0 var(--space-6); }
.pg-predictions-hero .hero-content { max-width: 780px; margin: 0; padding: 0; background: none; border: none; box-shadow: none; align-items: flex-start; text-align: left; }
.pg-predictions-hero h1 { font-family: var(--font-display); text-transform: uppercase; font-weight: 400; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.9; letter-spacing: 0.01em; margin: 0 0 var(--space-3); color: var(--text-white); }
.pg-predictions-hero > .hero-content > p { font-size: clamp(1rem, 2vw, 1.18rem); color: var(--text-gray); max-width: 56ch; margin: 0 0 var(--space-2); }
.pg-predictions-disclaimer { font-size: 0.8rem; color: var(--text-gray); margin-top: var(--space-2) !important; }
.pg-predictions-disclaimer em { font-style: italic; }
.pg-predictions-updated { font-size: 0.78rem; color: var(--text-muted); margin-top: var(--space-1) !important; }

/* --- Filter pill row (jump-nav to tournament groups) --- */
.pg-predictions-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin: var(--space-6) 0 var(--space-8); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.pg-predictions-filter { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-gray); background: none; border: 1px solid var(--card-border); padding: 8px 15px; border-radius: 999px; text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.pg-predictions-filter img { border-radius: 50%; object-fit: contain; }
.pg-predictions-filter:hover, .pg-predictions-filter:focus-visible { color: var(--text-white); border-color: var(--card-border-hover); }
.pg-predictions-filter.is-active { color: var(--primary); background: var(--violet-tint); border-color: rgba(139,92,246,0.45); }

/* --- Two-column layout: cards (main) + sticky stat rail (aside) --- */
.pg-predictions-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-8); align-items: start; }
.pg-predictions-main { min-width: 0; }
.pg-predictions-main .prediction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.pg-predictions-group { padding: var(--space-6) 0; scroll-margin-top: calc(var(--space-16) + var(--space-4)); }
.pg-predictions-group .section-title { margin-bottom: var(--space-4); }
/* Tournament header — calm left-aligned Anton, no centered accent underline */
.pg-predictions-group-title { text-align: left; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; padding-bottom: var(--space-3); border-bottom: 1px solid var(--card-border); display: flex; align-items: center; }
.pg-predictions-group-title::after { display: none; }
.pg-predictions-group-title a:hover { text-decoration: none; color: var(--primary); }
/* Long-form methodology — comfortable measure, quiet violet links */
.pg-predictions-info .content-body { margin-top: 0; }
.pg-predictions-info .content-body a { text-decoration-color: rgba(139,92,246,0.35); }
#pg-predictions-top { scroll-margin-top: calc(var(--space-16) + var(--space-4)); }

/* --- Prediction card: "quiet stat card" (restyle of shared .prediction-card) ---
   Numbers-forward, winner emphasised by weight/colour only. No spines, no LED
   score box, no glow. Border-only hover (see override at foot of this block). */
.pg-predictions-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); transition: border-color 0.2s; }
.pg-predictions-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* Eyebrow: mono uppercase "LEAGUE · DATE" */
.pg-predictions-eyebrow { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-gray); }
.pg-predictions-eyebrow-league { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 38vw; }
.pg-predictions-eyebrow-dot { flex-shrink: 0; opacity: 0.55; }
.pg-predictions-card-time { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-gray); flex-shrink: 0; }

/* Confidence — quiet colour-coded text, no pill/dot */
.confidence-text { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.confidence-text.confidence-high { color: var(--primary); }
.confidence-text.confidence-medium { color: var(--accent-gold); }
.confidence-text.confidence-low { color: var(--text-gray); }

.pg-predictions-card-teams { display: flex; flex-direction: column; gap: var(--space-2); }
.pg-predictions-team { display: flex; align-items: center; gap: var(--space-3); }
.pg-predictions-crest { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--card-bg-elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pg-predictions-crest img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pg-predictions-team-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.pg-predictions-team-pct { font-family: var(--font-mono); font-size: 0.92rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }
/* Winner emphasis (home is the favoured/violet side by convention): weight + colour only */
.pg-predictions-team--home .pg-predictions-team-name { font-weight: 600; color: var(--text-white); }
.pg-predictions-team--away .pg-predictions-team-name { font-weight: 500; color: var(--text-gray); }
.pg-predictions-team-pct--home { font-weight: 700; color: var(--primary); }
.pg-predictions-team-pct--away { font-weight: 500; color: var(--text-gray); }

/* Probability bar — hairline flat track, violet fill, no text/glow */
.pg-predictions-card .prediction-bar { height: 4px; margin-bottom: 0; gap: 0; border-radius: 2px; background: rgba(255,255,255,0.06); box-shadow: none; }
.pg-predictions-card .prediction-bar .bar-segment { font-size: 0; padding: 0; text-shadow: none; border-radius: 0; }
.pg-predictions-card .prediction-bar .bar-segment.bar-home { background: var(--primary); }
.pg-predictions-card .prediction-bar .bar-segment.bar-away { background: transparent; }
/* Redundant with the team rows above — kept in the DOM (i18n hooks intact), hidden for the quiet layout */
.pg-predictions-card .prediction-labels { display: none; }

.pg-predictions-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.pg-predictions-score { display: inline-flex; align-items: baseline; gap: 7px; }
.pg-predictions-score-label { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.pg-predictions-score-value { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1; letter-spacing: 0.03em; color: var(--text-white); font-variant-numeric: tabular-nums; }
.pg-predictions-score-dash { color: var(--text-muted); margin: 0 3px; }

/* Tip — hairline divider, mono TIP label, no filled chip */
.pg-predictions-pick { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2); font-size: 0.82rem; font-weight: 500; line-height: 1.4; color: var(--text-gray); background: none; border: none; border-top: 1px solid var(--card-border); border-radius: 0; padding: var(--space-3) 0 0; margin-top: 1px; }
.pg-predictions-pick-label { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gray); }
.pg-predictions-pick-text { min-width: 0; }

/* Hover: border-color only (no background/lift/glow) — overrides the shared .prediction-card hover */
@media (hover: hover) { .pg-predictions-card:hover { border-color: var(--card-border-hover); background: var(--card-bg); } }
@media (hover: none) { .pg-predictions-card:active { border-color: var(--card-border-hover); } }

/* Featured (first card per tournament group) — quiet gold text marker, no box/gradient/glow */
.pg-predictions-main .prediction-grid > .pg-predictions-card:first-child { grid-column: auto; background: var(--card-bg); border: 1px solid var(--card-border); padding: calc(var(--space-4) + 16px) var(--space-4) var(--space-4); }
.pg-predictions-main .prediction-grid > .pg-predictions-card:first-child::before { content: 'FEATURED'; position: absolute; top: var(--space-2); right: var(--space-4); background: none; border: none; padding: 0; border-radius: 0; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-gold); }

.pg-predictions-empty { padding: var(--space-12) var(--space-6); text-align: center; color: var(--text-gray); background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-md); }

/* --- Sticky stat / track-record rail --- */
.pg-predictions-rail { position: sticky; top: var(--space-16); min-width: 0; }
.pg-predictions-rail-panel { display: flex; flex-direction: column; gap: var(--space-3); background: var(--card-bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.pg-predictions-rail-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }
.pg-predictions-rail-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.pg-predictions-rail-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 0.95; color: var(--text-white); margin: 0; }
.pg-predictions-rail-body { font-size: 0.86rem; line-height: 1.5; color: var(--text-gray); margin: 0; }
.pg-predictions-rail-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--primary); border: 1px solid var(--primary); border-radius: var(--radius-sm); padding: 11px 16px; text-decoration: none; transition: background 0.2s; }
.pg-predictions-rail-cta:hover, .pg-predictions-rail-cta:focus-visible { background: var(--primary-hover); }
.pg-predictions-rail-link { font-size: 0.8rem; color: var(--text-gray); text-decoration: none; }
.pg-predictions-rail-link:hover, .pg-predictions-rail-link:focus-visible { color: var(--primary); }

/* --- Methodology / long-form content wrapper --- */
.pg-predictions-info { margin-top: var(--space-8); }

/* --- Bottom CTA band --- */
.pg-predictions-cta { text-align: center; margin: var(--space-12) 0 var(--space-8); padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--card-border); border-radius: var(--radius-lg); background: var(--card-bg-elevated); }
.pg-predictions-cta-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gray); }
.pg-predictions-cta-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 0.95; color: var(--text-white); margin: var(--space-2) 0; }
.pg-predictions-cta-sub { color: var(--text-gray); max-width: 52ch; margin: 0 auto var(--space-4); }
.pg-predictions-cta-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--primary); border: 1px solid var(--primary); border-radius: var(--radius-sm); padding: 13px 26px; text-decoration: none; transition: background 0.2s; }
.pg-predictions-cta-btn:hover, .pg-predictions-cta-btn:focus-visible { background: var(--primary-hover); }

/* --- Tablet --- */
@media (max-width: 900px) {
    .pg-predictions-layout { grid-template-columns: 1fr; gap: var(--space-6); }
    .pg-predictions-rail { position: static; }
    .pg-predictions-hero { padding: var(--space-8) 0 var(--space-4); }
    .pg-predictions-filters { margin: var(--space-4) 0 var(--space-6); }
}

/* --- Mobile --- */
@media (max-width: 560px) {
    .pg-predictions-main .prediction-grid { grid-template-columns: 1fr; }
    .pg-predictions-hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
    .pg-predictions-filter { padding: 7px 12px; font-size: 0.68rem; }
    .pg-predictions-rail-title { font-size: 1.6rem; }
    .pg-predictions-cta { padding: var(--space-8) var(--space-4); }
    .pg-predictions-card { padding: var(--space-3); }
}

/* ============ PAGE: match ============ */
/* ===== match_page — dark near-black + violet re-skin ===== */
.pg-match-hero { position: relative; padding: clamp(28px,6vw,60px) 0 clamp(24px,5vw,44px); margin-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.pg-match-hero > * { position: relative; z-index: 1; }
.pg-match-hero-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(20px,4vw,38px); }
.pg-match-status { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; background: var(--primary-glow); color: var(--primary); border: 1px solid rgba(139,92,246,0.3); display: inline-flex; align-items: center; gap: 7px; }
.pg-match-status.is-live { background: rgba(225,29,116,0.16); color: var(--magenta); border-color: rgba(225,29,116,0.4); }
.pg-match-status.is-final { background: rgba(63,164,95,0.14); color: var(--green-bright); border-color: rgba(63,164,95,0.32); }
.pg-match-status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pg-match-pulse 1.8s ease-in-out infinite; }
@keyframes pg-match-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.pg-match-league { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-gray); }

.pg-match-h1 { display: flex; align-items: center; justify-content: center; gap: clamp(16px,5vw,52px); flex-wrap: wrap; margin: 0; font-weight: 400; }
.pg-match-side { display: flex; flex-direction: column; align-items: center; gap: clamp(10px,1.6vw,16px); text-decoration: none; color: inherit; min-width: 0; flex: 1 1 0; max-width: 440px; text-align: center; }
.pg-match-crest { width: clamp(56px,9vw,92px); height: clamp(56px,9vw,92px); object-fit: contain; background: #f5f7fa; border-radius: 50%; padding: 8px; box-shadow: 0 6px 22px rgba(0,0,0,0.45); flex-shrink: 0; }
.pg-match-crest--initials { display: flex; align-items: center; justify-content: center; padding: 0; background: radial-gradient(circle at 50% 32%, var(--card-bg-elevated), var(--bg-darker)); font-family: var(--font-display); font-size: clamp(1.4rem,3vw,2rem); color: var(--text-white); box-shadow: 0 6px 22px rgba(0,0,0,0.45), inset 0 0 0 2px var(--primary); }
.pg-match-side-name { font-family: var(--font-display); font-size: clamp(1.6rem,5.5vw,3.6rem); line-height: 0.95; letter-spacing: -0.5px; text-transform: uppercase; color: var(--text-white); overflow-wrap: anywhere; transition: color 0.2s; }
.pg-match-side:hover .pg-match-side-name { color: var(--primary); }
.pg-match-rank { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; color: var(--primary); background: var(--primary-glow); border: 1px solid rgba(139,92,246,0.3); border-radius: 999px; padding: 2px 10px; }
.pg-match-vs { font-family: var(--font-display); font-size: clamp(1.4rem,3vw,2.4rem); color: var(--primary); flex-shrink: 0; align-self: center; letter-spacing: 1px; }
.pg-match-suffix { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-gray); text-align: center; margin: clamp(16px,3vw,24px) 0 0; }
.pg-match-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px,3vw,40px); margin-top: clamp(14px,2vw,20px); }
.pg-match-meta-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pg-match-meta-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.pg-match-meta-val { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--text-gray); }

/* Section heads (kicker + hairline + Anton title) */
.pg-match-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(20px,4vw,32px); }
.pg-match-head--center { align-items: center; text-align: center; }
.pg-match-kickline { display: flex; align-items: center; gap: 14px; width: 100%; }
.pg-match-kicker { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-gray); flex-shrink: 0; white-space: nowrap; }
.pg-match-rule { flex: 1; height: 1px; background: var(--border); min-width: 24px; }
.pg-match-locked { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); flex-shrink: 0; }
.pg-match-locked::before { content: "\1F512"; margin-right: 5px; }
.pg-match-title { font-family: var(--font-display); font-size: clamp(1.7rem,4vw,2.8rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.5px; text-transform: uppercase; color: var(--text-white); margin: 0; text-align: left; }
.pg-match-head--center .pg-match-title { text-align: center; }
.pg-match-title--xl { font-size: clamp(2.4rem,7vw,4rem); }

/* Win-probability block (reuses .prediction-section / .prediction-bar hooks) */
.pg-match-prediction { text-align: left; }
.pg-match-prob { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.pg-match-prob-side { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.pg-match-prob-side--away { justify-content: flex-end; text-align: right; margin-left: auto; flex-direction: row; }
.pg-match-prob-name { font-family: var(--font-display); font-size: clamp(1.05rem,2.4vw,1.7rem); line-height: 1; text-transform: uppercase; color: var(--text-white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.pg-match-prob-pct { font-family: var(--font-display); font-size: clamp(1.4rem,3.2vw,2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.pg-match-prob-pct--home { color: var(--primary); }
.pg-match-prob-pct--away { color: var(--text-gray); }
.pg-match-prediction .prediction-bar { height: 6px; background: rgba(255,255,255,0.06); box-shadow: none; gap: 0; margin-bottom: 10px; border-radius: 3px; overflow: hidden; }
.pg-match-prediction .bar-segment { font-size: 0; padding: 0; text-shadow: none; border-radius: 0; }
.pg-match-prediction .bar-segment.bar-home { background: var(--primary); }
.pg-match-prediction .bar-segment.bar-away { background: transparent; border: none; }
.pg-match-prediction .prediction-labels { margin-bottom: 26px; }

/* Stat cells row (reuses .prediction-stats / .stat-item / .stat-value / .stat-label) */
.pg-match-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 8px 0 28px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.pg-match-stats .stat-item { flex: 1 1 0; min-width: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 20px 22px; border-left: 1px solid var(--border); text-align: left; }
.pg-match-stats .stat-item:first-child { border-left: none; }
.pg-match-stats .stat-value { font-family: var(--font-display); font-size: clamp(1.3rem,2.6vw,1.9rem); line-height: 1; color: var(--text-white); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.pg-match-stats .stat-value.confidence-high { color: var(--primary); }
.pg-match-stats .stat-value.confidence-medium { color: var(--amber); }
.pg-match-stats .stat-value.confidence-low { color: var(--text-gray); }
.pg-match-stats .stat-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* Analysis pull (reuses .prediction-reasoning) */
.pg-match-read { border-left: 4px solid var(--primary); padding: 4px 0 4px 24px; margin: 8px 0 0; max-width: 760px; }
.pg-match-read h3 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-gray); margin-bottom: 12px; }
.pg-match-read p { color: var(--text-gray); line-height: 1.75; font-size: 1rem; }
.pg-match-byline { font-size: 0.78rem; color: var(--text-gray); text-align: center; margin-bottom: 10px; }
.pg-match-byline a { color: var(--text-gray); text-decoration: underline; }
.pg-match-disclosure { margin-top: 14px; padding: 10px 14px; background: var(--primary-glow); border-left: 3px solid var(--primary); border-radius: var(--radius-sm); font-size: 0.75rem; color: var(--text-gray); text-align: left; line-height: 1.5; }

/* Lineups */
.pg-match-lineups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: var(--space-6); }
.pg-match-lineup-col { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.pg-match-lineup-team { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text-white); font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0; }
.pg-match-lineup-team img { object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.pg-match-lineup-side { margin-left: auto; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
.pg-match-roster { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px; }
.pg-match-chip { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--text-gray); padding: 7px 13px; border-radius: 999px; background: var(--card-bg-elevated); border: 1px solid var(--border); font-size: 0.85rem; transition: border-color 0.2s, color 0.2s; }
.pg-match-chip:hover { border-color: var(--card-border-hover); color: var(--text-white); }
.pg-match-chip-num { color: var(--primary); font-family: var(--font-mono); font-size: 0.8em; }
.pg-match-chip-pos { color: var(--text-muted); font-size: 0.85em; }
.pg-match-roster-empty { color: var(--text-gray); font-size: 0.85rem; }

/* Community poll (reuses .user-poll / .poll-* hooks) */
.pg-match-poll .poll-buttons { justify-content: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.pg-match-poll .poll-btn { border-radius: 999px; padding: 15px 40px; font-family: var(--font-display); font-size: clamp(1.05rem,2.4vw,1.4rem); text-transform: uppercase; letter-spacing: 0; }
.pg-match-poll .poll-home { background: var(--primary); color: #fff; border: 1.5px solid var(--primary); }
.pg-match-poll .poll-away { background: transparent; color: var(--text-white); border: 1.5px solid var(--border); }
.pg-match-poll .poll-bar { height: 6px; gap: 0; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.pg-match-poll .poll-home-bar { border-radius: 0; }
.pg-match-poll .poll-away-bar { border-radius: 0; }
.pg-match-poll .poll-labels { font-family: var(--font-mono); letter-spacing: 0.08em; margin-top: 8px; }

/* Premium teaser (reuses .premium-teaser hooks) */
.pg-match-premium .premium-teaser { border: 1px solid var(--border); background: var(--card-bg); border-radius: var(--radius-md); }
.pg-match-premium .premium-teaser-cta { border-radius: 999px; }

/* Countdown recolour (reuses .countdown hooks) */
.pg-match-countdown .countdown-unit { background: var(--card-bg); border-color: var(--card-border); }
.pg-match-countdown .countdown-num { color: var(--text-white); }

/* Related matches */
.pg-match-related { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); }
.pg-match-related-row { display: flex; justify-content: space-between; gap: 8px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; color: var(--text-white); background: var(--card-bg); transition: border-color 0.2s; }
.pg-match-related-row:hover { border-color: var(--card-border-hover); }
.pg-match-related-date { color: var(--text-gray); font-size: 0.85rem; font-family: var(--font-mono); white-space: nowrap; }
.pg-match-related-all { margin-top: 12px; }

/* ===== Tablet ===== */
@media (max-width: 900px) {
    .pg-match-stats .stat-item { flex: 1 1 40%; min-width: 0; }
    .pg-match-stats .stat-item:nth-child(odd) { border-left: none; }
    .pg-match-stats .stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }
    .pg-match-prob-name { max-width: 34vw; }
}

/* ===== Mobile ===== */
@media (max-width: 560px) {
    .pg-match-h1 { flex-direction: column; gap: 14px; }
    .pg-match-side { max-width: none; width: 100%; }
    .pg-match-side-name { font-size: clamp(2rem,11vw,3rem); }
    .pg-match-vs { font-size: 1.5rem; }
    .pg-match-prob { flex-direction: column; align-items: stretch; gap: 10px; }
    .pg-match-prob-side, .pg-match-prob-side--away { justify-content: space-between; margin-left: 0; text-align: left; }
    .pg-match-prob-name { max-width: 60vw; }
    .pg-match-stats .stat-item { flex: 1 1 100%; border-left: none; border-top: 1px solid var(--border); }
    .pg-match-stats .stat-item:first-child { border-top: none; }
    .pg-match-poll .poll-btn { flex: 1 1 100%; }
    .pg-match-title { font-size: clamp(1.5rem,8vw,2rem); }
}

/* ============ PAGE: player ============ */
/* ============================================================
   Player page (/player/{slug}/) — dark near-black + violet reskin
   All classes prefixed .pg-player- ; tokens only, no :root, no
   shared-class redefinition.
   ============================================================ */

/* --- Hero --- */
.pg-player-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin: var(--space-4) 0 var(--space-8);
    padding: var(--space-12) var(--space-8);
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background:
        radial-gradient(58% 95% at 84% -12%, color-mix(in srgb, var(--primary) 42%, transparent) 0%, transparent 60%),
        linear-gradient(215deg, color-mix(in srgb, var(--primary) 20%, var(--card-bg)) 0%, var(--bg-dark) 58%, var(--bg-darker) 100%);
}
.pg-player-hero-wm {
    position: absolute;
    left: -1%;
    bottom: -16%;
    z-index: 0;
    font-family: var(--font-display);
    font-size: clamp(220px, 40vw, 520px);
    line-height: 0.7;
    letter-spacing: -0.03em;
    color: var(--text-white);
    opacity: 0.035;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.pg-player-hero-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 46%;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%);
}
.pg-player-hero-photo img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5));
}
.pg-player-initials {
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    z-index: 1;
    width: clamp(120px, 18vw, 200px);
    height: clamp(120px, 18vw, 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 14%, var(--card-bg));
    border: 1px solid var(--border);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    color: var(--text-white);
    opacity: 0.92;
    pointer-events: none;
}
.pg-player-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 64%;
}
.pg-player-teamchip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-white);
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: var(--space-4);
}
.pg-player-teamchip:hover { border-color: var(--card-border-hover); color: var(--text-white); }
.pg-player-firstname {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3.4rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text-gray);
}
.pg-player-lastname {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 11vw, 8rem);
    line-height: 0.82;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text-white);
}
.pg-player-lastname-full { font-size: clamp(2.6rem, 8.5vw, 6rem); }
.pg-player-jersey {
    font-size: 0.38em;
    color: var(--primary);
    vertical-align: super;
    font-family: var(--font-mono);
}
.pg-player-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--space-4);
}
.pg-player-chip {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-gray);
    background: color-mix(in srgb, var(--card-bg) 80%, transparent);
    border: 1px solid var(--border);
    padding: 7px 13px;
    border-radius: var(--radius-sm);
}
.pg-player-chip-link { color: var(--text-gray); }
.pg-player-chip-link:hover { border-color: var(--card-border-hover); color: var(--text-white); }

/* --- Bio strip --- */
.pg-player-bio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-8);
}
.pg-player-bio-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-6);
    border-right: 1px solid var(--border);
}
.pg-player-bio-col:last-child { border-right: none; }
.pg-player-bio-k {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.pg-player-bio-v {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-white);
}

/* --- Injury banner --- */
.pg-player-injury {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 var(--space-8);
    padding: var(--space-4) var(--space-6);
    border: 1px solid color-mix(in srgb, var(--magenta) 40%, transparent);
    border-left: 3px solid var(--magenta);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--magenta) 13%, transparent);
}
.pg-player-injury-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--magenta);
    box-shadow: 0 0 10px var(--magenta);
    flex-shrink: 0;
}
.pg-player-injury-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--magenta);
}
.pg-player-injury-txt { color: var(--text-white); font-size: 0.92rem; }
.pg-player-injury-return { color: var(--text-gray); }

/* --- Prose / description --- */
.pg-player-prose {
    max-width: 760px;
    margin: 0 0 var(--space-8);
    color: var(--text-gray);
    line-height: 1.7;
}
.pg-player-prose a { color: var(--primary); }
.pg-player-prose a:hover { color: var(--text-white); }

/* --- Section heads (left-aligned Anton + mono eyebrow) --- */
.pg-player-shead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.pg-player-eyebrow {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray);
}
.pg-player-h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text-white);
}
.pg-player-stats-meta {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--text-gray);
    white-space: nowrap;
}

/* --- Season-average stat tiles --- */
.pg-player-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
    gap: var(--space-3);
}
.pg-player-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-6);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, background 0.2s;
}
.pg-player-tile:hover {
    border-color: var(--card-border-hover);
    background: var(--card-bg-elevated);
}
.pg-player-tile-v {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 2.5rem);
    line-height: 1;
    color: var(--text-white);
}
.pg-player-tile-l {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray);
}
.pg-player-note {
    margin-top: var(--space-4);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: var(--text-muted);
}

/* --- Roster pills --- */
.pg-player-roster {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pg-player-roster-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-gray);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: border-color 0.2s, color 0.2s;
}
.pg-player-roster-chip:hover { border-color: var(--card-border-hover); color: var(--text-white); }
.pg-player-roster-chip .num { color: var(--primary); }
.pg-player-roster-chip .pos { color: var(--text-muted); }

/* --- Tablet --- */
@media (max-width: 900px) {
    .pg-player-hero { padding: var(--space-8) var(--space-6); min-height: 300px; }
    .pg-player-hero-inner { max-width: 72%; }
    .pg-player-hero-photo { width: 40%; }
    .pg-player-bio-col { padding: var(--space-4) var(--space-5); }
    .pg-player-shead { flex-direction: column; align-items: flex-start; }
    .pg-player-stat-grid { grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); }
}

/* --- Mobile --- */
@media (max-width: 560px) {
    .pg-player-hero { min-height: auto; padding: var(--space-6); align-items: flex-start; }
    .pg-player-hero-inner { max-width: 100%; }
    .pg-player-hero-photo { width: 50%; opacity: 0.42; }
    .pg-player-initials { width: 96px; height: 96px; right: 4%; opacity: 0.6; }
    .pg-player-hero-wm { font-size: clamp(160px, 56vw, 280px); bottom: -10%; }
    .pg-player-lastname { font-size: clamp(2.6rem, 18vw, 4.2rem); }
    .pg-player-lastname-full { font-size: clamp(2.2rem, 13vw, 3.4rem); }
    .pg-player-bio { grid-template-columns: repeat(2, 1fr); }
    .pg-player-bio-col:nth-child(2n) { border-right: none; }
    .pg-player-tile { padding: var(--space-4); }
    .pg-player-tile-v { font-size: 1.9rem; }
    .pg-player-stat-grid { gap: var(--space-2, 8px); }
}

/* ============ PAGE: team ============ */
/* ============================================================
   TEAM PAGE (team_page.html) — dark near-black + violet reskin
   All colors via :root tokens. Classes prefixed .pg-team-
   ============================================================ */

/* --- Hero --- */
.pg-team-hero{
  position:relative;overflow:hidden;
  border:1px solid var(--border);border-radius:var(--radius-lg);
  background:var(--card-bg);
  margin:var(--space-6) 0 var(--space-8);
}
.pg-team-hero::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(120% 150% at 14% -10%, color-mix(in srgb, var(--primary) 30%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, var(--card-bg-elevated) 0%, var(--bg-darker) 100%);
}
.pg-team-hero-inner{
  position:relative;z-index:1;
  display:flex;align-items:center;gap:var(--space-6);
  padding:var(--space-8) var(--space-7);
}
.pg-team-crest{
  flex-shrink:0;width:128px;height:128px;border-radius:50%;
  border:3px solid var(--primary);background:var(--bg-dark);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  box-shadow:0 8px 28px rgba(0,0,0,.45);
}
.pg-team-crest img{width:100%;height:100%;object-fit:contain;padding:16px;}
.pg-team-crest-init{
  font-family:var(--font-display);font-size:44px;
  color:var(--text-white);letter-spacing:1px;line-height:1;
}
.pg-team-hero-col{display:flex;flex-direction:column;gap:var(--space-3);min-width:0;}
.pg-team-chips{display:flex;flex-wrap:wrap;gap:8px;}
.pg-team-chip{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--primary);background:color-mix(in srgb, var(--primary) 12%, transparent);
  border:1px solid var(--border);border-radius:999px;padding:6px 13px;white-space:nowrap;line-height:1;
}
.pg-team-chip--abbr{color:var(--text-gray);background:rgba(255,255,255,.04);}
.pg-team-name{
  font-family:var(--font-display);font-weight:400;text-transform:uppercase;
  color:var(--text-white);font-size:clamp(38px,5.4vw,64px);
  line-height:.92;letter-spacing:.5px;margin:0;
}
.pg-team-name-suffix{
  font-family:var(--font-mono);font-weight:400;font-size:.26em;
  letter-spacing:.08em;text-transform:uppercase;color:var(--text-gray);
  display:inline-block;vertical-align:middle;
}
.pg-team-rec{display:flex;align-items:baseline;flex-wrap:wrap;gap:14px;margin-top:2px;}
.pg-team-wl{
  font-family:var(--font-display);font-size:clamp(34px,4vw,52px);
  line-height:1;color:var(--text-white);letter-spacing:.5px;
}
.pg-team-rec-sub{
  font-family:var(--font-mono);font-size:12px;letter-spacing:.05em;
  text-transform:uppercase;color:var(--text-gray);
}
.pg-team-form{display:flex;gap:6px;margin-top:4px;}
.pg-team-pip{
  width:26px;height:26px;border-radius:7px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:14px;
  border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text-muted);
}
.pg-team-pip.is-w{
  color:var(--green);
  border-color:color-mix(in srgb, var(--green) 55%, transparent);
  background:color-mix(in srgb, var(--green) 14%, transparent);
}
.pg-team-pip.is-l{
  color:var(--red);
  border-color:color-mix(in srgb, var(--red) 55%, transparent);
  background:color-mix(in srgb, var(--red) 14%, transparent);
}
.pg-team-tourn{font-family:var(--font-body);font-size:14px;color:var(--text-gray);margin:6px 0 0;}
.pg-team-tourn a{color:var(--primary);text-decoration:none;}
.pg-team-tourn a:hover{text-decoration:underline;}

/* --- About / intro block --- */
.pg-team-about{
  border:1px solid var(--border);background:var(--card-bg);
  border-radius:var(--radius-md);padding:var(--space-5) var(--space-6);
  margin:0 0 var(--space-8);color:var(--text-gray);line-height:1.7;font-family:var(--font-body);
}
.pg-team-about p{margin:0 0 12px;}
.pg-team-about p:last-child{margin-bottom:0;}
.pg-team-about strong{color:var(--text-white);}
.pg-team-about a{color:var(--primary);}

/* --- Section heading --- */
.pg-team-section{margin-bottom:var(--space-8);}
.pg-team-section-title{
  font-family:var(--font-display);font-weight:400;text-transform:uppercase;
  color:var(--text-white);font-size:clamp(24px,3vw,30px);letter-spacing:.5px;
  margin:0 0 var(--space-4);padding-left:14px;position:relative;line-height:1.1;
}
.pg-team-section-title::before{
  content:"";position:absolute;left:0;top:.14em;bottom:.14em;width:4px;
  border-radius:2px;background:var(--primary);
}

/* --- Fixtures (upcoming) rows --- */
.pg-team-fx-list{display:flex;flex-direction:column;gap:10px;}
.pg-team-fx-row{
  display:flex;align-items:center;gap:var(--space-4);
  background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-md);
  padding:16px 18px;text-decoration:none;color:inherit;
  transition:border-color .15s ease, background .15s ease;
}
a.pg-team-fx-row:hover{
  border-color:var(--card-border-hover);
  background:var(--card-bg-elevated);
}
.pg-team-fx-date{
  flex-shrink:0;min-width:104px;
  font-family:var(--font-mono);font-size:13px;color:var(--text-white);letter-spacing:.02em;
}
.pg-team-fx-opp{
  flex:1 1 auto;min-width:0;
  font-family:var(--font-body);font-size:15px;font-weight:500;color:var(--text-white);
}
.pg-team-fx-opp img{vertical-align:middle;margin-right:4px;object-fit:contain;}
.pg-team-fx-venue{
  flex-shrink:0;font-family:var(--font-mono);font-size:11px;color:var(--text-muted);
  text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;
}

/* --- Results (recent) rows --- */
.pg-team-rs-list{display:flex;flex-direction:column;}
.pg-team-rs-row{
  display:flex;align-items:center;gap:var(--space-4);
  border-bottom:1px solid var(--border);padding:16px 8px;
  text-decoration:none;color:inherit;transition:background .15s ease;
}
a.pg-team-rs-row:hover{background:var(--card-bg);}
.pg-team-rs-badge{
  flex-shrink:0;width:34px;height:34px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:15px;
  border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text-muted);
}
.pg-team-rs-badge.is-w{
  color:var(--green);
  border-color:color-mix(in srgb, var(--green) 55%, transparent);
  background:color-mix(in srgb, var(--green) 14%, transparent);
}
.pg-team-rs-badge.is-l{
  color:var(--red);
  border-color:color-mix(in srgb, var(--red) 55%, transparent);
  background:color-mix(in srgb, var(--red) 14%, transparent);
}
.pg-team-rs-date{
  flex-shrink:0;min-width:56px;
  font-family:var(--font-mono);font-size:13px;color:var(--text-gray);letter-spacing:.02em;
}
.pg-team-rs-opp{
  flex:1 1 auto;min-width:0;
  font-family:var(--font-body);font-size:15px;font-weight:500;color:var(--text-white);
}
.pg-team-rs-opp img{vertical-align:middle;margin-right:4px;object-fit:contain;}
.pg-team-rs-score{
  flex-shrink:0;font-family:var(--font-mono);font-size:15px;white-space:nowrap;color:var(--text-gray);
}
.pg-team-rs-score.is-w{color:var(--green);}
.pg-team-rs-score.is-l{color:var(--text-muted);}

/* --- Roster grid --- */
.pg-team-roster-grid{
  display:grid;grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));gap:16px;
}
.pg-team-player-card{
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-md);
  text-decoration:none;color:inherit;
  transition:border-color .15s ease;
}
.pg-team-player-card:hover{
  border-color:var(--card-border-hover);
}
.pg-team-player-thumb{
  position:relative;height:160px;overflow:hidden;
  background:var(--card-bg-elevated);
}
.pg-team-player-glow{ display:none; }
.pg-team-player-num{
  position:absolute;top:12px;left:16px;z-index:1;line-height:1;
  font-family:var(--font-display);font-size:40px;
  color:color-mix(in srgb, var(--text-white) 14%, transparent);
}
.pg-team-player-init{
  position:absolute;inset:0;z-index:2;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:58px;color:var(--text-white);letter-spacing:1px;
}
.pg-team-player-info{display:flex;flex-direction:column;gap:5px;padding:14px 16px;}
.pg-team-player-name{
  font-family:var(--font-display);font-size:19px;text-transform:uppercase;
  color:var(--text-white);letter-spacing:.5px;line-height:1.05;
}
.pg-team-player-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:14px;}
.pg-team-player-pos{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text-gray);
}
.pg-team-player-jersey{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.05em;color:var(--primary);
}

/* --- Tablet --- */
@media (max-width:900px){
  .pg-team-hero-inner{gap:var(--space-5);padding:var(--space-6) var(--space-5);}
  .pg-team-crest{width:104px;height:104px;}
  .pg-team-crest-init{font-size:36px;}
  .pg-team-roster-grid{grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));gap:12px;}
  .pg-team-player-thumb{height:150px;}
  .pg-team-player-init{font-size:52px;}
}

/* --- Mobile --- */
@media (max-width:560px){
  .pg-team-hero{margin:var(--space-5) 0 var(--space-6);}
  .pg-team-hero-inner{flex-direction:column;align-items:flex-start;gap:var(--space-4);padding:var(--space-5) var(--space-4);}
  .pg-team-crest{width:84px;height:84px;border-width:2px;}
  .pg-team-crest-init{font-size:30px;}
  .pg-team-name-suffix{display:block;margin-top:6px;}
  .pg-team-rec{gap:10px;}
  .pg-team-about{padding:var(--space-4) var(--space-4);}
  .pg-team-fx-row{flex-wrap:wrap;gap:10px 14px;padding:14px;}
  .pg-team-fx-date{min-width:auto;}
  .pg-team-fx-opp{flex-basis:100%;order:3;}
  .pg-team-fx-venue{order:2;}
  .pg-team-rs-date{display:none;}
  .pg-team-roster-grid{grid-template-columns:repeat(2, 1fr);gap:10px;}
  .pg-team-player-thumb{height:124px;}
  .pg-team-player-num{font-size:32px;top:10px;left:12px;}
  .pg-team-player-init{font-size:44px;}
  .pg-team-player-name{font-size:17px;}
}

/* ============ PAGE: accuracy ============ */
/* ===== Accuracy page (dark near-black + violet) ===== */
/* Eyebrow — Geist Mono uppercase, violet (reused across page sections) */
.pg-accuracy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-gray);
}
.pg-accuracy-eyebrow time { color: inherit; }
.pg-accuracy-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* Hero — big Anton stat */
.pg-accuracy-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding-bottom: var(--space-10, 40px);
    border-bottom: 1px solid var(--border);
}
.pg-accuracy-hero-h1 {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 0.9;
}
.pg-accuracy-hero-big {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(4.5rem, 16vw, 11.5rem);
    line-height: 0.86;
    color: var(--text-white);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}
.pg-accuracy-hero-label {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 4.2vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--primary);
}
.pg-accuracy-hero-h1--text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 6vw, 3.6rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-white);
}
.pg-accuracy-hero-sub {
    margin: 0;
    max-width: 480px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text-gray);
}

/* Hero mini-stats strip */
.pg-accuracy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 5vw, 48px);
    margin-top: var(--space-2);
}
.pg-accuracy-mini { display: flex; flex-direction: column; gap: 3px; }
.pg-accuracy-mini-num {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--text-white);
    font-variant-numeric: tabular-nums;
}
.pg-accuracy-mini-lbl {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray);
}
.pg-accuracy-mini-sub {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Trust row */
.pg-accuracy-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-top: var(--space-2);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--text-gray);
}
.pg-accuracy-trust--center { justify-content: center; }
.pg-accuracy-trust-item { display: inline-flex; align-items: center; gap: 7px; }
.pg-accuracy-trust-item b { color: var(--text-white); font-weight: 700; }
.pg-accuracy-tick {
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.16);
    color: var(--primary);
    font-size: 0.62rem;
    flex-shrink: 0;
}
.pg-accuracy-trust-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.74rem;
}
.pg-accuracy-trust-link:hover { color: var(--primary-hover); }

/* Section head (eyebrow + title) */
.pg-accuracy-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-5, 24px);
}
.pg-accuracy-head .section-title { margin-bottom: 0; padding-bottom: 0; }
.pg-accuracy-head .section-title::after { display: none; }

/* Model comparison — bordered card with horizontal violet bars */
.pg-accuracy-compare {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2px clamp(16px, 3vw, 32px);
}
.pg-accuracy-compare-head,
.pg-accuracy-compare-row {
    display: grid;
    grid-template-columns: minmax(130px, 220px) minmax(0, 1fr) 96px;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--border);
}
.pg-accuracy-compare-head { padding: 16px 0; }
.pg-accuracy-compare-row { padding: 18px 0; }
.pg-accuracy-compare-row:last-child { border-bottom: none; }
.pg-accuracy-col {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.pg-accuracy-col--end { text-align: right; }
.pg-accuracy-compare-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--text-gray);
    min-width: 0;
}
.pg-accuracy-compare-row--top .pg-accuracy-compare-name { color: var(--text-white); }
.pg-accuracy-top {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.35);
    padding: 3px 7px;
    border-radius: 999px;
    white-space: nowrap;
}
.pg-accuracy-bar { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pg-accuracy-bar-track {
    flex: 1 1 auto;
    height: 14px;
    min-width: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.pg-accuracy-bar-fill {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: rgba(139, 92, 246, 0.42);
}
.pg-accuracy-bar-fill.is-top {
    background: var(--primary);
}
.pg-accuracy-bar-val {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-white);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.pg-accuracy-bar-val.is-top { color: var(--primary); }
.pg-accuracy-compare-sample {
    text-align: right;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-gray);
    font-variant-numeric: tabular-nums;
}

/* Surface bars (sport-neutral; usually empty for basketball) */
.pg-accuracy-sbars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: clamp(18px, 3vw, 28px) clamp(16px, 3vw, 32px);
}
.pg-accuracy-sbar { display: grid; grid-template-columns: 120px 1fr 56px; align-items: center; gap: 16px; }
.pg-accuracy-sbar-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-gray);
}
.pg-accuracy-sbar-track {
    height: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.pg-accuracy-sbar-fill { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.pg-accuracy-sbar-val {
    text-align: right;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-white);
    font-variant-numeric: tabular-nums;
}

/* Breakdown tables — numeric cols + in-cell accuracy bar (over shared .data-table) */
.pg-accuracy-num {
    text-align: right !important;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--text-gray);
    white-space: nowrap;
}
.pg-accuracy-tbar { display: flex; align-items: center; gap: 12px; min-width: 160px; }
.pg-accuracy-tbar-track {
    flex: 1 1 auto;
    height: 10px;
    min-width: 40px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.pg-accuracy-tbar-fill { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.pg-accuracy-tbar-val {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-white);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    min-width: 48px;
    text-align: right;
}

/* Premium upsell card */
.pg-accuracy-premium {
    text-align: center;
    padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.pg-accuracy-premium-title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-transform: uppercase;
    color: var(--text-white);
}
.pg-accuracy-premium-text {
    margin: 0 auto 20px;
    max-width: 560px;
    color: var(--text-gray);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Closing promise band */
.pg-accuracy-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.pg-accuracy-band .pg-accuracy-eyebrow { letter-spacing: 0.24em; }
.pg-accuracy-band-h {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 6.5vw, 4rem);
    line-height: 1.02;
    text-transform: uppercase;
    color: var(--text-white);
    max-width: 900px;
}
.pg-accuracy-band-sub {
    margin: 0;
    max-width: 620px;
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.55;
}

.pg-accuracy-empty {
    text-align: center;
    padding: var(--space-8) 0;
    color: var(--text-gray);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}

/* Tablet */
@media (max-width: 900px) {
    .pg-accuracy-hero-big { font-size: clamp(3.6rem, 18vw, 7rem); }
    .pg-accuracy-compare-head,
    .pg-accuracy-compare-row { grid-template-columns: minmax(110px, 180px) minmax(0, 1fr) 80px; gap: 14px; }
    .pg-accuracy-sbar { grid-template-columns: 96px 1fr 52px; gap: 12px; }
}

/* Mobile */
@media (max-width: 560px) {
    .pg-accuracy-hero { align-items: flex-start; }
    .pg-accuracy-hero-big { font-size: clamp(3rem, 24vw, 5rem); }
    .pg-accuracy-hero-label { font-size: clamp(1.2rem, 7vw, 1.8rem); }
    .pg-accuracy-meta { gap: 20px 28px; }
    .pg-accuracy-mini-num { font-size: 1.5rem; }

    /* stack model rows: name on top, bar + sample below */
    .pg-accuracy-compare { padding: 2px 16px; }
    .pg-accuracy-compare-head { display: none; }
    .pg-accuracy-compare-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 0;
    }
    .pg-accuracy-compare-name { justify-content: space-between; }
    .pg-accuracy-compare-sample {
        text-align: left;
        order: 3;
        color: var(--text-muted);
    }
    .pg-accuracy-sbar { grid-template-columns: 80px 1fr 46px; gap: 10px; }
    .pg-accuracy-sbar-label { font-size: 0.7rem; }
    .pg-accuracy-tbar { min-width: 120px; gap: 8px; }
    .pg-accuracy-band-h { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}

/* ============ PAGE: premium ============ */
/* ============================================================
   Premium page (templates/pages/premium.html) — dark + violet
   All classes prefixed .pg-premium-. Tokens only; color-mix for
   violet tints. No :root or shared-class redefinition.
   ============================================================ */

/* Stripe status banner — hidden by default; JS sets display:block + inline colors */
.pg-premium-banner { display: none; margin: var(--space-4) 0 0; padding: 14px 18px; border: 1px solid var(--card-border); background: var(--card-bg); border-radius: var(--radius-md); font-size: 0.92rem; font-weight: 600; color: var(--text-gray); }

/* ---- Shared eyebrow + headings ---- */
.pg-premium-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); }
.pg-premium-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex-shrink: 0; box-shadow: 0 0 10px var(--primary); }
.pg-premium-h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.02; letter-spacing: 0.01em; text-transform: uppercase; color: var(--text-white); margin: 12px 0 0; }
.pg-premium-sec-sub { color: var(--text-gray); font-family: var(--font-body); font-size: 0.98rem; line-height: 1.55; margin: 12px 0 0; max-width: 560px; }

/* ---- Buttons ---- */
.pg-premium-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 28px; border-radius: 100px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.pg-premium-btn-primary { background: var(--primary); color: var(--text-white); box-shadow: 0 8px 26px color-mix(in srgb, var(--primary) 36%, transparent); }
.pg-premium-btn-primary:hover { background: var(--primary-hover); color: var(--text-white); }
.pg-premium-btn-primary:active { transform: translateY(0); }
.pg-premium-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.pg-premium-btn-ghost { background: transparent; color: var(--text-white); border-color: var(--border); }
.pg-premium-btn-ghost:hover { border-color: color-mix(in srgb, var(--primary) 55%, transparent); color: var(--text-white); background: var(--primary-glow); }
.pg-premium-btn-block { width: 100%; margin-top: auto; }
.pg-premium-arrow { transition: transform 0.2s ease; }
.pg-premium-btn:hover .pg-premium-arrow { transform: translateX(4px); }

/* ---- Hero ---- */
.pg-premium-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px); margin-top: var(--space-2); }
.pg-premium-hero-glow { position: absolute; top: -30%; left: 35%; width: 70%; height: 130%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 70%); filter: blur(8px); pointer-events: none; z-index: 0; }
.pg-premium-hero > *:not(.pg-premium-hero-glow) { position: relative; z-index: 1; }
.pg-premium-h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 10vw, 6.4rem); line-height: 0.92; letter-spacing: 0; text-transform: uppercase; color: var(--text-white); margin: 18px 0 0; }
.pg-premium-lede { color: var(--text-gray); font-family: var(--font-body); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.55; max-width: 540px; margin: 22px 0 0; }
.pg-premium-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.pg-premium-actions-center { justify-content: center; }

/* hero stat strip */
.pg-premium-stats { display: flex; gap: 0; margin-top: 40px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; max-width: 560px; }
.pg-premium-stat { flex: 1; display: flex; flex-direction: column; gap: 4px; padding-right: var(--space-6); }
.pg-premium-stat + .pg-premium-stat { padding-left: var(--space-6); border-left: 1px solid var(--border); }
.pg-premium-stat strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--text-white); }
.pg-premium-stat-unit { font-size: 1rem; color: var(--primary); margin-left: 1px; }
.pg-premium-stat span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-gray); }

/* ---- Generic section ---- */
.pg-premium-sec { padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--border); }
.pg-premium-sec-head { margin-bottom: 34px; }

/* ---- Features grid ---- */
.pg-premium-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pg-premium-feat { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color 0.2s ease, transform 0.2s ease; }
.pg-premium-feat:hover { border-color: color-mix(in srgb, var(--primary) 45%, transparent); }
.pg-premium-feat-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; background: var(--bg-dark); border: 1px solid var(--border); color: var(--primary); flex-shrink: 0; }
.pg-premium-feat-title { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; color: var(--text-white); }
.pg-premium-feat-desc { font-family: var(--font-body); font-size: 0.92rem; line-height: 1.55; color: var(--text-gray); }

/* ---- Pricing cards ---- */
.pg-premium-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 760px; margin: 0 auto; align-items: stretch; }
.pg-premium-plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pg-premium-plan-rec { border-color: color-mix(in srgb, var(--primary) 55%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 12%, transparent) 0%, var(--card-bg) 60%); box-shadow: 0 18px 50px color-mix(in srgb, var(--primary) 16%, transparent); }
.pg-premium-plan-badge { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; background: var(--primary); color: var(--text-white); }
.pg-premium-plan-name { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-gray); }
.pg-premium-plan-rec .pg-premium-plan-name { color: var(--primary); }
.pg-premium-plan-price { font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--text-white); margin: 10px 0 22px; }
.pg-premium-plan-per { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--text-gray); margin-left: 6px; }
.pg-premium-plan-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pg-premium-plan-list li { position: relative; padding-left: 26px; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.4; color: var(--text-white); }
.pg-premium-plan-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.pg-premium-plan:not(.pg-premium-plan-rec) .pg-premium-plan-list li::before { color: var(--text-gray); }
.pg-premium-plan-li-muted { color: var(--text-gray) !important; }
.pg-premium-plan-li-muted::before { content: "\2014" !important; color: var(--text-muted) !important; }
.pg-premium-plan-cta-current { display: block; width: 100%; margin-top: auto; padding: 14px 24px; text-align: center; border: 1px dashed var(--border); border-radius: 100px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.pg-premium-plans-foot { text-align: center; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--text-muted); margin-top: 22px; }

/* ---- Comparison table (scopes shared .data-table) ---- */
.pg-premium-compare .data-table td, .pg-premium-compare .data-table th { text-align: center; vertical-align: middle; }
.pg-premium-compare .data-table td:first-child, .pg-premium-compare .data-table th:first-child { text-align: left; }
.pg-premium-compare .data-table th.pg-premium-col-prem { color: var(--primary); }
.pg-premium-compare .data-table th:nth-child(3), .pg-premium-compare .data-table td:nth-child(3) { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.pg-premium-tick { color: var(--primary); font-weight: 700; font-size: 1.02rem; }
.pg-premium-tick-free { color: var(--text-gray); font-weight: 700; font-size: 1.02rem; }
.pg-premium-dash { color: var(--text-muted); }
.pg-premium-note { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; font-weight: 400; line-height: 1.35; }

/* ---- Final CTA band ---- */
.pg-premium-band { position: relative; overflow: hidden; margin-top: clamp(44px, 6vw, 72px); padding: clamp(48px, 7vw, 84px) var(--space-6); border-radius: var(--radius-lg); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); background: radial-gradient(120% 120% at 50% -20%, color-mix(in srgb, var(--primary) 20%, transparent) 0%, var(--card-bg) 60%); text-align: center; }
.pg-premium-band-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.pg-premium-band-h { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; color: var(--text-white); margin: 0; }
.pg-premium-band-sub { font-family: var(--font-body); font-size: 1.02rem; color: var(--text-gray); margin: 18px 0 28px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .pg-premium-features { grid-template-columns: repeat(2, 1fr); }
    .pg-premium-h1 { font-size: clamp(2.8rem, 13vw, 5rem); }
}
@media (max-width: 720px) {
    .pg-premium-plans { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 560px) {
    .pg-premium-features { grid-template-columns: 1fr; }
    .pg-premium-stats { flex-wrap: wrap; gap: 16px; }
    .pg-premium-stat { flex: 0 0 calc(50% - 8px); padding: 0; }
    .pg-premium-stat + .pg-premium-stat { padding-left: 0; border-left: none; }
    .pg-premium-actions .pg-premium-btn { flex: 1 1 100%; }
    .pg-premium-band-h { font-size: clamp(2rem, 9vw, 3rem); }
}

/* ============ PAGE: profile ============ */
/* ===================== Profile page (pg-profile-) ===================== */
.pg-profile { padding-top: var(--space-6); padding-bottom: var(--space-12); }

/* Logged-out gate */
.pg-profile-gate { display: none; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); padding: var(--space-16) var(--space-4); }
.pg-profile-gate-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; font-size: clamp(2rem, 6vw, 3rem); color: var(--text-white); margin: 0; }
.pg-profile-gate-text { color: var(--text-gray); font-size: 0.95rem; margin: 0; max-width: 36ch; }
.pg-profile-gate .btn-hero-cta { margin: var(--space-3) 0 0; }

/* Eyebrow (Geist Mono uppercase label) */
.pg-profile-eyebrow { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-gray); }

/* Identity header */
.pg-profile-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8) 0 var(--space-6); }
.pg-profile-id { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.pg-profile-avatar { flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; background: var(--card-bg-elevated); border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.9rem; color: var(--primary); }
.pg-profile-who { min-width: 0; }
.pg-profile-name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.5px; font-size: clamp(1.7rem, 4.2vw, 2.3rem); line-height: 1.05; color: var(--text-white); margin: 0; overflow-wrap: anywhere; }
.pg-profile-handle { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--text-gray); margin-top: 6px; word-break: break-word; }
.pg-profile-acc { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; text-align: right; }
.pg-profile-acc-num { font-family: var(--font-display); font-weight: 400; line-height: 0.9; font-size: clamp(2.8rem, 7vw, 4rem); color: var(--primary); font-variant-numeric: tabular-nums; }
.pg-profile-acc-label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-gray); margin-top: 6px; }
.pg-profile-acc-sub { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* Stat tiles */
.pg-profile-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.pg-profile-tile { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pg-profile-tile-num { font-family: var(--font-display); font-weight: 400; line-height: 1; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--text-white); font-variant-numeric: tabular-nums; text-transform: uppercase; overflow-wrap: anywhere; }
.pg-profile-tile--accent .pg-profile-tile-num { color: var(--primary); }
.pg-profile-tile--magenta .pg-profile-tile-num { color: var(--text-white); }
.pg-profile-tile-label { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-gray); }
.pg-profile-tile-sub { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }

/* My picks — rows are JS-injected .pred-row (styled globally in styles.css) */
.pg-profile-picks { margin-top: 4px; }
.pg-profile-notes { display: flex; flex-direction: column; gap: 8px; }

/* Subscription + Referral cards */
.pg-profile-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.pg-profile-promo { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.pg-profile-promo-desc { color: var(--text-gray); font-size: 0.9rem; line-height: 1.55; margin: 0; }
.pg-profile-promo .btn-hero-cta { margin: 4px 0 0; }
.pg-profile-copy { display: flex; align-items: center; gap: 8px; width: 100%; background: var(--bg-darker); border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 6px 6px 6px 16px; }
.pg-profile-copy code { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 1rem; font-weight: 700; letter-spacing: 0.12em; color: var(--text-white); background: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-profile-copy-btn { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; background: var(--primary); border: 0; border-radius: var(--radius-sm); padding: 10px 16px; cursor: pointer; transition: background 0.2s; }
.pg-profile-copy-btn:hover { background: var(--primary-hover); }

/* Account actions list */
.pg-profile-actions { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; margin-top: var(--space-8); }
.pg-profile-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 16px var(--space-6); background: none; border: 0; color: var(--text-white); font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.pg-profile-action:hover { background: var(--card-bg-elevated); }
.pg-profile-action svg { width: 16px; height: 16px; opacity: 0.5; flex-shrink: 0; }
.pg-profile-action--danger { color: var(--red); }

/* Tablet */
@media (max-width: 900px) {
  .pg-profile-tiles { grid-template-columns: repeat(2, 1fr); }
  .pg-profile-cards { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 560px) {
  .pg-profile-head { flex-direction: column; align-items: flex-start; gap: var(--space-4); padding-top: var(--space-6); }
  .pg-profile-acc { align-items: flex-start; text-align: left; }
  .pg-profile-avatar { width: 64px; height: 64px; font-size: 1.5rem; }
  .pg-profile-tiles { gap: var(--space-3); }
  .pg-profile-tile { padding: var(--space-4); }
}

/* ============ PAGE: auth ============ */
/* ============================================================
   AUTH PAGE (/login/) — dark arena two-pane, violet accents
   All classes prefixed .pg-auth-* ; tokens only, no :root edits
   ============================================================ */
.pg-auth-page { width: 100%; }

.pg-auth-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100vh - 140px);
    background: var(--bg-dark);
}

/* ---- Left: arena brand panel ---- */
.pg-auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-5);
    padding: clamp(28px, 4vw, 56px);
    background-color: var(--bg-darker);
    background-image: linear-gradient(160deg, var(--card-bg-elevated) 0%, var(--bg-darker) 72%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.pg-auth-brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,8,11,0.35) 0%, rgba(11,11,15,0.72) 70%, rgba(11,11,15,0.9) 100%);
    pointer-events: none;
}
.pg-auth-brand > * { position: relative; z-index: 1; }
.pg-auth-logo img { height: 34px; width: auto; display: block; }

.pg-auth-brand-bottom { display: flex; flex-direction: column; gap: var(--space-4); }
.pg-auth-eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
}
.pg-auth-display {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 0.92;
    letter-spacing: 0.01em;
    color: var(--text-white);
    margin: 0;
    max-width: 12ch;
}
.pg-auth-brand-para {
    color: var(--text-gray);
    max-width: 44ch;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}
.pg-auth-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pg-auth-bullets li { display: flex; align-items: center; gap: 10px; color: var(--text-white); font-size: 0.92rem; }
.pg-auth-bullet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }

.pg-auth-stats { display: flex; gap: var(--space-5); flex-wrap: wrap; padding-top: var(--space-2); }
.pg-auth-stat { display: flex; flex-direction: column; gap: 2px; }
.pg-auth-stat-num { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--text-white); }
.pg-auth-stat-label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.64rem; color: var(--text-gray); }

/* ---- Right: form card ---- */
.pg-auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 5vw, 56px);
    background: var(--bg-dark);
}
.pg-auth-card {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
}
.pg-auth-ad { margin: 0; }
.pg-auth-ad:empty, .pg-auth-ad[hidden] { display: none; }

.pg-auth-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-darker);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 4px;
}
.pg-auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: 0.74rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.pg-auth-tab:hover { color: var(--text-white); }
.pg-auth-tab.active { background: var(--primary); color: #fff; }

.pg-auth-heading { display: flex; flex-direction: column; gap: 6px; }
.pg-auth-card-eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-gray);
}
.pg-auth-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1;
    color: var(--text-white);
    margin: 0;
}
.pg-auth-subtitle { color: var(--text-gray); font-size: 0.95rem; margin: 0; }

.pg-auth-error {
    background: rgba(226, 72, 61, 0.12);
    border: 1px solid rgba(226, 72, 61, 0.40);
    color: var(--red);
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    line-height: 1.4;
}
.pg-auth-error[hidden] { display: none !important; }

#login-form { display: flex; flex-direction: column; gap: var(--space-3); }
.pg-auth-field { display: flex; flex-direction: column; gap: 7px; }
.pg-auth-field[hidden], .pg-auth-age[hidden] { display: none !important; }
.pg-auth-field label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-gray);
}
.pg-auth-field input {
    width: 100%;
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    background: var(--bg-darker);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.pg-auth-field input::placeholder { color: var(--text-muted); }
.pg-auth-field input:focus {
    outline: none;
    border-color: var(--primary);
}

/* password field + eye toggle */
.pg-auth-input-wrap { position: relative; display: flex; }
.pg-auth-input-wrap input { padding-right: 46px; }
.pg-auth-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.18s, background 0.18s;
}
.pg-auth-eye:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.pg-auth-eye svg { width: 18px; height: 18px; }
.pg-auth-eye .pg-auth-eye-off { display: none; }
.pg-auth-eye.is-on .pg-auth-eye-on { display: none; }
.pg-auth-eye.is-on .pg-auth-eye-off { display: block; }

.pg-auth-age {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.45;
    cursor: pointer;
}
.pg-auth-age input { width: 16px; height: 16px; accent-color: var(--primary); margin-top: 1px; flex: none; }

.pg-auth-forgot {
    align-self: flex-end;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.18s;
}
.pg-auth-forgot:hover { color: var(--primary); }

.pg-auth-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #fff;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 2px;
    transition: background 0.18s;
}
.pg-auth-submit:hover { background: var(--primary-hover); }
.pg-auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.pg-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.64rem;
    color: var(--text-muted);
}
.pg-auth-divider::before, .pg-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--card-border); }

.pg-auth-social { display: flex; gap: 10px; }
.pg-auth-social-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 14px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    background: var(--card-bg-elevated);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.pg-auth-social-btn:hover { border-color: var(--text-gray); }
.pg-auth-social-btn svg { width: 18px; height: 18px; flex: none; }

.pg-auth-footer { font-size: 0.72rem; color: var(--text-muted); text-align: center; line-height: 1.55; margin: 0; }

/* ---- Tablet ---- */
@media (max-width: 900px) {
    .pg-auth-split { grid-template-columns: 1fr; min-height: 0; }
    .pg-auth-brand {
        min-height: 320px;
        justify-content: flex-end;
        gap: var(--space-4);
        padding: clamp(22px, 5vw, 40px);
    }
    .pg-auth-brand-top { position: absolute; top: clamp(20px, 4vw, 32px); left: clamp(20px, 5vw, 40px); }
    .pg-auth-display { font-size: clamp(2.2rem, 8vw, 3.2rem); max-width: none; }
    .pg-auth-form-wrap { padding: clamp(24px, 6vw, 40px) clamp(16px, 5vw, 28px); }
}

/* ---- Mobile ---- */
@media (max-width: 560px) {
    .pg-auth-brand { min-height: 260px; }
    .pg-auth-brand-para { display: none; }
    .pg-auth-bullets { display: none; }
    .pg-auth-stats { gap: var(--space-4); }
    .pg-auth-stat-num { font-size: 1.45rem; }
    .pg-auth-card { max-width: 100%; gap: var(--space-3); padding: clamp(20px, 5vw, 28px); }
    .pg-auth-social { flex-direction: column; }
}

/* ============ PAGE: leagues ============ */
/* ============================================================
   LEAGUES LISTING (tournaments_listing.html) — dark + violet
   prefix: .pg-leagues-  | tokens only, no :root / shared redefs
   ============================================================ */

/* — Hero header — */
.pg-leagues-hero { padding: var(--space-9) 0 var(--space-6); }
.pg-leagues-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-gray);
  margin-bottom: var(--space-3);
}
.pg-leagues-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0;
}
.pg-leagues-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.9rem, 10vw, 6.5rem); line-height: 0.92;
  letter-spacing: 0; text-transform: uppercase; color: var(--text-white);
  margin: 0 0 var(--space-3);
}
.pg-leagues-sub {
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.55;
  color: var(--text-gray); max-width: 640px; margin: 0;
}

/* — Featured league card — */
.pg-leagues-featured-section { margin-bottom: var(--space-6); }
.pg-leagues-featured {
  display: flex; align-items: center; gap: var(--space-7);
  background: var(--card-bg); border: 1px solid var(--card-border, var(--border));
  border-radius: var(--radius-md); padding: var(--space-6);
  text-decoration: none; transition: border-color .2s;
}
.pg-leagues-featured:hover {
  border-color: var(--card-border-hover);
}
.pg-leagues-crest {
  width: 200px; min-width: 200px; height: 150px; flex-shrink: 0;
  border-radius: var(--radius-md); padding: var(--space-4);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pg-leagues-crest-logo {
  max-width: 100px; max-height: 100px; object-fit: contain;
  background: #fff; border-radius: 12px; padding: 10px;
}
.pg-leagues-crest-text {
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
  color: var(--bg-dark); text-transform: uppercase; text-align: center;
  word-break: break-word;
}
.pg-leagues-featured-body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.pg-leagues-featured-eyebrow {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-gray);
}
.pg-leagues-featured-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 0.95;
  text-transform: uppercase; color: var(--text-white); margin: 0;
}
.pg-leagues-featured-desc {
  font-family: var(--font-body); font-size: 0.95rem; line-height: 1.6;
  color: var(--text-gray); margin: 0; max-width: 60ch;
}
.pg-leagues-track {
  display: block; width: 100%; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,0.08); overflow: hidden; margin-top: var(--space-1);
}
.pg-leagues-fill {
  display: block; height: 100%; width: 72%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}
.pg-leagues-cta { align-self: flex-start; margin: var(--space-3) 0 0; }

/* — Secondary / coming-soon grid — */
.pg-leagues-grid-section { margin-bottom: var(--space-6); }
.pg-leagues-more-label {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.pg-leagues-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
}
.pg-leagues-card {
  display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--card-bg); border: 1px solid var(--card-border, var(--border));
  border-radius: var(--radius-md); padding: var(--space-5);
  text-decoration: none; transition: border-color .2s, opacity .2s;
}
.pg-leagues-card:hover { border-color: var(--card-border-hover); }
.pg-leagues-card--soon { opacity: 0.6; }
.pg-leagues-card--soon:hover { opacity: 1; }
.pg-leagues-card-badge {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pg-leagues-card-badge img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.pg-leagues-card-name {
  font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1;
  text-transform: uppercase; color: var(--text-gray); margin: 0;
}
.pg-leagues-card:hover .pg-leagues-card-name { color: var(--text-white); }
.pg-leagues-card-meta {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin: 0; line-height: 1.4;
}
.pg-leagues-card-track {
  display: block; width: 100%; height: 8px; border-radius: 999px;
  background: rgba(255,255,255,0.08); margin-top: auto;
}

/* — Long-form info wrapper — */
.pg-leagues-info { max-width: 780px; }

/* ============ PAGE: tournament ============ */
/* Restrained header (was the plain shared .hero) */
.pg-tournament-hero { background: none; border: none; box-shadow: none; padding: var(--space-9) 0 var(--space-6); margin-bottom: var(--space-2); border-bottom: 1px solid var(--card-border); text-align: left; }
.pg-tournament-hero .hero-content { max-width: 820px; margin: 0; padding: 0; background: none; border: none; box-shadow: none; align-items: flex-start; text-align: left; }
.pg-tournament-hero .hero-content::before, .pg-tournament-hero .hero-content::after { display: none; }
.pg-tournament-hero h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 0.95; letter-spacing: 0; color: var(--text-white); text-align: left; margin: 0 0 var(--space-3); }
.pg-tournament-hero > .hero-content > p { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-gray); max-width: 60ch; margin: 0 0 var(--space-2); text-align: left; }
.pg-tournament-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-gray); margin-bottom: var(--space-3); }
.pg-tournament-eyebrow img { border-radius: 50%; object-fit: contain; }

/* — Tablet — */
@media (max-width: 900px) {
  .pg-leagues-featured { flex-direction: column; align-items: stretch; gap: var(--space-5); }
  .pg-leagues-crest { width: 100%; min-width: 0; height: 130px; }
  .pg-leagues-grid { grid-template-columns: repeat(2, 1fr); }
}

/* — Mobile — */
@media (max-width: 560px) {
  .pg-leagues-hero { padding: var(--space-6) 0 var(--space-5); }
  .pg-leagues-featured { padding: var(--space-5); }
  .pg-leagues-grid { grid-template-columns: 1fr; }
}

/* Hide off-brand promo banner (photo-free re-skin; photos are a later pass) */
.hero-banner { display: none; }
