/* Mobile performance v20
   - default panel artwork already contains the unpressed buttons, so we don't fetch 8 UP overlays at boot;
   - DOWN overlays are enabled only after idle preload;
   - coarse-pointer drag uses a much cheaper paint path. */

@media (max-width:820px) and (orientation:portrait){
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::before{
    background-image:none!important;
    opacity:0!important;
  }
  body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore)::after{
    background-image:none!important;
    opacity:0!important;
  }
  html.pz-mobile-state-assets-ready body.pz-game-page.pz-classic-layout-v2.pz-retro-ui-v1.pz-retro-ui-v2.pz-retro-ui-v3.pz-retro-ui-v4.pz-retro-ui-v5.pz-retro-ui-v6 :is(.pz-retro-slot--start,.pz-retro-slot--quick1,.pz-retro-slot--quick2,.pz-retro-slot--quick3,.pz-retro-slot--bottom1,.pz-retro-slot--bottom2,.pz-retro-slot--bottom3,.pz-retro-slot--readmore).is-pressed::after{
    background-image:var(--pz-btn-down)!important;
    opacity:1!important;
    transform:translateY(1px) scale(.99)!important;
  }
}

@media (max-width:820px) and (orientation:portrait) and (pointer:coarse){
  .pz-uk-stage .pz-real-piece.pae-piece{
    touch-action:none!important;
    will-change:transform!important;
    transition:none!important;
    filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .pz-uk-stage .pz-real-piece.pae-piece.pae-held,
  .pz-uk-stage .pz-real-piece.pae-piece.pae-lifted,
  .pz-uk-stage .pz-real-piece.pae-piece.is-dragging{
    filter:brightness(1.015) drop-shadow(0 4px 3px rgba(0,0,0,.22))!important;
  }
  .pz-uk-stage .pz-real-piece.pae-piece .pz-real-piece__outline{
    transition:none!important;
  }
  .pz-uk-stage .pz-real-piece.pae-piece .pz-real-piece__hit{
    fill:rgba(0,0,0,.001)!important;
    stroke:transparent!important;
    stroke-width:24!important;
    vector-effect:non-scaling-stroke!important;
    pointer-events:all!important;
  }
}
