/* Static content pages (/answers/, /how-to-play/). Same tokens, font and
   components as src/style.css so they look like the game, but a normal
   scrolling document (the app locks html/body to overflow:hidden). */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #121623;
  --surface: #1a1d2e;
  --surface-hover: #202538;
  --border: #2a2f44;
  --border-hover: #3a3f54;
  --accent: #7c8cf8;
  --accent-light: #a8c5ff;
  --accent-glow: rgba(124, 140, 248, 0.2);
  --success: #4ade80;
  --success-bg: rgba(74, 222, 128, 0.12);
  --warning: #fb923c;
  --warning-bg: rgba(251, 146, 60, 0.12);
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.12);
  --text: #e8e8f0;
  --text-muted: #888aa0;
  --r: 12px;
  --r-sm: 8px;
}
body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
a { color: var(--accent-light); }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wordmark {
  font-size: 26px; font-weight: 800; letter-spacing: -1px; text-decoration: none;
  background: linear-gradient(135deg, #7c8cf8 0%, #a8c5ff 60%, #c4b5fd 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.crumbs a { color: var(--text-muted); }
h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 6px; }
.sub { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; }
.section {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 18px; margin-bottom: 12px;
}
.section h2 {
  font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px;
}
.section h3 { font-size: 15px; margin: 14px 0 4px; color: var(--text); }
.section h3:first-of-type { margin-top: 0; }
.section p, .section li { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.section p + p { margin-top: 8px; }
.section ol, .section ul { padding-left: 20px; }
.section li + li { margin-top: 6px; }
.section strong { color: var(--text); }
.question { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.rank-slots { display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0 !important; }
.rank-slot {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  background: var(--success-bg); border: 1.5px solid var(--success); border-radius: var(--r);
}
.rank-slot + .rank-slot { margin-top: 0 !important; }
.slot-rank {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--success); color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.slot-item { flex: 1; font-size: 15px; font-weight: 600; color: var(--text); word-break: break-word; }
.slot-value { font-size: 14px; color: var(--text); opacity: 0.85; margin-left: auto; padding-left: 10px; text-align: right; }
.actions { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 22px; border-radius: var(--r); border: 2px solid transparent;
  font-family: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #121623; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-hover); background: var(--surface-hover); }
.pager { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 16px; font-size: 14px; }
.pager a { text-decoration: none; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
.dot.correct { background: var(--success); } .dot.close { background: var(--warning); } .dot.wrong { background: var(--danger); }
.answer-list { list-style: none; padding: 0 !important; }
.answer-list li { padding: 10px 0; border-top: 1px solid var(--border); margin: 0 !important; }
.answer-list li:first-child { border-top: 0; padding-top: 0; }
.answer-list a { font-weight: 700; text-decoration: none; }
.answer-list .meta { display: block; font-size: 13px; color: var(--text-muted); }
.foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.foot a { color: var(--accent-light); }
