@font-face{font-family:Lilita;src:url('public/fonts/lilita-one.ttf') format('truetype');font-display:swap}
:root{color-scheme:dark;--cream:#fff2d5;--gold:#ffca57;--ember:#ff671c;--rock:#250b0b;font-family:ui-rounded,'Trebuchet MS',Arial,sans-serif;color:var(--cream);background:#1c0809;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #fff4bd;outline-offset:7px}::selection{background:#ffcb59;color:#360d0a}button{touch-action:manipulation}button:disabled{cursor:default}a{color:inherit}html{scrollbar-color:#a94d2c #250b0b}
.game{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:780px;height:100svh;display:flex;flex-direction:column;align-items:center;background:#270a0c}.scene{position:absolute;z-index:-3;inset:0;background:linear-gradient(180deg,rgba(28,5,10,.2),rgba(28,5,10,.04) 50%,rgba(28,5,10,.62)),url('public/assets/volcano.webp') center 60%/cover no-repeat}.game:after{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,transparent 15%,#1d050640 70%),linear-gradient(#20060a88,transparent 30%,transparent 80%,#20060ac9)}.masthead{width:100%;max-width:1060px;padding:28px 32px 0;display:flex;justify-content:space-between;align-items:center}.wordmark{display:flex;gap:9px;align-items:center;font-family:Lilita,sans-serif;text-decoration:none;font-size:23px;line-height:.95;color:#ffe6b0}.wordmark svg{width:28px;height:32px;color:#ffae3e}.wordmark small{display:block;font-size:12px;letter-spacing:.08em;margin-top:4px}.age-mark{border:1px solid #e9bd7980;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;font-size:14px;font-weight:800;color:#ffe6b0}.intro{text-align:center;margin-top:32px;z-index:2}.intro h1{font-family:Lilita,sans-serif;font-weight:400;font-size:clamp(52px,7vh,80px);line-height:.98;letter-spacing:-.025em;margin:0;text-shadow:0 5px 1px #651e0c,0 10px 22px #210609}.intro h1 span{color:var(--gold)}.intro p{font-size:18px;margin:22px 15px 0;color:#ffe5c1}.arena{position:relative;width:min(860px,100%);height:320px;flex:1;max-height:410px;min-height:245px;margin-top:14px;display:grid;align-items:center}.choices{display:flex;align-items:center;justify-content:center;width:100%;padding:0 20px;gap:10px;position:relative;z-index:2}.chili{position:relative;width:31%;max-width:245px;height:300px;background:none;border:0;padding:0;color:var(--cream);cursor:pointer;transition:filter .25s,opacity .35s,transform .35s}.chili-gold{top:0}.character{position:relative;display:block;width:100%;height:245px;z-index:2;animation:bob 4.6s ease-in-out infinite;filter:drop-shadow(0 12px 8px #240507b3);transition:transform .25s}.character img{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block}.chili-gold .character{animation-delay:-1.4s}.chili-chest .character{animation-delay:-2.8s}.pedestal{position:absolute;top:232px;left:4%;width:92%;height:26px;background:radial-gradient(ellipse at center,#170506b8 0%,#21090b88 30%,#24090b35 53%,transparent 74%);border-radius:50%;box-shadow:none;pointer-events:none}.pedestal:after{content:none}.choice-label{display:block;position:relative;margin-top:20px;font-family:Lilita,sans-serif;font-size:22px;letter-spacing:.015em;text-shadow:0 2px 5px #230408}.chili:not(:disabled):hover .character{transform:translateY(-14px) scale(1.06)}.chili:not(:disabled):hover .choice-label{color:var(--gold)}.chili:not(:disabled):active .character{transform:scale(.95)}.ambient-ring{position:absolute;left:10%;right:10%;top:52%;height:120px;border-radius:50%;background:radial-gradient(ellipse,#ff691526,transparent 70%);filter:blur(12px)}.hint{display:flex;align-items:center;gap:13px;text-align:left;margin:5px 20px 22px;z-index:1;transition:opacity .2s}.hint p{margin:0;line-height:1.55;font-size:16px;color:#ffdcad}.hint strong{font-weight:400;color:#fff2d5}.tap-icon{width:34px;transform:rotate(-12deg)}.tap-icon svg{width:100%;fill:none;stroke:#ffcf6e;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}footer{text-align:center;padding:0 18px max(22px,env(safe-area-inset-bottom));z-index:5;margin-top:auto}footer p{font-size:13px;margin:13px 0 9px;color:#f8d3ae}.footer-rule{display:none}.footer-brand{font-size:10px;letter-spacing:.2em;color:#edb780}.effects{position:absolute;inset:0;pointer-events:none;z-index:4}.spark{position:absolute;left:50%;top:48%;width:8px;height:8px;border-radius:50%;background:#ffce65;box-shadow:0 0 12px #ff911c;animation:burst 1.35s cubic-bezier(.16,1,.3,1) forwards}.effects.fire .spark{width:22px;height:65px;border-radius:70% 20% 65% 40%;background:linear-gradient(#fff0ae,#ff9c16 45%,#ed2a0c);transform-origin:50% 100%;mix-blend-mode:screen}.effects.chest:before,.effects.chest:after{content:'';position:absolute;left:50%;top:10%;width:180px;height:300px;background:linear-gradient(0deg,#ffe69ab3,transparent);clip-path:polygon(45% 100%,55% 100%,100% 0,0 0);transform-origin:50% 100%;animation:beam 1.6s ease-out forwards}.effects.chest:after{transform:translateX(-50%) rotate(30deg)}.effects.chest:before{transform:translateX(-50%) rotate(-25deg)}.game[data-state="revealing"] .chili:not(.selected){opacity:.2;filter:blur(2px);transform:scale(.92)}.game[data-state="revealing"] .selected{z-index:3;transform:translateY(-18px) scale(1.1)}.game[data-state="revealing"] .hint{opacity:0}.game[data-state="revealing"] .intro{opacity:.55;transition:opacity .3s}.result[hidden]{display:none}.result{position:absolute;inset:110px 0 105px;z-index:4;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;animation:result-in .6s cubic-bezier(.16,1,.3,1)}.game[data-state="result"] .arena,.game[data-state="result"] .intro,.game[data-state="result"] .hint,.game[data-state="continued"] .arena,.game[data-state="continued"] .intro,.game[data-state="continued"] .hint{visibility:hidden;pointer-events:none}.game[data-state="result"]:after,.game[data-state="continued"]:after{background:#21080b80}.result-character{position:relative;z-index:1;width:235px;height:245px;filter:drop-shadow(0 12px 18px #290505)}.result-character img{width:100%;height:100%;object-fit:contain}.result-aura{position:absolute;width:450px;height:450px;top:8%;background:radial-gradient(ellipse,#ffb12a40,transparent 65%);pointer-events:none}.result-copy{z-index:2;width:100%;padding:0 22px}.result h2{font-family:Lilita,sans-serif;font-weight:400;font-size:clamp(34px,5vw,50px);line-height:1.07;margin:14px auto 12px;max-width:530px;color:#ffdb83;text-wrap:balance;text-shadow:0 4px 0 #6d250f}.result h2:focus{outline:0}.result-copy>p{font-size:18px;color:#ffe5c5;margin:12px 0 24px}.lucky-seal{display:grid;place-items:center;border:1px solid #ffc85b96;border-radius:50%;width:37px;height:37px;margin:-18px auto 0;background:#5b2918;color:#ffe8a3;font-family:Lilita,sans-serif;font-size:23px;position:relative}.continue{display:block;width:min(310px,90%);margin:0 auto;border:0;border-radius:16px;color:#4b1b0b;background:linear-gradient(#ffdf82,#ffb837);box-shadow:0 6px 0 #a9470e,0 12px 25px #21060885;font-family:Lilita,sans-serif;font-size:25px;padding:17px 24px;cursor:pointer;transition:filter .2s,transform .2s}.continue:hover{filter:brightness(1.1)}.continue:active{transform:translateY(3px)}.continue:disabled{filter:saturate(.4);opacity:.7}.result-copy>.destination-status{font-size:15px;margin:22px 0 0;color:#ffe8b4}.embers{position:absolute;inset:0;z-index:-1;pointer-events:none}.ember{position:absolute;bottom:-15px;left:var(--left);height:3px;width:3px;background:#ffc15f;border-radius:50%;box-shadow:0 0 7px #ff691b;animation:rise var(--time) linear var(--delay) infinite}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -10px}}@keyframes rise{0%{transform:translateY(0);opacity:0}20%{opacity:.85}100%{transform:translate(30px,-75vh);opacity:0}}@keyframes burst{0%{opacity:0;transform:translate(0,0) scale(.2)}15%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(var(--s)) rotate(var(--r))}}@keyframes beam{0%{opacity:0;scale:.4}30%{opacity:1}100%{opacity:0;scale:1.3}}@keyframes result-in{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
@media(min-width:900px){.scene{background-size:900px auto;background-position:center 57%}.game:before{content:'';position:absolute;inset:0;z-index:-4;background:#240a0b}.scene:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#240a0b,transparent 28%,transparent 72%,#240a0b)}.intro{margin-top:24px}.arena{margin-top:8px}.hint{margin-bottom:26px}}
@media(max-width:600px){.game{min-height:660px}.masthead{padding:22px 22px 0}.wordmark{font-size:20px}.wordmark small{font-size:11px}.wordmark svg{width:24px}.age-mark{width:34px;height:34px;font-size:13px}.intro{margin-top:37px}.intro h1{font-size:clamp(49px,13.5vw,70px)}.intro p{font-size:16px;margin-top:19px}.arena{min-height:230px;max-height:330px;margin-top:10px}.choices{padding:0 8px;gap:0}.chili{width:33.333%;height:220px}.character{height:180px;width:108%;margin-left:-4%}.pedestal{top:157px;height:34px;left:6%;width:88%}.choice-label{font-size:19px;margin-top:13px}.chili-gold{top:-21px}.hint{margin-top:6px;margin-bottom:26px;gap:12px}.hint p{font-size:14px}.tap-icon{width:29px}footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}footer p{font-size:12px}.result{inset:100px 0 100px}.result-character{width:210px;height:220px}.result h2{font-size:38px}.result-copy>p{font-size:16px}.result-copy>.destination-status{font-size:14px}.result-aura{width:100%;height:360px;top:5%}}
@media(max-height:740px){.game{min-height:620px}.intro{margin-top:20px}.intro h1{font-size:50px}.intro p{margin-top:14px}.arena{min-height:205px}.hint{margin-bottom:16px}.result-character{width:175px;height:185px}.result h2{font-size:34px}.result{inset:82px 0 90px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.embers{display:none}}
/* v2: larger game stage, emphatic reveal and native result dialog. */
.header-actions{display:flex;align-items:center;gap:16px}.masthead{z-index:6;padding-top:20px}.play-now{position:relative;isolation:isolate;overflow:hidden;border:0;font-family:Lilita,sans-serif;color:#4a1908;background:linear-gradient(#fff0a4,#ffc33b 60%,#ff9c24);box-shadow:0 5px 0 #a83c0a,0 9px 22px #18030580;cursor:pointer;animation:cta-breathe 2.5s ease-in-out infinite}.play-now:after{content:'';position:absolute;inset:-70% auto -70% -60%;width:35%;background:linear-gradient(90deg,transparent,#fff9,transparent);transform:rotate(25deg);animation:cta-shine 3.4s ease-in-out infinite;pointer-events:none}.play-top{border-radius:12px;padding:12px 22px;font-size:20px}.play-now:hover{filter:brightness(1.12)}.play-now:disabled{animation:none;filter:saturate(.6)}.intro{margin-top:20px}.arena{width:min(1030px,100%);max-height:490px;min-height:330px;margin-top:8px}.chili{max-width:300px;height:365px}.character{height:310px}.pedestal{top:297px;height:26px}.choice-label{font-size:25px}.hint{margin-bottom:14px}.game[data-state="revealing"] .selected{transform:translateY(-25px) scale(1.22);animation:chosen-pop .55s cubic-bezier(.16,1,.3,1)}.game[data-state="revealing"] .selected .character{filter:drop-shadow(0 0 23px #ffca57c0)}.game[data-state="revealing"] .scene{animation:impact .55s ease-out}.shockwave{position:absolute;left:50%;top:48%;width:190px;height:190px;margin:-95px;border:6px solid #ffe4a0;border-radius:50%;box-shadow:0 0 32px #ffac32,inset 0 0 32px #ffac32;animation:shockwave 1.1s ease-out both}.effects.fire .spark{width:30px;height:100px}.effects.gold .spark{width:13px;height:13px;background:#ffe8a4;clip-path:polygon(50% 0,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0 50%,35% 35%)}.effects.chest:before,.effects.chest:after{width:310px;height:460px;top:-25%;}.effects{inset:-40px -60px;overflow:visible}
.result:not([open]){display:none}.result[open]{position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 30px));height:fit-content;max-height:calc(100svh - 100px);padding:20px 16px 30px;overflow-x:hidden;overflow-y:auto;border:3px solid #ffd67a;border-radius:30px;background:radial-gradient(ellipse at 50% 20%,#ae4a1a,#621c10 50%,#330b0c 100%);color:var(--cream);box-shadow:0 0 0 7px #9f4319,0 24px 80px #080102cc;animation:prize-in .65s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;z-index:10}.result::backdrop{background:#160307c9;backdrop-filter:blur(6px)}.result[open]:before{content:'';position:absolute;top:-90px;left:50%;width:600px;height:600px;margin-left:-300px;background:repeating-conic-gradient(from 0deg,#ffcb4b24 0deg 12deg,transparent 12deg 30deg);mask-image:radial-gradient(ellipse,#000 15%,transparent 67%);animation:prize-rays 24s linear infinite;pointer-events:none}.result-character{width:245px;height:245px;margin:0 auto}.result-copy{padding:0 8px}.result h2{font-size:42px;max-width:360px;margin:13px auto 9px;text-shadow:0 4px 0 #762c0d}.result-copy>p{margin:12px 0 22px;font-size:17px}.result .continue{width:100%;font-size:27px;padding:18px 20px;border-radius:15px}.lucky-seal{width:45px;height:45px;font-size:27px;border:2px solid #ffe59b;box-shadow:0 3px 0 #9c4813;background:linear-gradient(#9c4e13,#63300b)}.result-aura{top:-15%;width:100%;height:400px}.close-result{position:absolute;top:11px;right:11px;z-index:5;display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffc77b60;border-radius:50%;background:#3a0d0b;color:#ffe2a4;cursor:pointer}.close-result svg{width:17px;stroke:currentColor;stroke-width:2;fill:none}.celebration{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:27px}.celebration i{position:absolute;left:var(--x);top:-25px;width:9px;height:17px;background:#ffd363;animation:confetti 2.5s ease-out var(--delay) both}.celebration i:nth-child(3n){background:#ff7354}.celebration i:nth-child(3n + 1){background:#fff4c0;width:6px;height:11px}.game[data-state="result"] .arena,.game[data-state="result"] .intro,.game[data-state="result"] .hint,.game[data-state="continued"] .arena,.game[data-state="continued"] .intro,.game[data-state="continued"] .hint{visibility:visible}.game[data-state="result"] .hint,.game[data-state="continued"] .hint{opacity:.3}
@keyframes cta-breathe{0%,100%{scale:1;box-shadow:0 5px 0 #a83c0a,0 9px 22px #18030580}50%{scale:1.04;box-shadow:0 5px 0 #a83c0a,0 0 24px #ffc33b80}}@keyframes cta-shine{0%,45%{left:-60%}80%,100%{left:140%}}@keyframes chosen-pop{0%{transform:scale(.88)}70%{transform:translateY(-30px) scale(1.3)}100%{transform:translateY(-25px) scale(1.22)}}@keyframes impact{0%,100%{translate:0 0}25%{translate:-6px 3px}50%{translate:5px -3px}75%{translate:-3px 1px}}@keyframes shockwave{from{scale:.3;opacity:1}to{scale:3.3;opacity:0}}@keyframes prize-in{from{opacity:0;transform:translateY(60px) scale(.65) rotate(-5deg)}65%{transform:translateY(-8px) scale(1.03) rotate(1deg)}to{opacity:1;transform:none}}@keyframes prize-rays{to{rotate:360deg}}@keyframes confetti{0%{translate:0 0;rotate:0deg;opacity:0}10%{opacity:1}100%{translate:var(--drift) 620px;rotate:var(--turn);opacity:0}}
@media(min-width:900px){.arena{margin-top:14px}.intro h1{font-size:64px}.scene{background-size:1100px auto}.hint{margin-top:0}}
@media(max-width:600px){.masthead{padding:17px 17px 0}.header-actions{gap:9px}.play-top{padding:11px 14px;font-size:17px;border-radius:10px}.age-mark{width:29px;height:29px;font-size:11px}.wordmark{font-size:18px;gap:6px}.wordmark small{font-size:11px}.wordmark svg{width:21px}.intro{margin-top:25px}.intro h1{font-size:50px}.intro p{font-size:15px;margin-top:14px}.arena{height:340px;min-height:275px;max-height:390px;flex:1;margin-top:8px;width:100%}.choices{height:auto;display:grid;grid-template-columns:0.30fr 0.35fr 0.35fr;align-items:end;gap:4px;padding:0 6px}.chili{--character-height:clamp(190px,60vw,290px);position:relative;width:100%;max-width:none;height:calc(var(--character-height) + 51px);inset:auto;top:0}.chili-gold{z-index:2}.character,.chili-fire .character{height:var(--character-height);width:100%;margin-left:0}.character img{object-position:center bottom}.pedestal{top:calc(var(--character-height) - 11px);height:22px;width:96%;left:2%}.choice-label{font-size:21px;margin-top:21px}.chili:not(:disabled):hover .character{transform:translateY(-10px)}.hint{margin:15px 10px 12px;gap:9px}.hint p{font-size:14px}.hint p br{display:none}.hint strong{margin-left:4px}.tap-icon{width:23px}footer{margin-top:0;padding-bottom:max(15px,env(safe-area-inset-bottom))}footer p{margin:10px 0 7px}.footer-brand{font-size:10px}.result[open]{padding:14px 13px 27px;max-height:calc(100svh - 70px)}.result-character{height:220px;width:230px}.result h2{font-size:37px}.result-copy>p{font-size:16px}.result .continue{font-size:25px}.effects{inset:-10px -40px}}
@media(max-width:600px) and (max-height:740px){.game{min-height:640px}.intro{margin-top:17px}.intro h1{font-size:43px}.intro p{margin-top:10px}.arena{min-height:250px;max-height:310px;margin-top:2px}.chili{--character-height:190px}.pedestal{height:22px}.choice-label{font-size:18px;margin-top:21px}.chili-gold{top:0}.hint{margin-top:10px;margin-bottom:8px}.hint p{font-size:12px}.result[open]{max-height:calc(100svh - 50px);padding:10px 13px 22px}.result-character{height:175px;width:190px}.result h2{font-size:33px}.result-copy>p{margin:10px 0 16px}.result .continue{padding:14px;font-size:24px}}
@media(prefers-reduced-motion:reduce){.play-now,.play-now:after,.result[open],.result[open]:before,.celebration i,.game[data-state="revealing"] .scene,.game[data-state="revealing"] .selected{animation:none!important}.celebration{display:none}}

.result-copy>.result-legal{font-size:12px;color:#ffe0b2;margin:21px 0 0}

/* v4 motion: anticipation, anchored release, soft landing and reward reveal. */
.character{transform-origin:50% 88%;animation:idle-breath 4.8s ease-in-out infinite}
.game[data-state="revealing"] .character{animation:none}
.game[data-state="revealing"] .selected{transform:none;animation:none}
.game[data-state="revealing"] .selected .character{filter:drop-shadow(0 12px 9px #240507b3)}
.game[data-state="revealing"] .chili:not(.selected){opacity:.48;filter:none;transform:none}
.game[data-state="revealing"] .scene{animation:none}
.game[data-state="revealing"] .selected .pedestal{animation:ground-response .78s ease-in-out both}
.effects.physics-fx{inset:-80px -70px;overflow:visible}
.effects.physics-fx:before,.effects.physics-fx:after{content:none}
.effects canvas{display:block;width:100%;height:100%;pointer-events:none}
.chest-opening{position:absolute;inset:0;pointer-events:none}
.chili-chest .character>img{transition:opacity .24s ease-out}
.result[open]{animation:reward-arrive .48s cubic-bezier(.16,1,.3,1)}
.result[open]::backdrop{animation:backdrop-arrive .32s ease-out}
.result[open] .result-character{animation:reward-character .6s cubic-bezier(.16,1,.3,1) .08s backwards}
.result[open] .result-copy{animation:reward-copy .4s ease-out .16s backwards}
.result[open] .continue{animation:cta-breathe 3.2s ease-in-out .65s infinite}
.play-now{animation:cta-breathe 3.2s ease-in-out infinite}
.play-now:after{animation:cta-shine 4.6s ease-in-out infinite}
.celebration i{animation:confetti-fall var(--fall-time,2.8s) cubic-bezier(.35,.05,.65,.85) var(--delay) both;transform-origin:center}
@keyframes idle-breath{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-4px) rotate(.5deg)}}
@keyframes ground-response{0%,100%{transform:scale(1);opacity:1}25%{transform:scale(1.04,.94)}50%{transform:scale(.9);opacity:.7}}
@keyframes reward-arrive{0%{opacity:0;transform:translateY(24px) scale(.91)}75%{opacity:1;transform:translateY(-2px) scale(1.008)}100%{transform:none}}
@keyframes backdrop-arrive{from{background:#16030700;backdrop-filter:blur(0)}to{background:#160307c9;backdrop-filter:blur(6px)}}
@keyframes reward-character{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:none}}
@keyframes reward-copy{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes cta-breathe{0%,100%{scale:1}50%{scale:1.018}}
@keyframes confetti-fall{0%{opacity:0;transform:translate3d(0,-20px,0) rotate(0) rotateY(0)}10%{opacity:.95}35%{transform:translate3d(calc(var(--drift) * -.25),110px,0) rotate(calc(var(--turn) * .35)) rotateY(130deg)}70%{opacity:.85;transform:translate3d(calc(var(--drift) * .6),330px,0) rotate(calc(var(--turn) * .7)) rotateY(280deg)}100%{opacity:0;transform:translate3d(var(--drift),620px,0) rotate(var(--turn)) rotateY(430deg)}}
@media(prefers-reduced-motion:reduce){.character,.result[open],.result[open]::backdrop,.result[open] .result-character,.result[open] .result-copy,.result[open] .continue,.game[data-state="revealing"] .selected .pedestal{animation:none!important}.effects canvas{display:none}}

/* v7: visible invitation and a staggered, immediately interactive entrance. */
.intro{animation:intro-entrance .7s cubic-bezier(.16,1,.3,1) both}
.chili{animation:chili-entrance .85s cubic-bezier(.16,1,.3,1) both}
.chili-fire{animation-delay:.08s}.chili-gold{animation-delay:.2s}.chili-chest{animation-delay:.32s}
.game[data-state="idle"] .character{animation:invite-chili 6.6s ease-in-out infinite}
.game[data-state="idle"] .chili-fire .character{animation-delay:0s}
.game[data-state="idle"] .chili-gold .character{animation-delay:-4.4s}
.game[data-state="idle"] .chili-chest .character{animation-delay:-2.2s}
.game[data-state="idle"] .choice-label{animation:invite-label 6.6s ease-in-out infinite}
.chili-gold .choice-label{animation-delay:-4.4s!important}.chili-chest .choice-label{animation-delay:-2.2s!important}
.ambient-ring{animation:lava-breathe 5s ease-in-out infinite}
.hint{position:relative;max-width:calc(100% - 32px);padding:13px 23px 13px 17px;margin:12px 16px 18px;gap:15px;border:1px solid #fca93c70;border-radius:16px;background:linear-gradient(110deg,#6a220cdb,#35100be8);box-shadow:0 8px 22px #1b040740;animation:hint-entrance .65s cubic-bezier(.16,1,.3,1) .4s backwards}
.hint:before{content:'';position:absolute;top:-8px;left:calc(50% - 6px);width:12px;height:12px;border-top:2px solid #ffcd70;border-left:2px solid #ffcd70;transform:rotate(45deg);animation:hint-point 2s ease-in-out infinite}
.hint p{line-height:1.35;text-align:left}.hint p strong{display:block;margin:0;font-family:Lilita,sans-serif;font-size:25px;font-weight:400;color:#ffda7c}.hint p span{display:block;margin-top:4px;font-size:14px;color:#ffe9c9}
.hint .tap-icon{width:38px;flex-shrink:0;transform-origin:55% 70%;animation:tap-invite 2s ease-in-out infinite}.hint .tap-icon svg{stroke:#ffdc8a}
.game:not([data-state="idle"]) .hint{animation:none;opacity:0;pointer-events:none}
.game:not([data-state="idle"]) .hint:before,.game:not([data-state="idle"]) .tap-icon,.game:not([data-state="idle"]) .choice-label{animation:none}
@keyframes intro-entrance{from{opacity:.25;transform:translateY(-16px)}to{opacity:1;transform:none}}
@keyframes chili-entrance{from{opacity:.2;transform:translateY(30px) scale(.92)}to{opacity:1;transform:none}}
@keyframes hint-entrance{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes invite-chili{0%,10%,30%,100%{transform:translateY(0) rotate(-.5deg)}16%{transform:translateY(3px) scale(1.025,.97)}21%{transform:translateY(-10px) rotate(1deg)}26%{transform:translateY(-2px) rotate(-.5deg)}60%{transform:translateY(-4px) rotate(.5deg)}}
@keyframes invite-label{0%,10%,30%,100%{color:#fff2d5;text-shadow:0 2px 5px #230408}18%,24%{color:#ffcf65;text-shadow:0 2px 8px #8d350a}}
@keyframes lava-breathe{0%,100%{opacity:.45;scale:.95}50%{opacity:1;scale:1.06}}
@keyframes tap-invite{0%,42%,100%{transform:rotate(-10deg) translateY(2px)}57%{transform:rotate(-3deg) translateY(-5px)}69%{transform:rotate(-3deg) translateY(0) scale(.95)}80%{transform:rotate(-8deg) translateY(-2px)}}
@keyframes hint-point{0%,100%{translate:0 0;opacity:.6}50%{translate:0 -5px;opacity:1}}
@media(max-width:600px){.hint{margin:12px 16px 14px;padding:12px 20px 12px 15px;gap:13px}.hint p strong{font-size:23px}.hint p span{font-size:13px}.hint .tap-icon{width:34px}}
@media(max-width:600px) and (max-height:740px){.hint{margin:9px 16px 10px;padding:9px 16px;gap:11px}.hint p strong{font-size:21px}.hint p span{font-size:12px}.hint .tap-icon{width:30px}.arena{min-height:225px}}
@media(prefers-reduced-motion:reduce){.intro,.chili,.game[data-state="idle"] .character,.game[data-state="idle"] .choice-label,.ambient-ring,.hint,.hint:before,.hint .tap-icon{animation:none!important}}

/* v8: one visible hand and matching character light per invitation slot. */
.chili-tap-guide{position:absolute;z-index:4;right:10%;bottom:65px;width:62px;height:72px;pointer-events:none;opacity:0;transform-origin:30% 10%;filter:drop-shadow(0 4px 5px #2c0a06b3)}
.chili-tap-guide svg{width:100%;height:100%;fill:#fff1cd;stroke:#8d3c0d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.chili-tap-guide .finger-crease{fill:none;stroke:#d58d36;stroke-width:1.5}
.tap-target{position:absolute;left:10%;top:2%;width:28px;height:28px;border:2px solid #ffe19a;border-radius:50%;box-shadow:0 0 14px #ffb32e80}
.game[data-state="idle"] .chili-tap-guide{animation:guide-tap-cycle 6.6s ease-in-out infinite}
.game[data-state="idle"] .character>img{animation:guide-light-cycle 6.6s ease-in-out infinite}
.game[data-state="idle"] .choice-label{animation:guide-label-cycle 6.6s ease-in-out infinite}
.game[data-state="idle"] .tap-target{animation:guide-ring-cycle 6.6s ease-out infinite}
.game[data-state="idle"] .chili-gold .chili-tap-guide,.game[data-state="idle"] .chili-gold .character>img,.game[data-state="idle"] .chili-gold .choice-label,.game[data-state="idle"] .chili-gold .tap-target{animation-delay:-4.4s!important}
.game[data-state="idle"] .chili-chest .chili-tap-guide,.game[data-state="idle"] .chili-chest .character>img,.game[data-state="idle"] .chili-chest .choice-label,.game[data-state="idle"] .chili-chest .tap-target{animation-delay:-2.2s!important}
.game:not([data-state="idle"]) .chili-tap-guide{display:none}
@keyframes guide-tap-cycle{0%{opacity:0;transform:translate(9px,12px) rotate(-18deg)}5%,9%{opacity:1;transform:translate(0,0) rotate(-18deg)}13%{opacity:1;transform:translate(-4px,-7px) rotate(-18deg) scale(.92)}18%{opacity:1;transform:translate(0,0) rotate(-18deg)}23%{opacity:1;transform:translate(-4px,-7px) rotate(-18deg) scale(.92)}28%{opacity:1;transform:translate(0,0) rotate(-18deg)}32%,100%{opacity:0;transform:translate(9px,12px) rotate(-18deg)}}
@keyframes guide-light-cycle{0%,32%,100%{filter:brightness(1) drop-shadow(0 0 0 transparent)}7%,26%{filter:brightness(1.16) drop-shadow(0 0 11px #ffd66e) drop-shadow(0 0 20px #f66d2573)}}
@keyframes guide-label-cycle{0%,32%,100%{color:#fff2d5;text-shadow:0 2px 5px #230408}7%,26%{color:#ffe28c;text-shadow:0 0 13px #ff9c37}}
@keyframes guide-ring-cycle{0%,9%{opacity:0;scale:.5}13%{opacity:1;scale:.65}18%{opacity:0;scale:1.7}19%{opacity:0;scale:.5}23%{opacity:1;scale:.65}29%,100%{opacity:0;scale:1.7}}
@media(max-width:600px){.chili-tap-guide{right:5%;bottom:51px;width:46px;height:54px}.tap-target{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){.game[data-state="idle"] .chili-tap-guide,.game[data-state="idle"] .character>img,.game[data-state="idle"] .choice-label,.game[data-state="idle"] .tap-target{animation:none!important}.game[data-state="idle"] .chili-gold .chili-tap-guide{opacity:1;transform:rotate(-18deg)}.tap-target{display:none}}
