/* The legal site (#437): one small stylesheet, no fonts or scripts from anywhere else. */
:root {
  --bg: #f7f7f5;
  --text: #1d1f23;
  --muted: #5b616b;
  --card: #ffffff;
  --line: #e2e3e0;
  --accent: #2f6f5e;
  --warn-bg: #fff6e0;
  --warn-line: #e8c56a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --text: #e8e9ea;
    --muted: #a3a8b0;
    --card: #1d2024;
    --line: #2d3137;
    --accent: #7cc7b0;
    --warn-bg: #2e2716;
    --warn-line: #8a6d24;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

header { margin-bottom: 2rem; }

header .game {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
}

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0.5rem 0; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
h3 { font-size: 1.05rem; margin: 1.6rem 0 0.4rem; }

p, li { overflow-wrap: anywhere; }

.meta { color: var(--muted); font-size: 0.95rem; }

a { color: var(--accent); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.card a.title { font-weight: 600; font-size: 1.1rem; }

.note {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin: 1rem 0;
}

.table-wrap { overflow-x: auto; }

table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem; border-bottom: 1px solid var(--line); }

footer { margin-top: 3rem; color: var(--muted); font-size: 0.9rem; }
