/* Shared presentation only: values, qualification and ranking populations stay intact. */
main.wrap { min-width:0; }
main .jump-links { flex-wrap:wrap; }
main .scope-nav select, main .standings-season-form select { max-width:100%; }
main .ml-scroll, main .uf-team-scroll { overflow-x:auto; max-width:100%; }
main .table-wrap, main .ml-scroll, main .uf-team-scroll { overscroll-behavior-x:contain; }
main table.stats thead th { white-space:nowrap; }
main table.stats thead th a { white-space:nowrap; }
main table.stats .sort-button { white-space:nowrap; }
main table.uf-team-table th:first-child { z-index:2; left:0; min-width:80px; text-align:left; }
main table.uf-team-table td { white-space:nowrap; }
main table.uf-team-table small { font-size:12px; font-weight:400; }
main table.standings-grid thead th:first-child,main table.standings-grid tbody td:first-child { position:sticky;left:0;z-index:2;background:var(--c-bg-alt,#f5f8fc);min-width:82px;text-align:left; }
main table.standings-grid th:nth-child(2) { min-width:190px; }
.uf-card table th,.uf-card table td { white-space:normal; padding:7px 4px; }
.uf-card table th { font-size:12px; text-align:right; }
.uf-card table th:nth-child(2) { text-align:left; }
.uf-card table .uf-player { width:auto; overflow-wrap:anywhere; }
.uf-card table .uf-number { width:28px; }
.uf-card table .uf-value { width:64px; font-variant-numeric:tabular-nums; text-align:right; }
.uf-card.uf-shooting table .uf-value { width:51px; }
.uf-card td small { white-space:normal; }
.uf-card label { display:block; margin:5px 0; }
#filter-v2-dialog form { display:flex; flex-direction:column; max-height:92vh; margin:0; }
#filter-v2-dialog .filter-sheet-body { min-height:0; overflow-y:auto; }
#filter-v2-dialog select { max-width:100%; }
#all-players .player-controls[hidden],#all-players .qualification-status[hidden],#all-players .leader-count[hidden] { display:none!important; }
@media(max-width:600px){
 main .scope-nav { gap:10px; padding:12px; }
 main .scope-nav label { min-width:0; max-width:100%; }
 main .scope-nav select { min-width:0; width:100%; }
 main .leader-grid { grid-template-columns:minmax(0,1fr); }
 .uf-card { padding:10px; }
 .uf-card table { font-size:12px; }
 .uf-card.uf-shooting table .uf-value { width:48px; }
 main .uf-team-table { font-size:13px; }
}
