/*
 * The legal pages (terms.html, privacy.html): plain documents in the game's
 * text face (the site's copy, ../fonts/), with no scripts and no third-party
 * requests. Light by default, the game's greens in dark mode.
 */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/NotoSans-latin.woff2') format('woff2');
}
:root {
  color-scheme: light dark;
  --bg: #f6f8f3;
  --text: #17231b;
  --muted: #4c5e50;
  --accent: #2f6b1f;
  --rule: #d5dfd2;
  --card: #e9f0e4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13201a;
    --text: #f4f8ef;
    --muted: #b8c9b4;
    --accent: #9be37a;
    --rule: rgba(180, 230, 170, 0.22);
    --card: rgba(255, 255, 255, 0.06);
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 32px 16px 64px;
}
h1 {
  margin: 0 0 4px;
  font-size: 30px;
  line-height: 1.2;
}
h2 {
  margin: 40px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 22px;
  line-height: 1.3;
}
h3 {
  margin: 24px 0 4px;
  font-size: 18px;
}
p,
ul,
ol {
  margin: 0 0 12px;
}
li {
  margin-bottom: 6px;
}
a {
  color: var(--accent);
  overflow-wrap: anywhere;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.updated {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}
nav {
  margin-bottom: 24px;
  font-size: 15px;
}
/* The kid-friendly summary at the top. */
.summary {
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--card);
}
.summary h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.summary ul {
  margin-bottom: 0;
}
table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  padding: 8px 10px;
  border: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--card);
}
/* Tables scroll sideways on a phone instead of the whole page. */
.table-wrap {
  overflow-x: auto;
}
footer {
  margin-top: 48px;
  color: var(--muted);
  font-size: 14px;
}
