#headerLogin{background:transparent;color:inherit;border:0;font:inherit;font-weight:650;padding:.5rem;cursor:pointer}
#authDialog{position:fixed;inset:0;margin:auto;width:min(27rem,calc(100% - 1.5rem));max-height:calc(100dvh - 1.5rem);overflow:auto;padding:0;border:1px solid #48627a;border-radius:20px;background:#0d2034;color:#f3f7fc;box-shadow:0 24px 100px #0008;color-scheme:dark}
#authDialog::backdrop{background:#03101fc9}
#authForm{display:grid;gap:.8rem;padding:clamp(1.15rem,4vw,2rem);position:relative}
#authForm h2{font-size:clamp(1.6rem,6vw,2.15rem);letter-spacing:-.05em;margin:0;padding-right:2rem}
#authForm p{margin:0;font-size:.9rem;line-height:1.45;color:#c0d1e1}
#authForm [hidden]{display:none!important}
#authForm label:not(.check){display:grid;gap:.35rem}
#authForm input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:.7rem;font-size:16px;border:1px solid #638198;border-radius:8px;color:#fff;background:#081828}
#authForm .check{display:flex;align-items:flex-start;gap:.55rem;font-size:.82rem;font-weight:500;line-height:1.45}
#authForm .check input{width:1.05rem;height:1.05rem;margin:.1rem 0 0;flex:none}
#authForm a{color:#9cdeff;text-underline-offset:.15em}
#authForm button{cursor:pointer;font:inherit;border:1px solid #536d82;border-radius:100px;padding:.6rem .9rem;background:transparent;color:inherit}
#authForm button:disabled{opacity:.55}
#authForm .authClose{position:absolute;top:.65rem;right:.65rem;border:0;font-size:1.5rem}
.authSwitch{display:flex;gap:.45rem}
#authForm .authSwitch [aria-pressed=true],#authForm #authSubmit{background:#c4eeff;color:#092239;border-color:transparent;font-weight:700}
#authForm #authYandex{background:white;color:#141414;border-color:transparent}
#authYandex b{color:#f22;margin-right:.3rem}
#authForm #switchRegister{border:0;text-decoration:underline}
#authMsg:empty{display:none}
.authTerms{font-size:.8rem;text-align:center}
.sitefoot .container{display:flex;flex-wrap:wrap;gap:1rem}
@media(max-width:420px){.nav nav{gap:.25rem}#headerLogin{padding:.4rem}.nav .pill{padding-inline:.7rem}}
.legalPage{margin:0;background:#0d2034;color:#e4edf5;font:1rem/1.65 system-ui,sans-serif}
.legalPage main{width:min(48rem,calc(100% - 2.5rem));margin:3rem auto}
.legalPage h1{line-height:1.1;font-size:clamp(2rem,5vw,3rem);overflow-wrap:anywhere}
.legalPage h2{font-size:1.25rem;margin:1.75rem 0 .4rem}
.legalPage p{margin:.5rem 0}.legalPage a{color:#a2dfff}
