.auth-body { background: var(--gradient-soft); }
.auth-shell { min-block-size: 100dvh; display: grid; place-content: center; gap: var(--space-4); padding: var(--space-6) var(--space-4); position: relative; overflow: hidden; }
.auth-card { position: relative; inline-size: min(440px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: var(--space-8) var(--space-6); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: var(--space-5); animation: dialog-rise var(--dur-celebrate) var(--ease-out); }
@keyframes dialog-rise { from { opacity: 0; transform: translateY(16px); } }
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand-mark { font-size: 34px; animation: beat 2.4s ease-in-out infinite; }
.brand-name { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; letter-spacing: -.02em; }
.brand-name b { background: var(--gradient-love); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes beat { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.12); } 20% { transform: scale(1); } 30% { transform: scale(1.08); } }
.auth-foot { text-align: center; }
.auth-hearts span { position: absolute; font-size: 28px; opacity: .35; animation: drift-up 14s linear infinite; inset-block-end: -40px; }
.auth-hearts span:nth-child(1) { inset-inline-start: 8%; animation-delay: 0s; }
.auth-hearts span:nth-child(2) { inset-inline-start: 26%; animation-delay: 3s; font-size: 20px; }
.auth-hearts span:nth-child(3) { inset-inline-start: 58%; animation-delay: 6s; }
.auth-hearts span:nth-child(4) { inset-inline-start: 76%; animation-delay: 9s; font-size: 22px; }
.auth-hearts span:nth-child(5) { inset-inline-start: 90%; animation-delay: 11s; }
@keyframes drift-up { to { transform: translateY(-110dvh) rotate(25deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .auth-hearts { display: none; } .brand-mark { animation: none; } }
.steps { display: flex; gap: 6px; justify-content: center; }
.steps i { inline-size: 22px; block-size: 5px; border-radius: 3px; background: var(--border); }
.steps i.on { background: var(--accent); }
.recovery-key { font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: var(--text-lg); letter-spacing: .04em; text-align: center; padding: var(--space-4); background: var(--surface-muted); border-radius: var(--radius-md); user-select: all; word-break: break-all; }
.keygen { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-6) 0; }
.keygen .lock { font-size: 64px; animation: beat 1.2s ease-in-out infinite; }
.meter { block-size: 6px; border-radius: 3px; background: var(--surface-muted); overflow: hidden; }
.meter i { display: block; block-size: 100%; inline-size: 0; background: var(--color-danger); transition: inline-size var(--dur-slow) var(--ease-out), background var(--dur-slow); }
.pop-in { animation: pop-in 700ms var(--ease-spring) both; }
@keyframes pop-in { from { transform: scale(0); opacity: 0; } }
.divider-text { display: flex; align-items: center; gap: 10px; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-block-start: 1px solid var(--border); }
