:root{color-scheme:light;--bg:#f2f4f6;--surface:#fff;--text:#17191d;--muted:#69717b;--line:#dfe3e7;--brand:#b4232a;--brand-dark:#861a20;--soft:#fff0f1;--shadow:0 18px 50px rgba(24,28,33,.1)}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#0f1114;--surface:#191c20;--text:#f2f4f6;--muted:#9ba3ad;--line:#30353d;--brand:#d24a52;--brand-dark:#e05a62;--soft:#351a1d;--shadow:0 20px 54px rgba(0,0,0,.35)}}
html,body{touch-action:manipulation}*{box-sizing:border-box}body{min-height:100vh;margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:0}.auth-layout{display:grid;min-height:100vh;grid-template-columns:minmax(320px,1fr) minmax(420px,560px)}.auth-brand{position:relative;display:flex;overflow:hidden;flex-direction:column;justify-content:center;padding:clamp(40px,8vw,120px);background:#20252a url("images/lottery-login.webp") center/cover no-repeat;color:#fff;isolation:isolate}.auth-brand::before{position:absolute;z-index:-1;inset:0;background:rgba(17,20,23,.44);content:""}.auth-mark{display:grid;width:64px;height:64px;place-items:center;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:var(--brand);font-size:28px;font-weight:800}.auth-brand p{margin:32px 0 6px;color:#eef1f3;text-shadow:0 1px 4px #000}.auth-brand h1{margin:0;font-size:clamp(36px,5vw,64px);line-height:1.08;text-shadow:0 2px 12px rgba(0,0,0,.65)}.auth-brand span{margin-top:18px;color:#e2e6e9;text-shadow:0 1px 4px #000}.auth-panel{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,7vw,84px);background:var(--surface)}.auth-kicker{color:var(--brand);font-size:12px;font-weight:800}.auth-panel h2{margin:8px 0 6px;font-size:30px}.auth-panel>div>p{margin:0 0 28px;color:var(--muted)}form{display:grid;gap:16px}label{display:grid;gap:7px;font-weight:650}label small{color:var(--muted);font-weight:400}input{width:100%;height:48px;padding:0 13px;border:1px solid var(--line);border-radius:6px;outline:0;background:var(--surface);color:var(--text);font:inherit}input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(180,35,42,.12)}button{height:48px;margin-top:4px;border:0;border-radius:6px;background:var(--brand);color:#fff;font:inherit;font-weight:750;cursor:pointer}button:hover{background:var(--brand-dark)}button:disabled{opacity:.5;cursor:not-allowed}.form-alert{margin:0 0 18px;padding:11px 13px;border:1px solid #efc3c6;border-radius:6px;background:var(--soft);color:var(--brand);font-size:13px}.auth-switch{margin:24px 0 0;color:var(--muted);text-align:center}.auth-switch a{color:var(--brand);font-weight:700;text-decoration:none}.auth-service{display:grid;height:44px;margin-top:12px;place-items:center;border:1px solid var(--line);border-radius:6px;color:var(--brand);font-weight:750;text-decoration:none}.auth-service:hover{border-color:var(--brand);background:var(--soft)}
@media(max-width:760px){.auth-layout{display:block}.auth-brand{min-height:210px;padding:30px 24px;justify-content:flex-end}.auth-mark{width:48px;height:48px;font-size:22px}.auth-brand p{margin:18px 0 3px}.auth-brand h1{font-size:30px}.auth-brand span{display:none}.auth-panel{min-height:calc(100vh - 210px);padding:30px 22px;justify-content:flex-start}.auth-panel h2{font-size:26px}}
