/* V20.11.47 - Native mobile vertical scrolling has priority while drag remains available after movement. */
@media (max-width:760px){
  html{
    min-height:100%!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:auto!important;
    scroll-behavior:auto!important;
  }
  body.v208-mobile-ui.v201147-scroll-ready:not(.v1835-booting):not(.v208-sheet-open):not(.v2097-player-open):not(.v1871-detail-open):not(.v201015-filter-sheet-open):not(.v201018-presentation-open):not(.v201019-result-open):not(.v201020-replay-open):not(.v201021-pregame-open):not(.v201022-scout-open){
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    touch-action:pan-y pinch-zoom!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.v208-mobile-ui .app,
  body.v208-mobile-ui .screen.active,
  body.v208-mobile-ui .screen.active > .panel,
  body.v208-mobile-ui .screen.active .panel-body,
  body.v208-mobile-ui #collectionGrid,
  body.v208-mobile-ui #gachaResults,
  body.v208-mobile-ui #dexGrid,
  body.v208-mobile-ui .card-grid,
  body.v208-mobile-ui .pull-results,
  body.v208-mobile-ui .v149-menu-grid,
  body.v208-mobile-ui .v1856-mission-grid{
    touch-action:pan-y pinch-zoom!important;
    overscroll-behavior-y:auto!important;
  }
  /* Tapping a card still works; vertical swipes beginning on cards now scroll the page. */
  body.v208-mobile-ui .card-tile,
  body.v208-mobile-ui .pmc-card-frame,
  body.v208-mobile-ui #gachaResults [data-owned-id],
  body.v208-mobile-ui #collectionGrid [data-owned-id],
  body.v208-mobile-ui .v145-dex-tile{
    touch-action:pan-y pinch-zoom!important;
  }
  /* Horizontal league/table areas may pan horizontally without stealing vertical page scroll. */
  body.v208-mobile-ui #league .v190-nav,
  body.v208-mobile-ui #league .v190-table-wrap,
  body.v208-mobile-ui .v200-table-wrap,
  body.v208-mobile-ui .table-wrap,
  body.v208-mobile-ui .v201132-competition-strip{
    touch-action:pan-x pan-y pinch-zoom!important;
    -webkit-overflow-scrolling:touch!important;
  }
  /* Idle drag surfaces allow page scrolling. Existing dragging body/grid classes restore exclusive drag control. */
  body.v208-mobile-ui:not(.v1878-bat-dragging) .v1875-bat-strip,
  body.v208-mobile-ui:not(.v1878-bat-dragging) .v1875-bat-card,
  body.v208-mobile-ui:not(.v1885-order-dragging) .v1885-order-draggable,
  body.v208-mobile-ui:not(.v1885-order-dragging) .v1872-field-slot.v1884-field-draggable,
  body.v208-mobile-ui #skills .v1853-board-cell.filled{
    touch-action:pan-y!important;
  }
  body.v208-mobile-ui.v1878-bat-dragging .v1875-bat-strip,
  body.v208-mobile-ui.v1878-bat-dragging .v1875-bat-card,
  body.v208-mobile-ui.v1885-order-dragging .v1885-order-draggable,
  body.v208-mobile-ui #skills .v1853-board-grid.v20932-dragging,
  body.v208-mobile-ui #skills .v1853-board-grid.v20932-dragging .v1853-board-cell.filled{
    touch-action:none!important;
  }
  /* Bottom navigation should never form a transparent touch-blocking layer above page content. */
  #v208MobileNav{pointer-events:auto!important;}
  #v208MobileNav::before,#v208MobileNav::after{pointer-events:none!important;}
}
