/* Вход сайта: единый фон и отдельный экран регистрации. */
body.web-auth{padding:0;background:var(--bg);min-height:100dvh}
.web-auth .shell{max-width:none;min-height:100dvh;box-shadow:none;border:0;border-radius:0;background:var(--bg);padding:0}
.web-auth .telegram{display:none}
.web-auth .web-top{display:flex;justify-content:flex-end;padding:24px 40px 0;min-height:64px}
.web-auth .web-theme{display:grid;place-items:center;width:36px;height:36px;min-height:36px;border:1px solid var(--line);border-radius:50%;background:none;color:var(--muted);padding:7px}
.web-auth main{width:100%;max-width:428px;flex:none;margin:auto;padding:32px 24px 50px;overflow-wrap:anywhere}
.web-auth .web-brand{display:flex;align-items:center;justify-content:center;gap:8px;font-size:26px;font-weight:650;letter-spacing:-1px;color:var(--accent);margin-bottom:38px}
.web-auth .web-brand svg{width:32px;height:32px}
.web-auth h1{font-size:29px;font-weight:600;line-height:1.2;letter-spacing:-.9px;text-align:center;margin-bottom:13px}
.web-auth .subtitle{text-align:center;line-height:1.65;margin-bottom:29px}
.web-auth .primary,.web-auth .secondary{min-height:50px;border-radius:10px;font-size:14px}
.web-auth .web-telegram{background:var(--soft);border-color:transparent;color:var(--accent)}
.web-auth .web-telegram:hover{border-color:var(--accent)}
.web-auth .web-google{margin-top:12px}
.web-auth .web-provider{margin-top:12px}
.web-auth .web-provider-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;margin-top:20px}
.web-auth .web-provider-tile{display:flex;align-items:center;justify-content:center;min-width:0;min-height:58px;padding:14px;border:1px solid transparent;border-radius:12px;background:var(--soft);cursor:pointer}
.web-auth .web-provider-tile:hover{border-color:var(--accent)}
.web-auth .web-provider-tile svg{width:28px;height:28px;fill:none;stroke:none}
.web-auth .web-password-field{position:relative}
.web-auth .web-password-field input{padding-right:48px;width:100%}
.web-auth .web-password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;min-height:40px;width:40px;padding:10px;border:0;background:transparent;color:var(--muted)}
.web-auth .web-password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6}
.web-auth .web-code-login{display:block;margin:18px auto 0;font-size:12px;color:var(--muted)}
.web-auth button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.web-auth .web-divider{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:12px;margin:25px 0}
.web-auth .web-divider:before,.web-auth .web-divider:after{content:"";height:1px;background:var(--line);flex:1}
.web-auth .field label{font-size:13px;font-weight:550}
.web-auth input,.web-auth select{background:var(--input);border-radius:10px;padding:12px 14px}
.web-auth .hint{font-size:12px;margin-top:9px;line-height:1.6}
.web-auth .web-alternative{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.web-auth .web-alternative p{text-align:center;margin:0 0 12px}
.web-auth .web-footer{text-align:center;color:var(--muted);font-size:12px;padding:20px 24px 24px}
.web-auth .back{font-size:13px;margin-bottom:23px;color:var(--muted)}
.web-auth .web-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--soft);color:var(--accent);margin:0 auto 22px}
.web-auth .web-mark svg{width:26px;height:26px}
.web-auth .email-destination{margin-top:3px}
.web-auth .web-resend{display:block;margin:12px auto 0;text-align:center;font-size:13px}
.web-auth .code{font-size:26px;letter-spacing:12px;padding-left:26px}
.web-auth .web-caption{text-align:center;margin-top:20px}
.web-auth .error{text-align:left}
.web-auth .spinner{margin:35px auto}
@media(max-width:600px){.web-auth .web-top{padding:18px 24px 0;min-height:54px}.web-auth main{padding-top:24px;padding-bottom:40px}.web-auth .web-brand{margin-bottom:32px}.web-auth h1{font-size:27px}}
