:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1d2129;
  --muted: #5b6270;
  --accent: #5865f2;
  --border: #dfe2e8;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #16181d; --card: #1f2229; --text: #e6e8ec; --muted: #9aa1ad; --accent: #7983f5; --border: #2e323b; }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 2rem 1rem;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.card {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
h1 { font-size: 1.5rem; margin-top: 0; }
h2 { font-size: 1.1rem; margin-top: 1.6rem; }
li { margin-bottom: 0.5rem; }
a { color: var(--accent); }
code { background: var(--bg); padding: 0.1rem 0.3rem; border-radius: 4px; }
.agree { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.5rem 0 1rem; }
.agree input { margin-top: 0.35rem; }
button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  cursor: pointer;
}
footer { text-align: center; margin-top: 1.5rem; color: var(--muted); font-size: 0.9rem; }
.spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 1.5rem auto;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid var(--border); padding: 0.4rem 0.6rem; text-align: left; vertical-align: top; }
