/* Site footer: one definition shared by the game's home screen (index.html) and every content page,
   so it is identical everywhere. Colours come from each page's palette tokens. */
.site-footer {
  border-top: 1px solid var(--surface-line);
  padding: 20px 0 max(20px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}
.site-footer .footer-inner { width: min(720px, 100%); margin: 0 auto; padding: 0 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover,
.site-footer a[aria-current="page"] { color: var(--text); }
.site-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
