:root { color-scheme: dark; --ink:#f7f0e5; --muted:#b2a89b; --soft:#81766c; --gold:#e7bc68; --bright:#f6d991; --red:#bd4436; --line:rgba(222,186,116,.2); --deep:#100d0e; --panel:#191416; font-family:Inter,"Segoe UI",Arial,sans-serif; }
* { box-sizing:border-box; }
body { min-height:100vh; margin:0; color:var(--ink); background:radial-gradient(ellipse at 50% -20%,rgba(126,51,37,.28),transparent 48%),var(--deep); font-size:15px; line-height:1.55; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
.account-header { height:78px; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(20px,6vw,86px); border-bottom:1px solid rgba(240,200,120,.12); background:rgba(10,8,9,.8); }
.account-brand { display:block; width:172px; }
.account-brand img { display:block; width:100%; height:auto; }
.account-header nav { display:flex; align-items:center; gap:27px; color:var(--muted); font-size:14px; }
.account-header nav a:hover,.panel-foot a,.account-footer a { color:var(--bright); }
.play-link,.gold-button { display:inline-flex; align-items:center; justify-content:center; gap:9px; border:1px solid #e5bc68; color:#26180c; font-weight:800; background:linear-gradient(130deg,#f6d98f,#c18b37); box-shadow:0 7px 24px rgba(187,131,50,.15); }
.play-link { min-height:42px; padding:0 18px; clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }
.account-main { width:min(1100px,calc(100% - 36px)); margin:0 auto; padding:58px 0 24px; }
.account-intro { margin-bottom:28px; }
.eyebrow { margin:0 0 8px; color:var(--gold); font-size:11px; font-weight:800; letter-spacing:.2em; }
h1,h2,p { margin-top:0; }
h1,h2 { font-family:Georgia,"Times New Roman",serif; }
h1 { margin-bottom:8px; font-size:clamp(34px,5vw,54px); line-height:1.08; font-weight:500; }
h1 em { color:var(--bright); font-weight:500; }
.account-intro > p:last-child { color:var(--muted); }
.panel { border:1px solid rgba(232,190,107,.36); background:linear-gradient(145deg,rgba(35,25,26,.97),rgba(19,16,18,.98)); box-shadow:0 18px 48px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.025); }
.login-panel { width:min(465px,100%); margin:32px auto 105px; padding:30px clamp(22px,5vw,40px); }
.panel-heading { display:flex; align-items:center; gap:14px; margin-bottom:24px; }
.panel-icon { width:47px; height:47px; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--bright); font-size:24px; }
.panel-heading .eyebrow { margin-bottom:3px; }
.panel-heading h2,.dashboard-hero h2,.section-heading h2,.vip-panel h2 { margin:0; font-size:25px; font-weight:500; }
#login-form { display:grid; gap:9px; }
#login-form label { margin-top:8px; color:#e9d8bf; font-size:13px; font-weight:700; }
#login-form input { width:100%; height:48px; padding:0 13px; outline:none; border:1px solid rgba(229,195,134,.28); border-radius:3px; color:var(--ink); background:#100e10; }
#login-form input:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(231,188,104,.1); }
.password-field { position:relative; }
.password-field input { padding-right:78px!important; }
.password-field button { position:absolute; top:0; right:0; height:100%; padding:0 13px; border:0; color:var(--gold); background:transparent; cursor:pointer; font-size:12px; }
.gold-button { min-height:48px; padding:0 20px; border-radius:3px; cursor:pointer; }
#login-button { width:100%; margin-top:8px; }
.gold-button:disabled { cursor:wait; opacity:.65; }
.form-message { min-height:22px; margin:0; color:var(--muted); font-size:13px; }
.form-message.is-error { color:#ff9383; }
.form-message.is-success { color:#7dd993; }
.panel-foot { display:flex; justify-content:space-between; gap:10px; margin-top:20px; padding-top:17px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
.panel-foot a { font-weight:700; }
.privacy-note { margin:13px 0 0; color:var(--soft); font-size:11px; text-align:center; }
.dashboard[hidden],#login-panel[hidden] { display:none; }
.dashboard-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:26px; padding:24px 30px; }
.dashboard-hero .eyebrow { margin-bottom:3px; }
.account-badges { display:flex; flex-wrap:wrap; gap:8px; margin-top:13px; }
.badge { padding:5px 11px; border:1px solid rgba(238,197,130,.22); border-radius:99px; color:#e8d8c6; background:rgba(255,255,255,.025); font-size:12px; }
.badge.is-vip { color:#9de3a5; border-color:rgba(94,207,115,.4); }
.badge.is-blocked { color:#ff9383; border-color:rgba(255,90,70,.38); }
.play-button { min-width:185px; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1.75fr) minmax(275px,.9fr); align-items:start; gap:24px; }
.characters-panel,.vip-panel,.account-info { padding:25px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:15px; margin-bottom:18px; }
.section-heading .eyebrow { margin-bottom:3px; }
.total-count { color:var(--soft); font-size:12px; }
.character-list { display:grid; gap:13px; }
.character-card { padding:19px; border:1px solid rgba(238,197,130,.18); background:linear-gradient(120deg,rgba(255,255,255,.035),rgba(0,0,0,.14)); }
.character-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:14px; border-bottom:1px solid rgba(238,197,130,.12); }
.character-top h3 { margin:0; font:500 21px Georgia,"Times New Roman",serif; text-transform:capitalize; }
.class-label { color:var(--muted); font-size:12px; }
.character-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:14px; }
.stat { padding:10px 7px; border:1px solid rgba(238,197,130,.1); text-align:center; }
.stat strong,.stat span { display:block; }
.stat strong { color:var(--bright); font:600 19px Georgia,"Times New Roman",serif; }
.stat span { margin-top:2px; color:var(--soft); font-size:10px; letter-spacing:.1em; text-transform:uppercase; }
.side-panels { display:grid; gap:18px; }
.vip-panel h2 { margin-bottom:8px; }
.muted,.empty-state { color:var(--muted); }
.outline-button { min-height:42px; display:flex; align-items:center; justify-content:center; margin-top:19px; border:1px solid rgba(231,188,104,.45); color:var(--bright); font-weight:700; }
.outline-button:hover { background:rgba(231,188,104,.08); }
.account-info dl { margin:18px 0 12px; }
.account-info dl div { display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.06); }
.account-info dt { color:var(--muted); }
.account-info dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.logout-button { margin-top:16px; padding:8px 0; border:0; color:#e28c7e; background:transparent; cursor:pointer; }
.empty-state { padding:28px 14px; text-align:center; }
.account-footer { display:flex; justify-content:space-between; gap:10px; margin-top:45px; padding-top:16px; border-top:1px solid rgba(255,255,255,.07); color:var(--soft); font-size:12px; }
@media (max-width:760px) {
  .account-header { height:66px; padding:0 17px; }
  .account-brand { width:140px; }
  .account-header nav { gap:14px; font-size:12px; }
  .play-link { min-height:38px; padding:0 12px; }
  .account-main { width:min(100% - 24px,600px); padding-top:38px; }
  .login-panel { margin:22px auto 65px; }
  .dashboard-hero { align-items:flex-start; flex-direction:column; padding:20px; }
  .play-button { width:100%; }
  .dashboard-grid { grid-template-columns:1fr; }
  .characters-panel,.vip-panel,.account-info { padding:19px; }
}
@media (max-width:380px) { .account-header nav > a:first-child { display:none; } .character-stats { gap:5px; } .stat strong { font-size:17px; } }
