/* The site's plain pages (privacy, support, 404). Same palette, type and
   surfaces as the landing page's night (game/presentation/ui/ui_theme.gd and
   the meta-game mockups), without its effects: these are pages people read,
   sometimes from a store listing, on any phone. */
:root {
  --bg: #0c1317;
  --paper: #14222a;
  --fg: #eceada;
  --title: #ffdca0;
  --muted: #a3b5ae;
  --accent: #ffb870;
  --label: #ffc65c;
  --line: #22383f;
  --edge: #2e4a52;
  --ember: #ff8a47;
  --ember-deep: #c56528;
  --on-ember: #1a0e08;
  --display: "Eczar", Georgia, serif;
  --body: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: radial-gradient(ellipse 90% 420px at 50% -120px, rgba(255,138,71,.16), transparent 70%) no-repeat, var(--bg); color: var(--fg); font: 400 1.125rem/1.6 var(--body); overflow-wrap: break-word; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ember); color: var(--on-ember); padding: 8px 14px; border-radius: 8px; z-index: 5; }
.skip:focus { left: 8px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); background: rgba(10,16,20,.5); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 700 1rem var(--body); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.brand svg { width: 24px; height: 24px; filter: drop-shadow(0 0 6px rgba(255,138,71,.55)); }
.top a.back { font-weight: 600; text-decoration: none; white-space: nowrap; }
.top a.back:hover { text-decoration: underline; }

main { max-width: 46rem; margin: 0 auto; padding: 40px var(--gutter) 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--label); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; margin: 0; }
.eyebrow::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: currentColor; box-shadow: 0 0 8px currentColor; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; font-weight: 700; margin: 0; }
h1 { font-size: clamp(2.1rem, 6vw, 3rem); margin: 8px 0 12px; color: var(--title); }
h2 { font-size: 1.55rem; margin: 40px 0 10px; padding-top: 8px; color: var(--title); }
h3 { font-size: 1.2rem; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 6px; }
.lede { font-size: 1.2rem; color: var(--muted); }
.meta { color: var(--muted); font-size: .95rem; }
.note { background: linear-gradient(180deg, rgba(26,42,50,.9), rgba(12,19,24,.9)); border: 1px solid var(--edge); border-radius: 16px; padding: 14px 18px; margin: 18px 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.note p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 1rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
@media (max-width: 520px) {
  /* Tables become stacked rows rather than scroll sideways. */
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -999px; }
  tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 2px 0; }
  td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; }
}
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font: 700 1.15rem/1.3 var(--display); list-style-position: outside; margin-left: 1.1em; color: var(--fg); }
details summary::marker { color: var(--ember); }
details[open] summary { margin-bottom: 8px; }
details > *:not(summary) { margin-left: 1.1em; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 14px;
  font: 700 1rem var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  background: linear-gradient(180deg, #ffb27a 0%, #ff8a47 38%, #e8692c 70%, #b9531f 100%); color: var(--on-ember);
  box-shadow: 0 0 0 1px #8a3c14, inset 0 0 0 1px rgba(255,214,160,.55), inset 0 2px 0 rgba(255,244,220,.55), 0 10px 30px -10px rgba(255,120,50,.75);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }

.foot { border-top: 1px solid var(--line); padding: 24px var(--gutter) 36px; color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: inherit; }
