/* Pages légales (confidentialité, cookies, conditions, mentions légales) : du texte à lire, aux couleurs du jeu. */
:root {
  --bg: #e8e7e3;
  --surface: #f7f7f5;
  --ink: #262624;
  --muted: #64635e;
  --line: #d4d2cc;
  --gold: #8a6d3b;
  --tile: #ece2cf;
  --tile-edge: #cdbd9e;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a19;
    --surface: #232321;
    --ink: #e9e8e3;
    --muted: #9a9993;
    --line: #33332f;
    --gold: #c2a46e;
    --tile: #2c2b28;
    --tile-edge: #a99877;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
main { max-width: 680px; margin: 0 auto; padding: 24px 16px 64px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px 6px 8px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 0 rgb(0 0 0 / 6%);
}
.back img { width: 26px; height: 26px; }
h1 { margin: 0 0 4px; font: 700 2rem/1.2 var(--serif); }
h2 { margin: 32px 0 8px; font: 700 1.2rem/1.3 var(--serif); }
.updated { margin: 0 0 24px; color: var(--muted); font-size: 0.9rem; }
.short {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-left: 4px solid var(--tile-edge);
  border-radius: 12px;
  background: var(--surface);
}
.short p { margin: 0 0 6px; }
.short ul { margin: 0; padding-left: 20px; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--tile-edge); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
code { padding: 1px 5px; border-radius: 5px; background: var(--tile); font-size: 0.9em; }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th, td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 0.82rem; color: var(--muted); }
.scroll { overflow-x: auto; }
footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
footer a { display: inline-block; margin: 0 14px 6px 0; }
