/* Plain reading pages (privacy policy). The game's style.css is built for the canvas app, not long text. */
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url(/assets/fonts/fredoka-latin-700-normal.woff2) format("woff2"), url(/assets/fonts/fredoka-latin-700-normal.woff) format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2"), url(/assets/fonts/nunito-latin-700-normal.woff) format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2"), url(/assets/fonts/nunito-latin-800-normal.woff) format("woff"); }

:root {
  --ink: #2f3b4b;
  --ink-soft: #5d6878;
  --paper: #f7efdd;
  --paper-2: #efe3c8;
  --paper-3: #e6d6b2;
  --yellow: #f5cf55;
  --link: #2f6fd6;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2e9d3;
    --ink-soft: #c2bba9;
    --paper: #2c394c;
    --paper-2: #34435a;
    --paper-3: #3e4f69;
    --link: #9cc4ff;
  }
}

* { box-sizing: border-box; }
html { background: var(--paper-2); }
body {
  margin: 0;
  color: var(--ink);
  font: 700 17px/1.6 "Nunito", system-ui, sans-serif;
  padding: max(16px, env(safe-area-inset-top)) 16px 48px;
}
main {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 28px clamp(18px, 5vw, 44px) 32px;
}
h1, h2 { font-family: "Fredoka", "Nunito", system-ui, sans-serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(1.9rem, 6vw, 2.5rem); margin: 18px 0 4px; }
h2 { font-size: 1.3rem; margin: 32px 0 8px; padding-top: 18px; border-top: 2px solid var(--paper-3); }
p, ul, dl { margin: 0 0 14px; }
ul { padding-left: 1.3em; }
li { margin-bottom: 6px; }
dt { font-weight: 800; margin-top: 12px; }
dd { margin: 2px 0 0; color: var(--ink-soft); }
b { font-weight: 800; }
code { font-size: .9em; background: var(--paper-2); border-radius: 6px; padding: 1px 6px; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #3d7fd0; outline-offset: 3px; border-radius: 4px; }
.home { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Fredoka", sans-serif; font-size: 1.15rem; }
.updated { color: var(--ink-soft); margin: 0; }
.back { margin: 32px 0 0; text-align: center; }
.button {
  display: inline-block;
  padding: 12px 24px;
  border: 3px solid #2f3b4b;
  border-radius: 16px;
  background: var(--yellow);
  color: #2f3b4b;
  box-shadow: 0 4px 0 #2f3b4b;
  text-decoration: none;
  font-family: "Fredoka", "Nunito", sans-serif;
}
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 #2f3b4b; }
