#auth-gate-dialog { display: none; position: fixed; inset: 0; z-index: 2147483000; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#auth-gate-dialog.is-open { display: block; }
.auth-gate-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .58); }
.auth-gate-card { position: absolute; left: 50%; top: 50%; width: min(360px, calc(100vw - 40px)); transform: translate(-50%, -50%); box-sizing: border-box; padding: 28px 24px 24px; border-radius: 8px; background: #fff; color: #172033; box-shadow: 0 16px 48px rgba(15, 23, 42, .25); }
.auth-gate-card h2 { margin: 0; font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: 0; }
.auth-gate-card p { margin: 12px 0 22px; color: #64748b; font-size: 14px; line-height: 1.6; }
.auth-gate-close { position: absolute; right: 12px; top: 8px; border: 0; background: transparent; color: #64748b; font-size: 28px; line-height: 1; cursor: pointer; }
.auth-gate-actions { display: flex; gap: 12px; }
.auth-gate-actions button { flex: 1; height: 42px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.auth-gate-register { border: 1px solid #3366ff; background: #fff; color: #3366ff; }
.auth-gate-login { border: 1px solid #3366ff; background: #3366ff; color: #fff; }
