.auth-layout { display: grid; gap: 1.25rem; max-width: 1120px; margin: 1rem auto 0; align-items: stretch; }
.auth-story { position: relative; padding: clamp(1.5rem, 4vw, 3rem); overflow: hidden; display: flex; flex-direction: column; }
.auth-story h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.03; letter-spacing: -.065em; margin: .9rem 0 1rem; font-weight: 850; }
.auth-story > p { max-width: 27rem; font-size: 1.05rem; line-height: 1.55; }
.auth-art { width: min(100%, 320px); height: 230px; align-self: center; margin: auto 0 1.5rem; }
.auth-story-note { display: flex; gap: .5rem; align-items: center; font-size: .85rem; font-weight: 650; }
.auth-story-note .icon { width: 1.1rem; height: 1.1rem; }
.auth-form-panel { padding: clamp(1.3rem, 4vw, 2.7rem); min-width: 0; }
.auth-form-panel h2 { font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -.04em; font-weight: 800; margin: .7rem 0 .6rem; }
.auth-form-panel form { margin-top: 1.5rem; }
.auth-form-panel .field { margin-bottom: 1rem; }
.auth-form-panel .form-label { font-size: .9rem; font-weight: 700; }
.auth-form-panel .form-control { min-height: 52px; border: 1.5px solid var(--ink, var(--bs-border-color)); border-radius: 14px; padding: .85rem 1rem; }
.auth-form-panel .btn { min-height: 48px; }
.auth-switch { color: var(--muted, var(--bs-secondary-color)); font-size: .9rem; margin: .75rem 0 1.6rem; }
.auth-switch a, .auth-form-note a, .auth-legal a { color: inherit; font-weight: 750; text-underline-offset: 3px; }
.auth-password { position: relative; }
.auth-password input { padding-right: 3.5rem !important; }
.auth-eye { position: absolute; top: 4px; right: 5px; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; border-radius: 10px; display: grid; place-items: center; }
.auth-eye:hover, .auth-eye:focus-visible { background: var(--bs-tertiary-bg); }
.auth-eye svg { width: 21px; height: 21px; }
.auth-form-note { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted, var(--bs-secondary-color)); margin: -.25rem 0 1rem; }
.auth-security { max-width: 100%; overflow: hidden; }
.auth-security:not(:empty) { margin: 1rem 0; min-height: 65px; }
.auth-security .grecaptcha-badge { box-shadow: none !important; }
.auth-google { min-height: 44px; margin-top: 1.5rem; display: flex; justify-content: center; }
.auth-google > div { width: 100%; }
.auth-google[aria-busy="true"] { opacity: .6; pointer-events: none; }
.auth-divider { display: flex; align-items: center; gap: 1rem; color: var(--muted, var(--bs-secondary-color)); font-size: .75rem; margin: 1.5rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--bs-border-color); }
.auth-legal { color: var(--muted, var(--bs-secondary-color)); font-size: .72rem; line-height: 1.6; margin: 1rem 0 0; text-align: center; }
.auth-bonus { display: flex; gap: .8rem; align-items: center; padding: 1rem; margin-top: 1.5rem; border: 1px solid var(--ink, var(--bs-border-color)); border-radius: 14px; font-size: .82rem; font-weight: 650; }
.auth-bonus > svg { width: 30px; height: 30px; flex: 0 0 30px; }
.auth-bonus small { display: block; font-size: .7rem; line-height: 1.4; font-weight: 400; margin-top: .2rem; }
.auth-result { display: flex; min-height: 350px; flex-direction: column; justify-content: center; text-align: center; align-items: center; }
.auth-result > .art, .auth-result > svg { width: 180px; height: 160px; margin-bottom: 1.2rem; }
.auth-result > p { max-width: 28rem; overflow-wrap: anywhere; }
.auth-status-visual { position: relative; display: grid; place-items: center; width: 150px; height: 150px; flex: 0 0 150px; margin: 0 auto 1.4rem; }
.auth-status-orbit { position: absolute; inset: 3px; border: 2px solid var(--subtle-line); border-radius: 50%; }
.auth-status-core { display: grid; place-items: center; width: 112px; height: 112px; border: 1.5px solid var(--line); border-radius: 36px; background: var(--lime-soft); color: var(--trust-green); box-shadow: 0 4px 0 var(--subtle-line); }
.auth-status-core > svg { width: 56px; height: 56px; }
.auth-status-spark { position: absolute; width: 13px; height: 13px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--lime); }
.auth-status-spark-one { top: 7px; right: 19px; }
.auth-status-spark-two { bottom: 12px; left: 13px; width: 9px; height: 9px; background: var(--lilac); }
[data-auth-status="checking"] .auth-status-orbit { border-top-color: var(--trust-green); animation: auth-status-spin 1.8s linear infinite; }
[data-auth-status="checking"] .auth-status-core { animation: auth-status-float 2.4s ease-in-out infinite; }
[data-auth-status="success"] .auth-status-core { animation: auth-status-arrive .45s ease-out both; }
.auth-status-check { stroke-dasharray: 1; stroke-dashoffset: 0; animation: auth-status-draw .55s .15s ease-out both; }
[data-auth-status="unavailable"] .auth-status-core { background: var(--butter); color: var(--ink); }
@keyframes auth-status-spin { to { transform: rotate(360deg); } }
@keyframes auth-status-float { 50% { transform: translateY(-5px); } }
@keyframes auth-status-arrive { from { transform: scale(.85); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes auth-status-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .auth-status-visual *, .auth-status-check { animation: none !important; } }
.auth-retry { margin-top: .5rem; }
@media (min-width: 768px) { .auth-layout { grid-template-columns: 1fr 1fr; margin-top: 2rem; } .auth-story { min-height: 630px; } .auth-layout-signup .auth-art { margin-top: .5rem; } .auth-layout-signup .auth-story-note { margin-top: auto; } }
@media (max-width: 767px) { .auth-story { padding: 1.25rem; min-height: 210px; } .auth-story h1 { font-size: 2.5rem; max-width: 73%; } .auth-story > p { max-width: 68%; font-size: .85rem; margin-bottom: .5rem; } .auth-story .auth-art { position: absolute; width: 140px; height: 140px; right: -10px; bottom: 0; margin: 0; } .auth-story-note { font-size: .68rem; max-width: 65%; } .auth-form-panel { padding: 1.35rem; } }
@media (max-width: 360px) { .auth-story h1 { font-size: 2.1rem; } .auth-story .auth-art { width: 110px; height: 110px; } .auth-form-panel { padding: 1rem; } }
