:root{color-scheme:dark;font-family:Inter,system-ui,sans-serif;background:#25292e;color:#f0f0e8;--accent:#ecc17a;--muted:#b6bbc1;scrollbar-color:#727a85 #25292e}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}header{height:64px;padding:20px 32px;border-bottom:1px solid #3a4147}a{color:inherit;text-underline-offset:4px}header a{text-decoration:none;font-size:22px;font-weight:700}main{width:min(420px,calc(100% - 48px));margin:64px auto 40px}h1{font-size:28px;line-height:1.25;letter-spacing:-.02em;margin:0 0 12px}p{line-height:1.5;margin:0 0 24px;color:var(--muted)}form{display:grid;gap:16px}label{display:grid;gap:8px;font-weight:600;font-size:14px}input{min-width:0;width:100%;height:44px;padding:10px 12px;border:1px solid #727a85;border-radius:6px;background:#1c2024;color:#f0f0e8;font:inherit;caret-color:var(--accent)}button{height:44px;padding:8px 20px;border:0;border-radius:6px;font:600 15px Inter,system-ui,sans-serif;cursor:pointer;background:var(--accent);color:#24282d}button:hover:not(:disabled){background:#f3d098}button:disabled{opacity:.65;cursor:wait}.secondary{margin-top:20px;background:transparent;color:var(--accent);padding:0;text-align:left;height:auto;text-decoration:underline;text-underline-offset:4px}.secondary:hover:not(:disabled){background:transparent;color:#f3d098}.hint{font-size:13px;font-weight:400;line-height:1.45;color:var(--muted)}form .hint{margin-top:-8px}#status{margin:0;min-height:20px;font-size:14px}#status[data-error]{color:#ffb5a7}#registration-note{margin-top:16px}footer{margin-top:auto;padding:24px 32px;display:flex;gap:24px;font-size:13px;color:var(--muted)}:focus-visible{outline:2px solid var(--accent);outline-offset:4px}::selection{background:var(--accent);color:#24282d}[hidden]{display:none}@media(max-height:650px){main{margin-top:32px;margin-bottom:24px}}

#telegram-login{height:auto;min-height:44px;width:100%;margin-bottom:24px;line-height:1.4;text-wrap:balance}
