/* SoccerTips.ai — single stylesheet, no framework, no external requests.
   Palette from the wordmark: ink #050127, bolt #FFDD64.
   Premium through restraint: type scale, whitespace, hairline rules,
   tabular numerals for anything that looks like a price. */

:root {
    --ink: #050127;
    --ink-soft: #3c3956;
    --muted: #6f6d84;
    --paper: #fbfbfd;
    --card: #ffffff;
    --line: #e7e6ee;
    --bolt: #ffdd64;
    --bolt-deep: #f5c400;
    --win: #1d7a3e;
    --loss: #b3261e;
    --max: 68rem;
    --radius: 10px;
}
@media (prefers-color-scheme: dark) {
    :root {
        --ink: #eceaf6;
        --ink-soft: #c4c2d6;
        --muted: #908fa5;
        --paper: #0b0a1c;
        --card: #131228;
        --line: #26243e;
        --win: #4cc078;
        --loss: #ff8a80;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: "kern";
}

/* ── Layout ── */
main, .site-header-inner, .site-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.25rem;
}
main { padding-top: 1.5rem; padding-bottom: 3rem; }
section { margin: 2.5rem 0; }

/* ── Header ── */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--line);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    padding-top: .9rem;
    padding-bottom: .9rem;
}
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 34px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
    .logo-light { display: none; }
    .logo-dark { display: inline; }
}
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem; }
.site-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    padding: .35rem .65rem;
    border-radius: 6px;
}
.site-nav a:hover { background: var(--paper); color: var(--ink); }

/* ── Type ── */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; margin: 1rem 0 .5rem; }
h2 {
    font-size: 1.25rem; font-weight: 700; margin: 0 0 1rem;
    padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}
h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .25rem; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }
p { margin: .6rem 0; }

.last-updated, .pick-meta, .hint, .byline {
    color: var(--muted);
    font-size: .85rem;
}
.last-updated::before {
    content: "";
    display: inline-block;
    width: .5em; height: .5em;
    border-radius: 50%;
    background: var(--win);
    margin-right: .45em;
}

/* ── Selection cards ── */
.pick, .selection, .fixture {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--bolt);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin: .75rem 0;
}
.pick-line {
    margin: .35rem 0;
    font-variant-numeric: tabular-nums;
}
.pick-line strong {
    background: var(--bolt);
    color: #050127;
    border-radius: 5px;
    padding: .1rem .45rem;
    font-weight: 700;
}
.rationale { color: var(--ink-soft); font-size: .95rem; }
.links, .related { font-size: .9rem; }

/* ── Performance strip ── */
.performance-strip, .performance {
    background: #050127;
    color: #eceaf6;
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
}
.performance-strip h2, .performance h2 { color: #b9b6d8; border: 0; margin-bottom: .25rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.performance-strip strong, .performance strong { color: var(--bolt); font-variant-numeric: tabular-nums; }
.performance-strip a, .performance a { color: #cfcde6; }

/* ── Tables (standings, results) ── */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: .92rem;
    font-variant-numeric: tabular-nums;
}
th, td { padding: .5rem .65rem; text-align: left; }
th {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--muted); border-bottom: 1px solid var(--line);
}
tr:nth-child(even) td { background: color-mix(in srgb, var(--line) 25%, transparent); }
.table, .yesterday { overflow-x: auto; }

/* ── FAQ / prose ── */
.faq h3 { margin-top: 1.25rem; }
.about-blurb, .about-tool, .intro, .prose, .league-prose {
    max-width: 46rem;
}

/* ── Forms (tools) ── */
form.acca-form, form.calc-form, form.conv-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    align-items: end;
}
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
legend { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0; margin-bottom: .35rem; }
label { display: inline-flex; flex-direction: column; gap: .25rem; font-size: .9rem; font-weight: 600; }
fieldset label { flex-direction: row; align-items: center; gap: .4rem; font-weight: 500; }
input, select {
    font: inherit;
    color: inherit;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .45rem .6rem;
    max-width: 9rem;
}
button {
    font: inherit; font-weight: 700;
    background: var(--bolt);
    color: #050127;
    border: 0;
    border-radius: 8px;
    padding: .6rem 1.2rem;
    cursor: pointer;
}
button:hover { background: var(--bolt-deep); }

/* ── Breadcrumbs ── */
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-top: .75rem; }
.breadcrumbs a { color: var(--muted); }

/* ── Ad slot (GambleAd) ── */
.ad-slot { margin: 1.5rem 0; }

/* ── Compliance ── */
.compliance {
    margin: 3rem 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .9rem 1.1rem;
    font-size: .82rem;
    color: var(--muted);
}
.compliance strong {
    display: inline-block;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    width: 2.1em; height: 2.1em;
    line-height: 2.1em;
    text-align: center;
    margin-bottom: .35rem;
}
.compliance p { margin: .3rem 0; }

/* ── Footer ── */
.site-footer {
    background: #050127;
    color: #b9b6d8;
    margin-top: 3rem;
    font-size: .85rem;
}
.site-footer-inner { padding-top: 2rem; padding-bottom: 2.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin-bottom: 1.25rem; }
.site-footer a { color: #cfcde6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ── Lists as nav blocks (markets, leagues, tools) ── */
.markets ul, main > ul, section > ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: .5rem;
}
.markets li a, main > ul li a, section > ul li a {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .6rem .8rem;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}
.markets li a:hover, main > ul li a:hover, section > ul li a:hover {
    border-color: var(--bolt-deep);
}
.yesterday ul, .faq ul { display: block; }
.yesterday li { padding: .35rem 0; border-bottom: 1px solid var(--line); list-style: none; }

@media (max-width: 640px) {
    .logo img { height: 28px; }
    .site-nav a { padding: .3rem .45rem; font-size: .88rem; }

    /* Burger nav: high-value links stay one tap away, the rest collapse.
       Gated on html.js so the no-JS/crawler baseline keeps the flat nav. */
    html.js .site-header-inner { position: relative; }
    html.js .nav-toggle {
        /* beside the logo, not wrapped onto its own nav row */
        position: absolute;
        top: .9rem;
        right: 1.25rem;
        display: inline-flex;
        align-items: center;
        padding: .35rem .55rem;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: none;
        color: var(--ink-soft);
        cursor: pointer;
    }
    html.js .site-nav a.nav-more { display: none; }
    html.js .site-nav.nav-open a.nav-more {
        display: block;
        order: 10;
        width: 100%;
    }
    html.js .site-nav.nav-open .nav-toggle {
        background: var(--paper);
        color: var(--ink);
    }
}
.nav-toggle { display: none; }

/* ── Correct score predictor: probability bars + heat grid ── */
.prob-list { max-width: 30rem; }
.prob-row {
    display: grid;
    grid-template-columns: 7.5rem 1fr 3.5rem;
    gap: .6rem;
    align-items: center;
    padding: .3rem 0;
    font-variant-numeric: tabular-nums;
}
.prob-score { font-weight: 700; }
.prob-score em { font-style: normal; font-weight: 600; font-size: .7rem;
    background: var(--ink); color: var(--bolt); border-radius: 4px;
    padding: .1rem .35rem; vertical-align: middle; }
@media (prefers-color-scheme: dark) { .prob-score em { background: var(--bolt); color: #050127; } }
.prob-track { height: .55rem; background: var(--line); border-radius: 99px; overflow: hidden; }
.prob-fill { display: block; height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, var(--bolt), var(--bolt-deep)); }
.prob-pct { text-align: right; color: var(--ink-soft); font-size: .9rem; }
table.heat td { text-align: center; }
table.heat tr:nth-child(even) td { background: transparent; }
td.cell-max { outline: 2px solid var(--ink); outline-offset: -2px; font-weight: 700; border-radius: 4px; }

/* ── Predictor result spacing + grid axes ── */
#csp-result h2 { margin-top: 2.25rem; }
#csp-result h3 { margin: 2.25rem 0 .9rem; }
#csp-result .pick-meta { margin-bottom: 1.5rem; }
th.axis-x { text-transform: none; letter-spacing: 0; font-size: .85rem;
    color: var(--ink-soft); text-align: center; padding-top: .7rem; }
th.axis-y { width: 2.2rem; text-align: center; vertical-align: middle; }
th.axis-y span { writing-mode: vertical-rl; transform: rotate(180deg);
    text-transform: none; letter-spacing: 0; font-size: .85rem;
    color: var(--ink-soft); white-space: nowrap; }

/* ── Content cards (glossary, guides, insights listings) ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 1rem;
}
.content-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.content-card:hover { border-color: var(--bolt-deep); transform: translateY(-2px); }
.card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media--mono {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #050127 0%, #1b1747 70%, #2a2465 100%);
    color: var(--bolt);
    font-size: 2.6rem;
    font-weight: 800;
    position: relative;
}
.card-media--mono::after {
    content: "";
    position: absolute;
    right: .9rem; bottom: .7rem;
    width: 14px; height: 28px;
    background: var(--bolt);
    clip-path: polygon(65% 0, 0 55%, 40% 55%, 25% 100%, 100% 40%, 55% 40%);
    opacity: .85;
}
.card-body { display: flex; flex-direction: column; gap: .3rem; padding: .85rem 1rem 1rem; }
.card-title { font-weight: 700; line-height: 1.3; }
.card-desc {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Subnav chips (day pages, markets, leagues) ── */
.subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin: 1rem 0 1.5rem;
}
.subnav-title {
    flex-basis: 100%;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .1rem;
}
.chip {
    display: inline-block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: .3rem .8rem;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}
a.chip:hover { border-color: var(--bolt-deep); }
.chip--current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (prefers-color-scheme: dark) { .chip--current { background: var(--bolt); color: #050127; border-color: var(--bolt); } }

/* ── Author profile ── */
.author-profile { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; margin: 1.5rem 0; }
.author-photo { border-radius: 50%; object-fit: cover; border: 3px solid var(--bolt); }
.author-bio { flex: 1; min-width: 16rem; max-width: 46rem; }

/* ── Fixture tile header: logos, weighted names, competition chip ── */
.mh {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 .35rem;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.mh-team { display: inline-flex; align-items: center; gap: .45rem; }
.mh-team img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.mh-vs {
    color: var(--muted);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
}
.mh-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 .55rem;
    font-size: .8rem;
    color: var(--muted);
}
.comp-chip {
    background: color-mix(in srgb, var(--line) 45%, transparent);
    border-radius: 5px;
    padding: .12rem .5rem;
    font-weight: 600;
    color: var(--ink-soft);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Tools index cards ── */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: .75rem;
}
.tool-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--bolt);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
}
.tool-card h2 { border: 0; padding: 0; margin: 0 0 .35rem; font-size: 1.05rem; }
.tool-card a { text-decoration: none; }
.tool-card a:hover { text-decoration: underline; }
.tool-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* ── Steamers & drifters ── */
.movers td .hint { display: block; font-size: .75rem; }
.move-in { color: var(--win); font-weight: 700; font-variant-numeric: tabular-nums; }
.move-out { color: var(--loss); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Steaming/drifting badge + team news + boards ── */
.badge-move {
    display: inline-block;
    border-radius: 5px;
    padding: .08rem .45rem;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    vertical-align: 1px;
}
.badge-steam { background: color-mix(in srgb, var(--win) 14%, transparent); color: var(--win); }
.badge-drift { background: color-mix(in srgb, var(--loss) 12%, transparent); color: var(--loss); }
.badge-move:hover { text-decoration: underline; }
.team-news { color: var(--muted); font-size: .82rem; margin: .3rem 0 0; }
.board h4 { margin: .75rem 0 .35rem; font-size: .85rem; }
.board table { font-size: .85rem; max-width: 28rem; }

/* ── Projections: highlight the page's own line ── */
.line-focus td { background: color-mix(in srgb, var(--bolt) 18%, transparent) !important; }

/* ── Info-market badge ── */
.badge-info {
    display: inline-block;
    background: color-mix(in srgb, var(--muted) 16%, transparent);
    color: var(--muted);
    border-radius: 5px;
    padding: .08rem .5rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    vertical-align: 2px;
}

/* ── Per-card model stats + odds strip ── */
.match-stats {
    margin-top: .6rem;
    padding-top: .6rem;
    border-top: 1px dashed var(--line);
}
.stat-strip {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem .9rem;
    margin: 0 0 .25rem;
    font-size: .84rem;
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    min-width: 3rem;
}
.stat em {
    font-style: normal;
    color: var(--muted);
    margin-right: .15rem;
}
.stat { font-weight: 600; }
.stat small { font-weight: 500; color: var(--muted); }

/* ── Membership UI ── */
.notice {
    background: color-mix(in srgb, var(--bolt) 25%, transparent);
    border-radius: 8px;
    padding: .7rem 1rem;
}
.notice.error { background: color-mix(in srgb, var(--loss) 14%, transparent); }
.account-panel, .email-capture {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1.3rem;
    max-width: 30rem;
}
.account-panel form { margin: .75rem 0 0; }
.logout-form { margin-top: 1.25rem; }
.button-quiet { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.checkline { flex-direction: row; align-items: center; gap: .5rem; }
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: .9rem;
    max-width: 46rem;
}
.plan-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    text-align: center;
}
.plan-featured { border-color: var(--bolt); border-width: 2px; }
.plan-price { font-size: 1.6rem; font-weight: 800; margin: .3rem 0 .8rem; }
.plan-price s { font-size: 1rem; color: var(--muted); font-weight: 500; margin-left: .35rem; }
.premium-points li { margin: .35rem 0; }
.premium-teaser {
    background: color-mix(in srgb, var(--bolt) 18%, transparent);
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .92rem;
}
.email-capture { margin: 2.5rem 0; max-width: 34rem; }
.email-capture h2 { border: 0; padding: 0; margin: 0 0 .25rem; font-size: 1.05rem; }
.capture-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.capture-form input[type=email] { flex: 1 1 14rem; max-width: none; }
.hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.sr-label { position: absolute; left: -9999px; }

/* ── Consent bar (slim, top, never covers buttons) ── */
.consent-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    flex-wrap: wrap;
    background: #050127;
    color: #cfcde6;
    font-size: .82rem;
    padding: .45rem 1rem;
}
.consent-bar a { color: #ffffff; }
.consent-actions { display: flex; gap: .5rem; }
.consent-bar button { padding: .25rem .8rem; font-size: .8rem; }
.nav-premium { color: var(--bolt-deep) !important; font-weight: 700; }

/* hidden attribute must beat the flex display on the consent bar */
.consent-bar[hidden] { display: none; }

/* Android app upsell surfaces (app-upsell spec). Bar is fixed, no reflow;
   body.app-bar-open compensates so the footer is never covered. */
.app-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: .7rem;
    max-height: 64px;
    padding: .5rem 1rem;
    padding-bottom: calc(.5rem + env(safe-area-inset-bottom));
    background: #050127;
    color: #eceaf6;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .35);
}
.app-bar[hidden] { display: none; }
.app-bar img { border-radius: 8px; flex: 0 0 auto; }
.app-bar-text { flex: 1; font-size: .85rem; line-height: 1.25; }
.app-bar .promo-button { white-space: nowrap; }
.app-bar-close, .app-promo-close {
    background: none; border: 0; color: #8a87a6;
    font-size: 1.3rem; line-height: 1; padding: .3rem .5rem; cursor: pointer;
}
body.app-bar-open { padding-bottom: 84px; }
.app-promo-card {
    position: relative;
    border: 1px solid var(--line, #d8d6e6);
    border-radius: 12px;
    padding: 1rem 2.4rem 1rem 1.2rem;
    margin: 1.2rem 0;
}
.app-promo-card[hidden] { display: none; }
.app-promo-close { position: absolute; top: .4rem; right: .4rem; }
.app-play-block { margin-top: 1.2rem; }
.app-play-block[hidden] { display: none; }
.save-account { position: relative; padding-right: 2.4rem; }
.save-account form { display: flex; gap: .5rem; flex-wrap: wrap; margin: .6rem 0; }
.save-account input { flex: 1; min-width: 180px; padding: .45rem .6rem; }
.save-account[hidden], .save-account form[hidden], .save-account p[hidden] { display: none; }

/* ── Premium promos ── */
.nav-premium {
    background: var(--bolt);
    color: #050127 !important;
    border-radius: 999px;
    padding: .35rem .9rem !important;
    font-weight: 800;
}
.nav-premium:hover { background: var(--bolt-deep); }
.promo-card {
    background: #050127;
    color: #eceaf6;
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
}
.promo-card h2 { color: #fff; border: 0; padding: 0; margin: 0 0 .6rem; }
.promo-card .premium-points li { margin: .3rem 0; }
.promo-card .hint { color: #b9b6d8; }
.promo-button {
    display: inline-block;
    background: var(--bolt);
    color: #050127;
    font-weight: 800;
    border-radius: 8px;
    padding: .55rem 1.1rem;
    text-decoration: none;
}
.promo-button:hover { background: var(--bolt-deep); }
.promo-cta-line { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .9rem 0 0; }
.promo-strip {
    display: flex;
    align-items: center;
    gap: .8rem 1.1rem;
    flex-wrap: wrap;
    background: color-mix(in srgb, var(--bolt) 16%, var(--card));
    border: 1px solid color-mix(in srgb, var(--bolt) 45%, var(--line));
    border-radius: var(--radius);
    padding: .8rem 1.1rem;
    margin: 2rem 0;
}
.promo-strip .promo-button { padding: .4rem .9rem; font-size: .92rem; }
.promo-member { background: var(--card); border: 1px solid var(--line); }

/* ── Network cross-promo cards ── */
.net-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: .9rem;
}
.net-kicker {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin: 0 0 .2rem;
    font-weight: 700;
}
.net-card h3 { margin: 0 0 .35rem; }
.net-site-name { border: 0; padding: 0; margin: 0 0 .3rem; font-size: 1.05rem; }
.net-button { margin-top: .6rem; font-size: .9rem; padding: .45rem .9rem; }

/* ── App mode (the Android TWA build) ───────────────────────────────────────
   html.app-mode is set pre-paint by the header script; these surfaces are
   Play-policy removals (ads, affiliate disclosure, Stripe entry points).
   The footer script then remove()s the nodes outright. */
html.app-mode [data-app-hide] { display: none !important; }

/* ── App 2.0.0+ (native build): rewarded day pass + banner room ── */
.rewarded-unlock { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin: .9rem 0 0; }
.rewarded-unlock[hidden], .rewarded-unlock [hidden] { display: none !important; }
button.promo-button { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
button.promo-button:disabled { opacity: .7; cursor: default; }
.rewarded-plans:not(:has(.rewarded-unlock:not([hidden]))) { display: none; }

/* ── Match pages (phase 6, /match/{home}-vs-{away}/) ───────────────────── */
.prob-bars { margin: 1rem 0; }
.prob-row { display: flex; align-items: center; gap: .6rem; margin: .35rem 0; }
.prob-team { flex: 0 0 9.5rem; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prob-track { flex: 1; height: .65rem; background: var(--line); border-radius: 999px; overflow: hidden; }
.prob-fill { display: block; height: 100%; background: var(--bolt-deep); border-radius: 999px; }
.prob-pc { flex: 0 0 2.6rem; text-align: right; font-size: .85rem; font-variant-numeric: tabular-nums; }
.prob-note { color: var(--muted); font-size: .8rem; margin: .5rem 0 0; }
.in-play-note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--bolt-deep); border-radius: var(--radius); padding: .6rem .8rem; font-size: .9rem; }
.settled-picks td, .settled-picks th { font-size: .9rem; }
.outcome-won { color: var(--win); font-weight: 700; }
.outcome-lost { color: var(--loss); font-weight: 700; }
.outcome-void, .outcome-half_won, .outcome-half_lost { color: var(--muted); font-weight: 600; }
.pl-line { font-size: .9rem; }
.form-run { font-family: ui-monospace, monospace; letter-spacing: .15em; font-size: .85rem; }
.featured-pick { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; margin: 1rem 0; }
.featured-pick h2 { margin-top: 0; }

/* ── Match pages: context, markets, lineups, byline (26 Nov 2026) ───────── */
.byline { color: var(--muted); font-size: .82rem; margin: .2rem 0 0; }
.model-scoreline { margin: .4rem 0 0; font-size: .95rem; }
.match-context p { max-width: 62ch; }
.lineups-pending { color: var(--muted); font-size: .9rem; }
.lineup-side { font-size: .92rem; max-width: 70ch; }
.match-markets td, .match-markets th { font-size: .88rem; }
.match-markets .mm-group { font-weight: 600; white-space: nowrap; }
.lineup-subs { color: var(--muted); font-size: .82rem; margin: -.3rem 0 .6rem; max-width: 70ch; }
