/* =============================================
           1. CSS Variables & Reset
           ============================================= */
        :root {
            /* Colors - Light Theme */
            --bg-page: #FAFAFA;
            --bg-header: #FFFFFF;
            --bg-footer: #1A1A1A;
            --bg-card: #FFFFFF;
            --text-primary: #1A1A1A;
            --text-secondary: #4A4A4A;
            --text-muted: #717171;
            --accent: #EB2513;
            --accent-hover: #C91F10;
            --accent-light: #FEE8E6;
            --border: #E5E5E5;
            --border-strong: #CCCCCC;
            --color-success: #22C55E;
            --color-danger: #EF4444;
            
            /* Typography */
            --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
            
            --h1-size: clamp(2rem, 5vw, 3rem);
            --h2-size: clamp(1.5rem, 4vw, 2.25rem);
            --h3-size: clamp(1.25rem, 3vw, 1.75rem);
            --body-size: 1.0625rem;
            --body-line-height: 1.7;
            --mono-size: 0.9375rem;
            
            /* Layout */
            --content-width: 840px;
            --section-gap: 4rem;
            --header-height: 64px;
        
    /* --- AUTO-FORCED DARK THEME --- */
    --bg-page: #0F0F0F;
                --bg-header: #1A1A1A;
                --bg-footer: #0A0A0A;
                --bg-card: #1A1A1A;
                --text-primary: #F5F5F5;
                --text-secondary: #B5B5B5;
                --text-muted: #8A8A8A;
                --accent: #FF4433;
                --accent-hover: #FF6655;
                --accent-light: #2A1A18;
                --border: #2A2A2A;
                --border-strong: #3A3A3A;
}
        
        /* Dark Theme */
        
        
        /* Reset */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: var(--font-body);
            font-size: var(--body-size);
            line-height: var(--body-line-height);
            color: var(--text-primary);
            background-color: var(--bg-page);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        /* =============================================
           2. General Typography
           ============================================= */
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            line-height: 1.2;
            text-align: left;
        }
        
        h2 {
            font-size: var(--h2-size);
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            scroll-margin-top: 2rem;
        }
        
        h3 {
            font-size: var(--h3-size);
            font-weight: 600;
            margin-top: 2rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
            scroll-margin-top: 2rem;
        }
        
        p {
            text-align: left;
            margin-bottom: 1.25rem;
            color: var(--text-secondary);
        }
        
        a {
            color: var(--accent);
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        a:hover {
            color: var(--accent-hover);
        }
        
        a:focus {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }
        
        ul, ol {
            text-align: left;
            margin-bottom: 1.25rem;
            padding-left: 1.5rem;
        }
        
        li {
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
        }
        
        strong {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        em {
            font-style: italic;
        }
        
        blockquote {
            text-align: left;
            border-left: 3px solid var(--accent);
            padding-left: 1.25rem;
            margin: 1.5rem 0;
            font-style: italic;
            color: var(--text-muted);
        }
        
        /* =============================================
           3. Layout - Sections
           ============================================= */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--bg-header);
            border-bottom: 1px solid var(--border);
            height: var(--header-height);
        }
        
        .header-inner {
            max-width: var(--content-width);
            margin: 0 auto;
            padding: 0 1.5rem;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .site-logo img {
            height: 36px;
            width: auto;
            display: block;
        }
        
        @media (prefers-color-scheme: dark) {
            .site-logo img {
                filter: brightness(0) invert(1);
            }
        }
        
        .header-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .trust-marker {
            font-size: 0.6875rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
            font-weight: 600;
        }
        
        .date-badge {
            font-size: 0.75rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        main {
            width: 100%;
        }
        
        article {
            width: 100%;
        }
        
        [data-content] {
            max-width: var(--content-width);
            margin-left: auto;
            margin-right: auto;
            padding: 0 1.5rem;
            margin-bottom: var(--section-gap);
        }
        
        /* =============================================
           4. Components
           ============================================= */
        
        /* Info Box */
        .info-box {
            background: var(--accent-light);
            border-left: 4px solid var(--accent);
            padding: 1.25rem 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        .info-box p {
            margin-bottom: 0.75rem;
            color: var(--text-secondary);
            text-align: left;
        }
        
        .info-box p:last-child {
            margin-bottom: 0;
        }
        
        /* Callout */
        .callout {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-left: 4px solid var(--accent);
            padding: 1.25rem 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.04);
        }
        
        .callout p {
            margin-bottom: 0;
            color: var(--text-secondary);
            text-align: left;
        }
        
        /* Key Takeaway */
        .key-takeaway {
            border-top: 2px solid var(--accent);
            padding-top: 1rem;
            margin: 2rem 0;
        }
        
        .key-takeaway p {
            font-family: var(--font-heading);
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0;
            text-align: left;
        }
        
        /* Fun Fact */
        .fun-fact {
            position: relative;
            padding-left: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .fun-fact::before {
            content: '—';
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: 700;
        }
        
        .fun-fact p {
            font-style: italic;
            color: var(--text-muted);
            margin-bottom: 0;
            text-align: left;
        }
        
        /* Glossary Term */
        .glossary-term {
            display: flex;
            align-items: baseline;
            gap: 0.75rem;
            margin: 1rem 0;
        }
        
        .glossary-term dt {
            font-family: var(--font-mono);
            font-size: var(--mono-size);
            color: var(--accent);
            text-decoration: underline;
            text-underline-offset: 3px;
            flex-shrink: 0;
        }
        
        .glossary-term dd {
            color: var(--text-muted);
            text-align: left;
        }
        
        /* Dos and Don'ts */
        .dos-donts {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .dos-donts .do-column,
        .dos-donts .dont-column {
            padding: 1.25rem;
            border-radius: 8px;
        }
        
        .dos-donts .do-column {
            background: rgba(34, 197, 94, 0.08);
            border: 1px solid rgba(34, 197, 94, 0.2);
        }
        
        .dos-donts .dont-column {
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.2);
        }
        
        .dos-donts h4 {
            font-size: 0.875rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.75rem;
        }
        
        .dos-donts .do-column h4 {
            color: var(--color-success);
        }
        
        .dos-donts .dont-column h4 {
            color: var(--color-danger);
        }
        
        .dos-donts ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .dos-donts li {
            padding-left: 1.25rem;
            position: relative;
            margin-bottom: 0.5rem;
            font-size: 0.9375rem;
        }
        
        .dos-donts .do-column li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--color-success);
            font-weight: 700;
        }
        
        .dos-donts .dont-column li::before {
            content: '✗';
            position: absolute;
            left: 0;
            color: var(--color-danger);
            font-weight: 700;
        }
        
        @media (prefers-color-scheme: dark) {
            .dos-donts .do-column {
                background: rgba(34, 197, 94, 0.1);
                border-color: rgba(34, 197, 94, 0.25);
            }
            
            .dos-donts .dont-column {
                background: rgba(239, 68, 68, 0.1);
                border-color: rgba(239, 68, 68, 0.25);
            }
        }
        
        /* Pre-bet Checklist */
        .pre-bet-checklist {
            margin: 2rem 0;
        }
        
        .pre-bet-checklist h4 {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--accent);
            margin-bottom: 1rem;
        }
        
        .pre-bet-checklist ul {
            list-style: none;
            padding-left: 1.5rem;
            border-left: 2px solid var(--border);
            margin: 0;
        }
        
        .pre-bet-checklist li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.75rem;
        }
        
        .pre-bet-checklist li::before {
            content: '☐';
            position: absolute;
            left: -0.65rem;
            color: var(--accent);
            background: var(--bg-page);
            padding: 0 0.25rem;
        }
        
        /* At a Glance */
        .at-a-glance {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            margin: 2rem 0;
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
        }
        
        .at-a-glance .glance-item {
            padding: 1.25rem;
            text-align: center;
            border-right: 1px solid var(--border);
        }
        
        .at-a-glance .glance-item:last-child {
            border-right: none;
        }
        
        .at-a-glance .glance-value {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            display: block;
        }
        
        .at-a-glance .glance-label {
            font-size: 0.8125rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
            display: block;
        }
        
        /* Worked Example */
        .worked-example {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 2rem 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        
        .worked-example h4 {
            font-size: 0.875rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border);
        }
        
        .worked-example .step {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed var(--border);
        }
        
        .worked-example .step:last-of-type {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .worked-example .step-number {
            font-family: var(--font-mono);
            font-size: var(--mono-size);
            color: var(--accent);
            font-weight: 600;
        }
        
        .worked-example .result {
            font-family: var(--font-mono);
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--accent);
            text-align: center;
            padding: 1rem;
            background: var(--accent-light);
            border-radius: 4px;
            margin-top: 1rem;
        }
        
        /* Section Bridge */
        .section-bridge {
            text-align: center;
            font-style: italic;
            color: var(--accent);
            margin: 2rem 0;
            position: relative;
            padding: 0 2rem;
        }
        
        .section-bridge::before,
        .section-bridge::after {
            content: '·';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: var(--border-strong);
        }
        
        .section-bridge::before {
            left: 0;
        }
        
        .section-bridge::after {
            right: 0;
        }
        
        /* Author Bio */
        .author-bio {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            color: var(--text-muted);
            font-style: italic;
            border-top: 1px solid var(--border);
            padding-top: 1rem;
            margin-top: 2rem;
        }
        
        /* Odds Example */
        .odds-example {
            background: var(--text-primary);
            color: var(--bg-page);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        @media (prefers-color-scheme: dark) {
            .odds-example {
                background: #2A2A2A;
                color: #F5F5F5;
            }
        }
        
        .odds-example h4 {
            font-family: var(--font-mono);
            font-size: var(--mono-size);
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
            opacity: 0.7;
            text-align: center;
        }
        
        .odds-example .match {
            text-align: center;
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .odds-example .odds-row {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            font-family: var(--font-mono);
        }
        
        .odds-example .odds-item {
            text-align: center;
        }
        
        .odds-example .odds-label {
            font-size: 0.75rem;
            opacity: 0.6;
            margin-bottom: 0.25rem;
        }
        
        .odds-example .odds-value {
            font-size: 1.25rem;
            font-weight: 600;
        }
        
        .odds-example p {
            text-align: center;
            color: inherit;
            opacity: 0.8;
            margin-top: 1rem;
            margin-bottom: 0;
            font-size: 0.875rem;
        }
        
        /* Comparison */
        .comparison {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin: 1.5rem 0;
        }
        
        .comparison .compare-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        }
        
        .comparison h4 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text-primary);
        }
        
        .comparison p {
            font-size: 0.9375rem;
            margin-bottom: 0;
            text-align: left;
        }
        
        /* Card Grid */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .card-grid .card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            transition: box-shadow 0.2s ease, transform 0.2s ease;
        }
        
        .card-grid .card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transform: translateY(-2px);
        }
        
        .card-grid .card h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .card-grid .card p {
            font-size: 0.875rem;
            color: var(--text-muted);
            margin-bottom: 0;
            text-align: left;
        }
        
        /* TL;DR */
        .tldr {
            max-width: var(--content-width);
            margin-left: auto;
            margin-right: auto;
            padding: 1.5rem;
            background: var(--bg-card);
            border-left: 4px solid var(--accent);
            border-radius: 0 8px 8px 0;
            margin-top: 2rem;
            margin-bottom: var(--section-gap);
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }
        
        .tldr h2 {
            font-size: 1.125rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }
        
        .tldr ul {
            margin-bottom: 0;
        }
        
        .tldr li {
            margin-bottom: 0.625rem;
        }
        
        .tldr li:last-child {
            margin-bottom: 0;
        }
        
        /* Tables */
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
            font-size: 0.9375rem;
        }
        
        th, td {
            padding: 0.75rem 1rem;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }
        
        th {
            font-weight: 600;
            color: var(--text-primary);
            background: var(--bg-card);
        }
        
        td {
            color: var(--text-secondary);
        }
        
        tr:hover td {
            background: var(--accent-light);
        }
        
        /* =============================================
           5. Hero Section
           ============================================= */
        [data-content="hero"] {
            max-width: none;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            padding: 0;
            margin-bottom: 0;
            background: 
                radial-gradient(ellipse at 70% 30%, rgba(235, 37, 19, 0.05) 0%, transparent 50%),
                var(--bg-page);
            text-align: center;
        }
        
        .hero-inner {
            max-width: var(--content-width);
            margin: 0 auto;
            padding: 4rem 1.5rem 3rem;
        }
        
        .hero-rubric {
            font-size: 0.6875rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--accent);
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }
        
        [data-content="hero"] h1 {
            font-size: var(--h1-size);
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
            line-height: 1.1;
            position: relative;
            z-index: 1;
            text-align: center;
        }
        
        .hero-subtitle {
            font-size: 1.125rem;
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }
        
        .hero-byline {
            font-size: 0.8125rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            position: relative;
            z-index: 1;
        }
        
        [data-content="hero"] figure {
            margin: 0 auto;
            max-width: 100%;
            position: relative;
            z-index: 1;
        }
        
        [data-content="hero"] figure img {
            display: block;
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        }
        
        /* =============================================
           6. TOC - Horizontal Compact
           ============================================= */
        [data-content="toc"] {
            margin-bottom: 3rem;
        }
        
        .toc-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.5rem 1rem;
            padding: 1rem 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }
        
        .toc-nav a {
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--text-secondary);
            padding: 0.375rem 0.75rem;
            border-radius: 4px;
            transition: color 0.2s ease, background-color 0.2s ease;
        }
        
        .toc-nav a:hover {
            color: var(--accent);
            background: var(--accent-light);
        }
        
        /* =============================================
           7. FAQ Accordion
           ============================================= */
        [data-content="faq"] details {
            border-bottom: 1px solid var(--border);
            interpolate-size: allow-keywords;
        }
        
        [data-content="faq"] summary {
            padding: 1.25rem 2rem 1.25rem 0;
            font-weight: 600;
            color: var(--text-primary);
            cursor: pointer;
            position: relative;
            list-style: none;
        }
        
        [data-content="faq"] summary::-webkit-details-marker {
            display: none;
        }
        
        [data-content="faq"] summary::after {
            content: '+';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.25rem;
            font-weight: 400;
            color: var(--accent);
            transition: transform 0.3s ease;
        }
        
        [data-content="faq"] details[open] summary::after {
            transform: translateY(-50%) rotate(45deg);
        }
        
        [data-content="faq"] details::details-content {
            opacity: 0;
            block-size: 0;
            overflow: hidden;
            transition: opacity 0.3s ease, block-size 0.3s ease;
            transition-behavior: allow-discrete;
        }
        
        [data-content="faq"] details[open]::details-content {
            opacity: 1;
            block-size: auto;
        }
        
        [data-content="faq"] details > div {
            padding-bottom: 1.25rem;
        }
        
        [data-content="faq"] details p {
            color: var(--text-secondary);
            margin-bottom: 0;
        }
        
        @supports not selector(::details-content) {
            [data-content="faq"] details[open] > *:not(summary) {
                animation: fade-in 0.3s ease;
            }
            
            @keyframes fade-in {
                from { opacity: 0; }
                to { opacity: 1; }
            }
        }
        
        /* =============================================
           8. Figures & Images
           ============================================= */
        figure {
            margin: 1.5em auto;
        }
        
        figure img {
            display: block;
            max-width: 100%;
            height: auto;
        }
        
        figcaption {
            font-size: 0.8125rem;
            color: var(--text-muted);
            text-align: center;
            margin-top: 0.75rem;
        }
        
        .hero-image {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .article-image {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            border-radius: 4px;
        }
        
        /* =============================================
           9. Footer
           ============================================= */
        footer {
            background: var(--bg-footer);
            color: #B5B5B5;
            padding: 3rem 1.5rem 1.5rem;
            margin-top: var(--section-gap);
        }
        
        .footer-grid {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }
        
        .footer-column h5 {
            color: #F5F5F5;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
        }
        
        .footer-column p,
        .footer-column li {
            font-size: 0.8125rem;
            color: #8A8A8A;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }
        
        .footer-column ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-column a {
            color: #8A8A8A;
            transition: color 0.2s ease;
        }
        
        .footer-column a:hover {
            color: #F5F5F5;
        }
        
        .footer-bottom {
            max-width: 1000px;
            margin: 2rem auto 0;
            padding-top: 1.5rem;
            border-top: 1px solid #2A2A2A;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .footer-copyright {
            font-size: 0.75rem;
            color: #717171;
        }
        
        .footer-disclaimer {
            font-size: 0.6875rem;
            color: #5A5A5A;
            max-width: 500px;
            text-align: right;
        }
        
        /* =============================================
           10. Media Queries
           ============================================= */
        @media (max-width: 768px) {
            :root {
                --section-gap: 3rem;
            }
            
            [data-content] {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            .tldr {
                margin-left: 1rem;
                margin-right: 1rem;
            }
            
            .header-inner {
                padding: 0 1rem;
            }
            
            .header-meta {
                gap: 0.5rem;
            }
            
            .trust-marker {
                display: none;
            }
            
            .hero-inner {
                padding: 3rem 1rem 2rem;
            }
            
            .toc-nav {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.25rem;
            }
            
            .toc-nav a {
                width: 100%;
            }
            
            .dos-donts {
                grid-template-columns: 1fr;
            }
            
            .comparison {
                grid-template-columns: 1fr;
            }
            
            .card-grid {
                grid-template-columns: 1fr;
            }
            
            .at-a-glance {
                grid-template-columns: 1fr;
            }
            
            .at-a-glance .glance-item {
                border-right: none;
                border-bottom: 1px solid var(--border);
            }
            
            .at-a-glance .glance-item:last-child {
                border-bottom: none;
            }
            
            .glossary-term {
                flex-direction: column;
                gap: 0.25rem;
            }
            
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
            
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            
            .footer-disclaimer {
                text-align: center;
            }
            
            table {
                display: block;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
        }
        
        @media (max-width: 480px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .odds-example .odds-row {
                flex-direction: column;
                gap: 1rem;
            }
        }

/* =========================================
   UNIVERSAL DESKTOP & MOBILE MENU + LOGO
   ========================================= */

/* Header Base */
.site-header {
    background-color: var(--color-bg, #121212);
    border-bottom: 1px solid var(--color-border, #333333);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Mobile defaults for navigation bar */
.top-navigation-bar {
    width: 100%;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Fixes */
.site-logo img {
    max-height: 55px; 
    width: auto !important; 
    display: block;
    transition: transform 0.2s ease;
}

.site-logo img:hover {
    transform: scale(1.02);
}

/* Desktop Menu */
.site-nav--desktop {
    display: none; 
}

/* Desktop Grid Layout: Logo left, Menu center */
@media (min-width: 1024px) {
    .top-navigation-bar {
        max-width: 100%;
        padding: 15px 40px; 
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    .site-logo {
        grid-column: 1;
        justify-self: start; 
        margin: 0;
    }

    .site-nav--desktop {
        display: block;
        grid-column: 2;
        justify-self: center; 
    }

    .mobile-controls {
        display: none; 
    }
    
    .menu-desktop {
        display: flex;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .menu-desktop a {
        text-decoration: none;
        color: var(--color-text, #ffffff);
        font-family: var(--font-body, sans-serif);
        font-weight: 500;
        font-size: 16px;
        transition: color 0.2s ease;
    }
    
    .menu-desktop a:hover {
        color: var(--color-accent, #eab308);
    }
}

/* Mobile Burger Button */
.burger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1000;
}

.burger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text, #ffffff);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Burger Animation to X */
.burger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
    opacity: 0;
}
.burger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Slider */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-bg, #121212);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
    padding: 60px 30px;
}

.mobile-menu.is-open {
    right: 0; 
}

.mobile-menu__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 36px;
    line-height: 1;
    color: var(--color-text, #ffffff);
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-menu__close:hover {
    color: var(--color-accent, #eab308);
}

.menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.menu-mobile a {
    text-decoration: none;
    color: var(--color-text, #ffffff);
    font-size: 20px;
    font-family: var(--font-display, sans-serif);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.menu-mobile a:hover {
    color: var(--color-accent, #eab308);
    padding-left: 10px; 
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

body {
    overflow-x: clip;
}