@keyframes skeleton-pulse {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    animation: skeleton-pulse 1.2s ease-in-out infinite;
    background: var(--color-surface-3);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
