.auth-screen{padding:42px 20px 72px;color:var(--text)}
.auth-screen-card{box-sizing:border-box;width:100%;max-width:440px;margin:0 auto;padding:30px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow-sm)}
.auth-screen-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-bottom:16px;color:var(--muted);font-size:12px;font-weight:600}
.auth-screen-back:hover{color:var(--primary-dark)}
.auth-screen h1{margin:0 0 10px;font-size:28px;font-weight:700;letter-spacing:-.035em;line-height:1.25}
.auth-screen-intro{margin:0 0 25px;color:var(--muted);font-size:13px;line-height:1.6}
.auth-screen form{margin:0}
.auth-screen-steam,.auth-screen-submit{display:flex;align-items:center;justify-content:center;gap:10px;box-sizing:border-box;width:100%;min-height:50px;padding:12px 16px;border:1px solid transparent;border-radius:11px;font:inherit;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer}
.auth-screen-steam{color:#fff;background:#1b2838;border-color:#1b2838}
.auth-screen-steam>i:first-child{font-size:24px}
.auth-screen-steam>i:last-child{font-size:10px;margin-left:auto;opacity:.7}
.auth-screen-steam>span{margin-right:auto}
.auth-screen-steam:hover{background:#243b53}
.auth-screen-submit{color:#fff;background:#2563eb;border-color:#2563eb}
.auth-screen-submit:hover{background:#1d4ed8}
.auth-screen button:disabled{opacity:.6;cursor:wait}
.auth-screen-divider{display:flex;align-items:center;gap:14px;margin:23px 0;color:var(--muted);font-size:11px}
.auth-screen-divider:before,.auth-screen-divider:after{content:'';height:1px;flex:1;background:var(--line)}
.auth-screen-form{display:grid;gap:17px}
.auth-screen-field{min-width:0}
.auth-screen-field>label{display:block;margin:0 0 8px;font-size:12px;font-weight:600;color:var(--text)}
.auth-screen .auth-screen-field input{box-sizing:border-box;width:100%;height:50px;padding:0 13px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;outline:none}
.auth-screen .auth-screen-field input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.auth-screen .auth-screen-field input::placeholder{color:var(--muted);font-size:13px;opacity:.85}
.auth-screen .auth-code-input{font-size:24px!important;font-weight:600!important;letter-spacing:.28em!important;text-align:center;padding-left:20px!important}
.auth-screen-check{display:flex;align-items:center;gap:9px;min-height:44px;margin-top:-3px;color:var(--muted);font-size:12px;cursor:pointer}
.auth-screen-check input{width:17px;height:17px;margin:0;accent-color:#2563eb}
.auth-screen .errorlist{margin:8px 0 0;padding:0;list-style:none;color:#b42318;font-size:12px;line-height:1.5}
html[data-theme="dark"] .auth-screen .errorlist{color:#fda4af}
.auth-screen-email{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px;padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}
.auth-screen-email strong{min-width:0;font-size:12px;font-weight:600;overflow-wrap:anywhere}
.auth-screen-email a{display:inline-flex;align-items:center;min-height:32px;flex-shrink:0;font-size:11px;font-weight:600;color:var(--primary-dark)}
.auth-screen-resend{display:block;width:100%;min-height:44px;margin-top:9px;border:0;background:transparent;color:var(--primary-dark);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.auth-screen-resend:disabled{color:var(--muted);opacity:1;cursor:default}
.auth-screen-footer{margin:24px 0 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.65}
.auth-screen-footer a,.auth-screen-policy a{color:var(--primary-dark);font-weight:600}
.auth-screen-policy{margin:17px 0 0;color:var(--muted);font-size:10px;line-height:1.7;text-align:center}
.auth-screen-footer-link{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:10px;color:var(--primary-dark);font-size:12px;font-weight:600}
.auth-screen :is(button,a,input):focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:520px){.auth-screen{padding:22px 12px 40px}.auth-screen-card{padding:24px 20px;border-radius:16px}.auth-screen h1{font-size:25px}.auth-screen-back{margin-bottom:16px}.auth-screen .auth-screen-field input{font-size:16px}.auth-screen-intro{font-size:12px;margin-bottom:21px}}
