.topbar-actions{display:flex;gap:7px}.topbar-action{height:52px;padding:0 13px;display:flex;align-items:center;gap:8px;border:1px solid #303a42;border-radius:13px;background:#0c1216;color:#dbe1e4;font-size:10px;font-weight:900}.topbar-action i{font-size:17px;font-style:normal}.topbar-action.admin{display:none;border-color:#d64936;background:linear-gradient(135deg,#38110e,#12171b)}body[data-role=admin] .topbar-action.admin{display:flex}.topbar-action.logout{color:#ff7165}.account-modal .dialog-balance{display:none!important}dialog:has(.account-center){width:min(94vw,940px);max-width:940px}.account-center{display:grid;gap:15px}.account-center>header{position:static;height:auto;padding:0;display:flex;justify-content:space-between;background:none}.account-center>header small{color:#ef493c;font-weight:900;letter-spacing:.16em}.account-center>header h2{margin:5px 0;font-size:28px}.account-center>header p{color:#89959c}.account-level{padding:10px 16px;display:grid;align-content:center;border:1px solid #33414a;border-radius:12px;background:#0c1317}.account-level b{color:#50c9f2}.account-level span{color:#839099;font-size:10px}.account-hero{min-height:210px;padding:25px;display:flex;align-items:flex-end;border:1px solid #303d45;border-radius:16px;background:linear-gradient(90deg,#071016c9,#07101666),url('/assets/images/account/control-center-v1.png') center/cover;box-shadow:inset 0 -60px 90px #020405}.account-hero small{color:#49d38d;font-weight:900}.account-hero h3{margin:5px 0;font-size:36px}.account-hero p,.account-hero span{color:#9aa6ad}.account-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border:1px solid #303a42;border-radius:11px;background:#080c0f}.account-tabs button{height:42px;font-weight:900}.account-tabs button.active{border-radius:8px;background:#e33424}.account-form{display:grid;grid-template-columns:1fr 1fr;gap:11px}.account-form>label{display:grid;gap:5px;color:#8e9aa1;font-size:9px;font-weight:900}.account-form input,.account-form select{height:48px;padding:0 12px;border:1px solid #334049;border-radius:9px;background:#070b0e;color:#fff}.account-options{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:7px}.account-options article{padding:11px;display:flex;align-items:center;justify-content:space-between;border:1px solid #2d373e;border-radius:10px;background:#0c1216}.account-options b,.account-options small{display:block}.account-options small{color:#79868e}.account-toggle input{display:none}.account-toggle span{width:45px;height:25px;padding:3px;display:block;border-radius:20px;background:#29333a}.account-toggle span:after{content:'';width:19px;height:19px;display:block;border-radius:50%;background:#89959d;transition:.2s}.account-toggle input:checked+span{background:#174c37}.account-toggle input:checked+span:after{translate:20px;background:#4add93}.account-save{grid-column:1/-1;height:50px;border-radius:10px;background:linear-gradient(90deg,#ef3829,#b91f18);font-weight:900}.account-note{padding:13px;border-radius:9px;text-align:center}.account-note.ok{background:#123526;color:#4bdd93}.account-note.bad{background:#421613;color:#ff7468}.account-loading{padding:80px;text-align:center;font-weight:900}.hidden{display:none!important}@media(max-width:760px){.topbar-action span{display:none}.topbar-action{width:45px;padding:0;justify-content:center}.topbar-actions{gap:4px}dialog:has(.account-center){width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:14px;border-radius:0}.account-center>header h2{font-size:21px}.account-hero{min-height:170px}.account-hero h3{font-size:28px}.account-form,.account-options{grid-template-columns:1fr}.account-loading{padding:60px 10px}}

@media(max-width:760px){.topbar-action{width:42px;height:46px}.topbar-actions{gap:3px}}
@media(max-width:620px){#app>.apex-topbar{padding-inline:7px;gap:5px}#app>.apex-topbar .apex-brand{min-width:0;flex:1 1 auto}#app>.apex-topbar .apex-brand-copy{display:none}#app>.apex-topbar .apex-brand-mark{width:82px;max-width:22vw}#app>.apex-topbar .resources{flex:0 0 auto;gap:3px}.topbar-action{width:39px;height:43px;border-radius:10px}.topbar-action i{font-size:15px}}
.account-center button,.account-tabs button,.account-save{color:#fff!important;opacity:1!important;-webkit-text-fill-color:#fff}.account-tabs button:not(.active){background:#090d10;color:#dce3e7!important}.account-tabs button.active{background:linear-gradient(90deg,#f03a2c,#be2019)!important;text-shadow:0 1px 2px #510b07}.reduce-motion *,.reduce-motion *:before,.reduce-motion *:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}

/* The profile owns its scroll area. This keeps tabs, forms and the save button
   inside the dialog instead of letting the page or the dialog chrome clip them. */
dialog.account-modal{overflow:hidden!important}
dialog.account-modal>#modal-body{max-height:calc(82dvh - 44px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px 4px 24px 0}
dialog.account-modal .account-tabs{position:static!important;inset:auto!important;width:100%!important;height:auto!important;margin:0!important;transform:none!important}
dialog.account-modal .account-save{margin-bottom:4px}

@media(max-width:760px){
dialog.account-modal{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
dialog.account-modal>#modal-body{width:100%;height:100%;max-height:none;padding:max(64px,calc(env(safe-area-inset-top) + 54px)) 14px calc(28px + env(safe-area-inset-bottom));overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;scrollbar-gutter:auto}
dialog.account-modal>.close{position:fixed!important;z-index:1003;top:max(10px,env(safe-area-inset-top));right:10px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #3a4750;border-radius:50%;background:#10171ce8;color:#fff}
dialog.account-modal .account-center{min-height:100%;padding-bottom:8px}
dialog.account-modal .account-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px;padding:5px!important}
dialog.account-modal .account-tabs button{width:100%;min-width:0;height:46px!important;display:grid!important;place-items:center!important;padding:0 8px!important;white-space:normal;text-align:center}
dialog.account-modal .account-save{min-height:54px;margin-bottom:calc(8px + env(safe-area-inset-bottom))}
}
.account-volume-panel{grid-column:1/-1;padding:15px;display:grid;grid-template-columns:1fr 1fr;gap:13px;border:1px solid #33414a;border-radius:13px;background:linear-gradient(145deg,#0d151a,#080d10)}.account-volume-panel>header{grid-column:1/-1;position:static;height:auto;padding:0 0 10px;border-bottom:1px solid #2c383f;background:none}.account-volume-panel>header b,.account-volume-panel>header small{display:block}.account-volume-panel>header small{color:#7f8d95}.account-volume{display:grid;gap:7px}.account-volume>span{display:flex;justify-content:space-between;color:#dfe6e9}.account-volume output{color:#51c9f3;font-weight:900}.account-volume input{width:100%;height:7px;padding:0;border:0;border-radius:10px;background:linear-gradient(90deg,#ef3b2d,#f3b84b,#4ac9ee);accent-color:#4dccf5}@media(max-width:760px){.account-volume-panel{grid-template-columns:1fr}}
