@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

html:has(body[data-rd-standalone]) { scroll-padding-top: 98px; }

body[data-rd-standalone] {
  --gt-game-body: var(--font-body, "Source Sans 3", system-ui, sans-serif);
  --font-display: "Barlow Condensed", "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  margin: 0;
}

body[data-rd-standalone] > [data-gt-site-header] {
  --gt-header-bg: #f4f6f9;
  --gt-header-ink: #14253d;
  --gt-header-surface: #fff;
  --gt-header-line: #b7c4d4;
  --gt-header-accent: #0a3161;
  --gt-header-accent-ink: #fff;
  --gt-header-shadow: rgb(5 51 72 / 15%);
  position: sticky;
  z-index: 50;
  top: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 3px solid #b31942;
  border-bottom: 1px solid color-mix(in srgb, var(--gt-header-line) 82%, transparent);
  background: color-mix(in srgb, var(--gt-header-bg) 90%, transparent);
  color: var(--gt-header-ink);
  box-shadow: 0 8px 30px rgb(3 25 35 / 3.5%);
  backdrop-filter: blur(18px);
  font: 700 .94rem/1.2 var(--gt-game-body);
}

:root[data-theme="dark"] body[data-rd-standalone] > [data-gt-site-header] {
  --gt-header-bg: #07172b;
  --gt-header-ink: #f0f4fa;
  --gt-header-surface: #10243d;
  --gt-header-line: #4e6684;
  --gt-header-accent: #c2d2eb;
  --gt-header-accent-ink: #081c36;
  --gt-header-shadow: rgb(0 0 0 / 38%);
}

.rd-standalone-skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 60;
  padding: 12px 16px;
  transform: translateY(-150%);
  border: 2px solid currentColor;
  border-radius: 4px;
  background: #fff;
  color: #10243d;
  font: 700 1rem/1.2 var(--font-body, system-ui);
}

.rd-standalone-skip:focus { transform: none; }

body[data-rd-standalone] > [data-rd-site-footer] {
  margin-top: clamp(24px, 5vw, 64px);
  font-family: var(--font-body);
}

@media (prefers-reduced-motion: reduce) {
  html:has(body[data-rd-standalone]) { scroll-behavior: auto; }
  body[data-rd-standalone] :is([data-gt-site-header], [data-rd-site-footer]) *,
  body[data-rd-standalone] :is([data-gt-site-header], [data-rd-site-footer]) *::before,
  body[data-rd-standalone] :is([data-gt-site-header], [data-rd-site-footer]) *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
