/* looks/packs.css: looks for items that come in paid packs (God Tier, seasonal, all-year) and the pack cards in the Shop.
 * Same rules as the other looks files: keyed by .it-<item id>, every item unique, respects prefers-reduced-motion. */

/* =========================================================== pack cards =========================================================== */
.pack-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }

/* GOD TIER: spinning rainbow rim, star field, heavenly glow */
@property --god-a { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.pack-card.pk-god { border: 2px solid transparent; animation: pkGodSpin 6s linear infinite;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255, 246, 196, .22), transparent 60%) padding-box,
    linear-gradient(#140a26, #0b0618) padding-box,
    conic-gradient(from var(--god-a), #ff2d95, #ffe94d, #3dff9a, #27e8ff, #8a5cff, #ff2d95) border-box;
  box-shadow: 0 0 40px rgba(255, 233, 77, .25), 0 0 80px rgba(138, 92, 255, .2); }
.pack-card.pk-god::before { opacity: .9;
  background: radial-gradient(1.5px 1.5px at 12% 20%, #fff, transparent), radial-gradient(1px 1px at 70% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40% 75%, #fff8c4, transparent), radial-gradient(1px 1px at 85% 80%, #fff, transparent),
    radial-gradient(2px 2px at 25% 55%, #c8f6ff, transparent), radial-gradient(1px 1px at 58% 12%, #fff, transparent);
  animation: pkTwinkle 3s ease-in-out infinite alternate; }
.pack-card.pk-god .pack-head b { font-size: 1.7rem; background: linear-gradient(90deg, #ffe94d, #fff, #27e8ff, #ff2d95, #ffe94d); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: ncSlide 3s linear infinite; letter-spacing: .12em; }
.pack-card.pk-god .pack-emoji { animation: pkFloat 3s ease-in-out infinite; filter: drop-shadow(0 0 14px #8a5cff); }
.pack-card.pk-god .pack-price { color: #ffe94d; text-shadow: 0 0 18px rgba(255, 233, 77, .7); }
@keyframes pkGodSpin { to { --god-a: 360deg; } }
.item-card.r-god { animation: pkGodSpin 6s linear infinite; }
@keyframes pkTwinkle { from { opacity: .4; } to { opacity: 1; } }
@keyframes pkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* every pack lists a wheel and a camera-off look: shrink them to fit the 78px item cells */
.pack-item .art-wheel { width: 54px; font-size: 3.6px; }
.pack-item .art-nocam { width: 68px; height: 51px; }
.pack-item .art-nocam .nc-art { font-size: 1.3rem; }
.pack-item .art-nocam .nc-name { display: none; }

.pack-card.pk-rockstar { border-color: #ff3d3d; background: linear-gradient(160deg, #2a0b0b, #12070f 60%); }
.pack-card.pk-rockstar::before { background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 61, 61, .07) 14px 16px); }
.pack-card.pk-rockstar .pack-head b { font-family: Impact, "Arial Black", sans-serif; text-transform: uppercase; color: #ff4b3e; letter-spacing: .08em; transform: skewX(-8deg); }

.pack-card.pk-diva { border-color: #ff8fd0; background: radial-gradient(90% 70% at 50% 0%, rgba(255, 143, 208, .22), transparent 70%), var(--panel); }
.pack-card.pk-diva::before { background: conic-gradient(from 200deg at 50% -20%, transparent 0 40deg, rgba(255, 255, 255, .09) 45deg 60deg, transparent 65deg); animation: pkSweep 5s ease-in-out infinite alternate; transform-origin: 50% 0; }
.pack-card.pk-diva .pack-head b { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: #ffc4e6; }
@keyframes pkSweep { from { transform: rotate(-25deg); } to { transform: rotate(25deg); } }

.pack-card.pk-spooky { border-color: #ff7a1a; background: linear-gradient(180deg, #1c0f06, #0d0715); }
.pack-card.pk-spooky::before { background: radial-gradient(60% 40% at 80% 10%, rgba(255, 122, 26, .25), transparent 70%),
  repeating-radial-gradient(circle at 15% 110%, transparent 0 20px, rgba(138, 92, 255, .05) 20px 22px); }
.pack-card.pk-spooky .pack-head b { color: #ff9a3d; text-shadow: 0 0 12px rgba(255, 122, 26, .6); }
.pack-card.pk-frost { border-color: #9be8ff; background: linear-gradient(180deg, #0b1d2e, #0b0c1f); }
.pack-card.pk-frost::before { background: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(2px 2px at 60% 10%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 80% 60%, #fff, transparent), radial-gradient(2px 2px at 35% 80%, #fff, transparent);
  background-size: 100% 100%; animation: pkSnow 6s linear infinite; }
.pack-card.pk-frost .pack-head b { color: #dff7ff; text-shadow: 0 0 10px #7fe3ff; }
@keyframes pkSnow { from { background-position: 0 -120px; } to { background-position: 0 120px; } }
.pack-card.pk-heart { border-color: #ff4f8b; background: linear-gradient(160deg, #2b0a1c, #14071a); }
.pack-card.pk-heart::before { background: radial-gradient(circle at 85% 15%, rgba(255, 79, 139, .35), transparent 35%), radial-gradient(circle at 10% 90%, rgba(255, 143, 208, .2), transparent 40%);
  animation: pkBeat 1.2s ease-in-out infinite; }
.pack-card.pk-heart .pack-head b { color: #ff7fae; }
@keyframes pkBeat { 0%, 100% { opacity: .5; } 15% { opacity: .9; } 30% { opacity: .55; } 45% { opacity: .8; } }
.pack-card.pk-bloom { border-color: #8fe08a; background: linear-gradient(180deg, #102415, #150c22); }
.pack-card.pk-bloom::before { background: radial-gradient(circle at 10% 10%, rgba(255, 170, 210, .28), transparent 30%), radial-gradient(circle at 90% 85%, rgba(143, 224, 138, .22), transparent 35%); }
.pack-card.pk-bloom .pack-head b { color: #ffb6d9; }
.pack-card.pk-heat { border-color: #ffb13d; background: linear-gradient(180deg, #2d1a05, #061a2a); }
.pack-card.pk-heat::before { background: linear-gradient(0deg, rgba(39, 232, 255, .18), transparent 45%), radial-gradient(circle at 85% 12%, rgba(255, 233, 77, .45), transparent 22%); }
.pack-card.pk-heat .pack-head b { color: #ffd34d; }

/* ============================================================ GOD TIER ============================================================ */
/* Divine Smite: a crackling bolt that jolts in the shop; on camera a white-out flash and a bolt cracking down the middle */
.rx-art.it-r_god_smite { animation: pkSmite 1.6s steps(1) infinite; filter: drop-shadow(0 0 10px #ffe94d) drop-shadow(0 0 22px #27e8ff); }
@keyframes pkSmite { 0%, 70%, 100% { transform: none; } 72% { transform: translate(-2px, 1px) scale(1.2); filter: drop-shadow(0 0 22px #fff); } 76% { transform: translate(2px, -1px); } 80% { transform: scale(1.1); } }
.rx-fx.it-r_god_smite { animation: pkFlash 2.6s ease-out forwards; }
.rx-fx.it-r_god_smite::before { content: ""; position: absolute; left: 45%; top: -5%; width: 12%; height: 110%;
  background: linear-gradient(#fff, #fff8b0); clip-path: polygon(50% 0, 20% 45%, 55% 45%, 15% 100%, 85% 38%, 50% 38%, 80% 0);
  filter: drop-shadow(0 0 12px #fff) drop-shadow(0 0 30px #27e8ff); animation: pkBolt 2.6s steps(1) forwards; }
@keyframes pkFlash { 0% { background: rgba(255, 255, 255, .95); } 8% { background: rgba(255, 255, 255, 0); } 14% { background: rgba(255, 255, 255, .7); } 30%, 100% { background: transparent; } }
@keyframes pkBolt { 0% { opacity: 1; } 12% { opacity: 0; } 16% { opacity: 1; } 40%, 100% { opacity: 0; } }

/* GOD TIER badge: a little galaxy pill with a rotating rainbow rim and drifting stars */
.pbadge.it-b_god { color: #fff; border: 1px solid transparent; animation: pkGodSpin 4s linear infinite;
  background: radial-gradient(1px 1px at 20% 40%, #fff, transparent), radial-gradient(1px 1px at 75% 60%, #fff, transparent),
    linear-gradient(90deg, #1b0b3d, #0a1a3d) padding-box, conic-gradient(from var(--god-a), #ff2d95, #ffe94d, #3dff9a, #27e8ff, #8a5cff, #ff2d95) border-box;
  text-shadow: 0 0 8px #c8b4ff; box-shadow: 0 0 10px rgba(138, 92, 255, .6); }
.pbadge.it-b_god::before { display: none; }

/* Divinity: gold text with a white halo shine and a soft ascending glow layer */
.pname.it-c_god { position: relative; display: inline-block; color: #fff6c4; text-shadow: 0 0 6px #ffe94d, 0 0 16px rgba(255, 233, 77, .6), 0 -2px 18px rgba(255, 255, 255, .4);
  background: linear-gradient(100deg, #ffd34d 30%, #fff 45%, #ffd34d 60%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: pkDivine 2.8s ease-in-out infinite; }
.pname.it-c_god::after { content: attr(data-text); position: absolute; left: 0; top: 0; color: transparent; -webkit-text-fill-color: rgba(255, 246, 196, .35);
  filter: blur(3px); animation: pkAscend 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes pkDivine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes pkAscend { 0% { transform: translateY(0); opacity: .9; } 100% { transform: translateY(-8px); opacity: 0; } }

/* Pearly Gates: pearl-white rim, golden gate bars in the corners and light rays from the top */
.tile.it-fr_god { border-color: #fff6e0; box-shadow: 0 0 0 2px #ffd34d, 0 0 28px rgba(255, 246, 196, .55), inset 0 0 30px rgba(255, 246, 196, .25); }
.tile.it-fr_god::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(90deg, rgba(255, 211, 77, .9) 0 3px, transparent 3px 12px) left top / 16% 100% no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 211, 77, .9) 0 3px, transparent 3px 12px) right top / 16% 100% no-repeat;
  -webkit-mask: linear-gradient(#000, transparent 70%); mask: linear-gradient(#000, transparent 70%); }
.tile.it-fr_god::after { content: ""; position: absolute; inset: -20% 0 auto; height: 70%; pointer-events: none; z-index: 2;
  background: conic-gradient(from 160deg at 50% 0, transparent 0 8deg, rgba(255, 255, 255, .18) 10deg 14deg, transparent 16deg 22deg, rgba(255, 246, 196, .16) 24deg 28deg, transparent 30deg 40deg);
  animation: pkRays 6s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes pkRays { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }

/* Throne of Clouds: puffy cloud seat floating on a golden beam */
.stool.it-st_god .seat { width: 170px; height: 34px; border-radius: 40px; background: #fff;
  box-shadow: -40px -10px 0 -4px #fff, 36px -12px 0 -2px #fff, 0 -18px 0 -2px #f4f7ff, 0 0 30px rgba(255, 255, 255, .7), 0 0 60px rgba(255, 233, 77, .4);
  animation: pkCloud 3.2s ease-in-out infinite; }
.stool.it-st_god .legs { width: 40px; background: linear-gradient(rgba(255, 233, 77, .8), rgba(255, 233, 77, 0)); border-radius: 0 0 20px 20px; filter: blur(2px); }
.stool.it-st_god .legs::before, .stool.it-st_god .legs::after { display: none; }
@keyframes pkCloud { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Halo of the Gods: a golden ring orbits above the emoji */
.crown-art.it-cr_god { position: relative; animation: crFloat 3s ease-in-out infinite; filter: drop-shadow(0 0 10px #ffe94d); }
.crown-art.it-cr_god::before { content: ""; position: absolute; left: 50%; top: -.25em; width: 1.1em; height: .3em; margin-left: -.55em; border-radius: 50%;
  border: .08em solid #ffe94d; box-shadow: 0 0 .25em #ffe94d, inset 0 0 .15em #fff6c4; animation: pkHalo 2s ease-in-out infinite; }
@keyframes pkHalo { 0%, 100% { transform: translateY(0) rotateX(60deg); } 50% { transform: translateY(-.08em) rotateX(70deg) scale(1.08); } }

/* ============================================================ ROCKSTAR ============================================================ */
.rx-art.it-r_rock_smash { animation: pkStrum .9s ease-in-out infinite; transform-origin: 70% 90%; }
@keyframes pkStrum { 0%, 100% { transform: rotate(-12deg); } 40% { transform: rotate(18deg); } 55% { transform: rotate(-20deg) scale(1.1); } }
.rx-fx.it-r_rock_smash::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .85) 47%, transparent 48.5%), linear-gradient(60deg, transparent 52%, rgba(255, 255, 255, .7) 52.8%, transparent 54%),
    linear-gradient(170deg, transparent 38%, rgba(255, 255, 255, .6) 38.6%, transparent 39.6%); animation: pkCrack 2.6s ease-out forwards; }
@keyframes pkCrack { 0% { opacity: 0; transform: scale(.6); } 10% { opacity: 1; transform: scale(1.04); } 70% { opacity: 1; } 100% { opacity: 0; } }
.pbadge.it-b_rock { background: #111; color: #ff4b3e; border: 1px solid #ff4b3e; font-family: Impact, "Arial Black", sans-serif; letter-spacing: .06em;
  text-transform: uppercase; animation: pkHeadbang 1s ease-in-out infinite; box-shadow: 2px 2px 0 #ff4b3e; }
.pbadge.it-b_rock::before { display: none; }
@keyframes pkHeadbang { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-4deg) translateY(1px); } 40% { transform: rotate(3deg); } }
/* Amp Stack: speaker-grille edges that thump to a beat */
.tile.it-fr_rock { border-color: #2a2a2a; box-shadow: 0 0 0 3px #111, 0 0 0 5px #444, 0 0 18px rgba(255, 61, 61, .35); animation: pkThump .55s ease-in-out infinite; }
.tile.it-fr_rock::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(circle, #333 1.2px, transparent 1.6px) 0 0 / 7px 7px; -webkit-mask: linear-gradient(90deg, #000 7%, transparent 7% 93%, #000 93%);
  mask: linear-gradient(90deg, #000 7%, transparent 7% 93%, #000 93%); }
@keyframes pkThump { 0%, 100% { box-shadow: 0 0 0 3px #111, 0 0 0 5px #444, 0 0 14px rgba(255, 61, 61, .3); } 10% { box-shadow: 0 0 0 3px #111, 0 0 0 6px #555, 0 0 30px rgba(255, 61, 61, .7); } }
/* Spiked Crown: aggressive shake + red rim light */
.crown-art.it-cr_rock { animation: pkSpike 1.4s steps(1) infinite; filter: drop-shadow(0 0 6px #ff3d3d) saturate(1.4); }
@keyframes pkSpike { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-10deg) scale(1.08); } 20% { transform: rotate(10deg); } 30% { transform: rotate(0) scale(1); } }

/* ============================================================== DIVA ============================================================== */
.rx-art.it-r_diva_roses { animation: pkToss 2.2s ease-in-out infinite; }
@keyframes pkToss { 0% { transform: translate(-6px, 6px) rotate(-30deg); } 50% { transform: translate(4px, -10px) rotate(20deg); } 100% { transform: translate(-6px, 6px) rotate(-30deg); } }
.rx-fx.it-r_diva_roses { background: radial-gradient(40% 70% at 50% 0%, rgba(255, 246, 220, .45), transparent 70%); animation: pkSpot 2.6s ease-out forwards; }
@keyframes pkSpot { 0% { opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.pbadge.it-b_pk_diva { background: linear-gradient(90deg, #ff8fd0, #ffd1ec); color: #4a0a2e; border-color: #fff; font-style: italic; box-shadow: 0 0 10px rgba(255, 143, 208, .7); }
.pbadge.it-b_pk_diva::before { display: none; }
.pbadge.it-b_pk_diva::after { content: "✦"; position: absolute; right: -3px; top: -6px; color: #fff; font-size: .8em; animation: pkSparkle 1.4s ease-in-out infinite; }
.pbadge.it-b_pk_diva { position: relative; overflow: visible; }
@keyframes pkSparkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: 0; } 50% { transform: scale(1.2) rotate(90deg); opacity: 1; } }
/* Spotlight: name lit by a sweeping white spotlight over pink */
.pname.it-c_diva { color: #ff8fd0; background: radial-gradient(circle at var(--spot, 0%) 50%, #fff 0 18%, #ff8fd0 40%) 0 0 / 100% 100%; -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; animation: pkSpotlight 2.4s ease-in-out infinite alternate; text-shadow: 0 0 14px rgba(255, 143, 208, .35); }
@property --spot { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes pkSpotlight { from { --spot: 0%; } to { --spot: 100%; } }
/* Grand Piano: the piano gently plays (keys bounce) */
.stool.it-st_diva .stool-emoji { animation: pkKeys 1.1s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(255, 143, 208, .45)); }
@keyframes pkKeys { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-3px) rotate(-2deg); } 50% { transform: translateY(0) rotate(1deg); } 75% { transform: translateY(-2px) rotate(2deg); } }

/* ============================================================= SPOOKY ============================================================= */
/* Pumpkin Smash: winds up and lobs in the shop; on camera it's a splat (fx kind tomato, orange + seeds) with a heavy orange THUNK */
.rx-art.it-r_spooky_pumpkin { animation: pkLob 1.6s cubic-bezier(.4, 0, .6, 1) infinite; transform-origin: 50% 90%; filter: drop-shadow(0 4px 6px rgba(255, 122, 26, .45)); }
@keyframes pkLob { 0%, 100% { transform: translate(0, 0) rotate(0) scale(1); } 30% { transform: translate(-4px, 2px) rotate(-14deg) scale(.95, 1.05); }
  55% { transform: translate(3px, -10px) rotate(18deg); } 72% { transform: translate(0, 0) scale(1.18, .8); } 82% { transform: scale(.96, 1.04); } }
.rx-fx.it-r_spooky_pumpkin { background: radial-gradient(circle at 50% 45%, rgba(255, 138, 31, .55), rgba(255, 138, 31, 0) 60%); animation: pkThunk 2.6s ease-out forwards; }
@keyframes pkThunk { 0%, 10% { opacity: 0; transform: scale(.6); } 14% { opacity: 1; transform: scale(1.08); } 22% { transform: scale(1); } 45%, 100% { opacity: 0; } }
.pbadge.it-b_spooky { background: #120a1c; color: #c9a6ff; border-color: #6b3fbf; animation: pkFlap .5s ease-in-out infinite alternate; }
.pbadge.it-b_spooky::before { display: none; }
@keyframes pkFlap { from { transform: translateY(0) scaleX(1); } to { transform: translateY(-1px) scaleX(1.06); } }
/* Haunted Mirror: ornate dark frame; a ghostly face drifts across the glass now and then */
.tile.it-fr_spooky { border-color: #3d2a12; box-shadow: 0 0 0 3px #6b4a1f, 0 0 0 6px #241608, 0 0 26px rgba(138, 92, 255, .35); }
.tile.it-fr_spooky::after { content: "👻"; position: absolute; top: 30%; left: -20%; font-size: 2.6em; opacity: 0; pointer-events: none; z-index: 3; filter: blur(.5px);
  animation: pkHaunt 9s ease-in-out infinite; }
@keyframes pkHaunt { 0%, 60% { left: -20%; opacity: 0; } 70% { opacity: .35; } 85% { left: 105%; opacity: .2; } 100% { left: 105%; opacity: 0; } }
.crown-art.it-cr_spooky { animation: pkWitch 2.6s ease-in-out infinite; filter: drop-shadow(0 0 8px #8a5cff); }
@keyframes pkWitch { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(4px, -8px) rotate(8deg); } }

/* ============================================================= FROST ============================================================== */
.rx-art.it-r_frost_snowball { animation: pkWobbleSpin 3s linear infinite; filter: drop-shadow(0 0 6px #bdf3ff); }
@keyframes pkWobbleSpin { to { transform: rotate(360deg); } }
.rx-fx.it-r_frost_snowball { background: radial-gradient(ellipse at center, transparent 50%, rgba(220, 248, 255, .75) 100%); animation: pkFrostIn 2.6s ease-out forwards; }
@keyframes pkFrostIn { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.pbadge.it-b_frost { background: linear-gradient(90deg, #0f6b3a, #c8102e, #0f6b3a); background-size: 200% 100%; color: #fff; border-color: #ffd34d; animation: ncSlide 3s linear infinite; }
.pbadge.it-b_frost::before { display: none; }
/* Frosted Glass: icy, crystalline edges that slowly shimmer */
.tile.it-fr_frost { border-color: #dff7ff; box-shadow: 0 0 16px rgba(127, 227, 255, .6), inset 0 0 26px rgba(223, 247, 255, .55); }
.tile.it-fr_frost::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: conic-gradient(from 45deg at 0 0, rgba(255, 255, 255, .55) 0 20deg, transparent 22deg) , conic-gradient(from 225deg at 100% 100%, rgba(255, 255, 255, .45) 0 18deg, transparent 20deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 78%, #000); mask: radial-gradient(farthest-side, transparent 78%, #000); animation: pkIce 4s ease-in-out infinite alternate; }
@keyframes pkIce { from { opacity: .55; } to { opacity: 1; } }
.stool.it-st_frost .stool-emoji { animation: pkSleigh 2.4s ease-in-out infinite; }
@keyframes pkSleigh { 0%, 100% { transform: translateX(-6px) rotate(-3deg); } 50% { transform: translateX(6px) rotate(3deg); } }

/* ============================================================= HEART ============================================================== */
.rx-art.it-r_heart_arrow { animation: pkArrow 1.6s ease-in infinite; }
@keyframes pkArrow { 0% { transform: translate(-14px, 8px) scale(.8); opacity: 0; } 30% { opacity: 1; } 60% { transform: translate(0, 0) scale(1.15); } 70%, 100% { transform: translate(0, 0) scale(1); } }
.rx-fx.it-r_heart_arrow { background: radial-gradient(circle, rgba(255, 79, 139, .35), transparent 65%); animation: pkHeartPulse 2.6s ease-out forwards; }
@keyframes pkHeartPulse { 0% { transform: scale(.4); opacity: 0; } 20% { transform: scale(1.1); opacity: 1; } 35% { transform: scale(.95); } 50% { transform: scale(1.05); } 100% { opacity: 0; } }
.pbadge.it-b_heart { background: #ff4f8b; color: #fff; border-color: #ffc2d8; animation: pkLubDub 1.1s ease-in-out infinite; }
.pbadge.it-b_heart::before { display: none; }
@keyframes pkLubDub { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } }
/* Love Letter: handwritten-looking red ink with a slow underline flourish */
.pname.it-c_heart { position: relative; display: inline-block; color: #ff4f8b; font-family: "Brush Script MT", "Segoe Script", cursive; font-style: italic; letter-spacing: .02em; }
.pname.it-c_heart::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor; border-radius: 2px;
  transform-origin: left; animation: pkInk 3s ease-in-out infinite; }
@keyframes pkInk { 0% { transform: scaleX(0); } 50%, 80% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.crown-art.it-cr_heart { animation: pkLubDub 1.3s ease-in-out infinite; filter: drop-shadow(0 0 8px #ff4f8b); }

/* ============================================================= BLOOM ============================================================== */
.rx-art.it-r_bloom_petals { animation: pkPetal 4s ease-in-out infinite; }
@keyframes pkPetal { 0% { transform: rotate(0) translateY(0); } 50% { transform: rotate(180deg) translateY(-4px); } 100% { transform: rotate(360deg) translateY(0); } }
.rx-fx.it-r_bloom_petals { background: linear-gradient(180deg, rgba(255, 182, 217, .35), transparent 60%); animation: pkSpot 2.6s ease-out forwards; }
.pbadge.it-b_bloom { background: #eaffe8; color: #2e6b2a; border-color: #8fe08a; animation: pkSway 3s ease-in-out infinite; transform-origin: 50% 100%; }
.pbadge.it-b_bloom::before { display: none; }
@keyframes pkSway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
/* Garden Arch: leafy vines climb the sides */
.tile.it-fr_bloom { border-color: #4f9a4a; box-shadow: 0 0 14px rgba(143, 224, 138, .4); }
.tile.it-fr_bloom::before, .tile.it-fr_bloom::after { content: "🌿🌸🌿🌷🌿"; position: absolute; top: 0; bottom: 0; width: 1.2em; font-size: 1.1em; line-height: 1.6;
  writing-mode: vertical-lr; pointer-events: none; z-index: 3; animation: pkVine 4s ease-in-out infinite alternate; }
.tile.it-fr_bloom::before { left: 2px; }
.tile.it-fr_bloom::after { right: 2px; animation-delay: -2s; }
@keyframes pkVine { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
.art-frame.it-fr_bloom::before, .art-frame.it-fr_bloom::after { font-size: .5em; }
.stool.it-st_bloom .stool-emoji { animation: pkBoing 1.6s cubic-bezier(.3, 1.6, .5, 1) infinite; transform-origin: 50% 100%; }
@keyframes pkBoing { 0%, 100% { transform: scale(1, 1); } 20% { transform: scale(1.12, .86); } 45% { transform: scale(.94, 1.08); } }

/* ============================================================== HEAT ============================================================== */
.rx-art.it-r_heat_splash { animation: pkWave 1.8s ease-in-out infinite; }
@keyframes pkWave { 0%, 100% { transform: translateX(-4px) skewX(-6deg); } 50% { transform: translateX(4px) skewX(6deg); } }
.rx-fx.it-r_heat_splash { background: linear-gradient(0deg, rgba(39, 232, 255, .55), transparent 55%); animation: pkSplash 2.6s ease-out forwards; }
@keyframes pkSplash { 0% { transform: translateY(100%); } 25% { transform: translateY(0); } 60% { transform: translateY(20%); opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
.pbadge.it-b_heat { background: linear-gradient(90deg, #ffd34d, #ff8a3d); color: #3a1a00; border-color: #fff1a8; }
.pbadge.it-b_heat::before { display: none; }
.pbadge.it-b_heat { animation: pkShades 2.4s ease-in-out infinite; }
@keyframes pkShades { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(1.4); } }
/* Heatwave: text shimmers like hot air over asphalt */
.pname.it-c_heat { color: #ff8a3d; background: linear-gradient(0deg, #ff2d2d, #ff8a3d 45%, #ffe94d); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: inline-block; animation: pkHaze 1.4s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(255, 138, 61, .5)); }
@keyframes pkHaze { 0%, 100% { transform: skewX(0) scaleY(1); } 25% { transform: skewX(-4deg) scaleY(1.04); } 75% { transform: skewX(4deg) scaleY(.97); } }
.stool.it-st_heat .stool-emoji { animation: pkFloatRing 3s ease-in-out infinite; }
@keyframes pkFloatRing { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(6deg); } }

/* ================================================ pack wheels + camera-off looks + fill-ins ================================================
 * Every pack carries one item of every gem cosmetic type (CLAUDE.md "PACKS"). Wheels are CSS variables on .swheel.it-<id> (see wheel.css),
 * camera-off looks style .nocam.it-<id> layers (.nc-bg / .nc-a / .nc-b, see nocam.css). Rims that need a pattern drop the border and paint
 * the ring with a radial mask instead. */

/* ---------- GOD TIER: Wheel of the Heavens (gold + pearl slices, rainbow rim, halo hub) ---------- */
.swheel.it-wh_god { --w1: #fff6c4; --w2: #ffd34d; --w3: #ffffff; --w4: #e8b93a; --rim: #1b0b3d; --hub: radial-gradient(circle at 40% 35%, #fff, #ffe94d 45%, #b8860b);
  --hub-text: #3a2600; --peg: #fff; --text: #3a2600; --glow: rgba(255, 233, 77, .6); --pointer: #fff6c4; }
.swheel.it-wh_god .wheel-rim { border: 0; animation: pkGodSpin 5s linear infinite; background: conic-gradient(from var(--god-a), #ff2d95, #ffe94d, #3dff9a, #27e8ff, #8a5cff, #ff2d95);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .55em), #000 calc(100% - .55em)); mask: radial-gradient(farthest-side, transparent calc(100% - .55em), #000 calc(100% - .55em)); }
.swheel.it-wh_god .wheel-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 20deg, rgba(255, 255, 255, .35) 30deg, transparent 40deg 200deg, rgba(255, 255, 255, .25) 210deg, transparent 220deg); }
.swheel.it-wh_god .wheel-hub { box-shadow: 0 0 0 .2em #fff6c4, 0 0 16px #ffe94d; }
.swheel.it-wh_god .wheel-glow { animation: pkHeavenGlow 3s ease-in-out infinite; }
@keyframes pkHeavenGlow { 50% { box-shadow: 0 0 50px 14px rgba(255, 246, 196, .65); } }
/* Ascension: a beam of light from above, slow god rays, a sea of clouds */
.nocam.it-nc_god { --nc1: #6b5aa8; --nc2: #140a2e; }
.nocam.it-nc_god .nc-bg { top: auto; height: 34%;
  background: radial-gradient(ellipse 30% 60% at 15% 100%, #fff 60%, transparent 62%), radial-gradient(ellipse 28% 70% at 45% 100%, #f4f7ff 60%, transparent 62%),
    radial-gradient(ellipse 30% 55% at 78% 100%, #fff 60%, transparent 62%), radial-gradient(ellipse 22% 45% at 100% 100%, #eef1ff 60%, transparent 62%);
  animation: pkClouds 7s ease-in-out infinite alternate; }
.nocam.it-nc_god .nc-a { top: -10%; left: 50%; width: 60%; height: 110%; margin-left: -30%; clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 246, 196, .7), rgba(255, 246, 196, .08)); animation: ncBreathe 3s ease-in-out infinite; }
.nocam.it-nc_god .nc-b { inset: -40%; background: repeating-conic-gradient(from 0deg at 50% 0, rgba(255, 255, 255, .08) 0 6deg, transparent 6deg 18deg); animation: ncSpin 40s linear infinite; }
.nocam.it-nc_god .nc-art { animation: ncBob 3s ease-in-out infinite; filter: drop-shadow(0 0 12px #fff6c4); }
.nocam.it-nc_god .nc-name { color: #fff6c4; text-shadow: 0 0 8px #ffd34d, 0 1px 2px #140a2e; }
@keyframes pkClouds { from { transform: translateX(-4%); } to { transform: translateX(4%); } }

/* ---------- ROCKSTAR ---------- */
/* Distortion: red Impact lettering with a cyan/pink channel split that glitches every few seconds */
.pname.it-c_rock { display: inline-block; color: #ff3d3d; font-family: Impact, "Arial Black", sans-serif; letter-spacing: .04em;
  text-shadow: 1px 0 #27e8ff, -1px 0 #ff2d95; animation: pkDistort 2.2s steps(1) infinite; }
@keyframes pkDistort { 0%, 84%, 100% { text-shadow: 1px 0 #27e8ff, -1px 0 #ff2d95; transform: none; } 86% { text-shadow: 4px 0 #27e8ff, -4px 0 #ff2d95; transform: skewX(-12deg) translateX(2px); }
  90% { text-shadow: -3px 1px #27e8ff, 3px -1px #ff2d95; transform: skewX(10deg) translateX(-2px); } 94% { text-shadow: 2px 0 #27e8ff, -2px 0 #ff2d95; transform: none; } }
/* Amp Stack (stool): an amp head with glowing knobs on a four-speaker cabinet that thumps */
.stool.it-st_rock .seat { width: 150px; height: 32px; border-radius: 5px; border: 3px solid #3a3a3a;
  background: radial-gradient(circle at 20% 55%, #ffd34d 0 4px, #6b5300 5px, transparent 6px), radial-gradient(circle at 34% 55%, #ffd34d 0 4px, #6b5300 5px, transparent 6px),
    radial-gradient(circle at 48% 55%, #ffd34d 0 4px, #6b5300 5px, transparent 6px), radial-gradient(circle at 86% 55%, #ff3d3d 0 3px, transparent 5px),
    linear-gradient(#262626, #121212); box-shadow: 0 4px 0 #000; }
.stool.it-st_rock .seat::after { content: ""; position: absolute; right: 9%; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #ff3d3d;
  box-shadow: 0 0 8px #ff3d3d; animation: pkAmpLed .55s steps(1) infinite; }
.stool.it-st_rock .legs { width: 150px; height: 96px; margin-top: 2px; border: 3px solid #3a3a3a; border-radius: 5px; animation: pkAmpThump .55s ease-out infinite;
  background: radial-gradient(circle at 27% 28%, #6a6a6a 0 5px, #2b2b2b 6px 17px, #0b0b0b 18px 20px, transparent 21px), radial-gradient(circle at 73% 28%, #6a6a6a 0 5px, #2b2b2b 6px 17px, #0b0b0b 18px 20px, transparent 21px),
    radial-gradient(circle at 27% 74%, #6a6a6a 0 5px, #2b2b2b 6px 17px, #0b0b0b 18px 20px, transparent 21px), radial-gradient(circle at 73% 74%, #6a6a6a 0 5px, #2b2b2b 6px 17px, #0b0b0b 18px 20px, transparent 21px),
    radial-gradient(circle, #1d1d1d 1px, transparent 1.5px) 0 0 / 5px 5px, #141414; }
.stool.it-st_rock .legs::before, .stool.it-st_rock .legs::after { display: none; }
@keyframes pkAmpLed { 50% { background: #4a0a0a; box-shadow: none; } }
@keyframes pkAmpThump { 0%, 100% { box-shadow: 0 0 0 rgba(255, 61, 61, 0); } 12% { box-shadow: 0 0 22px rgba(255, 61, 61, .55); transform: scale(1.015); } }
/* Pyro Wheel: black + red slices, flames flickering round the rim */
.swheel.it-wh_rock { --w1: #121212; --w2: #c1121f; --w3: #1e1e1e; --w4: #ff4b3e; --rim: #0a0a0a; --hub: #111; --hub-text: #ffd34d; --peg: #ff8a3d; --text: #fff; --glow: rgba(255, 90, 30, .6); --pointer: #ffd34d; }
.swheel.it-wh_rock .wheel-slice b { font-family: Impact, "Arial Black", sans-serif; letter-spacing: .04em; text-shadow: 0 0 4px #000; }
.swheel.it-wh_rock .wheel-rim { border-color: #222; box-shadow: 0 0 10px #ff4b3e, inset 0 0 8px #ff8a3d; }
.swheel.it-wh_rock .wheel-glow { animation: pkPyro .9s ease-in-out infinite alternate; }
.swheel.it-wh_rock .wheel-hub { box-shadow: 0 0 0 .2em #ff4b3e, 0 0 14px #ff8a3d; }
@keyframes pkPyro { 0% { box-shadow: 0 0 26px 6px rgba(255, 75, 62, .55); } 50% { box-shadow: 0 -6px 40px 10px rgba(255, 160, 40, .55); } 100% { box-shadow: 0 0 34px 12px rgba(255, 210, 63, .45); } }
/* Backstage: a dark stage, two red spotlights crossing over the drum riser */
.nocam.it-nc_rock { --nc1: #3a0b0b; --nc2: #0a0505; }
.nocam.it-nc_rock .nc-bg { top: auto; height: 26%; background: linear-gradient(#2a2a2a, #0d0d0d); border-top: 3px solid #555; }
.nocam.it-nc_rock .nc-a, .nocam.it-nc_rock .nc-b { top: -15%; width: 50%; height: 130%; transform-origin: 50% 0; clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255, 61, 61, .55), rgba(255, 61, 61, .04)); mix-blend-mode: screen; }
.nocam.it-nc_rock .nc-a { left: -5%; animation: pkStageL 3.2s ease-in-out infinite; }
.nocam.it-nc_rock .nc-b { right: -5%; background: linear-gradient(180deg, rgba(255, 246, 220, .4), rgba(255, 246, 220, .03)); animation: pkStageR 3.2s ease-in-out infinite; }
.nocam.it-nc_rock .nc-art { animation: pkDrum .55s ease-out infinite; }
.nocam.it-nc_rock .nc-name { font-family: Impact, "Arial Black", sans-serif; letter-spacing: .05em; color: #ff6b5e; }
@keyframes pkStageL { 0%, 100% { transform: rotate(-30deg); } 50% { transform: rotate(12deg); } }
@keyframes pkStageR { 0%, 100% { transform: rotate(30deg); } 50% { transform: rotate(-12deg); } }
@keyframes pkDrum { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.12, .9); } 25% { transform: scale(1); } }

/* ---------- DIVA ---------- */
/* Dressing Room: a ring of vanity bulbs, two sets twinkling in turn */
.tile.it-fr_diva { border-color: #f2d27a; box-shadow: 0 0 0 4px #3a2414, 0 0 0 6px #f2d27a, 0 0 26px rgba(255, 230, 160, .5); }
.tile.it-fr_diva::before, .tile.it-fr_diva::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  --bulb: radial-gradient(circle, #fffbe8 0 3px, rgba(255, 236, 170, .6) 4px, transparent 7px);
  background: var(--bulb) 0 0 / 26px 14px repeat-x, var(--bulb) 0 100% / 26px 14px repeat-x, var(--bulb) 0 0 / 14px 26px repeat-y, var(--bulb) 100% 0 / 14px 26px repeat-y; }
.tile.it-fr_diva::after { background-position: 13px 0, 13px 100%, 0 13px, 100% 13px; animation: pkBulbs 1.4s steps(1) infinite; }
.tile.it-fr_diva::before { animation: pkBulbs 1.4s steps(1) -.7s infinite; }
.art-frame.it-fr_diva::before, .art-frame.it-fr_diva::after { background-size: 13px 7px, 13px 7px, 7px 13px, 7px 13px; }
@keyframes pkBulbs { 0% { opacity: 1; } 50% { opacity: .25; } }
/* Diamond Tiara: sparkles over the gem */
.crown-art.it-cr_diva { position: relative; animation: crFloat 2.8s ease-in-out infinite; filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 12px #ff8fd0); }
.crown-art.it-cr_diva::after { content: "✦"; position: absolute; right: -.15em; top: -.2em; font-size: .45em; color: #fff; animation: pkSparkle 1.6s ease-in-out infinite; }
/* Red Carpet: pink + pearl slices, a red velvet rim with a gold edge, camera flashes going off */
.swheel.it-wh_diva { --w1: #ff8fd0; --w2: #fff0f7; --w3: #e0207a; --w4: #ffd1ec; --rim: #8b0a2a; --hub: radial-gradient(circle at 40% 35%, #fff, #ffc4e6 50%, #e0207a);
  --hub-text: #fff; --peg: #fff; --text: #4a0a2e; --glow: rgba(255, 143, 208, .55); --pointer: #ffd34d; }
.swheel.it-wh_diva .wheel-slice:nth-child(4n+3) b { color: #fff; }
.swheel.it-wh_diva .wheel-rim { box-shadow: inset 0 0 0 2px #f2d27a, 0 0 0 2px #f2d27a, 0 4px 14px rgba(0, 0, 0, .5); }
.swheel.it-wh_diva::after { content: ''; position: absolute; inset: -6%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 10% 16%, #fff 0 1.5%, rgba(255, 255, 255, .5) 2.5%, transparent 7%), radial-gradient(circle at 92% 28%, #fff 0 1.5%, rgba(255, 255, 255, .5) 2.5%, transparent 7%),
    radial-gradient(circle at 84% 92%, #fff 0 1.5%, rgba(255, 255, 255, .5) 2.5%, transparent 7%); animation: pkPaparazzi 2.4s steps(1) infinite; }
@keyframes pkPaparazzi { 0%, 100% { opacity: 0; } 10% { opacity: 1; } 14% { opacity: 0; } 52% { opacity: .8; } 56% { opacity: 0; } }
/* Do Not Disturb: a pink dressing-room door, a gold star and a swinging sign */
.nocam.it-nc_diva { --nc1: #5a1240; --nc2: #1a0614; }
.nocam.it-nc_diva .nc-bg { inset: 8% 26% 0; border: 3px solid #f2d27a; border-bottom: 0; border-radius: 8px 8px 0 0;
  background: radial-gradient(circle at 84% 58%, #ffe08a 0 4px, #b8860b 5px, transparent 6px), linear-gradient(90deg, #6e1749, #a8326f 50%, #6e1749); }
.nocam.it-nc_diva .nc-a { top: 14%; left: 50%; padding: 1px 5px; transform: translateX(-50%); transform-origin: 50% -6px; white-space: nowrap;
  background: #fff0f7; color: #a8104f; border-radius: 3px; font: 900 .5rem/1.4 system-ui, sans-serif; letter-spacing: .06em; box-shadow: 0 2px 4px rgba(0, 0, 0, .4), 0 0 10px rgba(255, 211, 77, .5);
  animation: pkSignSwing 2.6s ease-in-out infinite; }
.nocam.it-nc_diva .nc-a::before { content: 'DO NOT DISTURB'; }
.art-nocam .nocam.it-nc_diva .nc-a { font-size: .26rem; padding: 0 2px; top: 12%; }
.nocam.it-nc_diva .nc-art { filter: drop-shadow(0 0 8px rgba(255, 211, 77, .6)); }
.nocam.it-nc_diva .nc-name { color: #fff0f7; font-style: italic; font-family: Georgia, "Times New Roman", serif; text-shadow: 0 1px 3px #3a0626; }
@keyframes pkSignSwing { 0%, 100% { transform: translateX(-50%) rotate(-6deg); } 50% { transform: translateX(-50%) rotate(6deg); } }

/* ---------- SPOOKY ---------- */
/* Ectoplasm: glowing green slime lettering, a drip sliding off */
.pname.it-c_spooky { position: relative; display: inline-block; color: #b6ff3d; text-shadow: 0 0 6px #6bff3d, 0 0 14px rgba(107, 255, 61, .5); animation: pkGoo 2.6s ease-in-out infinite; }
.pname.it-c_spooky::after { content: ""; position: absolute; left: 32%; top: 82%; width: 4px; height: 0; border-radius: 0 0 3px 3px; background: #b6ff3d; box-shadow: 0 0 6px #6bff3d;
  animation: pkDrip 2.6s ease-in infinite; pointer-events: none; }
@keyframes pkGoo { 50% { text-shadow: 0 0 10px #6bff3d, 0 0 22px rgba(107, 255, 61, .7); } }
@keyframes pkDrip { 0% { height: 0; opacity: 1; transform: none; } 60% { height: 9px; opacity: 1; transform: none; } 100% { height: 12px; opacity: 0; transform: translateY(8px); } }
/* Tombstone (stool): a mossy RIP stone on a dirt mound, green fog drifting past */
.stool.it-st_spooky .seat { width: 112px; height: 96px; border-radius: 56px 56px 6px 6px;
  background: radial-gradient(ellipse 30% 14% at 18% 96%, #3d7a2a, transparent 70%), radial-gradient(ellipse 22% 10% at 80% 98%, #4f9a3a, transparent 70%),
    linear-gradient(100deg, #8a9098, #a4aab2 40%, #6b7078 80%, #555a62); box-shadow: inset -6px -4px 0 rgba(0, 0, 0, .25), 0 0 18px rgba(138, 92, 255, .25); }
.stool.it-st_spooky .seat::after { content: "RIP"; position: absolute; left: 0; right: 0; top: 30%; text-align: center; font: 900 26px/1 Georgia, "Times New Roman", serif;
  color: #4a4e55; text-shadow: 1px 1px 0 rgba(255, 255, 255, .35), -1px -1px 0 rgba(0, 0, 0, .35); letter-spacing: .1em; }
.stool.it-st_spooky .seat::before { content: ""; position: absolute; left: 62%; top: 12%; width: 2px; height: 22px; background: #3a3e45; transform: rotate(18deg); box-shadow: 4px 14px 0 #3a3e45; }
.stool.it-st_spooky .legs { width: 170px; height: 26px; margin-top: -4px; border-radius: 50% 50% 8px 8px / 100% 100% 8px 8px; background: radial-gradient(ellipse at 50% 30%, #5a3a1c, #2a1a08 75%); }
.stool.it-st_spooky .legs::before { display: none; }
.stool.it-st_spooky .legs::after { top: -16px; right: auto; left: -10px; width: 120px; height: 22px; border-radius: 50%; background: rgba(150, 255, 120, .18); filter: blur(6px); transform: none;
  animation: pkFog 5s ease-in-out infinite alternate; }
@keyframes pkFog { from { left: -20px; opacity: .5; } to { left: 70px; opacity: 1; } }
/* Haunted House: a full moon, a flickering orange glow, bats flapping across */
.nocam.it-nc_spooky { --nc1: #2c1a4a; --nc2: #07040f; }
.nocam.it-nc_spooky .nc-bg { background: radial-gradient(circle at 78% 20%, #fff8d6 0 9%, rgba(255, 248, 214, .25) 10%, transparent 17%),
  linear-gradient(transparent 78%, #0a0612 78%); }
.nocam.it-nc_spooky .nc-a { left: 0; right: 0; bottom: 0; height: 30%; background: radial-gradient(ellipse 40% 60% at 50% 100%, rgba(255, 122, 26, .45), transparent 70%); animation: spookyFlicker 1.8s infinite; }
.nocam.it-nc_spooky .nc-b { top: 14%; left: -20%; width: 14px; height: 6px; background: #000; clip-path: polygon(0 0, 30% 60%, 50% 30%, 70% 60%, 100% 0, 70% 100%, 50% 70%, 30% 100%);
  box-shadow: none; animation: pkBat 6s linear infinite, pkFlapBat .25s steps(2) infinite; }
.nocam.it-nc_spooky .nc-name { color: #c9a6ff; text-shadow: 0 0 8px #8a5cff; }
@keyframes pkBat { 0% { left: -20%; top: 18%; } 50% { top: 8%; } 100% { left: 115%; top: 22%; } }
@keyframes pkFlapBat { 50% { transform: scaleY(.4); } }

/* ---------- FROSTBITE ---------- */
/* Frostbite: icy blue name with a white glint sliding through */
.pname.it-c_frost { color: #bfefff; background: linear-gradient(100deg, #8fdcff 30%, #fff 45%, #8fdcff 60%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 4px #7fe3ff); animation: pkDivine 3.6s linear infinite; }
/* Ice Crown: a crown frozen solid, glinting */
.crown-art.it-cr_frost { animation: pkIceGlint 3s ease-in-out infinite; filter: hue-rotate(170deg) saturate(.6) brightness(1.3) drop-shadow(0 0 8px #bdf3ff); }
@keyframes pkIceGlint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); filter: hue-rotate(170deg) saturate(.6) brightness(1.6) drop-shadow(0 0 14px #fff); } }
/* Peppermint Swirl: red + white candy slices, a candy-cane rim, a frosty glow */
.swheel.it-wh_frost { --w1: #e8141f; --w2: #fff; --w3: #e8141f; --w4: #fff; --rim: #fff; --hub: radial-gradient(circle, #fff 0 34%, #e8141f 35% 48%, #fff 49% 62%, #e8141f 63%);
  --hub-text: #fff; --peg: #7fe3ff; --text: #c1121f; --glow: rgba(127, 227, 255, .55); --pointer: #7fe3ff; }
.swheel.it-wh_frost .wheel-slice:nth-child(odd) b { color: #fff; text-shadow: 0 1px 2px #7a0008; }
.swheel.it-wh_frost .wheel-rim { border: 0; background: repeating-conic-gradient(#e8141f 0 9deg, #fff 9deg 18deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .55em), #000 calc(100% - .55em)); mask: radial-gradient(farthest-side, transparent calc(100% - .55em), #000 calc(100% - .55em)); }
.swheel.it-wh_frost .wheel-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), transparent 35%), repeating-radial-gradient(circle, transparent 0 9%, rgba(255, 255, 255, .06) 9% 10%); }

/* ---------- HEARTBREAKER ---------- */
/* Love Struck: little hearts floating up both sides */
.tile.it-fr_heart { border-color: #ff4f8b; box-shadow: 0 0 0 2px #ffc2d8, 0 0 22px rgba(255, 79, 139, .5); }
.tile.it-fr_heart::before, .tile.it-fr_heart::after { content: "♥"; position: absolute; bottom: -12%; font: 1.4em/1 Arial, "Segoe UI Symbol", sans-serif; color: #ff4f8b; pointer-events: none; z-index: 3;
  text-shadow: 10px -38px 0 #ff8fd0, -4px -76px 0 #ffc2d8; animation: pkHeartUp 4s linear infinite; }
.tile.it-fr_heart::before { left: 5%; }
.tile.it-fr_heart::after { right: 7%; animation-delay: -2s; }
.art-frame.it-fr_heart::before, .art-frame.it-fr_heart::after { font-size: .6em; text-shadow: 4px -14px 0 #ff8fd0, -2px -28px 0 #ffc2d8; }
@keyframes pkHeartUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(-60%); opacity: 0; } }
/* Heart Cushion (stool): a plush heart seat on gold legs that beats */
.stool.it-st_heart .seat { width: 140px; height: 112px; margin-bottom: -26px; border-radius: 0; animation: pkLubDub 1.1s ease-in-out infinite;
  clip-path: path('M70 110 C24 76 0 54 0 32 C0 13 14 0 33 0 C49 0 62 9 70 22 C78 9 91 0 107 0 C126 0 140 13 140 32 C140 54 116 76 70 110 Z');
  background: radial-gradient(circle at 30% 25%, #ffd0e0 0 8%, transparent 22%), radial-gradient(circle at 50% 40%, #ff6b9a, #e0205f 60%, #9a0c3c); }
.stool.it-st_heart .seat::after { content: ""; position: absolute; inset: 14px 22px 30px; border: 2px dashed rgba(255, 255, 255, .45); border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }
.stool.it-st_heart .legs { background: linear-gradient(#d4a017, #d4a017) center 60% / 84px 5px no-repeat; }
.stool.it-st_heart .legs::before, .stool.it-st_heart .legs::after { width: 6px; background: linear-gradient(90deg, #8a6a1a, #ffe08a, #b8860b); }
/* Spin the Bottle: pink, red and cream slices, a beating heart hub */
.swheel.it-wh_heart { --w1: #ff4f8b; --w2: #ffe6ee; --w3: #c8104f; --w4: #ffc2d8; --rim: #7a0a32; --hub: #fff; --peg: #ffc2d8; --text: #4a0a1e; --glow: rgba(255, 79, 139, .55); --pointer: #ff4f8b; }
.swheel.it-wh_heart .wheel-slice:nth-child(4n+3) b { color: #fff; }
.swheel.it-wh_heart .wheel-hub { animation: pkLubDub 1.1s ease-in-out infinite; box-shadow: 0 0 0 .2em #ff4f8b, 0 0 14px #ff4f8b; }
.swheel.it-wh_heart .wheel-rim { border-style: double; border-color: #ff8fb5; }
/* Secret Admirer: a soft pink glow, hearts drifting up behind the letter */
.nocam.it-nc_heart { --nc1: #6b1a3a; --nc2: #1a0612; }
.nocam.it-nc_heart .nc-bg { background: radial-gradient(circle at 50% 42%, rgba(255, 143, 181, .4), transparent 45%); animation: pkHeartPulse 2.4s ease-in-out infinite; }
.nocam.it-nc_heart .nc-a, .nocam.it-nc_heart .nc-b { bottom: -10%; font: 1.2rem/1 Arial, "Segoe UI Symbol", sans-serif; color: #ff4f8b; animation: pkHeartUp 4.5s linear infinite;
  text-shadow: 14px -30px 0 #ff8fd0, -8px -60px 0 #ffc2d8; }
.nocam.it-nc_heart .nc-a::before, .nocam.it-nc_heart .nc-b::before { content: "♥"; }
.nocam.it-nc_heart .nc-a { left: 12%; }
.nocam.it-nc_heart .nc-b { right: 16%; animation-delay: -2.2s; }
.art-nocam .nocam.it-nc_heart .nc-a, .art-nocam .nocam.it-nc_heart .nc-b { font-size: .6rem; text-shadow: 6px -14px 0 #ff8fd0, -4px -28px 0 #ffc2d8; }
.nocam.it-nc_heart .nc-name { color: #ff8fb5; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 1.1rem; }

/* ---------- SPRING BLOOM ---------- */
/* Wildflower: petal colors drifting through the name */
.pname.it-c_bloom { display: inline-block; background: linear-gradient(90deg, #8fe08a, #ffb6d9, #ffe94d, #b48cff, #8fe08a) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #ffb6d9; animation: ncSlide 4s linear infinite; filter: drop-shadow(0 0 4px rgba(143, 224, 138, .45)); }
/* Flower Crown: sways like it's in a breeze */
.crown-art.it-cr_bloom { animation: pkSway 2.4s ease-in-out infinite; transform-origin: 50% 90%; filter: drop-shadow(0 0 8px #ffe94d); }
/* Sunflower: golden petal slices, a petal rim, a leafy pointer */
.swheel.it-wh_bloom { --w1: #ffd23f; --w2: #ffb300; --w3: #ffe066; --w4: #f59e0b; --rim: #3d7a2a; --hub: radial-gradient(circle, #6b4214 0 30%, #4a2a0a 60%, #2e1a06);
  --hub-text: #fff; --peg: #8fe08a; --text: #4a2a00; --glow: rgba(255, 210, 63, .5); --pointer: #3d9a2a; }
.swheel.it-wh_bloom .wheel-rim { border: 0; background: repeating-conic-gradient(#ffd23f 0 7deg, #f59e0b 7deg 10deg, #ffe066 10deg 15deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - .6em), #000 calc(100% - .6em)); mask: radial-gradient(farthest-side, transparent calc(100% - .6em), #000 calc(100% - .6em)); }
.swheel.it-wh_bloom .wheel-pointer { clip-path: polygon(50% 100%, 10% 40%, 22% 8%, 50% 0, 78% 8%, 90% 40%); }
.swheel.it-wh_bloom .wheel-hub { background: radial-gradient(circle, #3a200a 0 1px, transparent 2px) 0 0 / .45em .45em, var(--hub); }
/* April Showers: soft rain, then a rainbow comes out */
.nocam.it-nc_bloom { --nc1: #3d7a5a; --nc2: #0d1f18; }
.nocam.it-nc_bloom .nc-bg { background: repeating-linear-gradient(105deg, transparent 0 9px, rgba(200, 235, 255, .35) 9px 10px, transparent 10px 22px); animation: pkRain .6s linear infinite, pkShower 10s ease-in-out infinite; }
.nocam.it-nc_bloom .nc-a { top: 10%; left: 10%; width: 80%; aspect-ratio: 2; border-radius: 999px 999px 0 0; animation: pkRainbow 10s ease-in-out infinite;
  background: radial-gradient(circle at 50% 100%, transparent 52%, #b48cff 52% 56%, #27e8ff 56% 60%, #8fe08a 60% 64%, #ffe94d 64% 68%, #ff8a3d 68% 72%, #ff4757 72% 76%, transparent 76%) 0 0 / 100% 200%; }
.nocam.it-nc_bloom .nc-b { top: auto; bottom: 0; left: 0; right: 0; height: 16%; background: linear-gradient(#3d9a3a, #1f5a20); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.nocam.it-nc_bloom .nc-name { color: #eaffe8; }
@keyframes pkRain { from { background-position: 0 0; } to { background-position: -6px 22px; } }
@keyframes pkShower { 0%, 40% { opacity: 1; } 55%, 85% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pkRainbow { 0%, 45% { opacity: 0; } 60%, 85% { opacity: .9; } 100% { opacity: 0; } }

/* ---------- HEATWAVE ---------- */
/* Poolside: blue pool tiles round the edge, rippling water light over the camera */
.tile.it-fr_heat { border-color: #fff; box-shadow: 0 0 0 2px #27b8e8, 0 0 20px rgba(39, 232, 255, .45); }
.tile.it-fr_heat::before { content: ""; position: absolute; inset: 0; padding: 7px; pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, rgba(255, 255, 255, .9) 1px, transparent 1px) 0 0 / 10px 10px, linear-gradient(0deg, rgba(255, 255, 255, .9) 1px, transparent 1px) 0 0 / 10px 10px, #2bb7e6;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.tile.it-fr_heat::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; mix-blend-mode: screen;
  background: radial-gradient(ellipse 30% 18% at 20% 30%, rgba(180, 250, 255, .22), transparent 70%), radial-gradient(ellipse 26% 16% at 75% 65%, rgba(180, 250, 255, .2), transparent 70%),
    radial-gradient(ellipse 20% 12% at 50% 90%, rgba(180, 250, 255, .18), transparent 70%); animation: pkCaustic 4s ease-in-out infinite alternate; }
.art-frame.it-fr_heat::before { padding: 4px; background-size: 5px 5px, 5px 5px, auto; }
@keyframes pkCaustic { from { transform: translate(-3%, 2%) scale(1); } to { transform: translate(3%, -2%) scale(1.08); } }
/* Sun Crown: slowly turning, glowing hot */
.crown-art.it-cr_heat { animation: pkWobbleSpin 9s linear infinite, pkSunGlow 2s ease-in-out infinite; }
@keyframes pkSunGlow { 0%, 100% { filter: drop-shadow(0 0 6px #ffb13d); } 50% { filter: drop-shadow(0 0 16px #ffe94d); } }
/* Beach Ball: red, white, blue and yellow panels with a glossy shine */
.swheel.it-wh_heat { --w1: #ff4757; --w2: #fff; --w3: #1f8fff; --w4: #ffd23f; --rim: #fff; --hub: #fff; --peg: #1f8fff; --text: #1a2a5a; --glow: rgba(39, 160, 255, .45); --pointer: #ff4757; }
.swheel.it-wh_heat .wheel-slice:nth-child(4n+3) b, .swheel.it-wh_heat .wheel-slice:nth-child(4n+1) b { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.swheel.it-wh_heat .wheel-rim { box-shadow: inset 0 0 0 2px #1f8fff, 0 4px 14px rgba(0, 0, 0, .5); }
.swheel.it-wh_heat .wheel-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse 30% 20% at 32% 24%, rgba(255, 255, 255, .6), transparent 70%), radial-gradient(circle at 70% 75%, transparent 40%, rgba(0, 0, 0, .18)); }
/* Sunset Beach: the sun sinks into the waves */
.nocam.it-nc_heat { --nc1: #ff8a3d; --nc2: #1a2a5a; }
.nocam.it-nc_heat .nc-bg { background: linear-gradient(180deg, #5a2a7a 0, #ff5e62 30%, #ff9966 48%, #ffd23f 58%, transparent 58%); }
.nocam.it-nc_heat .nc-a { left: 50%; top: 30%; width: 28%; aspect-ratio: 1; margin-left: -14%; border-radius: 50%; background: radial-gradient(circle, #fff6c4, #ffd23f 55%, #ff8a3d);
  box-shadow: 0 0 24px #ffd23f; animation: pkSunset 9s ease-in-out infinite; }
.nocam.it-nc_heat .nc-b { top: 58%; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(255, 210, 63, .45) 50%, transparent 60%) center 0 / 100% 40% no-repeat,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 9px), linear-gradient(#1a4a7a, #0d2a4a); animation: pkWaves 2s linear infinite; }
.nocam.it-nc_heat .nc-name { color: #fff6c4; text-shadow: 0 1px 3px #0d2a4a; }
@keyframes pkSunset { 0%, 100% { top: 22%; } 70% { top: 48%; } }
@keyframes pkWaves { from { background-position: center 0, 0 0, 0 0; } to { background-position: center 0, 0 9px, 0 0; } }

/* ===================================================== reduced motion: hold still ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .pack-card, .pack-card::before, .pack-card *, [class*="it-r_god"], [class*="it-b_god"], [class*="it-c_god"], [class*="it-fr_god"], [class*="it-st_god"], [class*="it-cr_god"],
  [class*="it-r_rock"], [class*="it-b_rock"], [class*="it-fr_rock"], [class*="it-cr_rock"], [class*="it-r_diva"], [class*="it-b_pk_diva"], [class*="it-c_diva"], [class*="it-st_diva"],
  [class*="_spooky"], [class*="_frost"], [class*="_heart"], [class*="_bloom"], [class*="_heat"],
  [class*="it-"][class*="_spooky"]::after, .tile.it-fr_god::after, .tile.it-fr_bloom::before, .tile.it-fr_bloom::after, .pname.it-c_god::after, .pname.it-c_heart::after,
  .stool.it-st_god .seat, .stool.it-st_diva .stool-emoji, .stool.it-st_frost .stool-emoji, .stool.it-st_bloom .stool-emoji, .stool.it-st_heat .stool-emoji, .pbadge.it-b_pk_diva::after {
    animation: none !important; }
  .rx-fx.it-r_god_smite, .rx-fx.it-r_god_smite::before { animation-duration: 0s !important; }
  /* the pack fill-ins (wheel.css / nocam.css already still their own children) */
  [class*="it-wh_god"], [class*="it-nc_god"], [class*="it-c_rock"], [class*="it-wh_rock"], [class*="it-nc_rock"], [class*="it-fr_diva"], [class*="it-cr_diva"], [class*="it-wh_diva"], [class*="it-nc_diva"],
  .swheel.it-wh_diva::after, .stool.it-st_rock .seat::after, .stool.it-st_rock .legs, .stool.it-st_spooky .legs::after, .stool.it-st_heart .seat,
  .tile.it-fr_diva::before, .tile.it-fr_diva::after, .tile.it-fr_heart::before, .tile.it-fr_heart::after, .tile.it-fr_heat::after,
  .crown-art.it-cr_diva::after, .pname.it-c_spooky::after { animation: none !important; }
  .pname.it-c_spooky::after { display: none; }
  .tile.it-fr_heart::before, .tile.it-fr_heart::after { bottom: 4%; }
}
