.account-panel{max-width:460px;margin:auto}.account-panel h2{font-size:clamp(32px,6vw,44px);margin:14px 0}.account-panel form{display:grid;gap:14px}.account-panel label{display:grid;gap:6px;font-size:14px;font-weight:700}.account-panel input{width:100%;min-height:48px;border:1px solid #cdbb9c;border-radius:12px;background:#fffdf7;padding:10px 14px}.account-panel .primary,.account-panel>.quiet,.account-google{width:100%;min-height:50px;margin:8px 0}.account-google{display:flex;gap:12px;align-items:center;justify-content:center;border:1px solid #cdbb9c;border-radius:14px;background:#fffdf8;font-weight:700}.account-google b{color:#2778be;font-size:22px}.account-divider{display:flex;align-items:center;gap:12px;color:#89745e;font-size:12px;margin:18px 0}.account-divider:before,.account-divider:after{content:'';height:1px;background:#e0d0b5;flex:1}.account-text{display:block;width:100%;border:0;background:none;padding:8px;text-align:center;color:#237569;font-weight:600}.account-privacy{font-size:12px!important;line-height:1.55;margin:18px 0}.account-free{padding:12px 16px;border-radius:12px;background:#e1f0d9;color:#375c43;font-size:12px;font-weight:600;text-align:center}.account-panel [role=status]{color:#35685c;min-height:1.5em}.account-panel button:disabled{cursor:not-allowed}@media(max-width:520px){.account-panel{padding:2px}.account-panel h2{letter-spacing:-1px}}
.account-panel form label{margin:0}.account-panel form{margin-top:14px}.account-panel form [role=status]:empty{display:none}
.account-password{display:grid;gap:6px}.account-password-field{position:relative}.account-panel .account-password-field input{display:block;margin:0;padding-right:58px}.account-panel .password-visibility{position:absolute;inset:2px 3px 2px auto;display:grid;place-items:center;width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:9px;background:transparent;color:#237569;box-shadow:none}.account-panel .password-visibility:hover{background:#e1f0e8}.account-panel .password-visibility:focus-visible{outline:2px solid #16847a;outline-offset:-2px}.password-visibility svg{pointer-events:none}


/* Keep account access inside the existing header on every screen. */
header .header-account{display:flex;align-items:center;flex:none}
header #player-account{min-width:90px;white-space:nowrap;font-weight:700;border-color:#16847a;background:#d2f2e7;color:#14584e;box-shadow:0 3px 0 #14645840}
header #player-account:hover{background:#bdebd9}
.header-account #account-save-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){
 header #player-account{min-width:76px;padding:6px 8px}
 body>header #sound{width:40px;min-width:40px;padding:0;font-size:0;flex:none}
 body>header #sound:before{content:'♫';font-size:21px;line-height:1}
}
@media(max-width:360px){
 header #player-account{min-width:68px;padding:6px;font-size:9px}
 body>header #sound{width:36px;min-width:36px}
}
