/* Keep the form's scrollport clear of the mobile shell and home indicator. */
@media (max-width: 768px), (pointer: coarse) {
  html .phone.mobile-v2 .micro-confirm-overlay > .micro-confirm-dialog.transfer-dialog {
    box-sizing: border-box;
    flex: 0 1 auto;
    min-height: 0 !important;
    max-height: calc(100vh - 152px) !important;
    max-height: calc(var(--site-vv-height, 100dvh) - 152px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scroll-padding-block: 12px;
  }
  @supports selector(:has(*)) {
    html .phone.mobile-v2 .micro-confirm-overlay:has(> .transfer-dialog) {
      overflow: hidden !important;
      align-items: center !important;
      justify-content: center !important;
      touch-action: pan-y !important;
    }
  }
}
