:root {
  --ink: #13262f;
  --lake: #287b90;
  --paper: #f3f6f2;
  --muted: #718083;
  --line: rgba(19,38,47,.13);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; min-height: 100dvh; margin: 0; opacity: 0; transition: opacity .15s ease; }
body[data-ready="true"] { opacity: 1; }
.login-shell { min-height: 100vh; min-height: 100dvh; padding: calc(30px + var(--safe-top)) 18px calc(30px + var(--safe-bottom)); display: grid; place-items: center; background: radial-gradient(circle at 85% 14%, rgba(40,123,144,.18), transparent 31%), linear-gradient(150deg, #f7f8f1, #e9f1ee); }
.login-card { width: min(100%, 430px); padding: 32px 24px 26px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.86); box-shadow: 0 24px 70px rgba(19,38,47,.12); backdrop-filter: blur(12px); }
.login-kicker { margin: 0; color: var(--lake); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 10px 0 0; font-size: clamp(30px, 10vw, 42px); line-height: 1.03; letter-spacing: -.055em; }
.login-intro { margin: 16px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.7; }
label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 750; }
input { width: 100%; height: 60px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; outline: 0; color: var(--ink); background: #fff; text-align: center; font: 760 28px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .3em; }
input:focus { border-color: var(--lake); box-shadow: 0 0 0 4px rgba(40,123,144,.12); }
#login-help { margin: 9px 0 0; color: #8c989a; font-size: 10px; }
#turnstile-container { min-height: 1px; margin-top: 12px; }
.login-error { margin: 12px 0 0; color: #a64f40; font-size: 12px; }
button { width: 100%; min-height: 52px; margin-top: 20px; border: 0; border-radius: 14px; color: #fff; background: var(--ink); cursor: pointer; font-size: 14px; font-weight: 780; }
button:disabled { cursor: wait; opacity: .68; }
