/* Shared by every standalone xFPS page. Keep the last content clear of the CTA.
   The floating link stays on purpose: these pages are long on a phone, and it
   is the one way back that is always in reach (CHANGELOG "Information-page
   navigation"). The header link names the same place the same way.
   Static pages load no app CSS, so the menu tokens they use are mirrored here
   (values from src/ui/menu-tokens.css). */
:root {
  --fuux-accent: #ffba2e;
  --fuux-accent-hover: #ffd66f;
  --fuux-accent-ink: #0b1118;
  --fuux-radius-control: 4px;
  --fuux-focus: 0 0 0 3px rgba(255, 186, 46, .22);
}
html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.return-to-game {
  position: fixed;
  z-index: 10;
  inset-inline-start: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 24px;
  border: 1px solid var(--fuux-accent, #ffba2e);
  border-radius: var(--fuux-radius-control, 4px);
  background: var(--fuux-accent, #ffba2e);
  color: var(--fuux-accent-ink, #0b1118);
  box-shadow: 0 4px 24px #0008;
  font: 750 16px/1.5 "Segoe UI", system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
}
.return-to-game:hover { background: var(--fuux-accent-hover, #ffd66f); border-color: var(--fuux-accent-hover, #ffd66f); color: var(--fuux-accent-ink, #0b1118); }
.return-to-game:focus-visible { outline: 2px solid var(--fuux-accent, #ffba2e); outline-offset: 3px; box-shadow: var(--fuux-focus, 0 0 0 3px rgba(255, 186, 46, .22)), 0 4px 24px #0008; }
/* Header return link: same words and the same back arrow as the floating one
   (the arrow is decoration, so it carries no spoken text). */
.site-header > a.play[href="./"]::before,
.page > header > a.back[href="./"]::before { content: "\2190"; content: "\2190" / ""; }
.page > header > a.back[href="./"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
@media print {
  body { padding-bottom: 0; }
  .return-to-game { display: none; }
}
