﻿/* extracted verbatim 2026-08-28 estate speed sweep. New content = new filename. */

    /* ============================================================
       Bundesliga betting hub — consumes locked tokens from Site.Master.
       No token is redefined here; only local aliases + page layout.
       ============================================================ */
    :root {
        --bg-app: var(--void);
        --bg-panel: var(--panel);
        --bg-card: var(--panel-2);
        --border-subtle: var(--line);
        --border-strong: var(--line-strong);

        --text-main: var(--ink);
        --text-muted: var(--ink-dim);
        --text-dim: var(--ink-faint);

        --color-primary: var(--action-hi);
        --color-signal: var(--model);
        --color-risk: var(--book);
        --color-gold: var(--gold);

        --font-ui: var(--ui);
        --font-data: var(--mono);

        --radius-md: 10px;
        --radius-lg: 16px;
    }

    /* --- BASE --- */
    .bl-page, .bl-page * { box-sizing: border-box; }
    .bl-page {
        font-family: var(--font-ui);
        color: var(--text-main);
        -webkit-font-smoothing: antialiased;
    }
    .bl-page a { color: inherit; text-decoration: none; transition: color .18s, border-color .18s; }

    .wrapper {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 24px 5% 8px;
        box-sizing: border-box;
        content-visibility: auto;
    }

    /* --- UTILITY TYPOGRAPHY --- */
    .mono { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
    .text-signal { color: var(--color-signal); }
    .text-muted { color: var(--text-muted); }
    .text-primary { color: var(--color-primary); }
    .text-dim { color: var(--text-dim); }

    /* --- AMBIENT-LIFT: the system card (relative + radial top-light via ::after) --- */
    .lift {
        position: relative;
        background: var(--bg-panel);
        border: 1px solid var(--card-edge);
        border-radius: var(--radius-lg);
        box-shadow: 0 20px 42px -24px var(--accent-glow);
        overflow: hidden;
    }
    .lift::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(140% 80% at 50% -14%, rgba(70,140,255,.13), transparent 60%);
        pointer-events: none;
        z-index: 0;
    }
    .lift > * { position: relative; z-index: 1; }

    /* --- BREADCRUMBS --- */
    .breadcrumbs {
        margin-bottom: 1.25rem;
        font-size: 0.72rem;
        font-family: var(--font-data);
        color: var(--text-dim);
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }
    .breadcrumbs a:hover { color: var(--color-primary); }
    .breadcrumbs span { margin: 0 4px; }

    /* --- SPORT/LEAGUE NAV --- */
    .betbetter-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
        gap: 8px;
        margin-bottom: 2rem;
        padding: 8px;
        background: var(--bg-panel);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
    }
    .nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 12px;
        background: transparent;
        color: var(--text-muted);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        border: 1px solid transparent;
        cursor: pointer;
        white-space: nowrap;
    }
    .nav-btn:hover { background: rgba(70,140,255,.10); color: var(--text-main); }
    .nav-btn.active { background: var(--accent-grad); color: #fff; border-color: var(--card-edge); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
    .nav-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

    .dropdown-wrapper { position: relative; }
    .dropdown-content {
        display: none;
        position: absolute;
        top: calc(100% + 6px); left: 0; width: 210px;
        background: var(--bg-card);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-md);
        z-index: 50;
        box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
        overflow: hidden;
    }
    .dropdown-wrapper.active .dropdown-content { display: block; }
    .dropdown-content a { display:block; padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); font-size: 0.9rem; color: var(--text-muted); }
    .dropdown-content a:hover { background: rgba(70,140,255,.10); color: var(--text-main); }
    .dropdown-content a:last-child { border-bottom: none; }

    /* --- PAGE HEADER --- */
    .page-header { margin-bottom: 1.5rem; }
    .eyebrow-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
    .data-badge {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(70,140,255,.12); color: var(--accent-ink);
        font-family: var(--font-data); font-size: 0.72rem; letter-spacing: .04em;
        padding: 5px 10px; border-radius: 999px; border: 1px solid var(--card-edge);
        text-transform: uppercase; vertical-align: middle;
    }
    .section-title {
        font-family: var(--display);
        font-size: clamp(1.9rem, 4.5vw, 2.7rem);
        font-weight: 800; letter-spacing: -0.025em; line-height: 1.08;
        margin: 0 0 0.6rem 0;
    }
    .section-description { font-size: 1.05rem; color: var(--text-muted); max-width: 760px; margin: 0; line-height: 1.6; }

    /* --- AEO / QUICK ANSWER BOX --- */
    .answer-box { padding: 22px; margin: 0 0 26px 0; }
    .answer-box h2 { margin: 0 0 10px 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
    .answer-box p { margin: 0 0 12px 0; color: var(--text-muted); line-height: 1.7; max-width: 780px; }
    .answer-kpis {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 12px;
        margin-top: 16px;
    }
    .kpi {
        background: var(--panel-2);
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
        padding: 14px;
    }
    .kpi .kpi-title { font-family: var(--font-data); font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; }
    .kpi .kpi-value { font-weight: 800; font-size: 1.05rem; margin-top: 6px; color: var(--accent-ink); }
    .kpi .kpi-desc { color: var(--text-muted); font-size: 0.88rem; margin-top: 7px; line-height: 1.55; }

    .jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
    .jump-links a {
        display: inline-flex; align-items: center; gap: 8px;
        background: rgba(70,140,255,.10);
        border: 1px solid var(--card-edge);
        border-radius: 999px;
        padding: 9px 14px;
        font-size: 0.84rem; color: var(--text-main);
        min-height: 38px;
    }
    .jump-links a:hover { border-color: var(--accent-glow); color: var(--accent-ink); }

    /* --- SECTION HEADERS for the hub stream --- */
    .stream-head {
        display: flex; align-items: baseline; justify-content: space-between;
        gap: 16px; flex-wrap: wrap;
        margin: 0 0 1rem 0;
    }
    .stream-head h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
    .stream-head .stream-link { font-family: var(--font-data); font-size: 0.8rem; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; }
    .stream-head .stream-link:hover { color: var(--accent-ink); }

    /* --- ARTICLE GRID (ambient-lift cards) --- */
    #articles-grid, #new-articles-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
        margin-bottom: 2.5rem;
    }

    .article-card {
        position: relative;
        background: var(--bg-panel);
        border: 1px solid var(--card-edge);
        border-radius: var(--radius-lg);
        box-shadow: 0 20px 42px -26px var(--accent-glow);
        padding: 16px;
        display: flex; flex-direction: column; height: 100%;
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
        overflow: hidden;
    }
    .article-card::after {
        content: "";
        position: absolute; inset: 0; border-radius: inherit;
        background: radial-gradient(150% 70% at 50% -10%, rgba(70,140,255,.10), transparent 58%);
        pointer-events: none; z-index: 0;
    }
    .article-card > * { position: relative; z-index: 1; }
    .article-card:hover {
        transform: translateY(-3px);
        border-color: var(--accent-glow);
        box-shadow: 0 26px 50px -22px var(--accent-glow);
    }

    .article-image {
        width: 100%; height: 188px;
        background-size: cover; background-position: center;
        background-color: var(--bg-card);
        border-radius: var(--radius-md); margin-bottom: 14px;
        display: block;
    }

    .article-meta {
        display: flex; justify-content: space-between; align-items: center;
        font-size: 0.8rem; color: var(--text-muted);
        padding-bottom: 12px; margin-bottom: 12px;
        border-bottom: 1px solid var(--border-subtle);
    }
    .article-category { font-family: var(--font-data); font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: .04em; font-size: 0.72rem; }
    .article-time { font-family: var(--font-data); color: var(--text-dim); font-size: 0.74rem; }

    .article-title { font-size: 1.08rem; font-weight: 700; margin: 0; color: var(--ink); line-height: 1.38; }
    .article-title a:hover { color: var(--color-primary); }

    /* --- PRIMARY CONVERSION CARD --- */
    .promo-bar { text-align: center; padding: 34px 28px; margin-bottom: 2.5rem; }
    .promo-bar h2, .promo-bar h3 { color: var(--ink); margin: 0 0 12px 0; letter-spacing: -0.02em; font-family: var(--display); }
    .promo-bar h2 { font-size: 1.6rem; font-weight: 800; }
    .promo-bar h3 { font-size: 1.25rem; font-weight: 800; }
    .promo-bar p { color: var(--text-muted); margin: 0 auto 18px; max-width: 520px; line-height: 1.6; }
    .promo-bar-button {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        background: var(--accent-grad); color: #fff; border: none;
        padding: 14px 30px; border-radius: 12px; font-weight: 700; font-size: 1rem;
        font-family: var(--font-ui); cursor: pointer; min-height: 48px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 28px -8px var(--accent-glow);
        transition: transform .18s ease, filter .18s ease;
    }
    .promo-bar-button:hover { transform: translateY(-1px); filter: brightness(1.07); }
    .promo-bar-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
    .promo-icon { font-size: 1.6rem; color: var(--color-primary); margin-bottom: 12px; }

    /* proof strip near the decision -> /results.aspx */
    .proof-row { display: flex; justify-content: center; margin-top: 16px; }
    .bb-proof-local {
        display: inline-flex; align-items: center; gap: 9px;
        background: var(--bg-card); border: 1px solid var(--border-subtle);
        border-radius: 999px; padding: 9px 15px;
        font-family: var(--font-data); font-size: 0.8rem; color: var(--text-muted);
    }
    .bb-proof-local:hover { border-color: var(--color-signal); }
    .bb-proof-local .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-signal); box-shadow: 0 0 8px var(--color-signal); }
    .bb-proof-local .u { color: var(--color-signal); font-weight: 700; }

    /* --- EMAIL SIGNUP --- */
    .full-width-email-signup {
        background: var(--bg-panel);
        border-top: 1px solid var(--border-subtle);
        padding: 64px 5%; margin-top: 64px;
    }
    .email-input {
        background: var(--bg-card);
        border: 1px solid var(--border-strong);
        color: var(--ink); padding: 14px 15px; border-radius: 10px; width: 100%;
        font-family: var(--font-ui); font-size: 0.95rem; min-height: 48px;
    }
    .email-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(70,140,255,.18); }
    .signup-button {
        background: var(--accent-grad);
        color: #fff; padding: 14px;
        border:none; border-radius: 10px; font-weight: 700; font-size: 0.95rem;
        font-family: var(--font-ui);
        width: 100%; margin-top: 10px; cursor: pointer; min-height: 48px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 24px -8px var(--accent-glow);
        transition: transform .18s ease, filter .18s ease;
    }
    .signup-button:hover { transform: translateY(-1px); filter: brightness(1.07); }
    .signup-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

    /* --- SEO CONTENT (demoted below the core) --- */
    .seo-content { color: var(--text-muted); margin: 56px 0 24px 0; }
    .seo-content > h2 { font-family: var(--display); color: var(--text-main); margin-top: 30px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
    .seo-content h3 { color: var(--text-main); margin-top: 18px; font-size: 1.15rem; font-weight: 700; }
    .seo-content p { margin-bottom: 14px; line-height: 1.75; max-width: 820px; }
    .seo-content ul, .seo-content ol { padding-left: 20px; margin-bottom: 14px; }
    .seo-content li { margin-bottom: 8px; line-height: 1.6; }
    .seo-content a { color: var(--color-primary); border-bottom: 1px solid rgba(70,140,255,.3); }
    .seo-content a:hover { border-bottom-color: var(--accent-glow); color: var(--accent-ink); }

    .seo-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; margin-top: 18px; }
    .seo-card {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-lg);
        padding: 18px;
    }
    .seo-card h3 { margin-top: 0; }
    .seo-mini { font-family: var(--font-data); font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }

    .seo-table {
        width: 100%; border-collapse: collapse; margin-top: 12px;
        overflow: hidden; border-radius: 12px; border: 1px solid var(--border-subtle);
    }
    .seo-table th, .seo-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
    .seo-table th { background: var(--bg-card); color: var(--text-main); font-size: 0.85rem; font-family: var(--font-data); text-transform: uppercase; letter-spacing: .03em; }
    .seo-table td { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }
    .seo-table td strong { color: var(--text-main); }
    .seo-table tr:last-child td { border-bottom: none; }

    .callout {
        background: linear-gradient(135deg, rgba(234,179,8,0.08) 0%, var(--panel) 70%);
        border: 1px solid rgba(234,179,8,0.32);
        border-radius: var(--radius-lg);
        padding: 16px; margin-top: 14px;
    }
    .callout strong { color: var(--ink); }

    details.faq {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 14px 16px; margin: 10px 0;
    }
    details.faq[open] { border-color: var(--card-edge); }
    details.faq summary { cursor: pointer; font-weight: 700; color: var(--text-main); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
    details.faq summary::-webkit-details-marker { display:none; }
    details.faq summary::after { content: "+"; font-family: var(--font-data); color: var(--color-primary); transition: transform .18s; }
    details.faq[open] summary::after { content: "\2212"; }
    details.faq p { margin: 10px 0 0 0; }

    .author-box { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-top: 16px; }
    .author-avatar {
        width: 46px; height: 46px; border-radius: 12px;
        background: rgba(70,140,255,.14); border: 1px solid var(--card-edge);
        display: flex; align-items: center; justify-content: center;
        font-weight: 900; font-family: var(--font-data); color: var(--color-primary); user-select: none;
    }
    .author-meta { color: var(--text-muted); line-height: 1.65; font-size: 0.95rem; }
    .author-meta strong { color: var(--ink); }

    /* --- RESPONSIVE --- */
    @media (max-width: 900px) {
        .seo-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
        #articles-grid, #new-articles-grid { grid-template-columns: 1fr; gap: 16px; }
        .betbetter-nav { display: flex; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
        .nav-btn { flex: 0 0 auto; padding: 10px 16px; font-size: 0.82rem; }
        .answer-kpis { grid-template-columns: 1fr; }
        .full-width-email-signup { padding: 48px 5%; }
    }

    /* --- LIGHT-MODE OVERRIDES (additive; only fixes hardcoded dark literals / light-on-light text) --- */
    :root[data-theme="light"] .kpi { background: var(--panel-2); }
    :root[data-theme="light"] .article-title { color: var(--ink); }
    :root[data-theme="light"] .promo-bar h2,
    :root[data-theme="light"] .promo-bar h3 { color: var(--ink); }
    :root[data-theme="light"] .email-input { color: var(--ink); }
    :root[data-theme="light"] .author-meta strong { color: var(--ink); }

    @media (prefers-color-scheme: light) {
        :root:not([data-theme="dark"]):not([data-theme="light"]) .kpi { background: var(--panel-2); }
        :root:not([data-theme="dark"]):not([data-theme="light"]) .article-title { color: var(--ink); }
        :root:not([data-theme="dark"]):not([data-theme="light"]) .promo-bar h2,
        :root:not([data-theme="dark"]):not([data-theme="light"]) .promo-bar h3 { color: var(--ink); }
        :root:not([data-theme="dark"]):not([data-theme="light"]) .email-input { color: var(--ink); }
        :root:not([data-theme="dark"]):not([data-theme="light"]) .author-meta strong { color: var(--ink); }
    }
