/* Ultimate Stars stylesheet 11.
   Original style id: us-pack-card-touch-target-fix-v49.
   Keep file order stable unless you are intentionally changing the cascade. */
  @media (max-width: 1180px), (hover: none), (pointer: coarse) {
    /* Keep the old visual stack, but make the reveal stack sit above the released pack button on phones. */
    #packOpeningView.cinematic-opening .pulled-cards.cinematic-card-stack.has-reveal-cards,
    #packOpeningView.cinematic-opening .pulled-cards.cinematic-card-stack.us48-mobile-stack-ready,
    #packOpeningView.cinematic-opening .pulled-cards.cinematic-card-stack.us49-touch-ready {
      z-index: 520 !important;
      pointer-events: auto !important;
      touch-action: manipulation !important;
      -webkit-tap-highlight-color: transparent !important;
    }

    #packOpeningView.cinematic-opening .opening-pack-button.cinematic-pack.is-released,
    #packOpeningView.cinematic-opening #openingPackBtn.is-released {
      pointer-events: none !important;
      z-index: 1 !important;
    }

    #packOpeningView.cinematic-opening .cinematic-reveal-card-wrap.is-current {
      z-index: 620 !important;
      pointer-events: auto !important;
      touch-action: manipulation !important;
      -webkit-tap-highlight-color: transparent !important;
    }

    #packOpeningView.cinematic-opening .cinematic-reveal-card-wrap.is-current .game-card,
    #packOpeningView.cinematic-opening .cinematic-reveal-card-wrap.is-current .card-art,
    #packOpeningView.cinematic-opening .cinematic-reveal-card-wrap.is-current img {
      pointer-events: none !important;
    }
  }
