/* Static pages: how to play, about, country outlines. A file of its own because the site's
   Content-Security-Policy forbids inline styles. Colours match the game. */
:root {
  --bg: #f4f1ea; --card: #fffdf8; --ink: #1d2430; --muted: #6b7280; --line: #e3ddd0;
  --accent: #1f6f78; --accent-ink: #fff; --shape: #2b3a4a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11161d; --card: #19212b; --ink: #e8ecf1; --muted: #9aa4b2; --line: #2a3542; --accent: #3fb6c0; --accent-ink: #0d1318; --shape: #d7e1ea; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
header nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.brand { font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
a { color: var(--accent); }
h1 { font-size: 30px; line-height: 1.2; margin: 26px 0 8px; }
h2 { font-size: 20px; margin: 30px 0 8px; }
h2 .count { color: var(--muted); font-weight: 400; font-size: 15px; }
.lead { font-size: 18px; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.outline { display: block; width: 100%; max-width: 480px; height: auto; margin: 18px auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.outline path { fill: var(--shape); }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.links { line-height: 1.9; }
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 14px; }
.cta { margin: 36px 0 12px; text-align: center; }
.button { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px; }
footer { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 32px; padding-top: 14px; padding-bottom: 32px; }
.flag { font-size: .9em; }
.facts li { margin: 8px 0; }
.outline.small { max-width: 300px; margin: 6px 0 10px; }
.quiz { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.quiz-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.quiz-item h2 { margin: 0; font-size: 17px; }
.quiz-item .outline.small { border: 0; background: none; max-width: 100%; }
details summary { cursor: pointer; color: var(--accent); font-weight: 600; }
details p { margin: 6px 0 0; font-size: 18px; }
.quiz-list li { margin: 10px 0; font-size: 18px; }
.credit { flex-basis: 100%; text-align: center; font-size: 12px; }
