:root {
  --bg: #faf7f2;
  --text: #2b2118;
  --muted: #6b5d50;
  --accent: #8a4a20;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1a17;
    --text: #f1ebe2;
    --muted: #b8ab9c;
    --accent: #e0a86a;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
h1 { font-size: 1.7em; line-height: 1.25; margin-bottom: 0.2em; }
h2 { font-size: 1.2em; margin-top: 1.8em; }
.meta { color: var(--muted); margin-top: 0; }
a { color: var(--accent); }
li { margin: 0.3em 0; }
img { max-width: 100%; height: auto; }
.crumb { margin: 0 0 1em; font-size: 0.95em; }

/* Home page game list */
.game {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px;
  margin: 12px 0;
  border: 1px solid color-mix(in srgb, var(--muted) 35%, transparent);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}
a.game:hover { border-color: var(--accent); }
.game img, .icon-placeholder {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 16px;
}
.icon-placeholder {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--muted) 25%, transparent);
  font-size: 2em;
  font-weight: 700;
  color: var(--muted);
}
.game strong { display: block; font-size: 1.1em; }
.game .meta { display: block; margin: 0.2em 0 0; }

/* Game pages */
.hero { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero img { width: 112px; height: 112px; border-radius: 24px; }
.hero h1 { margin-top: 0; }
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.banner { display: block; margin: 24px 0; border-radius: 12px; }
.shots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.shots img {
  flex: none;
  width: 200px;
  border-radius: 12px;
  scroll-snap-align: start;
}
.button.secondary {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
