.mh-iso-sep-host:not(.mh-iso-sep-runtime-ready)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  pointer-events: none;
  z-index: var(--mh-iso-scene-z-index, 1);
  overflow: hidden;
  contain: paint;
  opacity: var(--mh-iso-boot-scene-enabled, 0);
  background-color: transparent;
  background-image:
    var(--mh-iso-boot-scene-grass-layer),
    var(--mh-iso-boot-scene-hangar-shadow-layer),
    var(--mh-iso-boot-scene-hangar-layer),
    var(--mh-iso-boot-scene-stars-image),
    var(--mh-iso-boot-scene-celestial-layer),
    var(--mh-iso-boot-scene-sky-layer);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size:
    var(--mh-iso-boot-scene-grass-scale) auto,
    var(--mh-iso-boot-scene-hangar-width) 8%,
    var(--mh-iso-boot-scene-hangar-width) auto,
    205% auto,
    clamp(46px, 15vw, 76px) clamp(46px, 15vw, 76px),
    cover;
  background-position:
    left var(--mh-iso-boot-scene-grass-x) bottom var(--mh-iso-boot-scene-grass-y),
    var(--mh-iso-boot-scene-hangar-bg-x) 100%,
    var(--mh-iso-boot-scene-hangar-bg-x) calc(100% - var(--mh-iso-boot-scene-hangar-y)),
    center 32%,
    27% 18%,
    center;
}

.mh-iso-sep-host.mh-iso-sep-full-yes:not(.mh-iso-sep-runtime-ready)::before {
  top: 0;
  bottom: 0;
  height: auto;
}

.mh-iso-sep-host.mh-iso-sep-booting .mh-iso-sep,
.mh-iso-sep-host.mh-iso-sep-booting .mh-iso-sep__reward-layer,
.mh-iso-sep-host.mh-iso-sep-booting .mh-iso-sep__sticky-stage {
  opacity: 0 !important;
  visibility: hidden !important;
}

.mh-iso-sep-host:not(.mh-iso-sep-outside-yes) {
  overflow: hidden;
}

.mh-iso-sep-host.mh-iso-sep-outside-yes {
  overflow: visible;
}

.mh-iso-sep-host.mh-iso-sep-static-bg-yes {
  overflow: visible;
}

/* In static mode, sticky must stay in a non-transformed context.
   Elementor motion effects can apply transform/filter on the host itself. */
.mh-iso-sep-host.mh-iso-sep-static-bg-yes.elementor-motion-effects-element,
.mh-iso-sep-host.mh-iso-sep-static-bg-yes.elementor-motion-effects-element-type-background {
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  will-change: auto !important;
}

/* Elementor motion effects on the same host conflict with static background mode.
   Force-disable them only when static mode is enabled. */
.mh-iso-sep-host.mh-iso-sep-static-bg-yes > .elementor-motion-effects-container {
  display: none !important;
}

.mh-iso-sep-host.mh-iso-sep-static-bg-yes .elementor-motion-effects-layer {
  display: none !important;
}
