/* Imagen del usuario en tres capas: fondo, teléfono y texto. */
.auth-layout{max-width:1200px;margin:0 auto;padding:112px 24px 48px}
.auth-surface{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:64px;align-items:center;min-width:0}
.auth-story{min-width:0;align-self:center}
.auth-art{position:relative;isolation:isolate;overflow:hidden;aspect-ratio:1/1.1;background:#fff;border-radius:16px}
.auth-art-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.auth-art-phone{position:absolute;width:106%;left:-3%;top:22%;transform-origin:50% 100%;pointer-events:none}
.auth-art-phone img{display:block;width:100%;height:auto}
.auth-art-copy{position:absolute;z-index:2;inset:4% 0 auto;text-align:center;pointer-events:none}
.auth-art-copy h1{margin:0;font-size:clamp(42px,4.4vw,62px);letter-spacing:-.055em;line-height:1;color:var(--ink)}
.auth-art-earn{display:block;font-weight:600;letter-spacing:-.065em}
.auth-art-money{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:5px;font-size:.52em;letter-spacing:.015em;font-weight:400;line-height:1.2}
.auth-art-money>span{font-size:.85em;line-height:1}
.auth-art-copy p{color:var(--muted);font-size:11px;line-height:1.6;margin:12px 0 0}
.auth-art-replay{position:absolute;z-index:3;right:8px;top:8px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--muted);background:#ffffffeb;border:1px solid var(--line)}
.auth-art-replay svg{width:17px;height:17px}
.auth-art-replay:hover{color:var(--ink);background:var(--canvas)}
.auth-form{align-self:center;min-width:0;width:100%;max-width:450px;padding:36px;margin:0 auto;border:1px solid var(--line);border-radius:16px;background:#fff}
.auth-heading{margin-bottom:28px}
.auth-heading .eyebrow{font-size:10px;letter-spacing:.09em}
.auth-heading h2{font-size:30px;letter-spacing:-.045em;margin:8px 0 10px;line-height:1.2}
.auth-heading p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.auth-form .field{margin-bottom:20px;font-size:12px;gap:8px}
.auth-form .field input{min-height:50px;font-size:14px;border-color:#d9dadd}
.auth-form .field input::placeholder{color:#767980;opacity:1}
.auth-form .field input:hover{border-color:#a3a7ad}
.auth-form .field input:focus{border-color:var(--accent)}
.auth-form .field small{font-size:11px}
.auth-form .password button{height:48px;width:46px;color:var(--muted);border-radius:6px}
.auth-form .password button:hover{color:var(--ink);background:var(--canvas)}
.auth-form .btn.full{min-height:50px;justify-content:space-between;padding-inline:22px;margin-top:4px}
.auth-switch{margin:20px 0 0;font-size:12px;text-align:center;color:var(--muted);line-height:1.6}
.auth-switch .text-link{min-height:44px}
.auth-browse{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;border-top:1px solid var(--line);padding-top:18px;min-height:44px;font-size:11px;color:var(--muted)}
.auth-browse svg{width:15px;height:15px}
.auth-browse:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
/* Solo la ilustración espera a las imágenes; el formulario siempre está disponible. */
.auth-art.is-preparing .auth-art-phone,.auth-art.is-preparing .auth-art-copy>*{opacity:0}
.auth-art.is-playing .auth-art-background{animation:auth-coins-in 1000ms ease-out both}
.auth-art.is-playing .auth-art-phone{animation:auth-phone-up 1250ms 100ms cubic-bezier(.16,1,.3,1) both}
.auth-art.is-playing .auth-art-earn{animation:auth-word-in 650ms 950ms cubic-bezier(.16,1,.3,1) both}
.auth-art.is-playing .auth-art-money{animation:auth-word-in 650ms 1100ms cubic-bezier(.16,1,.3,1) both}
.auth-art.is-playing .auth-art-copy p{animation:auth-word-in 550ms 1280ms ease-out both}
@keyframes auth-phone-up{from{opacity:0;transform:translateY(65%) rotate(-5deg) scale(.92)}to{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes auth-coins-in{from{opacity:0;transform:translateY(20px) scale(1.04)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes auth-word-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){
 .auth-surface{gap:28px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .auth-form{padding:30px 26px}
 .auth-art-copy h1{font-size:46px}
 .auth-art-copy p{display:none}
 .auth-art-phone{top:26%}
}
@media(max-width:760px){
 .auth-layout{max-width:540px;padding:96px 20px 32px}
 .auth-surface{grid-template-columns:1fr;gap:0}
 .auth-art{aspect-ratio:1/.86;border-radius:0;max-width:400px;margin:0 auto}
 .auth-art-copy{inset:1% 0 auto}
 .auth-art-copy h1{font-size:42px}
 .auth-art-copy p{display:none}
 .auth-art-phone{width:98%;left:1%;top:24%}
 .auth-art-replay{top:0;right:0;width:44px;height:44px;background:#fff;border:0}
 .auth-form{padding:28px;max-width:none;position:relative;z-index:3}
 .auth-heading{margin-bottom:24px}
 .auth-heading h2{font-size:26px}
 .auth-heading p{font-size:12px}
 .auth-form .field input{font-size:16px}
 .auth-switch{font-size:12px;margin-top:16px}
 .auth-browse{margin-top:12px}
}
@media(max-width:380px){
 .auth-layout{padding-inline:16px}
 .auth-form{padding-inline:22px}
 .auth-art-copy h1{font-size:36px}
}
@media(prefers-reduced-motion:reduce){
 .auth-art.is-playing .auth-art-background,.auth-art.is-playing .auth-art-phone,.auth-art.is-playing .auth-art-earn,.auth-art.is-playing .auth-art-money,.auth-art.is-playing .auth-art-copy p{animation:none}
 .auth-art.is-preparing .auth-art-phone,.auth-art.is-preparing .auth-art-copy>*{opacity:1}
 .auth-art-replay{display:none}
}
