/* Forge No Ads Games — live 3D gameplay surface, not catalogue artwork.
   The underlying game DOM remains intact for rules, text, keyboard and fallback. */
#play .bar .f3d-mode {
  flex-shrink:0;min-height:34px;padding:7px 11px;border-radius:10px;
  border:1px solid #b5e0e0;background:linear-gradient(145deg,#1c5663,#15313f);
  color:#edffff;font:750 11px/1.2 system-ui,sans-serif;
  letter-spacing:.035em;box-shadow:0 3px 12px #08243245;
}
#play .bar .f3d-mode[aria-pressed="true"] {background:linear-gradient(145deg,#c49b52,#795b36);border-color:#ffe4aa;color:#fff;}
#play .bar .f3d-mode[hidden]{display:none!important}
#stage .f3d-active {
  position:relative!important;isolation:isolate;
  background:#101923!important;overflow:hidden!important;
  border:2px solid #be9858!important;border-radius:13px!important;
  box-shadow:0 8px 27px #08101cb0,0 0 0 1px #fff2d933!important;
  touch-action:auto!important;
}
#stage .f3d-active > :not(.f3d-canvas) {
  opacity:0!important;
}
#stage .f3d-active > :not(.f3d-canvas):focus-visible {
  opacity:1!important;position:relative;z-index:20!important;
  outline:3px solid #70e6fa!important;
}
#stage .f3d-active canvas.f3d-canvas {
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;z-index:15!important;
  margin:0!important;padding:0!important;touch-action:none!important;
  cursor:default;pointer-events:none!important;
  outline-offset:2px!important;
}
#stage .f3d-active canvas.f3d-canvas:focus-visible {outline:3px solid #5cd5ee;}
@media(max-width:470px){
  #play .bar .f3d-mode{font-size:10px;padding:6px 8px;min-height:30px}
  #stage .f3d-active{border-width:1px!important;border-radius:8px!important}
}
@media(prefers-reduced-motion:reduce){
  #stage .f3d-active,#play .bar .f3d-mode{transition:none!important;animation:none!important}
}
