@font-face { font-family: 'Newsreader'; src: url(/fonts/newsreader-var.woff) format('woff'); font-weight: 200 800; font-style: normal; font-display: swap; }
/* Legal pages: the same paper, ink and Newsreader as the game and the old /privacy/ page. */
:root {
  --paper: #f3eee4; --card: #f7f2e9; --ink: #221c16; --ink-soft: #5c5348; --quiet: #6f675c;
  --ochre: #9a5728; --ochre-ink: #fff8f1; --rule: rgba(34, 28, 22, 0.16); --loss: #8d564c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #14110e; --card: #1b1713; --ink: #f4eee6; --ink-soft: #cbbba8; --quiet: #b3a394;
    --ochre: #e2a86a; --ochre-ink: #24180f; --rule: rgba(244, 238, 230, 0.16); --loss: #e0aaa1;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1.125rem/1.6 "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 42rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.5rem 0 1rem; }
nav a { color: var(--ochre); font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
article { background: var(--card); border: 1px solid var(--rule); padding: 1.25rem 1.25rem 1.5rem; }
h1 { font-size: 2rem; line-height: 1.15; margin: 0 0 0.75rem; font-weight: 600; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 1.6rem 0 0.4rem; font-weight: 600; }
h3 { font-size: 1.05rem; margin: 1.2rem 0 0.3rem; font-weight: 600; }
p, ul, ol { margin: 0 0 0.75rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.35rem; }
a { color: var(--ochre); }
code { font-size: 0.95em; }
footer { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--quiet); line-height: 1.8; }
footer a { color: var(--ochre); }

/* Delete-data form (legal-delete.ts). Plain buttons in the game's shapes. */
.delete-box { margin: 1rem 0 1.25rem; padding: 1rem; border: 1px solid var(--rule); border-left: 3px solid var(--ochre); background: var(--paper); }
.delete-box h3 { margin-top: 0; }
.delete-box label { display: block; font-weight: 600; margin: 0.25rem 0 0.35rem; }
.delete-box input {
  width: 100%; min-height: 48px; padding: 0.5rem 0.75rem; font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 2px; letter-spacing: 0.08em;
}
.delete-box input:focus-visible, .delete-box button:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.delete-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.delete-box button {
  min-height: 48px; padding: 0.6rem 1rem; font: inherit; font-weight: 600; border-radius: 2px; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
}
.delete-box button.is-danger { background: var(--loss); border-color: var(--loss); color: var(--ochre-ink); }
.delete-box button:disabled { opacity: 0.55; cursor: not-allowed; }
.delete-code { font-size: 1.6rem; font-weight: 600; letter-spacing: 0.18em; margin: 0.25rem 0 0.5rem; }
.delete-status { margin: 0.6rem 0 0; color: var(--ink-soft); }
.delete-status.is-error { color: var(--loss); }
.delete-done { font-weight: 600; }
