:root {
  --bg: #fffafb;
  --fg: #2e2034;
  --muted: #6b5d70;
  --accent: #e0457b;
  --line: #f0dce4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1621;
    --fg: #f3e9f0;
    --muted: #b8a9bd;
    --accent: #ff8fb4;
    --line: #3a2d40;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

h1 { line-height: 1.2; }
h2 { margin-top: 2em; font-size: 1.2rem; }
a { color: var(--accent); }
.meta, .back { color: var(--muted); font-size: 0.9rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td:first-child { border-bottom: none; padding-bottom: 0; }
}
