
/* === SCROLL FIX: Home + all pages === */
html, body {
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: relative !important;
  touch-action: pan-y pinch-zoom !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: auto !important;
}
body.drawer-open,
body.modal-open,
body.menu-open {
  overflow: hidden !important;
}
#home-view,
.home-view,
#verify-view,
#orders-view,
#account-view,
.add-funds-view,
#add-funds-view,
.main-content,
.app-shell,
#app,
.page-content,
.tab-page {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  height: auto !important;
  max-height: none !important;
  touch-action: pan-y !important;
}
/* Fixed headers shouldn't block page scroll */
.top-header { position: fixed; }
/* Ensure body can scroll under fixed bottom nav */
body { padding-bottom: 88px !important; }
/* Kill accidental touch-action none on interactive parents */
.home-view *, .add-funds-view * {
  /* don't force pan-y on every child — inputs need default */
}
input, textarea, select, button, a {
  touch-action: manipulation;
}
