:root { --vh: 1vh; --screen: 100svh; }
@supports not (height: 100svh) { :root { --screen: 100dvh; } }
@supports not (height: 100dvh) { :root { --screen: calc(var(--vh) * 100); } }

.nl_reploader_father,
.nl_reploader_father:before {
  position: fixed !important;
  inset: 0 !important;
  height: var(--screen) !important;
  min-height: var(--screen) !important;
  max-height: var(--screen) !important;
  background: #fff !important;
  z-index: 99999999 !important;
}

/* контейнер с лоудером во весь экран и по центру */
.n048-loader {
  position: fixed !important;
  inset: 0 !important;
  height: var(--screen) !important;
  min-height: var(--screen) !important;
  max-height: var(--screen) !important;
  width: 100% !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 100000000 !important;
}

/* подстрахуем iframe-иконку */
.n048-loader iframe { width: 100px !important; height: 100px !important; border: 0 !important; }

/* пока прелоадер активен – блокируем страницу (iOS поддерживает :has) */
body:has(.nl_reploader_father.n048-show) {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: var(--screen) !important;
}

