/* ════════════════════════════════════════════════════════════════════
   SHARED ATS RADAR CARD STYLES
   Lifted from app/templates/pages/mlb_ats_radar.html so all 7 leagues
   (MLB, NHL, NBA, NFL, NCAAB, NCAAF, WNBA) share one source of truth.
   Only `.ats-*` and `.ats-wx-*` class rules belong here. General page
   chrome (.sticky-tabs, .filter-menu, .team-card, .section-header) is
   league-page-specific and stays in each template's <style> block.

   Touch the rules in this file once → all 7 leagues update. Do not
   redefine these classes inline in any template.
   ════════════════════════════════════════════════════════════════════ */

/* ── Weather + Game Context row ───────────────────────────────────
   Desktop: weather card on the LEFT (~38%) | writeup on the RIGHT (~62%).
   Mobile: stacks vertically — weather on top, writeup below. */
.ats-context-row {
    display: flex; gap: 12px; margin-top: 12px; align-items: stretch;
}
.ats-context-writeup {
    flex: 1 1 62%; min-width: 0;
    padding: 14px 16px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
}
.ats-weather-card {
    flex: 0 1 38%; max-width: 320px; min-width: 220px;
    padding: 0; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    /* Match wx-card touch behaviour */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
/* New 3-band layout: header banner / big diamond body / stat tile footer */
.ats-wx-header {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 14px; min-height: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: relative;
}
/* Per-condition tints layered ON the header (mirrors wx-cond-* card backgrounds, slightly stronger) */
.ats-weather-card.wx-cond-clear   .ats-wx-header { background: linear-gradient(90deg, rgba(251,191,36,0.14) 0%, rgba(249,115,22,0.04) 100%); }
.ats-weather-card.wx-cond-partly  .ats-wx-header { background: linear-gradient(90deg, rgba(251,191,36,0.10) 0%, rgba(148,163,184,0.05) 100%); }
.ats-weather-card.wx-cond-cloudy  .ats-wx-header { background: linear-gradient(90deg, rgba(148,163,184,0.14) 0%, rgba(255,255,255,0.03) 100%); }
.ats-weather-card.wx-cond-rain    .ats-wx-header { background: linear-gradient(90deg, rgba(59,130,246,0.16) 0%, rgba(6,182,212,0.05) 100%); }
.ats-weather-card.wx-cond-storm   .ats-wx-header { background: linear-gradient(90deg, rgba(168,85,247,0.16) 0%, rgba(59,130,246,0.05) 100%); }
.ats-weather-card.wx-cond-snow    .ats-wx-header { background: linear-gradient(90deg, rgba(186,230,253,0.14) 0%, rgba(255,255,255,0.03) 100%); }
.ats-weather-card.wx-cond-fog     .ats-wx-header { background: linear-gradient(90deg, rgba(148,163,184,0.12) 0%, rgba(148,163,184,0.03) 100%); }
.ats-weather-card.wx-cond-dome    .ats-wx-header { background: linear-gradient(90deg, rgba(148,163,184,0.10) 0%, rgba(255,255,255,0.04) 100%); }
.ats-wx-header-left {
    display: flex; align-items: center; gap: 8px; min-width: 0;
}
.ats-wx-header-label {
    text-transform: uppercase; letter-spacing: 0.08em;
    font-size: 0.62rem; font-weight: 700;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}
.ats-wx-header .wx-icon-slot {
    width: 18px; height: 18px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.ats-wx-header .wx-icon-slot svg { width: 100%; height: 100%; }
.ats-wx-header-venue {
    font-size: 0.78rem; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-align: right; min-width: 0;
}
/* Body — centered, prominent diamond/dome */
.ats-wx-body-big {
    display: flex; align-items: center; justify-content: center;
    padding: 14px 12px 8px; min-height: 150px;
}
.ats-wx-body-big .wx-wind-svg-wrap {
    display: flex; align-items: center; justify-content: center;
}
.ats-wx-body-big .wx-wind-svg-wrap svg {
    width: 150px; height: 150px;
}
/* Footer — three equal-width compact stat tiles */
.ats-wx-foot {
    display: flex; gap: 8px; padding: 10px 12px 12px;
    flex-wrap: wrap;
}
.ats-wx-tile {
    flex: 1 1 0; min-width: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 8px 10px;
    display: flex; flex-direction: column; gap: 4px;
    min-height: 50px;
}
/* Compact: Temp + Wind shrink to content. Conditions tile gets more space
   so longer condition strings ("Mostly Cloudy", "Partly Cloudy") stay on one line.
   All three tiles center label + value so the footer reads as a tidy stat row. */
.ats-wx-tile.is-compact { flex: 0 0 auto; align-items: center; text-align: center; }
.ats-wx-tile.is-grow { flex: 2 1 auto; align-items: center; text-align: center; }
.ats-wx-tile.is-grow .ats-wx-tile-val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ats-wx-tile-label {
    font-size: 0.58rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
}
.ats-wx-tile-val {
    font-size: 0.92rem; font-weight: 700; color: #fff;
    line-height: 1.2;
    /* Wrap onto a second line if needed (e.g. "4 mph — 173°") instead of
       truncating with ellipsis — wind direction was getting cut off. */
    word-break: break-word;
    overflow-wrap: anywhere;
}
.ats-wx-tile-val.is-temp { font-size: 1.1rem; letter-spacing: -0.01em; }
@media (max-width: 480px) {
    .ats-wx-body-big { min-height: 130px; padding-top: 10px; }
    .ats-wx-body-big .wx-wind-svg-wrap svg { width: 130px; height: 130px; }
    .ats-wx-tile { flex: 1 1 calc(50% - 4px); }
    .ats-wx-header-venue { font-size: 0.72rem; }
}
/* Subtle condition-tinted backgrounds (mirrors weather_radar's wx-cond-* tints) */
.ats-weather-card.wx-cond-clear   { background: linear-gradient(135deg, rgba(251,191,36,0.10) 0%, rgba(249,115,22,0.03) 100%); }
.ats-weather-card.wx-cond-partly  { background: linear-gradient(135deg, rgba(251,191,36,0.07) 0%, rgba(148,163,184,0.04) 100%); }
.ats-weather-card.wx-cond-cloudy  { background: linear-gradient(135deg, rgba(148,163,184,0.10) 0%, rgba(255,255,255,0.02) 100%); }
.ats-weather-card.wx-cond-rain    { background: linear-gradient(135deg, rgba(59,130,246,0.12) 0%, rgba(6,182,212,0.04) 100%); }
.ats-weather-card.wx-cond-storm   { background: linear-gradient(135deg, rgba(168,85,247,0.12) 0%, rgba(59,130,246,0.04) 100%); }
.ats-weather-card.wx-cond-snow    { background: linear-gradient(135deg, rgba(186,230,253,0.10) 0%, rgba(255,255,255,0.02) 100%); }
.ats-weather-card.wx-cond-fog     { background: linear-gradient(135deg, rgba(148,163,184,0.08) 0%, rgba(148,163,184,0.02) 100%); }
.ats-weather-card.wx-cond-dome    { background: linear-gradient(135deg, rgba(148,163,184,0.08) 0%, rgba(255,255,255,0.03) 100%); }
.wx-wind-svg-wrap {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
/* Weather icon colors (mirror weather_radar's wx-icon-* hues) */
.wx-icon-slot .wx-icon-clear  { color: #fbbf24; }
.wx-icon-slot .wx-icon-partly { color: #fbbf24; }
.wx-icon-slot .wx-icon-cloudy { color: rgba(255,255,255,0.7); }
.wx-icon-slot .wx-icon-rain   { color: #60a5fa; }
.wx-icon-slot .wx-icon-storm  { color: #c084fc; }
.wx-icon-slot .wx-icon-snow   { color: #bae6fd; }
.wx-icon-slot .wx-icon-fog    { color: rgba(148,163,184,0.7); }
.wx-icon-slot .wx-icon-dome   { color: #94a3b8; }

@media (max-width: 768px) {
    .ats-context-row { flex-direction: column; }
    .ats-weather-card { flex: 1 1 auto; max-width: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   ATS RADAR CARD — redesigned matchup card (scoped)
   Only affects view === 'ats_radar'. ou_radar is untouched.
   ═══════════════════════════════════════════════════════════════════ */
.ats-radar-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-variant-numeric: tabular-nums;
}
/* Subtle inner gradient — mirrors .mlb-wx-card::before highlight on
   weather_radar.html for the same glassy "lit from above" look. */
.ats-radar-card::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    z-index: 0;
}
.ats-radar-card > * { position: relative; z-index: 1; }
/* Hover lift only on real-pointer devices — prevents jank on iOS/Android PWAs
   where :hover sticks after a tap. */
@media (hover: hover) and (pointer: fine) {
    .ats-radar-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,0.16);
        box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    }
}
/* Touch-device tap feedback — subtle border brighten without transform. */
@media (hover: none) {
    .ats-radar-card:active {
        border-color: rgba(255,255,255,0.16);
        background: rgba(255,255,255,0.05);
    }
}
.ats-radar-card.signal-home {
    border-color: rgba(59,130,246,0.32);
    background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(255,255,255,0.02));
}
.ats-radar-card.signal-away {
    border-color: rgba(168,85,247,0.32);
    background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(255,255,255,0.02));
}
/* O/U radar reuses the same card chrome with green/red accents for over/under signals */
.ats-radar-card.signal-over {
    border-color: rgba(34,197,94,0.32);
    background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(255,255,255,0.02));
}
.ats-radar-card.signal-under {
    border-color: rgba(239,68,68,0.32);
    background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(255,255,255,0.02));
}

.ats-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    background:
        radial-gradient(ellipse at top left, rgba(59,130,246,0.18) 0%, transparent 55%),
        radial-gradient(ellipse at top right, rgba(168,85,247,0.16) 0%, transparent 55%),
        linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.25) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px 16px 0 0;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.04);
}
.ats-card-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}
.ats-card-teams {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ats-card-teams img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45));
}
.ats-card-teams .ats-card-at {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.32);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.ats-card-team-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ats-card-team-abbr {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.ats-card-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.ats-card-matchup-line {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.3;
}
.ats-card-time {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.ats-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ats-card-body .bet-btn-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.ats-card-body .bet-btn {
    padding: 10px 12px;
    min-height: 44px;
    font-size: 0.82rem;
}
.ats-card-body .bet-btn-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}
.ats-card-body .bet-btn-line {
    font-size: 0.95rem;
}
.ats-card-body .bet-btn-odds {
    font-size: 0.78rem;
}

.ats-team-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 768px) {
    .ats-team-panels { grid-template-columns: 1fr; }
}
.ats-team-panel {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.ats-team-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(59,130,246,0.7), rgba(59,130,246,0.0));
}
.ats-team-panel.is-away::before {
    background: linear-gradient(90deg, rgba(168,85,247,0.7), rgba(168,85,247,0.0));
}

.ats-team-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ats-team-panel-head img {
    width: 36px; height: 36px; object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    flex-shrink: 0;
}
.ats-team-panel-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.ats-team-panel-abbr {
    font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1;
    letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.ats-team-panel-fullname {
    font-size: 0.7rem; color: rgba(255,255,255,0.45); line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ats-side-pill {
    font-size: 0.62rem; padding: 3px 9px; border-radius: 100px;
    font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
}
.ats-spread-pill {
    font-size: 0.7rem; padding: 3px 9px; border-radius: 100px;
    font-weight: 700; font-variant-numeric: tabular-nums;
}
.ats-spread-pill.fav { background: rgba(59,130,246,0.18); color: #3b82f6; }
.ats-spread-pill.dog { background: rgba(168,85,247,0.18); color: #a855f7; }

/* Team total pill — shows the implied team total ((game_total - team_spread)/2) */
.ats-tt-pill {
    font-size: 0.7rem; padding: 3px 9px; border-radius: 100px;
    font-weight: 700; font-variant-numeric: tabular-nums;
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.25);
}

.ats-hero-metric { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ats-hero-num {
    font-size: 2.1rem; font-weight: 800; color: #fff;
    line-height: 1; font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.ats-hero-label {
    font-size: 0.72rem; color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.ats-rank-pill {
    font-size: 0.65rem; padding: 3px 8px; border-radius: 6px;
    font-weight: 700; background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7); font-variant-numeric: tabular-nums;
    align-self: center;
}
.ats-rank-pill.elite { background: rgba(34,197,94,0.15); color: #22c55e; }
.ats-rank-pill.weak { background: rgba(239,68,68,0.15); color: #ef4444; }

.ats-metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
/* Metric tile recipe — lifted from weather_radar's .wx-tile. Bigger padding,
   tabular-nums values, per-variant tint backgrounds (assigned via modifier
   classes below) so the card has color rhythm instead of all-grey tiles. */
.ats-metric-tile {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex; flex-direction: column; gap: 6px;
    min-width: 0;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.ats-metric-label {
    font-size: 0.62rem; color: rgba(255,255,255,0.45);
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
    line-height: 1.1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ats-metric-label[data-tip] { cursor: help; position: relative; }

/* Tooltip on hover — uses data-tip attribute. Applies to metric tile
   labels, OU chip labels, and any future label that adds [data-tip].
   Without this rule the cursor turned into '?' but no tooltip showed. */
.ats-metric-label[data-tip]:hover::after,
.ats-ou-chip-label[data-tip]:hover::after,
.ats-card-team-block[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: rgba(0,0,0,0.95);
    color: rgba(255,255,255,0.92);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    max-width: 280px;
    width: max-content;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    line-height: 1.4;
}
.ats-metric-value {
    font-size: 1.25rem; font-weight: 800; color: rgba(255,255,255,0.95);
    font-variant-numeric: tabular-nums; line-height: 1.1;
    letter-spacing: -0.02em;
    display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.ats-metric-value .ats-metric-sub {
    font-size: 0.62rem; color: rgba(255,255,255,0.45);
    font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
/* ── Per-metric tints — pick a color family for each metric type so the 2x2
   grid reads like a colorful scoreboard, not 4 grey boxes. Mirrors
   weather_radar's .wx-tile-humidity / .wx-tile-precip / .wx-tile-wind tints. */
.ats-metric-tile.tile-blue   { background: rgba(59, 130, 246, 0.06); }
.ats-metric-tile.tile-blue   .ats-metric-value { color: #60a5fa; }
.ats-metric-tile.tile-cyan   { background: rgba(6, 182, 212, 0.06); }
.ats-metric-tile.tile-cyan   .ats-metric-value { color: #22d3ee; }
.ats-metric-tile.tile-violet { background: rgba(168, 85, 247, 0.06); }
.ats-metric-tile.tile-violet .ats-metric-value { color: #c084fc; }
.ats-metric-tile.tile-amber  { background: rgba(251, 191, 36, 0.06); }
.ats-metric-tile.tile-amber  .ats-metric-value { color: #fbbf24; }
.ats-metric-tile.tile-orange { background: rgba(249, 115, 22, 0.06); }
.ats-metric-tile.tile-orange .ats-metric-value { color: #fb923c; }
.ats-metric-tile.tile-green  { background: rgba(34, 197, 94, 0.06); }
.ats-metric-tile.tile-green  .ats-metric-value { color: #4ade80; }
/* When a metric value is dynamically colored (e.g. green/red diff), the
   inline :style wins over the variant color — that's intentional. */
.ats-bullpen-chip {
    font-size: 0.85rem; font-weight: 700; padding: 3px 9px;
    border-radius: 6px; display: inline-block;
    font-variant-numeric: tabular-nums;
}
.ats-bullpen-chip.green { background: rgba(34,197,94,0.15); color: #22c55e; }
.ats-bullpen-chip.yellow { background: rgba(251,191,36,0.15); color: #fbbf24; }
.ats-bullpen-chip.orange { background: rgba(249,115,22,0.15); color: #f97316; }
.ats-bullpen-chip.red { background: rgba(239,68,68,0.15); color: #ef4444; }

.ats-ou-chips {
    display: flex; gap: 6px; flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ats-ou-chip {
    flex: 1 1 0;
    min-width: 0;
    background: rgba(0,0,0,0.18);
    border-radius: 6px;
    padding: 6px 8px;
    display: flex; flex-direction: column; gap: 2px;
    text-align: center;
}
.ats-ou-chip-label[data-tip] { cursor: help; position: relative; }
.ats-ou-chip-label {
    font-size: 0.58rem; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.04em;
    line-height: 1.1; cursor: help;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ats-ou-chip-value {
    font-size: 0.88rem; font-weight: 700; color: #fff;
    font-variant-numeric: tabular-nums; line-height: 1.1;
}

.ats-writeup {
    padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.ats-writeup p {
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    font-size: 0.92rem;
    margin: 0 0 10px 0;
}
.ats-writeup p:last-child { margin-bottom: 0; }

.ats-radar-card .ats-injury-toggle {
    min-height: 44px;
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer;
}

@media (max-width: 768px) {
    .ats-card-header { padding: 14px 16px; gap: 10px; }
    .ats-card-teams img { width: 52px; height: 52px; }
    .ats-card-team-abbr { font-size: 1.2rem; }
    .ats-card-time { font-size: 0.78rem; }
    .ats-card-body { padding: 14px; gap: 12px; }
    .ats-card-body .bet-btn-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
    .ats-card-body .bet-btn { min-height: 44px; font-size: 0.78rem; padding: 8px 10px; }
    .ats-card-body .bet-btn-line { font-size: 0.88rem; }
    .ats-team-panel { padding: 12px; }
    .ats-hero-num { font-size: 1.7rem; }
    .ats-team-panel-abbr { font-size: 1.25rem; }
    .ats-metric-grid { gap: 8px; }
    .ats-metric-tile { padding: 10px 12px; border-radius: 10px; }
    .ats-metric-value { font-size: 1.05rem; }
    .ats-writeup { padding: 12px 14px; }
    .ats-writeup p { font-size: 0.85rem; }
}
