/* League Hub palette, compact readable totals, responsive controls. */
html[data-page=teams] body{background:linear-gradient(115deg,#193753,#19345b);color:#edf5ff;font-family:'DM Sans',Arial,sans-serif}
html[data-page=teams]{--border-s:#557798}
html[data-page=teams] :is(.page-header,.page-hero,.controls,.table-wrap){margin:0 20px}
html[data-page=teams] .page-title{font-family:inherit!important;font-size:28px!important;text-transform:none!important;letter-spacing:-.6px!important}
html[data-page=teams] .hero-bg,html[data-page=teams] .page-hero:before{display:none}
html[data-page=teams] .controls{gap:10px;padding:14px;background:#284b73;border:1px solid #6283a7;border-radius:10px;margin-top:16px;margin-bottom:16px}
html[data-page=teams] :is(.filter-select,.tab-btn){font:600 13px 'DM Sans',Arial,sans-serif;letter-spacing:0;text-transform:none;min-height:40px;border-radius:6px;background:#203f65;color:#edf5ff;border:1px solid #6283a7}
html[data-page=teams] .tab-btn.active{background:#D18445;color:#13304a}
html[data-page=teams] #season-note{flex-basis:100%;font-size:12px;line-height:1.5;color:#c9def2}
html[data-page=teams] .table-wrap{width:calc(100% - 40px);height:auto;max-height:72vh;border:1px solid #6283a7;border-radius:10px;scrollbar-color:#D18445 #193753}
html[data-page=teams] :is(th,td,th:nth-child(-n+3),td:nth-child(-n+3)){background:#203f65;color:#e7f2ff;font-family:inherit;font-size:13px;letter-spacing:0;line-height:1.4;padding:10px 8px;border-bottom:1px solid #496e91;font-variant-numeric:tabular-nums}
html[data-page=teams] th{background:#17344f!important;color:#b5d4ed!important;font-size:11px}
html[data-page=teams] tr:nth-child(even) td{background:#274b72}
html[data-page=teams] :is(.team-abbr,.record-cell){font-family:inherit;font-size:13px;letter-spacing:0;color:#edf5ff}
html[data-page=teams] .team-abbr{font-weight:700;color:#E8A66F}
html[data-page=teams] :is(.stat-th,.stat-td){text-align:right}
html[data-page=teams] :is(.stat-th,.stat-td):nth-child(-n+3){text-align:left}
html[data-page=teams] .table-wrap :is(th,td):nth-child(3){position:static}
@media(max-width:700px){html[data-page=teams] :is(.page-header,.page-hero,.controls,.table-wrap){margin-left:12px;margin-right:12px}html[data-page=teams] .table-wrap{width:calc(100% - 24px)}html[data-page=teams] .controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}html[data-page=teams] #season-note{grid-column:1/-1}html[data-page=teams] .filter-select{min-width:0;width:100%;min-height:44px}}
html.as-workspace[data-page=teams] body{background:linear-gradient(115deg,#193753,#19345b)!important}
html[data-page=teams] .page{padding:100px 0 60px!important}
html[data-page=teams] #meta-line{font-size:13px;letter-spacing:0;text-transform:none}
html[data-page=teams] .page-header h1{font-family:'DM Sans',Arial,sans-serif!important}
html[data-page=teams] .controls{display:flex!important}
@media(max-width:700px){html[data-page=teams] .page{padding-top:84px!important}html[data-page=teams] .controls{display:grid!important}html[data-page=teams] .page-header{padding:16px 8px!important}}
