:root { color-scheme: light; }
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f6f7f9;
  color: #1c2024;
  line-height: 1.5;
  padding: 20px;
}

button {
  font: inherit;
  cursor: pointer;
  border: 1px solid #d4d7dc;
  background: #fff;
  color: #1c2024;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  transition: .12s;
}
button:hover { background: #f0f1f3; }
button.primary { background: #2563eb; color: #fff; border-color: #2563eb; }
button.primary:hover { background: #1d4ed8; }
button.danger { color: #dc2626; border-color: transparent; background: transparent; }
button.danger:hover { background: #fef2f2; }

/* Login / verify 页面 */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  background: #fff;
  border: 1px solid #eceef1;
  border-radius: 14px;
  padding: 32px 28px;
  width: 100%;
  max-width: 360px;
}
.auth-card h1 { font-size: 20px; font-weight: 650; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: #6b7280; margin-bottom: 22px; }
.auth-card label {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
  margin-top: 12px;
}
.auth-card input {
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 9px 11px;
  border: 1px solid #d4d7dc;
  border-radius: 8px;
  background: #fff;
  color: #1c2024;
}
.auth-card button[type=submit] {
  width: 100%;
  margin-top: 18px;
  padding: 10px;
  font-size: 14px;
}
.auth-msg {
  font-size: 12px;
  margin-top: 12px;
  min-height: 16px;
}
.auth-msg.ok { color: #16a34a; }
.auth-msg.err { color: #dc2626; }
.auth-link {
  font-size: 12px;
  color: #6b7280;
  margin-top: 14px;
  text-align: center;
}
.auth-link a { color: #2563eb; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }
