/* =====================================================================
   Data Sciencing the NWSL — site skin
   ---------------------------------------------------------------------
   Loaded AFTER shared/base.css. Contains ONLY:
     1. the :root design tokens (NWSL black chrome + brand-red accent)
     2. NWSL-specific sections (season progress bar, power rankings,
        team map, league-table decoration)
   Shared components live in base.css — change them there, not here.
   ===================================================================== */
:root{
  /* Warm-stone ground, near-black chrome, NWSL brand-red highlight. The league
     mark is navy + red, but that navy is a near-twin of the NFL board, so DSWS
     takes the black that dominates NWSL kits as chrome with the real brand red as
     the live accent. The ground is a warm stone (faint red undertone) so it reads
     apart from the PL and NFL boards. Ink/mut/faint are ON-CARD text; --bgink/
     --bgmut are on-background text. --accent2 is the brand red, taken down for
     contrast on cream. */
  --bg:#EFF1EA; --card:#FCFBFA; --ink:#1b1e23; --mut:#565a60; --faint:#787c82;
  --bgink:#23252a; --bgmut:#57534f;
  --accent:#1C1F24; --accent2:#8E0E2A;
  --gold:#c08a12; --green:#1b7340; --red:#8E2A18; --draw:#c9c3c0;
  --line:#ddd5d1; --line2:#eae4e1;
}

/* brand-red tint on the "our forecast" row of the best-games plot */
.wprow.ours{background:rgba(142,14,42,.08)}

/* ---- league table: NWSL zone decoration on the shared .lg skeleton ---- */
.lg .chip{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:9px;vertical-align:-1px}
.lg td.pct.reltxt{color:var(--red)}
.lg .split{color:var(--ink);width:52px}
.lg td.split{font-weight:700}
.lg .spl-a{border-left:1px solid var(--line)}
.lg .spl-b{border-right:1px solid var(--line)}
.lg tr.cl td{background:rgba(28,31,36,.05)}
.lg tr.relzone td{background:rgba(142,42,24,.05)}

/* ---- season progress bar (Table page) ---- */
.seasonbar{margin:2px 0 22px}
.panel .seasonbar{margin:16px 2px 2px;padding-top:15px;border-top:1px solid var(--line2)}
.sphead{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:7px}
.spkick{font-size:9px;font-weight:800;letter-spacing:.4px;text-transform:none;color:var(--faint)}
.spcap{font-size:11.5px;color:var(--mut)}
.spcap b{color:var(--ink);font-weight:800}
.sptrack{position:relative;height:12px;background:rgba(28,31,36,.10);border-radius:6px;overflow:hidden}
.spfill{position:absolute;left:0;top:0;bottom:0;background:var(--accent2);border-radius:6px}
.sptick{position:absolute;top:0;bottom:0;width:1px;background:rgba(255,255,255,.5);transform:translateX(-.5px)}
.sptick.lm{width:1.5px;background:rgba(255,255,255,.85);transform:translateX(-.75px)}
.splabels{position:relative;height:13px;margin-top:3px}
.sptlab{position:absolute;top:0;font-size:9px;color:var(--faint);transform:translateX(-50%);white-space:nowrap}
.sptlab.lm{font-weight:700;color:var(--mut)}
.sptlab.lm.l{transform:none}
.sptlab.lm.r{transform:translateX(-100%)}

/* ---- team map: scatter + hovered-team caption ---- */
.tmapwrap{width:100%}
.tmcap{margin-top:6px;text-align:center;font-size:13px;color:var(--mut);min-height:18px}
.tmcap b{color:var(--ink);font-weight:800}

/* ---- power rankings: dumbbell table ---- */
.pwrleg{display:flex;gap:16px;font-size:11.5px;color:var(--mut);font-weight:600}
.pwrkey{display:inline-flex;align-items:center;gap:6px}
.pwrkey i{width:11px;height:11px;border-radius:50%;display:inline-block}
.pwrkey i.dia{border-radius:2px;transform:rotate(45deg);width:9px;height:9px}
.pwr .pwrpos{color:var(--faint);font-weight:700;margin-right:2px}
.pwr .pwrcell{width:22%}
.pwrviz{width:100%;height:26px;display:block}
/* recent-form chips (last 5 W/D/L) */
.pwrform{white-space:nowrap;text-align:right}
th.pwrform{color:var(--faint)}
.formchip{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:2px;border-radius:4px;font-size:9.5px;font-weight:800;color:#fff;vertical-align:middle}
.formchip.fW{background:var(--green)}
.formchip.fD{background:#9aa0a6}
.formchip.fL{background:var(--red)}
.pwr tfoot td{border:none;padding-top:2px}
