/* v164 Shape Worlds and rare Lucky Pop. Does not modify Classic DOM geometry. */
#gameStage #board>.cell.pw164-inactive {opacity:0!important;visibility:hidden!important;pointer-events:none!important;box-shadow:none!important;background:none!important;}
#gameStage #board>.cell.pw164-inactive::before,#gameStage #board>.cell.pw164-inactive::after{content:none!important;display:none!important;}
#gameStage #board>.cell.pw164-joker{z-index:3;cursor:pointer;isolation:isolate;}
#gameStage #board>.cell.pw164-joker::before{
 background:radial-gradient(circle at 29% 21%,#fff6ff 0 10%,#f5d9fb 26%,#ca8af4 53%,#8553c4 88%,#50357c 100%)!important;
 border-color:#f7d9ff!important;
 box-shadow:inset 0 4px 8px #ffffffb8,inset 0 -8px 12px #542e7d88,0 0 0 2px #f5ccff,0 0 17px #ce82ffc9!important;
 animation:pw164-joker-breathe 2.3s ease-in-out infinite alternate!important;
}
#gameStage #board>.cell.pw164-joker::after{opacity:.8!important;}
.pw164-joker-face{position:absolute;left:50%;top:29%;z-index:7;pointer-events:none;display:flex;align-items:flex-start;justify-content:center;gap:4px;transform:translate(-50%,-50%) rotate(-7deg);filter:drop-shadow(0 1px 1px #62317975);}
.pw164-joker-face .eye{overflow:visible;}
.pw164-joker-face .eye:first-child{width:clamp(10px,1.9vw,16px)!important;height:clamp(13px,2.25vw,20px)!important;transform:translate(2px,2px) rotate(-18deg) scale(1.12)!important;}
.pw164-joker-face .eye:last-child{width:clamp(11px,2.05vw,17px)!important;height:clamp(14px,2.45vw,21px)!important;transform:translate(-2px,-1px) rotate(13deg) scale(1.18)!important;}
.pw164-joker-face .eye .pupil{transform:scale(1.08);}
.pw164-joker-face::after{content:'?';position:absolute;left:auto;right:-31%;top:-29%;transform:rotate(6deg);display:block;width:auto;aspect-ratio:auto;border-radius:0;background:none;color:#f7fbff;font-size:clamp(13px,3.3vw,24px);line-height:1;font-weight:1000;text-shadow:0 1px 2px rgba(32,40,68,.55),0 0 6px rgba(255,255,255,.24);animation:pw164-question-hop 1.4s ease-in-out infinite;}
#gameStage #board>.cell.pw164-joker-launch::before{animation:pw164-joker-launch .25s ease-in forwards!important;}
.pw164-shape-settings,.pw164-lucky-settings{border-color:#a77bc966!important;}
@keyframes pw164-joker-breathe{from{filter:brightness(1);transform:scale(.96)}to{filter:brightness(1.12);transform:scale(1.06)}}
@keyframes pw164-question-hop{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-3px) rotate(9deg)}}
@keyframes pw164-joker-launch{0%{filter:brightness(1)}60%{filter:brightness(1.4);transform:scale(1.12)}100%{transform:scale(.87);filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){#gameStage #board>.cell.pw164-joker::before,.pw164-joker-face::after{animation:none!important}}
