﻿/* extracted verbatim 2026-08-28 estate speed sweep. New content = new filename. */

        /* ============================================================
           TENNIS BETTING GUIDE — world-class content hub
           Uses global Site.Master tokens only. No token redefinition.
           ============================================================ */

        .tg-wrap {
            width: 100%;
            max-width: 1120px;
            margin: 0 auto;
            padding: 1.75rem 5% 4rem;
            box-sizing: border-box;
            font-family: var(--ui);
        }

        /* Headings & base ink — readable, system fonts */
        .tg-wrap h1, .tg-wrap h2, .tg-wrap h3, .tg-wrap h4 {
            font-family: var(--display);
            color: var(--ink);
            letter-spacing: -0.01em;
            margin: 0;
        }
        .tg-wrap p { color: var(--ink-dim); line-height: 1.65; margin: 0; }
        .tg-wrap strong, .tg-wrap b { color: var(--ink); font-weight: 650; }
        .tg-wrap a { color: var(--action-hi); text-decoration: none; transition: color .18s ease; }
        .tg-wrap a:hover { color: var(--accent-ink); }
        .tg-wrap a:focus-visible,
        .tg-wrap button:focus-visible,
        .tg-wrap summary:focus-visible {
            outline: 2px solid var(--action-hi);
            outline-offset: 2px;
            border-radius: 4px;
        }
        .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

        /* ---------- Breadcrumb ---------- */
        .tg-crumb {
            font-family: var(--mono);
            font-size: .78rem;
            letter-spacing: .04em;
            color: var(--ink-faint);
            margin-bottom: 1.75rem;
        }
        .tg-crumb a { color: var(--ink-dim); }
        .tg-crumb a:hover { color: var(--action-hi); }
        .tg-crumb .sep { color: var(--line-strong); margin: 0 .15rem; }
        .tg-crumb .here { color: var(--ink); }

        /* ---------- HERO (value-stating, above the fold) ---------- */
        .tg-hero { margin-bottom: 2.25rem; }
        .tg-kicker {
            display: inline-flex; align-items: center; gap: .5rem;
            font-family: var(--mono); font-size: .72rem; font-weight: 600;
            letter-spacing: .14em; text-transform: uppercase;
            color: var(--action-hi);
            border: 1px solid var(--card-edge);
            background: rgba(70,140,255,.06);
            padding: .35rem .7rem; border-radius: 999px;
            margin-bottom: 1.1rem;
        }
        .tg-wrap h1#mainHeadline,
        .tg-wrap h1 {
            font-size: clamp(2rem, 5vw, 3.1rem);
            line-height: 1.05;
            font-weight: 700;
        }
        .tg-sub {
            margin-top: 1rem;
            font-size: clamp(1rem, 1.6vw, 1.18rem);
            color: var(--ink-dim);
            max-width: 60ch;
            line-height: 1.6;
        }

        /* ---------- Primary forward CTA row (highest intent) ---------- */
        .tg-cta-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: .85rem;
            margin-top: 1.75rem;
        }
        .tg-cta {
            position: relative;
            display: flex; flex-direction: column; gap: .35rem;
            min-height: 44px;
            padding: 1.1rem 1.25rem;
            border-radius: .85rem;
            background: var(--panel);
            border: 1px solid var(--card-edge);
            box-shadow: 0 20px 42px -24px var(--accent-glow);
            overflow: hidden;
            transition: transform .18s ease, border-color .18s ease;
        }
        .tg-cta::after {
            content: ""; position: absolute; inset: 0; pointer-events: none;
            background: radial-gradient(120% 80% at 50% 0%, rgba(70,140,255,.12), transparent 60%);
        }
        .tg-cta:hover { transform: translateY(-2px); border-color: var(--accent-glow); }
        .tg-cta .tg-cta-label {
            display: flex; align-items: center; gap: .55rem;
            font-family: var(--display); font-weight: 650; font-size: 1.02rem;
            color: var(--ink);
        }
        .tg-cta .tg-cta-label i { color: var(--action-hi); }
        .tg-cta .tg-cta-desc { font-size: .85rem; color: var(--ink-faint); }
        .tg-cta .tg-cta-go {
            position: absolute; top: 1.1rem; right: 1.15rem;
            color: var(--action-hi); font-size: .9rem;
            transition: transform .18s ease;
        }
        .tg-cta:hover .tg-cta-go { transform: translateX(3px); }
        /* primary emphasis on Picks */
        .tg-cta.is-primary { border-color: var(--accent-glow); background: var(--panel-2); }

        /* ---------- Secondary nav strip (guide switcher + jump links) ---------- */
        .tg-nav {
            display: flex; flex-wrap: wrap; gap: .6rem;
            margin: 1.5rem 0 2.5rem;
            padding: .85rem;
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: .8rem;
        }
        .nav-btn {
            flex: 1 1 auto; text-align: center;
            min-height: 44px;
            display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
            background: var(--panel-2);
            color: var(--ink-dim);
            padding: .65rem 1rem;
            border-radius: .55rem;
            font-size: .88rem; font-weight: 600;
            border: 1px solid var(--line);
            white-space: nowrap; cursor: pointer;
            transition: all .16s ease;
        }
        .nav-btn:hover { background: rgba(70,140,255,.12); color: var(--ink); border-color: var(--card-edge); }
        .nav-btn.active {
            background: var(--accent-grad); color: #fff; border-color: transparent;
            box-shadow: 0 8px 20px -8px var(--accent-glow);
        }

        /* Dropdown */
        .dropdown-wrapper { position: relative; display: inline-block; flex: 1 1 auto; }
        .dropdown-content {
            display: none; position: absolute; top: calc(100% + .35rem); left: 0;
            min-width: 240px;
            background: var(--panel-2);
            border: 1px solid var(--line-strong);
            border-radius: .6rem;
            z-index: 999;
            box-shadow: 0 24px 48px -16px rgba(0,0,0,.7);
            overflow: hidden;
        }
        .dropdown-wrapper.active .dropdown-content { display: block; }
        .dropdown-content a {
            display: block; padding: .8rem 1rem; min-height: 44px;
            color: var(--ink-dim); font-size: .9rem;
            border-bottom: 1px solid var(--line);
        }
        .dropdown-content a:last-child { border-bottom: none; }
        .dropdown-content a:hover { background: rgba(70,140,255,.14); color: var(--ink); }

        /* ---------- Proof strip ---------- */
        .tg-proof {
            display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
            margin: 0 0 2.75rem;
            padding: .95rem 1.2rem;
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: .7rem;
        }
        .tg-proof .pf-txt { font-size: .9rem; color: var(--ink-dim); }
        .tg-proof .pf-txt strong { color: var(--ink); }
        .tg-proof a { font-family: var(--mono); font-size: .82rem; font-weight: 600; white-space: nowrap; }

        /* ---------- Popularity widget wrapper (system surface) ---------- */
        .popularity-wrapper {
            margin-bottom: 2.5rem;
            padding: 1rem;
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: .75rem;
        }
        .popularity-wrapper .widget-content { display: flex; flex-wrap: wrap; gap: 1rem; }

        /* ---------- Section heading ---------- */
        .tg-section-head { margin: 0 0 1.4rem; }
        .tg-section-head .eyebrow {
            font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
            text-transform: uppercase; color: var(--action-hi); display: block; margin-bottom: .45rem;
        }
        .tg-section-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
        .tg-section-head p { margin-top: .55rem; max-width: 62ch; }

        /* ---------- Market cards (ambient-lift) ---------- */
        .guide-card {
            position: relative;
            background: var(--panel);
            border: 1px solid var(--card-edge);
            border-radius: .85rem;
            padding: 1.6rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 20px 42px -24px var(--accent-glow);
            overflow: hidden;
        }
        .guide-card::after {
            content: ""; position: absolute; inset: 0; pointer-events: none;
            background: radial-gradient(110% 70% at 50% 0%, rgba(70,140,255,.10), transparent 55%);
        }
        .guide-card > * { position: relative; z-index: 1; }
        .section-header {
            display: flex; align-items: center; gap: .7rem;
            margin-bottom: .9rem; padding-bottom: .8rem;
            border-bottom: 1px solid var(--line);
        }
        .section-header h3 { font-size: 1.15rem; }
        .section-icon { color: var(--action-hi); font-size: 1.15rem; }

        /* ---------- Terminal / odds example ---------- */
        .terminal-example {
            background: var(--void);
            border-left: 3px solid var(--card-edge);
            padding: 1rem 1.1rem;
            margin: 1.1rem 0 0;
            border-radius: 0 .5rem .5rem 0;
            font-family: var(--mono);
            font-size: .88rem;
            color: var(--ink-dim);
            line-height: 1.7;
        }
        .terminal-example .val  { color: var(--model); font-weight: 700; font-variant-numeric: tabular-nums; }
        .terminal-example .loss { color: var(--book);  font-weight: 700; font-variant-numeric: tabular-nums; }
        .terminal-example .cmt  { color: var(--ink-faint); }

        /* ---------- Grids ---------- */
        .grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
        .props-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.3rem; }
        .prop-cell {
            background: var(--void);
            padding: 1rem; border-radius: .55rem;
            border: 1px solid var(--line);
        }
        .prop-cell strong { display: block; margin-bottom: .25rem; }
        .prop-cell span { color: var(--ink-faint); font-size: .85rem; }

        /* total-games result tile */
        .tg-result {
            display: flex; justify-content: space-between; align-items: center;
            gap: 1rem; flex-wrap: wrap;
        }
        .tg-result .lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
        .tg-result .big  { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; }
        .tg-result .win  { font-size: 1.15rem; color: var(--model); font-family: var(--mono); font-variant-numeric: tabular-nums; }

        /* in-card forward CTA */
        .card-cta {
            display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
            width: 100%; min-height: 44px; margin-top: 1.3rem;
            padding: .8rem 1rem; border-radius: .6rem;
            font-weight: 650; font-size: .95rem; color: #fff;
            background: var(--accent-grad);
            box-shadow: 0 10px 24px -10px var(--accent-glow);
            transition: transform .16s ease;
        }
        .card-cta:hover { transform: translateY(-1px); color: #fff; }

        /* ---------- FAQ ---------- */
        .tg-faq { max-width: 820px; margin: 3.5rem auto 0; }
        .tg-faq h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); text-align: center; margin-bottom: 1.6rem; }
        .tg-faq details {
            background: var(--panel);
            border: 1px solid var(--line);
            border-radius: .6rem;
            margin-bottom: .85rem;
            overflow: hidden;
        }
        .tg-faq summary {
            padding: 1rem 1.15rem; min-height: 44px; cursor: pointer;
            font-weight: 600; color: var(--ink);
            list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        }
        .tg-faq summary::-webkit-details-marker { display: none; }
        .tg-faq summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem; color: var(--action-hi); transition: transform .2s ease; }
        .tg-faq details[open] summary::after { transform: rotate(180deg); }
        .tg-faq details p { padding: 0 1.15rem 1.15rem; }

        /* ---------- Library (demoted, bottom) ---------- */
        .tg-library { margin-top: 3rem; }
        .tg-library ul {
            list-style: none; padding: 0; margin: 1.2rem 0 0;
            display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem;
        }
        .tg-library li a {
            display: flex; align-items: center; gap: .65rem; min-height: 44px;
            padding: .8rem 1rem; border-radius: .6rem;
            background: var(--panel-2); border: 1px solid var(--line);
            color: var(--ink-dim); font-weight: 600; font-size: .92rem;
            transition: all .16s ease;
        }
        .tg-library li a:hover { border-color: var(--card-edge); color: var(--ink); background: rgba(70,140,255,.08); }
        .tg-library li a i { color: var(--action-hi); }

        /* ---------- Compliance note ---------- */
        .tg-compliance {
            margin-top: 2.5rem; padding-top: 1.5rem;
            border-top: 1px solid var(--line);
            font-size: .8rem; color: var(--ink-faint); line-height: 1.6;
        }

        /* ---------- Responsive ---------- */
        @media (min-width: 680px) {
            .tg-cta-row { grid-template-columns: 1fr 1fr; }
        }
        @media (min-width: 880px) {
            .tg-cta-row { grid-template-columns: repeat(4, 1fr); }
            .grid-2 { grid-template-columns: 1fr 1fr; }
            .props-grid { grid-template-columns: repeat(3, 1fr); }
        }
    