/* Shared scene, typography and compact interface primitives. */
@font-face{font-family:"Montserrat Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/montserrat-cyrillic-ext-wght-normal.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Montserrat Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/montserrat-cyrillic-wght-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Montserrat Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/montserrat-vietnamese-wght-normal.woff2") format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:"Montserrat Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Montserrat Variable";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/montserrat-latin-wght-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{color-scheme:dark;--canvas:#0a0a0a;--paper:rgb(255 255 255/.025);--paper-raised:rgb(255 255 255/.055);--ink:#fafafa;--muted:#bdbdbd;--muted-strong:#d4d4d4;--line:rgb(255 255 255/.1);--brand:#63bcff;--brand-strong:#0069de;--brand-hover:#005fc7;--brand-focus:#8bcfff;--brand-wash:rgb(61 155 255/.14);--brand-border:rgb(99 188 255/.32);--control-radius:8px;--accent:var(--brand-strong);--accent-dark:var(--brand-hover);--accent-tint:var(--brand-wash);--rail:rgb(10 10 10/.94);--green:#4ade80;--red:#f87171;--gold:#fbbf24;--rose:#fb7185;--lilac:#c084fc;--sky:#67e8f9;--atlas-gold:var(--gold);--atlas-rose:var(--rose);--atlas-lilac:var(--lilac);--atlas-sky:var(--sky);--radius:14px;--shadow:0 12px 36px rgb(0 0 0/.35);--sky-scene-image:url("assets/player-profile/splashes/Bard_0.jpg");--sky-header-height:48px}
html{scroll-padding-top:112px;scrollbar-color:#737373 transparent;scrollbar-width:thin}
body.statbook-world{position:relative;isolation:isolate;margin:0;min-width:320px;background:#0a0a0a;color:var(--ink);font:400 16px/1.5 "Montserrat Variable",ui-sans-serif,system-ui,sans-serif;overflow-x:clip}
body.statbook-world *{font-family:"Montserrat Variable",ui-sans-serif,system-ui,sans-serif}
body.statbook-world::before{content:"";position:fixed;inset:0;z-index:-3;background:var(--sky-scene-image) center/cover no-repeat;pointer-events:none}
body.statbook-world::after{content:"";position:fixed;inset:-32px;z-index:-2;background:var(--sky-scene-image) center/cover no-repeat;filter:blur(24px);clip-path:inset(0 0 0 calc(30vw + 32px));pointer-events:none}
.statbook-world .app-shell{display:block;min-height:100vh;isolation:auto}
.statbook-world .app-shell::before,.statbook-world .app-shell::after{content:none}
.statbook-world .workspace{position:relative;display:block;margin:0;padding-top:48px;min-width:0;isolation:auto}
.statbook-world .workspace::before{content:"";position:fixed;inset:48px 0 0 30vw;z-index:-1;background:rgb(10 10 10/.5);border-left:1px solid rgb(255 255 255/.1);pointer-events:none}
.statbook-world #content{position:relative;max-width:none;width:auto;min-width:0;min-height:calc(100vh - 48px);margin:0 0 0 30vw;padding:32px;outline:0;background:none}
.sky-world-stage{position:fixed;inset:48px auto 0 0;width:30vw;z-index:-1;pointer-events:none}
.sky-stage-caption{position:absolute;left:28px;right:28px;bottom:28px;color:#fafafa;text-shadow:0 2px 8px #000;max-width:25ch}
.sky-stage-caption strong{display:block;font-size:24px;font-weight:700;line-height:1.2}
.sky-stage-caption span{display:block;margin-top:8px;font-size:14px;font-weight:500;opacity:.85}
body:has(.pp-view) .sky-world-stage,body:has(.home-view) .sky-world-stage{display:none}

.statbook-world .topbar{position:fixed;inset:0 0 auto;z-index:100;height:48px;min-height:48px;width:100%;padding:0 10px;display:flex;align-items:center;gap:8px;background:rgb(10 10 10/.42);backdrop-filter:blur(24px) brightness(.65);-webkit-backdrop-filter:blur(24px) brightness(.65);border:0;border-bottom:1px solid var(--line)}
.statbook-world .topbar .atlas-brand{display:flex;align-items:center;gap:7px;padding:0;color:#fafafa;font-size:16px;font-weight:750;letter-spacing:-.025em;line-height:1.1;flex-shrink:0}
.statbook-world .atlas-brand-mark{display:block;width:24px;height:24px;padding:3px;background:var(--accent);color:#fafafa;border-radius:4px}
.sky-brand-copy{display:flex;flex-direction:column;gap:1px}
.statbook-world .brand-index{font-weight:inherit;color:inherit}
.sky-brand-copy small{font-size:11px;line-height:1.1;font-weight:500;letter-spacing:0;color:var(--muted)}
.sky-header-controls{display:flex;align-items:center;gap:10px;margin-left:20px}
.statbook-world .topbar .mobile-menu{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;width:auto;padding:0 10px;border:1px solid transparent;border-radius:var(--control-radius);background:transparent;color:var(--ink);font-size:13px;font-weight:650}
.statbook-world .topbar .mobile-menu[aria-expanded=true]{background:var(--brand-wash);border-color:var(--brand-border);color:var(--brand-focus)}
.statbook-world .mobile-menu svg{width:16px;height:16px}
.statbook-world .topbar .global-search-wrap{position:relative;display:flex;align-items:center;gap:8px;width:146px;max-width:330px;min-width:0;height:36px;margin:0;padding:0 9px;border:1px solid rgb(255 255 255/.22);border-radius:var(--control-radius);color:var(--brand-focus);background:rgb(5 13 25/.62);transition:background-color 150ms ease-out,border-color 150ms ease-out}
.statbook-world .topbar .global-search-wrap:focus-within{width:300px;border-color:var(--brand);background:#101c2d}
.statbook-world .global-search-wrap>svg{flex:none;pointer-events:none}
.statbook-world .global-search-wrap input{width:100%;min-width:0;height:34px;flex:1;padding:0;border:0;outline:0;color:#fafafa;background:transparent;font-size:14px;font-weight:500}
.statbook-world .global-search-wrap input::placeholder{color:#e5e5e5;opacity:1}
.statbook-world .global-search-wrap kbd{display:inline-flex;justify-content:center;align-items:center;width:20px;height:20px;padding:0;border:1px solid var(--line);border-radius:4px;font-size:12px;font-weight:500;color:var(--muted);background:none}
.statbook-world .breadcrumb{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sky-header-utilities{display:flex;align-items:center;gap:8px;margin-left:auto}
.statbook-world .snapshot-button,.sky-header-about{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:26px;color:#e5e5e5;background:none;font-size:14px;font-weight:500;white-space:nowrap}
.statbook-world .snapshot-button{max-width:180px;overflow:hidden;text-overflow:ellipsis}
.statbook-world .snapshot-dot{width:6px;height:6px;background:var(--accent);flex-shrink:0}
.statbook-world .snapshot-button svg,.sky-header-about svg{width:16px;height:16px}
.statbook-world .snapshot-button:hover,.sky-header-about:hover,.statbook-world .topbar .mobile-menu:hover{background:rgb(255 255 255/.08);color:#fafafa}
.statbook-world .atlas-nav{display:none}
.statbook-world .search-suggestions{position:absolute;max-height:min(65dvh,32rem);overflow:auto;overscroll-behavior:contain;left:0;right:auto;top:42px;width:360px;max-width:calc(100vw - 24px);padding:8px;background:rgb(10 10 10/.94);backdrop-filter:blur(24px);border:1px solid rgb(255 255 255/.15);border-radius:14px;box-shadow:var(--shadow);color:var(--ink)}
.statbook-world .suggestion{color:var(--ink);border-radius:8px;font-size:14px;padding:8px}
.statbook-world .search-suggestions section+section{margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}
.statbook-world .search-suggestions .suggestion img{flex:none;object-fit:cover;border-radius:5px}
.statbook-world .search-suggestions .suggestion span{min-width:0;overflow-wrap:anywhere}
.statbook-world .suggestion:hover{background:rgb(255 255 255/.1)}
.statbook-world .suggestion-heading,.statbook-world .suggestion small{color:var(--muted);font-size:12px;text-transform:none;letter-spacing:0}

.statbook-world .sidebar{position:fixed;inset:54px auto auto 130px;z-index:130;display:flex;width:320px;max-height:calc(100dvh - 66px);padding:12px;overflow:auto;border:1px solid rgb(255 255 255/.15);border-radius:16px;background:rgb(10 10 10/.94);backdrop-filter:blur(24px);box-shadow:var(--shadow);transform:translateY(-8px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity 140ms ease-out,transform 140ms ease-out,visibility 140ms}
.statbook-world .sidebar.open{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto}
.statbook-world .sidebar>.brand,.statbook-world .sidebar>.product-selector,.statbook-world .sidebar>.nav-label,.statbook-world .sidebar-note,.statbook-world .sidebar-footer{display:none}
.statbook-world .nav-link{padding:8px 12px;min-height:36px;margin:2px 0;border-radius:var(--control-radius);color:#d4d4d4;font-size:14px;font-weight:500}
.statbook-world .nav-link.active{background:var(--brand-wash);color:var(--brand-focus)}
.statbook-world .nav-link:hover{background:rgb(255 255 255/.1);color:#fafafa}
.statbook-world .nav-link svg{width:16px;height:16px}
.statbook-world .nav-active-dot{background:var(--brand)}
.statbook-world .nav-count{background:rgb(255 255 255/.1);color:#d4d4d4;border-radius:50%}

.statbook-world h1{font-size:36px;line-height:40px;font-weight:600;letter-spacing:0;color:var(--ink);margin:0 0 8px}
.statbook-world h2{font-size:22px;line-height:1.3;font-weight:700;letter-spacing:0;color:var(--ink)}
.statbook-world h3{font-size:18px;line-height:1.35;font-weight:650;letter-spacing:0;color:var(--ink)}
.statbook-world .page-heading{min-height:0;padding:0;margin:0 0 24px;gap:16px;align-items:center;flex-direction:row}
.statbook-world .page-subtitle{font-size:14px;line-height:1.5;color:#d4d4d4;max-width:75ch}
.statbook-world .heading-actions{padding:0;gap:8px}
.statbook-world .button,.statbook-world .icon-button,.statbook-world .chip,.statbook-world .page-button{min-height:36px;border-radius:var(--control-radius);font-size:14px;font-weight:600;line-height:1.2;padding:7px 12px;transition:background-color 150ms ease-out,color 150ms ease-out,transform 150ms ease-out}
.statbook-world .button.primary{background:var(--accent);color:#fafafa;border:1px solid transparent}
.statbook-world .button.primary:hover{background:var(--accent-dark)}
.statbook-world .button.secondary,.statbook-world .icon-button,.statbook-world .chip{background:transparent;border:1px solid var(--line);color:#fafafa}
.statbook-world .button.secondary:hover,.statbook-world .icon-button:hover,.statbook-world .chip:hover{background:rgb(255 255 255/.1);border-color:rgb(255 255 255/.2)}
.statbook-world .button.text{color:var(--brand);border:0;background:none}
.statbook-world .chip.active,.statbook-world .page-button.active{color:var(--brand-focus);background:var(--brand-wash);border-color:var(--brand-border)}
.statbook-world .page-button{min-width:36px;padding:6px 10px;color:#d4d4d4}
.statbook-world .page-button:hover:not(:disabled){background:rgb(255 255 255/.1)}
.statbook-world button:active:not(:disabled),.statbook-world a.button:active{transform:translateY(1px)}
.statbook-world input,.statbook-world select,.statbook-world textarea{color:#fafafa;accent-color:var(--accent)}
.statbook-world :is(input,select,textarea)::placeholder{color:#bdbdbd;opacity:1}
.statbook-world :is(select.select-control,.table-search){min-height:36px;background:rgb(255 255 255/.035);border:1px solid rgb(255 255 255/.15);border-radius:var(--control-radius);color:#fafafa;font-size:14px}
.statbook-world select option{background:#171717;color:#fafafa}
.statbook-world a{ text-underline-offset:3px }
.statbook-world a:hover{ text-decoration-color:currentColor }
.statbook-world *:focus-visible{outline:2px solid var(--brand-focus);outline-offset:3px}
.statbook-world input{caret-color:var(--brand-focus)}
.statbook-world ::selection{color:#fafafa;background:var(--brand-hover)}
.statbook-world ::-webkit-scrollbar{width:8px;height:8px}
.statbook-world ::-webkit-scrollbar-thumb{background:#737373;border:2px solid #171717;border-radius:8px}
.statbook-world ::-webkit-scrollbar-track{background:transparent}
.statbook-world .skip-link{z-index:200;background:var(--brand-strong);color:#fff;border-radius:var(--control-radius)}
.statbook-world .badge,.statbook-world .league-tag{padding:3px 8px;min-height:22px;border-radius:26px;border:1px solid var(--line);background:rgb(255 255 255/.05);color:#d4d4d4;font-size:12px;font-weight:600}
.statbook-world .badge.experimental{color:var(--lilac);background:rgb(192 132 252/.12);border:0}
.statbook-world .badge.green{color:var(--green);background:rgb(34 197 94/.12);border:0}
.statbook-world .badge.identity{color:var(--gold);background:rgb(251 191 36/.1);border:0}
.statbook-world .avatar,.statbook-world .role-icon{background:var(--brand-wash);color:var(--brand-focus);border-radius:50%}
.statbook-world .avatar.lg,.statbook-world .avatar.xl{border-radius:50%}
.statbook-world .atlas-player-portrait,.statbook-world .atlas-champion-icon{border-radius:6px;box-shadow:none}
.statbook-world .rating-number{color:var(--green);font-size:16px;font-weight:650}
.statbook-world .entity-name{color:#fafafa;font-size:14px;font-weight:650}
.statbook-world .entity-meta,.statbook-world .record{font-size:12px;color:#bdbdbd}
.statbook-world .rank-col{color:#bdbdbd;font-size:13px}
.statbook-world .form-item{background:rgb(34 197 94/.15);color:var(--green);border-radius:4px}
.statbook-world .form-item.loss{background:rgb(248 113 113/.12);color:var(--red)}

.statbook-world .summary-strip{display:flex;flex-wrap:wrap;gap:12px 28px;border:0;padding:0;margin:0 0 24px}
.statbook-world .summary-item,.statbook-world .summary-item:first-child{padding:0;border:0;gap:7px;align-items:baseline}
.statbook-world .summary-value{font-size:22px;line-height:1.2;font-weight:700;color:#fafafa;letter-spacing:0}
.statbook-world .summary-label{font-size:14px;font-weight:600;color:#bdbdbd}
.statbook-world .summary-label small{display:block;font-size:12px;color:#a3a3a3}
.statbook-world .panel{background:transparent;border:1px solid var(--line);border-radius:14px;box-shadow:none;overflow:clip}
.statbook-world .panel-heading{padding:16px}
.statbook-world .panel-heading h2{font-size:20px}
.statbook-world .table-tools{padding:12px 16px;gap:8px}
.statbook-world .filter-chips{padding:0 16px 12px;gap:8px}
.statbook-world .view-tabs{padding:8px;gap:8px;border-color:var(--line);overflow:auto;white-space:nowrap}
.statbook-world .view-tab{padding:7px 12px;min-height:36px;border:1px solid transparent;border-radius:var(--control-radius);margin:0;color:#d4d4d4;font-size:14px;font-weight:600}
.statbook-world .view-tab.active{background:var(--brand-wash);border-color:var(--brand-border);color:var(--brand-focus)}
.statbook-world .view-tab small{background:rgb(255 255 255/.1);color:inherit;border-radius:26px}
.statbook-world table{background:transparent;font-size:13px}
.statbook-world thead{background:rgb(255 255 255/.04);color:#d4d4d4;border-color:var(--line)}
.statbook-world th{font-size:12px;font-weight:600;padding:10px}
.statbook-world td{height:54px;padding:10px;border-color:var(--line);color:#e5e5e5}
.statbook-world tbody tr.selected,.statbook-world tbody tr.selected:hover{background:var(--brand-wash)}
.statbook-world tbody tr:hover{background:rgb(255 255 255/.045)}
.statbook-world .table-bottom{padding:12px 16px;background:transparent;color:#bdbdbd;font-size:12px;border-color:var(--line)}
.statbook-world .check-compare{border-color:rgb(255 255 255/.3);border-radius:4px}
.statbook-world .check-compare:checked{background:var(--brand-strong);border-color:var(--brand-strong);box-shadow:inset 0 0 0 3px #171717}
.statbook-world .layout-split{grid-template-columns:minmax(0,1fr);gap:20px}
.statbook-world .inspector{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:rgb(255 255 255/.025)}
.statbook-world .inspector .team-overview{grid-row:span 2;background:transparent;border:0}
.statbook-world .team-overview,.statbook-world .inspector-section{padding:16px}
.statbook-world .inspector-heading,.statbook-world .team-stats small,.statbook-world .inspector-note{color:#bdbdbd;font-size:12px}
.statbook-world .team-title h2{font-size:24px}
.statbook-world .rating-display .big-rating{font-size:36px;color:var(--green);font-weight:650}
.statbook-world .team-stats strong,.statbook-world .lineup-name{color:#fafafa}
.statbook-world .lineup-row,.statbook-world .match-mini,.statbook-world .inspector-section{border-color:var(--line)}
.statbook-world .lineup-row:hover{background:rgb(255 255 255/.05)}
.statbook-world .inspector-foot{padding:16px;background:transparent;border-color:var(--line)}
.statbook-world .result-letter{background:rgb(34 197 94/.12);color:var(--green)}
.statbook-world .result-letter.loss{background:rgb(248 113 113/.12);color:var(--red)}
.statbook-world .chart-header,.statbook-world .chart-labels{color:#bdbdbd;font-size:12px}
.statbook-world .chart-header strong{color:#fafafa}
.statbook-world .lab-notice{background:rgb(255 255 255/.035);color:#d4d4d4;padding:10px 12px;border-radius:10px;font-size:12px;line-height:1.5}
.statbook-world .lab-notice strong{color:#fafafa}
.statbook-world .lab-notice button{color:var(--brand)}
.statbook-world .league-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.statbook-world .league-card,.statbook-world .league-card:nth-child(n){padding:20px;background:rgb(255 255 255/.025);border:1px solid var(--line);border-radius:14px;box-shadow:none}
.statbook-world .league-card-head h2{font-size:22px}
.statbook-world .league-metrics{padding:16px 0;border-color:var(--line)}
.statbook-world .league-metrics strong{color:var(--green);font-size:24px}
.statbook-world .league-card-head small,.statbook-world .league-metrics small{color:#bdbdbd;font-size:12px}
.statbook-world .results-list{padding:0 16px 16px}
.statbook-world .results-date{padding-top:20px;font-size:16px;color:#fafafa;font-weight:650}
.statbook-world .result-match{min-height:64px;gap:10px;border-color:var(--line)}
.statbook-world .match-score{font-size:16px;color:#fafafa;background:rgb(255 255 255/.1);border-radius:6px}
.statbook-world .result-match .team-link{font-size:14px;color:#e5e5e5}
.statbook-world .result-match .result-winner{color:var(--green)}
.statbook-world .match-time,.statbook-world .match-status{color:#bdbdbd;font-size:12px}
.statbook-world .document-panel{padding:24px;background:transparent;border:1px solid var(--line);border-radius:14px}
.statbook-world .document-panel p,.statbook-world .document-panel li{font-size:15px;color:#d4d4d4;line-height:1.7;max-width:75ch}
.statbook-world .document-panel h2{font-size:24px}
.statbook-world .document-panel a{color:var(--brand);text-decoration:underline}
.statbook-world .data-row{border-color:var(--line);font-size:14px}
.statbook-world .data-row span{color:#bdbdbd}
.statbook-world .data-row strong{color:#fafafa}
.statbook-world .formula{background:rgb(255 255 255/.05);color:#d4d4d4;border-color:var(--line);border-radius:10px}
.statbook-world .model-note{background:rgb(34 197 94/.08);color:#86efac}
.statbook-world .model-step p{color:#d4d4d4}
.statbook-world .comparison-card{background:transparent;border-color:var(--line);padding:20px}
.statbook-world .comparison-field{border-color:var(--line)}
.statbook-world .comparison-field strong{color:#fafafa}
.statbook-world .comparison-field span{color:#bdbdbd}
.statbook-world .comparison-probability,.statbook-world .discovery-bar{background:rgb(255 255 255/.04);color:#d4d4d4;border:1px solid var(--line);box-shadow:none}
.statbook-world .discovery-bar h3{color:#fafafa}
.statbook-world .discovery-bar p{color:#bdbdbd}
.statbook-world .probability-labels{color:#bdbdbd}

.statbook-world .stats-freshness.atlas-snapshot{background:transparent;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}
.statbook-world .atlas-snapshot .stats-freshness-details>summary{min-height:36px;padding:8px 12px;color:#d4d4d4;font-size:12px;gap:5px 12px}
.statbook-world .atlas-snapshot-label,.statbook-world .atlas-snapshot-hint{color:#86efac}
.statbook-world .atlas-snapshot-date{color:#d4d4d4}
.statbook-world .atlas-snapshot-alert{color:#fcd34d;font-size:12px}
.statbook-world .atlas-filter-drawer{background:transparent;border:1px solid var(--line);border-radius:14px;margin:16px 0}
.statbook-world .atlas-filter-drawer>summary{padding:10px 14px;min-height:42px;color:#fafafa;font-size:14px}
.statbook-world .atlas-filter-drawer>summary strong::before{color:var(--brand)}
.statbook-world .atlas-filter-drawer>summary span{font-size:12px;color:#bdbdbd}
.statbook-world .site-footer,.statbook-world .atlas-credits{max-width:none;margin:0 0 0 30vw;padding:20px 32px;color:#a3a3a3;font-size:12px;line-height:1.6;background:rgb(10 10 10/.35);border-color:var(--line)}
.statbook-world .site-footer a,.statbook-world .site-footer button,.statbook-world .atlas-credits a{color:#d4d4d4;text-decoration:underline}
.statbook-world .atlas-credits summary{color:#d4d4d4;min-height:36px}
.statbook-world .atlas-credits p{max-width:75ch}
.statbook-world .toast{background:rgb(10 10 10/.94);backdrop-filter:blur(24px);color:#fafafa;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px}
.statbook-world .compare-tray{left:65%;width:min(700px,calc(70vw - 32px));background:rgb(10 10 10/.94);color:#fafafa;border:1px solid rgb(255 255 255/.15);backdrop-filter:blur(24px);border-radius:14px;box-shadow:var(--shadow)}
.statbook-world .compare-chip{color:#fafafa}
.statbook-world .loading-title,.statbook-world .loading-line,.statbook-world .loading-table{background:rgb(255 255 255/.08)}

@media(max-width:1199px){
  body.statbook-world::after{clip-path:none}
  .statbook-world .workspace::before{left:0;border-left:0}
  .statbook-world #content{margin-left:0;padding:24px 16px;min-height:calc(100vh - 48px)}
  .sky-world-stage{display:none}
  .statbook-world .site-footer,.statbook-world .atlas-credits{margin-left:0;padding:20px 16px}
  .statbook-world .compare-tray{left:50%;width:min(700px,calc(100vw - 24px))}
}
@media(max-width:760px){
  .sky-header-controls{margin-left:auto;gap:8px}
  .statbook-world .topbar .atlas-brand{font-size:15px;gap:6px}
  .sky-brand-copy small{font-size:11px}
  .statbook-world .topbar .global-search-wrap{width:38px;height:36px;padding:0 9px;flex:none;max-width:none}
  .statbook-world .global-search-wrap input{width:0;flex:0;padding:0;opacity:0}
  .statbook-world .global-search-wrap kbd{display:none}
  .statbook-world .topbar .global-search-wrap:focus-within{position:absolute;right:10px;top:6px;width:calc(100vw - 20px);z-index:3;padding:0 12px;background:#101c2d}
  .statbook-world .global-search-wrap:focus-within input{width:auto;flex:1;opacity:1}
  .statbook-world .topbar .mobile-menu{min-width:36px;width:36px;padding:0}
  .sky-home-label{display:none}
  .sky-header-utilities{gap:8px;margin-left:0}
  .statbook-world .snapshot-button{display:inline-flex;max-width:125px;font-size:12px;padding:0 10px}
  .sky-header-about{display:none}
  .statbook-world .sidebar{left:10px;right:10px;width:auto;max-height:calc(100dvh - 66px)}
  .statbook-world .search-suggestions{left:auto;right:0;max-width:calc(100vw - 20px)}
  .statbook-world #content{padding:24px 16px}
  .statbook-world h1{font-size:28px;line-height:1.2}
  .statbook-world h2{font-size:20px}
  .statbook-world .page-heading{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:20px}
  .statbook-world .page-subtitle{font-size:14px;max-width:100%}
  .statbook-world .summary-strip{gap:10px 20px}
  .statbook-world .summary-value{font-size:20px}
  .statbook-world .summary-label{font-size:13px}
  .statbook-world .heading-actions{flex-wrap:wrap}
  .statbook-world .inspector{display:block}
  .statbook-world .league-grid{grid-template-columns:1fr}
  .statbook-world .result-match{gap:8px}
  .statbook-world .result-match .team-link{font-size:12px}
  .statbook-world .match-time,.statbook-world .match-status{font-size:11px}
  .statbook-world .document-panel{padding:16px}
  .statbook-world .document-panel p,.statbook-world .document-panel li{font-size:14px}
  .statbook-world .atlas-filter-drawer>summary{gap:5px;min-height:42px}
  .statbook-world .atlas-snapshot-date{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.statbook-world *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@supports not (backdrop-filter:blur(1px)){.statbook-world .topbar,.statbook-world .sidebar,.statbook-world .search-suggestions{background:rgb(10 10 10/.96)}}



.statbook-world .inspector>*,.statbook-world .team-overview{min-width:0}

.statbook-world .snapshot-button .sky-snapshot-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-number-one>summary svg{display:inline-block}
@media(max-width:760px){
 .statbook-world .global-search-wrap>svg{display:block;pointer-events:none}
 .statbook-world .topbar .global-search-wrap input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:text}
 .statbook-world .topbar .global-search-wrap:focus-within input{position:static;inset:auto;width:auto;height:34px;opacity:1}
 .statbook-world .pp-identity h1,.statbook-world .home-profile-copy h1{font-size:36px;line-height:40px}
}

.statbook-world .pp-identity h1,.statbook-world .home-profile-copy h1{font-weight:400}
.statbook-world .rating-chart .button[data-open-team]>svg{width:16px;height:16px;flex:0 0 16px}

/* Give data pages the full canvas; reserve the split only for actual player photos. */
@media(min-width:1200px){
  body.statbook-world:not(.player-profile-mode):not(:has(.home-view))::after{clip-path:none}
  body.statbook-world:not(.player-profile-mode):not(:has(.home-view)) .workspace::before{left:0;border-left:0}
  body.statbook-world:not(.player-profile-mode):not(:has(.home-view)) :is(#content,.site-footer,.atlas-credits){margin-left:0}
  body.statbook-world:not(.player-profile-mode):not(:has(.home-view)) .sky-world-stage{display:none}
  body.statbook-world:not(.player-profile-mode):not(:has(.home-view)) .compare-tray{left:50%;width:min(700px,calc(100vw - 32px))}
}

/* Selected Hextech Archive theme, shared independently of the active route. */
:root {
 --statbook-scene:url("assets/themes/hextech-archive-desktop.webp");
 --statbook-panel:rgb(7 21 33 / .89);
 --statbook-field:rgb(8 23 36 / .82);
 --statbook-line:rgb(208 170 100 / .24);
 --statbook-header:rgb(208 170 100 / .10);
 --statbook-brass:#dfc38c;
}
@media (max-width:760px) {
 :root {--statbook-scene:url("assets/themes/hextech-archive-mobile.webp")}
}
html body.statbook-world {
 --sky-scene-image:var(--statbook-scene)!important;
 --canvas:#071521;--paper:rgb(7 21 33 / .78);--paper-raised:rgb(13 31 46 / .94);
 --line:var(--statbook-line);--muted:#bdc8ce;--muted-strong:#d6dfe4;
 --brand-focus:var(--statbook-brass);--brand-border:var(--statbook-line);--brand-wash:rgb(208 170 100 / .13);
 --gc-panel:var(--statbook-panel);--gc-line:var(--statbook-line);--gc-accent:var(--statbook-brass);
 --tp:var(--statbook-panel);--tl:var(--statbook-line);
 background:#071521;scrollbar-color:#9b855c #071521;
}
html body.statbook-world::before {
 content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;
 background:linear-gradient(rgb(4 13 23 / .29),rgb(4 13 23 / .29)),var(--statbook-scene) center top / cover no-repeat!important;
}
html body.statbook-world::after {content:none!important}
html body.statbook-world .workspace::before {background:transparent!important;border:0}
html body.statbook-world .topbar {background:rgb(4 15 25 / .87);border-bottom-color:var(--statbook-line)}
html body.statbook-world :is(.sidebar,.search-suggestions) {background:rgb(5 17 29 / .98);border-color:var(--statbook-line)}
html body.statbook-world .home-view.home-hub {--home-panel:var(--statbook-panel);--home-line:var(--statbook-line);--home-muted:#bdc8ce}
html body.statbook-world .ls-view.ls-layout-b {--ls-panel:var(--statbook-panel);--ls-boundary:var(--statbook-line);--ls-muted:#bdc8ce}
html body.statbook-world .cc-dossier {--cc-panel:var(--statbook-panel);--cc-line:var(--statbook-line);--cc-muted:#bdc8ce}
html body.statbook-world .leaderboards-view {--lb-panel:var(--statbook-panel);--lb-boundary:var(--statbook-line)}
html body.statbook-world .pp-career-view {--pp-line:var(--statbook-line);--pp-muted:#bdc8ce}
html body.statbook-world :is(.gc-results,.lb-results,.stats-results,.pr-results,.pr-history-results,.ce-results,.pcr-results) {background:var(--statbook-panel);border-color:var(--statbook-line)}
html body.statbook-world :is(.elo-table,.pr-table,.ce-table,.pcr-table,.stats-table) {background:var(--statbook-panel)}
html body.statbook-world :is(.gc-table,.elo-table,.pr-table,.ce-table,.pcr-table,.stats-table,.lb-table)>thead>tr>th {background:var(--statbook-header);border-color:var(--statbook-line)}
html body.statbook-world :is(.gc-search-box,.stats-filters,.pr-primary-controls,.ce-primary-controls,.stats-primary-search) {background:var(--statbook-field);border-color:var(--statbook-line)}
html body.statbook-world :is(.stats-field select,.ls-subject-picker select,.ls-standings-head select,.cc-dossier select,.global-search-wrap) {background:var(--statbook-field);border-color:var(--statbook-line)}
html body.statbook-world :is(select option,.cc-patches thead th) {background:#0b1f30}
html body.statbook-world .gc-table>thead>tr>th {background:var(--statbook-header)!important}
html body.statbook-world .gc-search-box {background:var(--statbook-field)!important}
html body.statbook-world .pp-career-view :is(.pp-statistics,.pp-archive-section,.pp-trophy-room) {background:var(--statbook-panel)}
html body.statbook-world .pp-career-view .pp-tab-overview .pp-trophy-card {background:linear-gradient(90deg,rgb(5 15 25 / .80),rgb(5 15 25 / .62)),var(--statbook-scene) center/cover}
html body.statbook-world .pp-career-view .pp-tabs {background:rgb(5 17 29 / .90)}
html body.statbook-world :is(.et-tooltip,.ls-hover) {background:#091b2a;border-color:var(--statbook-line)}
html body.statbook-world .cc-dossier-identity:after {background:linear-gradient(180deg,transparent 20%,rgb(7 21 33 / .12) 42%,#071521 100%)}
html body.statbook-world .home-hub :is(.home-hub-profile,.home-hub-quicklinks a) {background:var(--statbook-panel);border-color:var(--statbook-line)}
html body.statbook-world .stats-tabs {background:rgb(5 17 29 / .94);border-color:var(--statbook-line)}
