@keyframes card-charge {
  to { box-shadow: inset 0 0 calc(4 * var(--card-unit, 1rem)) rgba(255, 140, 230, 0.7), 0 0 calc(4 * var(--card-unit, 1rem)) rgba(255, 92, 196, 0.8); }
}

@keyframes card-charge-mark {
  to { transform: scale(1.08); }
}

@keyframes card-flip {
  0% { transform: rotateY(0deg) scale(1); animation-timing-function: cubic-bezier(0.45, 0, 0.75, 0.4); }
  45% { transform: rotateY(110deg) scale(1.12); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  80% { transform: rotateY(192deg) scale(1.03); animation-timing-function: ease-in-out; }
  100% { transform: rotateY(180deg) scale(1); }
}

@keyframes card-shine {
  to { transform: translateX(100%); }
}

@keyframes card-bob {
  50% { transform: translateY(calc(-1.2 * var(--card-unit, 1rem))); }
}
