/* The site header on every page (Home, How to play, Privacy, Terms), in the
   app's Arcade style (site/index.html). Its own class names, so it never
   clashes with a page's styles. */
.site-top {
  --st-ground: #0E1630; --st-panel: #1A2450; --st-deep: #0A1028;
  --st-text: #F4F6FF; --st-muted: #C6CBE6; --st-lime: #C8F03C; --st-lime-edge: #7FA315; --st-ink: #0E1630;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px;
  max-width: 1080px; margin: 0 auto; padding: 16px;
  font: 500 16px/1.4 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.site-top * { box-sizing: border-box; }
.site-top .st-logo { display: flex; align-items: center; gap: 10px; color: var(--st-text); text-decoration: none;
  font: 700 22px/1 "Chakra Petch", system-ui, sans-serif; }
.site-top .st-logo img { width: 38px; height: 38px; display: block; }
.site-top .st-logo b { color: var(--st-lime); font-weight: 700; }
.site-top .st-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.site-top nav { display: flex; gap: 2px; flex-wrap: wrap; }
.site-top nav a { color: var(--st-muted); text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 8px 11px; border-radius: 999px; }
.site-top nav a:hover, .site-top nav a:focus-visible { color: var(--st-text); background: var(--st-panel); }
.site-top nav a[aria-current="page"] { color: var(--st-text); background: var(--st-panel); }
/* The ChunkyButton: a darker bottom edge that disappears while pressed. */
.site-top .st-play { display: inline-flex; align-items: center; justify-content: center; margin-left: 4px;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 700 15px/1 "Chakra Petch", system-ui, sans-serif; letter-spacing: .02em;
  color: var(--st-ink); background: var(--st-lime); text-decoration: none;
  padding: 11px 16px; border-radius: 14px; box-shadow: 0 4px 0 var(--st-lime-edge);
  transition: transform .08s, box-shadow .08s; }
.site-top .st-play:hover { filter: brightness(1.05); }
.site-top .st-play:active { transform: translateY(4px); box-shadow: 0 0 0 var(--st-lime-edge); }
/* "Log out", next to "Play as NAME" while this browser is signed in (header.js). */
.site-top .st-logout { margin-left: 2px; padding: 10px 12px; border-radius: 14px; cursor: pointer;
  font: 700 14px/1 Manrope, system-ui, sans-serif; color: var(--st-muted);
  background: transparent; border: 2px solid var(--st-panel); }
.site-top .st-logout:hover, .site-top .st-logout:focus-visible { color: var(--st-text); background: var(--st-panel); }
.site-top .st-logout:disabled { opacity: .6; cursor: default; }
@media (max-width: 520px) {
  .site-top { padding: 12px 16px; }
  .site-top .st-right { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .site-top .st-play { transition: none; } }
