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

        :root {
            /* Fonts — Court Editorial theme (tennis-screens.pen).
               base.html's inline :root (loaded after this file) is authoritative;
               these mirror it so this file is self-consistent in isolation. */
            --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
            --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
            --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

            /* Colors — primary: clay terracotta ($hot) — CTA / links */
            --primary: #C8502A;
            --primary-hover: #B8431F;
            --primary-glow: rgba(200,80,42,0.16);

            /* Colors — accents */
            --accent-orange: #D45B33;
            --accent-purple: #D7E426;  /* $highlight — tennis-ball lime (bg/underline use only) */
            --accent-gold: #A8821F;
            --accent-gold-light: #C29A2E;

            /* State */
            --green: #1F6E43;
            --green-bright: #2E8F58;
            --red: #C0392B;
            --amber: #A8821F;

            /* Surfaces — cream paper (names unchanged from dark era) */
            --bg-dark: #F7F3EA;
            --bg-darker: #EFE9DC;
            --card-bg: #EFE9DC;
            --card-bg-elevated: #E9E2D1;
            --card-border: rgba(18,53,36,0.12);
            --border: rgba(18,53,36,0.12);

            /* Paper (light-on-dark fills reuse the page bg tone) */
            --paper: #F7F3EA;

            /* Text — court-green ink */
            --text-white: #123524;
            --text-gray: #5F6B5C;
            --text-muted: #616C5E;

            /* Predictions — branded (2-way: home clay, away court green) */
            --pred-home: #C8502A;
            --pred-draw: #A8821F;
            --pred-away: #1F6E43;

            /* Surface chips */
            --chip-hard: #2E6FB5;
            --chip-clay: #C8502A;
            --chip-grass: #1F6E43;

            /* Spacing */
            --space-1: 4px;
            --space-2: 8px;
            --space-3: 12px;
            --space-4: 16px;
            --space-6: 24px;
            --space-8: 32px;
            --space-12: 48px;
            --space-16: 64px;

            /* Radius */
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-dark);
            color: var(--text-white);
            min-height: 100vh;
            line-height: 1.6;
            overflow-x: hidden;
        }

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

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

        /* Header — flat cream, hairline bottom (Court Editorial) */
        .header {
            background: var(--bg-dark);
            padding: 12px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border);
            transition: box-shadow 0.3s ease;
        }
        .header-scrolled { box-shadow: 0 2px 16px rgba(18, 53, 36, 0.08); }
        .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.25rem;
            font-weight: 600;
            color: var(--text-white);
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .logo:hover { color: var(--text-white); }
        .logo-mark { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
        .nav { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
        .nav a {
            color: var(--text-gray);
            padding: 8px 12px;
            border-radius: var(--radius-sm);
            font-size: 0.875rem;
            font-weight: 500;
            position: relative;
        }
        .nav a::after { content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px; height: 2px; background: var(--accent-purple); 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: transparent; }
        .nav a.active, .nav a[aria-current="page"] { color: var(--text-white); font-weight: 600; }
        .nav a.active::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

        /* 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(18,53,36,0.12);
        }
        .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: none;
            padding: 40px;
            z-index: 2;
        }

        .hero h1 {
            font-family: var(--font-display);
            font-size: clamp(2.2rem, 5vw, 3.6rem);
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 10px;
            line-height: 1.08;
            letter-spacing: -0.01em;
            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-gray);
            font-size: clamp(1rem, 2vw, 1.15rem);
            max-width: 700px;
            margin: 0 auto 30px;
        }
        /* ── 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: var(--card-bg); transition: border-color 0.2s, color 0.2s; }
        .hero-chip:hover { color: var(--text-white); border-color: var(--green); }
        .hero-chip--tour { color: var(--paper); background: var(--text-white); border-color: var(--text-white); }
        .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-mono); font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 500; line-height: 1; color: var(--text-white); font-variant-numeric: tabular-nums; }
        .hero-stat-label { font-family: var(--font-body); font-size: 0.78rem; color: var(--text-gray); }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--primary);
            color: var(--paper) !important;
            padding: 14px 24px;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 0.95rem;
            transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }
        .cta-button:hover {
            transform: translateY(-1px);
            background: var(--primary-hover);
            box-shadow: 0 6px 18px var(--primary-glow);
        }
        .cta-button:active { transform: translateY(0); }

        /* Sections — editorial: left-aligned Fraunces titles, mono eyebrows,
           full-width hairline separators */
        .section { padding: var(--space-12) 0; }
        .section + .section { border-top: 1px solid var(--border); position: relative; margin-top: 0; }
        .section-eyebrow {
            font-family: var(--font-mono);
            font-size: 0.72rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.14em;
            color: var(--primary);
            margin-bottom: var(--space-2);
            display: block;
        }
        .section-title {
            font-family: var(--font-display);
            font-size: 1.9rem;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: var(--space-6);
            text-align: left;
            letter-spacing: -0.01em;
        }
        .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }
        .section-head .section-title { margin-bottom: 0; }
        .section-link { font-size: 0.875rem; font-weight: 600; color: var(--primary); white-space: nowrap; }

        /* 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.4s, border-color 0.4s, transform 0.4s;
        }
        .card:hover {
            background: var(--card-bg-elevated);
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        .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;
            box-shadow: 0 4px 15px rgba(224, 165, 42, 0.25);
        }
        .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;
            box-shadow: 0 5px 15px rgba(194, 86, 46, 0.2);
        }

        /* 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(194, 86, 46, 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 — dark court-green ink panel with lime headings.
           Literal colors: sits on $ink, so page text vars don't apply. */
        .footer { margin-top: var(--space-16); padding: var(--space-12) 0 var(--space-8); background: #123524; text-align: center; border-top: none; position: relative; }
        .badge-18 {
            display: inline-block;
            border: 2px solid var(--accent-purple);
            color: var(--accent-purple);
            font-weight: 900;
            width: 45px; height: 45px;
            line-height: 41px;
            border-radius: 50%;
            margin-bottom: 25px;
        }
        .footer p { color: #A9B7A4; 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 rgba(247,243,234,0.08); text-align: left; }
        .footer-brand p { color: #A9B7A4; font-size: 0.82rem; line-height: 1.6; margin-top: var(--space-3); }
        .footer-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: #F7F3EA; display: flex; align-items: center; gap: var(--space-2); }
        .footer-logo span { color: var(--accent-purple); }
        .footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-purple); 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: #A9B7A4; font-size: 0.85rem; }
        .footer-col a:hover { color: #F7F3EA; 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-family: var(--font-mono); font-size: 0.75rem; color: #A9B7A4; margin: 0; }
        .footer a { color: #A9B7A4; }
        .footer a:hover { color: #F7F3EA; filter: none; }
        .footer-disclaimer p { color: #A9B7A4; }
        .footer-legal-note { font-size: 0.65rem; color: rgba(247,243,234,0.35); margin: 8px 0 0; line-height: 1.5; }
        .footer-subscribe-block { text-align: center; padding: var(--space-6) 0; border-top: 1px solid rgba(247,243,234,0.08); margin-top: var(--space-6); }
        .footer-subscribe-block h4 { color: #F7F3EA; font-size: 0.95rem; margin-bottom: var(--space-3); }
        .footer-subscribe-block p { color: #A9B7A4; font-size: 0.8rem; margin-bottom: var(--space-3); }
        .footer-subscribe-form { display: flex; gap: var(--space-2); justify-content: center; max-width: 400px; margin: 0 auto; }
        .footer-subscribe-form input { flex: 1; padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(247,243,234,0.2); background: rgba(247,243,234,0.06); color: #F7F3EA; font-size: 0.9rem; }
        .footer-subscribe-form input::placeholder { color: #A9B7A4; }
        .footer-subscribe-form button { padding: 10px 20px; border-radius: var(--radius-sm); border: none; background: var(--primary); color: #F7F3EA; font-weight: 600; cursor: pointer; }
        .footer-subscribe-form button:hover { background: var(--primary-hover); }

        /* 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);
            box-shadow: 0 10px 25px rgba(194, 86, 46, 0.4);
            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(194,86,46,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: var(--card-bg); color: var(--text-white); font-weight: 700; }
        .content-body code { background: var(--card-bg); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.9em; color: var(--primary); }
        .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[aria-hidden] { 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; }
            .nav.open {
                display: flex; flex-direction: column; position: fixed; inset: 0; top: 0; left: 0;
                width: 100vw; height: 100vh; height: 100dvh;
                background: rgba(247, 243, 234, 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: 600;
                padding: 16px 0; border-bottom: 1px solid var(--border);
                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; }
            /* Tennis 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, .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 { 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-mono); font-size: 2.5rem; font-weight: 600; color: var(--text-white); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
        .prediction-bar { display: flex; height: 40px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 8px; gap: 2px; background: rgba(18,53,36,0.05); box-shadow: inset 0 2px 4px rgba(18,53,36,0.12); }
        .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(18,53,36,0.12); }
        .bar-home { background: linear-gradient(180deg, color-mix(in srgb, var(--pred-home) 85%, #fff), var(--pred-home)); }
        .bar-draw { background: linear-gradient(180deg, color-mix(in srgb, var(--pred-draw) 85%, #fff), var(--pred-draw)); color: #1a1a1a; text-shadow: none; }
        .bar-away { background: linear-gradient(180deg, color-mix(in srgb, var(--pred-away) 85%, #fff), 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(18,53,36,0.05); border: 1px solid rgba(18,53,36,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(194,86,46,0.14) 0%, rgba(194,86,46,0.05) 100%); border: 1px solid rgba(194,86,46,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(18,53,36,0.12); 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(18,53,36,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); transform: translateY(-1px); box-shadow: 0 3px 8px rgba(63,164,95,0.15); }
        .vote-disagree:hover { background: rgba(226, 72, 61, 0.15); border-color: rgba(226, 72, 61, 0.5); color: var(--red); transform: translateY(-1px); box-shadow: 0 3px 8px rgba(226,72,61,0.15); }
        .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(18,53,36,0.16), rgba(18,53,36,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(194,86,46,0.18); border: 1px solid rgba(194,86,46,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(16,35,26,0.4), rgba(16,35,26,0.9)); }
        /* Overlay keeps its dark ink scrim, so text inside is literal light
           (page vars are inverted to ink and would vanish here). */
        .premium-teaser-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; color: var(--paper); 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-purple); }
        .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); transform: translateY(-1px); }

        /* 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(18,53,36,0.05); border: 1px solid rgba(18,53,36,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(18,53,36,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(194,86,46,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(--accent-orange); 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(18,53,36,0.05); border: 1px solid rgba(18,53,36,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(18,53,36,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(194, 86, 46, 0.12); border-color: rgba(194, 86, 46, 0.5); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(194, 86, 46, 0.15); }
        .poll-draw:hover { background: rgba(224, 165, 42, 0.12); border-color: rgba(224, 165, 42, 0.5); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(224, 165, 42, 0.15); }
        .poll-away:hover { background: rgba(63, 164, 95, 0.12); border-color: rgba(63, 164, 95, 0.5); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(63, 164, 95, 0.15); }
        .poll-btn:active { transform: scale(0.97); }
        .poll-voted { background: rgba(194,86,46,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(18,53,36,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 — rows merge into one editorial card (Court Editorial) */
        .match-list {
            display: flex;
            flex-direction: column;
            gap: 0;
            background: var(--card-bg);
            border: 1px solid var(--text-white);
            border-radius: var(--radius-md);
            box-shadow: 2px 2px 0 var(--text-white);
            overflow: hidden;
        }
        .match-row { display: flex; align-items: center; gap: var(--space-3); padding: 16px 20px; background: transparent; border: none; border-top: 1px solid var(--card-border); border-radius: 0; text-decoration: none; color: inherit; transition: background 0.2s, border-color 0.2s; }
        .match-row:first-child { border-top: none; }
        .match-row:hover { background: rgba(18,53,36,0.04); }
        .match-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-white); font-weight: 600; min-width: 110px; white-space: nowrap; }
        .match-players { flex: 1; font-weight: 600; }
        .match-venue { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-gray); }
        .match-score { font-weight: 800; color: var(--primary); white-space: nowrap; }
        /* Round badge + tennis set 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(18,53,36,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, transform 0.2s; }
        @media (hover: hover) { .prediction-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(194,86,46,0.18), 0 0 0 1px rgba(194,86,46,0.25); background: var(--card-bg-elevated); } }
        @media (hover: none) { .prediction-card:active { border-color: var(--primary); } }
        .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-mono); font-size: 1.8rem; font-weight: 600; color: var(--text-white); margin-bottom: 12px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
        .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 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--card-border); background: transparent; color: var(--text-gray); }
        .confidence-badge.confidence-high { background: var(--green); border-color: var(--green); color: var(--paper); }
        .confidence-badge.confidence-medium { background: transparent; border-color: var(--card-border); color: var(--text-gray); }
        .confidence-badge.confidence-low { background: transparent; border-color: var(--card-border); 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(18,53,36,0.12); object-fit: contain; }

        /* Auth nav */
        .auth-nav-link { background: transparent; border: 1px solid var(--green); padding: 9px 18px !important; border-radius: var(--radius-sm) !important; color: var(--green) !important; font-weight: 600; font-size: 0.875rem !important; transition: all 0.25s ease; margin-left: var(--space-2); }
        .auth-nav-link:hover { background: var(--green) !important; color: var(--paper) !important; border-color: var(--green); }
        .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(194, 86, 46, 0.3); }
        .match-live { border-color: rgba(226, 72, 61, 0.45); box-shadow: 0 0 20px rgba(226, 72, 61, 0.12); }
        .match-past { border-color: rgba(18,53,36,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(18,53,36,0.08);
            color: var(--text-gray);
            margin-bottom: 12px;
        }
        .match-status-badge.live {
            background: rgba(212, 106, 60, 0.2);
            color: var(--accent-orange);
            animation: pulse-live 2s infinite;
        }
        @keyframes pulse-live {
            0% { box-shadow: 0 0 0 0 rgba(212, 106, 60, 0.5); }
            70% { box-shadow: 0 0 0 10px rgba(212, 106, 60, 0); }
            100% { box-shadow: 0 0 0 0 rgba(212, 106, 60, 0); }
        }
        .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: linear-gradient(135deg, rgba(63,164,95,0.12) 0%, rgba(194,86,46,0.12) 50%, rgba(63,164,95,0.06) 100%);
            border-radius: var(--radius-lg);
            border: 1px solid rgba(120,180,130,0.16);
            max-width: 1100px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }
        .hero-content::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
        .hero-content::after { content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 500px; height: 400px; background: radial-gradient(ellipse, rgba(194,86,46,0.12) 0%, transparent 70%); pointer-events: none; z-index: 0; }
        .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(18,53,36,0.04);
            border: 1px solid rgba(18,53,36,0.07);
            padding: 16px;
        }
        .ad-inline {
            padding: 12px 0;
            border-top: 1px solid rgba(18,53,36,0.06);
            border-bottom: 1px solid rgba(18,53,36,0.06);
        }

        /* ── Promo Cards ─────────────────────────────────── */
        .promo-section { padding: 20px 0; }
        .promo-card {
            background: rgba(194, 86, 46, 0.06);
            border: 1px solid rgba(194, 86, 46, 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(18,53,36,0.05);
            border: 1px solid rgba(18,53,36,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(--primary);
            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(18,53,36,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(18,53,36,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(194, 86, 46, 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(194, 86, 46, 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(18,53,36,0.02); }
        .rankings-table th.center, .rankings-table td.center { text-align: center; }
        .rankings-table .rank-pos { font-family: var(--font-display); font-weight: 700; 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(18,53,36,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(194, 86, 46, 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); } }

        /* ── 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(18,53,36,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: 700; 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(247, 243, 234, 0.05); border: 1px solid rgba(247, 243, 234, 0.14); 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: #123524; background: var(--accent-purple); border-radius: 50%; border: none; margin-bottom: 0; }
        .footer-disclaimer p { margin: 0; text-align: left; font-size: 0.8rem; }

        
        .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; }
        /* 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; }

        /* ── Match Row Link Hover ──────────────────────── */
        .match-row { position: relative; border-left: 3px solid transparent; transition: background 0.2s, border-color 0.2s, transform 0.15s; }
        .match-row:hover { background: var(--card-bg-elevated); border-left-color: var(--primary); }
        .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(--primary); color:#fff; }
        .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 { transform:translateY(-2px); box-shadow:0 6px 20px rgba(224,165,42,0.35); color:#1a0e05; }
        .premium-cta { text-align:center; padding:var(--space-6); margin-top:var(--space-4); background:linear-gradient(135deg, rgba(111,191,63,0.1), rgba(194, 86, 46,0.1)); border:1px solid rgba(111,191,63,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; }

        /* ── 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: 1px solid var(--border);
            border-radius: var(--radius-sm);
            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: var(--card-bg);
            border-color: rgba(18, 53, 36, 0.3);
            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(18,53,36,0.10), 0 1px 4px rgba(18,53,36,0.10);
            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: #FDFBF5;
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            box-shadow: 0 16px 40px rgba(18, 53, 36, 0.14);
            z-index: 1000;
            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(--accent-gold);
            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: var(--card-bg);
            padding-left: 22px;
        }
        .lang-switcher-menu a:hover::before { height: 18px; }
        .lang-switcher-menu li.is-selected a {
            background: var(--card-bg);
            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(18,53,36,0.10), 0 2px 6px rgba(18,53,36,0.10);
            display: block;
            object-fit: cover;
        }
        .lang-switcher-menu .lang-code { display: none; }

        @media (max-width: 480px) {
            .lang-switcher-menu { right: -8px; min-width: 220px; }
        }

        /* 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(18,53,36,0.04);
                border: 1px solid rgba(18,53,36,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(18,53,36,0.04);
                border: 1px solid rgba(18,53,36,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(18,53,36,0.10), 0 2px 4px rgba(18,53,36,0.10);
            }
            .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);
                box-shadow: 0 0 0 1px rgba(224, 165, 42, 0.2);
            }
            .nav.open .lang-switcher-menu li.is-selected a .lang-code { color: var(--accent-gold); }
            .nav.open .lang-switcher-menu li:not(.is-selected) a:active {
                background: rgba(18,53,36,0.06);
                border-color: rgba(18,53,36,0.25);
            }
        }

        /* ── 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-h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 700; 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-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: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%); color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; 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: 0 6px 24px rgba(194, 86, 46, 0.3), inset 0 1px 0 rgba(255,255,255,0.25); }
        .prem-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(194, 86, 46, 0.42), 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(18,53,36,0.3); background: rgba(18,53,36,0.05); color: var(--text-white); }
        .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(18,53,36,0.12), inset 0 1px 0 rgba(18,53,36,0.04); overflow: hidden; transform: rotate(0.5deg); }
        .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(194, 86, 46, 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: 700; 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(18,53,36,0.04); border-radius: 10px; margin-bottom: 14px; border: 1px solid rgba(18,53,36,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: 700; color: var(--pred-home); }
        .prem-preview-bar-track { height: 6px; background: rgba(18,53,36,0.08); border-radius: 4px; overflow: hidden; }
        .prem-preview-bar-fill { height: 100%; background: linear-gradient(90deg, var(--pred-home) 0%, var(--accent-orange) 100%); border-radius: 4px; box-shadow: 0 0 12px rgba(194, 86, 46, 0.4); }
        .prem-preview-block { position: relative; padding: 12px 14px; background: rgba(18,53,36,0.04); border: 1px solid rgba(18,53,36,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(18,53,36,0.04); border: 1px solid rgba(18,53,36,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: 700; 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(194,86,46,0.14); border-radius: 4px; }
        .prem-cell-mono { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-gold); }

        /* Pricing card */
        .prem-pricing-wrap { padding: 16px 0 56px; scroll-margin-top: 80px; }

        /* 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(18,53,36,0.07); }
            .prem-earn-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 720px) {
            .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: 700; 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; }

        /* ════════════════════════════════════════════════════════════════
           DARK FOREST-GREEN TENNIS 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, transform 0.2s, box-shadow 0.2s;
        }
        .btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(194,86,46,0.35); }
        .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(120,180,130,0.35); }
        .btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

        /* ── 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(194,86,46,0.4);
            background: var(--card-bg-elevated);
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(18,53,36,0.12);
        }

        /* ── Prediction Bar — slim 2-way (orange fill on green track) ──
           Track is green; the home segment fills orange; away stays
           transparent so the green track shows through. Tennis = 2-way. */
        .prediction-bar--slim {
            display: block;
            height: 6px;
            border-radius: 999px;
            background: var(--green);
            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(120,180,130,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(194,86,46,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);
        }

        /* ── Set Score (tennis set columns) ────────────── */
        .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 chips & badges: dot + ink label on paper pill ── */
        .match-surface, .tournament-surface { margin-top: 8px; }
        .surface-chip, .surface-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            border-radius: 999px;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            color: var(--text-white);
            font-family: var(--font-body);
            font-weight: 600;
            line-height: 1.4;
        }
        .surface-chip { padding: 2px 10px; font-size: 0.72rem; }
        .surface-badge { padding: 4px 11px; font-size: 0.76rem; }
        .surface-chip::before, .surface-badge::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--text-gray);
            flex-shrink: 0;
        }
        .surface-chip.surface-clay::before, .surface-badge.surface-clay::before { background: var(--chip-clay); }
        .surface-chip.surface-grass::before, .surface-badge.surface-grass::before { background: var(--chip-grass); }
        .surface-chip.surface-hard::before, .surface-badge.surface-hard::before { background: var(--chip-hard); }
        .surface-chip.surface-carpet::before, .surface-badge.surface-carpet::before { background: #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: var(--chip-clay); }
        .surface-bar-fill.surface-grass { background: var(--chip-grass); }
        .surface-bar-fill.surface-hard { background: var(--chip-hard); }
        .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 / 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 { 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; }
        .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: 700; color: var(--text-white); letter-spacing: 0.02em; box-shadow: 0 6px 20px rgba(18,53,36,0.12), 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; }
        .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: var(--chip-clay); }
        .surface-win-card.surface-grass { border-left-color: var(--chip-grass); }
        .surface-win-card.surface-hard { border-left-color: var(--chip-hard); }
        .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(18,53,36,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 0 0 1px rgba(194,86,46,0.4), 0 6px 20px rgba(18,53,36,0.12);
        }

        /* ── 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: 700; 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(18,53,36,0.07); margin-top: 14px; overflow: hidden; }
        .acc-stat-meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent-orange)); }
        .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(18,53,36,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(18,53,36,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(18,53,36,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(18,53,36,0.06); overflow: hidden; }
        .acc-bar-fill { position: absolute; top: 0; bottom: 0; left: 0; background: linear-gradient(90deg, var(--primary), var(--accent-orange)); 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(18,53,36,0.12); 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(18,53,36,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(11,26,19,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(18,53,36,0.12); 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; }

        /* ════════════════════════════════════════════════════════════════
           COURT EDITORIAL COMPONENT LAYER (tennis-screens.pen)
           Appended last so these rules win on shared selectors.
           Card language: paper surface, 1px ink stroke, hard 2px offset
           shadow (no blur). Numbers: IBM Plex Mono. Display: Fraunces.
           ════════════════════════════════════════════════════════════════ */

        /* ── Editorial card ────────────────────────────── */
        .editorial-card, .profile-gate, .profile-preds-card, .streak-cal-card, .prem-plan-card, .prem-peek-lock, .acc-month-chart, .hero-court, .related-card, .prediction-card, .prediction-section, .premium-breakdown, .surface-bars, .model-card, .acc-stat, .profile-head, .subscription-card, .stat-big, .match-card, .tournament-card, .faq-item {
            background: var(--card-bg);
            border: 1px solid var(--text-white);
            border-radius: var(--radius-md);
            box-shadow: 2px 2px 0 var(--text-white);
        }
        .prediction-card:hover, .related-card:hover, .match-card:hover, .tournament-card:hover {
            border-color: var(--text-white);
            background: var(--card-bg);
            transform: translate(-1px, -1px);
            box-shadow: 3px 3px 0 var(--text-white);
        }
        @media (hover: hover) {
            .prediction-card:hover {
                border-color: var(--text-white);
                transform: translate(-1px, -1px);
                box-shadow: 3px 3px 0 var(--text-white);
                background: var(--card-bg);
            }
        }

        /* ── Numbers → mono (design uses IBM Plex Mono for all data) ── */
        .stat-big-num,
        .model-card-pct,
        .acc-stat-num,
        .surface-win-v,
        .countdown-num {
            font-family: var(--font-mono);
            font-weight: 600;
            letter-spacing: -0.02em;
        }

        /* ── Split probability bar (2-way, % labels at both ends) ── */
        .split-bar {
            display: flex;
            height: 10px;
            border-radius: 999px;
            overflow: hidden;
            background: var(--card-bg-elevated);
        }
        .split-bar .split-home { display: block; height: 100%; background: var(--pred-home); transition: width 0.8s ease; }
        .split-bar .split-away { display: block; height: 100%; background: var(--pred-away); transition: width 0.8s ease; }
        .split-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 6px;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
        }
        .split-labels .split-label-home { color: var(--pred-home); }
        .split-labels .split-label-away { color: var(--pred-away); }

        /* Entity description blocks (player/tournament SEO intros) */
        .player-description, .tournament-description {
            max-width: 720px;
            margin: var(--space-8) 0;
            color: var(--text-gray);
            line-height: 1.7;
        }
        .player-description p + p, .tournament-description p + p { margin-top: 0.9em; }
        .player-description strong, .tournament-description strong { color: var(--text-white); }

        /* Shared match-row bits (hoisted from tournament/player page styles) */
        .match-row img.avatar-initials { object-fit: contain; background: var(--card-bg-elevated); }
        .match-row .player-surname { font-size: 0.95rem; }
        /* Stat-card mono label (hoisted from accuracy/profile page styles) */
        .acc-stat { text-align: left; }
        .acc-stat .acc-stat-label { margin: 0 0 10px; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-gray); }

        /* ── Avatar initials: ink circle, cream Fraunces initials ── */
        .avatar-initials {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--text-white);
            color: var(--paper);
            font-family: var(--font-display);
            font-weight: 600;
            flex-shrink: 0;
        }
        .avatar-initials--sm { width: 34px; height: 34px; font-size: 0.85rem; }
        .avatar-initials--md { width: 56px; height: 56px; font-size: 1.25rem; }
        .avatar-initials--lg { width: 84px; height: 84px; font-size: 1.9rem; }
        .avatar-initials--away { background: var(--primary); }
        .avatar-pair { position: relative; display: inline-flex; width: 56px; height: 34px; flex-shrink: 0; }
        .avatar-pair .avatar-initials { position: absolute; top: 0; left: 0; }
        .avatar-pair .avatar-initials + .avatar-initials { left: 22px; box-shadow: 0 0 0 2px var(--card-bg); }
        .player-avatar-initials {
            background: var(--text-white);
            color: var(--paper);
            box-shadow: none;
            font-weight: 600;
        }

        /* ── Player surnames (display caps, Fraunces) ── */
        .player-surname {
            font-family: var(--font-display);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            color: var(--text-white);
        }
        .vs-italic { font-style: italic; color: var(--text-gray); font-weight: 400; }

        /* ── AI pick cell (match rows) ── */
        .ai-pick { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 1px; }
        .ai-pick-label { font-size: 0.7rem; color: var(--text-gray); }
        .ai-pick-pct { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }

        /* ── FAQ: Fraunces questions, clay +, flat paper ── */
        .faq-item { margin-bottom: 12px; }
        .faq-item summary {
            font-family: var(--font-display);
            font-size: 1.05rem;
            font-weight: 600;
        }
        .faq-item summary::after { color: var(--primary); font-weight: 400; }

        /* ── Meter (accuracy hero bar) ── */
        .meter {
            height: 14px;
            border-radius: 999px;
            background: var(--card-bg);
            border: 1px solid var(--text-white);
            overflow: hidden;
        }
        .meter > span { display: block; height: 100%; background: var(--green); border-radius: 999px; }

        /* ── Prediction tip: flat clay-tinted callout ── */
        .prediction-tip {
            background: rgba(200,80,42,0.06);
            border: 1px solid var(--card-border);
            border-left: 3px solid var(--primary);
            box-shadow: none;
        }

        /* ── Stat item (match page probability cells) ── */
        .stat-item { background: var(--card-bg); border: 1px solid var(--card-border); }
        .stat-value { font-family: var(--font-mono); font-weight: 600; }

        /* ── Acc-stat: mono numbers, flat top stripe ── */
        .acc-stat::before { background: var(--primary); }
        .acc-stat-meter { background: rgba(18,53,36,0.08); }
        .acc-stat-meter span { background: var(--green); }
        .acc-stat--gold .acc-stat-meter span { background: var(--accent-gold); }
        .acc-bar-fill { background: var(--green); }
        .acc-bar-val { color: var(--paper); text-shadow: none; }

        /* ── Breadcrumbs (visible, mono, editorial) ── */
        .breadcrumbs {
            font-family: var(--font-mono);
            font-size: 0.78rem;
            color: var(--text-gray);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 2px;
        }
        .breadcrumbs a { color: var(--text-gray); }
        .breadcrumbs a:hover { color: var(--primary); }
        .breadcrumbs [aria-current="page"] { color: var(--text-white); font-weight: 600; }

        /* ── Ad slot placeholder: dashed hairline, mono label ── */
        .ad-slot { border-radius: var(--radius-sm); }
        .ad-slot:empty { min-height: 0; }
        .ad-slot::before {
            font-family: var(--font-mono);
            letter-spacing: 0.14em;
            color: var(--text-muted);
        }
        .ad-header { background: transparent; border: 1px dashed var(--card-border); border-radius: var(--radius-sm); }
        .ad-inline { border-top: 1px dashed var(--card-border); border-bottom: 1px dashed var(--card-border); }

        /* ── Hero content panel: flat paper, no glow orbs ── */
        .hero-content {
            background: transparent;
            border: none;
        }
        .hero-content::before, .hero-content::after { display: none; }

        /* ── Buttons: ghost/outline in ink ── */
        .btn-outline { color: var(--text-white); border-color: rgba(18,53,36,0.35); }
        .btn-outline:hover { background: var(--text-white); border-color: var(--text-white); color: var(--paper); }
        .btn-primary { border-radius: var(--radius-md); font-weight: 600; }
        .btn-primary:hover { box-shadow: 0 6px 18px var(--primary-glow); }

        /* ── Filter pills: paper + hairline, ink active ── */
        .filter-pill { border-color: var(--card-border); background: var(--card-bg); }
        .filter-pill:hover { border-color: rgba(18,53,36,0.4); color: var(--text-white); }
        .filter-pill.active, .filter-pill[aria-selected="true"] { background: var(--text-white); border-color: var(--text-white); color: var(--paper); }

        /* ── Countdown: mono digits, editorial tile ── */
        .countdown-unit { background: var(--card-bg); border: 1px solid var(--card-border); }
        .countdown-num { font-family: var(--font-mono); font-weight: 600; color: var(--text-white); }
