html { background: #0c1b20; color: #edf4f5; color-scheme: dark; }
body { margin: 0; font: 16px/1.5 'Segoe UI', system-ui, sans-serif; }
* { box-sizing: border-box; }
.siteHeader { display: none; }
.siteFooter { max-width: 1320px; margin: 0 auto; padding: 18px max(4vw, env(safe-area-inset-right, 0px)) max(30px, env(safe-area-inset-bottom, 0px)) max(4vw, env(safe-area-inset-left, 0px)); font-size: 12px; color: #9eb6bc; }
.siteFooter a { color: #eed09c; }
button, input, select { font: inherit; }
.homeScreenHint { margin: 8px 0; color: #eed09c; }
.homeScreenHint summary, .homeScreenHint button { padding: 10px 0; cursor: pointer; font-weight: 600; }
.homeScreenHint button { background: transparent; border: 0; color: inherit; }
.homeScreenHint p { max-width: 52ch; margin: 0 0 12px; color: #edf4f5; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.siteBack { max-width:1320px; margin:0 auto; padding:max(12px, env(safe-area-inset-top, 0px)) max(4vw, env(safe-area-inset-right, 0px)) 12px max(4vw, env(safe-area-inset-left, 0px)); }
.siteBack a { color:#eed09c; text-underline-offset:4px; }

/* Public website navigation stays in document flow above the game.
   SPFx and private previews have no siteBack element and retain their fixed shell. */
.siteBack + #root [data-arcade-layout] { position:relative; inset:auto; height:auto; min-height:100dvh; }
