:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0f1115;--surface:#171a20;--surface-muted:#20242c;--surface-selected:#202c44;--text:#f2f4f7;--text-secondary:#b0b7c2;--text-muted:#8c95a3;--border:#2b3039;--border-strong:#3c4350;--primary:#5b8cff;--primary-hover:#78a2ff;--primary-soft:#1f2b45;--primary-selected-text:#c9d8ff;--success:#4fc88b;--success-soft:#153226;--danger:#ff747d;--danger-soft:#381c21;--warning:#e8b04a;--warning-soft:#362a13;--radius-xs:7px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-pill:999px;--shadow-popover:0 18px 48px #00000075;--focus-ring:0 0 0 3px #5b8cff4d}*{box-sizing:border-box}html{background:var(--background)}body{background:var(--background);color:var(--text);font-family:var(--font-poppins), Arial, sans-serif;-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.5}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.02em;line-height:1.22}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{box-shadow:var(--focus-ring);outline:none}input,select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:42px;color:var(--text);padding:9px 11px;transition:border-color .16s,box-shadow .16s}input:hover,select:hover{border-color:#aab2bf}input:focus,select:focus{border-color:var(--primary);box-shadow:var(--focus-ring);outline:none}input::placeholder{color:#929aa7;opacity:1}select option,select optgroup{background:var(--surface);color:var(--text)}input:disabled,select:disabled,button:disabled{cursor:not-allowed;opacity:.55}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.site-header{z-index:40;border-bottom:1px solid var(--border);background:#171a20f5;position:sticky;top:0}.site-header-monitor{position:static}.header-inner{justify-content:space-between;align-items:center;gap:24px;width:min(1440px,100% - 40px);min-height:66px;margin:0 auto;display:flex}.brand{letter-spacing:-.015em;align-items:center;gap:10px;font-weight:700;display:inline-flex}.brand-logo{object-fit:cover;border-radius:9px;width:34px;height:34px;box-shadow:0 0 0 1px #ffffff1f}.header-admin-link,.admin-header-actions{align-items:center;gap:8px;display:flex}.header-admin-link{border-radius:var(--radius-sm);min-height:38px;color:var(--text-secondary);padding:8px 10px;font-size:13px;font-weight:600}.header-admin-link:hover{background:var(--surface-muted);color:var(--text)}.page-shell,.admin-shell{width:min(1440px,100% - 40px);margin:0 auto;padding:32px 0 64px}.page-shell-compact{width:min(1920px,100% - 40px);padding-bottom:0}.tournament-finder{z-index:20;margin-bottom:24px;position:relative}.finder-heading,.admin-section-heading,.admin-titlebar{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.finder-heading{margin-bottom:16px}.finder-heading h1,.admin-titlebar h1{margin-bottom:5px;font-size:26px;font-weight:700}.finder-heading p,.admin-titlebar p,.admin-section-heading p{color:var(--text-secondary);font-size:13px}.date-shortcuts{flex-wrap:wrap;gap:6px;display:flex}.button{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 14px;font-size:13px;font-weight:600;transition:background .16s,border-color .16s,color .16s;display:inline-flex}.button-primary{background:var(--primary);color:#091120}.button-primary:hover:not(:disabled){background:var(--primary-hover)}.button-secondary{border-color:var(--border-strong);background:var(--surface);color:var(--text)}.button-secondary:hover:not(:disabled),.button-quiet:hover:not(:disabled){background:var(--surface-muted)}.button-quiet{color:var(--text-secondary);background:0 0}.button-danger-quiet{color:var(--danger);background:0 0}.button-danger-quiet:hover:not(:disabled){background:var(--danger-soft)}.finder-controls{grid-template-columns:minmax(320px,1fr) 190px 190px;gap:10px;display:grid}.direct-event-selector{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);grid-template-columns:150px minmax(260px,1fr) minmax(260px,1fr) auto;align-items:end;gap:10px;margin-top:12px;padding:12px;display:grid}.direct-selector-copy{flex-direction:column;justify-content:center;min-height:42px;display:flex}.direct-selector-copy strong{font-size:13px}.direct-selector-copy span,.event-id-combobox>label,.window-id-field>span{color:var(--text-secondary);font-size:11px;font-weight:600}.window-id-field>small{color:var(--text-muted);font-size:9px}.event-id-combobox,.window-id-field{gap:5px;min-width:0;display:grid;position:relative}.event-id-combobox>input,.window-id-field>input{width:100%;min-width:0;min-height:42px;font-family:inherit;font-size:12px}.event-id-results{z-index:70;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);max-height:280px;box-shadow:var(--shadow-popover);position:absolute;top:calc(100% + 7px);left:0;right:0;overflow-y:auto}.event-id-option{border:0;border-bottom:1px solid var(--border);width:100%;min-height:44px;color:var(--text);cursor:pointer;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:16px;padding:9px 11px;display:flex}.event-id-option:last-child{border-bottom:0}.event-id-option:hover,.event-id-option[aria-selected=true]{background:var(--surface-selected)}.event-id-option code{color:inherit;font-family:var(--font-poppins), Arial, sans-serif;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.event-id-option span{color:var(--text-secondary);flex:none;font-size:10px}.direct-open-button{min-height:42px}.tournament-planning{border-top:1px solid var(--border);margin-top:22px;padding-top:18px}.planning-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:12px;display:flex}.planning-heading h2{margin-bottom:3px;font-size:15px}.planning-heading p,.planning-heading>span{color:var(--text-secondary);font-size:10px}.planning-navigation{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.planning-navigation>span{color:var(--text-secondary);margin-right:4px;font-size:10px}.planning-navigation .button{min-height:36px;padding:7px 10px}.planning-grid{scrollbar-width:thin;grid-template-columns:repeat(7,minmax(180px,1fr));gap:9px;padding-bottom:6px;display:grid;overflow-x:auto}.planning-day{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);min-height:220px;padding:9px}.planning-day.is-today{border-color:var(--primary)}.planning-day>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:8px;padding:3px 3px 9px;display:flex}.planning-day>header span{color:var(--primary-hover);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.planning-day>header strong{font-size:15px}.planning-day-events{gap:7px;margin-top:9px;display:grid}.planning-event{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);cursor:pointer;text-align:left;border-radius:7px;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;padding:7px;transition:border-color .16s,background .16s;display:grid}.planning-event:hover,.planning-event:focus-visible{border-color:var(--primary);background:var(--surface-selected)}.planning-event img,.planning-image-fallback{object-fit:cover;border-radius:6px;width:44px;height:44px}.planning-image-fallback{background:var(--surface-muted);color:var(--text-muted);place-items:center;display:grid}.planning-event-copy{gap:2px;min-width:0;display:grid}.planning-event-copy strong,.planning-event-copy code{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.planning-event-copy strong{font-size:10.5px;line-height:1.25}.planning-event-copy span,.planning-event-copy code,.planning-event-copy small{color:var(--text-secondary);font-family:var(--font-poppins), Arial, sans-serif;font-size:8px}.planning-event-copy code{color:var(--text-muted)}.status-text-live{color:var(--success)!important}.status-text-upcoming{color:var(--primary-hover)!important}.planning-empty{min-height:90px;color:var(--text-muted);text-align:center;place-items:center;font-size:9px;display:grid}.search-combobox{position:relative}.search-combobox>input{border-color:var(--border-strong);min-height:52px;padding-left:45px;padding-right:44px;font-size:15px;font-weight:500}.field-icon{z-index:2;color:var(--text-secondary);pointer-events:none;position:absolute;top:16px;left:15px}.clear-search,.refresh-button{cursor:pointer;color:var(--text-secondary);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.clear-search{z-index:2;width:44px;height:44px;position:absolute;top:4px;right:4px}.clear-search:hover,.refresh-button:hover{background:var(--surface-muted);color:var(--text)}.date-field{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);min-height:52px;color:var(--text-secondary);align-items:center;gap:8px;padding:6px 10px;display:flex}.date-field span{flex:none;font-size:12px;font-weight:600}.date-field input{min-width:0;min-height:36px;box-shadow:none;border:0;padding:5px 2px;font-size:12px;font-weight:500}.tournament-results{z-index:50;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);max-height:min(520px,100vh - 180px);box-shadow:var(--shadow-popover);padding:6px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto}.search-message{color:var(--text-secondary);text-align:center;padding:24px 16px;font-size:13px}.tournament-option{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:8px;display:grid}.tournament-option:hover,.tournament-option[aria-selected=true]{background:var(--surface-selected)}.tournament-option img,.tournament-image-fallback{object-fit:cover;border-radius:7px;width:78px;height:52px}.tournament-image-fallback{background:var(--surface-muted);color:var(--text-secondary);place-items:center;display:grid}.tournament-option-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.tournament-option-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.tournament-option-copy span{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.tournament-option-copy code,.current-window-id{color:var(--text-muted);font-family:var(--font-poppins), Arial, sans-serif;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.current-window-id{max-width:100%;margin-top:5px;display:block}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;width:fit-content;padding:4px 8px;font-size:11px;font-weight:600;display:inline-flex}.status-live{background:var(--success-soft);color:var(--success)}.status-live:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px;margin-right:5px}.status-upcoming{background:var(--primary-soft);color:#9bb8ff}.status-ended{background:var(--surface-muted);color:var(--text-secondary)}.tournament-overview{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);grid-template-columns:180px minmax(0,1fr) auto;align-items:center;gap:24px;padding:20px;display:grid}.tournament-poster{border-radius:var(--radius-md);object-fit:cover;width:180px;height:112px}.tournament-poster-fallback{background:var(--surface-muted);color:var(--text-secondary);place-items:center;display:grid}.tournament-main-copy{min-width:0}.overview-kicker{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:8px;font-size:11px;font-weight:600;display:flex}.tournament-main-copy h2{text-overflow:ellipsis;white-space:nowrap;margin-bottom:6px;font-size:23px;overflow:hidden}.tournament-main-copy>p{color:var(--text-secondary);font-size:12px}.sync-line{color:var(--text-secondary);align-items:center;gap:7px;margin-top:14px;font-size:11px;display:flex}.sync-dot{background:var(--success);border-radius:50%;flex:none;width:7px;height:7px}.sync-dot.sync-stale{background:var(--warning)}.refresh-button{white-space:nowrap;justify-content:center;align-items:center;gap:7px;width:auto;min-width:44px;height:44px;margin-left:3px;padding:0 10px;font-size:10px;font-weight:600;display:inline-flex}.qualification-summary{border-left:1px solid var(--border);grid-template-columns:auto auto;place-content:center start;gap:4px 18px;min-width:230px;padding:6px 4px 6px 24px;display:grid}.qualification-summary span{color:var(--text-secondary);grid-column:1/-1;font-size:11px;font-weight:500}.qualification-summary strong,.qualification-summary p{font-variant-numeric:tabular-nums;font-size:26px;font-weight:700;line-height:1.1}.qualification-summary p{color:var(--success)}.qualification-summary p.is-pending{color:var(--text-secondary);align-self:end;font-size:12px;font-weight:500}.message-panel,.admin-notice{border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;padding:13px 15px;font-size:13px;display:flex}.message-panel p{color:inherit;margin-top:2px}.message-error,.notice-error{background:var(--danger-soft);color:var(--danger)}.message-warning{background:var(--warning-soft);color:var(--warning);margin-top:14px}.compact-monitor-toolbar{z-index:30;background:var(--background);margin-top:16px;padding:1px 0 10px;position:sticky;top:0}.compact-live-summary{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:22px;padding:11px 14px;display:grid}.compact-monitor-toolbar .structure-filter{margin:8px 0 0}.compact-monitor-toolbar .structure-chips{gap:4px}.compact-live-event{align-items:center;gap:11px;min-width:0;display:flex}.compact-live-image{object-fit:cover;border-radius:7px;flex:none;width:54px;height:42px}.compact-live-image-fallback{background:var(--surface-muted);color:var(--text-muted);place-items:center;display:grid}.compact-live-event>div{gap:2px;min-width:0;display:grid}.compact-live-event strong,.compact-live-event span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-live-event strong{font-size:14px}.compact-live-event>div span,.compact-live-sync{color:var(--text-secondary);font-size:10px}.compact-live-sync{white-space:nowrap;align-items:center;gap:7px;display:flex}.compact-live-qualification{border-left:1px solid var(--border);grid-template-columns:auto auto;align-items:baseline;gap:0 12px;min-width:185px;padding-left:20px;display:grid}.compact-live-qualification span{color:var(--text-secondary);grid-column:1/-1;font-size:9px}.compact-live-qualification strong{font-variant-numeric:tabular-nums;font-size:20px}.compact-live-qualification b{color:var(--success);font-variant-numeric:tabular-nums;font-size:20px}.compact-live-qualification b.is-pending{color:var(--text-secondary);font-size:10px;font-weight:500}.notice-success{background:var(--success-soft);color:var(--success)}.structure-filter{grid-template-columns:180px minmax(0,1fr);align-items:start;gap:20px;margin:28px 0 18px;display:grid}.filter-copy h2{margin-bottom:3px;font-size:15px}.filter-copy span{color:var(--text-secondary);font-size:11px}.structure-chips{flex-wrap:wrap;flex:auto;gap:7px;display:flex}.structure-filter-controls{justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;display:flex}.dashboard-category-filter{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);flex:none;gap:1px;min-width:174px;padding:2px 9px;display:grid}.dashboard-category-filter>span{color:var(--text-muted);font-size:9px;font-weight:600}.dashboard-category-filter select{background:var(--surface);min-width:0;height:20px;min-height:20px;color:var(--text);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;cursor:pointer;font:inherit;border:0;outline:0;padding:0;font-size:10px;font-weight:600}.dashboard-category-filter select:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.structure-chip:disabled{cursor:not-allowed;opacity:.42}.view-switch{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);flex:none;gap:3px;padding:3px;display:inline-flex}.view-switch button{min-height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 9px;font-size:10px;font-weight:600}.view-switch button[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text,#c9d8ff)}.monitor-launch{border:1px solid var(--primary);border-radius:var(--radius-sm);background:var(--primary-soft);min-height:32px;color:var(--primary-selected-text);cursor:pointer;white-space:nowrap;flex:none;align-items:center;gap:7px;padding:5px 11px;font-size:11px;font-weight:700;transition:background-color .16s,border-color .16s;display:inline-flex}.monitor-launch:hover:not(:disabled){border-color:var(--primary-hover);background:#263659}.monitor-launch:focus-visible{box-shadow:var(--focus-ring);outline:0}.monitor-launch:disabled{border-color:var(--border);background:var(--surface);color:var(--text-muted);cursor:not-allowed}html.monitor-open{overflow:hidden}.monitor-stage{z-index:100;background:var(--background);flex-direction:column;display:flex;position:fixed;inset:0}.monitor-stage-bar{border-bottom:1px solid var(--border);background:var(--surface);flex:none;align-items:center;gap:20px;min-height:60px;padding:8px 16px;display:flex}.monitor-stage-event{flex:auto;align-items:center;gap:11px;min-width:0;display:flex}.monitor-stage-event .compact-live-image{width:50px;height:38px}.monitor-stage-event>div{gap:1px;min-width:0;display:grid}.monitor-stage-event strong,.monitor-stage-event>div span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.monitor-stage-event strong{letter-spacing:-.01em;font-size:16px}.monitor-stage-event>div span{color:var(--text-secondary);font-size:11px}.monitor-stage-qualification{border-left:1px solid var(--border);flex:none;align-items:baseline;gap:10px;padding-left:20px;display:flex}.monitor-stage-qualification span{color:var(--text-secondary);font-size:11px}.monitor-stage-qualification strong,.monitor-stage-qualification b{font-variant-numeric:tabular-nums;font-size:20px}.monitor-stage-qualification b{color:var(--success)}.monitor-stage-qualification b.is-pending{color:var(--text-secondary);font-size:11px;font-weight:500}.monitor-stage-actions{border-left:1px solid var(--border);flex:none;align-items:center;gap:8px;padding-left:16px;display:flex}.monitor-stage-sync{color:var(--text-secondary);white-space:nowrap;align-items:center;gap:7px;margin-right:4px;font-size:11px;display:inline-flex}.monitor-stage-button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);min-width:36px;min-height:36px;color:var(--text);cursor:pointer;justify-content:center;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.monitor-stage-button:hover:not(:disabled){border-color:var(--border-strong);background:#2a2f39}.monitor-stage-button:focus-visible{box-shadow:var(--focus-ring);outline:0}.monitor-stage-button:disabled{cursor:progress;opacity:.6}.monitor-stage-body{flex:auto;min-height:0;padding:12px 16px;overflow:hidden auto}.monitor-stage-sizer{overflow:hidden}.monitor-stage-grid.structures-list.is-compact{grid-template-columns:repeat(var(--compact-column-count,3), minmax(0, 1fr));padding-bottom:0}.monitor-stage .compact-structure-sticky-group{position:static}.monitor-stage-empty{color:var(--text-secondary);text-align:center;margin:40px 0}@media (max-width:1100px){.monitor-stage-sync{display:none}}@media (max-width:820px){.monitor-stage-bar{flex-wrap:wrap;gap:10px 14px}.monitor-stage-event{flex-basis:100%}.monitor-stage-qualification{border-left:0;padding-left:0}.monitor-stage-actions{margin-left:auto}.monitor-stage-close span{display:none}}.structure-chip{border:1px solid var(--border);background:var(--surface);cursor:pointer;min-height:38px;color:var(--text-secondary);border-radius:999px;align-items:center;gap:7px;padding:6px 11px 6px 7px;font-size:12px;font-weight:600;display:inline-flex}.structure-chip img{object-fit:cover;border-radius:50%;width:25px;height:25px}.structure-chip:hover,.structure-chip.is-active{border-color:var(--primary);background:var(--primary-soft);color:#c9d8ff}.structure-chip:not(.is-active):not(.structure-chip-all) img{filter:grayscale();opacity:.6}.structure-chip-all{padding-left:11px}.structures-list{flex-direction:column;gap:16px;display:flex}.structures-list.is-compact{width:var(--compact-grid-width,100%);transform:scale(var(--compact-grid-scale,1));transform-origin:0 0;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px;padding-bottom:20px;display:grid}.compact-grid-viewport{min-width:0}.structures-column{align-content:start;gap:10px;min-width:0;display:grid}.structures-list.is-compact>.empty-state{grid-column:1/-1}.player-category-groups{gap:14px;display:grid}.player-category-group+.player-category-group{border-top:1px solid var(--border);padding-top:14px}.player-category-heading{justify-content:space-between;align-items:center;gap:12px;padding:0 14px 9px;display:flex}.player-category-heading strong{font-size:12px}.player-category-heading span{color:var(--text-secondary);font-size:10px}.performance-bars{gap:10px;padding:16px;display:grid}.performance-bar-row{grid-template-columns:minmax(160px,.7fr) minmax(180px,2fr) 100px;align-items:center;gap:14px;display:grid}.performance-bar-player{align-items:center;gap:8px;min-width:0;display:flex}button.performance-bar-player{width:100%}.performance-player-avatar{border:1px solid var(--border-strong);background:var(--surface-muted);object-fit:cover;border-radius:50%;flex:none;width:28px;height:28px}.performance-bar-player strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.performance-bar-track{background:var(--surface-muted);border-radius:999px;height:9px;overflow:hidden}.performance-bar-track span{border-radius:inherit;background:var(--primary);height:100%;display:block}.performance-bar-values{font-variant-numeric:tabular-nums;justify-content:flex-end;align-items:baseline;gap:8px;display:flex}.performance-bar-values strong{font-size:11px}.performance-bar-values span{color:var(--text-secondary);font-size:10px}.chart-empty{color:var(--text-secondary);text-align:center;padding:24px 16px;font-size:12px}.structure-section{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden}.structure-heading{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:70px;padding:12px 18px;display:flex}.structure-heading>div{align-items:center;gap:12px;display:flex}.structure-heading img{object-fit:cover;border-radius:10px;width:42px;height:42px}.structure-heading h2{font-size:17px}.structure-heading>span{color:var(--text-secondary);font-size:11px;font-weight:600}.results-header,.result-row{grid-template-columns:minmax(270px,1fr) 90px 100px 100px minmax(110px,.5fr);align-items:center;gap:12px;display:grid}.results-header{border-bottom:1px solid var(--border);min-height:39px;color:var(--text-secondary);background:#13161b;padding:8px 18px;font-size:10px;font-weight:600}.result-row{border-bottom:1px solid #262b33;min-height:74px;padding:10px 18px}.result-row:last-child{border-bottom:0}.result-row:hover{background:#1b1f26}.player-cell{align-items:center;gap:11px;min-width:0;display:flex}.player-details-trigger{appearance:none;min-height:38px;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.player-details-trigger:hover strong{color:var(--primary-selected-text)}.player-details-trigger-table{align-items:center;gap:11px;width:100%;min-width:0;display:flex}.player-photo-frame{line-height:0;display:inline-block;overflow:hidden}.player-photo-image{object-fit:cover;object-position:50% 18%;width:100%;height:100%;display:block}.player-photo-frame.is-placeholder .player-photo-image{object-position:center;transform:none}.player-avatar,.player-admin-avatar{object-fit:cover;border-radius:50%;flex:none;width:40px;height:40px}.player-avatar-fallback{background:var(--surface-muted);color:var(--text-secondary);place-items:center;font-size:11px;font-weight:700;display:grid}.player-cell-copy{flex-direction:column;min-width:0;display:flex}.player-cell strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.player-cell-copy>span{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.player-cell .name-qualified{color:var(--success)}.player-cell .name-not-qualified{color:var(--danger)}.metric-cell{font-variant-numeric:tabular-nums;font-size:13px}.qualification-tag{border-radius:999px;padding:5px 8px;font-size:10px;font-weight:600;display:inline-flex}.qualification-tag.qualified{background:var(--success-soft);color:var(--success)}.qualification-tag.not-qualified{background:var(--danger-soft);color:var(--danger)}.qualification-tag.pending{background:var(--surface-muted);color:var(--text-secondary)}.structure-section-compact{--cr-heading-height:60px;--cr-logo-size:38px;--cr-structure-font:17px;--cr-header-height:30px;--cr-header-font:11px;--cr-row-height:54px;--cr-row-font:16px;--cr-avatar-size:38px;--cr-name-font:18px;--cr-secondary-font:12px;--cr-columns:minmax(0, 1fr) 66px 56px 66px 92px;--cr-columns-no-qualification:minmax(0, 1fr) 66px 56px 66px;--cr-tag-font:10px;border-radius:var(--radius-md)}.monitor-stage .structure-section-compact{--cr-heading-height:50px;--cr-logo-size:31px;--cr-structure-font:14px;--cr-header-height:25px;--cr-header-font:9px;--cr-row-height:43px;--cr-row-font:12px;--cr-avatar-size:30px;--cr-name-font:15px;--cr-secondary-font:10px;--cr-columns:minmax(0, 1fr) 56px 46px 52px 78px;--cr-columns-no-qualification:minmax(0, 1fr) 56px 46px 52px;--cr-tag-font:9px}@media (min-width:821px){.structure-section-compact{isolation:isolate;overflow:clip}.compact-structure-sticky-group{z-index:2;top:var(--compact-structure-sticky-top,var(--compact-toolbar-height,0px));background:var(--surface);position:sticky}}.structure-section-compact .structure-heading{min-height:var(--cr-heading-height);justify-content:center;padding:8px 11px}.structure-section-compact .structure-heading>div{gap:8px}.structure-section-compact .structure-heading img{width:var(--cr-logo-size);height:var(--cr-logo-size);border-radius:8px}.structure-section-compact .structure-heading h2{font-size:var(--cr-structure-font)}.structure-section-compact .structure-heading>span{font-size:9px}.compact-results-header,.compact-result-row{grid-template-columns:var(--cr-columns);align-items:center;gap:7px;display:grid}.compact-results.without-qualification .compact-results-header,.compact-results.without-qualification .compact-result-row{grid-template-columns:var(--cr-columns-no-qualification)}.compact-results-header>span:not(:first-child),.compact-result-row>[role=cell]:not(.compact-player){text-align:center;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.compact-results-header{min-height:var(--cr-header-height);border-bottom:1px solid var(--border);color:var(--text-muted);font-size:var(--cr-header-font);background:#13161b;padding:4px 10px;font-weight:600}.compact-results-header>span:first-child,.compact-results:not(.without-qualification) .compact-results-header>span:last-child{text-align:center}.compact-result-row{min-height:var(--cr-row-height);font-size:var(--cr-row-font);font-variant-numeric:tabular-nums;border-bottom:1px solid #262b33;padding:5px 10px}.compact-result-row:last-child{border-bottom:0}.compact-result-row:hover{background:#1b1f26}.compact-result-row.is-updated{animation:2.6s ease-out compact-row-updated}@keyframes compact-row-updated{0%,25%{box-shadow:inset 3px 0 0 var(--success);background:#4fc88b33}to{background:0 0;box-shadow:inset 3px 0 #0000}}.compact-player{justify-content:flex-start;align-items:center;gap:7px;min-width:0;display:flex;container-type:inline-size}.compact-player-trigger{justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.compact-player-avatars{width:calc(var(--cr-avatar-size) + (var(--avatar-slots,1) - 1) * (var(--cr-avatar-size) - 10px));flex:none;justify-content:flex-end;align-items:center;display:flex}.compact-player-avatar{width:var(--cr-avatar-size);height:var(--cr-avatar-size);border:1px solid var(--border-strong);background:var(--surface-muted);object-fit:cover;border-radius:50%}.compact-player-avatar+.compact-player-avatar{margin-left:-10px}.compact-player-copy{flex:0 1 var(--player-copy-width,auto);align-items:baseline;gap:5px;min-width:0;display:flex}.compact-player-copy strong,.compact-player-copy>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-player-copy strong{font-size:var(--cr-name-font);flex:0 auto;font-weight:700}.compact-results.adaptive-player-names .compact-player-copy strong{font-size:clamp(11px, 6cqi, var(--cr-name-font))}.compact-player-copy>span{min-width:0;color:var(--text-secondary);font-size:var(--cr-secondary-font);flex:0 auto;font-weight:500}.compact-results.adaptive-player-names .compact-player-copy>span{font-size:clamp(8px, 4cqi, var(--cr-secondary-font))}.compact-player .name-qualified{color:var(--success)}.compact-player .name-not-qualified{color:var(--danger)}.compact-qualification{justify-content:center;display:flex}.compact-qualification .qualification-tag{max-width:100%;font-size:var(--cr-tag-font);white-space:nowrap;justify-content:center;padding:4px 5px}.player-stats-dialog{border:1px solid var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);width:min(700px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--text);padding:0;animation:.18s cubic-bezier(.16,1,.3,1) both player-modal-in;overflow:hidden}.player-stats-dialog::backdrop{background:#06080cc7}.player-stats-panel{grid-template-rows:auto minmax(0,1fr);max-height:calc(100dvh - 34px);display:grid}.player-stats-header{border-bottom:1px solid var(--border);text-align:center;background:#13161b;justify-content:center;align-items:center;gap:20px;min-height:92px;padding:14px 64px;display:flex;position:relative}.player-stats-identity{align-items:center;gap:13px;min-width:0;display:flex}.player-stats-identity>div{text-align:left}.player-stats-avatar{border:1px solid var(--border-strong);background:var(--surface-muted);border-radius:50%;flex:none;width:62px;height:62px}.player-stats-identity>div{min-width:0}.player-stats-identity span,.player-stats-identity p{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.player-stats-identity h2{text-overflow:ellipsis;white-space:nowrap;font-size:22px;overflow:hidden}.player-stats-close{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);cursor:pointer;flex:none;place-items:center;width:42px;height:42px;display:grid;position:absolute;top:14px;right:14px}.player-stats-close:hover{border-color:var(--primary);color:var(--primary-hover)}.player-stats-body{overscroll-behavior:contain;padding:18px;overflow-y:auto}.player-stats-tournament{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding-bottom:14px;display:flex}.player-stats-tournament>div{align-items:center;gap:9px;min-width:0;display:flex}.player-stats-tournament strong{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.player-stats-tournament p,.player-stats-updated{color:var(--text-secondary);font-size:11px}.player-stats-summary{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--background);grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 0;display:grid;overflow:hidden}.player-stats-summary>div{border-right:1px solid var(--border);text-align:center;min-width:0;padding:9px 10px}.player-stats-summary>div:nth-child(4n),.player-stats-summary>div:last-child{border-right:0}.player-stats-summary>div:nth-child(n+5){border-top:1px solid var(--border)}.player-stats-summary dt{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:500;overflow:hidden}.player-stats-summary dd{font-variant-numeric:tabular-nums;margin:1px 0 0;font-size:15px;font-weight:700}.player-stats-teammates{color:var(--text);flex-wrap:wrap;justify-content:center;gap:10px;margin-top:12px;font-size:11px;display:flex}.player-stats-teammates span{color:var(--text-secondary);font-weight:600}.player-games-section{margin-top:18px}.player-games-columns{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:start;gap:10px;display:grid}.player-games-heading{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:9px;margin-bottom:10px;display:flex}.player-games-heading>div{align-items:baseline;gap:9px;display:flex}.player-games-heading h3{font-size:14px}.player-games-heading span,.player-games-heading p{color:var(--text-muted);font-size:9px}.player-games-table{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);overflow:hidden}.player-games-row{border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:8px;min-height:34px;padding:5px 11px;font-size:11px;display:grid}.player-games-row:last-child{border-bottom:0}.player-games-table-header{min-height:30px;color:var(--text-secondary);background:#13161b;font-size:10px;font-weight:600}.player-stats-warning,.player-stats-error,.player-games-empty{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--background);padding:16px}.player-stats-warning{border-color:var(--warning);color:var(--warning);margin-top:12px;font-size:11px}.player-stats-error,.player-games-empty{justify-items:start;gap:6px;display:grid}.player-stats-error p,.player-games-empty p{max-width:65ch;color:var(--text-secondary);font-size:11px}.player-stats-error .button{margin-top:5px}.player-stats-loading{min-height:300px;color:var(--text-secondary);align-content:center;justify-items:center;gap:9px;display:grid}.player-stats-loading span{border-radius:var(--radius-sm);background:var(--surface-muted);width:min(460px,80%);height:16px;animation:.9s ease-in-out infinite alternate player-stats-pulse}.player-stats-loading span:nth-child(2){width:min(380px,66%)}.player-stats-loading span:nth-child(3){width:min(300px,52%)}.player-stats-loading strong{margin-top:8px;font-size:11px}.player-stats-updated{text-align:center;margin-top:12px}@keyframes player-modal-in{0%{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes player-stats-pulse{0%{opacity:.45}to{opacity:1}}.empty-state{border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:200px;padding:32px;display:flex}.empty-state p{max-width:56ch;color:var(--text-secondary);margin:5px 0 16px;font-size:12px}.dashboard-skeleton{border-radius:var(--radius-lg);background:linear-gradient(90deg,#1b1f26 25%,#272c35 45%,#1b1f26 65%) 0 0/220% 100%;animation:1.3s ease-in-out infinite skeleton}.hero-skeleton{height:120px;margin-bottom:20px}.filters-skeleton{width:72%;height:48px;margin:28px 0 18px}.table-skeleton{height:430px}@keyframes skeleton{to{background-position-x:-220%}}@keyframes spin{to{transform:rotate(360deg)}}.is-spinning{animation:.9s linear infinite spin}.admin-shell{width:min(1280px,100% - 40px)}.admin-titlebar{align-items:center;margin-bottom:20px}.api-status{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:11px 14px;font-size:11px;display:grid}.api-status>span{background:var(--danger);border-radius:50%;width:8px;height:8px}.api-status.is-ok>span{background:var(--success)}.api-status p{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.api-status time{color:var(--text-muted)}.admin-notice{z-index:30;margin-top:14px;position:sticky;top:76px;box-shadow:0 7px 24px #161d291f}.admin-tabs{border-bottom:1px solid var(--border);gap:4px;margin-top:24px;display:flex;overflow-x:auto}.admin-tabs button{cursor:pointer;min-height:44px;color:var(--text-secondary);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 14px;font-size:13px;font-weight:600}.admin-tabs button:hover,.admin-tabs button.is-active{color:var(--primary)}.admin-tabs button.is-active{border-bottom-color:var(--primary)}.archive-toggle{color:var(--text-secondary);align-items:center;gap:8px;margin:18px 0 12px;font-size:11px;font-weight:500;display:inline-flex}.archive-toggle input,.switch-field input{width:16px;min-height:16px;accent-color:var(--primary);box-shadow:none}.admin-section{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);padding:20px}.admin-section-heading{align-items:center;margin-bottom:18px}.admin-section-heading h2{margin-bottom:4px;font-size:19px}.admin-section-heading>span{color:var(--text-secondary);font-size:11px;font-weight:600}.create-form,.settings-form{border-radius:var(--radius-md);background:var(--surface-muted);grid-template-columns:minmax(180px,1fr) minmax(190px,1fr) auto;align-items:end;gap:12px;margin-bottom:20px;padding:14px;display:grid}.create-player-form{grid-template-columns:repeat(5,minmax(130px,1fr)) auto}.create-form label,.admin-row label,.player-editor label,.settings-form label,.player-tools label,.qualification-editor label,.login-form label{flex-direction:column;gap:5px;min-width:0;display:flex}.create-form label>span,.admin-row label>span,.player-editor label>span,.settings-form label>span,.player-tools label>span,.qualification-editor label>span,.login-form label>span{color:var(--text-secondary);font-size:10px;font-weight:600}.admin-list{flex-direction:column;display:flex}.admin-row{border-top:1px solid var(--border);grid-template-columns:48px minmax(160px,1fr) 80px minmax(180px,1fr) 90px auto;align-items:end;gap:12px;padding:14px 0;display:grid}.admin-row:first-child{border-top:0}.admin-row.is-archived,.player-editor.is-archived{opacity:.65}.admin-logo{object-fit:cover;border-radius:10px;align-self:center;width:48px;height:48px}.switch-field{align-self:center}.switch-field>span{font-size:11px!important}.switch-field{align-items:center;flex-direction:row!important;gap:7px!important}.row-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.icon-action{border-radius:var(--radius-sm);cursor:pointer;width:40px;height:40px;color:var(--text-secondary);background:0 0;border:0;place-items:center;display:grid}.icon-action:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.player-tools{grid-template-columns:minmax(200px,1fr) 220px 180px;gap:12px;margin-bottom:12px;display:grid}.player-admin-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.player-editor{border:1px solid var(--border);border-radius:var(--radius-md);background:#14171c}.player-editor summary{border-radius:var(--radius-md);cursor:pointer;grid-template-columns:40px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px;list-style:none;display:grid}.player-editor summary::-webkit-details-marker{display:none}.player-editor summary:hover{background:var(--surface-muted)}.player-editor summary>span:nth-child(2){flex-direction:column;min-width:0;display:flex}.player-editor summary strong,.player-editor summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-editor summary strong{font-size:12px}.player-editor summary small{color:var(--text-secondary);font-size:9px}.visibility-label{color:var(--text-secondary);font-size:10px;font-weight:600}.visibility-label.is-visible{color:var(--success)}.category-badge{background:var(--surface-muted);min-height:24px;color:var(--text-secondary);border-radius:999px;align-items:center;padding:4px 8px;font-size:9px;font-weight:600;display:inline-flex}.category-badge.category-academy{background:var(--primary-soft);color:var(--primary-selected-text,#c9d8ff)}.player-editor>form{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.player-editor .row-actions{grid-column:1/-1}.settings-form{background:0 0;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:0;padding:0}.settings-form .wide-field,.settings-form>.button{grid-column:1/-1}.settings-form small{color:var(--text-muted);font-size:10px}.settings-form>.button{width:fit-content}.qualification-admin-list{flex-direction:column;gap:8px;display:flex}.qualification-editor{border-top:1px solid var(--border);grid-template-columns:minmax(260px,1fr) 110px 120px auto;align-items:end;gap:12px;padding:12px 0;display:grid}.qualification-editor:first-child{border-top:0}.qualification-editor>div{flex-direction:column;min-width:0;display:flex}.qualification-editor>div strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.qualification-editor>div span,.qualification-editor>div small{color:var(--text-secondary);font-size:10px}.header-navigation{scrollbar-width:none;align-items:center;gap:4px;min-width:0;display:flex;overflow-x:auto}.header-navigation::-webkit-scrollbar{display:none}.header-navigation a{border-radius:var(--radius-sm);min-height:40px;color:var(--text-secondary);white-space:nowrap;flex:none;align-items:center;gap:7px;padding:8px 10px;font-size:12px;font-weight:600;display:inline-flex}.header-navigation a:hover{background:var(--surface-muted);color:var(--text)}.header-navigation a[aria-current=page]{background:var(--primary-soft);color:var(--primary-selected-text)}.live-countdown{border:1px solid var(--border-strong);border-radius:var(--radius-pill);background:var(--surface-muted);color:var(--text-secondary);white-space:nowrap;align-items:center;gap:6px;padding:4px 10px;font-size:10px;font-weight:600;display:inline-flex}.live-countdown strong{color:var(--text);font-variant-numeric:tabular-nums;letter-spacing:.02em;font-size:13px}.live-countdown.is-ending{border-color:var(--warning);background:var(--warning-soft);color:var(--warning)}.live-countdown.is-ending strong{color:var(--warning)}.stats-shell{width:min(1440px,100% - 40px);margin:0 auto;padding:32px 0 72px}.period-switch,.metric-switch{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);gap:3px;padding:3px;display:inline-flex}.period-switch button,.metric-switch button{min-height:38px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px 10px;font-size:10px;font-weight:600}.period-switch button[aria-pressed=true],.metric-switch button[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text,#c9d8ff)}.stats-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.stats-kpis article,.stats-leaders article,.stats-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.stats-kpis article{align-content:space-between;gap:12px;min-height:92px;padding:14px;display:grid}.stats-kpis span,.stats-leaders span{color:var(--text-secondary);font-size:10px;font-weight:600}.stats-kpis strong{font-variant-numeric:tabular-nums;font-size:24px}.stats-leaders{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;display:grid}.stats-leaders article{align-content:center;gap:7px;min-height:126px;padding:18px;display:grid}.stats-leaders strong{text-overflow:ellipsis;white-space:nowrap;font-size:18px;overflow:hidden}.stats-leaders p{color:var(--text-secondary);font-size:11px}.stats-panel{margin-top:14px;overflow:hidden}.stats-loading{border-radius:var(--radius-md);background:linear-gradient(90deg,#1b1f26 25%,#272c35 45%,#1b1f26 65%) 0 0/220% 100%;min-height:280px;margin-top:14px;animation:1.3s linear infinite skeleton}.structure-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.structure-comparison article{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);padding:13px}.comparison-identity{align-items:center;gap:10px;display:flex}.comparison-position{width:24px;color:var(--text-muted);font-size:10px;font-weight:700}.comparison-identity img{object-fit:cover;border-radius:8px;width:34px;height:34px}.comparison-identity div{min-width:0;display:grid}.comparison-identity strong{font-size:12px}.comparison-identity div span{color:var(--text-secondary);font-size:9px}.comparison-bar{background:var(--surface-muted);border-radius:999px;height:7px;margin:12px 0;overflow:hidden}.comparison-bar span{border-radius:inherit;background:var(--primary);height:100%;display:block}.structure-comparison dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.structure-comparison dl div{gap:2px;display:grid}.structure-comparison dt{color:var(--text-muted);font-size:8px}.structure-comparison dd{font-variant-numeric:tabular-nums;margin:0;font-size:11px;font-weight:600}.stats-table-header,.stats-table-row{grid-template-columns:minmax(220px,1.6fr) repeat(7,minmax(76px,.55fr));align-items:center;gap:10px;padding:10px 14px;display:grid}.stats-table-header{border-bottom:1px solid var(--border);min-height:42px;color:var(--text-muted);font-size:9px;font-weight:600}.stats-table-row{border-bottom:1px solid var(--border);font-variant-numeric:tabular-nums;min-height:58px;font-size:11px}.stats-table-row:last-child{border-bottom:0}.stats-player{grid-template-columns:22px 34px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.stats-rank{color:var(--text-muted);font-size:9px;font-weight:700}.stats-player-avatar{border:1px solid var(--border-strong);background:var(--surface-muted);object-fit:cover;border-radius:50%;width:34px;height:34px}.stats-player div{min-width:0;display:grid}.stats-player strong,.stats-player div span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stats-player strong{font-size:11px}.stats-player div span{color:var(--text-secondary);font-size:9px}.stats-two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.frag-list{margin:0;padding:8px 16px 14px;list-style:none;display:grid}.frag-list li{border-bottom:1px solid var(--border);grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:10px 0;display:grid}.frag-list li:last-child{border-bottom:0}.frag-list li>span{color:var(--primary-hover);text-align:center;font-size:18px;font-weight:700}.frag-list div,.tournament-history a>div{min-width:0;display:grid}.frag-list strong,.tournament-history strong{font-size:11px}.frag-list small,.tournament-history div span{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.tournament-history{padding:8px 16px 14px;display:grid}.tournament-history a{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0;display:grid}.tournament-history a:last-child{border-bottom:0}.tournament-history a>span{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:9px}.stats-empty{margin-top:14px}.stats-season-board{width:min(1600px,100% - 40px);padding-top:24px}.stats-live-state{min-height:34px;color:var(--text-secondary);white-space:nowrap;align-items:center;gap:7px;margin-left:auto;font-size:9px;font-weight:600;display:inline-flex}.stats-live-state i{background:var(--success);border-radius:50%;width:7px;height:7px}.stats-live-state.is-loading i{background:var(--warning);animation:1s ease-in-out infinite pulse-dot}.stats-live-state.is-error{color:var(--danger)}.stats-live-state.is-error i{background:var(--danger)}.stats-import-empty{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:150px;margin-top:18px;padding:26px;display:grid}.stats-import-empty svg{color:var(--primary)}.stats-import-empty div{gap:4px;display:grid}.stats-import-empty p{color:var(--text-secondary);font-size:11px}.stats-import-empty>span{color:var(--primary-hover);font-size:26px;font-weight:700}.stats-trend-stage{border-right:1px solid var(--border);min-width:0}.chart-controls{flex-shrink:0;align-items:flex-end;gap:10px;display:flex}.chart-control-block{gap:5px;display:grid}.chart-control-block>span{color:var(--text-muted);font-size:9px;font-weight:600}.stats-ranking-section,.stats-player-lab,.stats-lower-grid{margin-top:28px}.structure-race-table{border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.structure-race-head,.structure-race-row{grid-template-columns:minmax(240px,1.55fr) minmax(110px,.7fr) repeat(7,minmax(76px,.55fr));align-items:center;gap:10px;display:grid}.structure-race-head{min-height:40px;color:var(--text-muted);font-size:8px;font-weight:600}.structure-race-head>span:first-child{padding-left:4px}.structure-sort{min-height:30px;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:4px 5px;font-size:8px;font-weight:600;display:inline-flex}.structure-sort:hover{background:var(--surface-muted);color:var(--text)}.structure-sort i{color:var(--text-muted);font-size:7px;font-style:normal}.structure-sort[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text)}.structure-sort[aria-pressed=true] i{color:inherit}.structure-race-row{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;min-height:62px;font-size:10px;position:relative}.structure-race-row:hover,.structure-race-row[data-selected=true]{background:var(--primary-soft)}.structure-race-row[data-compared=true],.player-ranking-row[data-compared=true]{background:var(--surface-muted)}.structure-race-name{grid-template-columns:26px 26px minmax(0,1fr);align-items:center;gap:8px;min-width:0;display:grid}.structure-race-name>b{color:var(--text-muted);text-align:right;font-size:10px}.structure-race-open{border-radius:var(--radius-sm);min-width:0;min-height:46px;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-content:center;gap:2px;padding:4px 6px;display:grid}.structure-race-open:hover .stats-structure-identity strong{color:var(--primary-hover)}.structure-race-open>small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.compare-check{cursor:pointer;place-items:center;width:22px;height:22px;display:grid}.compare-check input{opacity:0;width:1px;height:1px;min-height:0;position:absolute}.compare-check>span[aria-hidden]{border:1.5px solid var(--border-strong);background:var(--background);border-radius:5px;width:17px;height:17px;transition:background .14s,border-color .14s;display:block}.compare-check:hover>span[aria-hidden]{border-color:var(--primary)}.compare-check input:checked+span[aria-hidden]{border-color:var(--compare-color,var(--primary));background:var(--compare-color,var(--primary)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1115' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat}.compare-check input:focus-visible+span[aria-hidden]{box-shadow:var(--focus-ring)}.compare-check input:disabled+span[aria-hidden]{cursor:not-allowed;opacity:.4}.stats-structure-identity{align-items:center;gap:9px;min-width:0;display:flex}.stats-structure-identity img{object-fit:cover;border-radius:8px;width:32px;height:32px}.stats-structure-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.structure-race-row>span:nth-child(2){gap:1px;display:grid}.structure-race-row>span:nth-child(2) strong{font-size:13px}.structure-race-row>span:nth-child(2) em{color:var(--text-muted);font-size:8px;font-style:normal}.trend-up{color:var(--success)!important}.trend-down{color:var(--danger)!important}.player-structure-tabs{border-top:1px solid var(--border);border-bottom:1px solid var(--border);gap:7px;padding:9px 0;display:flex;overflow-x:auto}.player-structure-tabs button{border:1px solid var(--border);border-radius:var(--radius-pill);min-height:38px;color:var(--text-secondary);cursor:pointer;background:0 0;flex:none;align-items:center;gap:7px;padding:6px 10px;font-size:9px;font-weight:600;display:inline-flex}.player-structure-tabs button[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft);color:var(--text)}.player-structure-tabs img{object-fit:cover;border-radius:6px;width:24px;height:24px}.player-lab-grid{border-bottom:1px solid var(--border);grid-template-columns:minmax(320px,.72fr) minmax(0,1.6fr);min-height:580px;display:grid}.player-ranking-list{border-right:1px solid var(--border);padding-right:14px}.player-ranking-head,.player-ranking-row{grid-template-columns:minmax(160px, 1fr) repeat(var(--player-columns,3), minmax(48px, 60px));align-items:center;gap:8px;display:grid}.player-ranking-head{min-height:38px;color:var(--text-muted);font-size:8px;font-weight:600}.player-ranking-head>span:not(:first-child),.player-ranking-row>span:not(.stats-player){text-align:right}.player-ranking-row>span[data-sorted]{color:var(--primary-hover);font-size:12px;font-weight:700}.player-ranking-head>span:first-child{padding-left:4px}.player-ranking-row{border-top:1px solid var(--border);font-variant-numeric:tabular-nums;min-height:58px;font-size:10px;position:relative}.player-ranking-row:hover,.player-ranking-row[data-selected=true]{background:var(--primary-soft)}.player-ranking-list .stats-player{grid-template-columns:24px 18px minmax(0,1fr);align-items:center;gap:6px;min-width:0;display:grid}.player-ranking-list .stats-player>b{color:var(--text-muted);text-align:right;font-size:9px}.player-ranking-open{border-radius:var(--radius-sm);min-width:0;min-height:46px;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;padding:4px 6px;display:grid}.player-ranking-open:hover strong{color:var(--primary-hover)}.player-ranking-list .stats-player img,.player-ranking-list .stats-player i{border:1px solid var(--border);background:var(--surface-muted);object-fit:cover;border-radius:50%;place-content:center;width:34px;height:34px;font-size:10px;font-style:normal;display:grid}.player-ranking-open>span{min-width:0;display:grid}.player-ranking-list .stats-player strong,.player-ranking-list .stats-player small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-ranking-list .stats-player strong{font-size:11px}.player-ranking-list .stats-player small{color:var(--text-secondary);font-size:8px}.stats-list-empty{color:var(--text-secondary);padding:24px 8px;font-size:10px}.player-performance-file{min-width:0;padding:20px 0 0 22px}.player-performance-file>header{justify-content:space-between;align-items:center;gap:20px;display:flex}.player-file-identity{align-items:center;gap:13px;min-width:0;display:flex}.player-file-identity>img,.player-file-identity>span{border:1px solid var(--border);background:var(--surface-muted);object-fit:cover;border-radius:50%;flex:none;place-content:center;width:52px;height:52px;font-weight:700;display:grid}.player-file-identity div{min-width:0}.player-file-identity small,.player-file-identity p,.player-file-score span,.player-file-score small{color:var(--text-secondary);font-size:9px}.player-file-identity h3{margin:2px 0;font-size:21px}.player-file-score{text-align:right;min-width:100px;display:grid}.player-file-score strong{font-variant-numeric:tabular-nums;font-size:30px}.player-file-score b{color:var(--primary-hover);font-size:10px}.player-file-metrics{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:repeat(6,minmax(0,1fr));margin:18px 0 4px;display:grid}.player-file-metrics div{border-left:1px solid var(--border);gap:3px;padding:10px;display:grid}.player-file-metrics div:first-child{border-left:0}.player-file-metrics dt{color:var(--text-muted);font-size:8px}.player-file-metrics dd{font-variant-numeric:tabular-nums;margin:0;font-size:11px;font-weight:600}.player-trend-heading{border-top:1px solid var(--border);justify-content:space-between;align-items:flex-end;gap:16px;padding:14px 0 4px;display:flex}.player-trend-heading h4{font-size:13px}.player-trend-heading p{max-width:68ch;color:var(--text-secondary);margin-top:3px;font-size:9px}.player-history-table{border-top:1px solid var(--border)}.player-history-table>div,.player-history-table>a{grid-template-columns:minmax(230px,1fr) repeat(4,minmax(66px,.35fr));align-items:center;gap:8px;display:grid}.player-history-table>div{min-height:34px;color:var(--text-muted);font-size:8px;font-weight:600}.player-history-table>a{border-top:1px solid var(--border);min-height:52px;color:var(--text);font-variant-numeric:tabular-nums;font-size:9px}.player-history-table>a:hover{background:var(--primary-soft)}.player-history-table>a>span:first-child{min-width:0;display:grid}.player-history-table strong,.player-history-table small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-history-table small{color:var(--text-secondary);font-size:8px}.stats-lower-grid{grid-template-columns:minmax(320px,.75fr) minmax(0,1.25fr);gap:28px;display:grid}.stats-family-review,.stats-frag-review{border-top:1px solid var(--border)}.stats-family-review>div:not(.stats-section-head){border-top:1px solid var(--border);grid-template-columns:minmax(160px,1fr) 72px minmax(140px,.8fr) minmax(100px,.65fr);align-items:center;gap:12px;min-height:62px;display:grid}.stats-family-review>div>span,.stats-family-review>div>p,.stats-family-review>div>b{font-size:9px}.stats-family-review>div>p{color:var(--text-secondary)}.stats-family-review>div>strong{font-size:17px}.stats-family-review>div>strong small{color:var(--text-secondary);font-size:8px}.stats-frag-review ol{margin:0;padding:0;list-style:none}.stats-frag-review li{border-top:1px solid var(--border);grid-template-columns:24px minmax(0,1fr) 76px;align-items:center;gap:9px;min-height:58px;display:grid}.stats-frag-review li>b{color:var(--text-muted);font-size:9px}.stats-frag-review li>span,.stats-frag-review li>div{min-width:0;display:grid}.stats-frag-review li>div{text-align:right}.stats-frag-review li strong,.stats-frag-review li small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stats-frag-review li small{color:var(--text-secondary);font-size:8px}.metric-guide{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);margin:16px 0 4px}.metric-guide>summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:4px 12px;min-height:52px;padding:15px 18px;display:flex}.metric-guide>summary>span{color:var(--text);font-size:12px;font-weight:700}.metric-guide>summary>small{color:var(--text-secondary);font-size:10px}.metric-guide-body{border-top:1px solid var(--border);padding:16px 18px 18px}.metric-guide-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;display:grid}.metric-guide-grid article{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);align-content:start;gap:4px;padding:12px;display:grid}.metric-guide-grid strong em{color:var(--text-muted);margin-left:5px;font-size:9px;font-style:normal;font-weight:600}.metric-guide-grid p{color:var(--text-secondary);font-size:10px;line-height:1.5}.metric-guide-grid small{color:var(--text-muted);font-size:9px;line-height:1.55}.metric-guide-direction{border-radius:var(--radius-pill);background:var(--primary-soft);width:fit-content;color:var(--primary-selected-text);margin-top:3px;padding:4px 8px;font-size:8px;font-weight:600}.metric-guide-direction.is-lower{background:var(--surface-muted);color:var(--text-secondary)}.metric-picker{flex:260px;gap:5px;min-width:0;display:grid}.metric-picker>label{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:600}.metric-picker>select{min-height:40px;font-size:11px;font-weight:600}.metric-picker>p{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;font-size:10px;line-height:1.5;display:flex}.metric-picker-direction{border-radius:var(--radius-pill);background:var(--primary-soft);color:var(--primary-selected-text);white-space:nowrap;padding:3px 8px;font-size:8px;font-weight:600}.metric-picker-direction.is-lower{background:var(--surface-muted);color:var(--text-secondary)}.ranking-controls{border-bottom:1px solid var(--border);gap:12px;padding:14px 16px 15px;display:grid}.ranking-controls-row{flex-wrap:wrap;gap:12px 18px;display:flex}.ranking-control{flex:220px;gap:5px;min-width:0;display:grid}.ranking-control>label{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:600}.ranking-control select{min-height:40px;font-size:11px;font-weight:600}.ranking-threshold{align-items:center;gap:10px;min-height:40px;display:flex}.ranking-threshold input[type=range]{min-width:0;accent-color:var(--primary);flex:auto}.ranking-threshold output{justify-items:center;gap:1px;min-width:54px;display:grid}.ranking-threshold output>strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:15px}.ranking-threshold output>small{color:var(--text-muted);white-space:nowrap;font-size:8px}.ranking-controls-hint{color:var(--text-muted);margin:0;font-size:10px;line-height:1.5}.ranking-columns{border:0;margin:0;padding:0}.ranking-columns>legend{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;align-items:baseline;gap:6px;margin-bottom:7px;padding:0;font-size:9px;font-weight:600;display:flex}.ranking-columns>legend>span{color:var(--text-secondary);font-variant-numeric:tabular-nums;letter-spacing:0}.ranking-columns>div{flex-wrap:wrap;gap:5px;display:flex}.ranking-columns button{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--background);min-height:30px;color:var(--text-secondary);cursor:pointer;font:inherit;white-space:nowrap;padding:0 12px;font-size:10px;font-weight:600}.ranking-columns button:hover:not(:disabled){border-color:var(--primary);color:var(--text)}.ranking-columns button[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text);border-color:#0000}.ranking-columns button:disabled{cursor:not-allowed;opacity:.45}.ranking-columns button[data-locked]{cursor:default;opacity:1}.metric-guide-notes{border-top:1px solid var(--border);gap:7px;margin-top:14px;padding-top:13px;display:grid}.metric-guide-notes p{color:var(--text-secondary);font-size:10px;line-height:1.55}.metric-guide-notes strong{color:var(--text)}.stats-comparison-section{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);margin-top:26px;padding:0 18px 18px}.cmp-board{padding-top:14px}.cmp-subjects{flex-wrap:wrap;gap:8px;display:flex}.cmp-subject{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--background);align-items:center;gap:9px;min-width:0;padding:7px 9px;display:inline-flex}.cmp-subject:before{background:var(--cmp-color,var(--primary));content:"";border-radius:1px;flex:none;width:14px;height:2px}.cmp-subject>img,.cmp-subject>i{border:1px solid var(--border);background:var(--surface-muted);object-fit:cover;border-radius:7px;flex:none;place-content:center;width:30px;height:30px;font-size:11px;font-style:normal;font-weight:700;display:grid}.cmp-subject>span{min-width:0;display:grid}.cmp-subject strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.cmp-subject small{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.cmp-subject button{background:var(--surface-muted);width:26px;height:26px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.cmp-subject button:hover{background:var(--danger-soft);color:var(--danger)}.cmp-body{grid-template-columns:380px minmax(0,1fr);align-items:start;gap:24px;margin-top:16px;display:grid}.cmp-radar{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);padding:10px 10px 12px}.cmp-radar svg{width:100%;height:auto}.cmp-radar p{color:var(--text-muted);text-align:center;font-size:9px;line-height:1.5}.cmp-radar-ring{fill:none;stroke:var(--border);stroke-width:1px}.cmp-radar-axis{stroke:var(--border);stroke-width:1px}.cmp-radar-label{fill:var(--text-secondary);font-family:var(--font-poppins), Arial, sans-serif;font-size:10px;font-weight:600}.cmp-metrics{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;display:grid}.cmp-metric{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);padding:11px 12px}.cmp-metric header{gap:2px;margin-bottom:9px;display:grid}.cmp-metric header strong{font-size:10px}.cmp-metric header span{color:var(--text-muted);font-size:9px;line-height:1.45}.cmp-metric-rows{gap:6px;display:grid}.cmp-metric-row{grid-template-columns:minmax(60px,.8fr) minmax(0,1.4fr) 66px;align-items:center;gap:8px;display:grid}.cmp-metric-name{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.cmp-metric-bar{border-radius:var(--radius-pill);background:var(--surface-muted);height:7px;display:block;position:relative;overflow:hidden}.cmp-metric-bar i{border-radius:inherit;min-width:2px;height:100%;display:block;position:absolute;top:0}.cmp-metric-bar.is-diverging:before{background:var(--border-strong);content:"";width:1px;position:absolute;top:0;bottom:0;left:50%}.cmp-metric-row b{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-size:10px}.cmp-metric-row.is-best .cmp-metric-name,.cmp-metric-row.is-best b{color:var(--text);font-weight:700}.cmp-metric-row.is-best b:after{color:var(--primary-hover);content:"▲";margin-left:4px;font-size:7px}.cmp-footnote{color:var(--text-muted);margin-top:12px;font-size:9px;line-height:1.5}@media (max-width:1180px){.structure-race-head,.structure-race-row{grid-template-columns:minmax(200px,1.5fr) minmax(100px,.7fr) repeat(5,minmax(68px,.5fr))}.structure-race-head>:nth-child(8),.structure-race-head>:nth-child(9),.structure-race-row>span:nth-child(8),.structure-race-row>span:nth-child(9){display:none}.player-file-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.player-file-metrics div:nth-child(4){border-left:0}}@media (max-width:920px){.player-lab-grid,.stats-lower-grid,.cmp-body{grid-template-columns:1fr}.cmp-radar{width:min(100%,420px);margin:0 auto}.stats-trend-stage,.player-ranking-list{border-right:0}.player-ranking-list{padding-right:0}.player-performance-file{border-top:1px solid var(--border);padding-left:0}}@media (max-width:760px){.structure-race-head{display:none}.structure-race-table{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.structure-race-row{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0;padding:12px;display:grid}.structure-race-row>span{gap:2px;display:grid}.structure-race-row>span:before{color:var(--text-muted);content:attr(data-label);font-size:8px}.structure-race-name{grid-column:1/-1}.structure-race-name:before{display:none}.structure-race-row>span:nth-child(8),.structure-race-row>span:nth-child(9){display:grid}.player-history-table>div{display:none}.player-history-table>a{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 0}.player-history-table>a>span:first-child{grid-column:1/-1}.player-history-table>a>span:not(:first-child){gap:2px;display:grid}.player-history-table>a>span:not(:first-child):before{color:var(--text-muted);content:attr(data-label);font-size:8px}}@media (max-width:560px){.stats-season-board{width:min(100% - 20px,100%);padding-top:18px}.stats-comparison-section{padding:0 12px 14px}.cmp-metric-row{grid-template-columns:minmax(56px,.9fr) minmax(0,1fr) 58px}.stats-live-state{width:100%;margin-left:0}.stats-import-empty{grid-template-columns:1fr}.stats-import-empty>span{font-size:20px}.chart-controls{flex-direction:column;align-items:stretch;width:100%}.chart-control-block,.chart-control-block .period-switch,.chart-control-block .metric-switch{width:100%}.chart-control-block .period-switch,.chart-control-block .metric-switch{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.stats-season-board .metric-switch{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.player-trend-heading{flex-direction:column;align-items:stretch}.structure-race-table{grid-template-columns:1fr}.player-ranking-head,.player-ranking-row{grid-template-columns:minmax(150px,1fr) 50px 58px}.player-ranking-head span:last-child,.player-ranking-row>span:last-child{display:none}.player-performance-file>header{flex-direction:column;align-items:flex-start}.player-file-score{text-align:left}.player-file-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.player-file-metrics div:nth-child(odd){border-left:0}.player-file-metrics div:nth-child(4){border-left:1px solid var(--border)}.stats-family-review>div:not(.stats-section-head){grid-template-columns:1fr auto;gap:5px 12px;padding:10px 0}.stats-family-review>div>p,.stats-family-review>div>b{grid-column:1/-1}}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);flex-direction:column;gap:28px;width:min(420px,100%);padding:32px;display:flex}.login-brand{width:fit-content}.login-panel h1{margin-bottom:6px;font-size:25px}.login-panel p{color:var(--text-secondary);font-size:12px}.login-form{flex-direction:column;gap:14px;display:flex}.form-error{border-radius:var(--radius-sm);background:var(--danger-soft);padding:9px 10px;color:var(--danger)!important}.text-link{width:fit-content;color:var(--primary);font-size:12px;font-weight:600}@media (max-width:1180px){.structures-list.is-compact{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1050px){.finder-controls{grid-template-columns:minmax(280px,1fr) 170px 170px}.tournament-overview{grid-template-columns:150px minmax(0,1fr)}.tournament-poster{width:150px;height:100px}.qualification-summary{border-top:1px solid var(--border);border-left:0;grid-column:1/-1;padding:16px 0 0}.compact-live-summary{grid-template-columns:minmax(0,1fr) auto}.compact-live-qualification{border-top:1px solid var(--border);border-left:0;grid-column:1/-1;grid-template-columns:auto 1fr auto;padding-top:9px;padding-left:0}.compact-live-qualification span{grid-column:auto}.create-player-form{grid-template-columns:repeat(2,minmax(0,1fr))}.create-player-form .button{grid-column:1/-1;width:fit-content}.admin-row{grid-template-columns:48px minmax(160px,1fr) 80px minmax(170px,1fr)}.admin-row .switch-field,.admin-row .row-actions{grid-column:span 2}.admin-row .row-actions{justify-content:flex-start}.stats-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-table-header,.stats-table-row{grid-template-columns:minmax(190px,1.4fr) repeat(7,minmax(68px,.55fr))}}@media (max-width:820px){.header-inner,.page-shell,.admin-shell,.stats-shell{width:min(100% - 24px,100%)}.page-shell,.admin-shell,.stats-shell{padding-top:22px}.finder-heading,.planning-heading,.admin-titlebar,.admin-section-heading{flex-direction:column;align-items:flex-start}.planning-navigation{justify-content:flex-start;width:100%}.structures-list.is-compact{scrollbar-gutter:auto;grid-template-columns:1fr;max-height:none;padding-bottom:0;overflow-y:visible}.compact-monitor-toolbar{padding-bottom:0;position:static}.compact-monitor-toolbar .structure-filter{margin-top:20px}.compact-live-summary{grid-template-columns:1fr;gap:10px}.compact-live-sync{white-space:normal}.compact-live-qualification{grid-column:auto}.finder-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-event-selector{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.direct-selector-copy{grid-column:1/-1;min-height:auto}.search-combobox{grid-column:1/-1}.tournament-overview{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:14px}.tournament-poster{width:110px;height:92px}.tournament-main-copy h2{font-size:18px}.structure-filter{grid-template-columns:1fr;gap:10px}.structure-filter-controls{flex-direction:column}.dashboard-category-filter,.view-switch,.dashboard-category-filter select{width:100%}.performance-bar-row{grid-template-columns:minmax(130px,.8fr) minmax(140px,1.5fr) 88px;gap:10px}.results-header{display:none}.result-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;padding:13px 14px}.player-stats-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.player-stats-panel{max-height:calc(100dvh - 26px)}.player-stats-body{padding:14px}.player-stats-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.player-stats-summary>div:nth-child(4n){border-right:1px solid var(--border)}.player-stats-summary>div:nth-child(3n){border-right:0}.player-stats-summary>div:nth-child(n+4){border-top:1px solid var(--border)}.player-cell{grid-column:1/-1}.metric-cell,.qualification-cell{flex-direction:column;gap:2px;display:flex}.metric-cell:before,.qualification-cell:before{color:var(--text-muted);content:attr(data-label);font-size:9px;font-weight:500}.player-admin-list{grid-template-columns:1fr}.admin-row{grid-template-columns:48px minmax(0,1fr)}.admin-row>label,.admin-row .switch-field,.admin-row .row-actions{grid-column:1/-1}.admin-row .admin-name-field{grid-column:2}.qualification-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.qualification-editor>div{grid-column:1/-1}.qualification-editor .button{grid-column:1/-1;width:fit-content}.stats-leaders,.structure-comparison,.stats-two-columns{grid-template-columns:1fr}.stats-table-header{display:none}.stats-table{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.stats-table-row{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;display:grid}.stats-player{grid-column:1/-1}.stats-table-row>span:not(.stats-rank){gap:2px;display:grid}.stats-table-row>span:not(.stats-rank):before{color:var(--text-muted);content:attr(data-label);font-size:8px}}@media (max-width:560px){.site-header{position:static}.header-inner{min-height:60px}.brand>span:last-child{display:none}.header-admin-link{font-size:11px}.header-navigation{gap:2px}.header-navigation a{min-height:38px;padding:7px;font-size:10px}.finder-heading h1,.admin-titlebar h1{font-size:22px}.date-shortcuts{width:100%}.date-shortcuts .button{flex:1}.period-switch{width:100%}.period-switch button{flex:1}.stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-leaders{grid-template-columns:1fr}.metric-switch{width:100%}.metric-switch button{flex:1}.structure-comparison{padding:10px}.structure-comparison dl{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-table{grid-template-columns:1fr;padding:10px}.finder-controls,.direct-event-selector{grid-template-columns:1fr}.direct-selector-copy,.event-id-combobox,.window-id-field,.direct-open-button,.search-combobox,.date-field{grid-column:1}.tournament-option{grid-template-columns:64px minmax(0,1fr)}.tournament-option img,.tournament-image-fallback{width:64px;height:48px}.tournament-option .status-badge{grid-column:2}.view-switch{width:100%}.view-switch button{flex:1;min-height:40px}.performance-bar-row{grid-template-columns:minmax(0,1fr) 82px}.performance-bar-track{grid-area:2/1/auto/-1}.tournament-overview{grid-template-columns:1fr}.tournament-poster{width:100%;height:150px}.tournament-main-copy h2{white-space:normal}.sync-line{align-items:flex-start}.structure-heading{min-height:62px;padding:10px 13px}.structure-heading img{width:36px;height:36px}.structure-heading h2{font-size:15px}.structure-heading>span{font-size:9px}.result-row{grid-template-columns:repeat(2,minmax(0,1fr))}.player-stats-dialog{border-radius:var(--radius-md);width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.player-stats-panel{max-height:calc(100dvh - 18px)}.player-stats-header{min-height:78px;padding:10px 12px}.player-stats-avatar{width:52px;height:52px}.player-stats-identity h2{font-size:17px}.player-stats-close{width:40px;height:40px}.player-stats-tournament>div{flex-direction:column;align-items:flex-start;gap:6px}.player-stats-tournament strong{white-space:normal;font-size:15px}.player-stats-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.player-stats-summary>div:nth-child(3n){border-right:1px solid var(--border)}.player-stats-summary>div:nth-child(2n){border-right:0}.player-stats-summary>div:nth-child(n+3){border-top:1px solid var(--border)}.player-stats-teammates{flex-direction:column;align-items:flex-start;gap:2px}.player-games-table{background:0 0;border:0;gap:8px;display:grid;overflow:visible}.player-games-table-header{display:none}.player-games-row:not(.player-games-table-header){border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);text-align:left;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;min-height:0;padding:11px}.player-games-row [role=cell]{justify-content:space-between;align-items:baseline;gap:6px;display:flex}.player-games-row [role=cell]:before{color:var(--text-muted);content:attr(data-label);font-size:9px;font-weight:500}.admin-header-actions .button-quiet:first-child{display:none}.admin-titlebar .button{width:100%}.api-status{grid-template-columns:auto 1fr}.api-status p,.api-status time{grid-column:2}.create-form,.create-player-form,.settings-form,.player-tools,.player-editor>form,.qualification-editor{grid-template-columns:1fr}.create-form .button,.settings-form .wide-field,.settings-form>.button,.player-editor .row-actions,.qualification-editor>div,.qualification-editor .button{grid-column:1;width:100%}.row-actions{flex-direction:column;align-items:stretch}.login-panel{padding:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.analytics{--analytics-gap:32px;width:min(1440px,100% - 48px);margin:0 auto;padding:28px 0 88px}.analytics-masthead{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;padding-bottom:22px;display:grid}.analytics-masthead h1{letter-spacing:-.025em;margin:8px 0 10px;font-size:clamp(22px,3vw,26px);font-weight:700}.analytics-masthead>div>p{max-width:68ch;color:var(--text-secondary);font-size:15px;line-height:1.55}.analytics-section{margin-top:var(--analytics-gap)}.analytics-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:14px 24px;margin-bottom:16px;display:flex}.analytics-heading>div:first-child{flex:380px;min-width:0}.analytics-heading h2{letter-spacing:-.015em;font-size:19px;font-weight:700}.analytics-heading p{max-width:72ch;color:var(--text-secondary);margin-top:6px;font-size:13px;line-height:1.55}.analytics-tools{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.analytics-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.analytics-panel-body{padding:18px 20px 20px}.analytics-controls{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:18px;padding:12px;display:flex}.analytics-field{gap:5px;min-width:0;display:grid}.analytics-field>span{color:var(--text-muted);font-size:11px;font-weight:600}.analytics-field select,.analytics-field input{min-height:40px;padding:8px 11px;font-size:13px;font-weight:500}.analytics-segmented{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--background);gap:2px;padding:3px;display:inline-flex}.analytics-segmented button{min-height:34px;color:var(--text-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:600;transition:background .14s,color .14s}.analytics-segmented button:hover{color:var(--text)}.analytics-segmented button[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text)}.analytics-state{min-height:34px;color:var(--text-secondary);white-space:nowrap;align-items:center;gap:8px;margin-left:auto;font-size:11px;font-weight:600;display:inline-flex}.analytics-state i{background:var(--success);border-radius:50%;width:7px;height:7px}.analytics-state.is-loading i{background:var(--warning);animation:1s ease-in-out infinite pulse-dot}.analytics-state.is-error{color:var(--danger)}.analytics-state.is-error i{background:var(--danger)}.analytics-figures{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--border);grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1px;display:grid;overflow:hidden}.analytics-figure{background:var(--surface);align-content:start;gap:6px;padding:16px 18px 18px;display:grid}.analytics-figure dt{color:var(--text-secondary);font-size:12px;font-weight:600}.analytics-figure dd{letter-spacing:-.02em;margin:0;font-size:30px;font-weight:700;line-height:1.1}.analytics-figure dd small{color:var(--text-muted);margin-left:3px;font-size:13px;font-weight:600}.analytics-figure p{max-width:34ch;color:var(--text-muted);font-size:11px;line-height:1.5}.analytics-figure b{color:var(--text-secondary);font-weight:600}.viz{margin:0}.viz-plot{position:relative}.viz-plot svg{width:100%;height:auto;display:block;overflow:visible}.viz-plot svg:focus-visible{box-shadow:var(--focus-ring);outline:none}.viz-grid{stroke:var(--border);stroke-width:1px}.viz-crosshair{stroke:var(--border-strong);stroke-width:1px}.viz-tick{fill:var(--text-muted);font-family:var(--font-poppins), Arial, sans-serif;font-variant-numeric:tabular-nums;font-size:11px}.viz-end-label{fill:var(--text);font-family:var(--font-poppins), Arial, sans-serif;font-variant-numeric:tabular-nums;font-size:12px;font-weight:700}.viz-series{transition:opacity .14s}.viz-series.is-dimmed{opacity:.24}.viz-marker{stroke:var(--surface);stroke-width:2px}.viz-tooltip{z-index:3;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-muted);pointer-events:none;min-width:190px;max-width:280px;padding:10px 12px;position:absolute;top:8px;transform:translate(-50%);box-shadow:0 12px 28px #0000006b}.viz-tooltip-title{color:var(--text-secondary);margin-bottom:8px;font-size:11px;font-weight:600}.viz-tooltip ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.viz-tooltip li{grid-template-columns:10px minmax(0,1fr) auto;align-items:baseline;gap:8px;display:grid}.viz-tooltip li i{border-radius:1px;width:10px;height:2px}.viz-tooltip li span{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.viz-tooltip li b{color:var(--text);font-variant-numeric:tabular-nums;font-size:15px;font-weight:700}.viz-tooltip li small{color:var(--text-muted);grid-column:2/-1;font-size:10px;line-height:1.45}.viz-caption{color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;gap:6px 18px;margin-top:10px;font-size:11px;display:flex}.viz-legend{flex-wrap:wrap;gap:6px 16px;margin:12px 0 0;padding:0;list-style:none;display:flex}.viz-legend button{border-radius:var(--radius-xs);color:var(--text-secondary);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:4px 6px;font-size:12px;transition:color .14s,opacity .14s;display:inline-flex}.viz-legend button:hover{color:var(--text)}.viz-legend button.is-emphasis{color:var(--text);font-weight:600}.viz-legend button.is-dimmed{opacity:.4}.viz-legend i{border-radius:1px;width:14px;height:2px}.viz-table-toggle{margin-top:12px}.viz-table-toggle button{border:1px solid var(--border);border-radius:var(--radius-sm);min-height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;padding:7px 12px;font-size:12px;font-weight:600}.viz-table-toggle button:hover{border-color:var(--border-strong);color:var(--text)}.viz-table{border:1px solid var(--border);border-radius:var(--radius-sm);max-height:340px;margin-top:12px;overflow:auto}.viz-table table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:12px}.viz-table caption{border-bottom:1px solid var(--border);background:var(--background);color:var(--text-secondary);text-align:left;padding:8px 12px;font-size:11px}.viz-table th,.viz-table td{border-bottom:1px solid var(--border);text-align:right;padding:8px 12px}.viz-table thead th,.viz-table tbody th{color:var(--text-secondary);font-weight:600}.viz-table thead th{text-align:right}.viz-table thead th:first-child,.viz-table tbody th{text-align:left}.viz-table thead th{background:var(--surface-muted);position:sticky;top:0}.viz-table tbody tr:last-child th,.viz-table tbody tr:last-child td{border-bottom:0}.viz-empty{min-height:220px;color:var(--text-secondary);text-align:center;place-content:center;font-size:13px;display:grid}.metric-guide-grid p{font-size:13px;line-height:1.55}.structure-race-head,.player-ranking-head,.structure-sort{font-size:11px}.structure-race-row,.player-ranking-row{font-size:13px}.stats-structure-identity strong,.player-ranking-list .stats-player strong{font-size:15px}.structure-race-open>small,.player-ranking-list .stats-player small,.structure-race-row>span:nth-child(2) em,.player-file-metrics dt,.metric-guide-grid small,.cmp-metric header span{font-size:11px}.player-file-metrics dd,.cmp-metric-row b{font-size:13px}.cmp-metric-name,.cmp-metric header strong{font-size:12px}.player-history-table>div{font-size:11px}.player-history-table>a{font-size:12px}.player-history-table strong{font-size:13px}.player-history-table small,.stats-frag-review li small{font-size:11px}.stats-frag-review li strong{font-size:15px}.cmp-subject small,.cmp-footnote{font-size:11px}.cmp-subject strong{font-size:13px}.metric-guide>summary>span{font-size:15px}.metric-guide>summary>small,.metric-guide-notes p{font-size:12px}.metric-guide-grid strong{font-size:13px}.metric-guide-direction{font-size:11px}@media (max-width:920px){.analytics{width:min(100% - 32px,1440px)}.analytics-masthead{grid-template-columns:1fr;align-items:start}}@media (max-width:620px){.analytics{--analytics-gap:24px;width:min(100% - 20px,1440px)}.viz-tooltip{max-width:none;margin-top:10px;position:static;transform:none}}.stats-trend-stage .viz{padding:4px 20px 18px 0}.player-performance-file .viz,.stats-comparison-section .viz{padding-bottom:16px}@media (max-width:920px){.stats-trend-stage .viz{padding-right:0}}.stats-live-state,.chart-control-block>span,.stats-roster-figures small,.stats-roster-figures em{font-size:11px}.period-switch button,.metric-switch button,.player-structure-tabs button{min-height:36px;padding:7px 12px;font-size:12px}.player-file-score span,.player-file-score small{font-size:11px}.chart-controls{flex-wrap:wrap;flex:320px;min-width:0}.metric-guide-grid strong em,.structure-race-row>span:nth-child(2) em,.summaryStrip strong em,.player-file-identity small,.player-file-identity p,.player-trend-heading p,.stats-family-review>div>span,.stats-family-review>div>p,.stats-family-review>div>b,.stats-family-review>div>strong small,.player-file-score strong small{font-size:11px}::selection{color:var(--text);background:#5b8cff57}html{scrollbar-color:var(--border-strong) var(--background)}input,select,textarea{caret-color:var(--primary-hover)}.stats-page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 28px;margin-bottom:18px;display:flex}.stats-page-title{min-width:0}.stats-page-title h1{letter-spacing:-.025em;margin:0;font-size:28px;line-height:1.15}.stats-page-title p{color:var(--text-secondary);margin:6px 0 0;font-size:13px}.player-finder{z-index:35;width:min(440px,100%);position:relative}.player-finder>input{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:44px;color:var(--text);padding:0 44px 0 40px;font-size:14px;transition:border-color .15s,box-shadow .15s}.player-finder>input::placeholder{color:var(--text-muted)}.player-finder>input:hover{border-color:#4a5261}.player-finder>input:focus{border-color:var(--primary);box-shadow:var(--focus-ring);outline:0}.player-finder-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:13px;left:13px}.player-finder-key,.player-finder-help kbd{border:1px solid var(--border-strong);background:var(--surface-muted);color:var(--text-secondary);font:inherit;border-radius:5px;padding:3px 6px;font-size:11px;font-weight:600;line-height:1}.player-finder-key{pointer-events:none;position:absolute;top:12px;right:12px}.player-finder-clear{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid;position:absolute;top:7px;right:7px}.player-finder-clear:hover{background:var(--surface-muted);color:var(--text)}.player-finder-panel{border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);min-width:min(420px,100vw - 32px);box-shadow:var(--shadow-popover);animation:.16s cubic-bezier(.16,1,.3,1) finder-in;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden}@keyframes finder-in{0%{opacity:0;transform:translateY(-4px)}}.player-finder-panel ul{max-height:min(430px,60vh);margin:0;padding:6px;list-style:none;overflow-y:auto}.player-finder-panel li{border-radius:var(--radius-sm);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding-right:8px;display:grid}.player-finder-panel li[aria-selected=true]{background:var(--surface-muted)}.player-finder-open{min-width:0;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:11px;padding:8px 4px 8px 8px;display:flex}.player-finder-avatar{background:var(--surface-muted);width:32px;height:32px;color:var(--text-secondary);object-fit:cover;border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.player-finder-flag{object-fit:cover;border-radius:3px;flex:none;width:24px;height:16px}.player-finder-copy{flex:auto;min-width:0;display:grid}.player-finder-copy strong,.player-finder-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-finder-copy strong{font-size:14px}.player-finder-copy small{color:var(--text-muted);font-size:12px}.player-finder-value{color:var(--text);font-variant-numeric:tabular-nums;margin-left:auto;font-size:15px}.player-finder-compare{border:1px solid var(--border-strong);border-radius:var(--radius-pill);min-height:30px;color:var(--text-secondary);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;padding:0 12px;font-size:12px;font-weight:600}.player-finder-compare:hover:not(:disabled){border-color:var(--primary);color:var(--text)}.player-finder-compare[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text);border-color:#0000}.player-finder-compare:disabled{cursor:not-allowed;opacity:.4}.player-finder-empty{color:var(--text-secondary);margin:0;padding:18px 16px;font-size:13px}.player-finder-help{border-top:1px solid var(--border);color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:9px 14px;font-size:11px;display:flex}.player-finder-help kbd:nth-of-type(2){margin-left:10px}.stats-toolbar{border-top:1px solid var(--border);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0;display:flex}.segmented{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);scrollbar-width:none;gap:2px;max-width:100%;padding:3px;display:inline-flex;overflow-x:auto}.segmented button{min-height:32px;color:var(--text-secondary);cursor:pointer;font:inherit;white-space:nowrap;background:0 0;border:0;border-radius:6px;flex:none;padding:0 11px;font-size:12px;font-weight:600;transition:background-color .15s,color .15s}.segmented button:hover:not(:disabled):not([aria-pressed=true]){background:var(--surface-muted);color:var(--text)}.segmented button[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text)}.segmented button:disabled{cursor:not-allowed;opacity:.4}.toolbar-select{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);align-items:center;gap:8px;max-width:100%;min-height:40px;padding:0 4px 0 12px;display:inline-flex}.toolbar-select>span{color:var(--text-muted);white-space:nowrap;font-size:12px;font-weight:500}.toolbar-select select{min-width:0;min-height:36px;color:var(--text);background-color:#0000;border:0;padding-left:0;font-size:13px;font-weight:600}.toolbar-select select:focus{box-shadow:none}.toolbar-select:focus-within{border-color:var(--primary);box-shadow:var(--focus-ring)}.toolbar-select-wide{flex:0 460px}.toolbar-select-wide select{text-overflow:ellipsis;flex:auto}.toolbar-more{position:relative}.toolbar-more>summary{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--text-secondary);cursor:pointer;align-items:center;gap:7px;padding:0 12px;font-size:12px;font-weight:600;list-style:none;display:inline-flex}.toolbar-more>summary::-webkit-details-marker{display:none}.toolbar-more>summary:after{content:"";border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;transition:transform .15s;transform:translateY(-2px)rotate(45deg)}.toolbar-more[open]>summary:after{transform:translateY(1px)rotate(-135deg)}.toolbar-more>summary:hover,.toolbar-more[open]>summary{border-color:var(--border-strong);color:var(--text)}.toolbar-more>summary b{border-radius:var(--radius-pill);background:var(--primary);min-width:18px;height:18px;color:var(--background);place-items:center;font-size:11px;display:grid}.toolbar-more-panel{z-index:30;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);width:min(320px,100vw - 32px);box-shadow:var(--shadow-popover);gap:12px;padding:14px;display:grid;position:absolute;top:calc(100% + 6px);left:0}.toolbar-more-panel label{gap:5px;display:grid}.toolbar-more-panel label>span{color:var(--text-secondary);font-size:12px;font-weight:600}.toolbar-more-panel select,.toolbar-more-panel input{min-height:40px;font-size:13px}.toolbar-reset{min-height:40px;color:var(--primary-hover);cursor:pointer;font:inherit;background:0 0;border:0;padding:0 6px;font-size:12px;font-weight:600}.toolbar-reset:hover{color:var(--text);text-underline-offset:3px;text-decoration:underline}.stats-toolbar .stats-live-state{font-size:11px;font-weight:500}.stats-scope-line{color:var(--text-secondary);margin:12px 0 0;font-size:13px;line-height:1.55}.stats-scope-line b{color:var(--text);font-weight:600}.stats-scope-line.is-warning,.stats-scope-line b.is-error{color:var(--warning)}.stats-highlights{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:20px;display:grid;overflow:hidden}.stats-highlights-five{grid-template-columns:repeat(5,minmax(0,1fr))}.stats-highlights>button,.stats-highlights>div{background:var(--surface);min-width:0;color:inherit;font:inherit;text-align:left;border:0;align-content:start;gap:9px;padding:14px 16px 15px;display:grid}.stats-highlights>button{cursor:pointer;transition:background-color .15s}.stats-highlights>button:hover:not(:disabled){background:#1b1f26}.stats-highlights>button:focus-visible{box-shadow:inset 0 0 0 2px var(--primary);outline:0}.stats-highlights>button:disabled{cursor:default}.highlight-label{color:var(--text-muted);font-size:12px;font-weight:500}.highlight-body{align-items:center;gap:10px;min-width:0;display:flex}.highlight-body>img{object-fit:cover;border-radius:8px;flex:none;width:34px;height:34px}.highlight-body>img.is-round{border-radius:50%}.highlight-body>i{background:var(--surface-muted);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-style:normal;font-weight:700;display:grid}.highlight-body>span{flex:auto;min-width:0;display:grid}.highlight-body strong,.highlight-body small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.highlight-body strong{font-size:15px}.highlight-body small{color:var(--text-muted);font-size:12px}.highlight-body>b{font-variant-numeric:tabular-nums;letter-spacing:-.02em;flex:none;justify-items:end;font-size:22px;line-height:1.1;display:grid}.highlight-body>b small{color:var(--text-muted);letter-spacing:0;font-size:11px;font-weight:500}.stats-averages{flex-wrap:wrap;gap:8px 32px;margin:14px 0 0;display:flex}.stats-averages>div{align-items:baseline;gap:8px;display:flex}.stats-averages dt{color:var(--text-muted);font-size:12px}.stats-averages dd{font-variant-numeric:tabular-nums;margin:0;font-size:15px;font-weight:700}.stats-averages dd small{color:var(--text-secondary);font-size:12px;font-weight:500}.stats-section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;padding:0 0 14px;display:flex}.stats-section-head h2{letter-spacing:-.015em;margin:0;font-size:20px}.stats-section-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stats-section-note{color:var(--text-secondary);font-size:12px}.stats-section-footnote{color:var(--text-muted);margin:12px 0 0;font-size:12px}.stats-season-board .stats-ranking-section,.stats-season-board .stats-player-lab,.stats-season-board .stats-lower-grid,.stats-season-board .stats-section{margin-top:40px}.stats-season-board .stats-trend-stage{border-right:0}.stats-season-board .stats-comparison-section{margin-top:28px;padding-top:18px}.stats-season-board .stats-comparison-section .stats-scope-line{margin:0 0 6px}.stats-season-board .stats-section-head .chart-controls{flex:0 auto;align-items:flex-end}.stats-season-board .stats-section-head .metric-picker{flex:0 300px}.stats-list-filter{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--text-muted);align-items:center;gap:8px;padding:0 10px;display:inline-flex}.stats-list-filter input{width:150px;min-height:36px;color:var(--text);background:0 0;border:0;padding:0;font-size:13px}.stats-list-filter input:focus{box-shadow:none}.stats-list-filter:focus-within{border-color:var(--primary);box-shadow:var(--focus-ring)}.player-file-compare{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-muted);min-height:36px;color:var(--text);cursor:pointer;font:inherit;white-space:nowrap;padding:0 14px;font-size:12px;font-weight:600;transition:background-color .15s,border-color .15s}.player-file-compare:hover:not(:disabled){border-color:var(--primary)}.player-file-compare[aria-pressed=true]{background:var(--primary-soft);color:var(--primary-selected-text);border-color:#0000}.player-file-compare:disabled{cursor:not-allowed;opacity:.45}.player-performance-file>.player-file-compare{margin-top:14px}.player-trend-heading h4{margin:0;font-size:15px}.stats-season-board .player-trend-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.metric-picker>label,.ranking-control>label,.chart-control-block>span{color:var(--text-muted);letter-spacing:0;text-transform:none;font-size:12px;font-weight:500}.metric-picker>select,.ranking-control select{font-size:13px}.metric-picker>p{font-size:12px}.metric-picker-direction{font-size:11px}.ranking-controls-hint{font-size:12px}.ranking-threshold output>small{font-size:11px}.ranking-columns>summary{color:var(--text-secondary);cursor:pointer;align-items:center;gap:6px;font-size:12px;font-weight:600;list-style:none;display:inline-flex}.ranking-columns>summary::-webkit-details-marker{display:none}.ranking-columns>summary:hover{color:var(--text)}.ranking-columns>summary>span{color:var(--text-muted);font-variant-numeric:tabular-nums}.ranking-columns[open]>summary{margin-bottom:9px}.ranking-columns button{font-size:12px}.compare-tray-spacer{height:84px}.compare-tray{z-index:45;border:1px solid var(--border-strong);border-radius:var(--radius-md);background:#1c2028;align-items:center;gap:12px;width:min(980px,100% - 24px);padding:9px 10px 9px 14px;animation:.22s cubic-bezier(.16,1,.3,1) tray-in;display:flex;position:fixed;bottom:16px;left:50%;transform:translate(-50%);box-shadow:0 14px 36px #00000080}@keyframes tray-in{0%{opacity:0;transform:translate(-50%,12px)}}.compare-tray-count{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.compare-tray ul{flex-wrap:wrap;gap:6px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.compare-tray li{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);align-items:center;gap:7px;max-width:200px;min-height:32px;padding:0 4px 0 11px;font-size:13px;font-weight:600;display:inline-flex}.compare-tray li>i{background:var(--chip-color,var(--primary));border-radius:50%;flex:none;width:9px;height:9px}.compare-tray li>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compare-tray li>button{width:24px;height:24px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.compare-tray li>button:hover{background:var(--surface-muted);color:var(--text)}.compare-tray>p{color:var(--text-secondary);margin:0;font-size:12px}.compare-tray-actions{flex:none;align-items:center;gap:6px;margin-left:auto;display:flex}.compare-tray-clear,.compare-tray-show{border-radius:var(--radius-sm);cursor:pointer;min-height:38px;font:inherit;white-space:nowrap;padding:0 14px;font-size:13px;font-weight:600}.compare-tray-clear{color:var(--text-secondary);background:0 0;border:0}.compare-tray-clear:hover{color:var(--text)}.compare-tray-show{border:1px solid var(--primary);background:var(--primary);color:var(--background);transition:background-color .15s}.compare-tray-show:hover:not(:disabled){background:var(--primary-hover)}.compare-tray-show:disabled{border-color:var(--border-strong);color:var(--text-muted);cursor:not-allowed;background:0 0}.stats-method{margin-top:44px}#fiche-joueur,#face-a-face,#comparatif-structures,#classement-structures,#evolution-structures,#joueurs{scroll-margin-top:84px}@media (max-width:1100px){.stats-highlights,.stats-highlights-five{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:820px){.stats-page-head{flex-direction:column;align-items:stretch}.player-finder{width:100%}.stats-page-title h1{font-size:24px}.stats-toolbar .stats-live-state{width:100%;margin-left:0}.toolbar-select-wide,.stats-list-filter{flex:100%}.stats-list-filter input{width:100%}.compare-tray{flex-wrap:wrap;bottom:8px}.compare-tray-actions{width:100%}.compare-tray-show{flex:auto}.compare-tray-spacer{height:150px}}@media (max-width:560px){.stats-highlights,.stats-highlights-five{grid-template-columns:1fr}.player-finder-compare{padding:0 9px}}.metric-picker-compact{flex:0 290px}.metric-picker-compact>label{justify-content:space-between;align-items:center;gap:10px;display:flex}.metric-picker-compact>label .metric-picker-direction{padding:2px 8px;font-weight:500}.stats-season-board .player-trend-heading{align-items:flex-end;padding-top:16px}@media (max-width:820px){.stats-toolbar{position:relative}.toolbar-more{position:static}.toolbar-more-panel{width:auto;right:0}}
