/* Franne, le 03/10/2026 : « Sur l'iPhone 12, le jeu est extrêmement ralenti »
   — « au départ c'était bien, mais après ça a ralenti ». Sur PC rien ne
   s'accumule (mesuré) : c'est le téléphone qui peine à repeindre, à chaque
   coup, ~30 chars à ombres multiples, flous et halos animés, chauffe et
   ralentit. Sur écran tactile seulement : mêmes chars, mêmes couleurs,
   sans ombres, flous ni animations en boucle. */
@media (hover: none) and (pointer: coarse) {
  .checker,
  .checker::before,
  .checker::after {
    box-shadow: none !important;
    transition: none !important;
  }
  .checker.ai-glow,
  .point.ai-move-flash,
  .off-tray.ai-move-flash,
  .bar.ai-move-flash,
  #bar-black.ai-move-flash,
  .off-tray.ai-glow,
  #bar-black.ai-glow,
  .board.ai-thinking {
    animation: none !important;
  }
  .off-soldier,
  .player-flag,
  .flag-glyph {
    filter: none !important;
  }
  * {
    text-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
