/* looks/reaction.css: the signature look + animation of EVERY reaction item, one block per item, keyed by .it-<item id>
 * (shop.js adds it-<id> to every rendered item: Shop/Library cards, the preview, in-match names/tiles/podium).
 * Each item must look unlike every other item. Respect prefers-reduced-motion (calmer or no animation there). */
/* In a match every reaction also drops an empty <span class="rx-fx it-<id>"> on the target's camera tile for ~2.6 s
 * (after its normal fx from items.json). Style it (and its ::before/::after) for that reaction's signature effect. */
.rx-fx { position: absolute; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; border-radius: inherit; }
.rx-fx::before, .rx-fx::after { content: ""; position: absolute; pointer-events: none; opacity: 0; }
/* shop art: every item replaces the generic rxIdle with its own idle; pseudo-elements are opt-in per item */
.rx-art[class*="it-"] { position: relative; z-index: 0; }
.rx-art[class*="it-"]::before, .rx-art[class*="it-"]::after { position: absolute; pointer-events: none; }
/* shared: fade the whole overlay in/out (used by items whose pseudo-elements loop) */
@keyframes rf-hold { 0% { opacity: 0; } 8%, 80% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- 🍅 Tomato: ball-drop squash & stretch | juice spray bursts out + red rim ---------- */
.rx-art.it-r_tomato { transform-origin: 50% 90%; animation: ra-tomato 1.6s cubic-bezier(.3, 0, .5, 1) infinite; }
@keyframes ra-tomato { 0%, 100% { transform: translateY(0) scale(1, 1); } 35% { transform: translateY(-10px) scale(.95, 1.05); }
  50% { transform: translateY(0) scale(1.25, .75); } 62% { transform: translateY(-3px) scale(.92, 1.08); } 75% { transform: translateY(0) scale(1.05, .95); } }
.rx-fx.it-r_tomato::before { inset: 0; background:
  radial-gradient(circle at 18% 28%, #e0261c 0 3%, transparent 3.5%), radial-gradient(circle at 80% 22%, #ff4a2e 0 2.4%, transparent 3%),
  radial-gradient(circle at 12% 70%, #c81a10 0 2.8%, transparent 3.3%), radial-gradient(circle at 88% 64%, #e0261c 0 3.4%, transparent 4%),
  radial-gradient(circle at 34% 12%, #ff4a2e 0 1.8%, transparent 2.3%), radial-gradient(circle at 66% 86%, #c81a10 0 2.2%, transparent 2.7%),
  radial-gradient(circle at 28% 88%, #e0261c 0 1.6%, transparent 2.1%), radial-gradient(circle at 72% 10%, #c81a10 0 2%, transparent 2.5%);
  animation: rf-tomato-spray 2.3s cubic-bezier(.1, .8, .3, 1) both; }
.rx-fx.it-r_tomato::after { inset: 0; background: radial-gradient(ellipse at center, transparent 58%, rgba(200, 20, 10, .5)); animation: rf-hold 2.2s ease both .1s; }
@keyframes rf-tomato-spray { 0% { transform: scale(.15); opacity: 0; } 10% { opacity: 1; } 30% { transform: scale(1.05); } 80% { opacity: .9; } 100% { transform: scale(1.12); opacity: 0; } }

/* ---------- 😂 Crying Laughing: giggle wobble | "HA HA" / "HA!" comic pops in opposite corners ---------- */
.rx-art.it-r_laugh { animation: ra-laugh 1.3s ease-in-out infinite; }
@keyframes ra-laugh { 0%, 50%, 100% { transform: rotate(0); } 10% { transform: rotate(-14deg) translateY(-2px); } 20% { transform: rotate(12deg); }
  30% { transform: rotate(-10deg) translateY(-2px); } 40% { transform: rotate(8deg); } }
.rx-fx.it-r_laugh::before, .rx-fx.it-r_laugh::after { font-weight: 900; font-size: 1.5rem; color: #ffe94d; letter-spacing: .04em;
  text-shadow: 2px 2px 0 #2a1440, -1px -1px 0 #2a1440, 1px -1px 0 #2a1440, -1px 1px 0 #2a1440; white-space: nowrap; }
.rx-fx.it-r_laugh::before { content: "HA HA"; top: 8%; left: 6%; animation: rf-ha-l 2.3s ease-out both; }
.rx-fx.it-r_laugh::after { content: "HA!"; bottom: 22%; right: 7%; font-size: 1.8rem; color: #7fe3ff; animation: rf-ha-r 2s ease-out both .35s; }
@keyframes rf-ha-l { 0% { transform: rotate(-14deg) scale(0); opacity: 0; } 10% { transform: rotate(-14deg) scale(1.35); opacity: 1; } 18% { transform: rotate(-14deg) scale(1); }
  30% { transform: rotate(-8deg) translateY(-5px); } 42% { transform: rotate(-16deg) translateY(0); } 54% { transform: rotate(-8deg) translateY(-5px); }
  80% { opacity: 1; } 100% { transform: rotate(-14deg) translateY(0); opacity: 0; } }
@keyframes rf-ha-r { 0% { transform: rotate(12deg) scale(0); opacity: 0; } 12% { transform: rotate(12deg) scale(1.4); opacity: 1; } 22% { transform: rotate(12deg) scale(1); }
  36% { transform: rotate(20deg) scale(1.1); } 50% { transform: rotate(8deg) scale(1); } 80% { opacity: 1; } 100% { transform: rotate(12deg) scale(.9); opacity: 0; } }

/* ---------- 👏 Applause: clap-clap pinch | white impact lines burst at the center in a clapping rhythm ---------- */
.rx-art.it-r_clap { animation: ra-clap 1.5s ease-in-out infinite; }
@keyframes ra-clap { 0%, 40%, 100% { transform: scale(1, 1); } 8% { transform: scale(.78, 1.05); } 16% { transform: scale(1.12, .96); }
  24% { transform: scale(.8, 1.05); } 32% { transform: scale(1.1, .96); } }
.rx-fx.it-r_clap::before, .rx-fx.it-r_clap::after { left: 50%; top: 50%; width: 70%; aspect-ratio: 1; margin: -35% 0 0 -35%;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 40% 58%, transparent 60%); mask: radial-gradient(circle, transparent 38%, #000 40% 58%, transparent 60%); }
.rx-fx.it-r_clap::before { background: repeating-conic-gradient(#fff 0 6deg, transparent 6deg 45deg); animation: rf-clap .7s ease-out 3; }
.rx-fx.it-r_clap::after { background: repeating-conic-gradient(from 22deg, #ffe94d 0 4deg, transparent 4deg 45deg); animation: rf-clap .7s ease-out .35s 3; }
@keyframes rf-clap { 0% { transform: scale(.5); opacity: 0; } 15% { opacity: 1; } 60% { transform: scale(1.3); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 🔥 On Fire: flame flicker (skew + stretch from the base) | glowing embers drifting up ---------- */
.rx-art.it-r_fire { transform-origin: 50% 100%; animation: ra-fire .9s linear infinite; }
@keyframes ra-fire { 0%, 100% { transform: scale(1, 1) skewX(0); } 20% { transform: scale(.96, 1.08) skewX(-4deg); } 40% { transform: scale(1.03, .97) skewX(3deg); }
  60% { transform: scale(.97, 1.1) skewX(-2deg); } 80% { transform: scale(1.02, .95) skewX(4deg); } }
.rx-fx.it-r_fire::before, .rx-fx.it-r_fire::after { left: 0; right: 0; bottom: -40%; height: 140%; }
.rx-fx.it-r_fire::before { background:
  radial-gradient(circle at 12% 90%, #ffe27a 0 .9%, transparent 1.3%), radial-gradient(circle at 30% 80%, #ffb13d 0 1.2%, transparent 1.6%),
  radial-gradient(circle at 52% 94%, #ff7a1a 0 1%, transparent 1.4%), radial-gradient(circle at 70% 84%, #ffe27a 0 .8%, transparent 1.2%),
  radial-gradient(circle at 88% 92%, #ffb13d 0 1.1%, transparent 1.5%), radial-gradient(circle at 42% 70%, #ff7a1a 0 .7%, transparent 1.1%);
  animation: rf-embers 2.3s ease-out both; }
.rx-fx.it-r_fire::after { background:
  radial-gradient(circle at 20% 96%, #ff9a2e 0 .8%, transparent 1.2%), radial-gradient(circle at 62% 88%, #ffe27a 0 1%, transparent 1.4%),
  radial-gradient(circle at 80% 76%, #ff7a1a 0 .9%, transparent 1.3%), radial-gradient(circle at 6% 80%, #ffe27a 0 .7%, transparent 1.1%);
  animation: rf-embers 2s ease-out .4s both; }
@keyframes rf-embers { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 50% { transform: translate(-3%, -35%); } 85% { opacity: .8; } 100% { transform: translate(3%, -70%); opacity: 0; } }

/* ---------- 💀 I'm Dead: jaw-chatter rattle | a tombstone rises from the ground + vignette closes in ---------- */
.rx-art.it-r_skull { animation: ra-skull 2.2s linear infinite; }
@keyframes ra-skull { 0%, 60%, 100% { transform: translate(0) rotate(0); } 64% { transform: translate(-2px, 1px) rotate(-6deg); } 68% { transform: translate(2px, 0) rotate(6deg); }
  72% { transform: translate(-1px, 1px) rotate(-6deg); } 76% { transform: translate(1px, 0) rotate(6deg); } 80% { transform: translate(0) rotate(0); } }
.rx-fx.it-r_skull::before { content: "R.I.P."; left: 6%; bottom: 0; width: 24%; aspect-ratio: .78; display: grid; place-items: center; padding-bottom: 20%;
  background: linear-gradient(#a3a9b5, #6b707c); border-radius: 50% 50% 4px 4px / 36% 36% 4px 4px; box-shadow: inset -4px -4px 0 rgba(0, 0, 0, .25);
  color: #2b2d33; font-weight: 900; font-size: .9rem; transform-origin: 50% 100%; animation: rf-tomb 2.4s cubic-bezier(.2, .9, .3, 1.2) both; }
.rx-fx.it-r_skull::after { inset: 0; background: radial-gradient(circle, transparent 45%, rgba(0, 0, 0, .7) 78%); animation: rf-vignette 2.4s ease-in-out both; }
@keyframes rf-tomb { 0% { transform: translateY(110%) rotate(0); opacity: 1; } 25% { transform: translateY(0) rotate(-6deg); } 35% { transform: rotate(3deg); } 45% { transform: rotate(-2deg); }
  55%, 80% { transform: rotate(-4deg); opacity: 1; } 100% { transform: translateY(110%) rotate(-4deg); opacity: 1; } }
@keyframes rf-vignette { 0% { transform: scale(1.8); opacity: 0; } 30% { opacity: 1; } 60% { transform: scale(1); } 85% { opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }

/* ---------- 🎉 Party Popper: pause, hop & twirl | streamer cones fire out of both bottom corners ---------- */
.rx-art.it-r_party { animation: ra-party 2.6s ease-in-out infinite; }
@keyframes ra-party { 0%, 55% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-12px) rotate(-20deg); } 85% { transform: translateY(-4px) rotate(340deg); } 100% { transform: translateY(0) rotate(360deg); } }
.rx-fx.it-r_party::before, .rx-fx.it-r_party::after { bottom: 0; width: 55%; height: 75%;
  background: conic-gradient(from 18deg at 0 100%, #ff2d95 0 7deg, transparent 7deg 9deg, #ffe94d 9deg 16deg, transparent 16deg 18deg,
    #27e8ff 18deg 25deg, transparent 25deg 27deg, #3dff9a 27deg 34deg, transparent 34deg 36deg, #8a5cff 36deg 43deg, transparent 43deg); }
.rx-fx.it-r_party::before { left: 0; transform-origin: 0 100%; animation: rf-pop-l 2s cubic-bezier(.2, 1.4, .4, 1) both; }
.rx-fx.it-r_party::after { right: 0; transform-origin: 100% 100%; animation: rf-pop-r 2s cubic-bezier(.2, 1.4, .4, 1) .25s both; }
@keyframes rf-pop-l { 0% { transform: scale(0); opacity: 1; } 25% { transform: scale(1); opacity: 1; } 60% { opacity: .85; } 100% { transform: scale(1.05) rotate(6deg); opacity: 0; } }
@keyframes rf-pop-r { 0% { transform: scaleX(-1) scale(0); opacity: 1; } 25% { transform: scaleX(-1) scale(1); opacity: 1; } 60% { opacity: .85; } 100% { transform: scaleX(-1) scale(1.05) rotate(6deg); opacity: 0; } }

/* ---------- ❤️ Love It: double-thump heartbeat | a heart outline beats then expands away, pink glow rim ---------- */
.rx-art.it-r_heart { animation: ra-heart 1.2s ease-out infinite; }
@keyframes ra-heart { 0%, 70%, 100% { transform: scale(1); } 14% { transform: scale(1.25); } 28% { transform: scale(1); } 42% { transform: scale(1.18); } }
.rx-fx.it-r_heart::before { left: 25%; right: 25%; top: 12%; bottom: 18%; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 86C22 64 6 48 6 30A21 21 0 0 1 50 20A21 21 0 0 1 94 30C94 48 78 64 50 86Z' fill='none' stroke='%23ff4f9a' stroke-width='6'/%3E%3C/svg%3E");
  animation: rf-heart 2.4s ease-out both; }
.rx-fx.it-r_heart::after { inset: 0; box-shadow: inset 0 0 40px 6px rgba(255, 60, 140, .65); border-radius: inherit; animation: rf-hold 2.4s ease both; }
@keyframes rf-heart { 0% { transform: scale(.3); opacity: 0; } 12% { transform: scale(1); opacity: .95; } 20% { transform: scale(.88); } 28% { transform: scale(1.06); }
  40% { transform: scale(.95); } 55% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- 👑 Crowned: slow regal sway with a gold glow pulse | rotating gold sun-rays fan down from the top ---------- */
.rx-art.it-r_crown { transform-origin: 50% 100%; animation: ra-crown 3.2s ease-in-out infinite; }
@keyframes ra-crown { 0%, 100% { transform: rotate(-10deg); filter: drop-shadow(0 0 0 #ffd34d); } 50% { transform: rotate(10deg); filter: drop-shadow(0 0 8px #ffd34d); } }
.rx-fx.it-r_crown::before { left: -50%; width: 200%; top: 0; height: 140%; transform-origin: 50% 0;
  background: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 211, 77, .45) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: linear-gradient(#000, transparent 70%); mask: linear-gradient(#000, transparent 70%); animation: rf-rays 2.4s ease-in-out both; }
.rx-fx.it-r_crown::after { left: 0; right: 0; top: 0; height: 18%; background:
  radial-gradient(circle at 10% 50%, #fff6c4 0 3px, transparent 4px), radial-gradient(circle at 30% 30%, #ffd34d 0 2px, transparent 3px),
  radial-gradient(circle at 50% 60%, #fff6c4 0 3px, transparent 4px), radial-gradient(circle at 70% 30%, #ffd34d 0 2px, transparent 3px),
  radial-gradient(circle at 90% 50%, #fff6c4 0 3px, transparent 4px); animation: rf-twinkle .4s steps(2) 6; }
@keyframes rf-rays { 0% { transform: rotate(-10deg); opacity: 0; } 20% { opacity: 1; } 50% { transform: rotate(6deg); } 80% { opacity: 1; } 100% { transform: rotate(-4deg); opacity: 0; } }
@keyframes rf-twinkle { 0% { opacity: 1; } 100% { opacity: .2; } }

/* ---------- 😴 Boring: slow sleepy breathing with a "z" drifting off | heavy eyelids droop shut over the camera ---------- */
.rx-art.it-r_sleep { animation: ra-sleep 4.2s ease-in-out infinite; }
.rx-art.it-r_sleep::after { content: "z"; right: -.25em; top: -.2em; font-size: .4em; font-weight: 900; color: #b9a8ff; animation: ra-sleep-z 4.2s ease-out infinite; }
@keyframes ra-sleep { 0%, 100% { transform: scale(.95) rotate(-6deg); } 50% { transform: scale(1.05) rotate(-2deg); } }
@keyframes ra-sleep-z { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(8px, -14px) scale(1.2); opacity: 0; } }
.rx-fx.it-r_sleep::before, .rx-fx.it-r_sleep::after { left: -10%; right: -10%; height: 55%; background: #140b20; opacity: 1; }
.rx-fx.it-r_sleep::before { top: 0; border-radius: 0 0 50% 50% / 0 0 40% 40%; box-shadow: 0 6px 0 #2a1a3d; animation: rf-lid-top 2.5s ease-in-out both; }
.rx-fx.it-r_sleep::after { bottom: 0; border-radius: 50% 50% 0 0 / 40% 40% 0 0; box-shadow: 0 -6px 0 #2a1a3d; animation: rf-lid-bot 2.5s ease-in-out both; }
@keyframes rf-lid-top { 0% { transform: translateY(-105%); } 35% { transform: translateY(-14%); } 45% { transform: translateY(-62%); } 72%, 86% { transform: translateY(-8%); } 100% { transform: translateY(-105%); } }
@keyframes rf-lid-bot { 0% { transform: translateY(105%); } 35% { transform: translateY(24%); } 45% { transform: translateY(70%); } 72%, 86% { transform: translateY(18%); } 100% { transform: translateY(105%); } }

/* ---------- 🚨 Too Good?!: jittery siren with a spinning red/blue beacon behind it | cop-car lights strobe from left and right ---------- */
.rx-art.it-r_siren { animation: ra-siren .25s steps(2) infinite; }
.rx-art.it-r_siren::before { content: ""; z-index: -1; left: 50%; top: 50%; width: 1.7em; height: 1.7em; margin: -.85em 0 0 -.85em; border-radius: 50%;
  background: conic-gradient(rgba(255, 40, 40, .75) 0 40deg, transparent 40deg 180deg, rgba(40, 120, 255, .75) 180deg 220deg, transparent 220deg); animation: ra-spin 1s linear infinite; }
@keyframes ra-siren { 0% { transform: translateX(-1px); } 100% { transform: translateX(1px); } }
@keyframes ra-spin { to { transform: rotate(360deg); } }
.rx-fx.it-r_siren::before { inset: 0; background: linear-gradient(90deg, rgba(255, 30, 30, .6), transparent 48%); animation: rf-strobe .5s steps(1) 5; }
.rx-fx.it-r_siren::after { inset: 0; background: linear-gradient(270deg, rgba(40, 110, 255, .6), transparent 48%); animation: rf-strobe .5s steps(1) .25s 5; }
@keyframes rf-strobe { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- 🛸 Abducted: figure-eight hover with a pulsing green beam | green scanner line sweeps + alien grid flickers ---------- */
.rx-art.it-r_ufo { animation: ra-ufo 3.6s ease-in-out infinite; }
.rx-art.it-r_ufo::after { content: ""; z-index: -1; left: 20%; right: 20%; top: 70%; height: .8em; background: linear-gradient(rgba(120, 255, 140, .7), transparent);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%); animation: ra-beam 1.2s ease-in-out infinite alternate; }
@keyframes ra-ufo { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(6px, -4px) rotate(8deg); } 50% { transform: translate(0, 0) rotate(0); } 75% { transform: translate(-6px, -4px) rotate(-8deg); } }
@keyframes ra-beam { 0% { opacity: .2; } 100% { opacity: 1; } }
.rx-fx.it-r_ufo::before { left: 0; right: 0; top: 0; height: 14%; background: linear-gradient(transparent, rgba(90, 255, 120, .7) 50%, transparent); animation: rf-scan 1.2s ease-in-out 2; }
.rx-fx.it-r_ufo::after { inset: 0; background: repeating-linear-gradient(0deg, rgba(90, 255, 120, .2) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(90, 255, 120, .2) 0 1px, transparent 1px 22px);
  animation: rf-grid 2.4s steps(1) both; }
@keyframes rf-scan { 0% { transform: translateY(-100%); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(620%); opacity: 0; } }
@keyframes rf-grid { 0% { opacity: 0; } 10% { opacity: 1; } 14% { opacity: .3; } 18%, 60% { opacity: 1; } 63% { opacity: .2; } 66%, 85% { opacity: .9; } 100% { opacity: 0; } }

/* ---------- 🦗 Crickets: hop hop hop, turn around, hop back | a tumbleweed bounces across the bottom ---------- */
.rx-art.it-r_cricket { animation: ra-cricket 3s ease-in-out infinite; }
@keyframes ra-cricket { 0% { transform: translate(-6px, 0) scaleX(1); } 10% { transform: translate(-3px, -10px) scaleX(1); } 20% { transform: translate(0, 0) scaleX(1); }
  30% { transform: translate(3px, -10px) scaleX(1); } 40% { transform: translate(6px, 0) scaleX(1); } 50% { transform: translate(6px, 0) scaleX(-1); }
  60% { transform: translate(3px, -10px) scaleX(-1); } 70% { transform: translate(0, 0) scaleX(-1); } 80% { transform: translate(-3px, -10px) scaleX(-1); }
  90% { transform: translate(-6px, 0) scaleX(-1); } 100% { transform: translate(-6px, 0) scaleX(1); } }
.rx-fx.it-r_cricket::before { left: 0; bottom: 5%; width: 22%; aspect-ratio: 1; opacity: 1; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23b08a4f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='20' cy='20' r='16'/%3E%3Cpath d='M6 14C16 8 30 30 34 22M8 28C14 12 26 10 32 12M12 6C22 18 14 30 26 36M30 8C20 18 28 28 10 32M20 4C12 16 30 24 18 36'/%3E%3C/svg%3E");
  animation: rf-tumble 2.5s linear both; }
.rx-fx.it-r_cricket::after { left: 0; right: 0; bottom: 3%; height: 7%; background: radial-gradient(ellipse 30% 50% at 50% 50%, rgba(214, 190, 140, .45), transparent 70%); animation: rf-dust 2.5s linear both; }
@keyframes rf-tumble { 0% { transform: translate(-110%, 0) rotate(0); } 25% { transform: translate(40%, -30%) rotate(180deg); } 50% { transform: translate(190%, 0) rotate(360deg); }
  75% { transform: translate(340%, -20%) rotate(540deg); } 100% { transform: translate(490%, 0) rotate(720deg); } }
@keyframes rf-dust { 0% { transform: translateX(-50%); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateX(55%); opacity: 0; } }

/* ---------- 👻 Boo!: drifts and fades in and out | ghostly fog rolls through, a pair of eyes blinks in the corner ---------- */
.rx-art.it-r_ghost { animation: ra-ghost 3.4s ease-in-out infinite; }
@keyframes ra-ghost { 0%, 100% { transform: translate(0, 0); opacity: 1; } 30% { transform: translate(-4px, -5px); opacity: .4; } 60% { transform: translate(4px, -2px); opacity: .9; } 80% { transform: translate(0, -4px); opacity: .3; } }
.rx-fx.it-r_ghost::before { inset: -20% -60%; background: radial-gradient(ellipse at 30% 62%, rgba(235, 240, 255, .55), transparent 38%),
  radial-gradient(ellipse at 70% 38%, rgba(235, 240, 255, .45), transparent 32%), radial-gradient(ellipse at 50% 92%, rgba(255, 255, 255, .55), transparent 42%);
  animation: rf-fog 2.5s ease-in-out both; }
.rx-fx.it-r_ghost::after { top: 10%; right: 8%; width: 20%; height: 12%; background: radial-gradient(ellipse 20% 42% at 28% 50%, #0c0c14 92%, transparent 100%),
  radial-gradient(ellipse 20% 42% at 72% 50%, #0c0c14 92%, transparent 100%); animation: rf-eyes-blink 2.4s ease both .3s; }
@keyframes rf-fog { 0% { transform: translateX(-22%); opacity: 0; } 30% { opacity: 1; } 75% { opacity: .9; } 100% { transform: translateX(18%); opacity: 0; } }
@keyframes rf-eyes-blink { 0% { opacity: 0; transform: scaleY(1); } 20% { opacity: 1; } 55% { transform: scaleY(1); } 60% { transform: scaleY(.1); } 65% { transform: scaleY(1); } 85% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- 🎙️ Mic Check: tap-tap with a cyan sound ring | jumping VU meter along the bottom + blinking ON AIR pill ---------- */
.rx-art.it-r_mic { animation: ra-mic 1.8s ease-out infinite; }
.rx-art.it-r_mic::after { content: ""; left: 50%; top: 30%; width: 1em; height: 1em; margin: -.5em 0 0 -.5em; border-radius: 50%; border: 2px solid #27e8ff; animation: ra-mic-ring 1.8s ease-out infinite; }
@keyframes ra-mic { 0%, 50%, 100% { transform: translateY(0) rotate(0); } 8% { transform: translateY(3px) rotate(-6deg); } 16% { transform: translateY(0) rotate(0); } 24% { transform: translateY(3px) rotate(-6deg); } 32% { transform: translateY(0) rotate(0); } }
@keyframes ra-mic-ring { 0%, 8% { transform: scale(.5); opacity: 0; } 12% { opacity: 1; } 50%, 100% { transform: scale(2.2); opacity: 0; } }
.rx-fx.it-r_mic::before { left: 8%; right: 8%; bottom: 3%; height: 34%; opacity: 1; background: linear-gradient(to top, #3dff9a, #ffe94d 60%, #ff3d3d);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 7%, transparent 7% 10%); mask: repeating-linear-gradient(90deg, #000 0 7%, transparent 7% 10%);
  animation: rf-vu .3s steps(1) 8; }
.rx-fx.it-r_mic::after { content: "● ON AIR"; top: 7%; left: 6%; padding: 2px 8px; border-radius: 99px; background: #d91f2b; color: #fff; font-weight: 900; font-size: .75rem; letter-spacing: .06em;
  animation: rf-onair .6s steps(1) 4; }
@keyframes rf-vu {
  0% { clip-path: polygon(0 100%, 0 40%, 10% 40%, 10% 70%, 20% 70%, 20% 20%, 30% 20%, 30% 55%, 40% 55%, 40% 10%, 50% 10%, 50% 45%, 60% 45%, 60% 30%, 70% 30%, 70% 65%, 80% 65%, 80% 35%, 90% 35%, 90% 75%, 100% 75%, 100% 100%); }
  50% { clip-path: polygon(0 100%, 0 70%, 10% 70%, 10% 25%, 20% 25%, 20% 60%, 30% 60%, 30% 15%, 40% 15%, 40% 50%, 50% 50%, 50% 5%, 60% 5%, 60% 60%, 70% 60%, 70% 25%, 80% 25%, 80% 70%, 90% 70%, 90% 40%, 100% 40%, 100% 100%); } }
@keyframes rf-onair { 0% { opacity: 1; } 50% { opacity: .25; } 100% { opacity: 0; } }

/* ---------- 🐐 G.O.A.T.: rear back and headbutt | golden laurel wreath branches slide in to frame the singer ---------- */
.rx-art.it-r_goat { transform-origin: 50% 100%; animation: ra-goat 2.2s ease-in-out infinite; }
@keyframes ra-goat { 0%, 100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(-5px) rotate(-12deg); } 45% { transform: translateX(-6px) rotate(-14deg); }
  55% { transform: translateX(8px) rotate(10deg); } 62% { transform: translateX(2px) rotate(0); } }
.rx-fx.it-r_goat::before, .rx-fx.it-r_goat::after { top: 8%; bottom: 8%; width: 20%; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100'%3E%3Cpath d='M30 95Q5 50 30 5' fill='none' stroke='%23c99a1e' stroke-width='2'/%3E%3Cg fill='%23ffd34d'%3E%3Cellipse cx='19' cy='84' rx='3.5' ry='8' transform='rotate(-55 19 84)'/%3E%3Cellipse cx='31' cy='80' rx='3.5' ry='8' transform='rotate(40 31 80)'/%3E%3Cellipse cx='14' cy='70' rx='3.5' ry='8' transform='rotate(-40 14 70)'/%3E%3Cellipse cx='26' cy='66' rx='3.5' ry='8' transform='rotate(50 26 66)'/%3E%3Cellipse cx='11' cy='56' rx='3.5' ry='8' transform='rotate(-25 11 56)'/%3E%3Cellipse cx='24' cy='52' rx='3.5' ry='8' transform='rotate(60 24 52)'/%3E%3Cellipse cx='11' cy='42' rx='3.5' ry='8' transform='rotate(-10 11 42)'/%3E%3Cellipse cx='24' cy='38' rx='3.5' ry='8' transform='rotate(70 24 38)'/%3E%3Cellipse cx='14' cy='28' rx='3.5' ry='8' transform='rotate(10 14 28)'/%3E%3Cellipse cx='27' cy='24' rx='3.5' ry='8' transform='rotate(80 27 24)'/%3E%3Cellipse cx='24' cy='11' rx='3.5' ry='8' transform='rotate(30 24 11)'/%3E%3C/g%3E%3C/svg%3E"); }
.rx-fx.it-r_goat::before { left: 2%; animation: rf-laurel-l 2.4s cubic-bezier(.2, .9, .3, 1.1) both; }
.rx-fx.it-r_goat::after { right: 2%; animation: rf-laurel-r 2.4s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes rf-laurel-l { 0% { transform: translateX(-120%) rotate(-20deg); opacity: 0; } 25% { transform: translateX(0) rotate(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(0) rotate(4deg); opacity: 0; } }
@keyframes rf-laurel-r { 0% { transform: scaleX(-1) translateX(-120%) rotate(-20deg); opacity: 0; } 25% { transform: scaleX(-1) translateX(0) rotate(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: scaleX(-1) translateX(0) rotate(4deg); opacity: 0; } }

/* ---------- 🥚 Egg: about-to-hatch rocking | the hit is ONLY the yolk splat (fx.light in items.json: spammable, capped) ---------- */
.rx-art.it-r_egg { transform-origin: 50% 90%; animation: ra-egg 2.4s ease-in-out infinite; }
@keyframes ra-egg { 0%, 40%, 100% { transform: rotate(0); } 48% { transform: rotate(-9deg); } 56% { transform: rotate(8deg); } 64% { transform: rotate(-6deg); } 72% { transform: rotate(4deg); } 80% { transform: rotate(0); } }
.splat-mark.light { width: 34%; }

/* ---------- 🌹 Roses: slow 3D twirl like a rose held by the stem | red petals drift diagonally over a soft pink blush ---------- */
.rx-art.it-r_rose { animation: ra-rose 4s ease-in-out infinite; }
@keyframes ra-rose { 0% { transform: perspective(200px) rotate(8deg) rotateY(0); } 100% { transform: perspective(200px) rotate(8deg) rotateY(360deg); } }
.rx-fx.it-r_rose::before { inset: -30% -10% 0 -30%; background:
  radial-gradient(ellipse 5% 3% at 12% 22%, #d81b3c 90%, transparent), radial-gradient(ellipse 4% 2.4% at 32% 10%, #ff4d6d 90%, transparent),
  radial-gradient(ellipse 4.6% 2.8% at 48% 30%, #b5122f 90%, transparent), radial-gradient(ellipse 4.2% 2.6% at 66% 16%, #d81b3c 90%, transparent),
  radial-gradient(ellipse 5% 3% at 20% 50%, #ff4d6d 90%, transparent), radial-gradient(ellipse 4% 2.4% at 80% 40%, #b5122f 90%, transparent),
  radial-gradient(ellipse 4.6% 2.8% at 40% 62%, #d81b3c 90%, transparent), radial-gradient(ellipse 4.2% 2.6% at 60% 52%, #ff4d6d 90%, transparent);
  animation: rf-petals 2.5s ease-in-out both; }
.rx-fx.it-r_rose::after { inset: 0; box-shadow: inset 0 0 50px rgba(255, 120, 150, .45); border-radius: inherit; animation: rf-hold 2.5s ease both; }
@keyframes rf-petals { 0% { transform: translate(-8%, -12%) rotate(-4deg); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(22%, 34%) rotate(8deg); opacity: 0; } }

/* ---------- 🤡 Clown: boing-boing spring | a squeaky red clown nose bounces onto the tile over polka dots ---------- */
.rx-art.it-r_clown { transform-origin: 50% 100%; animation: ra-clown 1.4s ease-in-out infinite; }
@keyframes ra-clown { 0%, 85%, 100% { transform: scale(1, 1) translateY(0); } 20% { transform: scale(1.25, .75) translateY(4px); } 40% { transform: scale(.8, 1.25) translateY(-10px); }
  55% { transform: scale(1.1, .9) translateY(0); } 70% { transform: scale(.95, 1.05); } }
.rx-fx.it-r_clown::before { top: 14%; right: 10%; width: 20%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff 0 9%, #ff5050 14%, #c40000 72%); box-shadow: 0 4px 0 rgba(0, 0, 0, .3); animation: rf-nose 2.4s ease-out both; }
.rx-fx.it-r_clown::after { inset: 0; background: radial-gradient(circle, rgba(255, 233, 77, .35) 0 6px, transparent 7px) 0 0 / 38px 38px,
  radial-gradient(circle, rgba(39, 232, 255, .3) 0 5px, transparent 6px) 19px 19px / 38px 38px; animation: rf-hold 2.4s ease both; }
@keyframes rf-nose { 0% { transform: scale(0) translateY(-200%); opacity: 1; } 18% { transform: scale(1.4) translateY(0); } 28% { transform: scale(.75, 1.2); } 38% { transform: scale(1.15, .9); }
  48% { transform: scale(1); } 60% { transform: scale(1.3, .8); } 66% { transform: scale(1); } 85% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ---------- 🐔 Chicken: peck-peck-peck | chicken footprints stamp across the bottom, step by step ---------- */
.rx-art.it-r_chicken { transform-origin: 50% 100%; animation: ra-chicken 2s ease-in-out infinite; }
@keyframes ra-chicken { 0%, 30%, 42%, 54%, 66%, 100% { transform: rotate(0) translate(0, 0); } 36%, 48%, 60% { transform: rotate(25deg) translate(3px, 4px); } }
.rx-fx.it-r_chicken::before, .rx-fx.it-r_chicken::after { left: 0; right: 0; height: 18%; opacity: 1; background: 0 0 / 10% 100% repeat-x
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffb13d' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 19V10M10 10L4 3M10 10V2M10 10L16 3'/%3E%3C/svg%3E"); }
.rx-fx.it-r_chicken::before { bottom: 4%; animation: rf-steps 2.4s steps(8) both; }
.rx-fx.it-r_chicken::after { bottom: 16%; background-position: 6.25% 0; transform: scaleY(-1); animation: rf-steps 2.4s steps(8) .15s both; }
@keyframes rf-steps { 0% { clip-path: inset(0 100% 0 0); opacity: 1; } 70% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }

/* ---------- 🍕 Pizza Party: dough toss, spin once, squash on landing | stretchy cheese strands drip from the top and snap ---------- */
.rx-art.it-r_pizza { animation: ra-pizza 2.4s ease-in-out infinite; }
@keyframes ra-pizza { 0%, 15% { transform: translateY(0) rotate(0) scale(1, 1); } 45% { transform: translateY(-12px) rotate(200deg) scale(1.1, .9); }
  70% { transform: translateY(0) rotate(360deg) scale(1.15, .85); } 80% { transform: translateY(0) rotate(360deg) scale(.96, 1.04); } 100% { transform: translateY(0) rotate(360deg) scale(1, 1); } }
.rx-fx.it-r_pizza::before { left: 0; right: 0; top: 0; height: 70%; transform-origin: 50% 0; background:
  linear-gradient(#ffe08a, #ffc22e) 6% 0 / 2.5% 60% no-repeat, linear-gradient(#ffe08a, #ffc22e) 18% 0 / 2% 85% no-repeat,
  linear-gradient(#ffe08a, #ffc22e) 31% 0 / 3% 45% no-repeat, linear-gradient(#ffe08a, #ffc22e) 47% 0 / 2% 70% no-repeat,
  linear-gradient(#ffe08a, #ffc22e) 62% 0 / 2.5% 95% no-repeat, linear-gradient(#ffe08a, #ffc22e) 76% 0 / 2% 55% no-repeat,
  linear-gradient(#ffe08a, #ffc22e) 90% 0 / 3% 78% no-repeat; animation: rf-cheese 2.3s cubic-bezier(.4, 0, .6, 1) both; }
.rx-fx.it-r_pizza::after { left: 0; right: 0; top: 0; height: 9%; background: radial-gradient(circle at 50% 0, #ffc22e 62%, transparent 64%) 0 0 / 10% 100% repeat-x; animation: rf-hold 2.3s ease both; }
@keyframes rf-cheese { 0% { transform: scaleY(0); opacity: 1; } 45% { transform: scaleY(1); opacity: 1; } 62% { transform: scaleY(1.15); } 70% { transform: scaleY(.25); opacity: .9; } 100% { transform: scaleY(.15); opacity: 0; } }

/* ---------- 🧻 TP'd: rolls back and forth along the floor | perforated toilet-paper ribbons unroll across the camera ---------- */
.rx-art.it-r_tp { animation: ra-tp 1.8s ease-in-out infinite alternate; }
@keyframes ra-tp { 0% { transform: translateX(-8px) rotate(-200deg); } 100% { transform: translateX(8px) rotate(0); } }
.rx-fx.it-r_tp::before, .rx-fx.it-r_tp::after { left: 0; right: 0; height: 26%; opacity: 1; background: center / 100% 100% no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20C30 0 50 40 80 20S130 0 160 20 190 30 200 18' fill='none' stroke='%23fbfbf6' stroke-width='11' stroke-linecap='round'/%3E%3Cpath d='M0 20C30 0 50 40 80 20S130 0 160 20 190 30 200 18' fill='none' stroke='%23c9c9bd' stroke-width='1.2' stroke-dasharray='1 9'/%3E%3C/svg%3E"); }
.rx-fx.it-r_tp::before { top: 30%; animation: rf-unroll-l 2.4s ease-out both; }
.rx-fx.it-r_tp::after { top: 8%; transform: scaleX(-1) rotate(4deg); animation: rf-unroll-l 2.2s ease-out .3s both; }
@keyframes rf-unroll-l { 0% { clip-path: inset(0 100% 0 0); opacity: 1; } 35% { clip-path: inset(0 0 0 0); } 80% { opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }

/* ---------- 🍌 Banana Peel: slide, backflip, land | cartoon speed lines whoosh past + a yellow skid mark ---------- */
.rx-art.it-r_banana { animation: ra-banana 2.4s ease-in-out infinite; }
@keyframes ra-banana { 0%, 40% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, 0) rotate(-20deg); } 60% { transform: translate(4px, -10px) rotate(-200deg); } 70%, 100% { transform: translate(0, 0) rotate(-360deg); } }
.rx-fx.it-r_banana::before { inset: 0 -40%; background: repeating-linear-gradient(0deg, transparent 0 9%, rgba(255, 255, 255, .6) 9% 10%);
  -webkit-mask: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent); mask: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
  animation: rf-speed .55s linear 4; }
.rx-fx.it-r_banana::after { left: 10%; right: 10%; bottom: 6%; height: 22%; border: 6px solid transparent; border-bottom-color: rgba(255, 233, 77, .85); border-radius: 50%;
  transform-origin: 0 50%; animation: rf-skid 2.4s ease-out both; }
@keyframes rf-speed { 0% { transform: translateX(-30%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(30%); opacity: 0; } }
@keyframes rf-skid { 0% { transform: scaleX(0); opacity: 1; } 30% { transform: scaleX(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

/* ---------- 💯 Hundred: rubber-stamp slam | a red "PERFECT" ink stamp slams into the top-right corner ---------- */
.rx-art.it-r_100 { animation: ra-100 2.6s ease-out infinite; }
@keyframes ra-100 { 0% { transform: scale(1.7) rotate(-14deg); opacity: 0; } 12% { transform: scale(.9) rotate(-8deg); opacity: 1; } 18% { transform: scale(1.05) rotate(-8deg); }
  24%, 100% { transform: scale(1) rotate(-8deg); opacity: 1; } }
.rx-fx.it-r_100::before { content: "PERFECT"; top: 7%; right: 6%; width: 30%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  border: 4px solid #ff2d3d; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0), inset 0 0 0 6px #ff2d3d; color: #ff2d3d; font-weight: 900; font-size: .8rem; letter-spacing: .08em;
  background: rgba(255, 255, 255, .12); animation: rf-stamp 2.4s cubic-bezier(.2, 1, .3, 1) both; }
@keyframes rf-stamp { 0% { transform: scale(3) rotate(-30deg); opacity: 0; } 16% { transform: scale(.9) rotate(-14deg); opacity: 1; } 22% { transform: scale(1) rotate(-14deg); }
  85% { transform: scale(1) rotate(-14deg); opacity: 1; } 100% { transform: scale(1) rotate(-14deg); opacity: 0; } }

/* ---------- 👀 Side Eye: shifty glance left... right... | a suspicious spotlight hole searches the camera ---------- */
.rx-art.it-r_eyes { animation: ra-eyes 3s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes ra-eyes { 0%, 20% { transform: translateX(0); } 25%, 45% { transform: translateX(-6px); } 50%, 70% { transform: translateX(6px) skewX(-6deg); } 75%, 100% { transform: translateX(0); } }
.rx-fx.it-r_eyes::before { left: 33%; top: 18%; width: 34%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 200vmax rgba(0, 0, 0, .55), inset 0 0 18px 6px rgba(0, 0, 0, .5);
  animation: rf-search 2.5s ease-in-out both; }
@keyframes rf-search { 0% { transform: translate(-80%, -10%); opacity: 0; } 12% { opacity: 1; } 35% { transform: translate(70%, 15%); } 60% { transform: translate(-40%, 35%); }
  80% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(0, 0) scale(1.3); opacity: 0; } }

/* ---------- ⚡ Zap: electric jitter with cyan crackle | jagged lightning bolts flicker down both sides ---------- */
.rx-art.it-r_zap { animation: ra-zap 1.6s steps(1) infinite; }
@keyframes ra-zap { 0%, 60%, 100% { transform: translate(0, 0); filter: none; } 10% { transform: translate(-2px, 1px); filter: drop-shadow(0 0 6px #27e8ff); } 20% { transform: translate(2px, -1px); filter: none; }
  30% { transform: translate(-1px, -1px); filter: drop-shadow(0 0 8px #fff); } 40% { transform: translate(1px, 1px); filter: none; } 50% { transform: translate(0, 0); filter: drop-shadow(0 0 6px #27e8ff); } }
.rx-fx.it-r_zap::before, .rx-fx.it-r_zap::after { top: 0; bottom: 0; width: 30%; background: center / 100% 100% no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 100' preserveAspectRatio='none' fill='none' stroke-linejoin='round'%3E%3Cpath d='M30 0L14 30L26 34L8 64L20 66L4 100' stroke='%2327e8ff' stroke-opacity='.45' stroke-width='7'/%3E%3Cpath d='M30 0L14 30L26 34L8 64L20 66L4 100' stroke='%23f2fdff' stroke-width='2.2'/%3E%3C/svg%3E"); }
.rx-fx.it-r_zap::before { left: 2%; animation: rf-bolt 2.4s steps(1) both; }
.rx-fx.it-r_zap::after { right: 2%; transform: scaleX(-1); animation: rf-bolt 2.4s steps(1) .2s both; }
@keyframes rf-bolt { 0% { opacity: 0; } 5% { opacity: 1; } 9% { opacity: 0; } 13% { opacity: 1; } 28% { opacity: 0; } 44% { opacity: 1; } 49% { opacity: 0; } 62% { opacity: .8; } 66%, 100% { opacity: 0; } }

/* ---------- 🧊 Freeze: still... then a quick shiver | frost creeps in from all four corners + a spinning snowflake ---------- */
.rx-art.it-r_ice { filter: drop-shadow(0 0 4px rgba(150, 230, 255, .7)); animation: ra-ice 2.8s linear infinite; }
@keyframes ra-ice { 0%, 55%, 73%, 100% { transform: translateX(0); } 58%, 64% { transform: translateX(-2px); } 61%, 67% { transform: translateX(2px); } 70% { transform: translateX(-1px); } }
.rx-fx.it-r_ice::before { inset: 0; background: radial-gradient(circle at 0 0, rgba(235, 250, 255, .85) 0 8%, rgba(190, 235, 255, .4) 17%, transparent 30%),
  radial-gradient(circle at 100% 0, rgba(235, 250, 255, .8) 0 7%, rgba(190, 235, 255, .35) 15%, transparent 27%),
  radial-gradient(circle at 0 100%, rgba(235, 250, 255, .8) 0 7%, rgba(190, 235, 255, .35) 15%, transparent 27%),
  radial-gradient(circle at 100% 100%, rgba(235, 250, 255, .85) 0 8%, rgba(190, 235, 255, .4) 17%, transparent 30%); animation: rf-frost 2.4s ease-out both; }
.rx-fx.it-r_ice::after { top: 6%; left: 5%; width: 18%; aspect-ratio: 1; background: center / contain no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24' stroke='%23f4fcff' stroke-width='1.4' stroke-linecap='round'%3E%3Cg id='a'%3E%3Cpath d='M0-11V11M0-7L-3-10M0-7L3-10M0 7L-3 10M0 7L3 10'/%3E%3C/g%3E%3Cuse href='%23a' transform='rotate(60)'/%3E%3Cuse href='%23a' transform='rotate(120)'/%3E%3C/svg%3E");
  animation: rf-flake 2.4s ease-out both; }
@keyframes rf-frost { 0% { transform: scale(1.5); opacity: 0; } 35% { transform: scale(1); opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rf-flake { 0% { transform: rotate(0) scale(0); opacity: 0; } 20% { transform: rotate(60deg) scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: rotate(200deg) scale(.9); opacity: 0; } }

/* ---------- 💸 Make It Rain: banknote flaps in the wind | "+$1,000,000" floats up over a scrolling $ ticker ---------- */
.rx-art.it-r_money { animation: ra-money 1.4s ease-in-out infinite; }
@keyframes ra-money { 0%, 100% { transform: perspective(160px) rotateX(0) translateY(0); } 35% { transform: perspective(160px) rotateX(45deg) translateY(-4px); } 65% { transform: perspective(160px) rotateX(-20deg) translateY(-2px); } }
.rx-fx.it-r_money::before { content: "+$1,000,000"; left: 0; right: 0; bottom: 16%; text-align: center; color: #3dff9a; font-weight: 900; font-size: 1.25rem;
  text-shadow: 0 2px 0 #0b5d2a, 0 0 10px rgba(61, 255, 154, .5); animation: rf-cash 2.4s ease-out both; }
.rx-fx.it-r_money::after { content: "$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $"; left: 0; bottom: 0; padding: 2px 0;
  white-space: nowrap; background: rgba(8, 60, 30, .8); color: #7dffb0; font-weight: 900; font-size: .8rem; letter-spacing: .3em; animation: rf-ticker 2.5s linear both; }
@keyframes rf-cash { 0% { transform: translateY(40%) scale(.7); opacity: 0; } 20% { transform: translateY(0) scale(1.1); opacity: 1; } 30% { transform: scale(1); } 80% { opacity: 1; } 100% { transform: translateY(-150%) scale(1); opacity: 0; } }
@keyframes rf-ticker { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(-40%); opacity: 0; } }

/* ---------- 📯 Air Horn: blast recoil with ")))" pulsing out | orange shockwave rings blast from the left edge ---------- */
.rx-art.it-r_horn { animation: ra-horn 1.9s ease-out infinite; }
.rx-art.it-r_horn::after { content: ")))"; left: 100%; top: 18%; font-size: .45em; font-weight: 900; color: #ffb13d; letter-spacing: -.1em; animation: ra-horn-w 1.9s ease-out infinite; }
@keyframes ra-horn { 0%, 30%, 100% { transform: translate(0) rotate(0); } 6% { transform: translate(-6px, 0) rotate(-10deg); } 12% { transform: translate(2px, 0) rotate(4deg); } 18% { transform: translate(-2px, 0) rotate(-2deg); } 24% { transform: translate(1px, 0); } }
@keyframes ra-horn-w { 0%, 4% { transform: translateX(-4px) scale(.6); opacity: 0; } 10% { opacity: 1; } 40%, 100% { transform: translateX(6px) scale(1.2); opacity: 0; } }
.rx-fx.it-r_horn::before, .rx-fx.it-r_horn::after { left: -30%; top: 50%; width: 60%; aspect-ratio: 1; margin-top: -30%; border-radius: 50%; }
.rx-fx.it-r_horn::before { border: 7px solid rgba(255, 177, 61, .85); animation: rf-shock 1s ease-out 2; }
.rx-fx.it-r_horn::after { border: 4px solid rgba(255, 255, 255, .8); animation: rf-shock 1s ease-out .35s 2; }
@keyframes rf-shock { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }

/* ---------- 🌈 Rainbow: color-cycling while bobbing on an arc | a full rainbow arch rises up from the bottom ---------- */
.rx-art.it-r_rainbow { animation: ra-rainbow-hue 3s linear infinite, ra-rainbow-arc 2.2s ease-in-out infinite; }
@keyframes ra-rainbow-hue { to { filter: hue-rotate(360deg); } }
@keyframes ra-rainbow-arc { 0%, 100% { transform: translate(-5px, 2px) rotate(-6deg); } 50% { transform: translate(5px, 2px) rotate(6deg); } 25%, 75% { transform: translate(0, -5px); } }
.rx-fx.it-r_rainbow::before { left: -10%; right: -10%; bottom: 0; height: 100%; background: radial-gradient(circle at 50% 100%, transparent 0 46%, rgba(138, 92, 255, .7) 46% 50%,
  rgba(39, 232, 255, .7) 50% 54%, rgba(61, 255, 154, .7) 54% 58%, rgba(255, 233, 77, .7) 58% 62%, rgba(255, 177, 61, .7) 62% 66%, rgba(255, 61, 61, .7) 66% 70%, transparent 70%);
  animation: rf-arch 2.5s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes rf-arch { 0% { transform: translateY(70%) scale(.8); opacity: 0; } 30% { transform: translateY(0) scale(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-4%) scale(1.02); opacity: 0; } }

/* ---------- 🫠 Melting: slowly slumps into a puddle, then pulls itself together | a gooey drip sheet oozes down from the top ---------- */
.rx-art.it-r_melt { transform-origin: 50% 100%; animation: ra-melt 3.2s ease-in-out infinite; }
@keyframes ra-melt { 0%, 100% { transform: scale(1, 1) skewX(0); } 40% { transform: scale(1.2, .78) skewX(0); } 55% { transform: scale(1.25, .72) skewX(6deg); } 70% { transform: scale(1.05, .95) skewX(0); } 85% { transform: scale(.97, 1.04); } }
.rx-fx.it-r_melt::before { left: 0; right: 0; top: 0; height: 62%; background: center / 100% 100% no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V30Q95 50 90 30T80 34Q75 58 70 34T58 28Q52 52 46 30T34 36Q28 60 22 32T10 30Q5 46 0 28Z' fill='%23ffb347' fill-opacity='.62'/%3E%3C/svg%3E");
  animation: rf-ooze 2.5s cubic-bezier(.5, 0, .7, 1) both; }
@keyframes rf-ooze { 0% { transform: translateY(-100%); opacity: 1; } 55% { transform: translateY(-20%); opacity: 1; } 85% { transform: translateY(5%) scaleY(1.15); opacity: .8; } 100% { transform: translateY(15%) scaleY(1.25); opacity: 0; } }

/* ---------- 🪩 Disco: swings on its chain, a sparkle winks | mirror-ball light specks sweep around the room ---------- */
.rx-art.it-r_disco { transform-origin: 50% -60%; animation: ra-disco 2s ease-in-out infinite; }
.rx-art.it-r_disco::before { content: "✦"; right: -.15em; top: -.1em; font-size: .45em; color: #fff; animation: ra-wink 1s ease-in-out infinite; }
@keyframes ra-disco { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes ra-wink { 0%, 100% { transform: scale(0) rotate(0); } 50% { transform: scale(1.2) rotate(90deg); } }
.rx-fx.it-r_disco::before { inset: -60%; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0 2px, transparent 3px) 0 0 / 34px 34px,
  radial-gradient(circle, rgba(39, 232, 255, .85) 0 2px, transparent 3px) 17px 17px / 34px 34px, radial-gradient(circle, rgba(255, 45, 149, .8) 0 1.5px, transparent 2.5px) 9px 25px / 34px 34px;
  animation: rf-mirror 2.5s linear both; }
@keyframes rf-mirror { 0% { transform: rotate(0); opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { transform: rotate(50deg); opacity: 0; } }

/* ---------- 💣 Mic Bomb: swells & trembles as the fuse fizzes, then pops | white flash + a dark smoke ring blows outward ---------- */
.rx-art.it-r_bomb { animation: ra-bomb 2.2s ease-in infinite; }
.rx-art.it-r_bomb::after { content: ""; right: .02em; top: -.04em; width: .26em; height: .26em; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 20%, #ffe94d 35%, #ff7a1a 60%, transparent 70%); animation: ra-fuse .18s steps(2) infinite; }
@keyframes ra-bomb { 0% { transform: scale(1) translate(0); } 60% { transform: scale(1.1) translate(0); } 64% { transform: scale(1.14) translate(-1px, 1px); } 68% { transform: scale(1.18) translate(1px, -1px); }
  72% { transform: scale(1.2) translate(-1px, 0); } 76% { transform: scale(1.23) translate(1px, 1px); } 80% { transform: scale(1.26) translate(-1px, -1px); } 86% { transform: scale(1.3) translate(0); }
  90% { transform: scale(.8); } 100% { transform: scale(1); } }
@keyframes ra-fuse { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.3); opacity: 1; } }
.rx-fx.it-r_bomb::before { inset: 0; background: #fff; animation: rf-flash 2.4s ease-out both; }
.rx-fx.it-r_bomb::after { left: 30%; top: 25%; width: 40%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, transparent 38%, rgba(70, 64, 60, .75) 52%, rgba(40, 36, 34, .4) 62%, transparent 72%); animation: rf-smoke 1.9s ease-out .1s both; }
@keyframes rf-flash { 0% { opacity: 0; } 4% { opacity: .9; } 22%, 100% { opacity: 0; } }
@keyframes rf-smoke { 0% { transform: scale(.2); opacity: .95; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- 🐉 Dragon: serpentine slither | a fire-breath blast sweeps in from the left, trailed by smoke puffs ---------- */
.rx-art.it-r_dragon { animation: ra-dragon 2.4s ease-in-out infinite; }
@keyframes ra-dragon { 0%, 100% { transform: translate(-5px, 0) rotate(-6deg); } 25% { transform: translate(0, -3px) rotate(4deg); } 50% { transform: translate(5px, 0) rotate(-4deg); } 75% { transform: translate(0, -3px) rotate(6deg); } }
.rx-fx.it-r_dragon::before { left: -10%; width: 120%; top: 28%; height: 44%; transform-origin: 0 50%;
  background: radial-gradient(ellipse at 0% 50%, rgba(255, 245, 190, .95) 0 8%, rgba(255, 150, 30, .85) 24%, rgba(220, 40, 10, .55) 48%, transparent 68%); animation: rf-breath 2.2s ease-out both; }
.rx-fx.it-r_dragon::after { inset: 0; background: radial-gradient(circle at 30% 26%, rgba(110, 110, 110, .5) 0 6%, transparent 9%), radial-gradient(circle at 55% 20%, rgba(130, 130, 130, .45) 0 8%, transparent 11%),
  radial-gradient(circle at 78% 30%, rgba(110, 110, 110, .5) 0 5%, transparent 8%), radial-gradient(circle at 66% 78%, rgba(120, 120, 120, .4) 0 6%, transparent 9%);
  animation: rf-puffs 2.3s ease-out .5s both; }
@keyframes rf-breath { 0% { transform: scaleX(0) translateY(0); opacity: 1; } 20% { transform: scaleX(1) translateY(0); } 40% { transform: scaleX(1.05) translateY(-8%); } 60% { transform: scaleX(.95) translateY(8%); opacity: 1; } 100% { transform: scaleX(1.1) translateY(0); opacity: 0; } }
@keyframes rf-puffs { 0% { transform: translateY(10%) scale(.6); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-14%) scale(1.15); opacity: 0; } }

/* ---------- 🙌 Standing Ovation: raise-the-roof pumps | a crowd silhouette rises and bobs, camera flashes pop above ---------- */
.rx-art.it-r_crowd { animation: ra-crowd 1s ease-in-out infinite; }
@keyframes ra-crowd { 0%, 50%, 100% { transform: translateY(2px) scale(1); } 25%, 75% { transform: translateY(-8px) scale(1.06); } }
.rx-fx.it-r_crowd::before { left: -5%; right: -5%; bottom: -4%; height: 30%; background:
  radial-gradient(circle at 50% 30%, #170d24 0 20%, transparent 21%) 0 0 / 11% 70% repeat-x, radial-gradient(ellipse 50% 100% at 50% 100%, #170d24 0 98%, transparent 100%) 0 100% / 11% 55% repeat-x,
  radial-gradient(circle at 50% 30%, #241638 0 20%, transparent 21%) 5.5% 18% / 11% 70% repeat-x; animation: rf-crowd 2.5s ease-in-out both; }
.rx-fx.it-r_crowd::after { left: 0; right: 0; top: 0; height: 60%; background: radial-gradient(circle at 15% 40%, #fff 0 3px, transparent 5px), radial-gradient(circle at 42% 20%, #fff 0 2px, transparent 4px),
  radial-gradient(circle at 70% 50%, #fff 0 3px, transparent 5px), radial-gradient(circle at 88% 26%, #fff 0 2px, transparent 4px); animation: rf-flashes .3s steps(1) 7 .3s; }
@keyframes rf-crowd { 0% { transform: translateY(100%); opacity: 1; } 18% { transform: translateY(0); } 30% { transform: translateY(8%); } 42% { transform: translateY(0); } 54% { transform: translateY(8%); }
  66% { transform: translateY(0); } 78% { transform: translateY(8%); opacity: 1; } 100% { transform: translateY(100%); opacity: 1; } }
@keyframes rf-flashes { 0% { opacity: 1; transform: translateX(0); } 50% { opacity: 0; transform: translateX(7%); } }

/* ---------- 🔦 Spotlight: sweeps back and forth like a flashlight | a warm stage-light beam swings in and lands on the singer ---------- */
.rx-art.it-r_spotlight { transform-origin: 50% 100%; animation: ra-spotlight 1.6s ease-in-out infinite alternate; }
@keyframes ra-spotlight { 0% { transform: rotate(-25deg); } 100% { transform: rotate(25deg); } }
.rx-fx.it-r_spotlight::before { left: 15%; right: 15%; top: -4%; height: 110%; transform-origin: 50% 0; background: linear-gradient(rgba(255, 248, 210, .6), rgba(255, 248, 210, .12));
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); animation: rf-beam-swing 2.5s ease-in-out both; }
.rx-fx.it-r_spotlight::after { inset: 0; background: radial-gradient(ellipse 36% 50% at 50% 58%, transparent 55%, rgba(0, 0, 0, .62) 100%); animation: rf-hold 2.5s ease both; }
@keyframes rf-beam-swing { 0% { transform: rotate(-38deg); opacity: 0; } 15% { opacity: 1; } 40% { transform: rotate(22deg); } 58% { transform: rotate(-8deg); } 70%, 85% { transform: rotate(0); opacity: 1; } 100% { transform: rotate(0); opacity: 0; } }

/* ---------- 🎆 Fireworks: launches up from below and bursts | two dotted firework shells explode in different colors ---------- */
.rx-art.it-r_fireworks { animation: ra-fireworks 2.4s ease-out infinite; }
@keyframes ra-fireworks { 0% { transform: translateY(14px) scale(.4); opacity: .3; } 30% { transform: translateY(-4px) scale(.6); opacity: .8; } 40% { transform: translateY(-4px) scale(1.28); opacity: 1; }
  55%, 85% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(2px) scale(.95); opacity: .3; } }
.rx-fx.it-r_fireworks::before, .rx-fx.it-r_fireworks::after { width: 46%; aspect-ratio: 1;
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62% 70%, transparent 72%); mask: radial-gradient(circle, transparent 60%, #000 62% 70%, transparent 72%); }
.rx-fx.it-r_fireworks::before { left: 4%; top: 2%; background: repeating-conic-gradient(#ffe94d 0 4deg, transparent 4deg 15deg, #ff2d95 15deg 19deg, transparent 19deg 30deg); animation: rf-shell 1.4s ease-out both; }
.rx-fx.it-r_fireworks::after { right: 4%; top: 22%; background: repeating-conic-gradient(#27e8ff 0 4deg, transparent 4deg 15deg, #3dff9a 15deg 19deg, transparent 19deg 30deg); animation: rf-shell 1.4s ease-out .7s both; }
@keyframes rf-shell { 0% { transform: scale(.08); opacity: 1; } 55% { transform: scale(1) translateY(0); opacity: 1; } 100% { transform: scale(1.15) translateY(12%); opacity: 0; } }

/* ---------- ⛈️ Thunderstorm: rumbling cloud with lightning flickers | slanted rain sheets + double flash of lightning ---------- */
.rx-art.it-r_storm { animation: ra-storm 2.6s ease-in-out infinite; }
@keyframes ra-storm { 0%, 60%, 100% { transform: translateX(0); filter: brightness(1); } 30% { transform: translateX(-3px); filter: brightness(.85); } 62%, 66% { transform: translateX(1px); filter: brightness(1.9); } 64%, 68% { transform: translateX(-1px); filter: brightness(1); } }
.rx-fx.it-r_storm { animation: rf-hold 2.5s ease both; }
.rx-fx.it-r_storm::before { left: -20%; right: -20%; top: -100%; height: 200%; opacity: 1; background: repeating-linear-gradient(105deg, transparent 0 14px, rgba(190, 215, 255, .5) 14px 15.5px); animation: rf-rain .5s linear 5; }
.rx-fx.it-r_storm::after { inset: 0; background: rgba(235, 240, 255, .85); animation: rf-lightning 2.5s steps(1) both; }
@keyframes rf-rain { 0% { transform: translate(0, 0); } 100% { transform: translate(-13%, 50%); } }
@keyframes rf-lightning { 0% { opacity: 0; } 28% { opacity: .9; } 31% { opacity: 0; } 35% { opacity: .75; } 38% { opacity: 0; } 72% { opacity: .6; } 74%, 100% { opacity: 0; } }

/* ---------- 🌋 Eruption: rumble, rumble, ERUPT (a lava blob shoots up) | molten lava wave rises up the camera + flying rocks ---------- */
.rx-art.it-r_volcano { transform-origin: 50% 100%; animation: ra-volcano 2.6s ease-out infinite; }
.rx-art.it-r_volcano::after { content: ""; left: 50%; top: 0; width: .18em; height: .18em; margin-left: -.09em; border-radius: 50%; background: #ff5a00; box-shadow: 0 0 4px #ffb13d; animation: ra-blob 2.6s ease-out infinite; }
@keyframes ra-volcano { 0%, 50% { transform: translate(0, 0) scale(1, 1); } 55% { transform: translate(-1px, 1px); } 60% { transform: translate(1px, -1px); } 65% { transform: translate(-1px, 0); } 70% { transform: translate(0, -5px) scale(1.08, 1.12); } 80%, 100% { transform: translate(0, 0) scale(1, 1); } }
@keyframes ra-blob { 0%, 68% { transform: translateY(0) scale(0); opacity: 0; } 72% { transform: translateY(-4px) scale(1); opacity: 1; } 90% { transform: translateY(-22px) scale(.8); opacity: 1; } 100% { transform: translateY(-14px) scale(.4); opacity: 0; } }
.rx-fx.it-r_volcano::before { left: -5%; right: -5%; bottom: 0; height: 46%; background: center / 100% 100% no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffd23d'/%3E%3Cstop offset='.25' stop-color='%23ff6a00'/%3E%3Cstop offset='1' stop-color='%23a01400'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 12Q12 0 25 12T50 12T75 12T100 12V50H0Z' fill='url(%23l)' fill-opacity='.85'/%3E%3C/svg%3E");
  animation: rf-lava 2.5s ease-in-out both; }
.rx-fx.it-r_volcano::after { left: 30%; right: 30%; bottom: 0; height: 60%; transform-origin: 50% 100%; background: radial-gradient(circle at 20% 40%, #5a1206 0 4%, transparent 5%),
  radial-gradient(circle at 75% 25%, #7a1a08 0 3.5%, transparent 4.5%), radial-gradient(circle at 48% 10%, #ff5a00 0 3%, transparent 4%), radial-gradient(circle at 85% 60%, #5a1206 0 3%, transparent 4%),
  radial-gradient(circle at 10% 70%, #ff7a1a 0 2.5%, transparent 3.5%); animation: rf-rocks 1.6s ease-out .4s both; }
@keyframes rf-lava { 0% { transform: translateY(100%); opacity: 1; } 40% { transform: translateY(8%); } 55% { transform: translateY(14%) scaleX(1.04); } 70% { transform: translateY(6%); opacity: 1; } 100% { transform: translateY(100%); opacity: 1; } }
@keyframes rf-rocks { 0% { transform: scale(.2) translateY(30%); opacity: 1; } 100% { transform: scale(2.4) translateY(-30%); opacity: 0; } }

/* ---------- 😇 Hallelujah: gentle heavenly float under a bobbing gold halo | holy light shafts fall + a big halo descends ---------- */
.rx-art.it-r_angel { animation: ra-angel 3s ease-in-out infinite alternate; }
.rx-art.it-r_angel::before { content: ""; left: 50%; top: -.12em; width: .7em; height: .2em; margin-left: -.35em; border: .06em solid #ffe98a; border-radius: 50%;
  box-shadow: 0 0 6px #ffe98a; animation: ra-halo 1.5s ease-in-out infinite alternate; }
@keyframes ra-angel { 0% { transform: translateY(2px); } 100% { transform: translateY(-6px); } }
@keyframes ra-halo { 0% { transform: translateY(0); } 100% { transform: translateY(-3px); } }
.rx-fx.it-r_angel::before { left: 10%; right: 10%; top: 0; height: 100%; transform-origin: 50% 0; background: repeating-linear-gradient(90deg, transparent 0 6%, rgba(255, 246, 200, .38) 6% 10%);
  -webkit-mask: linear-gradient(#000, transparent 85%); mask: linear-gradient(#000, transparent 85%); animation: rf-shafts 2.5s ease-out both; }
.rx-fx.it-r_angel::after { top: 5%; left: 30%; width: 40%; height: 12%; border: 6px solid rgba(255, 230, 120, .9); border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 230, 120, .8), inset 0 0 12px rgba(255, 230, 120, .7); animation: rf-halo-drop 2.5s ease-out both; }
@keyframes rf-shafts { 0% { transform: scaleY(0); opacity: 0; } 30% { transform: scaleY(1); opacity: 1; } 80% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes rf-halo-drop { 0% { transform: translateY(-220%); opacity: 0; } 30% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-15%); } 60% { transform: translateY(0); } 85% { opacity: 1; } 100% { transform: translateY(-10%); opacity: 0; } }

/* ---------- 🤴 All Hail: a slow royal bow | red velvet theatre curtains with gold trim sweep in from both sides ---------- */
.rx-art.it-r_king { transform-origin: 50% 100%; animation: ra-king 3.4s ease-in-out infinite; }
@keyframes ra-king { 0%, 30%, 100% { transform: rotate(0) translateY(0); } 45%, 60% { transform: rotate(14deg) translateY(2px); } 75% { transform: rotate(0) translateY(0); } }
.rx-fx.it-r_king::before, .rx-fx.it-r_king::after { top: 0; bottom: 0; width: 22%; background: repeating-linear-gradient(90deg, #5e0816 0, #c4183a 12%, #5e0816 24%); }
.rx-fx.it-r_king::before { left: 0; border-right: 4px solid #ffd34d; border-bottom-right-radius: 70% 22%; animation: rf-curtain-l 2.5s cubic-bezier(.3, .8, .4, 1) both; }
.rx-fx.it-r_king::after { right: 0; border-left: 4px solid #ffd34d; border-bottom-left-radius: 70% 22%; animation: rf-curtain-r 2.5s cubic-bezier(.3, .8, .4, 1) both; }
@keyframes rf-curtain-l { 0% { transform: translateX(-105%); opacity: 1; } 25%, 82% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(-105%); opacity: 1; } }
@keyframes rf-curtain-r { 0% { transform: translateX(105%); opacity: 1; } 25%, 82% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(105%); opacity: 1; } }

/* ---------- 🔨 Ban Hammer: wind up and SLAM with a little rebound | yellow POW starburst + dizzy dots orbiting overhead ---------- */
.rx-art.it-r_hammer { transform-origin: 80% 80%; animation: ra-hammer 1.8s ease-in infinite; }
@keyframes ra-hammer { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-45deg); } 50% { transform: rotate(25deg); } 54% { transform: rotate(16deg); } 58% { transform: rotate(22deg); } 70% { transform: rotate(0); } }
.rx-fx.it-r_hammer::before { left: 32%; top: 2%; width: 36%; aspect-ratio: 1; background: #ffe94d; box-shadow: inset 0 0 0 4px #ff7a1a;
  clip-path: polygon(50% 0, 60% 30%, 92% 12%, 72% 40%, 100% 52%, 70% 62%, 86% 94%, 54% 72%, 38% 100%, 34% 68%, 4% 82%, 24% 56%, 0 36%, 30% 32%, 18% 6%);
  animation: rf-pow 2.2s ease-out both; }
.rx-fx.it-r_hammer::after { left: 26%; top: 2%; width: 48%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 5%, #ffe94d 0 5%, transparent 6%), radial-gradient(circle at 50% 95%, #fff 0 5%, transparent 6%),
  radial-gradient(circle at 5% 50%, #fff 0 5%, transparent 6%), radial-gradient(circle at 95% 50%, #ffe94d 0 5%, transparent 6%); animation: rf-dizzy 1.9s linear .5s both; }
@keyframes rf-pow { 0% { transform: scale(0) rotate(-30deg); opacity: 1; } 14% { transform: scale(1.3) rotate(0); } 22% { transform: scale(1) rotate(-6deg); } 40% { opacity: 1; } 55%, 100% { transform: scale(.8) rotate(-6deg); opacity: 0; } }
@keyframes rf-dizzy { 0% { transform: scaleY(.3) rotate(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: scaleY(.3) rotate(720deg); opacity: 0; } }

/* ---------- ⭐ Staff Star: steady spin with a pulsing glow + twinkle | gold shooting stars streak across the frame ---------- */
.rx-art.it-r_star { animation: ra-star 3s linear infinite; }
.rx-art.it-r_star::after { content: "✧"; left: -.3em; bottom: -.1em; font-size: .4em; color: #fff6c4; animation: ra-wink 1.5s ease-in-out .7s infinite; }
@keyframes ra-star { 0% { transform: rotate(0) scale(1); filter: drop-shadow(0 0 2px #ffd34d); } 50% { transform: rotate(180deg) scale(1.15); filter: drop-shadow(0 0 9px #ffd34d); } 100% { transform: rotate(360deg) scale(1); filter: drop-shadow(0 0 2px #ffd34d); } }
.rx-fx.it-r_star::before, .rx-fx.it-r_star::after { left: -45%; height: 5px; width: 45%; border-radius: 5px; }
.rx-fx.it-r_star::before { top: 14%; background: linear-gradient(90deg, transparent, #fff8c4 80%, #fff); box-shadow: 0 0 8px #ffe94d; animation: rf-shoot-a 1.3s ease-in both; }
.rx-fx.it-r_star::after { top: 48%; background: linear-gradient(90deg, transparent, #ffd34d 80%, #fff); box-shadow: 0 0 8px #ffb13d; animation: rf-shoot-b 1.3s ease-in .7s both; }
@keyframes rf-shoot-a { 0% { transform: rotate(18deg) translateX(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: rotate(18deg) translateX(380%); opacity: 0; } }
@keyframes rf-shoot-b { 0% { transform: rotate(-10deg) translateX(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: rotate(-10deg) translateX(380%); opacity: 0; } }

/* ---------- reduced motion: shop art holds still; on-camera effects just fade in and out where they sit ---------- */
@keyframes rf-calm { 0%, 100% { opacity: 0; } 25%, 75% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  .rx-art[class*="it-"], .rx-art[class*="it-"]::before, .rx-art[class*="it-"]::after { animation: none !important; }
  .rx-fx[class*="it-"] { animation: none !important; }
  .rx-fx[class*="it-"]::before, .rx-fx[class*="it-"]::after { animation: rf-calm 2.4s ease both !important; }
}
