/* JEV character + reveal. Every class is prefixed jev-. Theme by overriding the --jev-* properties. */
:where(:root) {
  --jev-coral: #f06a52; --jev-coral-hi: #ff9d82; --jev-coral-lo: #c9422d;
  --jev-cream: #f8eedb; --jev-sogan: #7a3d27;
  --jev-skin: #c98a5b; --jev-skin-hi: #e6ae7e; --jev-skin-lo: #a0633a;
  --jev-hair: #1d1411; --jev-hair-hi: #56392b; --jev-fade: #4b3b37;
  --jev-iris: #1f0f07; --jev-iris-hi: #93603a;
  --jev-line: #5b2f1c; --jev-ink: #2b150c; --jev-shadow: #5a2812;
  --jev-white: #fffaf2; --jev-mouth: #5e1914; --jev-teeth: #fffdf7; --jev-tongue: #ff7d77;
  --jev-leaf: #2e7a4c; --jev-leaf-hi: #83cf86; --jev-pot: #b4502b; --jev-pot-hi: #e38a5d;
  --jev-screen: #1f3a3b; --jev-digit: #9ff5c8;
  --jev-neon-a: #ff2e9a; --jev-neon-b: #ffe04a; --jev-neon-c: #1fe5ff;
  --jev-lens-a: #43126a; --jev-lens-b: #10071a; --jev-lens-c: #5c1d52;
  --jev-flame: #ffae35; --jev-flame-hi: #fff4b0; --jev-spark: #ffd23f;
  --jev-fx: #f06a52; --jev-zzz: #5f7bd8; --jev-halo: #ffffff; --jev-speed: #7fd8ff;
  --jev-focus: #1a9fff; --jev-gold: #ffcf6b;
  --jev-stage: #140a12; --jev-curtain: #b7322a; --jev-curtain-hi: #e45a45; --jev-curtain-lo: #6b1510;
}

/* ---------- character ---------- */
.jev-fig { display: inline-block; line-height: 0; vertical-align: bottom; -webkit-tap-highlight-color: transparent; }
.jev-svg { display: block; overflow: hidden; }
.jev-body, .jev-lid, .jev-brow, .jev-foliage, .jev-flame, .jev-spark, .jev-speed path, .jev-glint,
.jev-z, .jev-dot, .jev-q, .jev-conf { transform-box: fill-box; transform-origin: 50% 50%; }

.jev-c-skin { stop-color: var(--jev-skin); } .jev-c-skin-hi { stop-color: var(--jev-skin-hi); } .jev-c-skin-lo { stop-color: var(--jev-skin-lo); }
.jev-c-hair { stop-color: var(--jev-hair); } .jev-c-fade { stop-color: var(--jev-fade); } .jev-c-iris { stop-color: var(--jev-iris); } .jev-c-iris-hi { stop-color: var(--jev-iris-hi); }
.jev-c-coral { stop-color: var(--jev-coral); } .jev-c-coral-hi { stop-color: var(--jev-coral-hi); } .jev-c-coral-lo { stop-color: var(--jev-coral-lo); }
.jev-c-shadow { stop-color: var(--jev-shadow); } .jev-c-leaf { stop-color: var(--jev-leaf); } .jev-c-leaf-hi { stop-color: var(--jev-leaf-hi); }
.jev-c-pot { stop-color: var(--jev-pot); } .jev-c-pot-hi { stop-color: var(--jev-pot-hi); }
.jev-c-lens-a { stop-color: var(--jev-lens-a); } .jev-c-lens-b { stop-color: var(--jev-lens-b); } .jev-c-lens-c { stop-color: var(--jev-lens-c); }
.jev-c-neon-a { stop-color: var(--jev-neon-a); } .jev-c-neon-b { stop-color: var(--jev-neon-b); } .jev-c-neon-c { stop-color: var(--jev-neon-c); }
.jev-c-flame { stop-color: var(--jev-flame); } .jev-c-flame-hi { stop-color: var(--jev-flame-hi); }

.jev-f-cream { fill: var(--jev-cream); } .jev-f-sogan { fill: var(--jev-sogan); } .jev-f-coral { fill: var(--jev-coral); }
.jev-f-corallo { fill: var(--jev-coral-lo); } .jev-f-white { fill: var(--jev-white); } .jev-f-pupil { fill: #0d0604; }
.jev-f-hair { fill: var(--jev-hair); } .jev-f-hairhi { fill: var(--jev-hair-hi); } .jev-f-skinlo { fill: var(--jev-skin-lo); }
.jev-f-mouth { fill: var(--jev-mouth); } .jev-f-teeth { fill: var(--jev-teeth); } .jev-f-tongue { fill: var(--jev-tongue); }
.jev-f-screen { fill: var(--jev-screen); } .jev-f-shadow { fill: var(--jev-shadow); } .jev-f-flamecore { fill: var(--jev-flame-hi); }
.jev-f-spark { fill: var(--jev-spark); } .jev-f-neon-a { fill: var(--jev-neon-a); } .jev-f-neon-c { fill: var(--jev-neon-c); }
.jev-f-leaf-hi { fill: var(--jev-leaf-hi); } .jev-f-fx { fill: var(--jev-fx); } .jev-f-halo { fill: var(--jev-halo); }
.jev-s-coral { stroke: var(--jev-coral); } .jev-s-corallo { stroke: var(--jev-coral-lo); } .jev-s-sogan { stroke: var(--jev-sogan); }
.jev-s-ink { stroke: var(--jev-ink); } .jev-s-line { stroke: var(--jev-line); } .jev-s-skinlo { stroke: var(--jev-skin-lo); }
.jev-s-shadow { stroke: var(--jev-shadow); } .jev-s-white { stroke: var(--jev-white); } .jev-s-hairhi { stroke: var(--jev-hair-hi); }
.jev-s-leaf { stroke: var(--jev-leaf); } .jev-s-leafhi { stroke: var(--jev-leaf-hi); } .jev-s-digit { stroke: var(--jev-digit); }
.jev-s-speed { stroke: var(--jev-speed); opacity: .7; } .jev-s-zzz { stroke: var(--jev-zzz); } .jev-s-halo { stroke: var(--jev-halo); }
.jev-ol { stroke: var(--jev-line); stroke-width: 1.6; stroke-linejoin: round; }
.jev-ol-leaf { stroke: var(--jev-leaf); stroke-width: .9; }
.jev-sm .jev-ol { stroke-width: 2.4; }
.jev-sm .jev-lash { stroke-width: 4.4; }
.jev-sm .jev-wing { stroke-width: 3; }
.jev-sm .jev-z .jev-s-zzz { stroke-width: 3.4; } .jev-sm .jev-z .jev-s-halo { stroke-width: 7; }
.jev-sm .jev-q .jev-s-coral { stroke-width: 5.6; } .jev-sm .jev-q .jev-s-halo { stroke-width: 10; }
.jev-sm .jev-s-speed { stroke-width: 3.4; }

/* what each persona / state shows */
.jev-m, .jev-eye-closed, .jev-eye-happy, .jev-plant, .jev-shades, .jev-flames, .jev-speed,
.jev-sparks, .jev-zzz, .jev-dots, .jev-q, .jev-confetti { display: none; }
.jev--chill .jev-plant, .jev--crazy .jev-shades,
.jev--chill.jev--idle .jev-m-smile, .jev--chill.jev--cheer .jev-m-grin,
.jev--crazy.jev--idle .jev-m-shout, .jev--crazy.jev--cheer .jev-m-shout,
.jev--sleep .jev-m-sleep, .jev--thinking .jev-m-hmm, .jev--confused .jev-m-wavy,
.jev--sleep .jev-eye-closed, .jev--chill.jev--cheer .jev-eye-happy,
.jev--crazy.jev--idle .jev-flames, .jev--crazy.jev--cheer .jev-flames,
.jev--crazy.jev--idle .jev-speed, .jev--crazy.jev--cheer .jev-speed,
.jev--crazy.jev--idle .jev-sparks, .jev--cheer .jev-sparks,
.jev--sleep .jev-zzz, .jev--thinking .jev-dots, .jev--confused .jev-q, .jev--cheer .jev-confetti { display: inline; }
.jev--sleep .jev-eye-open, .jev--chill.jev--cheer .jev-eye-open { display: none; }

/* poses (also the static reduced-motion poses) */
.jev-head, .jev-nodf { transform-box: view-box; transform-origin: 100px 128px; }
.jev-char { transform-box: view-box; transform-origin: 100px 200px; }
.jev-body { transform-origin: 50% 100%; animation: jev-breathe 4.2s ease-in-out infinite; }
.jev--sleep .jev-head { transform: translateY(3px) rotate(-6deg); }
.jev--thinking .jev-head { transform: rotate(-5deg); }
.jev--confused .jev-head { transform: rotate(8deg); }
.jev--crazy.jev--idle .jev-char, .jev--crazy.jev--cheer .jev-char { transform: translateY(-5px); }

.jev-lid { transition: transform .14s ease; }
.jev--chill.jev--idle .jev-lid { transform: translateY(5.4px); }
.jev--thinking .jev-lid { transform: translateY(2px); }
.jev--confused .jev-eye-l .jev-lid { transform: translateY(3.8px); }
.jev-fig.jev-blink .jev-eye .jev-lid { transform: translateY(13px); transition-duration: .06s; }

.jev-brow { transition: transform .3s ease; }
.jev--chill.jev--idle .jev-brow { transform: translateY(1.2px) rotate(-3deg); }
.jev--crazy.jev--idle .jev-brow, .jev--cheer .jev-brow { transform: translateY(-5.5px) rotate(-6deg); }
.jev--thinking .jev-brow-l { transform: translateY(-3.5px) rotate(-8deg); }
.jev--thinking .jev-brow-r { transform: translateY(1px) rotate(5deg); }
.jev--confused .jev-brow-l { transform: translateY(-4.5px) rotate(12deg); }
.jev--confused .jev-brow-r { transform: translateY(1.5px) rotate(-7deg); }
.jev--sleep .jev-brow { transform: translateY(2.5px); }

.jev-shades { transform-box: view-box; transform-origin: 100px 90px; transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.jev--sleep .jev-shades { transform: translateY(-28px) scale(.92); }
.jev--thinking .jev-shades { transform: translateY(14.5px) rotate(-3deg); }
.jev--confused .jev-shades { transform: translateY(2px) rotate(-11deg); }

.jev-foliage { transform-origin: 50% 100%; animation: jev-sway 4.6s ease-in-out infinite alternate; }
.jev--sleep .jev-foliage { animation: none; transform: rotate(-16deg) scale(.94); }
.jev--chill.jev--cheer .jev-foliage { animation: jev-perk .5s ease-in-out infinite alternate; }

/* motion */
.jev--chill.jev--idle .jev-head { animation: jev-nod 5.6s ease-in-out infinite; }
.jev--chill.jev--idle .jev-nodf { animation: jev-nodf 5.6s ease-in-out infinite; }
.jev--chill.jev--cheer .jev-head { animation: jev-nod 1.5s ease-in-out infinite; }
.jev--chill.jev--cheer .jev-nodf { animation: jev-nodf 1.5s ease-in-out infinite; }
.jev-intro.jev--chill .jev-head { animation: jev-nod 2.4s ease-in-out infinite; }
.jev-intro.jev--chill .jev-nodf { animation: jev-nodf2 2.4s ease-in-out infinite; }
.jev-intro.jev--chill .jev-foliage { animation: jev-wave .6s ease-in-out infinite alternate; }
.jev--sleep .jev-head { animation: jev-doze 5s ease-in-out infinite; }
.jev--sleep .jev-body { animation-duration: 5s; }
.jev--thinking .jev-head { animation: jev-ponder 3.2s ease-in-out infinite; }
.jev--confused .jev-head { animation: jev-puzzle 2.6s ease-in-out infinite; }
.jev--crazy.jev--idle .jev-char { animation: jev-bounce .9s cubic-bezier(.3, .7, .4, 1) infinite; }
.jev--crazy.jev--cheer .jev-char { animation: jev-bounce .6s cubic-bezier(.3, .7, .4, 1) infinite; }
.jev--crazy.jev--idle .jev-head { animation: jev-lag .9s ease-in-out infinite; }
.jev--crazy.jev--cheer .jev-head { animation: jev-lag .6s ease-in-out infinite; }
.jev--crazy.jev--idle .jev-svg { animation: jev-glitch 5.3s steps(1, end) infinite; }
.jev--crazy.jev--cheer .jev-svg { animation: jev-glitch 2.9s steps(1, end) infinite; }
.jev-flame { transform-origin: 50% 100%; animation: jev-flick .3s ease-in-out infinite alternate; }
.jev-spark { animation: jev-twinkle 1.5s ease-in-out infinite; }
.jev--cheer .jev-spark { animation-duration: .9s; }
.jev-speed path { animation: jev-speed .7s linear infinite; }
.jev-glint { animation: jev-glint 2.8s ease-in-out infinite; }
.jev-intro .jev-glint { animation-duration: 1s; }
.jev-z { animation: jev-zzz 3s ease-in-out infinite; }
.jev-dot { animation: jev-dot 1.2s ease-in-out infinite; }
.jev-q { transform-origin: 50% 90%; animation: jev-q 1.8s ease-in-out infinite; }
.jev-conf { animation: jev-fall 2.6s linear infinite; }

@keyframes jev-breathe { 50% { transform: scale(1.012, 1.018); } }
@keyframes jev-nod { 0%, 44%, 100% { transform: none; } 12% { transform: translateY(2.8px); } 22% { transform: translateY(-.4px); } 32% { transform: translateY(2px); } }
@keyframes jev-nodf { 0%, 44%, 100% { transform: none; } 12% { transform: translateY(2.2px) scaleY(.985); } 22% { transform: translateY(-.3px); } 32% { transform: translateY(1.6px) scaleY(.99); } }
@keyframes jev-nodf2 { 0%, 60%, 100% { transform: none; } 20% { transform: translateY(3.5px) scaleY(.975); } 40% { transform: translateY(-.5px); } }
@keyframes jev-doze { 0%, 100% { transform: translateY(3px) rotate(-6deg); } 50% { transform: translateY(4.6px) rotate(-7.5deg); } }
@keyframes jev-ponder { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(-3.5deg) translateY(-.6px); } }
@keyframes jev-puzzle { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(11deg) translateY(-.5px); } }
@keyframes jev-bounce {
  0% { transform: translateY(0) scale(1.04, .95); } 18% { transform: translateY(-9px) scale(.97, 1.04); }
  42% { transform: translateY(-15px) scale(1, 1); } 70% { transform: translateY(-3px) scale(.99, 1.02); }
  84% { transform: translateY(0) scale(1.05, .94); } 100% { transform: translateY(0) scale(1.04, .95); }
}
@keyframes jev-lag { 0%, 100% { transform: none; } 42% { transform: translateY(2.5px) rotate(-2deg); } 84% { transform: translateY(-1.5px) rotate(1deg); } }
@keyframes jev-glitch {
  0%, 84%, 100% { transform: none; filter: none; clip-path: none; }
  85% { transform: translate(-2.5%, .5%) skewX(-7deg); filter: drop-shadow(2px 0 0 #00f0ff) drop-shadow(-2px 0 0 #ff2aa8); }
  86.5% { transform: translate(2%, 0); clip-path: inset(18% 0 46% 0); filter: drop-shadow(-3px 0 0 #00f0ff); }
  88% { transform: none; filter: none; clip-path: none; }
  92% { transform: translate(1.5%, -.5%); filter: drop-shadow(-2px 0 0 #00f0ff) drop-shadow(2px 0 0 #ff2aa8); clip-path: inset(0 0 12% 0); }
  93% { transform: none; filter: none; clip-path: none; }
}
@keyframes jev-flick { from { transform: scale(.88, .84) skewX(-5deg); } to { transform: scale(1.06, 1.14) skewX(5deg); } }
@keyframes jev-twinkle { 0%, 100% { transform: scale(.15) rotate(0); opacity: 0; } 45% { transform: scale(1.1) rotate(45deg); opacity: 1; } 70% { transform: scale(.8) rotate(80deg); opacity: .9; } }
@keyframes jev-speed { 0% { transform: translateY(-26px); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(36px); opacity: 0; } }
@keyframes jev-glint { 0%, 50% { transform: translateX(0); } 80%, 100% { transform: translateX(110px); } }
@keyframes jev-zzz { 0% { transform: translate(-6px, 8px) scale(.5); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(6px, -10px) scale(1.1); opacity: 0; } }
@keyframes jev-dot { 0%, 100% { opacity: .3; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.15); } }
@keyframes jev-q { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg) translateY(-2px); } }
@keyframes jev-fall { 0% { transform: translateY(-28px) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(70px) rotate(420deg); opacity: 0; } }
@keyframes jev-sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes jev-wave { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
@keyframes jev-perk { from { transform: scale(1) rotate(-4deg); } to { transform: scale(1.12) rotate(4deg); } }

/* ---------- "Nyalakan JEV" button ---------- */
.jev-reveal { display: inline-block; position: relative; padding-top: 40px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.jev-cta-move { position: relative; display: inline-block; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.jev-peek { position: absolute; top: -40px; z-index: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none; }
.jev-peek-l { left: 26px; transform: translateY(14px) rotate(-10deg); }
.jev-peek-r { right: 26px; transform: translateY(14px) rotate(10deg); }
.jev-reveal.is-near .jev-peek-l, .jev-cta-move:has(.jev-cta:focus-visible) .jev-peek-l { transform: translateY(-2px) rotate(-5deg); }
.jev-reveal.is-near .jev-peek-r, .jev-cta-move:has(.jev-cta:focus-visible) .jev-peek-r { transform: translateY(-2px) rotate(5deg); }
.jev-reveal--chill .jev-peek-r, .jev-reveal--crazy .jev-peek-l { transform: translateY(44px); }
.jev-reveal--chill .jev-peek-l, .jev-reveal--crazy .jev-peek-r { transform: translateY(0) rotate(0); }

.jev-cta {
  position: relative; z-index: 1; display: inline-flex; padding: 3px; border: 0; border-radius: 999px;
  background: transparent; overflow: hidden; isolation: isolate; cursor: pointer; font: inherit; color: #fff;
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--jev-coral) 80%, transparent);
  animation: jev-glow 2.4s ease-in-out infinite; transition: transform .15s ease;
}
.jev-cta:active { transform: scale(.96); }
.jev-cta:focus-visible { outline: 3px solid var(--jev-focus); outline-offset: 5px; }
.jev-cta-ring {
  position: absolute; left: 50%; top: 50%; z-index: -1; width: max(200%, 420px); aspect-ratio: 1;
  background: conic-gradient(from 0deg, var(--jev-coral), var(--jev-gold), var(--jev-neon-a), var(--jev-neon-c), var(--jev-coral));
  transform: translate(-50%, -50%); animation: jev-spin 3.2s linear infinite;
}
.jev-cta-face {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 32px 12px 12px; border-radius: 999px; overflow: hidden;
  background: radial-gradient(120% 160% at 28% 0%, var(--jev-coral-hi) 0%, var(--jev-coral) 42%, var(--jev-coral-lo) 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), inset 0 -8px 16px rgba(110, 20, 8, .35);
  transition: filter .2s ease;
}
.jev-cta-face::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 2px; height: 46%; border-radius: 999px;
  background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); pointer-events: none;
}
.jev-cta:hover .jev-cta-face { filter: brightness(1.07) saturate(1.12); }
.jev-cta-icon {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 0 18px rgba(255, 255, 255, .35);
}
.jev-ico { width: 22px; height: 22px; display: block; }
.jev-cta-icon .jev-ico { width: 24px; height: 24px; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .8)); }
.jev-cta-text { position: relative; display: block; text-align: left; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.jev-cta-label { display: block; font-size: 23px; font-weight: 800; letter-spacing: .01em; line-height: 1.1; text-shadow: 0 1px 0 rgba(110, 20, 8, .4); white-space: nowrap; }
.jev-cta-sub { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; opacity: .92; white-space: nowrap; }
.jev-cta-shine {
  position: absolute; top: -30%; bottom: -30%; left: 0; width: 34%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: translateX(-160%) skewX(-22deg); animation: jev-shine 3.4s ease-in-out infinite;
}
.jev-cta-pulse { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; z-index: 0; border-radius: 999px; border: 2px solid var(--jev-coral); opacity: 0; animation: jev-pulse 2.4s ease-out infinite; pointer-events: none; }
.jev-reveal--chill .jev-cta-face, .jev-reveal--crazy .jev-cta-face { padding-right: 36px; }
.jev-reveal--crazy .jev-cta-ring { animation-duration: 1.4s; }
.jev-cta-spark {
  position: absolute; z-index: 2; width: 14px; height: 14px; pointer-events: none; background: var(--jev-gold);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px var(--jev-gold)); animation: jev-tw 2.2s ease-in-out infinite;
}
.jev-cta-spark-1 { left: -8px; top: 30px; }
.jev-cta-spark-2 { right: 18px; top: 34px; width: 10px; height: 10px; animation-delay: -.7s; background: var(--jev-neon-c); }
.jev-cta-spark-3 { right: -6px; bottom: -4px; width: 18px; height: 18px; animation-delay: -1.3s; }
.jev-cta-spark-4 { left: 38%; bottom: -12px; width: 9px; height: 9px; animation-delay: -1.8s; background: var(--jev-neon-a); }

@keyframes jev-tw { 0%, 100% { transform: scale(.2) rotate(0); opacity: 0; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }
@keyframes jev-spin { to { transform: translate(-50%, -50%) rotate(1turn); } }
@keyframes jev-shine { 0%, 45% { transform: translateX(-160%) skewX(-22deg); } 80%, 100% { transform: translateX(360%) skewX(-22deg); } }
@keyframes jev-glow {
  0%, 100% { box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--jev-coral) 80%, transparent), 0 0 0 0 color-mix(in srgb, var(--jev-coral) 0%, transparent); }
  50% { box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--jev-coral) 95%, transparent), 0 0 26px 4px color-mix(in srgb, var(--jev-coral) 45%, transparent); }
}
@keyframes jev-pulse { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.5); } }

/* ---------- stage ---------- */
.jev-lock { overflow: hidden; }
.jev-stage {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff;
}
.jev-stage.is-closing { animation: jev-out .4s ease both; pointer-events: none; }
.jev-stage-bg {
  position: absolute; inset: 0; animation: jev-in .35s ease both;
  background: radial-gradient(ellipse 70% 60% at 50% 38%, color-mix(in srgb, var(--jev-coral) 28%, var(--jev-stage)) 0%, var(--jev-stage) 62%, #050306 100%);
}
.jev-stage-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: radial-gradient(ellipse 60% 70% at 50% 0, color-mix(in srgb, var(--jev-coral) 30%, transparent), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 90px), linear-gradient(#2b1519, #0d0709);
  border-top: 2px solid color-mix(in srgb, var(--jev-gold) 45%, transparent);
}
.jev-light {
  position: absolute; top: -6%; width: min(46vw, 520px); height: 96%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(to bottom, rgba(255, 238, 205, .42), rgba(255, 238, 205, 0) 88%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); animation: jev-light 1s ease 1s both;
}
.jev-light-l { left: calc(50% - min(46vw, 520px) + 2vw); transform-origin: 50% 0; }
.jev-light-r { right: calc(50% - min(46vw, 520px) + 2vw); transform-origin: 50% 0; }
.jev-marquee {
  position: absolute; top: clamp(58px, 11vh, 110px); left: 50%; transform: translateX(-50%);
  padding: 6px 26px; border: 3px dotted var(--jev-gold); border-radius: 14px; background: #2a1116;
  color: var(--jev-gold); font-size: clamp(22px, 4vw, 34px); font-weight: 900; letter-spacing: .32em; text-indent: .32em;
  text-shadow: 0 0 12px var(--jev-gold); box-shadow: 0 0 24px color-mix(in srgb, var(--jev-gold) 40%, transparent);
  animation: jev-drop .6s cubic-bezier(.3, 1.5, .5, 1) 1.5s both, jev-bulbs 1.2s steps(2) 2.1s infinite;
}
.jev-duo { position: relative; display: flex; align-items: flex-end; gap: clamp(10px, 6vw, 90px); margin-top: 14vh; }
.jev-slot { display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 0; transition: opacity .35s ease, filter .35s ease, transform .35s ease; }
.jev-slot-win { position: relative; overflow: hidden; line-height: 0; padding: 0 6px; border-bottom: 0; }
.jev-rise { animation: jev-rise .9s cubic-bezier(.2, 1.25, .4, 1) 1s both; }
.jev-slot-crazy .jev-rise { animation: jev-rise .8s cubic-bezier(.2, 1.7, .4, 1) 1.3s both; }
.jev-plinth {
  position: absolute; left: 4%; right: 4%; bottom: 0; height: 5px; border-radius: 5px;
  background: var(--jev-coral); box-shadow: 0 0 18px 2px var(--jev-coral); animation: jev-in .4s ease .8s both;
}
.jev-slot-crazy .jev-plinth { background: linear-gradient(90deg, var(--jev-neon-a), var(--jev-neon-b), var(--jev-neon-c)); box-shadow: 0 0 18px 2px var(--jev-neon-a); }
.jev-slot.is-picked { transform: scale(1.05); }
.jev-slot.is-picked .jev-slot-win { filter: drop-shadow(0 0 22px color-mix(in srgb, var(--jev-coral) 70%, transparent)); }
.jev-slot.is-dim { opacity: .35; filter: grayscale(.85); transform: scale(.95); }

.jev-pick {
  position: relative; display: inline-flex; align-items: center; gap: .45em; padding: .72em 1.4em .72em 1.05em; border: 0; border-radius: 16px;
  font: inherit; font-size: clamp(14px, 3.9vw, 20px); font-weight: 800; letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; animation: jev-pop .45s cubic-bezier(.3, 1.6, .5, 1) 2.1s both;
}
.jev-pick-crazy { animation-delay: 2.25s; }
.jev-pick-chill { color: #24361f; background: linear-gradient(#fffaf0, #eadcbe); box-shadow: 0 5px 0 #b9a47c, 0 10px 22px -6px rgba(0, 0, 0, .5); }
.jev-pick .jev-ico { width: 1.2em; height: 1.2em; }
.jev-pick-chill .jev-ico { color: var(--jev-leaf); }
.jev-pick-crazy {
  color: #1d0716; background: linear-gradient(100deg, var(--jev-neon-a), #ff7a3d 50%, var(--jev-neon-b));
  box-shadow: 0 5px 0 #a3125e, 0 0 26px -2px color-mix(in srgb, var(--jev-neon-a) 80%, transparent);
}
.jev-pick:hover { transform: translateY(-2px); filter: brightness(1.06); }
.jev-pick:active { transform: translateY(4px); }
.jev-pick-chill:active { box-shadow: 0 1px 0 #b9a47c; }
.jev-pick-crazy:active { box-shadow: 0 1px 0 #a3125e; }
.jev-pick:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.jev-pick[aria-pressed="true"]::after {
  content: "✓"; position: absolute; top: -9px; right: -9px; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; color: #1a1a1a; font-size: 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.jev-curtain {
  position: absolute; top: 0; bottom: 0; width: 51%; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .45)),
    repeating-linear-gradient(90deg, var(--jev-curtain-lo) 0, var(--jev-curtain) 14px, var(--jev-curtain-hi) 24px, var(--jev-curtain) 34px, var(--jev-curtain-lo) 46px);
  box-shadow: 0 0 40px rgba(0, 0, 0, .6);
}
.jev-curtain-l { left: 0; transform: translateX(-88%); animation: jev-part-l 1.15s cubic-bezier(.65, 0, .25, 1) .3s both; }
.jev-curtain-r { right: 0; transform: translateX(88%); animation: jev-part-r 1.15s cubic-bezier(.65, 0, .25, 1) .3s both; }
.jev-valance {
  position: absolute; top: 0; left: 0; right: 0; height: 48px; pointer-events: none;
  background:
    radial-gradient(circle at 50% 0, var(--jev-curtain) 0 24px, var(--jev-gold) 25px 27px, transparent 28px) 0 12px / 54px 36px repeat-x,
    linear-gradient(var(--jev-curtain-lo), var(--jev-curtain)) 0 0 / 100% 14px no-repeat;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45));
}
.jev-close {
  position: absolute; top: 58px; right: 18px; z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%;
  display: grid; place-items: center; font: inherit; font-size: 20px; line-height: 1; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
  transition: background .15s ease, transform .15s ease; animation: jev-in .3s ease .6s both;
}
.jev-close:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }
.jev-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@keyframes jev-in { from { opacity: 0; } }
@keyframes jev-out { to { opacity: 0; transform: scale(1.03); } }
@keyframes jev-part-l { from { transform: translateX(0); } }
@keyframes jev-part-r { from { transform: translateX(0); } }
@keyframes jev-light { from { opacity: 0; transform: rotate(0) scaleY(.6); } }
@keyframes jev-drop { from { opacity: 0; transform: translate(-50%, -80px); } }
@keyframes jev-bulbs { 50% { border-style: dashed; text-shadow: 0 0 20px var(--jev-gold); } }
@keyframes jev-rise { from { transform: translateY(106%); } }
@keyframes jev-pop { from { opacity: 0; transform: translateY(14px) scale(.85); } }

/* ---------- reduced motion (system setting, or .jev-reduce on any ancestor) ---------- */
@media (prefers-reduced-motion: reduce) {
  .jev-fig *, .jev-svg, .jev-reveal *, .jev-stage, .jev-stage * { animation: none !important; transition: none !important; }
}
.jev-reduce .jev-fig *, .jev-reduce .jev-svg, .jev-reduce .jev-reveal *, .jev-reduce .jev-stage, .jev-reduce .jev-stage * { animation: none !important; transition: none !important; }
