
:root{
  --site-font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--site-page-bg:rgb(244, 241, 235);--site-ink:rgb(32, 34, 40);--site-muted:rgb(104, 109, 118);--site-line:rgb(217, 213, 204);
  --site-shell-bg:rgba(244, 241, 235, 0.96);--site-shell-color:rgb(32, 34, 40);--site-shell-shadow:none;--site-shell-pad:0px;--site-shell-minh:58px;
  --site-brand-size:16px;--site-brand-weight:760;--site-brand-color:rgb(32, 34, 40);
  --site-nav-size:16px;--site-nav-weight:400;--site-nav-radius:6px;--site-nav-color:rgb(32, 34, 40);--site-active-bg:rgb(255, 253, 250);
  --site-main-max:1480px;--site-main-pad:30px;
  --site-panel-bg:rgb(255, 253, 250);--site-panel-radius:8px;--site-panel-shadow:rgba(32, 34, 40, 0.035) 0px 3px 12px 0px;--site-panel-pad:12px;
  --site-control-bg:rgb(255, 255, 255);--site-control-border:rgb(217, 213, 204);--site-control-radius:6px;
  --site-button-bg:rgba(244, 241, 235, 0.96);--site-button-color:rgb(104, 109, 118);--site-button-border:rgb(104, 109, 118);--site-button-radius:0px;
  --site-h1-size:34px;--site-h1-weight:700;--site-h1-letter:-1.53px;--site-h2-size:18px;--site-h2-weight:800;
  --site-th-bg:rgb(255, 253, 250);--site-th-color:rgb(61, 70, 81);--site-th-size:10px;--site-th-weight:700;--site-td-size:12px;
  --site-mobile-shell-bg:rgba(244, 241, 235, 0.96);--site-mobile-shell-pad:0px;--site-mobile-shell-minh:54px;
  --site-mobile-brand-size:16px;--site-mobile-nav-radius:6px;--site-mobile-nav-size:16px;--site-mobile-active-bg:rgb(255, 253, 250);--site-mobile-main-pad:20px 14px 36px;--site-mobile-h1-size:34px;--site-mobile-h1-weight:700;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--site-page-bg);color:var(--site-ink);font-family:var(--site-font);min-height:100%}
a{color:inherit}button,select,input{font:inherit}
.topbar{min-height:var(--site-shell-minh);background:var(--site-shell-bg);color:var(--site-shell-color);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:var(--site-shell-pad);border-bottom:1px solid var(--site-line);box-shadow:var(--site-shell-shadow);position:sticky;top:0;z-index:5000}
.brand{font-size:var(--site-brand-size);font-weight:var(--site-brand-weight);color:var(--site-brand-color);text-decoration:none;white-space:nowrap}
.global-nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none}.global-nav::-webkit-scrollbar{display:none}
.global-nav a{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border-radius:var(--site-nav-radius);color:var(--site-nav-color);font-size:var(--site-nav-size);font-weight:var(--site-nav-weight);text-decoration:none;white-space:nowrap}
.global-nav a:hover{background:color-mix(in srgb,var(--site-active-bg) 58%,transparent)}.global-nav a.active{background:var(--site-active-bg);font-weight:700}
.page-shell{width:min(var(--site-main-max),100%);margin:0 auto;padding:var(--site-main-pad)}
.page-heading,.team-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}
.page-heading h1,.team-hero h1{font-size:var(--site-h1-size);font-weight:var(--site-h1-weight);letter-spacing:var(--site-h1-letter);line-height:1.05;margin:.12em 0 .35em}
.eyebrow{margin:0 0 7px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--site-muted)}
.lede{margin:0;color:var(--site-muted);line-height:1.55;max-width:780px}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}
.control-bar,.team-hero,.panel,.kpi-card,.prose-card{background:var(--site-panel-bg);border:1px solid var(--site-line);border-radius:var(--site-panel-radius);box-shadow:var(--site-panel-shadow)}
.control-bar{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;padding:var(--site-panel-pad);margin-bottom:14px}
.control-bar label,.team-hero-controls label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:var(--site-muted)}
select,input[type=search]{min-height:40px;border:1px solid var(--site-control-border);border-radius:var(--site-control-radius);background:var(--site-control-bg);color:var(--site-ink);padding:8px 11px;outline:none}
select:focus,input:focus{outline:2px solid color-mix(in srgb,var(--site-button-bg) 28%,transparent);outline-offset:1px}.search-control{min-width:260px;flex:1}
.button-link,.ghost-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border-radius:var(--site-button-radius);font-weight:700;font-size:13px;text-decoration:none;border:1px solid var(--site-button-border)}
.button-link{background:var(--site-button-bg);color:var(--site-button-color)}.ghost-button{background:var(--site-control-bg);color:var(--site-ink)}
.metric-groups,.team-tabs{display:flex;gap:8px;overflow-x:auto;padding:3px 0 11px;scrollbar-width:thin}.metric-groups button,.team-tabs button{border:1px solid var(--site-control-border);background:var(--site-control-bg);color:var(--site-ink);padding:9px 12px;border-radius:999px;font-weight:700;white-space:nowrap;cursor:pointer}
.metric-groups button.active,.team-tabs button.active{background:var(--site-active-bg);border-color:var(--site-active-bg);color:var(--site-nav-color)}
.table-note{font-size:12px;color:var(--site-muted);margin:0 0 10px;line-height:1.4}.sort-state{font-weight:700;color:var(--site-ink)}
.heat-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;color:var(--site-muted);font-size:12px}.heat-gradient{width:170px;height:10px;border-radius:999px;border:1px solid var(--site-line);background:linear-gradient(90deg,rgb(33,102,172) 0%,rgb(103,169,207) 25%,rgb(209,229,240) 45%,rgb(247,247,247) 50%,rgb(253,219,199) 55%,rgb(239,138,98) 75%,rgb(178,24,43) 100%)}
.table-wrap{overflow:auto;border:1px solid var(--site-line);border-radius:var(--site-panel-radius);background:var(--site-panel-bg);box-shadow:var(--site-panel-shadow)}
table{border-collapse:separate;border-spacing:0;width:100%;min-width:920px}th,td{padding:11px 12px;border-bottom:1px solid var(--site-line);border-right:1px solid color-mix(in srgb,var(--site-line) 58%,transparent);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:var(--site-td-size)}
th{background:var(--site-th-bg);color:var(--site-th-color);font-size:var(--site-th-size);font-weight:var(--site-th-weight);text-transform:uppercase;letter-spacing:.04em}
th button.metric-sort{border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;padding:0}.superhead-row th{background:var(--site-th-bg)}.superhead{text-align:center;border-bottom:1px solid var(--site-line)}
#league-table th:first-child,#league-table td:first-child{text-align:left;position:sticky;left:0;z-index:10;min-width:210px;background:var(--site-panel-bg);background-clip:padding-box;box-shadow:7px 0 10px -10px rgba(25,28,34,.75)}
#league-table thead th:first-child{z-index:30;background:var(--site-th-bg)!important}.league-average{font-weight:750}.league-average td{background:color-mix(in srgb,var(--site-active-bg) 48%,var(--site-panel-bg))}.league-average td:first-child{background:color-mix(in srgb,var(--site-active-bg) 48%,var(--site-panel-bg))!important}
.team-link{font-weight:700;text-decoration:none}.team-link:hover{text-decoration:underline}
.metric-cell{position:relative}.metric-value{position:relative}.metric-cell.heat,.rank-cell.heat,.kpi-rank.heat{background:var(--heat)!important;color:var(--heat-text)!important}.metric-cell.heat .metric-value{color:inherit}.rank-pill{display:inline-flex;margin-left:6px;min-width:26px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:rgba(255,255,255,.28);color:inherit;font-size:10px;font-weight:800;border:1px solid rgba(0,0,0,.06)}
.team-hero{align-items:center;padding:var(--site-panel-pad)}.team-monogram{width:76px;height:76px;border-radius:var(--site-panel-radius);background:var(--site-active-bg);color:var(--site-nav-color);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:850;letter-spacing:.04em;flex:0 0 auto}.team-hero-copy{flex:1}.team-hero-controls{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;justify-content:flex-end}.team-tabs{margin:0 0 16px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.kpi-card{padding:18px}.kpi-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--site-muted);font-weight:800}.kpi-value{font-size:30px;font-weight:850;letter-spacing:-.03em;margin:6px 0 6px}.kpi-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--site-muted);font-size:12px}.kpi-rank{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:24px;padding:3px 7px;border-radius:999px;font-weight:850}
.panel{padding:var(--site-panel-pad);margin-bottom:16px}.panel h2{font-size:var(--site-h2-size);font-weight:var(--site-h2-weight);margin:0 0 4px}.panel-sub{color:var(--site-muted);font-size:12px;margin:0 0 14px;line-height:1.45}
.matrix{width:100%;min-width:720px;border-collapse:separate;border-spacing:0}.matrix th,.matrix td{position:static}.matrix th:first-child,.matrix td:first-child{text-align:left;min-width:170px}.rank-cell{text-align:center;font-weight:800}.matrix .metric-cell.heat,.matrix .rank-cell.heat{background:var(--heat)!important;color:var(--heat-text)!important}
.glossary-table{min-width:1120px}.glossary-table td{vertical-align:top;white-space:normal;text-align:left;line-height:1.45}.glossary-table th{text-align:left}.glossary-table td:first-child,.glossary-table th:first-child{position:sticky;left:0;background:var(--site-panel-bg);z-index:5;min-width:180px}.glossary-table thead th:first-child{background:var(--site-th-bg)}
.prose-shell{max-width:min(1040px,var(--site-main-max))}.prose-card{padding:28px;line-height:1.65}.prose-card h2{font-size:var(--site-h2-size);font-weight:var(--site-h2-weight);margin-top:1.7em}.prose-card h2:first-child{margin-top:0}.prose-card p{color:var(--site-ink)}
.site-footer{width:min(var(--site-main-max),100%);margin:0 auto;padding:0 30px 36px;color:var(--site-muted);font-size:12px}.empty-state{padding:36px;text-align:center;color:var(--site-muted)}
@media(max-width:980px){.page-heading,.team-hero{align-items:flex-start;flex-direction:column}.team-hero-controls{justify-content:flex-start}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .topbar{min-height:var(--site-mobile-shell-minh);background:var(--site-mobile-shell-bg);padding:var(--site-mobile-shell-pad);gap:8px;align-items:center;flex-wrap:wrap}.brand{font-size:var(--site-mobile-brand-size)}.global-nav{max-width:100%}.global-nav a{font-size:var(--site-mobile-nav-size);border-radius:var(--site-mobile-nav-radius);min-height:36px;padding:0 9px}.global-nav a.active{background:var(--site-mobile-active-bg)}
  .page-shell{padding:var(--site-mobile-main-pad)}.page-heading{gap:16px;margin-bottom:18px}.page-heading h1,.team-hero h1{font-size:var(--site-mobile-h1-size);font-weight:var(--site-mobile-h1-weight)}.heading-actions{width:100%}.heading-actions a{flex:1 1 auto}.control-bar{align-items:stretch}.control-bar label,.control-bar .button-link{width:100%}.search-control{min-width:0}.metric-groups{margin-right:-14px;padding-right:14px}
  .heat-legend{gap:7px}.heat-gradient{width:126px}.team-monogram{width:60px;height:60px}.team-hero{padding:16px}.team-hero-controls{width:100%}.team-hero-controls label,.team-hero-controls .button-link{flex:1 1 140px}.kpi-grid{grid-template-columns:1fr 1fr}.kpi-value{font-size:25px}
  #league-table th:first-child,#league-table td:first-child{min-width:165px}
  .matrix-wrap{position:relative}.matrix th:first-child,.matrix td:first-child{position:sticky!important;left:0!important;z-index:12;background:var(--site-panel-bg)!important;background-clip:padding-box;box-shadow:7px 0 10px -10px rgba(25,28,34,.75)}.matrix thead th:first-child{z-index:20;background:var(--site-th-bg)!important}
  .glossary-table{display:block;min-width:0;width:100%}.glossary-table thead{display:none}.glossary-table tbody{display:block;padding:10px}.glossary-table tr{display:block;background:var(--site-panel-bg);border:1px solid var(--site-line);border-radius:var(--site-panel-radius);margin:0 0 12px;padding:14px;box-shadow:none}.glossary-table td,.glossary-table td:first-child{display:block;position:static!important;width:100%;min-width:0;background:transparent!important;border:0;padding:7px 0;white-space:normal;text-align:left;line-height:1.45;box-shadow:none}.glossary-table td::before{content:attr(data-label);display:block;margin-bottom:2px;color:var(--site-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.glossary-table td:first-child{font-size:17px;font-weight:850;padding-top:0}.glossary-table td:first-child::before{display:none}.prose-card{padding:18px}
}


/* TEAM3_STANDALONE3_V1 — final presentation closure. Site tokens remain inherited above. */
:root{--league-team-col:230px;--league-metric-col:124px;--matrix-metric-col:160px;--matrix-data-col:112px;--site-sticky-offset:58px}
@media(min-width:1001px){.metric-groups{flex-wrap:wrap;overflow:visible;scrollbar-width:none}.metric-groups::-webkit-scrollbar{display:none}}
#league-table{width:auto;min-width:100%;table-layout:fixed}
#league-table col.league-team-col{width:var(--league-team-col)}
#league-table col.league-metric-col{width:var(--league-metric-col)}
#league-table[data-group="off_freq"],#league-table[data-group="def_freq"],#league-table[data-group="off_acc"],#league-table[data-group="def_acc"]{--league-metric-col:138px}
#league-table[data-group="assisted"]{--league-metric-col:132px}
#league-table[data-group="basic"]{--league-metric-col:116px}
#league-table .sticky-team{position:sticky!important;left:0!important;z-index:30!important;text-align:left!important;min-width:var(--league-team-col)!important;width:var(--league-team-col)!important;max-width:var(--league-team-col)!important;background:var(--site-th-bg)!important;background-clip:padding-box!important;box-shadow:7px 0 10px -10px rgba(25,28,34,.75)!important}
#league-table tbody td:first-child{position:sticky!important;left:0!important;z-index:10!important;min-width:var(--league-team-col);background:var(--site-panel-bg)!important;background-clip:padding-box!important;box-shadow:7px 0 10px -10px rgba(25,28,34,.75)!important}
#league-table tbody .league-average td:first-child{background:color-mix(in srgb,var(--site-active-bg) 48%,var(--site-panel-bg))!important}
#league-table thead th:not(.sticky-team){position:static!important;left:auto!important;min-width:0!important;box-shadow:none!important}
#league-table thead tr:not(.superhead-row) th:first-child:not(.sticky-team){text-align:right!important}
.matrix{width:auto;min-width:100%;table-layout:fixed}
.matrix col.matrix-metric-col{width:var(--matrix-metric-col)}
.matrix col.matrix-data-col{width:var(--matrix-data-col)}
.matrix th{white-space:normal;line-height:1.25;text-align:center}
.matrix td{white-space:nowrap}
.matrix .matrix-metric,.matrix .sticky-metric{text-align:left;white-space:normal;line-height:1.25}
.matrix .sticky-metric{position:sticky!important;left:0!important;z-index:24!important;background:var(--site-th-bg)!important;background-clip:padding-box!important;box-shadow:7px 0 10px -10px rgba(25,28,34,.75)!important}
.matrix tbody .matrix-metric{position:sticky!important;left:0!important;z-index:14!important;background:var(--site-panel-bg)!important;background-clip:padding-box!important;box-shadow:7px 0 10px -10px rgba(25,28,34,.75)!important}
.matrix thead tr:nth-child(2) th:first-child{position:static!important;left:auto!important;min-width:0!important;width:auto!important;max-width:none!important;text-align:center!important;box-shadow:none!important;background:var(--site-th-bg)!important}
.matrix .metric-cell{background:var(--site-panel-bg)!important;color:var(--site-ink)!important}
.matrix .metric-cell.heat{background:var(--site-panel-bg)!important;color:var(--site-ink)!important}
.matrix-superhead{background:var(--site-th-bg)!important;text-align:center!important}
.glossary-wrap{overflow:visible}
.glossary-table{min-width:0;width:100%;table-layout:auto}
.glossary-table thead th{position:sticky;top:var(--site-sticky-offset);z-index:18;background:var(--site-th-bg)!important}
.glossary-table thead th:first-child{z-index:20}
.team-hero-copy{min-width:0}.team-hero.no-monogram{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.team-hero.no-monogram .team-hero-controls{align-self:center}
.kpi-meta .league-average-label{white-space:nowrap}
@media(max-width:700px){
  :root{--league-team-col:150px;--league-metric-col:104px;--matrix-metric-col:104px;--matrix-data-col:72px}
  #league-table[data-group="off_freq"],#league-table[data-group="def_freq"],#league-table[data-group="off_acc"],#league-table[data-group="def_acc"]{--league-metric-col:112px}
  #league-table[data-group="assisted"]{--league-metric-col:108px}
  #league-table[data-group="basic"]{--league-metric-col:96px}
  #league-table th,#league-table td{padding-left:8px;padding-right:8px}
  #league-table tbody td:first-child{min-width:var(--league-team-col);max-width:var(--league-team-col);overflow:hidden;text-overflow:ellipsis}
  .matrix th,.matrix td{padding:9px 6px;font-size:11px}
  .matrix th.sticky-metric,.matrix td.matrix-metric{min-width:var(--matrix-metric-col)!important;width:var(--matrix-metric-col)!important;max-width:var(--matrix-metric-col)!important}
  .matrix tbody .matrix-metric{font-size:11px}
  .team-hero.no-monogram{display:flex;flex-direction:column;align-items:stretch}.team-hero.no-monogram .team-hero-controls{align-self:stretch}
  .glossary-wrap{overflow:visible}.glossary-table thead th{position:static}
}


/* TEAM3_STANDALONE4_V1 — Player-style rank square + raw metric parity. */
.rank-metric-line{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0}
.team-rank-badge{display:inline-flex;min-width:38px;min-height:31px;align-items:center;justify-content:center;padding:3px 7px;border:1px solid rgba(255,255,255,.74);border-radius:10px;box-shadow:inset 0 0 0 1px rgba(45,49,55,.08),0 1px 2px rgba(35,31,26,.05);font-size:.74rem;font-weight:900;font-variant-numeric:tabular-nums;line-height:1;flex:0 0 auto}
.team-rank-badge.heat{background:var(--heat)!important;color:var(--heat-text)!important}
.team-raw{min-width:49px;color:var(--site-ink)!important;font-size:.73rem;font-weight:850;font-variant-numeric:tabular-nums;text-align:left;white-space:nowrap}
#league-table .metric-cell,#league-table .player-style-metric-cell{background:var(--site-panel-bg)!important;color:var(--site-ink)!important}
#league-table .league-average-value{background:color-mix(in srgb,var(--site-active-bg) 48%,var(--site-panel-bg));color:var(--site-ink)!important}
.matrix .player-style-metric-cell,.matrix .metric-cell{background:var(--site-panel-bg)!important;color:var(--site-ink)!important}
.matrix .league-average-value{background:var(--site-panel-bg)!important;color:var(--site-ink)!important}
.kpi-value-line{justify-content:flex-start;margin:6px 0}.kpi-value-line .kpi-value{margin:0;min-width:0;font-size:30px}.kpi-value-line .team-rank-badge{min-width:38px;min-height:31px}
.rank-pill,.rank-cell,.kpi-rank{display:none!important}
:root{--league-metric-col:142px;--matrix-data-col:138px}
#league-table[data-group="off_freq"],#league-table[data-group="def_freq"],#league-table[data-group="off_acc"],#league-table[data-group="def_acc"]{--league-metric-col:148px}
#league-table[data-group="assisted"]{--league-metric-col:146px}
@media(max-width:700px){
  :root{--league-metric-col:132px;--matrix-data-col:126px}
  #league-table[data-group="off_freq"],#league-table[data-group="def_freq"],#league-table[data-group="off_acc"],#league-table[data-group="def_acc"]{--league-metric-col:136px}
  #league-table[data-group="assisted"]{--league-metric-col:134px}
  .team-rank-badge{min-width:38px;min-height:31px;padding:3px 6px}
  .kpi-value-line .kpi-value{font-size:25px}
}


/* TEAM3_STANDALONE5_V1 — final rank semantics + mobile side-context closure. */
.no-rank-metric .team-raw{min-width:0;text-align:center}
.no-rank-line{justify-content:center}
@media(max-width:700px){
  /* Desktop keeps elegant group superheaders; mobile makes every visible leaf header self-contained. */
  #league-table.group-efficiency .superhead,
  .matrix.two-sided .matrix-superhead{
    font-size:0!important;
    line-height:0!important;
    height:4px!important;
    padding-top:2px!important;
    padding-bottom:2px!important;
    color:transparent!important;
    border-bottom:0!important;
  }
  #league-table.group-efficiency thead tr:not(.superhead-row) .metric-sort{
    font-size:0!important;
    line-height:1.15!important;
  }
  #league-table.group-efficiency thead tr:not(.superhead-row) .metric-sort::before{
    content:attr(data-mobile-label);
    font-size:10px;
    font-weight:850;
    letter-spacing:.035em;
    color:var(--site-th-color);
    white-space:normal;
  }
  .matrix.two-sided .matrix-subhead{
    font-size:0!important;
    line-height:1.15!important;
  }
  .matrix.two-sided .matrix-subhead::before{
    content:attr(data-mobile-label);
    font-size:10px;
    font-weight:850;
    letter-spacing:.035em;
    color:var(--site-th-color);
    white-space:normal;
  }
}
