/* ESM Legacy Popup Killer v1.1.0 */

/* Known old ESM popup/floating selectors - excludes .esm-popup-v2 */
.esm-popup:not(.esm-popup-v2),
.esm-popup-wrap,
.esm-popup-wrapper,
.esm-popup-modal,
.esm-popup-layer,
.esm-popup-box,
.esm-popup-banner,
.esm-floating-popup,
.esm-floating-notice,
.esm-web3-floating,
.esm-web3-popup,
.esm-web3-notice,
.esm-notice-popup,
.esm-bottom-popup,
.esm-top-popup,
.esm-footer-popup,
.esm-header-popup,
.smbaforum-popup,
.smbaforum-floating,
.moimland-popup,
.moimland-floating,
.web3-floating,
.web3-popup,
.web3-notice-popup,
.popup-floating,
.floating-popup,
.floating-notice,
.top-popup,
.bottom-popup,
.header-popup,
.footer-popup,
#esm-popup,
#esm-popup-wrap,
#esm-popup-wrapper,
#esm-floating,
#esm-web3-floating,
#esm-web3-popup,
#esm-notice-popup,
#smbaforum-popup,
#moimland-popup {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
  z-index: -1 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* Legacy overlays only */
.esm-popup-overlay:not(.esm-popup-v2-overlay),
.esm-modal-overlay,
.esm-floating-overlay,
.web3-popup-overlay,
.smbaforum-popup-overlay,
.moimland-popup-overlay,
#esm-popup-overlay,
#web3-popup-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Body unlock */
body.esm-popup-open,
body.popup-open,
body.modal-open,
html.esm-popup-open {
  overflow: auto !important;
  position: static !important;
}
