/* login-01's card/field hierarchy, adapted to TwinSky's server-rendered forms. */
.auth-shell { width: min(400px, calc(100% - 32px)); min-height: 100svh; margin: auto; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 24px 0; }
.auth-brand-row { display: flex; align-items: center; justify-content: space-between; min-height: 32px; gap: 16px; }
.auth-brand-row .language-control { display: flex; margin: 0; }
.auth-card { padding: 24px; border: 1px solid var(--product-line); border-radius: 16px; background: var(--product-base); }
.auth-heading { margin-bottom: 24px; }
.auth-heading h1 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.auth-heading p { margin: 8px 0 0; color: var(--product-secondary); font-size: 13px; line-height: 1.6; }
.auth-gift { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--product-secondary); }
.auth-card form { gap: 12px; }
.auth-card input { font-size: 16px; }
.auth-card button { font-size: 14px; font-weight: 500; background: var(--product-text); color: #090909; }
.auth-card .auth-provider { display: flex; justify-content: center; align-items: center; gap: 10px; background: transparent; color: var(--product-text); border: 1px solid var(--product-line-strong); }
.auth-card .auth-provider:hover { background: var(--product-hover); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 4px 0; color: var(--product-tertiary); font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--product-line); flex: 1; }
.auth-card label { font-size: 13px; color: var(--product-text); }
.auth-card label[for="login-email"] { margin-bottom: -5px; }
.auth-card .account-consent { margin-top: 4px; color: var(--product-secondary); line-height: 1.7; }
.auth-legacy { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--product-line); color: var(--product-secondary); font-size: 12px; }
.auth-legacy summary { cursor: pointer; padding: 4px 0; }
.auth-legacy[open] summary { margin-bottom: 16px; }
.auth-invite { display: grid; gap: 12px; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin: -8px 0 16px; font-size: 12px; color: var(--product-secondary); text-decoration: none; }
.auth-note { margin: 0; color: var(--product-secondary); font-size: 12px; line-height: 1.7; }
.auth-note a { color: var(--product-text); text-underline-offset: 3px; }
.auth-retry { margin-top: 24px; }
.otp-control { position: relative; min-width: 0; }
.otp-slots { display: none; }
.otp-control.is-enhanced input { position: absolute; inset: 0; height: 100%; z-index: 1; opacity: .01; caret-color: transparent; cursor: text; }
.otp-control.is-enhanced .otp-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.otp-slots span { display: grid; place-items: center; height: 50px; border: 1px solid var(--product-line-strong); border-radius: 8px; background: var(--product-elevated); font-size: 22px; font-variant-numeric: tabular-nums; }
.otp-slots span:nth-child(3) { margin-right: 4px; }
.otp-control:focus-within .otp-slots span.is-active { border-color: var(--product-text); outline: 2px solid #ffffff20; outline-offset: 2px; }
.otp-control:has([aria-invalid="true"]) .otp-slots span { border-color: #ff9f9f80; }
@media (min-width: 760px) { .auth-card { padding: 28px; } }
@media (max-height: 680px) { .auth-shell { justify-content: flex-start; gap: 14px; padding: 16px 0; } .auth-card { padding: 20px; } .auth-heading { margin-bottom: 18px; } }
