.auth-modal.auth-refreshed{padding:0!important;overflow:hidden;max-width:850px;width:min(850px,calc(100vw - 32px));display:grid;grid-template-columns:.92fr 1.08fr;border-color:rgba(235,151,185,.2);background:#18131d}
.auth-refreshed .modal-close{z-index:3;top:14px;right:14px;background:rgba(0,0,0,.18);border-radius:50%}
.auth-welcome{padding:48px 32px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at 0% 20%,rgba(238,112,165,.23),transparent 64%),radial-gradient(ellipse at 90% 100%,rgba(137,82,225,.2),transparent 70%),#221926}
.auth-welcome .auth-brand{margin-bottom:46px}.auth-kicker{font-size:10px;letter-spacing:.16em;font-weight:600;color:#db94b3}.auth-welcome h2{font-size:clamp(28px,3.6vw,38px);line-height:1.12;margin:14px 0;letter-spacing:-.04em}.auth-welcome>p{color:#c3b4c8;line-height:1.6;font-size:14px}.auth-perks{display:grid;gap:14px;margin-top:30px;color:#e4d8e8;font-size:12px}.auth-perks>span{display:flex;align-items:center;gap:9px}.auth-perks .icon{color:#df98b8;width:16px;height:16px}
.auth-entry{padding:45px 30px 24px}.auth-tabs{display:flex;gap:3px;padding:4px;border-radius:12px;background:rgba(255,255,255,.04);margin-bottom:22px}.auth-tabs button{flex:1;padding:10px 4px;border:0;border-radius:9px;color:#b7aabb;background:none;font-size:13px;font-weight:600}.auth-tabs button[aria-pressed=true]{background:#3d2a40;color:#f9e5ef;box-shadow:0 2px 8px #0002}.auth-google{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;border-radius:11px;background:#fff;border:1px solid #dadce0;color:#1f1f1f;font-size:14px;font-weight:550;cursor:pointer}.auth-google:hover{background:#f0edf2}.auth-google svg{width:20px;height:20px}.auth-divider{display:flex;align-items:center;gap:12px;margin:17px 0;color:#897b91;font-size:11px}.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#ffffff12}
.auth-entry form>label,.auth-entry .auth-profile-row label,.auth-google-finish form>label{font-size:12px;color:#d4c8d8;margin-bottom:6px}.auth-entry input:not([type=checkbox]),.auth-google-finish input:not([type=checkbox]){padding:11px 12px;min-height:44px;border-radius:10px;font-size:14px}.auth-entry .auth-profile-row{grid-template-columns:1.5fr 1fr;gap:12px;margin:0 0 14px}.auth-entry .password-field{margin-bottom:4px}.auth-entry .password-field input{padding-right:58px}.auth-password-note{font-size:10px;color:#9e8ba8;margin:6px 0 15px}.auth-consent{display:flex;align-items:flex-start;gap:9px;font-size:11px!important;line-height:1.5;margin:10px 0!important;color:#bfb0c9!important}.auth-consent input{flex:0 0 auto;width:15px;height:15px;margin:1px 0 0;accent-color:#e69ab5}.auth-consent a{text-decoration:underline;color:#e0b1c9}.auth-submit{margin-top:5px;min-height:46px;box-shadow:0 5px 25px #d86d9a22}.auth-footnote{text-align:center;color:#96829f;font-size:10px;margin:14px 0 0}.auth-footnote a{color:#d4b4c8}.auth-entry .form-error:empty{margin:0}.auth-google-finish{grid-column:1/-1;padding:40px;max-width:460px;margin:auto;width:100%}.auth-google-finish .auth-brand{margin-bottom:25px}.auth-google-finish h2{margin:14px 0}.auth-google-finish form{margin-top:22px}
@media(max-width:620px){.auth-modal.auth-refreshed{display:block;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto}.auth-welcome{padding:25px 24px 21px}.auth-welcome .auth-brand{margin-bottom:20px;max-width:145px}.auth-welcome h2{font-size:28px;margin:9px 0}.auth-welcome>p{font-size:12px;margin:0}.auth-perks{display:none}.auth-entry{padding:20px 24px}.auth-tabs{margin-bottom:17px}.auth-kicker{font-size:9px}.auth-google-finish{padding:35px 24px}.auth-refreshed .modal-close{top:11px;right:11px}}

/* Equal-sized provider buttons stay in one compact row on phones and desktop. */
.auth-provider-label{margin:0 0 9px;color:#bfaec7;font-size:11px}
.auth-providers{display:flex;gap:8px;align-items:stretch}
.auth-provider{display:flex;flex:1;min-width:0;min-height:62px;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 4px;border:1px solid #ffffff20;border-radius:12px;color:#fff;font-family:inherit;font-size:11px;font-weight:600;line-height:1;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.auth-provider svg{display:block;width:21px;height:21px;flex:none}.auth-provider-google{background:#fff;color:#25212a;border-color:#e0dce3}.auth-provider-x{background:#0e0d10}.auth-provider-discord{background:#5865f2}.auth-provider-yahoo{background:#6001d2}.auth-yahoo-mark{display:block;height:21px;font-family:Arial,sans-serif;font-size:27px;font-weight:900;font-style:italic;line-height:19px;letter-spacing:-2px;margin-right:3px}
.auth-provider:hover{filter:brightness(1.13);transform:translateY(-1px)}.auth-provider-google:hover{background:#f0edf2;filter:none}.auth-provider:focus-visible{outline:2px solid #f49cbd;outline-offset:3px}.auth-provider:disabled{opacity:.55;cursor:wait;transform:none}.auth-existing-login{display:block;background:none;border:0;color:#edb3ce;text-decoration:underline;font-family:inherit;font-size:12px;padding:12px 0;text-align:left}
@media(max-width:360px){.auth-providers{gap:6px}.auth-provider{font-size:10px}}

/* Account actions share one icon column, label edge and consistent spacing. */
.account-menu-email{overflow-wrap:anywhere}
.account-menu-actions{display:grid;gap:10px;margin-top:18px}
.account-menu-actions>.btn{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;justify-content:start;gap:12px;width:100%;min-height:48px;margin:0;padding:13px 16px;text-align:left}
.account-menu-actions>.btn>.icon{width:20px;height:20px;margin:0}
.account-menu-actions>.btn>span{min-width:0;line-height:1.4}
