/* Consistency pass: higher-specificity legacy component rules now use shared tokens. */
:root{--je-surface:#102c36;--je-inset:#0d2833;--je-raised:#153541;--je-stroke:#2e4c58;--je-label:#a6bec9;--je-number:#f5eddf}
.standings-panel .standings-grid{background:var(--je-stroke);gap:1px}.standings-panel .standings-group{background:var(--je-surface)}.standings-panel .standings-head{padding:16px 18px;background:var(--je-raised);border-color:var(--je-stroke)}.standings-head strong{font-size:14px;font-weight:650}.standings-panel .standings-table{background:var(--je-inset);font-size:12px}.standings-panel .standings-table th{background:var(--je-surface);color:var(--je-label);font-size:9px;padding:13px 11px;letter-spacing:.08em}.standings-panel .standings-table td{padding:12px 11px;border-bottom-color:var(--je-stroke);color:#dce8ec}.standings-panel .standings-table tr:hover{background:#a9d7e108}.standings-panel .standing-team{font-weight:650;min-height:24px;color:var(--je-number);border-radius:4px}.standings-panel .standing-team:hover{color:var(--je-copper)}.standings-panel .standings-table td.positive{color:var(--je-ice)}.standings-panel .standings-table td.negative{color:var(--danger)}
#playerLab{--card-bg:var(--je-surface);--card-line:var(--je-stroke);--card-blue:var(--je-ice);--card-rose:var(--danger);--muted:#a6bac0;color:var(--text)}#playerLab .player-profile-head{padding:25px;background:linear-gradient(125deg,#183b47,#102c36);border:1px solid var(--je-stroke);border-left:3px solid var(--je-copper);border-radius:13px;margin-bottom:18px}#playerLab .player-profile-head h3{font-size:clamp(28px,3vw,39px);font-weight:650;letter-spacing:-.045em;color:var(--je-number);line-height:1.15;margin:9px 0 11px}#playerLab .player-profile-head .muted{font-size:12px;color:var(--je-label)}#playerLab .player-profile-head select{min-height:42px;background:var(--je-inset);border-color:#3b5c69}#playerLab fieldset{padding:18px;background:var(--je-inset);border-color:var(--je-stroke);border-radius:11px;gap:20px}#playerLab fieldset legend{color:#9ab8c6;font-size:9px;letter-spacing:.12em}#playerLab fieldset label{font-size:12px;font-weight:550;display:inline-flex;align-items:center;gap:8px;min-height:32px}#playerLab fieldset label:has(input:disabled){opacity:.6}#playerLab input[type=checkbox]{width:16px;height:16px;accent-color:var(--je-copper)}#playerLab fieldset p{color:#96b2bf;font-size:11px;line-height:1.7}#playerLab .team-stat-grid>div,#playerLab .pi-rating,.pc-contract-card .pc-contract-grid>div{background:var(--je-inset);border:1px solid var(--je-stroke);border-radius:10px;padding:16px 14px}#playerLab .team-stat-grid span,.pc-contract-grid span{font-size:10px;line-height:1.5;color:var(--je-label);font-weight:450;letter-spacing:.025em}#playerLab .team-stat-grid strong,.pc-contract-grid strong{font-size:25px;line-height:1.25;color:var(--je-number);font-weight:600;letter-spacing:-.03em;margin-top:11px}#playerRoleContractContext .team-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 18px}#playerRoleContractContext .team-stat-grid strong{font-size:23px}#playerRoleContractContext .team-stat-grid>div{min-height:132px}#playerLab h4,#playerLab .pi-card h4{color:#d9e7ed;font-size:17px;font-weight:600;letter-spacing:-.02em}#playerLab h5{color:var(--je-label);font-size:10px;letter-spacing:.09em;font-weight:600}#playerLab .team-heat,#playerLab .recent-list,#playerLab .pi-card{background:var(--je-surface);border-color:var(--je-stroke)}#playerLab .pi-card{padding:23px}#playerLab .pi-rating strong{color:var(--je-ice);font-weight:600}#playerLab .pi-chart .grid{stroke:var(--je-stroke)}#playerLab .pi-chart .series{stroke:var(--je-ice)}#playerLab .pi-chart circle{fill:var(--je-surface);stroke:var(--je-ice)}#playerLab .pi-pills button{background:var(--je-inset);border-color:var(--je-stroke);color:var(--je-label);min-height:38px;padding:9px 12px}#playerLab .pi-pills button[aria-pressed=true]{background:#a9d7e11c;border-color:#638d9e;color:#c9e8ef}.pc-contract-card .pc-contract-columns{gap:24px;margin-top:20px}.pc-contract-card .pc-contract-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pc-contract-card h4{font-size:16px;font-weight:600;color:#d9e7ed}.pc-contract-card p{font-size:12px;line-height:1.75}.pc-contract-card .fine-print{font-size:11px;line-height:1.8}.pc-contract-card strong{font-weight:600}#playerRoleContractContext .panel{box-shadow:none}
/* Team-specific subcomponents that were still painting charcoal over the theme. */
.ti-dashboard .ti-kpi,.ti-dashboard .ti-card,.ti-kpi,.ti-card{background:var(--je-surface);border-color:var(--je-stroke)}.ti-kpi strong{color:var(--je-number);font-weight:600}.ti-highlights article,.ti-schedule>div,.ti-player,.ti-rating,.ti-form-cell{background:var(--je-inset);border-color:var(--je-stroke)}.ti-highlight-icon,.ti-avatar{background:#a9d7e114;color:var(--je-ice)}.ti-card input,.ti-card select{background:var(--je-inset);border-color:#3b5c69;color:var(--text)}.ti-dialog{background:var(--je-surface);border-color:#476875;color:var(--text)}.ti-dialog h2,.ti-card h4{font-weight:650}.ti-close{background:var(--je-raised);border-color:var(--je-stroke);color:var(--text);width:42px;height:42px}.ti-form-w{background:#a9d7e118;color:var(--je-ice);border-color:#527786}.ti-form-otl{background:#cf947218;color:#e5bda1;border-color:#82654e}.ti-player:hover{border-color:#977255;background:#1c3e48}.ti-share-track{background:#274855}.ti-share-track i{background:linear-gradient(90deg,#6b9fb0,#a9d7e1)}
@media(max-width:1000px){#playerRoleContractContext .team-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#playerRoleContractContext .team-stat-grid>div{min-height:116px}.standings-panel .standings-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){#playerLab .player-profile-head{padding:20px}#playerLab .player-profile-head h3{font-size:31px}#playerLab .player-profile-head label{font-size:10px}#playerLab .team-stat-grid>div,.pc-contract-card .pc-contract-grid>div{padding:14px 12px}#playerLab .team-stat-grid strong,.pc-contract-grid strong{font-size:23px}#playerRoleContractContext .team-stat-grid strong{font-size:21px}#playerRoleContractContext .team-stat-grid span{font-size:9px}#playerLab fieldset{padding:15px;gap:10px 18px}#playerLab .pi-card{padding:19px}.standings-panel .standings-head{padding:15px}.standings-panel .standings-table th,.standings-panel .standings-table td{padding:12px 10px}.pc-contract-card .pc-contract-columns{grid-template-columns:minmax(0,1fr);gap:22px}.pc-contract-card .pc-contract-grid{gap:10px}}
