/* NBA / NFL / Soccer advanced tables share the NHL advanced palette and table rules (nhl-advanced.css). */
.sport-advanced,#soccer-advanced{--adv-bg:#fff;--adv-card:#f7f9fb;--adv-line:#e2e8ee;--adv-ink:#142d43;--adv-sub:#5b7080;--adv-track:#e4eaef;--adv-head:#eef3f6;--adv-good:#127347;--adv-good-bg:#e3f4ea;--adv-bad:#b23a2b;--adv-bad-bg:#fbe7e3;--adv-accent:#1f6fb2;--adv-edge:#127347;--adv-hot:#c2570c;--adv-cold:#2563a8}
html[data-theme=dark] .sport-advanced,html[data-theme=dark] #soccer-advanced{--adv-bg:#262626;--adv-card:#2e2e2e;--adv-line:#3d3d3d;--adv-ink:#ececea;--adv-sub:#a8a8a4;--adv-track:#424242;--adv-head:#323232;--adv-good:hsl(153 70% 74%);--adv-good-bg:hsl(145 30% 24%);--adv-bad:hsl(7 70% 74%);--adv-bad-bg:hsl(10 30% 24%);--adv-accent:#5cdfdf;--adv-edge:#127347;--adv-hot:hsl(25 70% 74%);--adv-cold:#5cdfdf}
.sport-advanced,#soccer-advanced{margin:22px 0;padding:20px;border:1px solid var(--adv-line);border-radius:12px;background:var(--adv-bg);color:var(--adv-ink);min-width:0}
.sport-advanced>summary,#soccer-advanced summary{cursor:pointer;font-weight:800;font-size:20px;line-height:1.2;color:var(--adv-ink)}
.sport-advanced>summary span{font-size:12px;font-weight:600;margin-left:12px;color:var(--adv-sub)}
.sport-advanced-meta,.sxg-meta,.sxg-credit{margin:8px 0 12px;font-size:12px;color:var(--adv-sub)}.sxg-credit a{color:inherit;font-weight:700}
.sport-advanced .nhla-scroll,#soccer-advanced .nhla-scroll{overflow-x:auto;border:1px solid var(--adv-line);border-radius:10px;background:var(--adv-card);padding:6px 10px}
.sport-advanced .nhla-league,#soccer-advanced .nhla-league{min-width:0}
.sport-advanced .nhla-league th:first-child,.sport-advanced .nhla-league td:first-child,#soccer-advanced .nhla-league th:first-child{width:auto}
.sport-advanced .nhla-team-cell{position:static;display:table-cell;white-space:nowrap}
.sport-advanced .nhla-team-cell>*{vertical-align:middle}.sport-advanced .nhla-team-cell img{width:24px;height:24px;object-fit:contain;margin:0 6px}
.sport-advanced .nhla-team-cell a{color:var(--adv-ink);text-decoration:none;font-weight:800}.sport-advanced .nhla-team-cell a:hover{text-decoration:underline}
.sport-advanced .nhla-heat,#soccer-advanced .nhla-heat{font-weight:600}
.sport-advanced td.nhla-sorted,#soccer-advanced td.nhla-sorted{font-weight:800}
#soccer-advanced .sxg-controls select{color:var(--adv-ink);background:var(--adv-card);border:1px solid var(--adv-line);border-radius:8px;padding:8px}
#soccer-advanced .sxg-controls label{color:var(--adv-sub);font-weight:700}
#soccer-advanced th[scope=row]{text-align:left;font-weight:800;color:var(--adv-ink)}
@media(max-width:600px){.sport-advanced,#soccer-advanced{padding:12px}.sport-advanced>summary span{display:block;margin:6px 0 0}}
.sport-advanced .nhla-team-cell,#soccer-advanced .nhla-team-cell{background:transparent}
.sport-advanced .nhla-rank,#soccer-advanced .nhla-rank{display:inline-block;width:22px;margin-right:8px;text-align:right}
.sport-advanced .nhla-team-cell img{margin:0 8px 0 0}
.sxg-sub{font-size:12px;font-weight:600;margin-left:12px;color:var(--adv-sub)}
#soccer-advanced .nhla-team-cell{font-size:13px}
.sport-advanced .nhla-code{font-weight:800;color:var(--adv-ink)}
html[data-theme=dark] .nhla-heat,.sport-advanced .nhla-heat,#soccer-advanced .nhla-heat{background:none!important}
.sport-advanced .nhla-team-cell,#soccer-advanced .nhla-team-cell{background:transparent!important}
.sport-advanced .nhla-league th:first-child,#soccer-advanced .nhla-league th:first-child{width:150px;text-align:left}
.sport-advanced tbody th,#soccer-advanced tbody th{background:transparent!important}
/* Team cell: fixed rank / logo / name slots so rows line up in every sport. */
.sport-advanced .nhla-league th:first-child,#soccer-advanced .nhla-league th:first-child{text-align:left;padding-left:8px}
.sport-advanced .nhla-league th:first-child{width:128px;min-width:128px}
#soccer-advanced .nhla-league th:first-child{width:auto;min-width:250px}
.sport-advanced .nhla-team-cell,#soccer-advanced .nhla-team-cell{white-space:nowrap}
.sport-advanced .nhla-team-cell>*,#soccer-advanced .nhla-team-cell>*{vertical-align:middle}
.sport-advanced .nhla-rank,#soccer-advanced .nhla-rank{width:22px;margin-right:10px;text-align:right;font-variant-numeric:tabular-nums;color:var(--adv-sub)}
.sport-advanced .nhla-team-cell .team-logo-frame,#soccer-advanced .nhla-team-cell .team-logo-frame{margin:0 10px 0 0}
.sport-advanced .nhla-team-cell>img{margin:0 10px 0 0}
.sport-advanced .nhla-code{letter-spacing:.03em}
#soccer-advanced .nhla-logo{display:inline-block;width:24px;height:24px;margin-right:10px;position:relative}
#soccer-advanced .nhla-logo:empty::before{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--adv-track)}
#soccer-advanced .nhla-name{font-weight:700;white-space:nowrap}
/* W / D / L form chips */
#soccer-advanced .nhla-form-cell{text-align:right;white-space:nowrap}
#soccer-advanced .nhla-form{display:inline-flex;gap:4px;justify-content:flex-end}
#soccer-advanced .nhla-form i{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;font-style:normal;font-size:11px;font-weight:800;line-height:1;color:#fff;background:var(--adv-track)}
#soccer-advanced .nhla-form i.is-w{background:#1f8a54}
#soccer-advanced .nhla-form i.is-l{background:#c4473b}
#soccer-advanced .nhla-form i.is-d{background:#8793a0}
.sport-advanced .nhla-league,#soccer-advanced .nhla-league{table-layout:auto}
.sport-advanced .nhla-league th,.sport-advanced .nhla-league td,#soccer-advanced .nhla-league th,#soccer-advanced .nhla-league td{white-space:nowrap;padding-left:12px;padding-right:12px}
.sport-advanced .nhla-league th:first-child,#soccer-advanced .nhla-league th:first-child{padding-left:8px}
#soccer-advanced .nhla-league{min-width:900px}
.sport-advanced .nhla-league td,#soccer-advanced .nhla-league td{background:transparent}
#soccer-advanced a.nhla-team-link{color:var(--adv-ink);text-decoration:none;font-weight:700;border-bottom:1px solid transparent}
#soccer-advanced a.nhla-team-link:hover,#soccer-advanced a.nhla-team-link:focus-visible{text-decoration:none;border-bottom-color:currentColor}

/* Match the NHL desk typography. Row headers must not inherit the global
   10px column-header style; NHL team badges use 15px / 650. Keep the shared
   nhla-table (13px), column labels (10px), and outlier pills (12.5px) intact. */
.sport-advanced,#soccer-advanced{font-family:inherit;font-size:14px}
.sport-advanced>summary,#soccer-advanced summary{font-size:14px;font-weight:700;line-height:1.5}
.sport-advanced>summary span,#soccer-advanced .sxg-sub{font-size:13px;font-weight:400}
.sport-advanced .nhla-table tbody th,#soccer-advanced .nhla-table tbody th{font-size:13px;line-height:1.2}
.sport-advanced .nhla-code,#soccer-advanced .nhla-name,#soccer-advanced a.nhla-team-link{font-family:inherit;font-size:14px;font-weight:650;letter-spacing:normal;line-height:1.2}
#soccer-advanced .sxg-controls label,#soccer-advanced .sxg-controls select{font-family:inherit;font-size:12px}
