/* ===== 维护页面样式 ===== */

:root {
  /* 浅色模式 */
  --bg: #f5f6f8;
  --fg: #1a1a2e;
  --muted: #6b7280;
  --subtle: #d1d5db;
  --accent: #3b82f6;
  --card-bg: #ffffff;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1117;
    --fg: #e4e5ea;
    --muted: #8b8fa3;
    --subtle: #2a2d3a;
    --accent: #a0cbff;
    --card-bg: #191b23;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
}

/* ===== Reset ===== */

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

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

/* ===== Layout ===== */

main {
  text-align: center;
  padding: 2rem;
  max-width: 480px;
}

/* ===== Icon ===== */

.icon {
  width: 96px;
  height: 96px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* ===== Typography ===== */

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid var(--subtle);
  padding-top: 1.5rem;
  transition: border-color 0.3s;
}

.eta {
  font-size: 0.875rem;
  color: var(--muted);
}
