.leaderboard-page{background:radial-gradient(ellipse at 20% 0,#31453166,transparent 50%),#101d17;color:#ebe8d6}.leaderboard-page .account-header{max-width:1240px;margin:auto;padding:24px 28px;gap:20px}.leaderboard-page .account-header nav{display:flex;gap:22px;white-space:nowrap}.leaderboard-page .account-header nav a{font-size:14px;color:#dcca91}.leaderboard-main{max-width:1240px;margin:auto;padding:30px 28px 60px}.leaderboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px 0 30px}.leaderboard-hero .eyebrow{font-size:12px;letter-spacing:.22em;color:#d6a568}.leaderboard-hero h1{font-family:var(--serif);font-size:44px;color:#f4d89c;letter-spacing:.08em;margin:10px 0}.leaderboard-hero p{font-size:16px;line-height:1.7;color:#a8bba4;margin:0}.leaderboard-total{display:grid;text-align:right;gap:7px}.leaderboard-total strong{font:750 38px/1.2 system-ui;color:#ecd097;font-variant-numeric:tabular-nums}.leaderboard-total span{font-size:13px;color:#a9b99e}
.my-rank{display:flex;align-items:center;gap:22px;padding:18px 22px;border:1px solid #b2985c88;border-radius:14px;background:linear-gradient(100deg,#40503777,#1b3025);min-width:0;margin-bottom:26px}.my-rank>.secondary{margin-left:auto;flex:none;text-decoration:none;color:#edd59c;font-size:13px;border-color:#b19b6044}.my-rank>span{font-size:14px;line-height:1.6}.my-rank-place{display:grid;gap:3px;flex:none}.my-rank-place small{font-size:12px;color:#b4c0a5}.my-rank-place strong{font-size:28px;color:#f6d794}.my-rank .rank-user{flex:1}.my-rank-xp{display:grid;gap:5px}.my-rank-xp strong{font-size:18px;color:#f1dfb8;white-space:nowrap}.my-rank-xp small{font-size:11px}.my-rank-xp span{font-size:11px;color:#aebfa4}
.rank-user{display:flex;align-items:center;gap:13px;min-width:0}.rank-user-avatar{width:42px;height:42px;display:grid;place-items:center;flex:none;border:1px solid #b8a16d66;background:#3b5237;color:#efce8b;border-radius:12px;overflow:hidden;font-size:20px;font-weight:750}.rank-user-avatar .player-photo{width:100%;height:100%}.rank-user-avatar img{width:100%;height:100%;object-fit:cover}.rank-user-name{min-width:0;display:grid;gap:4px}.rank-user-name strong{font-size:16px;overflow-wrap:anywhere;line-height:1.4}.rank-user-name small{font-size:11px;color:#ebc478}.rank-level{display:flex;gap:12px;align-items:center;min-width:0}.rank-level>span:last-child{display:grid;gap:4px}.rank-level strong{font-size:15px;color:#e5c98c}.rank-level small{font-size:12px;color:#aebeaa}.leaderboard-badge{display:flex;width:52px;height:52px;align-items:center;justify-content:center;flex:none}.leaderboard-badge .rank-art{width:calc(40px * var(--rank-scale,1));height:calc(46px * var(--rank-scale,1))}
.rank-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:end;margin:34px 0}.podium-card{position:relative;overflow:hidden;padding:22px;border:1px solid #8c906955;border-radius:18px;background:radial-gradient(ellipse at 50% 30%,#61705344,transparent 70%),linear-gradient(145deg,#293d2f,#182b21);text-align:center}.podium-1{order:2;border-color:#cfae67;background:radial-gradient(ellipse at 50% 20%,#b9954430,transparent 80%),linear-gradient(145deg,#3a4831,#192e22);padding-top:30px;padding-bottom:28px;box-shadow:0 10px 25px #0003}.podium-2{order:1}.podium-3{order:3}.podium-place{display:flex;justify-content:space-between;color:#e6ca8f;font-weight:750;font-size:15px}.podium-place span{color:#9eac96;font:650 11px/1.5 system-ui;letter-spacing:.08em}.podium-emblem{height:110px;display:flex;align-items:center;justify-content:center;margin:8px 0}.podium-emblem .rank-art{width:calc(77px * var(--rank-scale,1));height:calc(90px * var(--rank-scale,1));filter:drop-shadow(0 6px 5px #0007)}.podium-card .rank-user{justify-content:center}.podium-card .rank-user-avatar{width:30px;height:30px;border-radius:9px;font-size:15px}.podium-card .rank-user-name strong{font-size:17px}.podium-card p{font-size:14px;color:#d3c596;margin:13px 0}.podium-card p span{font-size:12px;color:#97ae97;margin-left:5px}.podium-xp{font-size:24px;color:#f3d495;font-variant-numeric:tabular-nums}.podium-xp small{font-size:11px;font-weight:500;color:#aebe9c}
.leaderboard-list{border:1px solid #9e9b6644;border-radius:18px;overflow:hidden;background:#1c3025}.leaderboard-list>header{display:flex;justify-content:space-between;align-items:center;padding:26px 28px 14px;gap:20px}.leaderboard-list h2{font-size:22px;font-weight:800;letter-spacing:.02em;margin:0 0 9px;color:#f0d6a0;scroll-margin-top:20px}.leaderboard-list header p{font-size:12px;font-weight:550;color:#b5c3ab;line-height:1.75;margin:0}.leaderboard-list header button{font-size:13px;font-weight:650;white-space:nowrap;padding:10px 13px}#rankStatus{font-size:12px;font-weight:600;line-height:1.6;color:#b9c8ac;padding:0 28px;margin:2px 0 20px}.rank-column-head,.rank-row{display:grid;grid-template-columns:70px minmax(0,1fr) 180px 145px;gap:16px;align-items:center}.rank-column-head{font-size:13px;font-weight:750;letter-spacing:.04em;color:#c0ccaf;padding:15px 28px;background:#101f1799;border-top:1px solid #a5b39314;border-bottom:1px solid #a5b39326}.rank-column-head>span:last-child{text-align:right}.rank-rows{list-style:none;padding:0;margin:0}.rank-row{position:relative;padding:17px 28px;min-height:90px;border-bottom:1px solid #a5b3931c}.rank-row:nth-child(even){background:#12251b4d}.rank-row.is-self{background:#b69b4230;box-shadow:inset 3px 0 #edc278}.rank-place{font:750 20px/1.3 system-ui,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums;color:#afc0a8}.rank-place small{display:none}.rank-place.top-three{color:#f6d092;font-weight:850}.rank-xp{text-align:right;color:#f0dca9;font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}.rank-xp small{font-size:10px;color:#aab99e;font-weight:650;margin-left:4px}.rank-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;padding:22px 16px}.rank-page-numbers{display:flex;align-items:center;gap:5px}.rank-pagination button{min-width:35px;min-height:36px;padding:7px 10px;background:#304333;border:1px solid #8a966a44;border-radius:7px;color:#d6dfc8;font-size:13px}.rank-pagination button[aria-current=page]{background:#e6bf74;color:#26321f;font-weight:800}.rank-pagination button:disabled{opacity:.35;cursor:default}#rankJump{display:flex;align-items:center;gap:8px;margin-left:12px;font-size:12px;color:#aabb9f}#rankPageInput{width:55px;padding:7px;background:#11271b;border:1px solid #7b8f6655;border-radius:6px;color:#f2d69b;text-align:center;font-size:14px}.rank-footnote{text-align:center;font-size:12px;line-height:1.7;color:#8fa58c;padding-top:13px}.leaderboard-page footer{max-width:1240px;margin:auto}.leaderboard-page [aria-busy=true] #rankRows{opacity:.55}
@media(max-width:900px){.my-rank{gap:14px;flex-wrap:wrap}.my-rank-xp{margin-left:auto}.my-rank>.secondary{margin-left:0}.rank-column-head,.rank-row{grid-template-columns:45px minmax(0,1fr) 140px 100px;gap:12px}.rank-podium{gap:12px}.podium-card{padding:18px 12px}.podium-1{padding:25px 12px}.leaderboard-hero h1{font-size:36px}}
@media(max-width:600px){.leaderboard-page .account-header{padding:18px 14px;gap:12px}.leaderboard-page .account-brand{gap:9px}.leaderboard-page .account-brand>span{width:36px;height:36px;font-size:25px}.leaderboard-page .account-brand b{font-size:16px}.leaderboard-page .account-brand small{font-size:10px}.leaderboard-page .account-header nav{gap:10px}.leaderboard-page .account-header nav a{font-size:12px}.leaderboard-main{padding:18px 12px 35px}.leaderboard-hero{gap:12px;margin:12px 2px 22px}.leaderboard-hero h1{font-size:29px;letter-spacing:.03em}.leaderboard-hero p{font-size:12px}.leaderboard-hero .eyebrow{font-size:10px}.leaderboard-total strong{font-size:26px}.leaderboard-total span{font-size:10px;max-width:90px;line-height:1.6}.my-rank{padding:13px;gap:12px;border-radius:11px;margin-bottom:20px}.my-rank .rank-user{flex:1;min-width:130px}.my-rank .rank-level{margin-left:auto}.my-rank-xp{margin:0;flex:1}.my-rank>.secondary{padding:9px;font-size:12px}.my-rank-place strong{font-size:24px}.my-rank .leaderboard-badge{width:38px}.my-rank .rank-level{gap:6px}.my-rank .rank-level strong{font-size:13px}.rank-podium{gap:7px;margin:24px 0}.podium-card{padding:13px 6px;border-radius:12px}.podium-1{padding:20px 6px}.podium-place{justify-content:center;font-size:13px}.podium-place span{display:none}.podium-emblem{height:85px;margin:4px 0}.podium-emblem .rank-art{width:calc(56px * var(--rank-scale,1));height:calc(65px * var(--rank-scale,1))}.podium-card .rank-user{display:grid;gap:6px;justify-items:center}.podium-card .rank-user-name strong{font-size:13px}.podium-card .rank-user-avatar{width:28px;height:28px}.podium-card p{font-size:12px;margin:8px 0}.podium-card p span{display:block;font-size:10px;margin:4px 0 0}.podium-xp{font-size:18px}.podium-xp small{font-size:9px}.leaderboard-list>header{padding:18px 14px 10px;gap:10px}.leaderboard-list h2{font-size:18px}.leaderboard-list header p{font-size:11px}.leaderboard-list header button{font-size:11px;padding:8px}#rankStatus{padding:0 14px;font-size:11px}.rank-column-head{display:none}.rank-row{grid-template-columns:34px minmax(0,1fr) auto;gap:6px 10px;padding:13px 12px;min-height:94px}.rank-row>.rank-place{grid-row:1/3;font-size:19px}.rank-row>.rank-user{grid-column:2;grid-row:1/3;gap:9px}.rank-user-avatar{width:34px;height:34px;border-radius:10px}.rank-user-name strong{font-size:14px}.rank-row>.rank-level{grid-column:3;grid-row:1;gap:5px}.rank-row .leaderboard-badge{width:34px;height:36px}.rank-row .leaderboard-badge .rank-art{width:calc(28px * var(--rank-scale,1));height:calc(33px * var(--rank-scale,1))}.rank-row .rank-level strong{font-size:13px}.rank-row .rank-level small{font-size:10px}.rank-row>.rank-xp{grid-column:3;grid-row:2;font-size:14px}.rank-pagination{gap:7px;padding:18px 10px}.rank-pagination button{padding:6px;min-width:29px;font-size:12px}.rank-page-numbers{gap:3px}#rankJump{flex-basis:100%;justify-content:center;margin:6px 0 0}.rank-footnote{font-size:11px}}

.leaderboard-page a{color:#ecc983;text-decoration:none}.leaderboard-page{font-family:system-ui,'Microsoft YaHei',sans-serif}.rank-user-avatar .player-photo{position:relative;display:grid;place-items:center}.rank-user-avatar img{position:absolute;inset:0}
/* Compact record icons stay in one column; meanings expand only on request. */
.has-battle-record .rank-column-head,.has-battle-record .rank-row{grid-template-columns:56px minmax(190px,1.2fr) minmax(226px,1fr) minmax(140px,.65fr) minmax(110px,.5fr);column-gap:18px}
.has-battle-record .rank-column-head>span:not(:nth-child(2)){text-align:center}
.has-battle-record .rank-row>.rank-place,.has-battle-record .rank-row>.rank-xp{text-align:center}
.has-battle-record .rank-row>.rank-level{justify-content:center}
.rank-row .rank-user-name strong{font-weight:750;letter-spacing:.01em}
.rank-row .rank-level strong{font-weight:750}
.rank-row .rank-level small{font-weight:600;color:#b8c6ad}
@media(hover:hover){.rank-row:not(.is-self):hover{background:#a9bd9b0b}}
.rank-record{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;flex-wrap:wrap}
.rank-stat{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:62px;min-height:38px;padding:7px 8px;border:1px solid #bbcca21a;border-radius:9px;background:#10251b66;color:#b8d7c7;box-shadow:inset 0 1px #f5ffe905;font:800 16px/1.3 system-ui;cursor:pointer;font-variant-numeric:tabular-nums;white-space:nowrap}
.rank-stat svg{width:20px;height:20px;flex:none;filter:drop-shadow(0 1px 1px #0005)}
.rank-stat span{color:#f1ecda}.rank-stat.stat-games{color:#b9dce5}.rank-stat.stat-wins{color:#f3cc79}.rank-stat.stat-bankruptcies{color:#d99590}
.rank-stat:hover,.rank-stat[aria-expanded=true]{background:#d4dab410;border-color:#b3c99b40}.rank-stat:focus-visible{outline:2px solid #f2ce88;outline-offset:2px}
.rank-record-note{grid-column:2/-1;margin:0;padding:8px 12px;border-left:2px solid #c2b274;background:#0d201680;border-radius:0 6px 6px 0;color:#c7d5bb;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.rank-record-note[hidden]{display:none}
.rank-loading{display:grid;place-items:center;min-height:190px;padding:28px;color:#b9c8ac;font-size:14px;font-weight:600;text-align:center}
.rank-page-size{white-space:nowrap}
.has-invitation-record .rank-column-head,.has-invitation-record .rank-row{grid-template-columns:56px minmax(220px,1.4fr) minmax(150px,.7fr) minmax(140px,.65fr);column-gap:18px}
.has-invitation-record .rank-column-head>span:not(:nth-child(2)),.has-invitation-record .rank-row>.rank-place{text-align:center}
.has-invitation-record .rank-row>.rank-level{justify-content:center}
.has-invitation-record .rank-row>.rank-xp{justify-self:center;text-align:center;min-width:96px;padding:9px 15px;border:1px solid #d0b97330;border-radius:10px;background:#cdb7780a;color:#f4d695}
.has-invitation-record .rank-xp small{margin-left:6px;color:#c2cbaa}
@media(max-width:900px) and (min-width:601px){.has-invitation-record .rank-column-head,.has-invitation-record .rank-row{grid-template-columns:40px minmax(0,1fr) 140px 118px;gap:12px}.has-invitation-record .rank-row>.rank-xp{min-width:84px;padding:8px 10px}}
@media(max-width:600px){.has-invitation-record .rank-row{grid-template-columns:28px minmax(0,1fr) auto;gap:8px 10px;min-height:110px}.has-invitation-record .rank-row>.rank-xp{padding:6px 10px;min-width:75px;border-radius:8px}.rank-loading{min-height:140px;padding:22px;font-size:13px}}
@media(max-width:1000px) and (min-width:761px){.has-battle-record .rank-column-head,.has-battle-record .rank-row{grid-template-columns:36px minmax(0,1fr) 182px 112px 90px;gap:10px}.has-battle-record .rank-row{padding-left:18px;padding-right:18px}.has-battle-record .rank-column-head{padding-left:18px;padding-right:18px}.has-battle-record .rank-level{gap:4px}.has-battle-record .leaderboard-badge{width:40px}.rank-record{gap:4px}.rank-stat{min-width:52px;padding:6px 5px;font-size:14px;gap:5px}.rank-stat svg{width:17px;height:17px}}
@media(max-width:760px){.has-battle-record .rank-column-head{display:none}.has-battle-record .rank-row{grid-template-columns:28px minmax(0,1fr) auto;gap:6px 8px;padding:13px 12px;min-height:108px}.has-battle-record .rank-row>.rank-place{grid-column:1;grid-row:1/3;font-size:19px}.has-battle-record .rank-row>.rank-user{grid-column:2;grid-row:1;gap:8px}.has-battle-record .rank-row>.rank-level{grid-column:3;grid-row:1;gap:4px}.has-battle-record .rank-row .leaderboard-badge{width:32px;height:36px}.has-battle-record .rank-row .leaderboard-badge .rank-art{width:calc(28px * var(--rank-scale,1));height:calc(33px * var(--rank-scale,1))}.has-battle-record .rank-row .rank-level strong{font-size:13px}.has-battle-record .rank-row .rank-level small{font-size:10px}.has-battle-record .rank-row>.rank-record{grid-column:2;grid-row:2;gap:4px}.has-battle-record .rank-row>.rank-xp{grid-column:3;grid-row:2;font-size:14px}.rank-stat{min-width:40px;font-size:12px;gap:3px;padding:6px 4px;min-height:36px;border-radius:7px}.rank-stat svg{width:16px;height:16px}.rank-record-note{grid-row:3;font-size:11px}.has-battle-record .rank-user-name strong{font-size:14px}}
.rank-tabs{display:flex;gap:8px;max-width:460px;padding:6px;border:1px solid #a9956266;border-radius:14px;background:#0c1c14b3;margin:0 0 24px}.rank-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-height:50px;padding:12px 18px;border:1px solid transparent;border-radius:9px;background:transparent;color:#aebda5;font-size:16px;font-weight:750;white-space:nowrap}.rank-tabs button span{font-size:21px;line-height:1}.rank-tabs button[aria-selected=true]{background:linear-gradient(135deg,#f0d395,#cea356);color:#253522;border-color:#f6dda5;box-shadow:0 3px 8px #0003}.rank-tabs button:focus-visible{outline:2px solid #f3d397;outline-offset:3px}.rank-tabs button:not([aria-selected=true]):hover{background:#354b32;color:#ead7a8}
@media(max-width:600px){.rank-tabs{max-width:none;padding:5px;margin-bottom:18px;gap:5px;border-radius:12px}.rank-tabs button{font-size:14px;min-height:44px;padding:10px 8px;gap:7px}.rank-tabs button span{font-size:19px}}
@media(max-width:600px){.my-rank{display:grid;grid-template-columns:75px minmax(0,1fr);gap:14px 12px;align-items:center}.my-rank-place{grid-column:1;grid-row:1}.my-rank>.rank-user{grid-column:2;grid-row:1;min-width:0}.my-rank>.rank-level{grid-column:1;grid-row:2;margin:0;justify-content:flex-start}.my-rank>.my-rank-xp{grid-column:2;grid-row:2;min-width:0}.my-rank-xp span{font-size:12px;line-height:1.5}.my-rank>.secondary{grid-column:1/-1;grid-row:3;justify-self:stretch;text-align:center;margin:0;padding:10px}}
