/* Mossforge Games: one stylesheet for every page (dark, like the games' splash screen). */
:root {
  --bg: #1e1f23;
  --panel: #2a2b31;
  --text: #ecebe6;
  --muted: #a9a8a2;
  --accent: #8fd14f;
  --gold: #ffd34d;
  --line: #3a3b42;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { color: var(--gold); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
nav a { margin-left: 16px; text-decoration: none; color: var(--muted); }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--text); }
main { padding: 28px 0 40px; }
h1 { font-size: 30px; line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 21px; margin: 30px 0 8px; }
.muted { color: var(--muted); }
.game { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 24px; }
.game .banner { display: block; width: 100%; height: auto; }
.game .body { padding: 18px 20px 22px; }
.game .title { display: flex; align-items: center; gap: 14px; }
.game .title img { width: 64px; height: 64px; border-radius: 14px; }
.game .title h2 { margin: 0; }
.status { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #3b4a2a; color: var(--accent); font-size: 14px; font-weight: 600; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.shots img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.links { margin-top: 14px; }
.links a { margin-right: 16px; white-space: nowrap; }
.policy { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px 26px; }
.policy ul, .policy ol { padding-left: 22px; }
.policy a { overflow-wrap: anywhere; }  /* long links wrap on a phone instead of widening the page */
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer .wrap { padding-top: 16px; padding-bottom: 24px; }
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 25px; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  nav a { margin-left: 12px; }
}
