.auth{--shade: rgba(5, 10, 18, .32);position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;background:#0a141d;color:var(--text)}[data-theme=light] .auth{--shade: rgba(5, 10, 18, .18)}[data-theme=dark] .auth{--shade: rgba(0, 0, 0, .5)}.auth-photo{position:fixed;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 60%}.auth-shade{position:fixed;inset:0;z-index:-1;background:var(--shade)}.auth-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 28px;color:#fff}.auth-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:19px;letter-spacing:-.02em}.auth-controls{display:flex;gap:8px}.auth-pill{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:#080e188c;color:#fff;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.auth-pill:hover{background:#080e18bf}.auth-main{flex:1 1 auto;display:flex;align-items:center;justify-content:center;padding:104px 16px 56px}.auth-card-wrap{position:relative;width:min(440px,100%)}.auth-buddy{--buddy-px: 9px}.auth-buddy--byte{inset-inline-start:18px}.auth-buddy--wisp{inset-inline-end:30px}.auth-card{position:relative;box-sizing:border-box;padding:30px 32px 24px;border-radius:var(--r-lg);border:1px solid var(--border);background:var(--surface);box-shadow:0 24px 64px #00000073}.auth.is-shy .auth-buddy .buddy-body{animation:none;transform:translateY(6.4px)}.auth.is-yay .buddy--byte .buddy-grip{opacity:0}.auth.is-yay .buddy--byte .buddy-wave{opacity:1;animation:buddy-wave .7s ease-in-out infinite}.auth-form{display:grid}.auth-title{font-size:28px;font-weight:800;letter-spacing:-.03em;line-height:1.2}.auth-lead{margin-top:4px;color:var(--text-2);font-size:14.5px;line-height:1.5}.auth-lead strong{color:var(--accent-text);font-weight:600}.auth-label{display:block;margin:16px 0 6px;font-size:13px;font-weight:600}.auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.auth-link{color:var(--accent-text);font-size:12.5px;font-weight:600}.auth-link:hover{text-decoration:underline}.auth-input{width:100%;height:44px;box-sizing:border-box;padding:0 14px;border-radius:10px;border:1px solid var(--border-strong);background:var(--inset);color:var(--text);font:inherit;font-size:14.5px;transition:border-color var(--fast),box-shadow var(--fast)}.auth-input::placeholder{color:var(--text-3)}.auth-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.auth-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-pair>div{min-width:0}.auth-password{position:relative}.auth-password .auth-input{padding-inline-end:44px}.auth-eye{position:absolute;top:4px;inset-inline-end:4px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:8px;background:none;color:var(--text-3);cursor:pointer}.auth-eye:hover{color:var(--text);background:var(--inset-hover)}.auth-code{height:52px;text-align:center;font-family:var(--mono);font-size:22px;letter-spacing:.4em}.auth-code--backup{font-size:18px;letter-spacing:.15em}.auth-switch{justify-self:start;margin-top:8px;padding:0;border:0;background:none;color:var(--accent-text);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}.auth-switch:hover{text-decoration:underline}.auth-captcha{display:flex;justify-content:center;margin-top:14px}.auth-note{margin-top:10px;color:var(--amber);font-size:12.5px}.auth-submit,.auth-secondary{display:flex;align-items:center;justify-content:center;height:46px;box-sizing:border-box;border-radius:10px;font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:background var(--fast)}.auth-submit{margin-top:14px;border:0;background:var(--accent);color:var(--on-accent)}.auth-submit:hover:not(:disabled){background:var(--accent-hover)}.auth-secondary{margin-top:10px;border:1px solid var(--border-strong);background:var(--inset);color:var(--text);font-weight:600}.auth-secondary:hover:not(:disabled){background:var(--inset-hover)}.auth-submit:active:not(:disabled),.auth-secondary:active:not(:disabled){transform:translateY(1px)}.auth-submit:disabled,.auth-secondary:disabled{opacity:.75;cursor:progress}.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0 12px;color:var(--text-3);font-size:12.5px;font-weight:600}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.auth-social{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.auth-social-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;border-radius:10px;border:1px solid var(--border-strong);background:var(--inset);color:var(--text);font-size:13.5px;font-weight:600;transition:background var(--fast)}.auth-social-btn:hover{background:var(--inset-hover)}.auth-social-btn:active{transform:translateY(1px)}.auth-foot{margin-top:18px;text-align:center;color:var(--text-2);font-size:14px}.auth-foot a{color:var(--accent-text);font-weight:600}.auth-terms{margin-top:6px;text-align:center;color:var(--text-3);font-size:12px}.auth-terms a{color:var(--accent-text);text-decoration:underline}.auth-foot a:hover,.auth-terms a:hover{text-decoration:underline}.auth-rules{display:grid;gap:4px;margin:12px 0 0;padding:0;list-style:none;font-size:12.5px;color:var(--text-3)}.auth-rules li{display:flex;align-items:center;gap:7px}.auth-rules li.is-met{color:var(--green)}.auth-alert{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:10px 10px 10px 12px;border-radius:10px;border:1px solid var(--red-line);background:var(--red-soft);color:var(--text);font-size:13.5px;line-height:1.45;text-align:start}.auth-alert>svg{flex-shrink:0;margin-top:2px;color:var(--red)}.auth-alert p{flex:1;min-width:0}.auth-alert a{color:var(--accent-text);font-weight:600}.auth-alert button{flex-shrink:0;display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:6px;background:none;color:var(--text-3);cursor:pointer}.auth-alert--warning{border-color:var(--amber-line);background:var(--amber-soft)}.auth-alert--warning>svg{color:var(--amber)}.auth-alert--success{border-color:var(--green-line);background:var(--green-soft)}.auth-alert--success>svg{color:var(--green)}.auth-alert--info{border-color:var(--accent-line);background:var(--accent-soft)}.auth-alert--info>svg{color:var(--accent-text)}.auth-outcome{display:grid;text-align:center}.auth-outcome .auth-title{font-size:24px}.auth-outcome .auth-lead{margin-top:8px}.auth-outcome-icon{justify-self:center;display:grid;place-items:center;width:56px;height:56px;margin-bottom:14px;border-radius:16px;background:var(--green-soft);color:var(--green)}.auth-outcome--info .auth-outcome-icon{background:var(--accent-soft);color:var(--accent-text)}.auth-outcome--warning .auth-outcome-icon{background:var(--amber-soft);color:var(--amber)}.auth-outcome .auth-submit{margin-top:20px}.auth-done{display:grid;justify-items:center;gap:6px;padding:92px 0;text-align:center}.auth-done-title{font-size:22px;font-weight:800;letter-spacing:-.02em}.auth-done-copy{color:var(--text-2);font-size:14px}.auth-done-bar{display:block;width:180px;height:6px;margin-top:14px;border-radius:3px;background:var(--inset-hover);overflow:hidden}.auth-done-bar span{display:block;height:100%;width:0;border-radius:inherit;background:var(--accent)}.auth-credit{position:absolute;bottom:12px;inset-inline-end:16px;color:#ffffff8c;font-size:11.5px}.auth-credit:hover{color:#fff}@media(prefers-reduced-motion:no-preference){.auth-card.is-shaking{animation:auth-shake .4s ease-in-out 1}.auth-done-bar span{animation:auth-progress 1.6s ease-out forwards}}@media(prefers-reduced-motion:reduce){.auth-done-bar span{width:60%}}@keyframes auth-shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}@keyframes auth-progress{0%{width:0}to{width:90%}}@media(max-height:780px)and (min-width:641px){.auth-top{padding-block:16px}.auth-main{padding-top:92px;padding-bottom:32px}.auth-form .auth-lead{display:none}.auth-card{padding:22px 28px 18px}.auth-label{margin-top:12px}.auth-divider{margin:14px 0 10px}.auth-foot{margin-top:14px}}@media(max-width:640px){.auth-top{padding:16px}.auth-pill-text{display:none}.auth-pill{padding:0 12px}.auth-main{align-items:flex-start;padding:84px 12px 48px}.auth-buddy{--buddy-px: 6px}.auth-buddy--byte{inset-inline-start:18px}.auth-buddy--wisp{inset-inline-end:26px}.auth-card{padding:24px 20px 18px}.auth-social-btn span{display:none}.auth-pair{grid-template-columns:1fr;gap:0}}
