:root {
  --bg: #0f1420;
  --card: #171e2e;
  --border: #262f45;
  --text: #e6ebf5;
  --muted: #8b96ad;
  --accent: #4c8dff;
  --ok: #34c77b;
  --err: #ff5c5c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1b2440 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gate { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 28px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.brand {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background: rgba(76, 141, 255, .12);
  border-radius: 14px;
}
.brand svg { width: 28px; height: 28px; }

h1 { font-size: 21px; font-weight: 600; letter-spacing: .5px; }
.desc { margin: 10px 0 26px; font-size: 14px; color: var(--muted); line-height: 1.7; }

.captcha-box { min-height: 64px; display: flex; align-items: center; justify-content: center; }
.loading { font-size: 13px; color: var(--muted); }

.status {
  margin-top: 18px;
  min-height: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.retry {
  min-width: 120px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.retry:hover { border-color: var(--accent); color: var(--accent); }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

footer { text-align: center; font-size: 12px; color: var(--muted); }

/* 移动端适配 */
@media (max-width: 480px) {
  .card { padding: 28px 20px 24px; }
}
