/* v1.6.0 mobile quick donation modal: above fixed header + scroll inside modal only */
html.msf-modal-locked,
body.msf-modal-locked{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
body.msf-modal-locked{
  touch-action:none!important;
}
body.msf-modal-locked .msf-header{
  z-index:1000!important;
}
body.msf-native-quick-open #msf-qd-native-host,
body.msf-native-quick-open #msf-qd-native-host .miyaar-quick-donate-wrap{
  position:static!important;
  height:0!important;
  overflow:visible!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
body.msf-native-quick-open #msf-qd-native-host .miyaar-qd-modal,
body.msf-native-quick-open #msf-qd-native-host .miyaar-qd-thanks-modal,
body.msf-native-quick-open #msf-qd-native-host .miyaar-qd-receipt-modal,
body.msf-native-quick-open .miyaar-qd-modal,
body.msf-native-quick-open .miyaar-qd-thanks-modal,
body.msf-native-quick-open .miyaar-qd-receipt-modal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483647!important;
  max-width:none!important;
  max-height:none!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
@media (max-width:960px){
  body.msf-modal-locked{padding-top:0!important;}
  body.msf-native-quick-open .miyaar-qd-modal,
  body.msf-native-quick-open .miyaar-qd-thanks-modal,
  body.msf-native-quick-open .miyaar-qd-receipt-modal{
    align-items:center!important;
    justify-content:center!important;
    padding:10px!important;
    box-sizing:border-box!important;
  }
  body.msf-native-quick-open .miyaar-qd-modal > *,
  body.msf-native-quick-open .miyaar-qd-thanks-modal > *,
  body.msf-native-quick-open .miyaar-qd-receipt-modal > *,
  body.msf-native-quick-open .miyaar-qd-panel,
  body.msf-native-quick-open .miyaar-qd-dialog,
  body.msf-native-quick-open .miyaar-qd-card,
  body.msf-native-quick-open .miyaar-qd-box,
  body.msf-native-quick-open .miyaar-qd-content{
    max-height:calc(100dvh - 20px)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    touch-action:pan-y!important;
    box-sizing:border-box!important;
  }
}


