:root {
  --bg: #fbf6ec;
  --ink: #1a1614;
  --muted: #6b625a;
  --card: #ffffff;
  --line: #1a1614;
  --accent: #e8a33d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1816;
    --ink: #f4ede1;
    --muted: #b3a999;
    --card: #26221f;
    --line: #f4ede1;
  }
  .logo { filter: invert(1); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
main { max-width: 680px; margin: 0 auto; padding: 32px 16px 48px; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }

.hero { text-align: center; padding: 16px 0 8px; }
.logo { width: min(340px, 80vw); height: auto; display: block; margin: 0 auto; }
.tagline { color: var(--muted); margin: 12px 0 0; }

.game {
  margin-top: 40px;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.game .banner { display: block; width: 100%; height: auto; border-bottom: 3px solid var(--line); }
.game .body { padding: 20px; }
.game .head { display: flex; align-items: center; gap: 14px; }
.game .icon { width: 64px; height: 64px; border-radius: 14px; border: 3px solid var(--line); flex: none; }
.game h2 { margin: 0; font-size: 28px; letter-spacing: 1px; }
.game .status { margin: 0; color: var(--muted); font-size: 15px; }
.game blockquote { margin: 16px 0; padding: 0; font-size: 19px; }
.game ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-block;
  padding: 8px 16px;
  border: 3px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.doc h1 { font-size: 32px; line-height: 1.2; margin: 24px 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc li { margin-bottom: 10px; }
.back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.back img { width: 40px; height: auto; }

footer { max-width: 680px; margin: 0 auto; padding: 24px 16px 40px; color: var(--muted); font-size: 14px; text-align: center; }
