/* Privacy policies and terms of service for every game: a plain, formal document (made by tools/legal.py).
   Each page sets its game's accent colour on <body> (--accent). System fonts only: no font services. */
:root {
  --bg: #f4f5f7; --paper: #ffffff; --ink: #1f2328; --ink-2: #57606a; --line: #d8dee4; --soft: #f6f8fa;
  --accent: #2f6c8f;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1117; --paper: #161b22; --ink: #e6edf3; --ink-2: #9da7b3; --line: #30363d; --soft: #1c2229; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.7 var(--font); -webkit-text-size-adjust: 100%; }
.wrap { max-width: 880px; margin: 0 auto; padding-inline: 20px; }

/* the bar along the top: the game, and its pages */
.bar { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.bar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.bar nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.bar nav a:hover { color: var(--ink); background: var(--soft); }
.bar nav a.on { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* the document */
.doc { background: var(--paper); margin-block: 28px 40px; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 14px; }
.kicker { margin: 0 0 6px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 40px); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.meta { margin: 0 0 28px; color: var(--ink-2); font-size: 14.5px; }
.meta b { color: var(--ink); font-weight: 600; }
h2 { margin: 44px 0 12px; font-size: 21px; line-height: 1.3; text-wrap: balance; }
h2 .n { color: var(--accent); margin-right: 6px; font-variant-numeric: tabular-nums; }
h3 { margin: 26px 0 6px; font-size: 16.5px; }
h3 .n { color: var(--ink-2); margin-right: 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
p, li { margin: 0 0 12px; }
ul, ol { padding-left: 22px; }
li::marker { color: var(--ink-2); }
a { color: var(--accent); text-underline-offset: 2px; overflow-wrap: anywhere; }
strong { font-weight: 650; }
section { min-width: 0; }

/* at a glance, and the contents */
.glance { background: color-mix(in srgb, var(--accent) 8%, var(--paper)); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 12px; padding: 18px 22px 8px; margin: 0 0 24px; }
.glance h2, .toc h2 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.glance ul { margin: 0; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px 10px; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 26px; columns: 2 260px; column-gap: 32px; font-size: 15px; }
.toc li { margin: 0 0 6px; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* tables: what is collected, the partners */
.table { overflow-x: auto; margin: 10px 0 18px; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { background: var(--soft); font-weight: 650; white-space: nowrap; }
td:first-child { font-weight: 600; min-width: 130px; }
.note { background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0; }
.caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }
.contact { display: grid; gap: 4px; background: var(--soft); border-radius: 10px; padding: 14px 18px; }
.contact p { margin: 0; }

.foot { color: var(--ink-2); font-size: 14px; padding-bottom: 36px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.foot a { color: inherit; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 560px) {
  body { font-size: 16px; } .doc { margin-top: 16px; border-radius: 10px; } h2 { margin-top: 36px; }
  /* tables: each row a small card, its cells labelled */
  .table { border: 0; overflow: visible; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 10px 14px; }
  td { border: 0; padding: 3px 0; }
  td:first-child { font-size: 15.5px; padding-bottom: 6px; }
  td + td::before { content: attr(data-label); display: block; color: var(--ink-2); font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
}
@media print { .bar, .toc { display: none; } .doc { border: 0; } body { background: #fff; } }
