@import url('./arena-solo.css');
/* Account surfaces only. Battle layout, assets and effects remain untouched. */
.account-gate,.account-page,.account-menu{min-height:100svh;color:#e8e9e9;background:linear-gradient(110deg,#030a10ed,#07121bda 50%,#0d1520b5),url('art/arena-citadel.png') center/cover fixed;font-size:16px;line-height:1.5}
.account-gate{display:grid;place-items:center;padding:35px 18px}.account-gate-card{width:min(100%,470px);background:linear-gradient(145deg,#14212be8,#030a12f7);border:1px solid #b19a65;padding:32px;box-shadow:0 20px 70px #0009,inset 0 0 0 5px #101a23;border-radius:8px}
.account-gate h1,.account-menu h1{font-family:Georgia,serif;font-weight:400;text-align:center;color:#ecd4a3;font-size:30px;line-height:1.15;margin:12px 0 25px}.account-gate h1 span,.account-menu h1 span{display:block;font-size:.8em;letter-spacing:.2em;margin-top:8px}.account-gate .eyebrow{text-align:center;color:#c7b58f}.account-gate h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:20px 0 18px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.auth-tabs .active{border-color:#d8b66d;background:#3c3424;color:#ffe6ab}.account-gate label,.private-actions label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:16px}.account-gate input,.private-actions input{width:100%;background:#06131e;border:1px solid #637382;border-radius:4px;color:#f2f7fa;font:inherit;font-size:17px;padding:12px;min-height:47px}.account-gate input:focus{outline:2px solid #e4c57e;outline-offset:2px}.account-gate label small{font-size:13px;color:#b6c3ce}.account-gate form>.primary{width:100%;min-height:49px;font-size:17px}.account-message{color:#f0c893;font-size:15px;line-height:1.5;min-height:22px;margin:13px 0;overflow-wrap:anywhere}.account-gate>.quiet,.account-gate-card>.quiet{display:block;margin:16px auto 0;font-size:14px}.account-gate .menu-credit{font-size:13px;text-align:center;margin-top:24px;color:#a6b2bb}
.account-menu{padding:28px;display:flex;flex-direction:column;justify-content:flex-start}.account-menu .menu-frame{margin:auto;width:min(100%,560px);padding:35px 48px;background:linear-gradient(150deg,#0c1722e8,#030912ec);box-shadow:0 10px 65px #0008}.account-menu .menu-actions{gap:10px}.account-menu .menu-actions button{min-height:51px;font-size:17px;letter-spacing:.06em}.account-identity{display:flex;justify-content:space-between;align-items:center;gap:15px;width:min(1650px,100%);margin:0 auto 24px;padding:10px 18px;border-bottom:1px solid #988053;background:#051018bc}.account-identity>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.account-identity strong{font-size:23px}.account-identity span{color:#d6c3a0}.lord-title{display:block;color:#ffdd8d;font-size:12px;letter-spacing:.12em;font-weight:750}.local-mode-note{font-size:14px;line-height:1.5;color:#b6c5ce;text-align:center;margin:21px 0 0}
.primary-crown{padding:4px;min-width:38px;min-height:38px;border:0;display:inline-flex;align-items:center;justify-content:center;background:none;vertical-align:middle;margin-left:6px}.primary-crown svg{width:28px;height:25px;fill:#f1cb6b;stroke:#ffedbd;stroke-width:1.3;filter:drop-shadow(0 0 5px #d7a53570)}.primary-crown:hover{background:#c39a3822}.primary-crown:focus-visible{outline:2px solid #e7c374}
.account-nav{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:16px 4%;border-bottom:1px solid #ae905580;background:#040b13ed;color:#e3cfaa}.account-nav>span{font-family:Georgia,serif;font-size:19px}.account-nav button{font-size:15px;min-height:42px}.account-page .panel{border:1px solid #9e8354;border-radius:10px;background:linear-gradient(145deg,#101b25f2,#030b13f7);box-shadow:inset 0 0 0 4px #0c1620,inset 0 1px #d6b97760,0 12px 30px #0007;position:relative}.account-page .panel::before{content:'';position:absolute;inset:7px;border:1px solid #99805226;pointer-events:none;border-radius:5px}.account-content{width:min(1020px,calc(100% - 40px));margin:45px auto;padding:35px}.account-content h1{font-family:Georgia,serif;font-size:36px;font-weight:400;color:#f0dab0}.account-content h2{font-family:Georgia,serif}.account-content button{margin:14px 12px 0 0;min-height:46px;font-size:16px}.account-page button:disabled{opacity:.55;cursor:not-allowed}.online-unavailable{padding:20px;margin:22px 0;border:1px solid #987b46;background:#4b361126;border-radius:5px}.online-unavailable strong{color:#efce94;font-size:18px}.online-unavailable p{color:#c2ccd3;margin:7px 0 0}.private-actions{max-width:470px}.ranked-hub{text-align:center}.ranked-hub .online-unavailable{text-align:left}
.profile-heading{width:min(1700px,calc(100% - 70px));margin:26px auto 20px;display:flex;justify-content:space-between;align-items:end;gap:15px}.profile-heading h1{font-family:Georgia,serif;font-size:43px;font-weight:400;letter-spacing:.04em;color:#f4e3bf;margin:5px 0}.profile-heading .eyebrow{font-size:12px;color:#b2bec6}.profile-tabs{display:flex;align-items:center;gap:19px;border-bottom:1px solid #a4884d6b;padding-bottom:7px}.profile-tabs a{color:#e4d2ae;text-decoration:none;font-size:14px;letter-spacing:.04em}.profile-tabs button{font-size:14px}
.profile-layout{width:min(1700px,calc(100% - 70px));margin:0 auto;padding-bottom:50px;display:grid;grid-template-columns:minmax(300px,1fr) minmax(450px,1.22fr) minmax(280px,.86fr);gap:18px;align-items:start}.profile-rank{padding:24px;text-align:center}.profile-person{display:flex;align-items:center;gap:18px;text-align:left;padding-bottom:17px;border-bottom:1px solid #a78b5460}.profile-person h1{font-family:Georgia,serif;font-size:32px;font-weight:400;overflow-wrap:anywhere;margin:0;color:#f2efeb}.profile-avatar{width:84px;height:84px;object-fit:cover;border-radius:50%;border:2px solid #d1b273;box-shadow:0 0 0 4px #18212b,0 0 0 5px #88703f}.rank-emblem{object-fit:contain;vertical-align:middle}.menu-rank-emblem{width:48px;height:54px}.profile-large-emblem{display:block;height:240px;width:100%;margin:18px auto 5px;filter:drop-shadow(0 5px 8px #0008)}.rank-wordmark{font-family:Georgia,serif;font-size:29px;color:#f3e0b8;letter-spacing:.07em;margin:4px 0}.profile-ap{display:block;font-family:Georgia,serif;font-size:34px;color:#f0f2f4;font-weight:400;margin:8px 0}.profile-ap small{font-size:22px}.rank-progress{height:16px;border:1px solid #bea56c;border-radius:15px;background:#010710;padding:3px;margin-top:18px;box-shadow:inset 0 1px 4px #000}.rank-progress i{display:block;height:100%;border-radius:12px;background:linear-gradient(#cba9fd,#9b64d4);box-shadow:0 0 6px #ad77f4}.profile-rank>p{font-size:15px}.profile-rank .rank-wordmark{font-size:28px}.profile-rank-details{display:grid;grid-template-columns:1fr 1fr;margin:22px -9px 14px;padding:14px 8px;border:1px solid #69727778;background:#07101bf5;gap:8px;border-radius:4px}.profile-rank-details dt{font-size:13px;color:#c6c2b7}.profile-rank-details dd{font-size:17px;margin:4px 0;font-family:Georgia,serif}.peak-emblem{height:36px;width:36px;margin-right:4px}.profile-season{border-top:1px solid #ad91534f;padding-top:20px;margin-top:20px;line-height:1.8;color:#c0bbb0}
.profile-main{display:flex;flex-direction:column;gap:18px}.profile-stats,.profile-history{padding:20px}.profile-stats h2,.profile-history h2,.profile-showcase h2{font-family:Georgia,serif;font-size:22px;color:#edddba;font-weight:400;letter-spacing:.035em;margin:0 0 15px}.profile-stats>dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.profile-stat{background:linear-gradient(150deg,#1b252baf,#0b131aaa);border:1px solid #6d737365;min-height:98px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:10px 6px;text-align:center;border-radius:5px;box-shadow:inset 0 1px #d2cead15}.profile-stat dt{font-size:14px;line-height:1.3;color:#c8d4df}.profile-stat dd{font-family:Georgia,serif;font-size:25px;color:#fff3da;margin:9px 0 0}.profile-rates{display:flex;justify-content:space-between;gap:12px;margin-top:15px;font-size:14px;color:#c4d1dc}.profile-rates b{display:block;font-size:22px;color:#e9d1a0}.profile-history{min-height:230px}.empty-account{padding:25px 10px;color:#9eafbe;font-size:16px}.history-rows>div{display:grid;grid-template-columns:40px 1fr 90px 90px;gap:8px;padding:12px 6px;border-top:1px solid #897a575e;align-items:center;font-size:14px}.history-emblem{height:30px;width:30px;margin-right:5px}.account-page .positive{color:#7eebaa}.account-page .negative{color:#ffa2a2}
.profile-showcase{padding:23px;min-height:690px;text-align:center;overflow:hidden;background:radial-gradient(ellipse at 50% 55%,#1c3f51a0,#050c14 72%)!important}.profile-showcase .eyebrow{text-align:left;color:#d2bc90;font-size:13px}.profile-showcase>img{display:block;width:115%;height:430px;object-fit:contain;margin:5px -7.5%;filter:drop-shadow(0 15px 12px #0008)}.profile-showcase h2{font-size:30px;color:#b6def2}.profile-showcase>p{font-size:16px;margin-top:20px}.profile-showcase .muted{font-size:14px;line-height:1.6;color:#9dadb7}.showcase-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:450px;background:radial-gradient(ellipse,#2243564d,transparent 68%)}.showcase-empty>span{font-size:100px;font-family:Georgia,serif;font-weight:400;color:#a393653d}.showcase-empty p{font-family:Georgia,serif;font-size:21px;color:#b6c9d3;line-height:1.6}
.leaderboard-table{margin:25px 0}.leaderboard-table>div{display:grid;grid-template-columns:45px 1fr 210px 80px;align-items:center;gap:15px;padding:13px 15px;border-bottom:1px solid #52606c66;font-size:17px}.leaderboard-table .leaderboard-heading{font-size:13px;color:#b6c1c9;background:#03111b}.leaderboard-table .current-player{background:#b8954220;box-shadow:inset 3px 0 #d4b270}.leaderboard-rank{display:flex;align-items:center;gap:12px;font-size:15px}.leaderboard-rank .rank-emblem{width:45px;height:51px}.hub-emblem{height:190px;width:210px}
.surrender-trigger{background:#291921;border:1px solid #9a4f55;color:#ffc2c2;font-size:14px;padding:8px 13px}.cinematic-surrender{position:fixed;bottom:25px;right:25px;z-index:100}.match-header .surrender-trigger{margin-right:18px}#surrender-confirm{max-width:500px;padding:28px;border-color:#b17d6b}#surrender-confirm h2{font-family:Georgia,serif;color:#ebd0ac;font-size:25px;margin-bottom:15px}#surrender-confirm p{line-height:1.6;font-size:17px}#surrender-confirm .end-actions{margin-top:25px}#surrender-confirm::backdrop{background:#000a}
@media(min-width:2100px){.profile-layout,.profile-heading{max-width:2050px}.profile-large-emblem{height:310px}.profile-stat{min-height:115px}.profile-stat dt{font-size:16px}.profile-stat dd{font-size:29px}.profile-showcase{min-height:780px}.profile-showcase>img{height:540px}}
@media(max-width:1200px){.profile-layout{grid-template-columns:minmax(260px,.9fr) minmax(400px,1.2fr);width:calc(100% - 35px)}.profile-showcase{grid-column:1/-1;min-height:300px}.profile-showcase>img{width:100%;height:330px;margin:0}.showcase-empty{min-height:160px}.profile-heading{width:calc(100% - 35px)}.profile-tabs{gap:10px}.profile-heading h1{font-size:35px}}
@media(max-width:760px){.account-nav{gap:8px;padding:12px;flex-wrap:wrap}.account-nav>span{font-size:15px}.account-nav .eyebrow{display:none}.account-menu{padding:12px}.account-menu .menu-frame{padding:26px 20px}.account-menu h1{font-size:27px}.account-identity{padding:8px}.account-identity strong{font-size:20px}.account-identity>div{gap:7px}.account-identity span{font-size:13px}.account-gate-card{padding:24px}.profile-heading{display:block}.profile-tabs{justify-content:space-between;margin-top:15px}.profile-tabs a,.profile-tabs button{font-size:12px}.profile-layout{grid-template-columns:1fr}.profile-showcase{grid-column:auto}.profile-stats>dl{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-rank{padding:21px}.profile-large-emblem{height:235px}.account-content{padding:22px;margin-top:24px}.leaderboard-table>div{grid-template-columns:25px minmax(0,1fr) 80px 45px;font-size:14px;gap:7px;padding:11px 3px}.leaderboard-rank{flex-direction:column;font-size:11px;gap:2px}.leaderboard-rank .rank-emblem{height:39px;width:34px}.leaderboard-table strong{overflow-wrap:anywhere}.history-rows>div{grid-template-columns:30px 1fr 70px;font-size:13px}.history-rows time{grid-column:2/-1}.match-header .surrender-trigger{margin:0;font-size:12px}.account-content h1{font-size:29px}}
/* v9 live account surfaces reuse the existing fantasy panels and rank artwork. */
.online-panel{max-width:1060px;margin:28px auto;padding:32px;line-height:1.55}.online-panel>h1{font-size:clamp(28px,4vw,44px)}.online-panel button{min-height:46px;font-size:16px}.online-starters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.online-starter{display:flex;flex-direction:column;align-items:center;gap:8px;background:linear-gradient(155deg,#172b35,#071118);border:1px solid var(--el);padding:16px;box-shadow:inset 0 0 24px #0008}.online-starter img{width:100%;height:175px;object-fit:contain;filter:drop-shadow(0 8px 8px #000)}.online-starter strong{font-size:22px}.online-starter.active{outline:2px solid #f2cd75;box-shadow:0 0 20px #dcb25133}.lobby-code{font-size:30px;color:#f2cd75;letter-spacing:5px;margin-left:14px}.lobby-members>div,.admin-users>button{display:flex;justify-content:space-between;gap:16px;padding:14px;border-bottom:1px solid #45607166;width:100%;text-align:left}.lobby-members .current-player{background:#2574a329}.online-result{text-align:center}.online-result .hub-emblem{width:180px}.admin-detail{margin:20px 0;padding:20px}.admin-detail p{overflow-wrap:anywhere}#admin-search{display:flex;align-items:end;gap:16px}.online-panel label{display:grid;gap:8px;margin:14px 0}.online-panel input{color:#ecf5fa;background:#07131c;border:1px solid #536571;padding:12px;font-size:17px}.online-panel .account-message{color:#ffbc97;min-height:0}.online-panel .end-actions{align-items:center;flex-wrap:wrap;gap:12px}.online-panel>button{margin:12px 12px 0 0}@media(max-width:680px){.online-panel{margin:10px;padding:20px}.online-starters{grid-template-columns:1fr}.online-starter img{height:150px}.lobby-members>div,.admin-users>button{flex-wrap:wrap}#admin-search{flex-wrap:wrap}}

/* Profile identity: avatar → player name → account level → current EXP. */
.profile-page .profile-person{display:flex;justify-content:center;text-align:center;padding:8px 0 28px;gap:0}
.profile-page .account-avatar{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;gap:0}
.profile-page .exp-avatar{box-sizing:border-box;display:grid;place-items:center;flex:none;width:196px;height:196px;padding:10px;border:0;border-radius:50%;background:conic-gradient(#d4acff var(--exp),#35485b 0);box-shadow:0 0 0 1px #d1b273b3,0 0 0 5px #101b27,0 0 0 6px #88703f80,0 8px 28px #0008,0 0 24px #b990ec26;cursor:pointer}
.profile-page .exp-avatar:focus-visible{outline:3px solid #efdbad;outline-offset:9px}
.profile-page .exp-avatar .profile-avatar{box-sizing:border-box;display:block;width:176px;height:176px;border:3px solid #081420;border-radius:50%;box-shadow:inset 0 0 20px #0006;object-fit:contain;background:radial-gradient(circle at 50% 40%,#213444,#07121b 75%)}
.profile-page .profile-person h1{max-width:100%;margin:22px 0 10px;font-family:Georgia,serif;font-size:2rem;line-height:1.2;font-weight:400;color:#f2efeb;overflow-wrap:anywhere}
.profile-page .account-level{max-width:100%;font-family:Georgia,serif;font-size:2.25rem;line-height:1.2;font-weight:700;color:#ead6ff;text-shadow:0 2px 14px #b990ec40;overflow-wrap:anywhere}
.profile-page .exp-current{max-width:100%;margin-top:9px;font-size:1rem;line-height:1.5;font-weight:500;color:#cbd8e4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.profile-page .profile-large-emblem{height:202px;margin:26px auto 8px}
.profile-page .profile-rank>.rank-wordmark{font-size:30px}
.profile-page .profile-rank>.profile-ap{font-size:36px;font-weight:500}
.profile-page .profile-rank>.profile-ap small{font-size:23px}
.profile-page .profile-rank>.rank-progress{height:19px}
@media(max-width:760px){
 .profile-page .profile-person{padding-top:8px;padding-bottom:26px}
 .profile-page .exp-avatar{width:184px;height:184px}
 .profile-page .exp-avatar .profile-avatar{width:164px;height:164px}
 .profile-page .profile-person h1{font-size:1.875rem;margin-top:20px}
 .profile-page .account-level{font-size:2rem}
 .profile-page .profile-large-emblem{height:180px;margin-top:24px}
}
#avatar-picker{color:#efdfc0;background:#081420;border:1px solid #ac905c;border-radius:12px;padding:24px;width:min(650px,90vw);max-height:85vh;overflow:auto}#avatar-picker::backdrop{background:#000b}.avatar-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px}.avatar-options button{display:flex;flex-direction:column;align-items:center;padding:7px;color:inherit;background:#122331;border:1px solid #68716f;border-radius:8px}.avatar-options button[aria-pressed=true]{border-color:#dfb6ff}.avatar-options img{width:74px;height:74px;object-fit:contain}.avatar-message{color:#ffd18e}
