/* Login — Central ASK */
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font);
  background: var(--bg);
  color: var(--text); display: grid; place-items: center; padding: 1.5rem;
  -webkit-font-smoothing: antialiased;
}
.auth-wrap { width: min(420px, 100%); text-align: center; }
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2rem; box-shadow: var(--shadow);
}
.auth-mark {
  width: 56px; height: 56px; border-radius: 15px; margin: 0 auto 1.2rem;
  display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em;
  background: linear-gradient(150deg, var(--accent), oklch(66% 0.15 12)); color: oklch(27% 0.06 25);
  box-shadow: 0 12px 30px -10px var(--accent-soft);
}
.auth-card h1 { margin: 0 0 0.4rem; font-size: 1.6rem; letter-spacing: -0.03em; }
.auth-sub { margin: 0 0 1.6rem; color: var(--text-dim); font-size: 0.92rem; }
.auth-form { display: flex; flex-direction: column; gap: 0.7rem; }
.auth-form input {
  font: inherit; font-size: 0.95rem; color: var(--text); text-align: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 0.8rem 0.9rem; transition: border-color 0.16s var(--ease);
}
.auth-form input:focus { outline: none; border-color: var(--accent); }
.auth-btn {
  appearance: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 0.95rem;
  background: var(--accent); color: oklch(27% 0.06 25); border: none;
  border-radius: 11px; padding: 0.8rem 1rem; transition: transform 0.15s var(--ease), background 0.2s;
}
.auth-btn:hover { background: oklch(82% 0.11 26.5); }
.auth-btn:active { transform: translateY(1px); }
.auth-btn:disabled { opacity: 0.6; cursor: default; }
.auth-msg { margin: 0.3rem 0 0; font-size: 0.83rem; color: var(--lost); }
.auth-alt { display: flex; align-items: center; gap: 0.8rem; margin: 1.2rem 0 0.9rem; color: var(--text-faint); font-size: 0.78rem; }
.auth-alt::before, .auth-alt::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-link-btn {
  appearance: none; cursor: pointer; font: inherit; font-size: 0.88rem; font-weight: 600;
  background: transparent; color: var(--accent); border: 1px solid var(--line);
  border-radius: 11px; padding: 0.65rem 1rem; width: 100%; transition: border-color 0.16s var(--ease);
}
.auth-link-btn:hover { border-color: var(--accent); }
.auth-link-btn:disabled { opacity: 0.6; cursor: default; }
.auth-sent { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.auth-sent h2 { margin: 0.5rem 0 0.2rem; font-size: 1.2rem; }
.auth-sent p { margin: 0; color: var(--text-dim); font-size: 0.9rem; }
.auth-check {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: oklch(78% 0.16 155 / 0.15); color: var(--won); font-size: 1.6rem; font-weight: 700;
}
.auth-foot { margin: 1.2rem 0 0; color: var(--text-faint); font-size: 0.76rem; }
