/* FormyDog v49 · protección de input móvil: el canvas pertenece a Phaser */
@media (max-width:900px){
  html body .app>.game-layout>.center,
  html body .app>.game-layout>.center .board-shell,
  html body .app>.game-layout>.center .board-mount,
  html body .app>.game-layout>.center #gameMount,
  html body .app>.game-layout>.center #gameMount canvas{
    pointer-events:auto!important;
  }

  html body .app>.game-layout>.center .board-mount,
  html body .app>.game-layout>.center #gameMount,
  html body .app>.game-layout>.center #gameMount canvas{
    touch-action:none!important;
    -webkit-user-select:none!important;
    user-select:none!important;
  }

  /* Las capas decorativas nunca deben capturar el toque del tablero. */
  html body .board-shell::before,
  html body .board-shell::after,
  html body .board-mount::before,
  html body .board-mount::after,
  html body .fd47-ambient,
  html body .fd47-light,
  html body .fd47-scene-decor,
  html body .fd47-flash,
  html body .fd-board-ad{
    pointer-events:none!important;
  }

  /* Resultado sólo captura input cuando realmente está visible. */
  html body .result[hidden]{
    display:none!important;
    pointer-events:none!important;
  }
  html body .result:not([hidden]){
    pointer-events:auto!important;
  }
}
