/* animations.css — images-clés partagées */

@keyframes bar-dance {
    0%, 100% { transform: scaleY(0.45); }
    50% { transform: scaleY(1); }
}

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(2.1); opacity: 0; }
}

@keyframes flash {
    0% { background: color-mix(in srgb, var(--acc1) 22%, transparent); }
    100% { background: transparent; }
}

@keyframes caret {
    50% { opacity: 0; }
}

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