.loading-state {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 24px 16px;
  color: rgba(255, 255, 255, 0.7);
  font: 16px/1.45 "Vela Sans", Arial, sans-serif;
  text-align: center;
}
.loading-state--compact { min-height: 96px; }
.loading-state--section { min-height: 280px; }
.loading-state--page {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  background: #000;
}
.loading-state__content {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 28rem;
  opacity: 0;
  animation: loading-appear 150ms ease 150ms forwards;
}
.loading-ring {
  display: block;
  flex: none;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #00ca5f;
  border-right-color: rgba(0, 202, 95, 0.5);
  border-radius: 50%;
  animation: loading-spin 800ms linear infinite;
}
.image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #101310;
  color: rgba(255, 255, 255, 0.35);
}
.image-placeholder .loading-ring {
  width: 26px;
  height: 26px;
  opacity: 0;
  animation: loading-spin 800ms linear infinite, loading-appear 150ms ease 250ms forwards;
}
.loading-image { opacity: 0; transition: opacity 180ms ease; }
.loading-image--ready { opacity: 1; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
@keyframes loading-appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loading-ring, .loading-state__content, .image-placeholder .loading-ring { animation: none; opacity: 1; }
  .loading-image { transition: none; }
}
