/* Scoped enhancement: compiled site/Tailwind output remains unchanged. */
.auth-dialog { box-sizing:border-box; width:min(460px,calc(100% - 24px)); max-height:calc(100dvh - 24px); margin:auto; overflow-y:auto; padding:24px; border:1px solid #334155; border-radius:18px; background:#0f172a; color:#e2e8f0; box-shadow:0 20px 60px #0006; }
.auth-dialog:not([open]) { display:none; }
.auth-dialog::backdrop { background:rgb(2 6 23 / .76); backdrop-filter:blur(3px); }
.auth-dialog-close { position:absolute; inset-inline-end:12px; top:10px; width:44px; height:44px; border-radius:10px; font-size:28px; color:#cbd5e1; }
.auth-dialog-close:hover { background:#1e293b; color:#fbbf24; }
.auth-dialog-heading { text-align:center; margin-bottom:18px; }
.auth-dialog-heading img { margin:0 auto 10px; object-fit:contain; }
.auth-dialog-heading h2 { font-size:24px; font-weight:700; }
.auth-dialog-heading p { margin-top:6px; font-size:14px; color:#94a3b8; }
.auth-dialog [data-auth-form] form { padding:0; border:0; box-shadow:none; border-radius:0; background:transparent; }
.auth-dialog .control { min-height:44px; }
.auth-dialog-status { margin-bottom:12px; font-size:14px; line-height:1.7; color:#fca5a5; }
.auth-dialog-status:empty { display:none; }
.auth-dialog-footer { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:20px; font-size:14px; color:#94a3b8; }
.auth-dialog-footer a { color:#fbbf24; text-decoration:underline; text-underline-offset:4px; }
.auth-dialog-fallback { display:none; flex-basis:100%; text-align:center; }
.auth-dialog[data-load-error] .auth-dialog-fallback { display:block; }
html.auth-dialog-open { overflow:hidden; }
@media(max-width:480px) { .auth-dialog { padding:22px 18px; } }
