/* The wheel and original page stay intact. */
.god-wrapper.joker-energy { display:block!important; left:50%!important; bottom:0; top:auto; height:min(78vh,56vw); width:min(58vh,45vw); transform:translateX(-50%)!important; z-index:1; pointer-events:none; overflow:visible; }
.joker-energy img.god { z-index:2; animation:joker-breathe 3.5s ease-in-out infinite; transform-origin:50% 100%; filter:drop-shadow(0 0 1.2vh #1689ff99); }
.joker-aura { position:absolute; z-index:0; inset:0 -45% -3%; border-radius:50%; background:radial-gradient(ellipse at center,#5fe7ff77 0%,#174fff66 34%,#791cff33 57%,transparent 74%); filter:blur(1.8vh); animation:joker-aura 2.8s ease-in-out infinite; }
@keyframes joker-breathe { 0%,100%{transform:translateX(-50%) translateY(0) scale(1)} 50%{transform:translateX(-50%) translateY(-1.4%) scale(1.017)} }
@keyframes joker-aura { 0%,100%{opacity:.5;transform:scale(.96)} 50%{opacity:1;transform:scale(1.04)} }
@media only screen and (orientation:portrait) { .god-wrapper.joker-energy { display:block!important; top:5vw!important; bottom:auto; left:50%!important; height:99vw; width:76vw; transform:translateX(-50%)!important; } }
@media (prefers-reduced-motion:reduce) { .joker-energy img.god,.joker-aura{animation:none} }

/* Keep the Joker centered from the first paint. */
.god-wrapper.joker-energy { transition: none !important; }

.jewels-brand { position:absolute; z-index:15; top:1.5vh; left:3vw; display:flex; flex-direction:column; align-items:center; font-family:Georgia,serif; font-weight:900; line-height:.85; letter-spacing:.02em; font-size:clamp(17px,2.5vw,38px); color:#ffdf70; -webkit-text-stroke:.5px #7c2704; text-shadow:0 2px #a13a08,0 3px 4px #10052a,0 0 12px #fdbe37; pointer-events:none; }
.jewels-brand strong { color:#9ce7ff; font-size:.8em; text-shadow:0 2px #174888,0 3px 4px #10052a,0 0 10px #49aaff; }
@media (orientation:portrait) { .jewels-brand { top:2vw; left:3vw; font-size:5vw; } .god-wrapper.joker-energy { top:6vw!important; width:90vw; height:92vw; } }

/* The portrait artwork is aligned by its head; the wheel covers the lower body. */
.joker-energy img.god { top: 0; bottom: auto; width: 100%; height: auto; }
@media only screen and (orientation: portrait) {
  .god-wrapper.joker-energy { width: 100vw; top: 6vw!important; }
}
.joker-aura { background: radial-gradient(ellipse at center,#812cb055 0%,#df4f9740 38%,transparent 72%); }
.jewels-effects { position:absolute; inset:0; z-index:3; pointer-events:none; overflow:visible; }
.gem,.gem-star { position:absolute; display:block; line-height:1; transform-origin:center; animation:gem-float 3.8s ease-in-out infinite; }
.gem { font-family:Georgia,serif; font-size:clamp(22px,7vw,75px); -webkit-text-stroke:1px #fff9; }
.gem-blue {color:#2ed3ff;text-shadow:0 0 4px #fff,0 0 18px #009dff;}
.gem-red {color:#fc285a;text-shadow:0 0 4px #fff,0 0 18px #ff0062;}
.gem-one{left:3%;top:21%;}.gem-two{left:16%;top:31%;animation-delay:-1.4s;font-size:clamp(15px,4vw,45px)}
.gem-three{right:13%;top:22%;animation-delay:-2s;font-size:clamp(15px,4vw,45px)}.gem-four{right:1%;top:31%;animation-delay:-.8s}
.gem-star{color:#fff4b6;text-shadow:0 0 9px #fff,0 0 18px #ffcb49;font-size:clamp(14px,3vw,30px);animation:gem-twinkle 2.2s ease-in-out infinite}.star-one{left:25%;top:18%}.star-two{right:25%;top:32%;animation-delay:-1s}
.jewels-effects.celebrate .gem{animation:gem-celebrate .8s ease-out 2}
@keyframes gem-float{0%,100%{transform:translateY(0) rotate(-10deg) scale(.95)}50%{transform:translateY(-12px) rotate(10deg) scale(1.08)}}
@keyframes gem-twinkle{0%,100%{opacity:.35;transform:scale(.75)}50%{opacity:1;transform:scale(1.25)}}
@keyframes gem-celebrate{0%{filter:brightness(1);transform:scale(1)}40%{filter:brightness(2.7);transform:scale(1.4)}100%{filter:brightness(1);transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.gem,.gem-star,.jewels-effects.celebrate .gem{animation:none!important}}

/* Faceted gemstone artwork matching the approved reference. */
.gem { width: 20%; height: 16%; font-size: 0!important; -webkit-text-stroke: 0; background-position:center; background-repeat:no-repeat; background-size:contain; text-shadow:none; }
.gem-blue { background-image:url("images/gem-sapphire.png"); filter:drop-shadow(0 0 5px #22bdff); }
.gem-red { background-image:url("images/gem-ruby.png"); filter:drop-shadow(0 0 5px #ff2463); }
.gem-one {left:0%;top:16%;} .gem-two{left:14%;top:28%;width:14%;height:12%;}
.gem-three{right:13%;top:18%;width:14%;height:12%;} .gem-four{right:0%;top:28%;}
