/* =====================================================================
   Data Sciencing the Premier League — site skin
   ---------------------------------------------------------------------
   Loaded AFTER shared/base.css. Contains ONLY:
     1. the :root design tokens (PL deep-violet accent)
     2. EPL-specific sections (league table zones, Golden Boot)
   Shared components live in base.css — change them there, not here.
   ===================================================================== */
:root{
  /* Neutral-grey ground, PL deep-violet accent: a soft near-neutral background
     with cream cards, so club colours stay legible while the brand chrome carries
     Premier League purple. Ink/mut/faint are ON-CARD text; --bgink/--bgmut are
     on-background text. --accent carries chrome (underlines, pills, ticks, bars,
     the inverse card); --accent2 is the brighter TEXT accent. */
  --bg:#EFF1EA; --card:#FBFBFC; --ink:#1d1d21; --mut:#54545b; --faint:#75757d;
  --bgink:#242428; --bgmut:#4c4c53;
  --accent:#3D195B; --accent2:#5a2d82;
  --gold:#c08a12; --green:#1b7340; --red:#b3401f; --draw:#c6c6ca;
  --line:#d2d2d6; --line2:#e4e4e8;
}

/* forecaster-field source label (uppercase, above the bars) */
.opnote{font-size:9.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--faint);margin-bottom:5px}

/* season-progress kicker: title-cased in the app text, so drop the base uppercase */
.spkick{text-transform:none}

/* ---- league table: EPL 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)}
/* home/away win-% split: muted ink (not the accent), bracketed by a faint divider */
.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)}
/* zone rules: Champions-League line under 4th, relegation line above 18th */
.lg tr.cl td{background:rgba(61,25,91,.05)}
.lg tr.relzone td{background:rgba(179,64,31,.05)}

/* ---- Golden Boot ---- */
.gb .gbhead,.gbrow{display:grid;grid-template-columns:26px 1.5fr 56px 2.1fr 116px;align-items:center;gap:16px}
.gb .gbhead{font-size:9.5px;letter-spacing:1px;text-transform:uppercase;color:var(--mut);padding-bottom:10px;border-bottom:2px solid var(--line);margin-bottom:4px}
.gb .gbhead .gbgoals,.gb .gbhead .gbprob{text-align:center}
.gb .gbhead .gbprob{text-align:right}
.gbrow{padding:12px 0;border-bottom:1px solid var(--line2)}
.gbrow.out{opacity:.55}
.gbrk{color:var(--faint);font-weight:800;font-size:13px;text-align:center}
.gbwho{display:flex;align-items:center;gap:11px;min-width:0}
.gbwho .fl{width:24px;height:24px;object-fit:contain;flex:none}
.gbname{font-weight:800;font-size:14.5px;line-height:1.15}
.gbrow.out .gbname{text-decoration:line-through}
.gbteam{font-size:11.5px;color:var(--mut)}
.gbnote{color:var(--faint);font-style:italic;margin-left:7px}
.gbgoals{text-align:center}
.gbgoals b{font-size:21px;font-weight:900;display:block;line-height:1}
.gbgoals span{font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:var(--faint)}
.gbbar{height:14px;border-radius:7px;background:var(--line2);overflow:hidden;display:flex}
.gbbar .bank{background:var(--accent)}
.gbbar .run{background:var(--faint)}
.gbprojlab{font-size:11.5px;color:var(--mut);margin-top:5px}
.gbprojlab b{color:var(--ink)}
/* game-timeline bar: 8 equal windows, balls in the games where they scored */
.gbslots{display:flex;width:100%}
.gbslots span{flex:1;text-align:center;font-size:8.5px;letter-spacing:.2px}
.gbtl{display:flex;width:100%;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--card)}
.gbcell{flex:1;min-width:0;min-height:30px;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1px;padding:3px 1px;border-right:1px solid var(--line2)}
.gbcell:last-child{border-right:none}
.gbcell.scored,.gbcell.blank{background:#e7ecdf}
.gbcell.blank::after{content:"";width:4px;height:4px;border-radius:50%;background:var(--faint);opacity:.4}
.gbcell.future::after{content:"";width:52%;height:50%;border:1.5px dashed #bcc7af;border-radius:4px}
.gbcell.out{background:#d7ddca}
.gbcell.out::after{content:"";position:absolute;left:22%;right:22%;top:50%;height:1.5px;background:#9aa48c;transform:translateY(-50%) rotate(-16deg)}
.gbball{width:15px;height:15px;flex:none;object-fit:contain}
.gblegend{display:flex;gap:15px;flex-wrap:wrap;justify-content:flex-end;margin-top:14px;font-size:11px;color:var(--mut)}
.gblegend span{display:inline-flex;align-items:center;gap:5px}
.gblegend .sw{width:15px;height:15px;border-radius:3px;border:1px solid var(--line);flex:none;position:relative;background:var(--card)}
.gblegend .sw.played{background:#e7ecdf}
.gblegend .sw.future::after{content:"";position:absolute;inset:2px;border:1.5px dashed #bcc7af;border-radius:2px}
.gblegend .sw.out{background:#d7ddca}
.gblegend .sw.out::after{content:"";position:absolute;left:16%;right:16%;top:50%;height:1.5px;background:#9aa48c;transform:translateY(-50%) rotate(-16deg)}
.gbprob{text-align:right}
.gbmodel{font-size:12.5px;font-weight:700;color:var(--mut)}
.gbmodel b{font-size:15px;color:var(--ink);margin-left:2px}
.gbmkt{font-size:11px;color:var(--faint);margin-top:2px}
@media(max-width:720px){
  .gbcell{min-height:26px} .gbball{width:12px;height:12px} .gbslots span{font-size:8px}
  .gb .gbhead{display:none}
  .gbrow{grid-template-columns:22px 1fr 44px;grid-template-areas:"rk who goals" "rk bar bar" "rk prob prob";gap:6px 12px}
  .gbrk{grid-area:rk}.gbwho{grid-area:who}.gbgoals{grid-area:goals}
  .gbprojwrap{grid-area:bar}.gbprob{grid-area:prob;text-align:left;display:flex;gap:12px;align-items:baseline}
  .gbmkt{margin-top:0}
}
