html:not(.sos-ready) {
  overflow: hidden;
}

html:not(.sos-ready) body {
  margin: 0;
  background:
    radial-gradient(circle at 18% -4%, rgba(8, 145, 178, 0.08), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(129, 140, 248, 0.07), transparent 32%),
    radial-gradient(circle at 50% 108%, rgba(5, 150, 105, 0.06), transparent 30%), #f4f7fb;
}

html:not(.sos-ready) x-dc {
  visibility: hidden;
}

html:not(.sos-ready) body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)) 0 0 / 100% 100% no-repeat;
}

html:not(.sos-ready) body::after {
  content: '';
  position: fixed;
  inset: 24px;
  z-index: 9999;
  pointer-events: none;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)) 0 0 / 100% 100% no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.06)) 24px 20px / 180px 56px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.08)) 24px 110px / min(54vw, 560px) 20px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.16)) 24px 148px / min(58vw, 680px) 64px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.1)) 24px 232px / min(46vw, 480px) 18px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.1)) 24px 262px / min(42vw, 420px) 18px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.08)) 24px 318px / 160px 40px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.08)) 194px 318px / 160px 40px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.08)) right 24px top 110px / min(36vw, 420px) 300px no-repeat,
    linear-gradient(rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.08)) right 24px bottom 24px / min(36vw, 420px) 220px no-repeat;
  opacity: 0.96;
  animation: sos-skeleton-pulse 1.2s ease-in-out infinite;
}

html.sos-ready body::before,
html.sos-ready body::after {
  opacity: 0;
  visibility: hidden;
}

@keyframes sos-skeleton-pulse {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
}
