/* The reading pages (how-to-play, about, privacy, terms). Same palette and type as the game
   (template.html). Light only, like the game. */
* { -webkit-tap-highlight-color: transparent; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: optional; src: url(/fonts/barlow-condensed-800.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 100 900; font-display: optional; src: url(/fonts/archivo.woff2) format("woff2"); }
:root {
  color-scheme: light;
  --bg: #eceef2; --panel: #ffffff; --fg: #141821; --muted: #5b6270; --line: #d3d7df; --accent: #a84a0c; --play: #e8702a;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6;
  padding: 20px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); -webkit-text-size-adjust: 100%; overflow-wrap: break-word; }
main, .pageFoot { max-width: 680px; margin-inline: auto; }
a { color: var(--accent); font-weight: 600; }
a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 3px; }
.back { display: inline-block; padding: 12px 12px 12px 0; margin-bottom: 4px; font-size: 14px; text-decoration: none; }
h1 { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.05; margin: 0 0 6px; letter-spacing: 0.01em; text-wrap: balance; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.lead { font-size: 19px; line-height: 1.45; margin: 0 0 14px; }
h2 { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; margin: 32px 0 8px; letter-spacing: 0.01em; }
p, li { margin: 0 0 10px; }
ul { padding-left: 20px; margin: 0 0 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.wrap { overflow-x: auto; }
.playBtn { display: inline-block; margin: 10px 0 4px; background: var(--play); color: #fff; border-radius: 12px; padding: 14px 26px; font: 800 24px/1.2 var(--display); letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
/* How to Play: four pictures of the game (scripts/howto_shots.js), one line each. */
.steps { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 14px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; padding-bottom: 14px; }
.steps img { display: block; width: 100%; height: auto; background: #dcb780; }
.steps h2 { display: flex; align-items: center; gap: 10px; margin: 12px 14px 2px; }
.steps h2 span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--play); color: #fff; font-size: 19px; line-height: 28px; text-align: center; letter-spacing: 0; }
.steps p { margin: 0 14px 0 52px; line-height: 1.4; text-wrap: balance; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
.card li:last-child { margin-bottom: 0; } .center { text-align: center; }
.pageFoot { margin-top: 44px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }
.pageFoot nav { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 20px; }
.pageFoot nav a { color: var(--muted); padding: 12px 2px; }
.pageFoot nav a[aria-current] { color: var(--fg); text-decoration: none; }
.pageFoot p { margin: 6px 0 0; }
