.account-modal { position: fixed; inset: 0; z-index: 2000; background: #000a; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.account-panel { box-sizing: border-box; position: relative; background: #1c2541; color: #e5eaff; border: 1px solid #344365; border-radius: 18px; padding: 28px; width: min(100%, 480px); max-height: 90vh; overflow-y: auto; text-align: left; }
.account-panel h1, .account-panel h2 { font-size: 1.45rem; padding-right: 20px; }
.account-panel p { line-height: 1.5; }
.account-panel label { display: block; margin: 14px 0; }
.account-panel [hidden] { display: none; }
.account-panel input { display: block; box-sizing: border-box; width: 100%; background: #0a1128; color: #fff; border: 1px solid #52698b; border-radius: 8px; padding: 12px; margin-top: 6px; font: inherit; }
.account-panel button { cursor: pointer; font: inherit; border-radius: 8px; padding: 12px; }
.account-panel button[type=submit] { width: 100%; border: 1px solid #5cab5c; background: #287d32; color: white; }
.account-panel button:disabled { opacity: .55; cursor: wait; }
.account-link, .account-panel a { color: #a9cdff; }
.account-link { background: transparent; border: 0; padding: 12px; cursor: pointer; text-decoration: underline; }
.account-link-page { font-family: system-ui, sans-serif; margin: 0; min-height: 100vh; display: grid; place-items: center; background: #0a1128; padding: 16px; box-sizing: border-box; }
#profileContent { max-height: 85vh; overflow-y: auto; }
#emailVerificationStatus, #accountActionStatus, #linkStatus { overflow-wrap: anywhere; }
