/* The three legal pages (/terms, /privacy, /credits): the game's own palette
   and faces, set for reading rather than for a HUD. Since 13 Sep the pages
   carry no header (brand, nav, CLOSE): in the game they open as slide-outs
   (src/ui/legalPanel.ts, whose scoped reading rules mirror these — keep the
   two in step); standing alone they are the page and its footer links. */
@font-face {
  font-family: 'Black Ops One';
  src: url('/fonts/black-ops-one.ttf') format('truetype');
  font-display: swap;
}
:root {
  --bg: #061015;
  --panel: #0b1b22;
  --line: #1d3a3e;
  --hud: #7fd4c9;
  --hud-dim: #5f9d98;
  --text: #dcefeb;
  --muted: #a7c7c2;
  --warn: #e8a13d;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  padding: 0 clamp(18px, 5vw, 64px) 80px;
}
a { color: var(--hud); text-underline-offset: 3px; }
a:hover { color: #b5eee6; }
a:focus-visible { outline: 2px solid var(--warn); outline-offset: 3px; }
main { max-width: 820px; margin: 0 auto; }
h1 {
  font: 34px/1.15 'Black Ops One', Impact, 'Arial Black', sans-serif; letter-spacing: 0.04em;
  margin: 40px 0 6px; text-wrap: balance;
}
.meta { font: 13px 'SF Mono', Menlo, Consolas, monospace; color: var(--hud-dim); letter-spacing: 0.04em; margin: 0 0 28px; }
h2 {
  font: 600 13px 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hud); margin: 40px 0 10px; padding-top: 18px; border-top: 1px solid var(--line);
}
h3 { font-size: 16px; margin: 22px 0 6px; }
p, li { max-width: 70ch; color: var(--text); }
ol, ul { padding-left: 1.4em; }
li { margin: 6px 0; }
ol ol, ol ul, ul ul { margin: 6px 0; }
.lede { color: var(--muted); font-size: 17px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); margin: 12px 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font: 600 11px 'SF Mono', Menlo, Consolas, monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hud); }
td { color: var(--muted); }
td:first-child { color: var(--text); }
tr:last-child td { border-bottom: 0; }
.foot {
  max-width: 820px; margin: 56px auto 0; padding-top: 18px; border-top: 1px solid var(--line);
  font: 13px 'SF Mono', Menlo, Consolas, monospace; color: var(--hud-dim);
}
.foot a { color: var(--muted); }
