/* VF_MOBILE_SCROLL_REPAIR_V53
   MOBILE ONLY.
   Send + Wallet regain normal vertical document scrolling. */

@media(max-width:930px){
  html.vf-v53-mobile-scroll,
  body.vf-v53-mobile-scroll{
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    min-height:100% !important;
    max-height:none !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    position:static !important;
    touch-action:pan-y !important;
    overscroll-behavior-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }

  body.vf-v53-mobile-scroll .vf-app,
  body.vf-v53-mobile-scroll .vf-main,
  body.vf-v53-mobile-scroll .vf-content,
  body.vf-v53-mobile-scroll .vf-page,
  body.vf-v53-mobile-scroll .vf-grid,
  body.vf-v53-mobile-scroll .vf-grid.two{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    touch-action:pan-y !important;
  }

  body.vf-v53-mobile-scroll .vf-content{
    padding-bottom:calc(102px + env(safe-area-inset-bottom)) !important;
  }

  body.vf-v53-mobile-scroll .form-card,
  body.vf-v53-mobile-scroll .glass,
  body.vf-v53-mobile-scroll .control,
  body.vf-v53-mobile-scroll .vf-send-amount,
  body.vf-v53-mobile-scroll .vfp2-wallet-card{
    touch-action:pan-y !important;
  }

  /* Modal/sheet lock is applied ONLY while an overlay is actually open. */
  html.vf-v53-overlay-lock,
  body.vf-v53-overlay-lock{
    overflow:hidden !important;
    height:100% !important;
    touch-action:none !important;
  }

  #vfMobileAssetSheetV52 .vf-v52-list,
  #vfMobileAssetSheetV5 .vf-v5-list,
  .vfp-drawer-body{
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior:contain !important;
    touch-action:pan-y !important;
  }
}

/* PC/DESKTOP INTENTIONALLY HAS NO RULES IN THIS FILE. */
