.page.auth{flex-direction:row;min-height:100vh}.page.auth:before{display:none}.auth-brand{flex:0 0 56%;display:flex;flex-direction:column;justify-content:space-between;padding:56px 72px;position:relative;overflow:hidden;background:radial-gradient(1200px 800px at 20% 10%,var(--glow),transparent 60%),radial-gradient(900px 700px at 90% 100%,var(--glow2),transparent 60%),var(--brand-bg);border-right:1px solid var(--line)}.auth-brand:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:var(--dots);background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:28px 28px}.auth-brand>*{position:relative;z-index:1}.auth-brand-mid{display:flex;flex-direction:column;gap:44px;max-width:1000px}.auth-claim{display:flex;flex-direction:column;gap:16px}.auth-h{font-family:var(--display);font-weight:500;font-size:clamp(30px,2.4vw,46px);line-height:1.12;letter-spacing:-.02em}.auth-sub{font-size:18px;line-height:1.5;color:var(--dim)}.arb{display:grid;grid-template-columns:1fr 1fr;gap:14px}.leg{display:flex;flex-direction:column;gap:12px;padding:26px 28px;border-radius:18px;background:var(--panel);border:1px solid var(--line);border-top:3px solid var(--ice);box-shadow:var(--shadow-card)}.leg .bk{font-size:14px;font-weight:600;color:var(--dim);letter-spacing:.04em;text-transform:uppercase}.leg .o{font-family:var(--mono);font-size:40px;font-weight:500;line-height:1}.leg .m{font-size:15px;color:var(--dim)}.leg .sum{display:flex;justify-content:space-between;align-items:baseline;margin-top:6px;padding-top:12px;border-top:1px dashed var(--line);font-size:14px;color:var(--faint)}.leg .sum b{font-family:var(--mono);font-weight:500;color:var(--ink);font-size:15px}.auth-steps{display:flex;flex-direction:column;gap:24px}.auth-steps .step .t{font-size:18px;white-space:normal}.auth-steps .step .s{font-size:14px;white-space:normal}.auth-form{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:64px 32px;position:relative;background:var(--bg)}.auth-theme{position:absolute;top:28px;right:28px;z-index:2}.card{width:100%;max-width:520px;box-sizing:border-box;display:flex;flex-direction:column;gap:28px;padding:44px;background:var(--panel);border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow-card)}.card .h1{font-size:30px;line-height:1.15}.card .sub{font-size:16px;color:var(--dim);margin-top:8px}.card .input{height:54px;border-radius:13px;font-size:16px;padding:0 18px}.card .btn.primary.lg{height:56px;border-radius:13px}.card .fields{display:flex;flex-direction:column;gap:18px}.card .err{min-height:20px;font-size:13px;color:var(--low)}.card .or{display:flex;align-items:center;gap:12px}.card .or i{flex:1 1 auto;height:1px;background:var(--line)}.card .or span{font-size:12px;color:var(--faint);letter-spacing:.08em;text-transform:uppercase}.card .ghost{display:flex;justify-content:center;align-items:center;gap:10px;height:54px;border-radius:13px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:16px;font-weight:500}.card .ghost svg{width:18px;height:18px;stroke:var(--accent)}.card .foot{display:flex;justify-content:center;align-items:center;gap:6px;font-size:15px;color:var(--dim)}.card .foot a{font-weight:500}.pw{position:relative}.pw .input{padding-right:54px}.pw button{position:absolute;right:14px;top:15px;width:24px;height:24px;border:0;background:transparent;padding:0;color:var(--faint)}.pw button svg{width:22px;height:22px}.page.auth.centered{flex-direction:column;justify-content:center;align-items:center;background:radial-gradient(1400px 900px at 50% -10%,var(--glow),transparent 60%),var(--bg)}.page.auth.centered:before{display:block}.auth-center{display:flex;flex-direction:column;align-items:center;width:100%;max-width:560px;padding:24px}.auth-center .card{max-width:560px}.card .ghost svg.tg{stroke:none;color:var(--tg)}.card.lc{gap:24px}.card.lc .h1:focus{outline:none}.lc-tg{display:flex;align-items:center;gap:16px}.lc-badge{flex:none;width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--tg);color:#fff;box-shadow:inset 0 1px #ffffff4d,0 12px 24px -12px var(--tg)}.lc-badge svg{width:28px;height:28px}.lc-tg>div{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:15px;line-height:1.4;color:var(--dim)}.lc-tg b{font-size:17px;font-weight:600;color:var(--ink)}.lc-wait{display:flex;flex-direction:column;gap:10px}.lc-line{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--dim)}.lc-left{margin-left:auto;font-size:18px;color:var(--ink)}.lc-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--ice);animation:lc-ping 1.6s var(--ease-out) infinite}.lc-dot.off{background:var(--st-warn);animation:none}@keyframes lc-ping{0%{box-shadow:0 0 #8cc6ff99}to{box-shadow:0 0 0 10px #8cc6ff00}}.lc-bar{height:4px;border-radius:4px;background:var(--line);overflow:hidden}.lc-bar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,var(--accent),var(--ice));transform-origin:left center;transform:scaleX(var(--k, 1));transition:transform 1s linear}.lc-code{display:flex;flex-direction:column;gap:16px}.lc-code .err{margin-top:-8px}.lc-otp{position:relative;display:block;cursor:text}.lc-otp input{position:absolute;inset:0;width:100%;height:100%;opacity:0;border:0;padding:0;font-size:16px}.lc-otp .cells{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.lc-otp .cells i{height:54px;border-radius:13px;border:1px solid var(--line);background:var(--panel2);display:flex;align-items:center;justify-content:center;font:500 24px var(--mono);font-style:normal;color:var(--ink);transition:border-color var(--dur-2),box-shadow var(--dur-2) var(--ease-out),background var(--dur-2)}.lc-otp .cells i:nth-child(4){margin-right:6px}.lc-otp .cells i.f{background:var(--panel)}.lc-otp .cells i.cur{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);background:var(--panel)}.lc-otp.bad .cells i{border-color:var(--low-line);animation:lc-shake .36s var(--ease-io)}@keyframes lc-shake{20%{transform:translate(-3px)}40%{transform:translate(3px)}60%{transform:translate(-2px)}80%{transform:translate(2px)}}.lc-done{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:12px 0;color:var(--dim);font-size:15px}.lc-done .big{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:6px;background:var(--st-act);color:#fff;box-shadow:0 0 0 8px var(--act-soft),0 14px 26px -12px var(--st-act)}.lc-done .big svg{width:30px;height:30px;stroke-width:3}.lc-done>b{font-size:20px;color:var(--ink)}@media (max-width: 600px){.card.lc{gap:18px}.lc-badge{width:48px;height:48px;border-radius:14px}.lc-badge svg{width:24px;height:24px}.lc-otp .cells{gap:4px}.lc-otp .cells i{height:46px;border-radius:10px;font-size:20px}.lc-otp .cells i:nth-child(4){margin-right:4px}}@media (prefers-reduced-motion: reduce){.lc-dot,.lc-otp.bad .cells i{animation:none}.lc-bar i,.lc-otp .cells i{transition:none}}.firstrun{display:inline-flex;align-items:center;height:26px;padding:0 12px;border-radius:999px;background:var(--accent-soft);color:var(--ink);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;align-self:flex-start}@media (max-width: 1100px){.page.auth{flex-direction:column}.auth-brand{flex:none;padding:28px 24px;border-right:0;border-bottom:1px solid var(--line)}.auth-brand-mid{gap:24px}.arb{grid-template-columns:1fr}.leg .o{font-size:32px}.auth-steps .steps{grid-template-columns:1fr 1fr}.auth-form{padding:32px 16px 48px}.auth-theme{top:16px;right:16px}.card{padding:28px 22px}}@media (max-width: 1100px){.auth-brand,.auth-form,.auth-claim,.auth-center,.card{min-width:0}.auth-brand .arb{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-brand .leg{min-width:0}.auth-brand .leg .m,.auth-brand .leg .sum{overflow-wrap:anywhere}.auth-brand .auth-steps{display:none}.pw button{width:44px;height:44px;top:5px;right:5px;display:grid;place-items:center}.card .ghost{min-height:54px}}@media (max-width: 600px){.auth-brand{padding:16px}.auth-brand-mid{display:none}.auth-form{flex:1 1 auto;padding:76px 12px 24px;justify-content:flex-start}.card{gap:20px;padding:26px 20px}.card .h1{font-size:26px;line-height:1.2;overflow-wrap:anywhere}.card .label{flex-wrap:wrap;gap:2px 8px}.card .input{min-width:0}.card .ghost{text-align:center;padding-inline:10px}}
