/* Arcade dyes (public/arcade-dyes.js): the paint-chip card and the two animated paints. */
.dye-card { position: relative; aspect-ratio: .75; border-radius: 10px; background: linear-gradient(#fbf7ee, #e9e0cc);
  box-shadow: 0 0 24px #fff3, 0 4px 0 #0005, inset 0 0 0 2px #fff8; box-sizing: border-box }
.dye-card.tier-2 { background: linear-gradient(#fff3c4, #e0b44a); box-shadow: 0 0 26px #ffd34d55, 0 4px 0 #0005, inset 0 0 0 2px #fff8 }
.dye-card.tier-3 { background: linear-gradient(#ffd6f6, #b58cff); box-shadow: 0 0 30px #ff4fd877, 0 4px 0 #0005, inset 0 0 0 2px #fff8 }
.dye-chip { position: absolute; inset: 8% 8% 22%; border-radius: 6px; box-shadow: inset 0 0 0 2px #0003; overflow: hidden }
.dye-chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #fff6 0 18%, transparent 34%); pointer-events: none }
.dye-tier { position: absolute; left: 0; right: 0; bottom: 7%; display: flex; justify-content: center; gap: 6% }
.dye-tier i { width: 9%; aspect-ratio: 1; border-radius: 50%; background: #3a2a14; opacity: .7 }
.cm-card-icon.dye-card { width: 24%; max-width: 120px; margin: 0 auto }

.dye-anim-shift { animation: dye-shift 4s linear infinite }
@keyframes dye-shift { to { background-position: 300% 0 } }
.dye-anim-flicker { animation: dye-flicker 1.6s ease-in-out infinite }
@keyframes dye-flicker {
  0%, 100% { background-position: 0 0, 0 0, 0 0; filter: brightness(1) }
  30% { background-position: 0 -18%, 0 -8%, 0 0; filter: brightness(1.18) }
  55% { background-position: 0 -34%, 0 -26%, 0 0; filter: brightness(.92) }
  80% { background-position: 0 -10%, 0 -40%, 0 0; filter: brightness(1.12) }
}
@media (prefers-reduced-motion: reduce) { .dye-anim-shift, .dye-anim-flicker { animation: none } }
