.auth-dialog{overscroll-behavior:contain;scrollbar-gutter:stable}
.auth-dialog .auth-hint{margin-top:-12px;color:#8794aa;font-size:10px;line-height:1.6}
.auth-dialog .auth-text-button{display:inline-block;border:0;background:transparent;color:#d2dae8;text-decoration:underline;text-underline-offset:3px;font-size:11px;line-height:1.7;min-height:44px;padding:10px 0;text-align:left}
.auth-dialog .auth-text-button:hover{color:#fff}
.auth-dialog button:focus-visible,.auth-dialog input:focus-visible,.auth-dialog textarea:focus-visible,.auth-dialog summary:focus-visible{outline:2px solid #ff6275;outline-offset:3px}
.auth-dialog button:disabled{cursor:wait;opacity:.65}
.auth-dialog .account-actions-stack{flex-direction:column}
.auth-dialog .account-actions-stack .button{white-space:normal;text-align:center;line-height:1.6;min-height:44px}
.auth-dialog .auth-secondary-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin-top:14px}
.auth-dialog .auth-secondary-actions .button{font-size:11px;min-height:44px;flex:1;white-space:normal}
.auth-dialog .auth-delivery{overflow-wrap:anywhere;color:#c9d4e7;font-size:12px;margin:0 0 20px}
.auth-dialog .auth-message.is-success{color:#a9e2c6;background:#4eae7812;border-color:#4eae7855}
.auth-dialog .auth-verification-notice{padding:16px;margin:0 0 20px;border:1px solid #59694166;border-radius:6px;background:#a6bd3210}
.auth-dialog .auth-verification-notice strong{color:#e4ebce;font-size:13px}.auth-dialog .auth-verification-notice p{font-size:12px;line-height:1.7;color:#b7c0aa}
.auth-dialog .auth-secret-panel{padding:16px;margin:0 0 22px;background:#0e131c;border:1px solid #303c4d;border-radius:6px}
.auth-dialog .auth-secret-panel>label{display:block;font-size:11px;color:#c8d0dd;margin-bottom:10px}
.auth-dialog .auth-secret-panel input,.auth-dialog .auth-secret-panel textarea{width:100%;background:#080c12;color:#e3eafa;border:1px solid #3b4759;border-radius:4px;padding:11px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.auth-dialog .auth-secret-panel textarea{resize:vertical;min-height:100px}
.auth-dialog .auth-secret-panel summary{font-size:10px;color:#b4c0d5;cursor:pointer;line-height:1.8;margin-bottom:10px}
.auth-dialog .auth-recovery-list{list-style:none;margin:0 0 20px;padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#0e131c;border:1px solid #303c4d;border-radius:6px}
.auth-dialog .auth-recovery-list li{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#e3eafa;font-size:12px;overflow-wrap:anywhere;user-select:all}
@media(max-width:600px){.auth-dialog{max-height:calc(100dvh - 24px);width:min(460px,calc(100% - 24px))}.auth-dialog .form-field input{font-size:16px;min-height:46px}.auth-dialog .auth-secret-panel input,.auth-dialog .auth-secret-panel textarea{font-size:16px}.auth-dialog .auth-secondary-actions{align-items:stretch}.auth-dialog .auth-recovery-list{padding:12px;gap:12px 8px}.auth-dialog .auth-recovery-list li{font-size:11px}}
.account-button [data-account-avatar]{display:block;width:26px;height:26px;flex:0 0 26px;border-radius:50%;object-fit:cover;background:#0b0d11;border:1px solid #454b56}
.account-button.has-profile-avatar>svg{display:none}
.auth-dialog .account-avatar{overflow:hidden}
.auth-dialog .account-avatar>img{display:block;width:100%;height:100%;object-fit:cover}
.auth-profile-preview{overflow:hidden;border:1px solid #333b48;border-radius:12px;background:#10141b;margin:20px 0 14px}
.auth-profile-banner{aspect-ratio:3/1;background:radial-gradient(ellipse at 80% 0%,#ff24381c,transparent 65%),linear-gradient(125deg,#1c2230,#0b0d12);overflow:hidden}
.auth-profile-banner>img{display:block;width:100%;height:100%;object-fit:cover}
.auth-profile-summary{display:flex;align-items:center;gap:12px;padding:0 17px 17px}
.auth-profile-summary .account-avatar{position:relative;flex:0 0 68px;width:68px;height:68px;margin:-19px 0 0;background:#11151c;border:3px solid #10141b;box-shadow:0 0 0 1px #363e4d;font-size:25px}
.auth-profile-summary>strong{overflow-wrap:anywhere;min-width:0;padding-top:11px;color:#f4f5f8;font-size:14px;line-height:1.4}
.auth-dialog .auth-profile-guidance{font-size:10px;line-height:1.7;color:#a1acbd;margin:0 0 18px}
.auth-profile-image-fields{display:grid;gap:12px;margin:16px 0 9px}
.auth-profile-image-field{padding:16px;border:1px solid #313a49;border-radius:10px;background:#11151d}
.auth-profile-field-heading h3{font-size:13px;color:#f0f3f8;margin:0 0 6px}
.auth-profile-field-heading p{font-size:10px;line-height:1.7;color:#a3afc2;margin:0 0 12px}
.auth-dialog .auth-profile-file{display:none}
.auth-profile-filename{display:block;font-size:10px;line-height:1.5;color:#d4dbe8;overflow-wrap:anywhere;margin-bottom:8px}
.auth-profile-filename:empty{display:none}
.auth-profile-image-actions,.auth-profile-save-actions{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.auth-profile-image-actions .button,.auth-profile-save-actions .button{min-height:42px;font-size:10px;padding:10px 14px;line-height:1.5;white-space:normal}
.auth-profile-save-actions:has(button:not([hidden])){border-top:1px solid #2c3442;margin-top:12px;padding-top:12px}
.auth-profile-image-field [hidden]{display:none!important}
.auth-dialog .auth-profile-image-field .auth-text-button{font-size:10px;min-height:42px}
.auth-profile-image-field [data-profile-remove]{color:#d6a7af}
@media(max-width:420px){.auth-profile-image-field{padding:13px}.auth-profile-image-actions,.auth-profile-save-actions{gap:5px 10px}.auth-profile-summary{padding-inline:13px}.auth-profile-summary .account-avatar{flex-basis:60px;width:60px;height:60px}.auth-profile-summary>strong{font-size:13px}.account-button [data-account-avatar]{width:22px;height:22px;flex-basis:22px}}
