/*
 * Game page — shared layout for every sport's detailed game page.
 * Markup: app/templates/components/matchup/*.html (gp_* macros).
 * View-model: app/services/analysis/game_page.py.
 * Mobile-first (390px); tokens come from main.css so dark / light both work.
 */
.gp-page {
    --gp-away: #3b82f6;
    --gp-home: #f59e0b;
    --gp-draw: #94a3b8;
    --gp-pos: #22c55e;
    --gp-neg: #ef4444;
    --gp-warn: #eab308;
    --gp-away-soft: rgba(59, 130, 246, .32);
    --gp-home-soft: rgba(245, 158, 11, .32);
    --gp-pos-soft: rgba(34, 197, 94, .14);
    --gp-neg-soft: rgba(239, 68, 68, .12);
    --gp-warn-soft: rgba(234, 179, 8, .14);
    --gp-radius: 14px;
    --gp-gap: 12px;
    max-width: 960px;
    margin: 0 auto;
    padding: 4px 0 48px; /* .main-content supplies the side gutter */
    color: var(--text-primary);
}
[data-theme="light"] .gp-page {
    --gp-away: #2563eb;
    --gp-home: #d97706;
    --gp-pos: #15803d;
    --gp-neg: #dc2626;
    --gp-warn: #a16207;
}
.gp-page *, .gp-page *::before, .gp-page *::after { box-sizing: border-box; }
.gp-page .gp-num { font-variant-numeric: tabular-nums; }

.gp-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 13px; text-decoration: none; margin-bottom: 10px; min-height: 32px; }
.gp-back:hover { color: var(--text-primary); }

.gp-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--gp-radius); padding: 16px; margin: 0 0 var(--gp-gap); }
.gp-card-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.01em; }
.gp-card-title .gp-kicker { font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }
.gp-card-title .gp-title-aside { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--text-muted); }
.gp-sub { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin: 16px 0 8px; }
.gp-note { font-size: 12px; line-height: 1.5; color: var(--text-muted); margin: 8px 0 0; }
.gp-note a { color: var(--text-link, #58a6ff); }
.gp-muted { color: var(--text-muted); }

/* ── Pick tracker (under the live scoreboard) ───────────── */
.gp-tracker { display: flex; flex-direction: column; gap: 6px; margin: 0 16px 12px; padding: 8px 10px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-tertiary); }
.gp-tracker[hidden] { display: none !important; }
.gp-tracker.is-empty { display: none; }
.gp-tracker-user { display: contents; }
.gp-tracker-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 24px; font-size: 12px; }
.gp-tracker-who { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.gp-tracker-grade { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; padding: 0 5px; border-radius: 5px; font-size: 11px; font-weight: 900; letter-spacing: 0; color: #fff; background: var(--gp-pos); }
.gp-tracker-pick { font-weight: 700; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-tracker-pick small { font-weight: 600; color: var(--text-muted); }
.gp-tracker-status { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 2px 8px; border-radius: 999px; color: var(--text-muted); background: var(--bg-secondary); }
.gp-tracker-status:empty { display: none; }
.gp-tracker-status.covering { color: var(--gp-pos); background: var(--gp-pos-soft); }
.gp-tracker-status.not-covering { color: var(--gp-neg); background: var(--gp-neg-soft); }
.gp-tracker-status.push { color: var(--gp-warn); background: var(--gp-warn-soft); }
.gp-tracker-status.pending { color: var(--text-muted); }
@media (max-width: 480px) {
    .gp-tracker { margin: 0 10px 10px; }
}

/* ── Header ─────────────────────────────────────────────── */
.gp-hero { padding: 0; overflow: hidden; }
.gp-banner { background: var(--gp-warn-soft); color: var(--gp-warn); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-align: center; padding: 6px 12px; }
.gp-hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 12px 16px 0; font-size: 12px; color: var(--text-secondary); text-align: center; }
.gp-league-chip { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--bg-tertiary); color: var(--text-primary); letter-spacing: .02em; }
.gp-meta-sep { color: var(--text-muted); }
.gp-weather-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--bg-tertiary); color: var(--text-secondary); font-weight: 600; }
.gp-hero-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 14px 16px 10px; }
.gp-team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.gp-logo-wrap { width: 56px; height: 56px; position: relative; flex-shrink: 0; }
.gp-logo { width: 56px; height: 56px; object-fit: contain; display: block; }
.gp-logo-fallback { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; }
.gp-team.away .gp-logo-fallback { background: var(--gp-away-soft); color: var(--gp-away); }
.gp-team.home .gp-logo-fallback { background: var(--gp-home-soft); color: var(--gp-home); }
.gp-team-name { font-size: 15px; font-weight: 800; line-height: 1.2; margin: 0; overflow-wrap: break-word; hyphens: auto; max-width: 100%; }
.gp-team-sub { font-size: 12px; color: var(--text-muted); }
.gp-team-rank { font-size: 11px; font-weight: 700; color: var(--text-secondary); }
.gp-team-tag { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gp-team.away .gp-team-tag { color: var(--gp-away); }
.gp-team.home .gp-team-tag { color: var(--gp-home); }
.gp-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 72px; }
.gp-situation { margin: 0 16px 10px; }
.gp-situation .lsit { margin-top: 0; }
.gp-mid .live-nums .leading { color: var(--text-primary); }
.gp-mid .at-sign { font-size: 16px; font-weight: 800; color: var(--text-muted); }
.gp-mid .live-scoreboard { text-align: center; }
.gp-mid .live-status { display: block; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.gp-mid .live-scoreboard.is-live .live-status { color: var(--gp-neg); }
.gp-mid .live-nums { display: flex; gap: 6px; align-items: baseline; justify-content: center; font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }
.gp-mid .live-nums .winner { color: var(--gp-pos); }
.gp-mid .live-dash { color: var(--text-muted); font-weight: 400; }
.gp-proj { font-size: 11px; color: var(--text-muted); text-align: center; white-space: nowrap; }
.gp-proj strong { color: var(--text-primary); font-size: 13px; font-variant-numeric: tabular-nums; }

.gp-winbar { padding: 0 16px 14px; }
.gp-winbar-track { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--bg-tertiary); }
.gp-winbar-fill.away { background: var(--gp-away); }
.gp-winbar-fill.home { background: var(--gp-home); }
.gp-winbar-fill.draw { background: var(--gp-draw); }
.gp-winbar-labels { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gp-winbar-labels .away { color: var(--gp-away); }
.gp-winbar-labels .home { color: var(--gp-home); }
.gp-winbar-labels .draw { color: var(--text-muted); }
.gp-winbar-caption { font-size: 10px; text-align: center; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* ── Section nav ─────────────────────────────────────────── */
.gp-nav { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; margin-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gp-nav::-webkit-scrollbar { display: none; }
.gp-nav a { flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg-secondary); border: 1px solid var(--border-color); color: var(--text-secondary); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.gp-nav a:hover, .gp-nav a:focus-visible { color: var(--text-primary); border-color: var(--text-muted); }
.gp-anchor { scroll-margin-top: 72px; }

/* ── Verdict ─────────────────────────────────────────────── */
.gp-verdict { border-left: 4px solid var(--border-color); }
.gp-verdict.pick { border-left-color: var(--gp-pos); }
.gp-verdict.pass { border-left-color: var(--text-muted); }
.gp-verdict.locked { border-left-color: var(--gp-warn); }
.gp-verdict-kicker { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gp-verdict-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 6px; }
.gp-verdict-headline { font-size: 22px; font-weight: 900; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.gp-grade { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 30px; padding: 0 10px; border-radius: 999px; font-weight: 900; font-size: 14px; background: var(--bg-tertiary); color: var(--text-primary); }
.gp-grade.g-aplus { background: #facc15; color: #111; }
.gp-grade.g-a { background: var(--gp-pos-soft); color: var(--gp-pos); }
.gp-grade.g-b { background: rgba(59,130,246,.16); color: var(--gp-away); }
.gp-grade.g-c { background: var(--bg-tertiary); color: var(--text-muted); }
.gp-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg-tertiary); color: var(--text-secondary); white-space: nowrap; }
.gp-chip.pos { background: var(--gp-pos-soft); color: var(--gp-pos); }
.gp-chip.neg { background: var(--gp-neg-soft); color: var(--gp-neg); }
.gp-chip.warn { background: var(--gp-warn-soft); color: var(--gp-warn); }
.gp-chip.away { background: var(--gp-away-soft); color: var(--gp-away); }
.gp-chip.home { background: var(--gp-home-soft); color: var(--gp-home); }
.gp-verdict-detail { font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin: 6px 0 0; }
.gp-verdict-notes { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.gp-verdict-notes li { font-size: 12px; line-height: 1.45; padding: 8px 10px; border-radius: 8px; background: var(--bg-primary); color: var(--text-secondary); }
.gp-verdict-notes li.warn { background: var(--gp-warn-soft); color: var(--text-primary); }
.gp-verdict-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.gp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-tertiary); color: var(--text-primary); font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer; }
.gp-btn.primary { background: var(--accent-green, #238636); border-color: transparent; color: #fff; }
.gp-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ── Tables (market board + model vs market) ────────────── */
.gp-market { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; margin-bottom: 10px; background: var(--bg-primary); }
.gp-market-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; font-size: 12px; font-weight: 800; background: var(--bg-tertiary); }
.gp-market-head .gp-hold { font-weight: 600; color: var(--text-muted); font-size: 11px; }
.gp-grid-row { display: grid; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--border-color); font-size: 13px; }
.gp-grid-row.head { border-top: 0; padding-top: 6px; padding-bottom: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.gp-mkt-row { grid-template-columns: minmax(64px, 1.1fr) 1.2fr .9fr 1.3fr; }
.gp-mkt-side { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-mkt-side.away { color: var(--gp-away); }
.gp-mkt-side.home { color: var(--gp-home); }
.gp-cell-main { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gp-cell-sub { display: block; font-size: 11px; color: var(--text-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.gp-best { color: var(--gp-pos); font-weight: 800; font-variant-numeric: tabular-nums; }
.gp-best-book { display: block; font-size: 11px; color: var(--text-muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-right { text-align: right; }
.gp-moves { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }

.gp-mvm-row { grid-template-columns: minmax(0, 2fr) .8fr .8fr .8fr .8fr .9fr; }
.gp-mvm-row .gp-sel { min-width: 0; }
.gp-sel-name { font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-mvm-row.is-pick { background: var(--gp-pos-soft); }
.gp-mvm-row.is-playable .gp-ev { color: var(--gp-pos); }
.gp-ev { font-weight: 800; font-variant-numeric: tabular-nums; }
.gp-ev.neg { color: var(--text-muted); }
.gp-pickflag { display: inline-block; font-size: 9px; font-weight: 900; letter-spacing: .06em; padding: 1px 6px; border-radius: 6px; background: var(--gp-pos); color: #fff; margin-left: 4px; vertical-align: 1px; }
.gp-mvm-hide-sm { }

.gp-proj-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
.gp-stat-tile { background: var(--bg-primary); border-radius: 10px; padding: 10px 12px; }
.gp-stat-tile-label { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.gp-stat-tile-value { font-size: 20px; font-weight: 900; margin-top: 2px; font-variant-numeric: tabular-nums; }
.gp-stat-tile-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── Why (factors) ───────────────────────────────────────── */
.gp-factor { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 10px 0; border-top: 1px solid var(--border-color); }
.gp-factor:first-of-type { border-top: 0; }
.gp-factor-chip { grid-row: span 2; align-self: start; min-width: 48px; text-align: center; }
.gp-factor-text { font-size: 13px; font-weight: 600; line-height: 1.4; }
.gp-factor-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.gp-factor-bar { grid-column: 2; height: 6px; border-radius: 999px; background: var(--bg-tertiary); overflow: hidden; }
.gp-factor-bar span { display: block; height: 100%; border-radius: 999px; }
.gp-factor-bar span.away { background: var(--gp-away); }
.gp-factor-bar span.home { background: var(--gp-home); }
.gp-factor-bar span.even { background: var(--text-muted); }
.gp-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.gp-group { background: var(--bg-primary); border-radius: 10px; padding: 10px 12px; }
.gp-group-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.gp-diverge { position: relative; height: 8px; background: var(--bg-tertiary); border-radius: 999px; overflow: hidden; }
.gp-diverge::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border-color); }
.gp-diverge span { position: absolute; top: 0; bottom: 0; }
.gp-diverge span.home { left: 50%; background: var(--gp-home); border-radius: 0 999px 999px 0; }
.gp-diverge span.away { right: 50%; background: var(--gp-away); border-radius: 999px 0 0 999px; }
.gp-diverge-ends { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-muted); margin-top: 3px; }

details.gp-details { margin-top: 10px; border-top: 1px solid var(--border-color); }
details.gp-details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--text-secondary); }
details.gp-details > summary::-webkit-details-marker { display: none; }
details.gp-details > summary::after { content: '▾'; font-size: 12px; transition: transform .15s; }
details.gp-details[open] > summary::after { transform: rotate(180deg); }
.gp-factor-table .gp-grid-row { grid-template-columns: minmax(0, 2fr) .8fr .8fr .8fr; }

/* ── Stat comparison ─────────────────────────────────────── */
.gp-stat-section { border-top: 1px solid var(--border-color); }
.gp-stat-section:first-of-type { border-top: 0; }
.gp-stat-section > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 44px; padding: 6px 0; }
.gp-stat-section > summary::-webkit-details-marker { display: none; }
.gp-stat-section > summary .gp-stat-title { font-size: 13px; font-weight: 800; }
.gp-stat-section > summary .gp-source { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-left: auto; text-align: right; }
.gp-stat-section > summary::after { content: '▾'; font-size: 12px; color: var(--text-muted); transition: transform .15s; }
.gp-stat-section[open] > summary::after { transform: rotate(180deg); }
.gp-cmp-head { display: grid; grid-template-columns: 1fr auto 1fr; font-size: 12px; font-weight: 900; padding: 4px 0 6px; }
.gp-cmp-head .away { color: var(--gp-away); }
.gp-cmp-head .home { color: var(--gp-home); }
.gp-cmp-head > :last-child { text-align: right; }
.gp-cmp { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 8px; padding: 7px 0; }
.gp-cmp + .gp-cmp { border-top: 1px dashed color-mix(in srgb, var(--border-color) 60%, transparent); }
.gp-cmp-val { font-size: 13px; font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums; line-height: 1.2; }
.gp-cmp-val.right { text-align: right; }
.gp-cmp-val.win { color: var(--text-primary); font-weight: 900; }
.gp-rank { display: block; font-size: 10px; font-weight: 700; color: var(--text-muted); margin-top: 1px; }
.gp-rank.top { color: var(--gp-pos); }
.gp-rank.bottom { color: var(--gp-neg); }
.gp-cmp-mid { min-width: 0; }
.gp-cmp-label { display: block; text-align: center; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; line-height: 1.25; }
.gp-cmp-hint { display: block; text-align: center; font-size: 10px; color: var(--text-muted); opacity: .8; margin-top: 3px; }
.gp-cmp-track { display: flex; align-items: center; height: 8px; }
.gp-cmp-fill { height: 100%; }
.gp-cmp-fill.away { background: var(--gp-away-soft); border-radius: 999px 0 0 999px; }
.gp-cmp-fill.home { background: var(--gp-home-soft); border-radius: 0 999px 999px 0; }
.gp-cmp-fill.away.win { background: var(--gp-away); }
.gp-cmp-fill.home.win { background: var(--gp-home); }
.gp-cmp-center { width: 2px; height: 12px; background: var(--border-color); flex-shrink: 0; }
.gp-cmp.text .gp-cmp-val { font-weight: 800; color: var(--text-primary); overflow-wrap: anywhere; }
.gp-cmp.text { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.gp-cmp.text .gp-cmp-label { margin: 0; }

/* ── Availability / context ─────────────────────────────── */
.gp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gp-col { background: var(--bg-primary); border-radius: 12px; padding: 12px; min-width: 0; }
.gp-col-team { font-size: 12px; font-weight: 900; margin-bottom: 8px; letter-spacing: .02em; }
.gp-col-team.away { color: var(--gp-away); }
.gp-col-team.home { color: var(--gp-home); }
.gp-starter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.gp-starter-role { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); width: 100%; }
.gp-starter-name { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.gp-status { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.gp-status.confirmed { background: var(--gp-pos-soft); color: var(--gp-pos); }
.gp-status.probable, .gp-status.expected, .gp-status.questionable { background: var(--gp-warn-soft); color: var(--gp-warn); }
.gp-status.out, .gp-status.doubtful { background: var(--gp-neg-soft); color: var(--gp-neg); }
.gp-status.unknown { background: var(--bg-tertiary); color: var(--text-muted); }
.gp-line { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.gp-line + .gp-line { margin-top: 2px; }
.gp-alert { font-size: 13px; line-height: 1.45; padding: 9px 12px; border-radius: 10px; margin-bottom: 10px; background: var(--gp-warn-soft); }
.gp-alert.bad { background: var(--gp-neg-soft); color: var(--gp-neg); font-weight: 700; }
.gp-form { display: flex; gap: 3px; flex-wrap: wrap; }
.gp-form span { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.gp-form .W { background: #16a34a; }
.gp-form .L { background: #dc2626; }
.gp-form .D, .gp-form .T, .gp-form .O { background: #64748b; }
.gp-list { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.6; color: var(--text-secondary); }
.gp-split { display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; padding: 6px 0; }
.gp-split-track { display: flex; height: 18px; border-radius: 6px; overflow: hidden; background: var(--bg-tertiary); }
.gp-split-track span { display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; }
.gp-split-track .away { background: var(--gp-away); }
.gp-split-track .home { background: var(--gp-home); }
.gp-split-label { font-size: 11px; color: var(--text-muted); font-weight: 700; text-align: center; grid-column: 1 / -1; margin-top: 4px; }

/* ── Freshness ───────────────────────────────────────────── */
.gp-fresh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); padding: 4px 2px 12px; }
.gp-fresh a { color: var(--text-link, #58a6ff); text-decoration: none; }
.gp-fresh .gp-chip { font-size: 11px; font-weight: 600; }

@media (max-width: 560px) {
    .gp-page { padding: 0 0 40px; }
    .gp-card { padding: 14px 12px; }
    .gp-verdict-headline { font-size: 19px; }
    .gp-mvm-row { grid-template-columns: minmax(0, 1.7fr) .8fr .8fr .9fr; }
    .gp-mvm-hide-sm { display: none; }
    .gp-mkt-row { grid-template-columns: minmax(52px, .9fr) 1.2fr .9fr 1.3fr; gap: 6px; }
    .gp-grid-row { padding: 9px 10px; }
    .gp-two { grid-template-columns: 1fr; }
    .gp-cmp { grid-template-columns: 58px minmax(0, 1fr) 58px; }
    .gp-team-name { font-size: 13px; }
    .gp-hero-teams { padding: 12px 10px 8px; gap: 4px; }
    .gp-logo-wrap, .gp-logo, .gp-logo-fallback { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .gp-page * { transition: none !important; }
}

/* PMill Analyst (components/matchup/analyst.html) */
.gp-analyst-summary { font-size: 14px; line-height: 1.55; color: var(--text-primary); margin: 0 0 8px; }
.gp-analyst-findings { list-style: none; margin: 8px 0 0; padding: 0; }
.gp-analyst-findings li { padding: 10px 0; border-top: 1px solid var(--border-color); }
.gp-analyst-claim { font-size: 13px; line-height: 1.5; color: var(--text-secondary); overflow-wrap: anywhere; }
.gp-analyst-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--text-muted); }
.gp-analyst-meta a { color: var(--text-link, #58a6ff); font-weight: 600; }
/* AI Analysis (PMill Analyst) — write-up + risk flag */
.gp-ai-writeup p { font-size: 14px; line-height: 1.6; color: var(--text-primary); margin: 0 0 10px; overflow-wrap: anywhere; }
.gp-risk { border: 1px solid var(--gp-neg, #ef4444); background: var(--gp-neg-soft, rgba(239, 68, 68, .12)); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.gp-risk-title { font-size: 13px; font-weight: 800; color: var(--gp-neg, #ef4444); line-height: 1.45; }
.gp-risk-list { list-style: none; margin: 6px 0 0; padding: 0; }
.gp-risk-list li { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; }
.gp-risk-list li + li { border-top: 1px solid var(--border-color); }
