:host {
  display: block;
}

.skeleton {
  display: block;
  background: linear-gradient(
    100deg,
    var(--mat-sys-surface-container) 30%,
    var(--mat-sys-surface-container-high) 50%,
    var(--mat-sys-surface-container) 70%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: var(--mat-sys-surface-container-high);
  }
}
