/* Layout: one quiet reading column; a two-row "which version do I have" key up top, then the policy in the game's own words. */
:root {
  --bg: #fff4e2;
  --panel: #fde6c4;
  --ink: #4a2e1f;
  --soft: #7a5a45;
  --line: #e7c99b;
  --accent: #b9620f;
  --font-head: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1f1611;
    --panel: #2c2018;
    --ink: #f6e6cf;
    --soft: #c9ad90;
    --line: #4a372a;
    --accent: #f0a550;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1f1611;
  --panel: #2c2018;
  --ink: #f6e6cf;
  --soft: #c9ad90;
  --line: #4a372a;
  --accent: #f0a550;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-block: 2.5rem 4rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.page {
  max-width: 41rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
header, section, footer {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-head);
  text-wrap: balance;
  line-height: 1.2;
}
.game {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 { font-size: 2.25rem; font-weight: 800; }
h2 {
  font-size: 1.45rem;
  font-weight: 750;
  padding-top: 1.75rem;
  border-top: 2px solid var(--line);
}
h3 { font-size: 1.0625rem; font-weight: 700; }
.updated { color: var(--soft); font-size: 0.9375rem; }
.lede { font-size: 1.125rem; }
.key {
  background: var(--panel);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.key div { display: flex; flex-direction: column; gap: 0.15rem; }
.key dt { font-family: var(--font-head); font-weight: 700; }
.key dd { color: var(--soft); }
.topic { display: flex; flex-direction: column; gap: 0.35rem; }
ul { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
a { color: var(--accent); text-underline-offset: 0.15em; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.label {
  font-family: var(--font-head);
  font-weight: 650;
  white-space: nowrap;
}
.contact {
  background: var(--panel);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  gap: 0.4rem;
}
.contact .who { font-family: var(--font-head); font-weight: 700; }
.contact .mail { overflow-wrap: anywhere; user-select: all; }
@media (max-width: 30rem) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.3rem; }
  .label { white-space: normal; }
}
