/* Shared by the static pages in public/ (privacy, terms, support). The game itself does not load it. */
:root {
  --ink: #05070f;
  --panel: #0c1220;
  --line: #1c2740;
  --text: #dce2f2;
  --muted: #8c98b5;
  --accent: #22d3ff;
}
* { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.brand img { border-radius: 8px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
nav a:hover, nav a[aria-current='page'] { color: var(--text); }
nav a.lang { color: var(--accent); }
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; }
h1 { margin: 0 0 6px; font-size: clamp(28px, 6vw, 38px); line-height: 1.15; letter-spacing: -0.01em; }
.updated { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
h2 { margin: 36px 0 10px; font-size: 20px; line-height: 1.3; scroll-margin-top: 16px; }
h3 { margin: 22px 0 6px; font-size: 16px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--accent); }
strong { color: #fff; font-weight: 600; }
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0; overflow-wrap: anywhere; }
