/* One stylesheet, no web fonts, no scripts, no third-party requests: the site
   sets no cookies and sends a visitor's address to nobody but GitHub Pages,
   so it needs no cookie banner and the privacy policy can say so plainly.
   Colours are the game's own earth and stone ramps (pipeline/PALETTE.md in
   mogget-gossan). */
:root {
  --bg: #f4efe8;
  --surface: #ffffff;
  --text: #2a2420;
  --muted: #5e5650;
  --accent: #8f6b45;
  --border: #e0d6ca;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1a22;
    --surface: #26242f;
    --text: #ece6de;
    --muted: #a9a29a;
    --accent: #c79a68;
    --border: #3a3746;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.masthead { padding: 56px 0 32px; }
h1 { font-size: 2.4rem; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
.tagline { margin: 8px 0 0; color: var(--muted); }
.game {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
/* Pixel art: scale it with hard edges, never smoothed. */
.feature, .icon { image-rendering: pixelated; display: block; }
.feature { width: 100%; height: auto; }
.game-body { display: flex; gap: 20px; padding: 24px; align-items: flex-start; }
.icon { width: 96px; height: 96px; border-radius: 20px; flex: none; }
h2 { margin: 0 0 4px; font-size: 1.5rem; line-height: 1.2; }
.lede { margin: 0 0 12px; color: var(--accent); font-weight: 600; }
.game p { margin: 0 0 12px; }
.status { font-weight: 600; margin-bottom: 0 !important; }
a { color: var(--accent); }
footer { padding: 32px 16px 48px; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0; }
@media (max-width: 560px) {
  .masthead { padding-top: 40px; }
  h1 { font-size: 2rem; }
  .game-body { flex-direction: column; padding: 20px; }
  .icon { width: 72px; height: 72px; border-radius: 16px; }
}
