/* Plain reading pages (privacy policy, support). Same bundled font as the game; nothing loads from anyone else. */
:root {
  --bg: #fbf8f3; --text: #2a211a; --muted: #6d5f52; --line: #e6ddd1; --accent: #8c5e22; --card: #fff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #15110e; --text: #efe6da; --muted: #b8aa9a; --line: #3a3029; --accent: #e3b06a; --card: #1e1813; }
}
* { box-sizing: border-box; }
html { height: 100%; overflow: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain;
  background: var(--bg); color: var(--text);
  font: 17px/1.6 "Atkinson Hyperlegible Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 20px calc(env(safe-area-inset-bottom, 0px) + 48px);
}
main { max-width: 680px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.brand img { width: 48px; height: 48px; border-radius: 12px; }
.brand span { font-weight: 700; color: var(--muted); }
h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 4px; }
h2 { font-size: 20px; margin: 32px 0 6px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { color: var(--text); }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.lead { font-size: 18px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--accent); }
table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 16px 0; }
details { border-bottom: 1px solid var(--line); padding: 10px 0; }
summary { font-weight: 600; cursor: pointer; }
details p, details ul { margin: 8px 0 4px; }
.back {
  position: sticky; top: 0; z-index: 2; display: block;
  padding: 10px 0; margin: 0 0 8px;
  background: var(--bg); border-bottom: 1px solid var(--line);
  text-decoration: none; font-weight: 600;
}
code { font-size: 15px; }
footer { margin-top: 40px; color: var(--muted); font-size: 14px; }
