/* Competition detail — mobile scroll FPS (load after game-specific CSS) */

@media (max-width: 991.98px) {
  html {
    scroll-behavior: auto;
  }

  /* Game-themed wallpapers use fixed attachment with !important — override here */
  body[class*='competition-detail-page'] {
    background-attachment: scroll !important;
  }

  body.page-competition-detail .competition-skeleton,
  body.page-competition-detail #competition-skeleton *,
  body.page-competition-detail .skeleton-shimmer,
  body.page-competition-detail .progress-bar,
  body.page-competition-detail .winner-skeleton {
    animation: none !important;
  }

  body.page-competition-detail .glass-card,
  body.page-competition-detail .competition-card {
    transition: none !important;
  }

  body.page-competition-detail .modal-content,
  body.page-competition-detail .dropdown-menu.glass-card,
  body.page-competition-detail .compact-product-info,
  body.page-competition-detail .instant-win-filter-bar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Decorative motion on mini-game / leaderboard blocks */
  body.page-competition-detail [class*='gclb'],
  body.page-competition-detail [class*='gcFloat'],
  body.page-competition-detail [class*='gocollect'],
  body.page-competition-detail [class*='pokemonLb'],
  body.page-competition-detail [class*='gcShine'],
  body.page-competition-detail .btn-my-pokemons--pulse {
    animation: none !important;
  }

  body.page-competition-detail canvas[id$='-particles'] {
    display: none !important;
  }

  html.is-scrolling body.page-competition-detail .progress-bar,
  html.is-scrolling body.page-competition-detail [class*='gclb'],
  html.is-scrolling body.page-competition-detail [class*='pokemonLb'] {
    animation-play-state: paused !important;
  }
}
