/* Shared styles for the text pages (About, Privacy). The game page carries its own styles. */
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }

:root {
  --paper: #E9EDF2;
  --plate: #FFFFFF;
  --ink: #131722;
  --muted: #566070;
  --line: #C2C9D3;
  --enamel: #1B3FA8;
  --miss: #788291;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #0E1218; --plate: #19202B; --ink: #E9EDF4; --muted: #9AA4B2; --line: #313B4A;
    --enamel: #86A2FF; --miss: #6F7A8A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.05rem; line-height: 1.55; }
:focus-visible { outline: 3px solid var(--enamel); outline-offset: 2px; }
a { color: var(--enamel); }

.page { max-width: 44rem; margin: 0 auto; padding: 20px 16px 56px; display: flex; flex-direction: column; gap: 24px; }
.nameplate { align-self: flex-start; position: relative; margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.75rem, 8.2vw, 2.6rem); white-space: nowrap; line-height: 1; letter-spacing: 0.07em; text-transform: uppercase; background: var(--plate); border: 3px solid var(--ink); border-radius: 8px; padding: 0.26em 0.95em 0.2em; }
.nameplate a { color: var(--ink); text-decoration: none; }
.nameplate::before, .nameplate::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--miss); }
.nameplate::before { left: 0.3em; }
.nameplate::after { right: 0.3em; }

main { display: flex; flex-direction: column; gap: 14px; }
h1, h2, p, ul { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; margin-top: 14px; }
p, li { max-width: 65ch; }
ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 6px; }
.updated { color: var(--muted); }
.games { list-style: none; padding: 0; gap: 10px; }
.games li { padding: 12px 14px; background: var(--plate); border-left: 4px solid var(--enamel); border-radius: 3px 8px 8px 3px; max-width: none; }
.games b { font-family: var(--display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; }

.legal { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 18px; border-top: 2px solid var(--line); color: var(--muted); font-size: 0.95rem; }
