[css-animations] Fix @keyframes rule cascading confusion