/* Standalone documents: they must render even if the game's stylesheets are not loaded,
   so this file does not depend on the design tokens. */
:root { color-scheme: dark; }

body {
  margin: 0;
  background: #0b1512;
  color: #dfe9e4;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.62;
  -webkit-text-size-adjust: 100%;
}

.doc {
  max-width: 40rem;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 22px calc(48px + env(safe-area-inset-bottom));
}

.doc-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1d9e75;
}

h1 {
  margin: 4px 0 2px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 700;
}

h2 {
  margin: 30px 0 8px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5c04a;
}

.doc-updated { margin: 0 0 24px; font-size: 13px; opacity: 0.6; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 7px; }
a { color: #4fd1a5; }

.doc-back {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
