/* Plain reading pages (credits, privacy, not found). The game's own styles are in style.css. */
:root {
  --bg: #07090b;
  --text: #ece6dc;
  --muted: #9aa4aa;
  --accent: #e2bb7c;
  --line: rgba(255, 255, 255, 0.1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
main {
  max-width: 640px; margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 20px max(48px, env(safe-area-inset-bottom));
}
.brand { font: 600 19px/1 var(--serif); letter-spacing: 0.02em; color: var(--text); text-decoration: none; }
h1 { margin: 36px 0 8px; font: 600 40px/1.1 var(--serif); letter-spacing: 0.01em; }
h2 {
  margin: 36px 0 8px; padding-top: 14px; border-top: 1px solid var(--line);
  font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
p { margin: 0 0 12px; }
.lede { color: var(--muted); }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
a.brand { border: 0; }
.back { margin-top: 40px; }
ul { margin: 0 0 12px; padding-left: 20px; }
li { margin: 0 0 10px; }
li::marker { color: var(--muted); }
strong { font-weight: 600; }
dl { margin: 0 0 12px; }
dt { font-weight: 600; }
dd { margin: 2px 0 14px; color: var(--muted); }
code { font: 13px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--accent); overflow-wrap: anywhere; }
.when { margin-top: 28px; font-size: 14px; color: var(--muted); }
.licence { font-size: 13px; line-height: 1.55; color: var(--muted); overflow-wrap: break-word; }
footer {
  margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); border-bottom-color: var(--line); }
footer a[aria-current='page'] { color: var(--text); border-bottom-color: transparent; }
