body {
  margin: 0;
  overflow: hidden;
}

.init-page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(103, 232, 213, 0.3), transparent 30%),
    radial-gradient(circle at 76% 76%, rgba(191, 219, 254, 0.38), transparent 34%),
    linear-gradient(145deg, #f7fcfa 0%, #eef9f4 48%, #ffffff 100%);
}

.init-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 94, 84, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 94, 84, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.snow-loader {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background:
    url("/pwa-192.png") center / 70% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 253, 245, 0.94));
  box-shadow:
    0 22px 46px rgba(20, 184, 166, 0.18),
    inset 0 0 0 1px rgba(20, 184, 166, 0.12);
  animation: lazyws-loader-float 2s ease-in-out infinite;
}

.snow-loader::before,
.snow-loader::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.snow-loader::before {
  inset: -14px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  animation: lazyws-loader-ring 2s ease-in-out infinite;
}

.snow-loader::after {
  left: 50%;
  bottom: -24px;
  width: 132px;
  height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(20, 184, 166, 0), #14b8a6, rgba(56, 189, 248, 0));
  animation: lazyws-loader-line 1.2s ease-in-out infinite;
}

@keyframes lazyws-loader-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes lazyws-loader-ring {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

@keyframes lazyws-loader-line {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0.45;
  }
  55%,
  100% {
    clip-path: inset(0 0 0 100%);
    opacity: 1;
  }
}
