.league-page{max-width:1440px;margin:auto;padding:clamp(14px,2vw,30px) clamp(0px,1vw,14px) 40px;color:hsl(var(--foreground))}.league-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}.league-heading h1{font-size:clamp(28px,3vw,42px);line-height:1.12;letter-spacing:-.045em;font-weight:800}.league-heading p{color:hsl(var(--muted-foreground));margin-top:10px;line-height:1.6;max-width:640px}.league-heading nav{display:flex;gap:18px;flex-shrink:0;font-size:13px;font-weight:600;color:#6a30c8}.dark .league-heading nav{color:#c4a2ff}.league-heading nav a:hover{text-decoration:underline}.league-filter-actions,.league-pagination,.league-results-caption,.league-search-row,.league-table-tools,.league-view-row{display:flex;align-items:center;gap:12px;justify-content:space-between}.league-view-row{margin-bottom:16px}.league-scope{display:inline-flex;background:hsl(var(--muted)/.6);border:1px solid hsl(var(--border));padding:4px;border-radius:11px}.league-scope button{padding:9px 17px;font-size:14px;font-weight:650;border-radius:7px}.league-scope button[aria-pressed=true]{background:#6c30cb;color:#fff}.league-pagination label,.league-season,.league-table-tools label{display:flex;align-items:center;gap:9px;font-size:12px;color:hsl(var(--muted-foreground))}.league-browser select,.league-filter-fields input{color:hsl(var(--foreground));background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:7px;padding:8px 28px 8px 9px;font-size:13px;min-height:38px}.league-search-row{justify-content:start;margin-bottom:16px}.league-search{display:flex;align-items:center;gap:9px;flex:1;max-width:520px;border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:9px;padding:0 12px;min-height:42px;color:hsl(var(--muted-foreground))}.league-search input{width:100%;background:transparent;color:hsl(var(--foreground));font-size:14px;outline:none;padding:10px 0;min-width:0}.league-search input::placeholder{color:hsl(var(--muted-foreground));opacity:1}.league-direction,.league-filter-button,.league-share-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border:1px solid hsl(var(--border));padding:8px 12px;border-radius:8px;font-size:13px;font-weight:600;background:hsl(var(--background))}.league-filter-button>span{border-radius:12px;background:#6c30cb;color:#fff;min-width:19px;padding:1px 4px;font-size:11px}.league-share-button{margin-left:auto}.league-active-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.league-active-filters button{display:flex;gap:6px;align-items:center;font-size:12px;color:#6225b5;background:#f2eafa;padding:4px 9px;border-radius:5px}.dark .league-active-filters button{color:#dfcbff;background:#352248}.league-leaders{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:14px 0 20px;margin-bottom:20px;border-block:1px solid hsl(var(--border));gap:0}.league-leaders>button{text-align:left;min-width:0;padding:0 15px;border-right:1px solid hsl(var(--border))}.league-leaders>button:first-child{padding-left:0}.league-leaders>button:last-child{border:0}.league-leader-label{display:block;font-size:11px;color:hsl(var(--muted-foreground));margin-bottom:8px}.league-leader-name{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;font-weight:600;line-height:1.35}.league-leader-name>span:last-child{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.league-leader-name img{object-fit:contain;flex-shrink:0}.league-leaders strong{display:block;margin-top:9px;font-size:25px;line-height:1;font-weight:750;letter-spacing:-.04em;color:#6a30c8}.dark .league-leaders strong{color:#c4a2ff}.league-table-tools{gap:8px;margin-bottom:14px;flex-wrap:wrap}.league-groups{display:flex;gap:3px;flex:1;flex-wrap:wrap}.league-groups button{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;font-size:12px;border-radius:6px;color:hsl(var(--muted-foreground));font-weight:600}.league-groups button[aria-pressed=true]{color:#6427b8;background:#f2eafa}.dark .league-groups button[aria-pressed=true]{color:#dfcbff;background:#352248}.league-direction{padding:7px;min-width:36px;min-height:36px}.league-results-caption{font-size:12px;color:hsl(var(--muted-foreground));margin-bottom:9px;gap:10px;flex-wrap:wrap}.league-table-scroll{border:1px solid hsl(var(--border));border-radius:11px;overflow:auto;max-height:780px;max-width:100%;scrollbar-width:thin;isolation:isolate}.league-stats-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;white-space:nowrap}.league-stats-table td,.league-stats-table th{padding:10px 12px;border-bottom:1px solid hsl(var(--border));text-align:right;font-variant-numeric:tabular-nums;height:61px;background:hsl(var(--background))}.league-stats-table thead th{position:sticky;top:0;z-index:3;height:43px;background:hsl(var(--muted));font-weight:600;font-size:11px;color:hsl(var(--muted-foreground));padding-block:8px}.league-stats-table thead button{display:flex;align-items:center;justify-content:flex-end;gap:5px;width:100%;min-height:25px}.league-stats-table th:nth-child(2){position:sticky;left:0;z-index:2;text-align:left;min-width:210px;max-width:250px;border-right:1px solid hsl(var(--border))}.league-stats-table thead th:nth-child(2){z-index:4}.league-stats-table th:nth-child(2) button{justify-content:start}.league-stats-table .league-rank{text-align:center;color:hsl(var(--muted-foreground));font-size:11px;min-width:40px}.league-stats-table .league-selected{background:#f5effe;color:#572498;font-weight:700}.dark .league-stats-table .league-selected{background:#2a2038;color:#e0caff}.league-stats-table tbody tr:last-child>*{border-bottom:0}.league-person{display:flex;gap:9px;align-items:center;text-align:left;font-weight:400;min-width:0}.league-person>span{min-width:0}.league-person strong{display:block;font-size:13px;max-width:175px;white-space:normal;line-height:1.35}.league-person small{display:block;font-size:10px;color:hsl(var(--muted-foreground));margin-top:2px}.league-person:hover strong,.league-team:hover{text-decoration:underline}.league-team{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600}.league-team img{object-fit:contain}.league-locked{display:inline-flex;align-items:center;gap:5px;color:#7c54aa;font-size:11px}.dark .league-locked{color:#d9baff}.league-pagination{justify-content:end;margin-top:14px;font-size:12px;gap:10px;color:hsl(var(--muted-foreground))}.league-pagination label{margin-right:auto}.league-pagination button{padding:7px;border:1px solid hsl(var(--border));border-radius:6px}.league-pagination button:disabled{opacity:.35}.league-error,.league-stats-loading{padding:30px 14px;background:hsl(var(--muted)/.3);border-radius:10px;font-size:14px}.league-error{margin-bottom:12px}.league-error button,.league-no-results button{display:block;margin-top:10px;text-decoration:underline;color:#712bbb}.league-plan-note{padding:10px 13px;margin-bottom:12px;font-size:13px;background:#f5effe;color:#572498;border-radius:7px}.league-plan-note a{font-weight:650;text-decoration:underline}.dark .league-plan-note{background:#2a2038;color:#e0caff}.league-no-results{height:150px!important;text-align:left!important;white-space:normal!important;color:hsl(var(--muted-foreground))}.league-browser :is(button,a,input,select):focus-visible{outline:2px solid #8b50d8;outline-offset:3px}.league-filter-dialog{max-height:88dvh;overflow:auto;max-width:620px}.league-filter-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-block:10px}.league-filter-fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}.league-filter-fields input,.league-filter-fields select{width:100%;border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground));border-radius:7px;padding:9px;font-size:14px}.league-filter-actions{border-top:1px solid hsl(var(--border));padding-top:15px;font-size:13px}.league-filter-actions button:last-child{background:#6c30cb;color:#fff;padding:10px 16px;border-radius:8px;font-weight:600}.league-signup{padding-block:24px;max-width:650px}.league-signup p{line-height:1.7;color:hsl(var(--muted-foreground));margin-block:14px}.league-signup-actions{display:flex;gap:12px;margin-top:20px}.league-signup-actions a{padding:10px 16px;border-radius:8px;border:1px solid hsl(var(--border));font-size:14px;font-weight:600}.league-signup-actions a:first-child{color:#fff;background:#6c30cb}@media(max-width:800px){.league-heading{display:block;margin-bottom:20px}.league-heading nav{margin-top:13px}.league-leaders{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 0}.league-leaders>button{padding-left:12px}.league-leaders>button:nth-child(3){border:0}.league-leaders>button:nth-child(4){padding-left:0}.league-table-tools label{margin-left:auto}.league-groups{flex-basis:100%}.league-stats-table th:nth-child(2){min-width:164px;max-width:180px}.league-person strong{max-width:140px;font-size:12px}}@media(max-width:480px){.league-page{padding-top:14px}.league-heading h1{font-size:29px}.league-heading p{font-size:13px}.league-view-row{gap:8px}.league-scope button{padding:8px 12px;font-size:12px}.league-season{gap:5px;font-size:11px}.league-season select{font-size:12px;padding-left:7px;max-width:110px}.league-search-row{gap:7px}.league-filter-button,.league-share-button{padding-inline:10px}.league-share-button span{display:none}.league-leaders strong{font-size:22px}.league-leader-name{font-size:11px}.league-leader-label{font-size:10px}.league-groups button{padding:7px 9px;font-size:11px}.league-results-caption p{font-size:10px}.league-stats-table td,.league-stats-table th{padding:8px 10px;height:56px}.league-stats-table .league-rank{min-width:27px;padding-inline:6px}.league-stats-table th:nth-child(2){min-width:150px;max-width:160px}.league-person{gap:7px}.league-person strong{max-width:110px}.league-filter-fields{gap:12px}.league-table-scroll{max-height:660px}.league-leader-name img{max-width:25px;max-height:25px}}