/* Shared base animations common to index.html and analysis.html.
   .skeleton and .loading-overlay are NOT here — their resolved values
   (border-radius, overlay background color) genuinely differ per page. */
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cream2);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
