/* Formal performance center: scoped to avoid changing the BP and rating rooms. */
#stats-page .ranking-identity{display:inline-flex;align-items:center;gap:10px;min-width:0;color:inherit;font-size:inherit;margin:0}
#stats-page .ranking-identity>span{color:inherit;font-size:inherit;margin:0;overflow-wrap:anywhere}
#stats-page .ranking-identity img{width:36px;height:36px;flex:0 0 36px;object-fit:cover;border:1px solid #485160;border-radius:7px}
#stats-page .ranking-record{white-space:nowrap;font-variant-numeric:tabular-nums}
#stats-page .ranking-best-users{min-width:140px;max-width:300px;overflow-wrap:anywhere;color:#b9cddd}
body.performance-mode{--performance-nav-width:216px;background:#070d15;color:#e7edf4}
.performance-mode .app-shell{width:100%;max-width:none;margin:0;padding:0}
.performance-mode .topbar{position:relative;top:auto;margin-left:216px;padding:18px 38px;background:#0a121d;border-bottom:1px solid #21303d;min-height:78px}
#stats-page,#stats-page *{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif!important;letter-spacing:normal}
#stats-page{box-sizing:border-box;width:calc(100% - var(--performance-nav-width));max-width:none;padding:32px 38px 60px;margin:0 0 0 var(--performance-nav-width)}
#stats-page>.performance-content{width:100%;max-width:1514px;min-width:0;margin-inline:auto}
@media(max-width:1200px){body.performance-mode{--performance-nav-width:176px}}
@media(max-width:800px){body.performance-mode{--performance-nav-width:0px}}
#stats-page .performance-nav{position:fixed;inset:0 auto 0 0;width:216px;padding:28px 18px;display:flex;flex-direction:column;gap:8px;background:linear-gradient(180deg,#0e1926,#090f19);border-right:1px solid #21303d;z-index:20}
.performance-brand{display:flex;gap:12px;align-items:center;margin:0 8px 45px;font-weight:700;font-size:18px}.performance-brand>span{display:grid;place-items:center;width:38px;height:44px;border:1px solid #877341;color:#ddbf7a;font:italic 800 27px Georgia!important;border-radius:8px}.performance-brand small{display:block;font-size:10px;font-weight:400;color:#8193a5;margin-top:5px}.performance-nav-caption{color:#64778b;font-size:11px;padding:0 14px 14px}
#stats-page .performance-nav a{display:flex;align-items:center;text-align:left;gap:13px;border:1px solid transparent;background:transparent;padding:16px 14px;border-radius:8px;color:#8c9eae;font-size:14px;font-weight:500}
#stats-page .performance-nav a i{font-size:10px;color:#65798d;font-style:normal}.performance-nav a span{margin-left:auto;opacity:0}#stats-page .performance-nav a.active,#stats-page .performance-nav a:hover{background:linear-gradient(90deg,#dcbf791b,#dcbf7905);border-color:#ddbf793b;color:#ddbf7a}.performance-nav a.active span{opacity:1}.performance-nav-foot{margin-top:auto;border-top:1px solid #21303d;padding-top:22px;font-size:10px;color:#61758a;line-height:1.8}.performance-nav-foot span{display:inline-block;width:5px;height:5px;background:#ddbf7a;border-radius:50%;margin-right:5px}
#stats-page .page-toolbar{display:flex;align-items:center;gap:18px;margin-bottom:24px}#stats-page h1{font-size:32px;line-height:1.3;font-weight:700;margin:7px 0}#stats-page h2{font-size:22px;margin:6px 0}#stats-page h1 em,#stats-page h2 em{font-size:13px;color:#526478;font-style:normal;margin-left:12px;font-weight:400}#stats-page .eyebrow{color:#ddbf7a;font-size:10px;letter-spacing:2.5px;margin:0}.performance-subtitle{color:#8193a5;font-size:12px;margin:8px 0 0}.performance-tag{color:#ddbf7a;border:1px solid #ddbf7938;background:#ddbf790a;border-radius:20px;padding:7px 13px;font-size:11px;white-space:nowrap;margin-left:auto}
#stats-page button,#stats-page select,#stats-page input{border-radius:7px;font-size:12px;min-height:38px;box-shadow:none;text-shadow:none}#stats-page input,#stats-page select{background:#080f18;border:1px solid #263747;color:#dce5ef;padding:10px 12px}#stats-page button{padding:9px 15px;border:1px solid #2c3d4b;background:#111e2b;color:#d7e1eb}#stats-page button:hover{border-color:#ddbf7a;color:#ddbf7a}#stats-page .primary-btn{background:#ddbf7a;color:#151923;border-color:#ddbf7a;font-weight:700}#stats-page .back-btn{color:#f57989;background:transparent}#stats-page :focus-visible{outline:2px solid #ddbf7a;outline-offset:3px}
#stats-page .filter-bar{padding:16px;background:#0b1520;border:1px solid #21303d;border-radius:10px;gap:10px;margin-bottom:24px}#stats-page .filter-bar label{color:#8193a5;font-size:11px;flex:1}#stats-page .filter-bar label select{width:100%;max-width:none}#stats-page .filter-bar>select{flex:1;max-width:none}#stats-page .filter-bar>input{max-width:230px}#stats-page .filter-bar button{padding:9px 13px;min-height:38px}
#stats-page .panel{background:linear-gradient(140deg,#0f1b28,#0b141f);border:1px solid #21303d;border-radius:12px;padding:24px;box-shadow:none}#stats-page .panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 20px;padding:0 0 18px;border-bottom:1px solid #22303d}#stats-page .panel>header small{font-size:9px;letter-spacing:2px;color:#8293a5}#stats-page .performance-section{scroll-margin-top:24px;margin-bottom:48px}
#stats-page #stats-profile-title{display:flex;align-items:center;gap:14px;margin:25px 0 20px}#stats-profile-title img{width:54px;height:54px;border-radius:10px;border:1px solid #ddbf7977;object-fit:cover}#stats-profile-title strong{font-size:21px}#stats-profile-title small{display:block;margin-top:5px;color:#8193a5;font-size:11px}
#stats-page .stats-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:24px}#stats-page .stats-summary article{min-height:100px;border:1px solid #253440;border-radius:10px;padding:18px;background:linear-gradient(140deg,#111e2c,#0b141e);display:flex;flex-direction:column;justify-content:center;gap:11px}#stats-page .stats-summary small{font-size:11px;color:#8193a5}#stats-page .stats-summary strong{font-size:clamp(18px,1.7vw,28px);color:#e9eef5;font-weight:600;white-space:nowrap}#stats-page .stats-summary article:nth-child(2) strong,#stats-page .stats-summary article:nth-child(5) strong{color:#ddbf7a}
#stats-page .stats-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}#stats-page .radar-chart{min-height:365px;max-width:100%;margin:auto}#stats-page .radar-chart svg{max-height:390px;width:100%;overflow:visible}#stats-page .radar-position-caption{font-size:11px;color:#8293a5;margin:0 0 4px}#stats-page .radar-chart svg text{fill:#b4c3d2}#stats-page .radar-chart svg .radar-value-label{fill:#e2c989;font-size:11px!important}#stats-sample-badge{font-size:11px;color:#8293a5}
#stats-page .stats-heroes{max-height:405px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3b4651 transparent}#stats-page .stats-heroes article{display:flex;align-items:center;gap:13px;border:0;border-bottom:1px solid #21303d;background:transparent;padding:13px 0;border-radius:0;font-size:12px}#stats-page .stats-hero-icon{width:42px;height:42px;min-width:42px;border:1px solid #485160;border-radius:7px}#stats-page .stats-heroes article>div{flex:1;min-width:0}#stats-page .stats-heroes strong{font-size:13px;color:#dce5ee}#stats-page .stats-heroes small{display:block;font-size:10px;color:#7d91a6;margin-top:5px}#stats-page .stats-heroes span{color:#94a8bc;font-size:11px}#stats-page .stats-heroes b{color:#ddbf7a;font-size:15px;min-width:48px;text-align:right}#stats-page .stats-series-panel{margin-top:24px}#stats-page #stats-series-list{max-height:420px;overflow:auto;scrollbar-width:thin}
#stats-page .performance-comparison{grid-template-columns:minmax(150px,1fr) minmax(320px,1.9fr) minmax(150px,1fr);gap:20px;align-items:stretch;padding:0}#stats-page .performance-comparison>aside{background:#10233355;border:1px solid #59c4f830;border-radius:10px;padding:18px}#stats-page .performance-comparison>aside:last-child{background:#29192155;border-color:#f5798930}#stats-page .performance-comparison>div{align-self:center;min-width:0}#stats-page .performance-comparison h3{font-size:15px;text-align:center;color:#59c4f8;margin:12px 0}#stats-page .performance-comparison>aside:last-child h3{color:#f57989}#stats-page .performance-comparison h4{font-size:10px;letter-spacing:2px;border-top:1px solid #21303d;margin-top:18px;padding-top:18px}.performance-player-portrait{display:block;width:64px;height:64px;margin:auto;border:2px solid #536c81;border-radius:14px}.performance-player-summary{text-align:center;color:#8da1b5;font-size:11px;line-height:1.8}.performance-player-summary b{color:#e0c783;font-weight:500}
#stats-page #performance-rank-kind{display:none}.performance-rank-tabs{display:flex;gap:8px;margin:20px 0}#stats-page .performance-rank-tabs button{background:transparent;color:#889daf;border-color:transparent;padding:12px 24px}#stats-page .performance-rank-tabs button.active{background:#ddbf7912;border-color:#ddbf7955;color:#ddbf7a}#stats-rankings>.filter-bar:has(#performance-rank-position.hidden){display:none}#stats-rankings>.filter-bar{background:transparent;padding:0;border:0}#stats-rankings #performance-rank-position{max-width:180px}.performance-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.performance-podium article{position:relative;overflow:hidden;padding:24px;border:1px solid #354655;background:linear-gradient(115deg,#172533,#0b1520);border-radius:10px;min-height:145px}.performance-podium article:first-child{border-color:#8b7441;background:linear-gradient(115deg,#302a1c,#111a22)}.performance-podium em{position:absolute;right:15px;top:0;font-size:100px;font-weight:800;font-style:normal;color:#ffffff05;pointer-events:none}.performance-podium small{color:#9aaaba;font-size:10px}.performance-podium h3{position:relative;font-size:16px;margin:14px 0;overflow-wrap:anywhere}.performance-podium strong{font-size:28px;color:#ddbf7a}.performance-podium span{color:#8193a5;font-size:10px;margin-left:8px}#stats-page .performance-ranking th{font-size:10px;color:#738a9f;background:#0a131e;font-weight:400}#stats-page .performance-ranking td{font-size:13px;padding:17px}#stats-page .performance-ranking td:first-child{color:#ddbf7a;width:85px}#stats-page .performance-ranking tr:hover{background:#15233077}#stats-page .performance-ranking strong{font-size:19px}#stats-page .empty-state{padding:38px 20px;color:#8193a5;text-align:center}
@media(max-width:1200px){#stats-page{padding:24px;margin-left:176px}#stats-page .performance-nav{width:176px;padding:24px 12px}.performance-mode .topbar{margin-left:176px;padding:18px 24px}.performance-brand{font-size:15px;gap:8px}.performance-brand>span{width:30px}.performance-tag{display:none}#stats-page .stats-summary{grid-template-columns:repeat(3,1fr)}#stats-page .performance-comparison{gap:12px;grid-template-columns:minmax(120px,1fr) minmax(280px,1.8fr) minmax(120px,1fr)}#stats-page .performance-comparison>aside{padding:12px}}
@media(max-width:800px){.performance-mode .topbar{margin-left:0;padding:14px}#stats-page{margin:0;padding:16px}#stats-page .performance-nav{position:sticky;inset:8px auto auto;width:100%;padding:5px;flex-direction:row;z-index:5;border:1px solid #283c4a;border-radius:10px;margin-bottom:24px}#stats-page .performance-nav a{flex:1;padding:12px 8px;justify-content:center;font-size:12px}.performance-brand,.performance-nav-caption,.performance-nav-foot,.performance-nav a span{display:none}#stats-page .stats-main-grid{grid-template-columns:1fr}#stats-page .performance-comparison{grid-template-columns:1fr 1fr}#stats-page .performance-comparison>div{grid-column:1/-1;grid-row:1}.performance-podium{gap:8px}.performance-podium article{padding:14px}.performance-podium h3{font-size:12px}.performance-podium strong{font-size:22px}#stats-page .panel{padding:16px}#stats-page .performance-rank-tabs button{padding:10px}#stats-page h1{font-size:26px}#stats-page .stats-summary article{padding:12px}#stats-page .stats-summary strong{font-size:19px}}
