:root{--bg:#0b0b12;--panel:#15151e;--line:rgba(255,255,255,.08);--text:#f3f1f5;--muted:#96929f;--accent:#ffb86b;--violet:#8e7dff;--bad:#ff778a}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}body{min-height:100vh;background:radial-gradient(900px 580px at 110% -10%,rgba(142,125,255,.16),transparent 65%),radial-gradient(720px 540px at -10% 95%,rgba(255,184,107,.08),transparent 65%),#0b0b12}.auth-shell{width:min(1040px,calc(100% - 28px));min-height:100vh;margin:auto;display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:center;padding:38px 0}.auth-brand-panel{min-height:560px;padding:34px;border:1px solid var(--line);border-radius:30px 30px 9px 30px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-brand-panel:after{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,184,107,.14);border-radius:50%;right:-150px;top:-100px;box-shadow:0 0 0 50px rgba(142,125,255,.025),0 0 0 100px rgba(255,184,107,.02)}.auth-brand{position:relative;z-index:2;display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit}.auth-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:15px 15px 5px 15px;background:#111119;border:1px solid var(--line);overflow:hidden}.auth-mark img{width:100%;height:100%;object-fit:cover}.auth-brand b,.auth-brand small{display:block}.auth-brand b{letter-spacing:.18em}.auth-brand small{margin-top:3px;color:var(--muted);font-size:10px}.auth-copy{position:relative;z-index:2;max-width:620px}.auth-kicker{font-size:10px;letter-spacing:.16em;color:var(--accent);font-weight:900}.auth-copy h1{margin:12px 0 10px;font-size:clamp(42px,7vw,68px);letter-spacing:-.055em;line-height:.98}.auth-copy p{margin:0;color:#aaa7b1;line-height:1.9;max-width:560px}.auth-points{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:8px}.auth-points span{padding:8px 10px;border:1px solid var(--line);border-radius:999px;color:#aaa6b2;font-size:10px}.auth-card{padding:28px;border:1px solid var(--line);border-radius:24px 24px 8px 24px;background:rgba(20,20,29,.92);box-shadow:0 28px 80px rgba(0,0,0,.28)}.auth-card-head span{font-size:9px;letter-spacing:.16em;color:var(--violet);font-weight:900}.auth-card-head h2{margin:8px 0 5px;font-size:30px;letter-spacing:-.035em}.auth-card-head p{margin:0 0 22px;color:var(--muted);font-size:12px}.auth-card label{display:grid;gap:7px;margin-bottom:14px;color:#c7c4cb;font-size:11px;font-weight:750}.auth-card input{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px 12px 4px 12px;background:#0e0e15;color:#fff;outline:none}.auth-card input:focus{border-color:rgba(255,184,107,.35);box-shadow:0 0 0 3px rgba(255,184,107,.05)}.auth-card button{width:100%;padding:13px;border:0;border-radius:12px 12px 4px 12px;background:linear-gradient(135deg,#ffc981,#8e7dff);color:#15111c;font-weight:950;cursor:pointer}.auth-card button:disabled{opacity:.55;cursor:wait}.password-hint{display:block;margin:-5px 0 14px;color:var(--muted);font-size:10px}.auth-status{min-height:18px;margin:11px 0 0;font-size:11px;color:var(--muted)}.auth-status.error{color:var(--bad)}.auth-switch{margin:20px 0 0;color:var(--muted);font-size:11px;text-align:center}.auth-switch a{color:#fff;font-weight:850;text-decoration:none}
@media(max-width:780px){.auth-shell{grid-template-columns:1fr;padding:16px 0 28px}.auth-brand-panel{min-height:300px;padding:22px}.auth-copy h1{font-size:42px}.auth-card{padding:20px}}
.auth-lang{position:fixed;top:14px;right:14px;z-index:20}.auth-lang select{height:36px;max-width:130px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:#111119;color:#eee;outline:none}html[dir="rtl"] .auth-lang{right:auto;left:14px}html[dir="rtl"] .auth-body,html[dir="rtl"] .auth-copy,html[dir="rtl"] .auth-card{text-align:right}html[dir="rtl"] .auth-card label{text-align:right}

.email-verify-wrap{margin-top:-2px;padding:10px 11px;border:1px solid rgba(217,182,95,.12);border-radius:12px;background:rgba(217,182,95,.035)}
.email-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.email-code-row input{letter-spacing:.24em;text-align:center;direction:ltr}
.email-code-row button{min-width:92px;border:1px solid rgba(217,182,95,.25);border-radius:10px;background:rgba(217,182,95,.09);color:#f0d88e;font-weight:800;cursor:pointer}
.email-code-row button:disabled{opacity:.55;cursor:not-allowed}
