.account-guest,.account-settings{margin:24px 0}
.account-guest{max-width:1040px;padding:38px;background:linear-gradient(150deg,#122b40,#0b1e30 70%);border-color:#365675}
.account-guest:before,.account-guest:after{display:none}
.account-guest [hidden],.account-settings [hidden]{display:none!important}
.account-intro{max-width:680px;margin-bottom:26px}
.account-kicker,.account-card-label{display:block;color:#8ecaf0;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.account-intro h2{max-width:none;margin:9px 0 7px;font-size:clamp(29px,4vw,42px);line-height:1.12}
.account-intro p{max-width:650px;margin:0;color:#bfd3e3;line-height:1.6}
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 20px}
.account-form{display:grid;gap:13px;align-content:start;max-width:560px;margin:18px 0}
.account-grid>.account-form{max-width:none;min-width:0;min-height:330px;margin:0;padding:26px;border:1px solid #3b5c76;border-radius:14px;background:#0a2033}
.account-card-top{display:flex;align-items:center;gap:14px;margin-bottom:6px}
.account-card-top h3{margin:4px 0 0;font-size:21px;line-height:1.2;color:#fff}
.account-card-icon,.account-discord-logo{display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid #49718d;border-radius:12px;background:#173b58;color:#b2e5ff;font-size:23px}
.account-form label{display:grid;gap:7px;color:#d8e7f2;font-weight:600}
.account-form input,.account-form select{width:100%;min-height:46px;box-sizing:border-box;padding:10px 12px;color:#fff;background:#081a29;border:1px solid #58758c;border-radius:8px;font:inherit}
.account-form input:focus,.account-form select:focus{outline:2px solid #6bc5ff;outline-offset:2px}
.account-form button,.account-form .btn{justify-self:start}
.account-login-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:7px}
.account-guest .btn.primary{background:#59b9f2;border-color:#70caff;color:#071c2e;box-shadow:none}
.account-guest .btn.primary:hover{background:#8ad5ff}
.account-link{border:0;background:none;color:#91d8ff;text-decoration:underline;cursor:pointer;padding:4px 0;font:inherit}
.mail-progress{display:block;width:100%;max-width:560px;height:9px;margin:3px 0;accent-color:#59b9f2}
.mail-feedback{max-width:560px;margin:4px 0!important;padding:10px 13px;border-radius:8px;font-size:14px;font-weight:700;line-height:1.45!important}
.mail-feedback.is-success{color:#d9ffe5!important;background:#16422b;border:1px solid #58cc83}
.mail-feedback.is-error{color:#ffe1dc!important;background:#4a2528;border:1px solid #e48a89}
.account-discord-card{display:flex!important;flex-direction:column;justify-content:space-between;gap:22px;background:radial-gradient(circle at 84% 15%,#5865f23b,transparent 45%),#101f38!important;border-color:#6069a0!important}
.account-discord-card .account-card-label{color:#c3c7ff}
.account-discord-logo{background:#5865f2;border-color:#7984ff}
.account-discord-logo img{display:block;width:27px;height:27px;filter:invert(1)}
.account-discord-card p{color:#cfdaef;line-height:1.65;margin:10px 0 0}
.account-discord-card .account-discord-button{width:100%;min-height:50px;background:#5865f2;border-color:#7a85ff;color:#fff;box-shadow:none;font-size:14px}
.account-discord-card .account-discord-button:hover{background:#6875ff;border-color:#a1a9ff}
.account-discord-button img{width:21px;height:21px;filter:invert(1)}
.account-details{border:1px solid #3b5c76;border-radius:12px;background:#0d263a;overflow:hidden}
.account-details summary{display:flex;align-items:center;gap:13px;padding:17px 20px;cursor:pointer;color:#fff;font-weight:700;list-style:none}
.account-details summary::-webkit-details-marker{display:none}
.account-details summary:after{content:'⌄';margin-left:auto;color:#9fd6f7;font-size:22px;line-height:1}
.account-details[open] summary:after{transform:rotate(180deg)}
.account-details summary small{display:block;margin-top:3px;color:#a9c5d8;font-size:13px;font-weight:400}
.account-details .account-form{max-width:610px;margin:0;padding:4px 20px 22px}
.account-details .account-form p{font-size:13px;line-height:1.55;color:#afc8d8}
.account-verification{max-width:820px;background:linear-gradient(145deg,#122b40,#0c2032);border-color:#456781}
.account-verification h2{margin:11px 0 16px}
.account-verification p{max-width:660px;color:#c3d8e7;line-height:1.65}
.account-verification .verification-discord{display:inline-block;margin:0 0 12px;padding:7px 11px;border:1px solid #6673b1;border-radius:8px;background:#313c71;color:#fff;font-size:13px;font-weight:700}
.account-verification .actions{margin-top:23px}
.account-verification .btn.primary{background:#59b9f2;border-color:#70caff;color:#071c2e;box-shadow:none}
.account-settings{margin-bottom:18px}
.account-settings .actions{margin:12px 0}
.account-settings-footer{margin-top:24px;padding-top:20px;border-top:1px solid #38556c}
body.twofa-pending #guest{max-width:680px;margin-inline:auto}
body.twofa-pending #guest > :not(#challenge-form){display:none!important}
body.twofa-pending #challenge-form{display:grid;gap:14px;max-width:520px;margin:0 auto}
body.twofa-pending #challenge-form h3{margin:0}
body.twofa-pending #challenge-form p{margin:0}
body.twofa-pending #challenge-form input{width:100%}
.challenge-actions{display:flex;gap:10px;flex-wrap:wrap}
.totp-qr-wrap{max-width:340px;padding:18px;border:1px solid #456781;border-radius:12px;background:#f8fbff;text-align:center}
.totp-qr-wrap img{display:block;width:246px;max-width:100%;height:auto;margin:auto;image-rendering:pixelated}
.account-settings .totp-qr-wrap p{margin:12px 0 0;color:#18334a!important;font-size:13px;line-height:1.5}
#totp-secret{overflow-wrap:anywhere;max-width:560px}
@media(max-width:700px){.account-guest{padding:25px 19px}.account-grid{grid-template-columns:1fr}.account-grid>.account-form{min-height:0;padding:21px}.account-discord-card{gap:18px}.account-login-actions{align-items:flex-start}.account-details summary{padding:16px}}

.account-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.account-security-grid[hidden]{display:none}.account-security-grid .account-form{margin:0;padding:22px;border:1px solid #31546b;border-radius:12px;background:#102638}.account-security-grid h3{margin:0 0 8px}.account-security-grid p{color:#bfd0dc}.account-action-feedback.is-success{color:#9be4b8!important}.account-action-feedback.is-error{color:#ffb3ac!important}@media(max-width:760px){.account-security-grid{grid-template-columns:1fr}}

.account-extras{margin:28px 0;padding:24px;border:1px solid #31556b;border-radius:16px;background:#102739;color:#e6f4fb}
.account-extras h2{margin:24px 0 10px;font-size:1.35rem;color:#eef8ff}
.account-extras h2:first-child{margin-top:0}
.account-extras p{color:#b9d4e4}
.account-extra-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:9px 20px;margin:16px 0 20px}
.account-extra-grid label{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #31536b;border-radius:9px;background:#172f42;color:#e3f1f8}
.account-extra-grid input{width:18px;height:18px;accent-color:#5fc1f3}
.account-extras form:not(#launcher-preferences){max-width:530px;margin:12px 0}
.account-extras form:not(#launcher-preferences) label{display:grid;gap:7px}
.account-extras input[type=password],.account-extras input[name=code]{background:#0b1f2d;color:#fff;border:1px solid #527188;border-radius:8px;padding:12px}
.account-extras .btn{margin:10px 0}
.account-extras pre{white-space:pre-wrap;letter-spacing:.12em;background:#081b27;border:1px solid #59819a;padding:18px;border-radius:10px;color:#e6f7ff}
#launcher-login-history p{margin:6px 0;padding:10px 12px;background:#173044;border-radius:8px;overflow-wrap:anywhere}
