body.entry-loading {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

body.entry-loading .entry-loading-card {
  display: none !important;
}

.entry-loader-root {
  --loader-progress: 0;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.42s ease;
  background: #ffffff;
}

.entry-loader-root.is-visible {
  opacity: 1;
}

.entry-loader-root.is-fade-out {
  opacity: 0;
}

.entry-loader-shell {
  width: min(560px, 92vw);
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.entry-loader-media {
  width: min(360px, 72vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 14px;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: transparent;
  position: relative;
}

.entry-loader-media::after {
  display: none;
}

.entry-loader-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  background: #ffffff;
}

.entry-loader-image.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.entry-loader-page {
  margin: 0 0 2px;
  text-align: center;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  color: #21857e;
}

.entry-loader-subtitle {
  margin: 6px 0 14px;
  text-align: center;
  font-size: 14px;
  color: #6b9591;
}

.entry-loader-progress-track {
  position: relative;
  width: min(560px, 92vw);
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6f8f6;
  border: 1px solid rgba(57, 197, 187, 0.28);
}

.entry-loader-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--loader-progress) * 100%);
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, #39c5bb 0%, #75e7dd 54%, #ff8ec7 100%);
  background-size: 180% 100%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 0 18px rgba(57, 197, 187, 0.36);
  transition: width 0.22s ease;
  animation: entryLoaderFlow 1.4s linear infinite;
}

.entry-loader-progress-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.36) 0 10px,
    rgba(255, 255, 255, 0) 10px 22px
  );
  opacity: 0.7;
}

.entry-loader-progress-fill::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  width: 34px;
  height: 160%;
  transform: translateY(-50%) rotate(20deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
}

.entry-loader-progress-meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #5b8d88;
  font-weight: 700;
  letter-spacing: 0.2px;
}

@keyframes entryLoaderFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 180% 50%;
  }
}
