.forge-controls { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:center; }
.forge-control { font:inherit; font-size:12px; color:inherit; border:1px solid currentColor; background:transparent; padding:6px 10px; border-radius:6px; cursor:pointer; }
.site-header { gap:12px; }
.forge-display-top { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; text-decoration:none; flex:none; min-height:40px; white-space:nowrap; color:#e5f5e8; border-color:#66836e; background:#17251c; }
.forge-top-fallback { position:sticky; top:0; z-index:25; padding:8px; background:#0d1912; }
.app > .top .right { flex-wrap:wrap; }
@media (max-width:980px) {
  .site-header .site-nav { display:none; }
  .site-header .nav-toggle { display:flex; flex:none; }
  .mobile-nav:not([hidden]) { display:flex; }
  .site-header .music-toggle-mobile { display:inline-flex; height:40px; margin-left:auto; margin-right:0; padding:0 10px; border:1px solid #66836e; border-radius:8px; background:#17251c; }
}
.nav-bots { color:#d9f7a9 !important; }
.nav-bots[aria-current="page"] { border-bottom:2px solid #d9f7a9; }
@media (max-width:560px) {
  .site-header { gap:8px; }
  .site-header .brand > span:last-child { display:none; }
  .forge-display-top { font-size:11px; padding:6px 9px; }
  .site-header .music-label { display:none; }
}
@media (max-width:360px) { .site-header { gap:5px; } .forge-display-top {font-size:10px;padding:6px 7px;} }
.forge-dialog { color:#dfebe3; background:#0d1912; border:1px solid #60866d; border-radius:14px; max-width:min(620px, calc(100vw - 32px)); max-height:85dvh; padding:28px; font:16px/1.5 system-ui,sans-serif; overflow:auto; }
.forge-dialog::backdrop { background:#000c; }
.forge-dialog h2 { margin-top:0; color:#d9f7a9; }
.forge-dialog h3 { margin-bottom:4px; font-size:16px; }
.forge-dialog p { margin:6px 0 20px; }
.forge-dialog select,.forge-dialog button,.forge-dialog a { font:inherit; }
.forge-dialog button,.forge-dialog .launch-play { display:inline-block; background:#beefb9; color:#0a170d; border:1px solid #beefb9; border-radius:6px; padding:10px 16px; cursor:pointer; text-decoration:none; margin:6px; }
.forge-dialog select { display:block; width:100%; padding:12px; color:#e4f1e5; background:#152a1c; margin:12px 0; }
.forge-dialog img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:8px; }   /* height:auto: the tag's height attribute would otherwise fix it at 540px and crop the sides */
.forge-control:focus-visible,.forge-dialog :focus-visible { outline:3px solid #f4d48b; outline-offset:3px; }
html[data-effects="reduced"] .crt-frame,html[data-effects="reduced"] .hero-embers,html[data-effects="reduced"] .hero-particles,html[data-effects="reduced"] .face-rain,html[data-effects="reduced"] .hero-scan-sweep,html[data-effects="reduced"] .hero-cursor-glow { display:none !important; }
html[data-effects="reduced"] body::before,html[data-effects="reduced"] body::after { display:none !important; }
html[data-effects="reduced"] .screen::after { display:none !important; }
html[data-effects="reduced"] *,html[data-effects="reduced"] *::before,html[data-effects="reduced"] *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
html[data-effects="reduced"] [data-reveal] { opacity:1 !important; transform:none !important; }

@media(min-width:981px) {
 .site-header {padding-left:24px;padding-right:24px;gap:14px;}
 .site-header .site-nav {display:flex;gap:18px;margin-left:auto;font-size:11px;letter-spacing:.04em;}
 .site-header .site-nav a[href="posters.html"],.site-header .site-nav a[href="about.html"],.site-header .site-nav a[href$="#contact"],.site-header .site-nav a[href="arcade.html"],.site-header .site-nav a[href="floor.html"] {display:none;}
 .site-header .music-toggle-mobile {display:none;}
 .site-header .nav-toggle {display:flex;flex:none;}
}
@media(min-width:981px) and (max-width:1180px) { .site-header .brand > span:last-child {display:none;} }

.mobile-nav:not([hidden]) {display:flex;}

/* the game's version beside its title (site-experience.js) */
h1 .forge-version { display: inline-block; margin-left: .4em; padding: .15em .55em; border: 1px solid currentColor; border-radius: 999px;
  font: 600 12px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .04em; text-transform: none; vertical-align: middle;
  opacity: .8; white-space: nowrap; }
