:root{--sky1:#A9E4F5;--sky2:#EAFAFF;--sun:#FFD23F;--coral:#FF6B6B;--leaf:#3FBF6E;--grape:#8A5CD6;--blue:#3D8BFF;--pinky:#FF7FB2;--ink:#3A2E52;--ink-soft:#6B5E8C;--card:#FFFFFF;--edge:#D8CFE8;--font:"Baloo 2","Chalkboard SE","Comic Sans MS","Comic Neue","Segoe UI",sans-serif;--hill1:#CDEFC4;--hill2:#BCE5B1;--t1-bg:#FFEDEA;--t1-sh:#E8938F;--t2-bg:#E9F5FE;--t2-sh:#8FC7E8;--t3-bg:#ECF9EC;--t3-sh:#A3D9A5;--t4-bg:#FFF7DC;--t4-sh:#EAD48A;--t5-bg:#F4EDFE;--t5-sh:#CBB2EE;--t6-bg:#FFEFF6;--t6-sh:#F0AECB;--t7-bg:#FFE9E0;--t7-sh:#F2B29A;--t8-bg:#E0F5F1;--t8-sh:#93D4C8;--t9-bg:#FFF9E5;--t9-sh:#F0C868;--t10-bg:#E3F7E9;--t10-sh:#7ED0A0;--t11-bg:#EAECFC;--t11-sh:#9AA6E8;--t12-bg:#F7E8D9;--t12-sh:#D9A96B;--t13-bg:#F5E5FE;--t13-sh:#C79FE8;--t14-bg:#E3F6E0;--t14-sh:#7FC97A;--t15-bg:#E6F1FB;--t15-sh:#8FB3DE;--t16-bg:#FFEEE6;--t16-sh:#E8A98F;--t17-bg:#FFF6DE;--t17-sh:#EBC868;--t18-bg:#FBE9F0;--t18-sh:#DE8FAC;--t19-bg:#F3E9FB;--t19-sh:#B98FD9;--t20-bg:#F1EEBC;--t20-sh:#B8AC3E;--t21-bg:#F7A38E;--t21-sh:#C95F48;--t23-bg:#8F9DF5;--t23-sh:#5663C9;--t22-bg:#3CCFB4;--t22-sh:#1E9C85}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;padding:0}body{font-family:var(--font);color:var(--ink);background:linear-gradient(180deg,var(--sky1) 0%,var(--sky2) 70%,#FFF9E8 100%);background-attachment:fixed;min-height:100vh;overflow-x:hidden;touch-action:manipulation;-webkit-user-select:none;user-select:none}button{font-family:var(--font);color:var(--ink);cursor:pointer;border:none}button:focus-visible{outline:4px solid var(--blue);outline-offset:3px}.sun{position:fixed;top:-70px;left:-70px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#FFE38A 0%,var(--sun) 55%,rgba(255,210,63,0) 72%);pointer-events:none;z-index:0}.cloud{position:fixed;left:-120px;pointer-events:none;z-index:0;font-size:64px;opacity:.9;animation:drift 60s linear infinite;will-change:transform}.cloud.c2{top:16%;font-size:44px;animation-duration:85s;animation-delay:-30s;opacity:.7}.cloud.c1{top:6%}.cloud.c3{top:28%;font-size:34px;animation-duration:110s;animation-delay:-60s;opacity:.55}@keyframes drift{0%{transform:translate(0)}to{transform:translate(calc(110vw + 120px))}}.hills{position:fixed;left:0;right:0;bottom:0;height:16vh;pointer-events:none;z-index:0}.hills:before,.hills:after{content:"";position:absolute;width:75vw;height:200%;border-radius:50%}.hills:before{left:-18vw;bottom:-130%;background:var(--hill1)}.hills:after{right:-18vw;bottom:-150%;background:var(--hill2)}.scene{position:relative;z-index:1;max-width:760px;margin:0 auto;padding:8px 16px 12px;display:flex;flex-direction:column;align-items:center;gap:8px;min-height:100vh}[hidden]{display:none!important}.chunky{background:var(--card);border-radius:26px;box-shadow:0 6px 0 var(--edge),0 14px 24px #3a2e5224;transition:transform .08s ease,box-shadow .08s ease}.chunky:active{transform:translateY(5px);box-shadow:0 1px 0 var(--edge),0 6px 12px #3a2e521f}@media(hover:hover){.chunky:hover:not(:active){transform:translateY(-3px) scale(1.02)}.pill:hover:not(:active){transform:translateY(-2px)}}.hero{text-align:center;margin-top:8px}#scnHome:before{content:"";position:fixed;inset:0;z-index:-1;background-image:linear-gradient(180deg,#fff9e8eb,#fff9e800 13% 55%,#fff9e8d9),url(../assets/scenes/home-hero-bg.webp);background-size:cover;background-position:center 66%;background-repeat:no-repeat}#scnHome{padding-top:0}#scnHome .hero{position:relative;padding:0 14px 6px;margin-top:0;width:100%}#scnHome .whoplays{margin-top:0}#scnHome .hero h1,#scnHome .hero .sub{display:inline-block;background:#ffffffd9;border-radius:14px;padding:2px 16px}#scnHome .hero h1,#scnHome .hero .sub{display:none}.mascot{position:relative;z-index:2;font-size:26px;line-height:1;animation:bounce 2.6s ease-in-out infinite;filter:drop-shadow(0 8px 10px rgba(58,46,82,.2));cursor:pointer}@keyframes bounce{0%,to{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-14px) rotate(4deg)}}.mascot.excited{animation:bounceExcited .9s ease-in-out 1}@keyframes bounceExcited{0%,to{transform:translateY(0) rotate(-4deg) scale(1)}20%{transform:translateY(-22px) rotate(10deg) scale(1.1)}45%{transform:translateY(-2px) rotate(-8deg) scale(.96)}70%{transform:translateY(-18px) rotate(9deg) scale(1.06)}}h1{font-size:clamp(26px,6.5vw,40px);margin:4px 0 1px;letter-spacing:.5px;text-wrap:balance;color:var(--ink);text-shadow:0 3px 0 #fff}.sub{margin:0;font-size:clamp(15px,3.6vw,19px);color:var(--ink-soft);font-weight:700}.starbadge{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:66px;padding:10px 10px 16px;background:#fff4ce;clip-path:polygon(12% 0%,88% 0%,100% 28%,100% 58%,50% 100%,0% 58%,0% 28%);font-size:18px;font-weight:700;margin-top:6px;filter:drop-shadow(0 6px 0 #EAD48A) drop-shadow(0 8px 12px rgba(58,46,82,.16))}.starbadge.small{font-size:16px;min-width:56px;padding:9px 8px 15px;margin:0}#scnHome .badgerow{display:none}.badgerow{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.badgerow .starbadge{margin-top:6px}#scnHome .badgerow .starbadge{margin-top:0}.streakbadge{background:#ffe4d6;filter:drop-shadow(0 6px 0 #F0B896) drop-shadow(0 8px 12px rgba(58,46,82,.16))}.whoplays{display:flex;align-items:center;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:4px;background:#fff5eb4d;border-radius:999px;padding:6px 8px 6px 6px;box-shadow:0 4px 0 var(--edge),0 10px 18px #3a2e521f}.whoplays-name{font-size:16px;font-weight:700;color:var(--ink);background:none;padding:0 2px;box-shadow:none}.whoplays .switchpill{font-size:13px;padding:8px 16px;box-shadow:none;background:linear-gradient(180deg,#6fa8ff4d,#3d8bff4d);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35);min-height:44px}.whoplays .switchpill:active{box-shadow:none;background:linear-gradient(180deg,#3d8bff4d,#2c6fd94d)}#scnHome #buddyPickerRow{display:none}.settings{display:flex;flex-direction:column;gap:6px;width:100%;max-width:560px}.setlabel{font-size:13px;font-weight:700;color:var(--ink-soft);text-align:center;text-transform:uppercase;letter-spacing:1px;margin-bottom:4px}#scnHome .settings .setlabel{font-size:16px;color:var(--ink);font-weight:700;display:inline-block;background:#ffffffd9;border-radius:14px;padding:2px 16px}#themeLabel{display:none!important}.pills{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}#buddyPills{display:none}.pill{padding:12px 20px;border-radius:999px;font-size:18px;font-weight:700;background:#fff5eb4d;box-shadow:0 4px 0 var(--edge);transition:transform .08s ease}.pill:active{transform:translateY(3px);box-shadow:0 1px 0 var(--edge)}.pill.on:not(.buddy-tile){background:#8a5cd64d;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35);box-shadow:inset 0 0 0 2px #64409f,0 4px #64409f}#agePills .pill,#newAgePills .pill{clip-path:polygon(12% 0%,88% 0%,100% 28%,100% 58%,50% 100%,0% 58%,0% 28%);box-shadow:none;padding:12px 14px 18px;min-width:60px;filter:drop-shadow(0 4px 0 var(--edge)) drop-shadow(0 6px 10px rgba(58,46,82,.14))}#agePills .pill.on,#newAgePills .pill.on{filter:drop-shadow(0 4px 0 #64409F) drop-shadow(0 6px 10px rgba(58,46,82,.14))}#agePills .pill:active,#newAgePills .pill:active{filter:drop-shadow(0 1px 0 var(--edge))}#agePills .pill.on:active,#newAgePills .pill.on:active{filter:drop-shadow(0 1px 0 #64409F)}.games{display:flex;flex-direction:column;gap:18px;width:100%;max-width:600px}.games-sec{--sec-bg:#EAF4FF;--sec-bar:#BFE0FA;--sec-edge:#8FC3EA;border-radius:26px;background:var(--sec-bg);border:3px solid var(--sec-edge);box-shadow:0 6px 0 var(--sec-edge),0 14px 24px #3a2e5224;overflow:hidden}.games-sec[data-cat=pretend]{--sec-bg:#FFF1E4;--sec-bar:#FFD9B3;--sec-edge:#F2B27A}.games-sec[data-cat=adventure]{--sec-bg:#EAF8EC;--sec-bar:#BDE8C6;--sec-edge:#86C995}.games-cat{margin:0;padding:10px 16px;display:flex;align-items:baseline;gap:8px;font-size:20px;line-height:1.1;color:var(--ink);background:var(--sec-bar);border-bottom:3px solid var(--sec-edge)}.games-cat .gci{font-size:22px;line-height:1}.games-cat small{font-size:14px;color:var(--ink-soft);font-weight:700}.games-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:12px;padding:14px 12px 16px}.gamebtn{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;min-height:92px;border-radius:20px}.gamebtn .gi{font-size:32px;line-height:1;filter:drop-shadow(0 3px 3px rgba(58,46,82,.18))}.gamebtn:nth-child(odd){transform:rotate(-.8deg)}.gamebtn:nth-child(2n){transform:rotate(.8deg)}.gamebtn .gt{font-size:15px;font-weight:700;line-height:1.1;text-align:center}.gamebtn .gs{font-size:11px;color:var(--ink-soft);font-weight:700;line-height:1.1;text-align:center}.gamebtn.t1{box-shadow:0 6px 0 var(--t1-sh),0 14px 24px #3a2e5224;background:var(--t1-bg)}.gamebtn.t2{box-shadow:0 6px 0 var(--t2-sh),0 14px 24px #3a2e5224;background:var(--t2-bg)}.gamebtn.t3{box-shadow:0 6px 0 var(--t3-sh),0 14px 24px #3a2e5224;background:var(--t3-bg)}.gamebtn.t4{box-shadow:0 6px 0 var(--t4-sh),0 14px 24px #3a2e5224;background:var(--t4-bg)}.gamebtn.t5{box-shadow:0 6px 0 var(--t5-sh),0 14px 24px #3a2e5224;background:var(--t5-bg)}.gamebtn.t6{box-shadow:0 6px 0 var(--t6-sh),0 14px 24px #3a2e5224;background:var(--t6-bg)}.gamebtn.t7{box-shadow:0 6px 0 var(--t7-sh),0 14px 24px #3a2e5224;background:var(--t7-bg)}.gamebtn.t8{box-shadow:0 6px 0 var(--t8-sh),0 14px 24px #3a2e5224;background:var(--t8-bg)}.gamebtn.t9{box-shadow:0 6px 0 var(--t9-sh),0 14px 24px #3a2e5224;background:var(--t9-bg)}.gamebtn.t10{box-shadow:0 6px 0 var(--t10-sh),0 14px 24px #3a2e5224;background:var(--t10-bg)}.gamebtn.t11{box-shadow:0 6px 0 var(--t11-sh),0 14px 24px #3a2e5224;background:var(--t11-bg)}.gamebtn.t12{box-shadow:0 6px 0 var(--t12-sh),0 14px 24px #3a2e5224;background:var(--t12-bg)}.gamebtn.t13{box-shadow:0 6px 0 var(--t13-sh),0 14px 24px #3a2e5224;background:var(--t13-bg)}.gamebtn.t14{box-shadow:0 6px 0 var(--t14-sh),0 14px 24px #3a2e5224;background:var(--t14-bg)}.gamebtn.t15{box-shadow:0 6px 0 var(--t15-sh),0 14px 24px #3a2e5224;background:var(--t15-bg)}.gamebtn.t16{box-shadow:0 6px 0 var(--t16-sh),0 14px 24px #3a2e5224;background:var(--t16-bg)}.gamebtn.t17{box-shadow:0 6px 0 var(--t17-sh),0 14px 24px #3a2e5224;background:var(--t17-bg)}.gamebtn.t18{box-shadow:0 6px 0 var(--t18-sh),0 14px 24px #3a2e5224;background:var(--t18-bg)}.gamebtn.t19{box-shadow:0 6px 0 var(--t19-sh),0 14px 24px #3a2e5224;background:var(--t19-bg)}.gamebtn.t20{box-shadow:0 6px 0 var(--t20-sh),0 14px 24px #3a2e5224;background:var(--t20-bg)}.gamebtn.t21{box-shadow:0 6px 0 var(--t21-sh),0 14px 24px #3a2e5224;background:var(--t21-bg)}.gamebtn.t22{box-shadow:0 6px 0 var(--t22-sh),0 14px 24px #3a2e5224;background:var(--t22-bg)}.gamebtn.t23{box-shadow:0 6px 0 var(--t23-sh),0 14px 24px #3a2e5224;background:var(--t23-bg)}.gamebtn-badge{position:absolute;top:-9px;left:50%;transform:translate(-50%);z-index:2;background:#fff4ce;color:#8a5cd6;font-size:9px;font-weight:700;padding:3px 8px;border-radius:999px;box-shadow:0 2px #ead48a;white-space:nowrap;max-width:94%;overflow:hidden;text-overflow:ellipsis}.gamebtn.locked{filter:grayscale(.6);opacity:.7}.gamebtn.locked .gi,.gamebtn.locked .gt,.gamebtn.locked .gs{opacity:.55}.gamebtn-lock{position:absolute;inset:0;z-index:2;border-radius:26px;display:flex;align-items:center;justify-content:center;font-size:26px;background:#ffffff73}#dragonField{position:relative;width:100%;max-width:640px;height:60vh;min-height:380px;overflow:hidden;border-radius:26px;touch-action:none;background:url(../assets/scenes/dragon-cave-ember.webp) center/cover no-repeat,#6b5340;box-shadow:inset 0 0 0 3px #ffffff2e,inset 0 0 70px #00000059}#playArea>#dragonField{flex:1 1 auto;align-self:stretch;height:auto}@media(max-width:520px){#dragonField{width:100vw;max-width:none;margin-inline:calc(50% - 50vw);border-radius:0;min-height:62vh}}.dragon-hud{position:absolute;top:10px;left:10px;right:10px;z-index:5;display:flex;align-items:center;gap:10px;pointer-events:none}.dragon-score{background:#0006;color:#fff;font-weight:800;padding:5px 14px;border-radius:14px;font-size:16px;white-space:nowrap}.dragon-life-track{flex:1;height:16px;border-radius:9px;background:#0006;overflow:hidden;box-shadow:inset 0 0 0 2px #ffffff40}.dragon-life-fill{height:100%;width:100%;background:linear-gradient(90deg,#7ed0a0,#4caf7d);transition:width .15s linear,background .3s}.dragon-life-fill.low{background:linear-gradient(90deg,#ffb55e,#ff8a3d)}.dragon-life-fill.critical{background:linear-gradient(90deg,#ff6b6b,#e84545)}.dragon-sprite{position:absolute;left:14%;top:0;z-index:2}.dragon-sprite-inner{width:100%;height:100%;filter:drop-shadow(0 4px 6px rgba(0,0,0,.4))}.dragon-sprite-inner img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.dragon-sprite-inner.flap{animation:dragonFlap .25s ease}@keyframes dragonFlap{0%{transform:scale(1)}40%{transform:scale(1.15)}to{transform:scale(1)}}.dragon-item{position:absolute;top:0;width:60px;height:60px;font-size:48px;line-height:60px;text-align:center;z-index:1;filter:drop-shadow(0 3px 5px rgba(0,0,0,.4)) drop-shadow(0 0 8px rgba(255,255,255,.25))}.dragon-item.caught{animation:dragonCaught .4s ease forwards;pointer-events:none}@keyframes dragonCaught{0%{transform:scale(1)}50%{transform:scale(1.5);opacity:1}to{transform:scale(.2);opacity:0}}.dragon-item.hazard{animation:hazardGlow .5s ease-in-out infinite alternate}@keyframes hazardGlow{0%{filter:drop-shadow(0 3px 5px rgba(0,0,0,.4)) drop-shadow(0 0 10px rgba(255,90,40,.7))}to{filter:drop-shadow(0 3px 5px rgba(0,0,0,.4)) drop-shadow(0 0 20px rgba(255,180,40,1))}}.dragon-pipe{position:absolute;left:0;z-index:1;background:linear-gradient(90deg,#8b6f52,#6b5340 55%,#4e3b2c);box-shadow:inset 0 0 0 2px #ffffff14,0 3px 10px #0006}.dragon-pipe.top{top:0;clip-path:polygon(0 0,100% 0,100% 82%,88% 100%,76% 84%,64% 100%,52% 84%,40% 100%,28% 84%,16% 100%,4% 84%,0 92%)}.dragon-pipe.bottom{bottom:0;clip-path:polygon(0 100%,100% 100%,100% 18%,88% 0,76% 16%,64% 0,52% 16%,40% 0,28% 16%,16% 0,4% 16%,0 8%)}#questField{position:relative;width:100%;max-width:600px;height:60vh;min-height:380px;overflow:hidden;border-radius:26px;touch-action:none;background:linear-gradient(180deg,#bfe3f7,#eaf6ff 65%,#e8d9b8);box-shadow:inset 0 0 0 3px #ffffff2e,inset 0 0 70px #0003}#questWorld{position:absolute;top:0;left:0;height:100%;will-change:transform}.quest-char{position:absolute;top:0;z-index:3;width:100%;height:100%}.quest-char.invincible{animation:questBlink .15s steps(1) infinite}@keyframes questBlink{50%{opacity:.25}}.quest-char-flip{width:100%;height:100%;transition:transform .1s ease}.quest-char-flip.facing-left{transform:scaleX(-1)}.quest-char-badge{--c1:#FFF4CE;--c2:#EAD48A;--glow:#D9A96B;position:relative;width:100%;height:100%;border-radius:20px;background:radial-gradient(120% 120% at 30% 22%,var(--c1),var(--c2));display:flex;align-items:center;justify-content:center;overflow:visible;box-shadow:inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 4px #0000001f,0 8px 14px #3a2e5247;animation:questCharBob 1.7s ease-in-out infinite}@keyframes questCharBob{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.03,.97)}}.quest-char-badge:before{content:"";position:absolute;top:6%;left:12%;width:60%;height:46%;border-radius:50%;background:radial-gradient(circle,#ffffffb3,#fff0 72%);transform:rotate(-18deg);pointer-events:none}.quest-char-badge .qc-emo{position:relative;z-index:1;font-size:34px;line-height:1;filter:drop-shadow(0 2px 3px rgba(0,0,0,.28))}.qc-img{position:absolute;left:50%;bottom:0;transform:translate(-50%);width:150%;height:150%;object-fit:contain;object-position:bottom;filter:drop-shadow(0 4px 5px rgba(0,0,0,.3));pointer-events:none}.quest-platform{position:absolute;height:34px;border-radius:6px;z-index:1;background:repeating-linear-gradient(90deg,transparent 0 38px,rgba(0,0,0,.1) 38px 42px),linear-gradient(180deg,#d8b27e,#b98a52 55%,#96683a);box-shadow:0 6px #6b4a2a,inset 0 -6px #00000029,inset 0 3px #ffffff4d,0 12px 18px #3a2e522e}.quest-platform:before{content:"";position:absolute;top:0;left:0;right:0;height:9px;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#8fd07a,#6bb558);box-shadow:inset 0 -2px #00000024}.quest-enemy{position:absolute;font-size:36px;line-height:1;z-index:2;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35))}.quest-enemy.bat{animation:questBatFlutter .5s ease-in-out infinite alternate}@keyframes questBatFlutter{0%{filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)) brightness(1)}to{filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)) brightness(1.18)}}.quest-enemy.dragon{animation:questDragonGlow .6s ease-in-out infinite alternate}@keyframes questDragonGlow{0%{filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)) drop-shadow(0 0 4px rgba(255,120,60,.35))}to{filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)) drop-shadow(0 0 11px rgba(255,120,60,.8))}}.quest-gem{position:absolute;font-size:40px;line-height:1;z-index:2;filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)) drop-shadow(0 0 6px rgba(255,255,255,.4));animation:questGemBob 1.6s ease-in-out infinite}@keyframes questGemBob{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.08)}}.quest-gem.collected{animation:dragonCaught .4s ease forwards;pointer-events:none}.quest-hud{position:absolute;top:10px;left:10px;right:10px;z-index:5;display:flex;align-items:center;gap:10px;pointer-events:none}.quest-gemcount{margin-left:auto;background:#0006;color:#fff;font-weight:800;padding:5px 14px;border-radius:14px;font-size:16px;white-space:nowrap}.quest-prog{position:absolute;top:46px;left:12px;right:12px;height:10px;z-index:5;border-radius:6px;background:#0000004d;box-shadow:inset 0 0 0 2px #ffffff59;pointer-events:none}.quest-prog i{display:block;height:100%;width:0;border-radius:6px;transition:width .15s linear;background:linear-gradient(90deg,#ffd54a,#ff9f43)}.quest-prog-goal{position:absolute;right:-4px;top:-9px;font-size:22px;line-height:1;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}.quest-finish{position:absolute;top:0;bottom:0;width:16px;z-index:0;opacity:.6;background:repeating-conic-gradient(#fff 0 25%,#2f2640 0 50%) 0 0/16px 16px;box-shadow:0 0 18px #fff9}.quest-goal-hero{position:absolute;z-index:2;width:84px;height:84px;display:flex;align-items:flex-end;justify-content:center;font-size:64px;line-height:1;animation:questGoalBob 1.4s ease-in-out infinite;filter:drop-shadow(0 4px 5px rgba(0,0,0,.3))}.quest-goal-hero img{max-width:100%;max-height:100%;object-fit:contain}@keyframes questGoalBob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.quest-enemy.squashed{animation:questSquash .35s ease-out forwards}@keyframes questSquash{to{scale:1.5 .12;opacity:0}}.quest-pop{position:absolute;z-index:6;display:flex;flex-direction:column;align-items:center;pointer-events:none;padding:3px 10px;border-radius:12px;background:#ffffffeb;box-shadow:0 3px #3a2e5240;color:var(--ink);white-space:nowrap;line-height:1.1;animation:questPop 1.05s ease-out forwards}.quest-pop b{font-size:15px}.quest-pop small{font-size:11px;color:var(--ink-soft);font-weight:700}@keyframes questPop{0%{transform:translate(-50%) scale(.6);opacity:0}15%{transform:translate(-50%,-10px) scale(1.05);opacity:1}to{transform:translate(-50%,-46px) scale(1);opacity:0}}.quest-hearts{background:#0006;color:#fff;font-weight:800;padding:5px 14px;border-radius:14px;font-size:16px;white-space:nowrap}.quest-countdown{position:absolute;inset:0;z-index:9;display:flex;align-items:center;justify-content:center;pointer-events:none;animation:countPop .3s ease}.quest-countdown[hidden]{display:none}.quest-countdown span{font-size:clamp(80px,26vw,140px);font-weight:900;color:#fff;line-height:1;text-shadow:0 4px 0 rgba(0,0,0,.35),0 10px 24px rgba(0,0,0,.4)}.quest-intro{position:absolute;inset:0;z-index:9;display:flex;align-items:center;justify-content:center;pointer-events:none}.quest-intro[hidden]{display:none}.quest-intro-card{background:var(--card);border-radius:24px;padding:18px 32px;box-shadow:0 6px 0 var(--edge),0 14px 24px #3a2e524d;display:flex;flex-direction:column;align-items:center;gap:2px;max-width:85%;animation:countPop .35s ease}.quest-intro-icon{font-size:clamp(38px,10vw,56px);line-height:1;margin-bottom:4px}.quest-intro-es{font-size:clamp(20px,5.5vw,28px);font-weight:800;color:var(--ink);text-align:center}.quest-intro-en{font-size:clamp(15px,4vw,19px);font-weight:700;color:var(--ink-soft);text-align:center}.quest-controls{position:absolute;bottom:14px;left:0;right:0;z-index:5;display:flex;justify-content:space-between;padding:0 14px;pointer-events:none}.quest-btn{pointer-events:auto;width:72px;height:72px;border-radius:50%;font-size:30px;background:#fff;box-shadow:0 5px #c9bedd,0 10px 18px #3a2e5233;display:flex;align-items:center;justify-content:center;user-select:none}.quest-btn:active{box-shadow:0 2px #c9bedd;transform:translateY(3px)}.quest-movebtns{pointer-events:auto;display:flex;gap:14px}#questBtnJump{width:88px;height:88px;font-size:36px}#questField.autorun .quest-movebtns{display:none}#questField.autorun .quest-controls{justify-content:center}#questField.autorun .quest-btn{width:92px;height:92px;font-size:38px}.quest-mode{flex:0 0 100%;display:flex;flex-direction:column;align-items:center;gap:8px}.quest-mode-label{font-size:14px;font-weight:800;color:var(--ink-soft);text-align:center;background:#ffffffd9;border-radius:12px;padding:3px 14px}.quest-mode-opts{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.quest-mode-btn{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:132px;min-height:60px;padding:8px 16px;border:none;cursor:pointer;font-family:var(--font);color:var(--ink);border-radius:18px;background:#fff5eb4d;box-shadow:0 4px 0 var(--edge)}.quest-mode-btn .qm-i{font-size:22px;line-height:1}.quest-mode-btn .qm-t{font-size:14px;font-weight:800;line-height:1.1}.quest-mode-btn .qm-t2{font-size:12px;font-weight:600;color:var(--ink-soft);line-height:1.1}.quest-mode-btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--edge)}.quest-mode-btn.on{background:#8a5cd64d;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35);box-shadow:inset 0 0 0 2px #64409f,0 4px #64409f}.quest-mode-btn.on .qm-t2{color:#fff;opacity:.9}#questClear{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:12px;background:#3a2e5273;backdrop-filter:blur(2px);animation:qclearIn .25s ease both}#questClear[hidden]{display:none}.qclear-card{display:flex;flex-direction:column;align-items:center;gap:2px;max-width:330px;width:100%;max-height:100%;padding:10px 18px 16px;border-radius:26px;text-align:center;overflow:hidden;background:linear-gradient(180deg,#fffdf6,#fff1d8);box-shadow:0 8px 0 var(--edge),0 18px 30px #3a2e524d;animation:qclearPop .38s cubic-bezier(.2,1.5,.45,1) both}.qclear-hero{width:auto;max-width:78%;min-height:0;flex:1 1 auto;object-fit:contain;filter:drop-shadow(0 6px 10px rgba(58,46,82,.28));animation:qclearHero .6s cubic-bezier(.2,1.4,.4,1) both .1s}.qclear-es{font-size:19px;font-weight:800;line-height:1.15;color:var(--ink)}.qclear-en{font-size:14px;font-weight:700;line-height:1.15;color:var(--ink-soft)}.qclear-gems{font-size:15px;font-weight:800;color:var(--ink);margin-top:4px;background:#fff4ce;border-radius:999px;padding:2px 14px;box-shadow:0 3px #ead48a}.qclear-gems:empty{display:none}.qclear-next{margin-top:10px;min-height:56px;padding:8px 26px;border:none;cursor:pointer;font-family:var(--font);color:#fff;display:flex;flex-direction:column;align-items:center;background:linear-gradient(180deg,#3fbf6e,#2c8b4e);text-shadow:0 1px 3px rgba(0,0,0,.3);box-shadow:0 6px #1e6136,0 12px 20px #3a2e5238}.qclear-next:active{transform:translateY(3px);box-shadow:0 3px #1e6136}.qclear-next-es{font-size:19px;font-weight:800;line-height:1.1}.qclear-next-en{font-size:13px;font-weight:700;opacity:.92;line-height:1.1}@keyframes qclearIn{0%{opacity:0}to{opacity:1}}@keyframes qclearPop{0%{transform:translateY(18px) scale(.9);opacity:0}to{transform:none;opacity:1}}@keyframes qclearHero{0%{transform:scale(.5) rotate(-8deg);opacity:0}to{transform:none;opacity:1}}@media(max-height:560px){.qclear-es{font-size:16px}.qclear-en{font-size:12px}.qclear-next{min-height:48px;margin-top:6px}}#questLevelSelect{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;padding:16px 0}.quest-level-node{width:138px;min-height:150px;border-radius:22px;padding:0 0 10px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;position:relative;text-align:center;overflow:hidden;border:3px solid #FFF6DF;background:linear-gradient(180deg,#fff0 40%,#fffaf0f5 62%),var(--lvl-bg, var(--t12-bg)) center 68% / cover;box-shadow:0 6px 0 var(--t12-sh),0 14px 24px #3a2e5224}.quest-level-node .lvl-icon{font-size:30px;line-height:1;margin-bottom:2px}.quest-level-node .lvl-name{font-size:13px;font-weight:800;line-height:1.15}.quest-level-node .lvl-name2{font-size:11px;font-weight:600;line-height:1.15;color:var(--ink-soft)}.quest-level-node.locked{filter:grayscale(.55) brightness(.85)}.quest-level-node.locked .lvl-name,.quest-level-node.locked .lvl-name2{opacity:.7}@media(max-width:520px){#questLevelSelect{gap:10px;padding:8px 0}.quest-level-node{width:calc(50% - 5px);min-height:104px}}.quest-level-node .lvl-badge{position:absolute;top:6px;left:6px;background:#3a2e52;color:#fff;font-size:13px;font-weight:800;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center}#arcadeField{position:relative;width:100%;max-width:640px;min-height:340px;overflow:hidden;border-radius:26px}#playArea>#arcadeField{flex:1 1 auto;align-self:stretch}.balloon{position:absolute;top:0;width:140px;height:200px;background:transparent;padding:0;left:calc(var(--x, .5) * (100% - 140px))}.balloon .bl{display:flex;align-items:center;justify-content:center;position:relative;width:132px;height:152px;border-radius:50% 50% 46% 46%/55% 55% 45% 45%;font-size:68px;background:radial-gradient(circle at 32% 26%,#ffffffd9,#fff0 40%),var(--bc, #FFE08A);box-shadow:inset -10px -14px #00000014,0 8px 14px #3a2e522e;animation:sway 3.2s ease-in-out infinite alternate}.balloon:nth-child(2n) .bl{animation-delay:-1.6s}.balloon .bl:after{content:"";position:absolute;left:50%;bottom:-9px;width:16px;height:12px;transform:translate(-50%);background:var(--bc, #FFE08A);border-radius:3px 3px 6px 6px;clip-path:polygon(50% 0,100% 100%,0 100%)}.balloon:after{content:"";position:absolute;left:50%;top:162px;width:14px;height:36px;border-left:3px solid rgba(58,46,82,.35);border-radius:0 0 0 70%;transform:translate(-50%)}@keyframes sway{0%{transform:rotate(-4deg) scale(var(--bs,1))}to{transform:rotate(4deg) scale(var(--bs,1))}}.balloon.pop{pointer-events:none}.balloon.pop .bl{animation:popB .3s ease forwards}.balloon.pop:after{opacity:0}@keyframes popB{to{transform:scale(1.7);opacity:0}}@media(max-width:520px){.balloon{width:112px;height:160px;left:calc(var(--x, .5) * (100% - 112px))}.balloon .bl{width:106px;height:122px;font-size:54px}.balloon:after{top:130px}}.tip{font-size:13px;color:var(--ink-soft);font-weight:700;text-align:center;max-width:420px;background:url(../assets/scenes/texture-parchment.webp) center/cover,var(--card);border-radius:14px;padding:8px 16px;box-shadow:0 4px 0 var(--edge)}@media(max-height:800px){#scnHome .tip{display:none}}@media(max-width:520px){#scnHome .tip{display:none}}#traceStage{position:relative;display:block;width:100%;max-width:420px;aspect-ratio:1;max-height:60vh;min-height:280px;margin:0 auto}#traceStage[hidden]{display:none}#tracingField{display:block;width:100%;height:100%;touch-action:none;border-radius:18px;background:url(../assets/scenes/texture-parchment.webp) center/cover,#fff8e7;box-shadow:0 6px 0 var(--edge),0 14px 24px #3a2e522e,inset 0 0 0 3px #ffffffb3}#traceHintBadges{position:absolute;inset:0;pointer-events:none}.trace-badge{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;background:var(--grape);box-shadow:0 2px #64409f}#abcHintCanvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#abcReplay{margin-top:12px;padding:12px 20px;font-size:16px;font-weight:700}#abcReveal{display:flex;flex-direction:column;gap:8px;align-items:center;margin-top:12px;padding:14px 18px;border-radius:22px;background:var(--card);box-shadow:0 6px 0 var(--edge),0 14px 24px #3a2e5224;animation:winPop .45s ease}#abcReveal[hidden]{display:none}.abc-reveal-line{display:flex;align-items:center;gap:10px;font-weight:700}.abc-reveal-emo{font-size:38px;line-height:1}#abcRevealEs .abc-reveal-text{font-size:20px}#abcRevealEn .abc-reveal-text{font-size:15px;color:var(--ink-soft)}#celLap{margin:0 0 6px;font-weight:700;color:var(--grape)}#celLap[hidden]{display:none}#scnGame:before,#scnCelebrate:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#fff9e873,#fff9e800 30%),var(--game-bg, none) center bottom / cover no-repeat}body[data-scene=scnGame] :is(.sun,.hills,.cloud),body[data-scene=scnCelebrate] :is(.sun,.hills,.cloud){display:none}#scnGame[data-game=animals]{--game-bg:url(../assets/scenes/game-animals.webp)}#scnGame[data-game=colors]{--game-bg:url(../assets/scenes/game-colors.webp)}#scnGame[data-game=numbers]{--game-bg:url(../assets/scenes/game-numbers.webp)}#scnGame[data-game=food]{--game-bg:url(../assets/scenes/game-food.webp)}#scnGame[data-game=body]{--game-bg:url(../assets/scenes/game-body.webp)}#scnGame[data-game=memory]{--game-bg:url(../assets/scenes/game-memory.webp)}#scnGame[data-game=arcade],#scnGame[data-game=dragon],#scnGame[data-game=quest],#scnGame[data-game=archer]{--game-bg:url(../assets/scenes/game-arcade.webp)}#scnGame[data-game=story]{--game-bg:url(../assets/scenes/game-story.webp)}#scnGame[data-game=feed]{--game-bg:url(../assets/scenes/game-feed.webp)}#scnGame[data-game=shapes]{--game-bg:url(../assets/scenes/game-shapes.webp)}#scnGame[data-game=music]{--game-bg:url(../assets/scenes/game-music.webp)}#scnGame[data-game=sports]{--game-bg:url(../assets/scenes/game-sports.webp)}#scnGame[data-game=weather]{--game-bg:url(../assets/scenes/game-weather.webp)}#scnGame[data-game=clothing]{--game-bg:url(../assets/scenes/game-clothing.webp)}#scnGame[data-game=emotions]{--game-bg:url(../assets/scenes/game-emotions.webp)}#scnGame[data-game=family]{--game-bg:url(../assets/scenes/game-family.webp)}#scnGame[data-game=dressup]{--game-bg:url(../assets/scenes/game-dressup.webp)}#scnGame[data-game=abc],#scnGame[data-game=tracing],#scnGame[data-game=readalong]{--game-bg:url(../assets/scenes/game-abc.webp)}#scnCelebrate{--game-bg:url(../assets/scenes/game-celebrate.webp)}.emo{display:inline-block;width:1em;height:1em;vertical-align:-.12em;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}img.emo{filter:drop-shadow(0 2px 0 rgba(58,46,82,.1))}img.emo-art{width:1.3em;height:1.3em;filter:drop-shadow(0 3px 2px rgba(58,46,82,.18))}.memfront img.emo-art{width:1.9em;height:1.9em}#playArea{flex:1;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:0}#playArea>*{flex:none}#playArea:after{content:"";display:block;flex:none;height:14vh}#scnGame:is([data-game=dressup],[data-game=memory],[data-game=abc],[data-game=tracing],[data-game=cook],[data-game=hide],[data-game=readalong],[data-game=quest],[data-game=dragon],[data-game=arcade],[data-game=archer]) #playArea:after,#scnGame[data-game=story]:has(#choices>:nth-child(4)) #playArea:after{display:none}@media(max-width:520px){#playArea:after{display:none}}.game-buddy{position:fixed;left:14px;bottom:12px;z-index:2;font-size:76px;line-height:1;pointer-events:none;animation:bounce 2.6s ease-in-out infinite;filter:drop-shadow(0 8px 10px rgba(58,46,82,.25))}.game-buddy.cheer{animation:bounceExcited .9s ease-in-out 1}.game-buddy.wobble{animation:shake .45s ease 1}@media(max-width:520px){.game-buddy{font-size:54px;left:8px;bottom:8px}}.cel-buddy{left:calc(50% - 60px);bottom:10vh;font-size:120px;animation:bounceExcited 1.1s ease-in-out infinite}@media(max-width:520px){.cel-buddy{font-size:96px;left:calc(50% - 48px);bottom:8vh}}#scnGame[data-game=cook]{--game-bg:url(../assets/scenes/game-cook.webp)}#cookField{width:100%;max-width:640px;display:flex;flex-direction:column;gap:10px}.cook-hud{display:flex;align-items:center;justify-content:space-between;gap:10px}.cook-level,.cook-coins{background:#ffffffeb;border-radius:16px;padding:6px 12px;font-weight:800;font-size:18px;box-shadow:0 3px 0 var(--edge)}.cook-level{letter-spacing:1px;font-size:16px}.cook-replay{padding:8px 16px;font-size:20px;font-weight:800;border-radius:18px}.cook-replay:disabled{opacity:.4;pointer-events:none}.cook-tickets{display:flex;gap:10px;justify-content:center}.cook-ticket{position:relative;width:68px;height:58px;padding:4px 4px 10px;overflow:hidden;border-radius:16px}.cook-ticket img{height:100%;width:100%;object-fit:contain;pointer-events:none}.cook-ticket i{position:absolute;left:6px;bottom:4px;height:5px;width:100%;max-width:calc(100% - 12px);background:#5bc57b;border-radius:3px}.cook-ticket.on{box-shadow:0 0 0 4px var(--grape),0 5px 0 var(--edge)}.cook-ticket.done{opacity:.5}.cook-ticket span{position:absolute;right:4px;top:0;font-weight:800;color:#2e8b57}.cook-top{display:flex;gap:10px;align-items:flex-end}.cook-cust{position:relative;flex:none;width:104px;text-align:center}.cook-cust img{width:100%;aspect-ratio:1;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 4px rgba(58,46,82,.25))}.cook-cust.happy img{animation:bounceExcited .9s ease 2}.cook-cust.silly img{animation:bounceExcited .6s ease 3}.cook-cust.yuck img,.cook-cust.wait img{animation:shake .45s ease}.cook-meter{height:10px;background:#3a2e5233;border-radius:6px;overflow:hidden;margin-top:2px}.cook-meter i{display:block;height:100%;width:100%;background:#5bc57b;transition:width .12s linear}.cook-meter i.mid{background:#f5b942}.cook-meter i.low{background:#f2705e}.cook-new{display:block;margin:0 0 4px;width:100%;text-align:center;background:var(--coral);color:#fff;font-weight:800;font-size:11px;line-height:1.15;padding:3px 4px;border-radius:10px;box-shadow:0 3px #c2483e}.cook-new[hidden]{display:none}.cook-bubble{position:relative;flex:1;min-width:0;background:#fff;border-radius:22px;padding:10px 14px;box-shadow:0 5px 0 var(--edge),0 12px 20px #3a2e521f;min-height:88px}.cook-bubble:before{content:"";position:absolute;left:-9px;bottom:22px;width:18px;height:18px;background:#fff;transform:rotate(45deg);border-radius:3px}.cook-bubble.hidden-order{background:#eaf3ff}.cook-bubble.hidden-order:before{background:#eaf3ff}.cb-main{font-weight:800;font-size:16px;line-height:1.2}.cb-sub{font-size:12px;font-weight:700;color:var(--ink-soft);margin-top:3px;line-height:1.2}.cb-pics{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.cb-pic{display:inline-flex;align-items:center;gap:3px;background:#fff6e4;border-radius:12px;padding:2px 8px 2px 4px;font-size:26px}.cb-pic b{font-size:13px;font-weight:800}.cb-pic.no{background:#ffe9e6}.cook-hint{margin-top:6px;background:#ffe9e6;color:#a0392b;border-radius:12px;padding:5px 10px;font-size:13px;font-weight:800;line-height:1.25}.cook-counter{position:relative;display:flex;align-items:stretch;gap:12px;padding:10px 12px;min-height:132px;background:url(../assets/scenes/texture-wood.webp) center/cover,#d9a05b;border-radius:20px;box-shadow:0 6px #a7733a,inset 0 4px #ffffff40,0 12px 20px #3a2e5229}.cook-base{position:relative;flex:1;display:flex;align-items:center;justify-content:center;min-height:112px}.cook-base-art{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.cook-base-art img{height:100%;max-height:118px;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 4px rgba(58,46,82,.3))}.cook-plate{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;max-width:170px;min-height:60px;font-size:34px}.cook-base.stack .cook-plate{flex-direction:column-reverse;flex-wrap:nowrap;align-items:center;max-width:none}.cook-base.stack .cook-item{margin-top:-20px}.cook-item{display:inline-block;line-height:1;touch-action:none;cursor:grab;animation:winPop .4s ease}.cook-item.dragging,.cook-tile.dragging{position:relative;z-index:60;filter:drop-shadow(0 10px 8px rgba(58,46,82,.3))}.cook-side{flex:none;display:flex;flex-direction:column;gap:8px;width:68px}.cook-bell{flex:1;padding:4px;border-radius:18px;background:linear-gradient(180deg,#fff3c4,#ffd966)}.cook-bell img,.cook-bin img{width:100%;height:100%;object-fit:contain;pointer-events:none}.cook-bell.ring{animation:bounceExcited .5s ease}.cook-bin{flex:1;padding:4px;background:#fff9;border-radius:18px}.cook-float{position:absolute;left:50%;top:6px;z-index:70;font-weight:800;font-size:26px;color:#fff;text-shadow:0 2px 0 #A7733A;animation:cookFloat 1.3s ease forwards;pointer-events:none}@keyframes cookFloat{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-60px)}}.cook-shelf{display:grid;grid-template-columns:repeat(var(--cols,4),1fr);gap:8px}.cook-tile{min-width:0;min-height:62px;padding:6px;font-size:42px;line-height:1;touch-action:none;display:flex;align-items:center;justify-content:center;border:3px solid rgba(255,255,255,.9)}@media(min-width:600px){.cook-shelf{grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.cook-tile{min-height:74px;font-size:48px}}@media(max-width:520px){.cook-tile{min-height:58px;font-size:38px;padding:4px}}@media(max-width:520px){.cook-cust{width:88px}.cb-main{font-size:15px}}#scnGame[data-game=hide]{--game-bg:url(../assets/scenes/game-hide.webp)}#archerField{width:100%;max-width:640px;display:flex;flex-direction:column;gap:8px}.arc-hud{display:flex;align-items:center;justify-content:space-between;gap:8px}.arc-hearts,.arc-hp,.arc-wind{background:#ffffffe0;border-radius:16px;padding:4px 12px;box-shadow:0 3px 0 var(--edge);font-weight:800;white-space:nowrap;font-size:16px;line-height:1.15}.arc-wind{display:flex;flex-direction:column;align-items:center;font-size:15px}.arc-wind .aw-l{font-size:11px;color:var(--ink-soft)}.arc-wind.changed{animation:arcWindPulse .7s ease-out}@keyframes arcWindPulse{0%{transform:scale(1);background:#ffe9a0}35%{transform:scale(1.18);background:#ffd54a}to{transform:scale(1);background:#ffffffe0}}.arc-wind .aw-v{font-size:16px;color:var(--ink)}.arc-stage{position:relative;width:min(100%,48vh);align-self:center}@media(min-height:720px){.arc-stage{width:min(100%,calc(50vh * 4 / 3))}}.arc-canvas{display:block;width:100%;height:auto;aspect-ratio:4/3;border-radius:22px;touch-action:none;background:#ffffff14;box-shadow:inset 0 0 0 3px #ffffff4d;cursor:crosshair}.arc-toast{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;pointer-events:none;text-align:center;animation:arcToast .35s ease-out}.arc-toast[hidden]{display:none}.arc-toast b{font-size:clamp(24px,7vw,38px);color:#fff;text-shadow:0 3px 0 #5B3FA0,0 6px 14px rgba(0,0,0,.35)}.arc-toast small{font-size:clamp(14px,4vw,20px);font-weight:700;color:#fff;text-shadow:0 2px 0 #5B3FA0}@keyframes arcToast{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}.arc-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-items:end}@media(min-width:640px){.arc-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}}.arc-ctl{display:flex;flex-direction:column;gap:1px;min-width:0;background:#ffffffe0;border-radius:18px;padding:6px 10px 8px;box-shadow:0 3px 0 var(--edge)}.arc-lab{display:flex;justify-content:space-between;align-items:baseline;font-size:13px;font-weight:800;color:var(--ink-soft)}.arc-lab b{font-size:22px;color:var(--ink)}.arc-row{display:flex;align-items:center;gap:6px}.arc-row input[type=range]{flex:1;min-width:0;height:40px;accent-color:#6C5CE7}.arc-step{flex:none;width:44px;height:44px;padding:0;font-size:26px;font-weight:900;border-radius:50%;line-height:1}.arc-fire{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding-top:8px;padding-bottom:8px;font-size:22px;line-height:1.1}.arc-fire small{font-size:14px;opacity:.9}.arc-fire .af-i{font-size:30px}.arc-fire.off,.arc-fire:disabled{opacity:.45;filter:grayscale(.5);box-shadow:0 3px #1e6136;transform:none}#hideField{width:100%;max-width:640px;display:flex;flex-direction:column;gap:10px}.hide-hud{display:flex;align-items:center;justify-content:space-between;gap:10px}.hide-level,.hide-coins{background:#ffffffeb;border-radius:16px;padding:6px 12px;font-weight:800;font-size:18px;box-shadow:0 3px 0 var(--edge)}.hide-level{letter-spacing:1px;font-size:16px}.hide-replay{padding:8px 16px;font-size:20px;font-weight:800;border-radius:18px}.hide-replay:disabled{opacity:.4;pointer-events:none}.hide-clue{background:#fff;border-radius:22px;padding:12px 16px;text-align:center;box-shadow:0 5px 0 var(--edge),0 12px 20px #3a2e521f;min-height:84px}.hc-main{font-weight:800;font-size:21px;line-height:1.2}.hc-sub{font-size:14px;font-weight:700;color:var(--ink-soft);margin-top:3px;line-height:1.2}.hide-hint{margin-top:8px;background:#e4f7f1;color:#176b58;border-radius:12px;padding:5px 10px;font-size:13px;font-weight:800;line-height:1.25}.hide-hint[hidden]{display:none}.hide-stage{position:relative;margin:56px auto 0;--u:1}.hide-obj{position:absolute;z-index:2;pointer-events:none}.hide-obj img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 3px rgba(58,46,82,.25))}.hide-ani{position:absolute;z-index:3;padding:0;border:0;background:none;cursor:pointer;touch-action:manipulation}.hide-ani.layer-back{z-index:1}.hide-ani:after{content:"";position:absolute;inset:min(-6px,calc(50% - 22px))}.hide-ani img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 3px rgba(58,46,82,.3));transition:filter .35s ease}.hide-ani.hid img{filter:brightness(0) opacity(.5)}.hide-ani.hid:before{content:"?";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1;font-weight:800;font-size:calc(var(--u)*24px);color:#fff;text-shadow:0 2px 0 rgba(58,46,82,.5);pointer-events:none}.hide-ani.talk img{animation:hideTalk .7s ease-in-out infinite}.hide-ani.hop img{animation:bounceExcited .8s ease 2}.hide-ani.shake{animation:shake .45s ease}@keyframes hideTalk{0%,to{transform:scale(1)}50%{transform:scale(1.18)}}.hide-float{position:absolute;left:50%;top:0;z-index:70;font-weight:800;font-size:26px;color:#fff;text-shadow:0 2px 0 #1E9C85;animation:hideFloat 1.3s ease forwards;pointer-events:none}@keyframes hideFloat{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-60px)}}@media(max-width:520px){.hc-main{font-size:19px}}.gamebar{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:600px;gap:10px}.iconbtn{font-size:24px;padding:10px 16px;border-radius:20px}.dots{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.dot{width:13px;height:13px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px var(--edge)}.dot.done{background:var(--sun);box-shadow:inset 0 0 0 2px #e3b324}.dot.now{background:var(--coral);box-shadow:inset 0 0 0 2px #d14a4a;animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.35)}}.prompt{display:flex;align-items:center;gap:14px;padding:14px 20px;width:100%;max-width:600px;background:var(--card);border-radius:26px;box-shadow:0 6px 0 var(--edge),0 14px 24px #3a2e5224}.speakbtn{font-size:30px;padding:12px 16px;border-radius:22px;background:#fff4ce;box-shadow:0 5px #ead48a;flex:none;transition:transform .08s ease}.speakbtn:active{transform:translateY(4px);box-shadow:0 1px #ead48a}.pt-main{font-size:clamp(21px,5.4vw,30px);font-weight:700;line-height:1.15}.pt-sub{font-size:clamp(13px,3.4vw,16px);color:var(--ink-soft);font-weight:700;margin-top:2px}#countArea{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:480px;font-size:clamp(38px,9vw,54px);line-height:1.1;min-height:0}#scnGame[data-game=numbers] #countArea:not(:empty){padding:14px 18px 18px;border-radius:18px;background:url(../assets/scenes/texture-wood.webp) center/cover,#d9a05b;box-shadow:inset 0 4px #ffffff40,0 6px #a7733a,0 12px 18px #3a2e522e}#scnGame[data-game=story] #choices{grid-template-columns:repeat(3,1fr)}#scnGame[data-game=story] #choices>.cardbtn:nth-child(odd){transform:rotate(-1.5deg)}#scnGame[data-game=story] #choices>.cardbtn:nth-child(2n){transform:rotate(1.5deg)}@media(max-width:520px){#scnGame[data-game=story] #choices{grid-template-columns:1fr 1fr;gap:10px}#scnGame[data-game=story] .cardbtn{min-height:126px;padding:10px 6px}#scnGame[data-game=story] .cardbtn .ci{font-size:52px}#scnGame[data-game=story] .cardbtn .cw{font-size:17px}#scnGame[data-game=story] .cardbtn .cw2{font-size:12px}}.count-item{display:inline-block;position:relative;min-width:44px;min-height:44px;padding:4px;border:0;background:none;font:inherit;line-height:inherit;color:inherit;cursor:pointer;border-radius:14px;-webkit-tap-highlight-color:transparent;animation:countPop .32s ease}.count-item:active{transform:scale(.9)}.count-item:focus-visible{outline:3px solid var(--edge);outline-offset:2px}.count-item.tapped{animation:countBounce .35s ease}.count-item .count-n{position:absolute;right:-2px;bottom:-2px;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:#ffd54a;color:var(--ink);border:2px solid #fff;box-sizing:border-box;font-size:15px;font-weight:800;line-height:20px;text-align:center;box-shadow:0 2px 0 var(--edge)}@keyframes countPop{0%{transform:scale(0) rotate(-12deg);opacity:0}60%{transform:scale(1.25) rotate(6deg);opacity:1}to{transform:scale(1) rotate(0);opacity:1}}@keyframes countBounce{0%{transform:scale(1)}40%{transform:scale(1.3) rotate(-6deg)}to{transform:scale(1) rotate(0)}}#choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;justify-content:center;width:100%;max-width:640px}#choices:empty{display:none}.cardbtn{position:relative;min-width:0;min-height:190px;background:linear-gradient(180deg,#fff,#f6f2ff);border:3px solid rgba(255,255,255,.9);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 10px}.cardbtn{animation:cardIn .36s cubic-bezier(.34,1.4,.64,1) backwards}.cardbtn:nth-child(2){animation-delay:.07s}.cardbtn:nth-child(3){animation-delay:.14s}.cardbtn:nth-child(4){animation-delay:.21s}.cardbtn:nth-child(5){animation-delay:.28s}.cardbtn:nth-child(6){animation-delay:.35s}@keyframes cardIn{0%{opacity:0;transform:translateY(18px) scale(.86)}to{opacity:1;transform:none}}.cardbtn .ci{font-size:clamp(72px,16vw,112px);line-height:1}.cardbtn .cw{font-size:22px;font-weight:700}.cardbtn .cw2{font-size:15px;color:var(--ink-soft);font-weight:700}@media(max-width:520px){#choices{grid-template-columns:1fr 1fr;gap:12px}#choices>.cardbtn:last-child:nth-child(odd){grid-column:1 / -1;width:calc(50% - 6px);justify-self:center}.cardbtn{min-height:160px}}.cardbtn .swatch{width:clamp(84px,18vw,120px);height:clamp(80px,17vw,112px);position:relative;border-radius:58% 42% 55% 45%/48% 58% 42% 52%;box-shadow:inset 0 -8px #0000001f,inset 0 3px #ffffff40,0 4px 8px #3a2e5233}.cardbtn .swatch:after{content:"";position:absolute;left:22%;top:16%;width:26%;height:18%;border-radius:50%;background:#ffffffa6;transform:rotate(-20deg)}.cardbtn.numcard .ci{font-size:clamp(48px,12vw,72px);font-variant-numeric:tabular-nums}.cardbtn.dim{opacity:.35;pointer-events:none;transform:scale(.94)}.cardbtn.win{animation:cardIn .36s cubic-bezier(.34,1.4,.64,1) backwards,winPop .6s ease}.cardbtn.shake{animation:cardIn .36s cubic-bezier(.34,1.4,.64,1) backwards,shake .45s ease}.cardbtn.locked{filter:grayscale(.6);opacity:.7}.cardbtn.locked .ci,.cardbtn.locked .cw,.cardbtn.locked .cw2{opacity:.55}@keyframes winPop{0%{transform:scale(1)}40%{transform:scale(1.14) rotate(3deg)}to{transform:scale(1)}}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-9px) rotate(-2deg)}40%{transform:translate(9px) rotate(2deg)}60%{transform:translate(-6px)}80%{transform:translate(6px)}}#memGrid{display:grid;gap:14px;width:100%;max-width:600px;justify-content:center}.memcard{position:relative;aspect-ratio:1;border-radius:20px;perspective:700px;background:transparent;padding:0;min-width:0}.memface{position:absolute;inset:0;border-radius:20px;display:flex;align-items:center;justify-content:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform .4s ease;font-weight:700}.memback{color:#fff;font-size:clamp(26px,7vw,40px);border:4px solid #FFF6DF;background:radial-gradient(circle,rgba(255,255,255,.28) 0 5px,transparent 6px) 0 0 / 26px 26px,radial-gradient(circle,rgba(255,255,255,.18) 0 5px,transparent 6px) 13px 13px / 26px 26px,linear-gradient(180deg,#9C6BE0,var(--grape));box-shadow:0 5px #64409f,0 10px 16px #3a2e5229}.memfront{background:var(--card);transform:rotateY(180deg);box-shadow:0 5px 0 var(--edge);font-size:clamp(30px,8vw,52px);padding:6px;text-align:center}.memfront.wordface{font-size:clamp(15px,4vw,21px);flex-direction:column;line-height:1.15}.memfront.wordface small{font-size:.72em;font-weight:600;opacity:.7}.memcard.open .memback{transform:rotateY(180deg)}.memcard.open .memfront{transform:rotateY(0)}.memcard.matched{pointer-events:none}.memcard.matched .memfront{background:#ecf9ec;box-shadow:0 5px #a3d9a5;animation:winPop .6s ease}.celebrate{text-align:center;margin-top:8vh;display:flex;flex-direction:column;align-items:center;gap:14px}.celebrate .big{position:relative;font-size:120px;line-height:1;animation:bounce 1.8s ease-in-out infinite}.celebrate .big:before{content:"";position:absolute;inset:-46px;z-index:-1;border-radius:50%;background:repeating-conic-gradient(rgba(255,210,63,.42) 0 10deg,rgba(138,92,214,.24) 10deg 20deg,transparent 20deg 30deg);animation:sunspin 16s linear infinite;-webkit-mask-image:radial-gradient(circle,#000 30%,transparent 70%);mask-image:radial-gradient(circle,#000 30%,transparent 70%)}@keyframes sunspin{to{transform:rotate(360deg)}}.celebrate-wash{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 28%,#ffd23f52,#8a5cd633 42%,#3d4aa800 72%)}.celebrate-wash.playing{animation:washIn 1.2s ease forwards}@keyframes washIn{0%{opacity:0;transform:scale(.82)}60%{opacity:1}to{opacity:1;transform:scale(1)}}.celebrate h2{font-size:clamp(34px,8vw,50px);margin:0;text-shadow:0 3px 0 #fff}.celebrate p{font-size:clamp(17px,4.4vw,22px);color:var(--ink-soft);font-weight:700;margin:0}.celrow{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:10px}.celbtn{font-size:20px;font-weight:700;padding:16px 26px;border-radius:26px}.celbtn.go{background:#2c8b4e;color:#fff;box-shadow:0 6px #1e6136,0 14px 24px #3a2e5224}.celbtn.go:active{box-shadow:0 1px #1e6136}.voice-banner{width:100%;max-width:560px;border-radius:20px;padding:12px 16px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;text-align:left}.voice-banner.warn{background:#fff4ce;box-shadow:0 4px #ead48a}.voice-banner.tip{background:#e4f1ff;box-shadow:0 4px #b7d9f5}.vb-text{flex:1 1 260px;font-size:13.5px;font-weight:700;color:var(--ink);line-height:1.45}.voice-banner.warn .vb-text b{color:#8a5cd6}.voice-banner.tip .vb-text b{color:#2e6fb3}.vb-actions{display:flex;gap:8px;flex:none;flex-wrap:wrap}.vb-actions .iconbtn{font-size:13px;padding:8px 12px;border-radius:14px}a.iconbtn{display:inline-block;text-decoration:none;color:var(--ink);cursor:pointer;font-family:var(--font)}.book{width:100%;max-width:520px;background:var(--card);border-radius:26px;padding:22px 18px 18px;box-shadow:0 6px 0 var(--edge),0 14px 24px #3a2e5224;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.book-art{position:relative;font-size:clamp(60px,15vw,96px);line-height:1.15;filter:drop-shadow(0 6px 8px rgba(58,46,82,.2))}.book-badge{position:absolute;right:-30px;bottom:-4px;font-size:42px;line-height:1;background:var(--card);border-radius:50%;padding:7px;box-shadow:0 3px 0 var(--edge),0 6px 10px #3a2e5226}.book-line{font-size:clamp(19px,4.8vw,25px);font-weight:700;text-wrap:balance}.book-sub{font-size:clamp(13px,3.4vw,16px);color:var(--ink-soft);font-weight:700}.book-dots{display:flex;gap:7px;margin-top:2px}.book-nav{display:flex;gap:12px;align-items:center;margin-top:6px;flex-wrap:wrap;justify-content:center}.book.playing .book-art{animation:pageBreathe 1.8s ease-in-out infinite}.book.playing #bkSay{box-shadow:0 5px #ead48a,0 0 0 5px #ffd23f73;animation:sayPulse 1.4s ease-in-out infinite}@keyframes pageBreathe{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes sayPulse{0%,to{box-shadow:0 5px #ead48a,0 0 0 5px #ffd23f73}50%{box-shadow:0 5px #ead48a,0 0 0 9px #ffd23f26}}.rbw{display:inline-block;border-radius:8px;padding:1px 3px;margin:0 -3px;cursor:pointer;transition:background-color .12s ease,color .12s ease}.rbw:active{background:#8a5cd62e}.rbw.said{background:var(--sun);color:var(--ink);box-shadow:0 2px #e3b324}.drop-ready{outline:4px dashed rgba(255,255,255,.95);outline-offset:6px;border-radius:26px;animation:dropPulse 1s ease-in-out infinite}.drop-hot{outline:4px solid #FFD54A;outline-offset:6px;animation:none;background-color:#ffd54a38;box-shadow:0 0 0 10px #ffd54a47,0 0 26px #ffd54ab3}@keyframes dropPulse{0%,to{outline-offset:6px;opacity:1}50%{outline-offset:10px;opacity:.92}}@media(prefers-reduced-motion:reduce){.drop-ready{animation:none}}.feed-stage{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;margin-bottom:4px}.feed-animal-emoji{font-size:clamp(110px,26vw,170px);line-height:1;animation:bounce 2.2s ease-in-out infinite;filter:drop-shadow(0 8px 10px rgba(58,46,82,.2));position:relative;z-index:1}.feed-animal-emoji.gulp{animation:gulp .55s ease}@keyframes gulp{0%{transform:scale(1)}30%{transform:scale(1.22,.82)}55%{transform:scale(.88,1.16)}to{transform:scale(1)}}.feed-mouth{width:150px;height:54px;margin-top:-18px;pointer-events:none;position:relative;background:linear-gradient(180deg,#f7d9a8,#d9a05b);border-radius:12px 12px 40px 40px/10px 10px 30px 30px;box-shadow:inset 0 10px #ffffff59,0 5px #a7733a,0 10px 16px #3a2e522e}.feed-mouth:before{content:"";position:absolute;left:10px;right:10px;top:-8px;height:18px;border-radius:50%;background:#b9803d;box-shadow:inset 0 3px #0000001f}.feed-tray{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;width:100%;max-width:640px;margin-top:10px}.feed-chip{min-width:0;min-height:170px;background:linear-gradient(180deg,#fff,#f6f2ff);border:3px solid rgba(255,255,255,.9);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:14px 10px;touch-action:none;user-select:none}@media(max-width:520px){.feed-tray{grid-template-columns:1fr 1fr;gap:12px}.feed-tray>.feed-chip:last-child:nth-child(odd){grid-column:1 / -1}.feed-chip{min-height:140px}}.feed-chip .ci{font-size:clamp(64px,14vw,92px);line-height:1}.feed-chip .cw{font-size:17px;font-weight:700}.feed-chip .cw2{font-size:13px;color:var(--ink-soft);font-weight:700}.feed-chip.dragging{z-index:6;box-shadow:0 16px 28px #3a2e524d,0 6px 0 var(--edge)}.feed-chip.dim{opacity:.35}.dress-stage{position:relative;isolation:isolate;width:100%;max-width:300px;aspect-ratio:1;margin:0 auto 6px}.dress-stage:after{content:"";position:absolute;left:18%;right:18%;bottom:2%;height:8%;border-radius:50%;background:#3a2e522e;filter:blur(4px);z-index:-1}.dress-char,.dress-worn{animation:bounce 2.6s ease-in-out infinite}.dress-char{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.dress-worn{position:absolute;inset:0}.dress-worn-item{position:absolute;object-fit:contain;animation:winPop .45s ease;filter:drop-shadow(0 3px 3px rgba(58,46,82,.22))}.dress-emoji{display:flex;align-items:center;justify-content:center;font-size:clamp(30px,9vw,52px);line-height:1}span.dress-worn-item{aspect-ratio:1}.dress-checklist{display:flex;flex-direction:column;gap:6px;width:100%;max-width:420px;margin:0 auto 10px}.dress-check-item{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:16px;background:#ffffffeb;box-shadow:0 3px 0 var(--edge)}.dress-check-item:not(.now):not(.done) .dress-check-words{opacity:.75}.dress-check-item.now{box-shadow:0 3px 0 var(--grape),0 0 0 3px #8a5cd638}.dress-check-item.done{opacity:.6}.dress-check-item.done .dress-check-words{text-decoration:line-through}.dress-check-n{width:24px;height:24px;flex:none;border-radius:50%;color:#fff;background:var(--grape);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}.dress-check-emo{font-size:22px;line-height:1}.dress-check-words{display:flex;flex-direction:column;line-height:1.15}.dress-check-words .dcw{font-size:16px;font-weight:700}.dress-check-words .dcw2{font-size:12px;color:var(--ink-soft);font-weight:700}.dress-tray{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;width:100%;max-width:620px;margin:0 auto}.dress-chip{position:relative;flex:1 1 130px;max-width:170px;min-width:120px;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 8px;touch-action:none}.dress-chip-art{width:64px;height:64px;object-fit:contain}.dress-chip .cw{font-size:15px;font-weight:700}.dress-chip .cw2{font-size:12px;color:var(--ink-soft);font-weight:700}.dress-chip.dragging{z-index:30;box-shadow:0 10px 18px #3a2e5240}@media(max-width:520px){.dress-stage{max-width:200px}.dress-checklist{gap:4px;margin-bottom:6px}.dress-check-item{padding:5px 10px}.dress-check-words .dcw{font-size:14px}.dress-tray{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dress-chip{min-width:0;max-width:none;min-height:104px;padding:8px 4px}.dress-chip-art{width:48px;height:48px}.dress-chip .cw{font-size:12px}.dress-chip .cw2{font-size:10px}}.namerow{display:flex;gap:10px;justify-content:center;align-items:stretch}.nameinput{font-family:var(--font);font-size:20px;font-weight:700;color:var(--ink);background:url(../assets/scenes/texture-parchment.webp) center/cover,var(--card);border:none;border-radius:20px;padding:12px 18px;width:min(260px,60vw);box-shadow:0 4px 0 var(--edge);text-align:center;-webkit-user-select:text;user-select:text}.nameinput:focus{outline:4px solid var(--blue);outline-offset:2px}.nameinput::placeholder{color:#b4a9d4}.review-textarea{width:100%;max-width:320px;min-height:70px;text-align:left;font-weight:400;font-size:16px;resize:none;line-height:1.35}.chimney-icons{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:100%;max-width:292px;margin:auto auto 0;justify-items:center;padding:10px 8px 6px;background:transparent;border-radius:14px;box-shadow:none;order:1}.chimney-icons .buddy-tile{width:48px;height:48px;border-radius:15px}.chimney-icons .buddy-tile .emo{font-size:24px}.chimney-icons .buddy-tile .costbadge{font-size:9px;padding:1px 5px;bottom:-7px}.chimney-icons .buddy-tile .lockbadge{font-size:14px}@media(max-height:700px){.chimney-icons{grid-template-columns:repeat(6,1fr);gap:6px;max-width:300px;padding:8px 8px 6px}.chimney-icons .buddy-tile{width:44px;height:44px;border-radius:14px}.chimney-icons .buddy-tile .emo{font-size:22px}.chimney-icons .buddy-tile .costbadge{font-size:9px;padding:1px 5px;bottom:-7px}.chimney-icons .buddy-tile .lockbadge{font-size:13px}}@media(max-height:700px)and (max-width:600px){#scnHome .hero{padding-top:70px}.sound-fab{position:absolute;top:14px;right:14px;z-index:5;margin-top:0;background:#ffffffd1;border-radius:18px;padding:2px 8px;box-shadow:0 4px 0 var(--edge)}}.sound-fab{display:flex;flex-direction:row;align-items:center;gap:8px;margin-top:2px}.soundrow{display:flex;align-items:center;gap:5px}.sound-fab .iconbtn{font-size:17px;padding:0 4px;border-radius:12px;box-shadow:none;background:none;flex-shrink:0;line-height:1;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}.sound-fab .iconbtn:active{box-shadow:none;transform:translateY(1px)}.sound-fab input[type=range]{width:56px;flex-shrink:1;min-width:40px}.install-pill{font-size:13px;padding:8px 16px;box-shadow:0 3px 0 var(--edge);background:var(--sun);color:var(--ink);margin-top:2px;order:11}.install-hint{order:12;margin:4px 0 0;font-size:12px;font-weight:700;color:var(--ink);background:#ffffffe0;border-radius:12px;padding:6px 12px;max-width:300px;text-align:center;line-height:1.3}.parent-gate{position:relative;flex-shrink:0;width:40px;height:40px;margin-right:auto;border-radius:50%;padding:0;background:#fff9;opacity:.6;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 3px #00000014;transition:opacity .15s ease}.parent-gate-emo{position:relative;z-index:1;font-size:18px;line-height:1}.parent-gate-fill{position:absolute;inset:0;border-radius:50%;z-index:0;background:conic-gradient(var(--grape) 0deg,transparent 0deg)}.parent-gate.holding{opacity:1}.parent-gate.holding .parent-gate-fill{animation:gateFill 1.5s linear forwards}@keyframes gateFill{to{background:conic-gradient(var(--grape) 360deg,transparent 0deg)}}.gate-overlay{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:#3a2e5280;backdrop-filter:blur(2px)}.gate-modal{width:100%;max-width:360px;padding:26px 20px 20px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}.gate-icon{font-size:40px;line-height:1}.gate-title{font-size:14px;font-weight:700;color:var(--ink-soft)}.gate-prompt{font-size:17px;font-weight:700;line-height:1.4}.gate-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%}.gate-key{font-size:24px;font-weight:700;padding:16px 0;border-radius:20px;min-width:0}.gate-cancel{font-size:14px;padding:10px 18px;border-radius:16px}.ptitle{font-weight:700;font-size:16px;text-align:center;flex:1;margin:0}.ptabs{display:flex;gap:8px;width:100%;max-width:600px;justify-content:center;flex-wrap:wrap}.ptab{display:flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;font-family:var(--font);font-size:14px;font-weight:700;color:var(--ink);background:#fff5eb4d;border:none;box-shadow:0 3px 0 var(--edge);cursor:pointer}.ptab:active{transform:translateY(2px);box-shadow:0 1px 0 var(--edge)}.ptab.on{background:#8a5cd64d;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35);box-shadow:inset 0 0 0 2px #64409f,0 3px #64409f}.ptab-emo{font-size:18px;line-height:1}.pstats{display:flex;gap:10px;width:100%;max-width:600px;justify-content:center;flex-wrap:wrap}.pstat{flex:1 1 140px;background:var(--card);border-radius:20px;padding:14px 10px;text-align:center;box-shadow:0 4px 0 var(--edge)}.pnum{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums}.plabel{font-size:11px;color:var(--ink-soft);font-weight:700;margin-top:2px}.pcard{width:100%;max-width:600px;background:var(--card);border-radius:20px;padding:16px;box-shadow:0 4px 0 var(--edge);text-align:left}.pcard-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--ink-soft);margin-bottom:10px}.prow{display:flex;align-items:center;gap:10px;padding:7px 0;font-weight:700;font-size:15px;border-top:1px solid var(--edge)}.prow:first-of-type{border-top:none}.path-trail{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.path-stone{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--edge)}.path-stone.done{background:var(--grape);box-shadow:none}.path-stone.next{background:var(--card);box-shadow:inset 0 0 0 2px var(--grape);animation:pathpulse 1.6s ease-in-out infinite}@keyframes pathpulse{0%,to{box-shadow:inset 0 0 0 2px var(--grape),0 0 #8a5cd659}50%{box-shadow:inset 0 0 0 2px var(--grape),0 0 0 5px #8a5cd600}}.referral-code{display:inline-block;font-family:var(--font);font-size:20px;font-weight:700;letter-spacing:1px;color:var(--ink);background:var(--sky2);border-radius:14px;padding:8px 16px;box-shadow:0 4px 0 var(--edge)}.pcount{margin-left:auto;color:var(--ink-soft)}.pemo{font-size:22px}.pswatch{width:20px;height:20px;border-radius:50%;box-shadow:inset 0 -3px #0000001f,0 0 0 2px var(--edge)}.pempty{color:var(--ink-soft);font-weight:700;font-size:14px}.skillchips{display:flex;flex-wrap:wrap;gap:8px}.skillchip{flex:1 1 130px;max-width:180px;background:var(--sky2);border-radius:14px;padding:8px 10px;box-shadow:0 3px 0 var(--edge)}.skillchip-label{font-size:12px;font-weight:700;line-height:1.25;margin-bottom:6px;min-height:2.4em}.skillchip-bar{width:100%;height:8px;border-radius:999px;background:var(--edge);overflow:hidden}.skillchip-fill{height:100%;border-radius:999px;background:var(--grape)}.skillchip-frac{font-size:11px;font-weight:700;color:var(--ink-soft);margin-top:4px;font-variant-numeric:tabular-nums}.favgames{display:flex;flex-direction:column;gap:8px}.favgame{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;font-weight:700;font-size:14px}.favgame-i{font-size:22px;line-height:1}.favgame-name{flex:1}.favgame-n{color:var(--ink-soft);font-variant-numeric:tabular-nums}.favgame.t1{background:var(--t1-bg);box-shadow:0 3px 0 var(--t1-sh)}.favgame.t2{background:var(--t2-bg);box-shadow:0 3px 0 var(--t2-sh)}.favgame.t3{background:var(--t3-bg);box-shadow:0 3px 0 var(--t3-sh)}.favgame.t4{background:var(--t4-bg);box-shadow:0 3px 0 var(--t4-sh)}.favgame.t5{background:var(--t5-bg);box-shadow:0 3px 0 var(--t5-sh)}.favgame.t6{background:var(--t6-bg);box-shadow:0 3px 0 var(--t6-sh)}.favgame.t7{background:var(--t7-bg);box-shadow:0 3px 0 var(--t7-sh)}.favgame.t8{background:var(--t8-bg);box-shadow:0 3px 0 var(--t8-sh)}.favgame.t9{background:var(--t9-bg);box-shadow:0 3px 0 var(--t9-sh)}.favgame.t10{background:var(--t10-bg);box-shadow:0 3px 0 var(--t10-sh)}.favgame.t11{background:var(--t11-bg);box-shadow:0 3px 0 var(--t11-sh)}.favgame.t12{background:var(--t12-bg);box-shadow:0 3px 0 var(--t12-sh)}.favgame.t13{background:var(--t13-bg);box-shadow:0 3px 0 var(--t13-sh)}.favgame.t14{background:var(--t14-bg);box-shadow:0 3px 0 var(--t14-sh)}.favgame.t15{background:var(--t15-bg);box-shadow:0 3px 0 var(--t15-sh)}.favgame.t16{background:var(--t16-bg);box-shadow:0 3px 0 var(--t16-sh)}.favgame.t17{background:var(--t17-bg);box-shadow:0 3px 0 var(--t17-sh)}.favgame.t18{background:var(--t18-bg);box-shadow:0 3px 0 var(--t18-sh)}.favgame.t19{background:var(--t19-bg);box-shadow:0 3px 0 var(--t19-sh)}.favgame.t20{background:var(--t20-bg);box-shadow:0 3px 0 var(--t20-sh)}.favgame.t21{background:var(--t21-bg);box-shadow:0 3px 0 var(--t21-sh)}.favgame.t22{background:var(--t22-bg);box-shadow:0 3px 0 var(--t22-sh)}.favgame.t23{background:var(--t23-bg);box-shadow:0 3px 0 var(--t23-sh)}.daybars{display:flex;gap:8px;align-items:flex-end;justify-content:space-between;height:90px}.daybar{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%}.daybar-fill{width:100%;max-width:28px;background:linear-gradient(180deg,#B79AEE,var(--grape));border-radius:8px 8px 3px 3px}.daybar-n{font-size:11px;font-weight:700;color:var(--ink-soft);font-variant-numeric:tabular-nums}.daybar-l{font-size:11px;font-weight:700;color:var(--ink-soft)}.daybar-today .daybar-fill{box-shadow:0 0 0 2px var(--sun),0 0 10px #ffd23f80}.daybar-today .daybar-l{color:var(--ink)}.daybar-peak{position:absolute;top:-18px;left:50%;transform:translate(-50%);font-size:14px;line-height:1}.daybar-locked{background:none;border:2px dashed var(--edge);border-radius:10px;color:var(--ink-soft);cursor:pointer;padding:0;font-family:var(--font)}.daybar-lock-icon{font-size:18px;line-height:1}.daybar-lock-n{font-size:11px;font-weight:700}#volSlider{flex:1;max-width:180px;accent-color:var(--grape);cursor:pointer}.voicevol-row{display:flex;align-items:center;justify-content:center;gap:10px;font-size:20px}.voicevol-row #voiceVolSlider{flex:1;max-width:180px;accent-color:var(--grape);cursor:pointer}.voicevol-row .iconbtn{font-size:15px;padding:8px 12px;border-radius:14px}#volSlider,#voiceVolSlider,#volSliderHome,#voiceVolSliderHome{-webkit-appearance:none;appearance:none;height:44px;background:transparent;border-radius:0;outline:none;cursor:pointer}#volSlider::-webkit-slider-runnable-track,#voiceVolSlider::-webkit-slider-runnable-track,#volSliderHome::-webkit-slider-runnable-track,#voiceVolSliderHome::-webkit-slider-runnable-track{height:8px;border-radius:999px;background:var(--edge)}#volSlider::-webkit-slider-thumb,#voiceVolSlider::-webkit-slider-thumb,#volSliderHome::-webkit-slider-thumb,#voiceVolSliderHome::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;margin-top:-7px;background:var(--grape);border:3px solid #fff;box-shadow:0 2px 4px #3a2e5259;cursor:pointer}#volSlider::-moz-range-thumb,#voiceVolSlider::-moz-range-thumb,#volSliderHome::-moz-range-thumb,#voiceVolSliderHome::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--grape);border:3px solid #fff;box-shadow:0 2px 4px #3a2e5259;cursor:pointer}#volSlider::-moz-range-track,#voiceVolSlider::-moz-range-track,#volSliderHome::-moz-range-track,#voiceVolSliderHome::-moz-range-track{height:8px;border-radius:999px;background:var(--edge)}.crown{font-size:14px;line-height:1}.pfooter{width:100%;max-width:600px;text-align:center;padding:6px 0 2px}.pfooter-link{font-size:13px;font-weight:700;color:var(--ink-soft);text-decoration:underline;text-underline-offset:3px}#buddyPills,#newBuddyPills{gap:10px;padding:12px 12px 8px;background:url(../assets/scenes/texture-wood.webp) center/cover;border-radius:18px;box-shadow:0 5px #6b4a2a,0 10px 16px #3a2e5233;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none}#buddyPills::-webkit-scrollbar,#newBuddyPills::-webkit-scrollbar{display:none}.buddy-tile{--c1:#fff;--c2:#eee;--glow:#ccc;position:relative;width:60px;height:60px;padding:0;min-width:0;flex-shrink:0;border-radius:20px;background:radial-gradient(120% 120% at 30% 22%,color-mix(in srgb,var(--c1) 30%,transparent),color-mix(in srgb,var(--c2) 30%,transparent));display:flex;align-items:center;justify-content:center;overflow:visible;box-shadow:inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 4px #0000001a,0 8px 14px #3a2e5229;transition:transform .15s ease,box-shadow .15s ease}.buddy-tile:before{content:"";position:absolute;top:6%;left:12%;width:60%;height:46%;border-radius:50%;background:radial-gradient(circle,#ffffffb3,#fff0 72%);transform:rotate(-18deg);pointer-events:none}.buddy-tile .emo{position:relative;z-index:1;font-size:30px;line-height:1;filter:drop-shadow(0 2px 3px rgba(0,0,0,.28))}.buddy-tile:active{transform:translateY(3px);box-shadow:inset 0 -4px 7px #00000029,inset 0 2px 3px #fff6,0 1px #0000001a,0 3px 6px #3a2e5224}.buddy-tile.on{transform:translateY(-4px) scale(1.08);box-shadow:0 0 0 3px #fff,0 0 0 6px var(--glow),inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 10px 18px #3a2e5242}.buddy-tile.on:after{content:"✨";position:absolute;top:-11px;right:-9px;font-size:17px;z-index:2;animation:sparkleTwinkle 1.5s ease-in-out infinite}@keyframes sparkleTwinkle{0%,to{opacity:.35;transform:scale(.75) rotate(0)}50%{opacity:1;transform:scale(1.2) rotate(18deg)}}.buddy-tile.locked .emo{filter:grayscale(1) drop-shadow(0 2px 3px rgba(0,0,0,.28));opacity:.55}.buddy-tile.locked:before{opacity:.35}.buddy-tile .lockbadge{position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;font-size:18px}.buddy-tile .costbadge{position:absolute;bottom:-9px;left:50%;transform:translate(-50%);z-index:2;background:#fff4ce;color:#8a5cd6;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;box-shadow:0 2px #ead48a;white-space:nowrap}.buddy-tile.locked.denied{animation:shake .45s ease}.buddy-tile.unlocking{animation:unlockPop .55s ease,magicRingPulse .7s ease}@keyframes unlockPop{0%{transform:scale(1)}45%{transform:scale(1.22) rotate(-6deg)}to{transform:scale(1)}}@keyframes magicRingPulse{0%{box-shadow:0 0 #ffd23fa6,inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 4px #0000001a,0 8px 14px #3a2e5229}70%{box-shadow:0 0 0 18px #ffd23f00,inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 4px #0000001a,0 8px 14px #3a2e5229}to{box-shadow:0 0 #ffd23f00,inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 4px #0000001a,0 8px 14px #3a2e5229}}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:16px;width:100%;max-width:600px}.profile-card-wrap{position:relative}.profile-card{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 10px 16px;min-height:150px}.profile-card.add{background:transparent;box-shadow:none;border:3px dashed var(--edge);justify-content:center;color:var(--ink-soft)}.profile-card.add .profile-add-icon{font-size:40px;line-height:1}.profile-card.add .profile-add-label{font-size:14px;font-weight:700}.profile-avatar{--c1:#fff;--c2:#eee;--glow:#ccc;position:relative;width:64px;height:64px;padding:0;border-radius:22px;background:radial-gradient(120% 120% at 30% 22%,var(--c1),var(--c2));display:flex;align-items:center;justify-content:center;overflow:visible;box-shadow:inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 4px #0000001a,0 8px 14px #3a2e5229}.profile-avatar:before{content:"";position:absolute;top:6%;left:12%;width:60%;height:46%;border-radius:50%;background:radial-gradient(circle,#ffffffb3,#fff0 72%);transform:rotate(-18deg);pointer-events:none}.profile-avatar .emo{position:relative;z-index:1;font-size:34px;line-height:1;filter:drop-shadow(0 2px 3px rgba(0,0,0,.28))}.profile-card.active .profile-avatar{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--glow),inset 0 -7px 10px #00000029,inset 0 3px 5px #ffffff8c,0 10px 18px #3a2e5242}.profile-name{font-size:16px;font-weight:700;text-align:center;word-break:break-word}.profile-delete{position:absolute;top:-8px;right:-8px;z-index:3;width:30px;height:30px;border-radius:50%;background:#fff;font-size:14px;padding:0;line-height:1;box-shadow:0 3px 0 var(--edge),0 6px 10px #3a2e5229;color:var(--ink-soft)}.profile-delete:active{transform:translateY(2px);box-shadow:0 1px 0 var(--edge)}.profile-edit{position:absolute;top:-8px;left:-8px;z-index:3;width:30px;height:30px;border-radius:50%;background:#fff;font-size:14px;padding:0;line-height:1;box-shadow:0 3px 0 var(--edge),0 6px 10px #3a2e5229}.profile-edit:active{transform:translateY(2px);box-shadow:0 1px 0 var(--edge)}.profile-delete.confirm{background:var(--coral);color:#fff;box-shadow:0 3px #c23f3f;animation:pulseWarn 1s ease-in-out infinite}@keyframes pulseWarn{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.profile-create{width:100%;max-width:520px;padding:20px 18px;display:flex;flex-direction:column;gap:14px;align-items:stretch}.profile-create .pcreate-title{font-size:15px;font-weight:700;text-align:center;color:var(--ink-soft)}.profile-create .pills{justify-content:center}.profile-create .nameinput{width:100%}.pcreate-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.celbtn.danger{background:#fff;color:var(--coral);box-shadow:0 6px 0 var(--edge),0 14px 24px #3a2e5224}.celbtn.danger:active{box-shadow:0 1px 0 var(--edge)}.celbtn.danger.confirm{background:var(--coral);color:#fff;box-shadow:0 6px #c23f3f;animation:pulseWarn 1s ease-in-out infinite}.shake{animation:shake .45s ease}#scnHome .path-cta{order:10}.path-cta{width:100%;max-width:420px;padding:14px 18px;display:flex;align-items:center;justify-content:center;gap:14px;background:linear-gradient(180deg,#3fbf6e4d,#2c8b4e4d);color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.35);box-shadow:0 8px #1e6136,0 18px 28px #3a2e5238}.path-cta-icon{font-size:32px;line-height:1;filter:drop-shadow(0 3px 4px rgba(0,0,0,.2))}.path-cta-text{display:flex;flex-direction:column;align-items:flex-start;gap:1px}.path-cta-es{font-size:20px;font-weight:700}.path-cta-en{font-size:14px;font-weight:700;opacity:.9}.path-cta:active{box-shadow:0 2px #1e6136}#pathTrack[data-level="1"]{--lvl-bg:#EAF7FF;--lvl-sh:#8FD3F5}#pathTrack[data-level="2"]{--lvl-bg:#EFFAE9;--lvl-sh:#8FD9A0}#pathTrack[data-level="3"]{--lvl-bg:#FFF6E0;--lvl-sh:#F0C868}#pathTrack[data-level="4"]{--lvl-bg:#F5EEFF;--lvl-sh:#C7A8F0}.path-complete-banner{width:100%;max-width:520px;padding:16px 20px;text-align:center;font-size:16px;font-weight:700;background:#fff4ce;box-shadow:0 6px #ead48a,0 14px 24px #3a2e5224}.path-track{width:100%;max-width:520px;display:flex;flex-direction:column;gap:26px;position:relative;padding:48px 0 14px}.path-track:before{content:"";position:absolute;left:50%;top:48px;bottom:10px;width:6px;transform:translate(-50%);z-index:0;border-radius:3px;background:repeating-linear-gradient(180deg,var(--edge) 0 14px,transparent 14px 26px)}#scnPath .gamebar{align-items:flex-start;position:sticky;top:0;z-index:30;width:calc(100% + 32px);margin:-8px -16px 0;padding:8px 16px 10px;background:#bee4f7db;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:0 0 22px 22px;box-shadow:0 6px 14px #3a2e521f}.path-head-mid{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}.path-who{display:inline-flex;align-items:center;gap:8px;padding:3px 14px 3px 6px;border-radius:999px;background:#fff;box-shadow:0 3px 0 var(--edge);max-width:100%}.path-who-av{font-size:28px;line-height:1;display:inline-flex}.path-who-name{font-size:16px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.path-head-mid .ptitle{flex:none}@media(max-width:520px){#scnPath .gamebar .iconbtn{padding:8px 12px;font-size:22px}#scnPath .gamebar{padding-bottom:8px}.path-who-av{font-size:24px}.path-who-name{font-size:14px}.path-head-mid .ptitle{font-size:12px;line-height:1.15}}.path-body{width:100%;display:flex;flex-direction:column;align-items:center;gap:16px}.path-side{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px}.path-side-title{display:none}.path-free{position:fixed;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:20;display:flex;flex-direction:column;align-items:center;gap:0;padding:10px 16px 12px;font-size:16px;line-height:1.15;border-radius:22px}.path-free .gi{font-size:28px;line-height:1;filter:drop-shadow(0 3px 4px rgba(0,0,0,.2))}.path-free small{font-size:12px;font-weight:700;opacity:.9}.path-free[aria-expanded=true]{background:#64409f;box-shadow:0 6px #3e2566,0 14px 24px #3a2e5224}.path-free[aria-expanded=true]:active{box-shadow:0 1px #3e2566}#scnPath{padding-bottom:112px}@media(min-width:700px){#scnPath{max-width:1120px;padding-bottom:12px}#scnPath .gamebar{max-width:none}.path-body{flex-direction:row;align-items:flex-start;gap:0}.path-body .path-track{flex:1 1 0;min-width:0;margin-right:40px}.path-side{flex:1 1 0;min-width:0;align-items:stretch;gap:14px;align-self:stretch;padding:48px 0 0 40px;margin-left:24px;border-left:4px solid rgba(255,255,255,.75);box-shadow:-3px 0 #3a2e5214}.path-side-title{display:flex;flex-direction:column;align-items:center;gap:2px;margin:0;font-size:22px;line-height:1.1;color:var(--ink)}.path-side-title small{font-size:14px;color:var(--ink-soft)}.path-free{display:none}#scnPath .games[hidden]{display:flex!important}}.path-row{display:flex;align-items:center;gap:12px;width:100%;position:relative;z-index:1}.path-row:nth-child(2n){flex-direction:row-reverse}.path-node-wrap{position:relative;flex:none}.path-node{width:74px;height:74px;border-radius:50%;padding:0;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;box-shadow:0 6px 0 var(--edge),0 12px 20px #3a2e5224;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.path-node-icon{font-size:28px;line-height:1}.path-node-num{font-size:11px;font-weight:700;color:var(--ink-soft);margin-top:1px}.path-node-star{position:absolute;top:-8px;right:-6px;font-size:20px;z-index:2;filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}.path-node[data-state=done]{background:var(--lvl-bg,#fff);box-shadow:0 6px 0 var(--lvl-sh,var(--edge)),0 12px 20px #3a2e5224}.path-node[data-state=current]{width:92px;height:92px;background:var(--lvl-bg,#fff);box-shadow:0 8px 0 var(--lvl-sh,var(--edge)),0 16px 26px #3a2e5238;animation:pathPulse 1.7s ease-in-out infinite}.path-node[data-state=current] .path-node-icon{font-size:36px}.path-node[data-state=current] .path-node-num{font-size:13px}.path-node[data-state=locked]{background:#fff;opacity:.5;filter:grayscale(.7)}.path-node[data-state=paywalled]{background:#fff;opacity:.65;filter:grayscale(.35)}.path-node-lock{position:absolute;bottom:-6px;right:-8px;font-size:18px;z-index:2;filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}.path-node-sparkle{position:absolute;top:-8px;right:-8px;font-size:16px;z-index:2;animation:sparkleTwinkle 1.8s ease-in-out infinite}@keyframes pathPulse{0%,to{transform:scale(1)}50%{transform:scale(1.06)}}.path-fox{position:absolute;left:50%;top:-40px;transform:translate(-50%);font-size:32px;line-height:1;z-index:3;pointer-events:none;animation:bounce 2.2s ease-in-out infinite;filter:drop-shadow(0 4px 5px rgba(58,46,82,.2))}.path-node.pop-in{animation:pathPopIn .65s ease}@keyframes pathPopIn{0%{transform:scale(.3) rotate(-14deg);opacity:0}55%{transform:scale(1.22) rotate(7deg);opacity:1}to{transform:scale(1) rotate(0)}}.path-node.point-glow{animation:pathPointGlow 1s ease-in-out 2}@keyframes pathPointGlow{0%,to{box-shadow:0 8px 0 var(--lvl-sh,var(--edge)),0 16px 26px #3a2e5238}50%{box-shadow:0 8px 0 var(--lvl-sh,var(--edge)),0 0 0 10px #ffd23f8c,0 16px 26px #3a2e5238}}.path-label{display:flex;flex-direction:column;gap:1px;max-width:150px}.path-label-es{font-size:14px;font-weight:700;line-height:1.2}.path-label-en{font-size:11px;color:var(--ink-soft);font-weight:700;line-height:1.2}@media(max-width:430px){.path-node{width:68px;height:68px}.path-node[data-state=current]{width:84px;height:84px}.path-label{max-width:120px}}.collection{width:100%;max-width:600px;display:flex;flex-direction:column;gap:8px;align-items:center}.collection-strip{width:100%;display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;-webkit-overflow-scrolling:touch}.collection-chip{flex:none;width:56px;height:56px;border-radius:16px;background:var(--card);display:flex;align-items:center;justify-content:center;font-size:28px;line-height:1;box-shadow:0 4px 0 var(--edge);transition:transform .1s ease}.collection-chip:active{transform:translateY(3px);box-shadow:0 1px 0 var(--edge)}@media(hover:hover){.collection-chip:hover:not(:active){transform:translateY(-2px)}}@media(hover:hover){.buddy-tile:hover:not(:active){transform:translateY(-3px) scale(1.04)}}.mascot-stage{position:relative;width:44px;height:44px;margin:0;display:flex;align-items:center;justify-content:center;flex-shrink:0}.mascot-glow{position:absolute;width:38px;height:38px;border-radius:50%;z-index:0;background:radial-gradient(circle,var(--stage-glow,#FFE38A) 0%,rgba(255,227,138,0) 72%);filter:blur(1px);animation:glowPulse 3.2s ease-in-out infinite}@keyframes glowPulse{0%,to{transform:scale(1);opacity:.6}50%{transform:scale(1.14);opacity:.92}}.crown{position:relative;z-index:3}.spark{position:absolute;z-index:1;font-size:9px;opacity:.85;animation:floatTwinkle 2.6s ease-in-out infinite}.spark.s1{top:1px;left:3px}.spark.s2{bottom:4px;right:0;animation-delay:.7s}.spark.s3{top:28%;right:-3px;font-size:7px;animation-delay:1.3s}@keyframes floatTwinkle{0%,to{transform:translateY(0) scale(.85);opacity:.4}50%{transform:translateY(-9px) scale(1.15);opacity:1}}body[data-theme=princess]{background:linear-gradient(180deg,#ffc9e8,#ffeff9 70%,#fff6e5);background-attachment:fixed;--hill1:#FBD3EA;--hill2:#F5C0DF}body[data-theme=princess] h1{color:#8f2e63}body[data-theme=princess] .pill.on:not(.buddy-tile){background:#e86ba84d;box-shadow:inset 0 0 0 2px #b04578,0 4px #b04578}body[data-theme=princess] .ptab.on{background:#e86ba84d;box-shadow:inset 0 0 0 2px #b04578,0 3px #b04578}body[data-theme=princess] .memback{background:#e86ba8;box-shadow:0 5px #b04578}body[data-theme=princess] .celbtn.go{background:#b04578;box-shadow:0 6px #7a2f53,0 14px 24px #3a2e5224}body[data-theme=princess] #volSlider,body[data-theme=princess] #voiceVolSlider,body[data-theme=princess] #volSliderHome,body[data-theme=princess] #voiceVolSliderHome{accent-color:#E86BA8}body[data-theme=knight]{background:linear-gradient(180deg,#aec6e8,#e4edf9 70%,#f2f6ea);background-attachment:fixed;--hill1:#C6D8F0;--hill2:#B3CBE8}body[data-theme=knight] h1{color:#22447e}body[data-theme=knight] .pill.on:not(.buddy-tile){background:#3d6bb54d;box-shadow:inset 0 0 0 2px #274b86,0 4px #274b86}body[data-theme=knight] .ptab.on{background:#3d6bb54d;box-shadow:inset 0 0 0 2px #274b86,0 3px #274b86}body[data-theme=knight] .memback{background:#3d6bb5;box-shadow:0 5px #274b86}body[data-theme=knight] .celbtn.go{background:#3d6bb5;box-shadow:0 6px #274b86,0 14px 24px #3a2e5224}body[data-theme=knight] #volSlider,body[data-theme=knight] #voiceVolSlider,body[data-theme=knight] #volSliderHome,body[data-theme=knight] #voiceVolSliderHome{accent-color:#3D6BB5}#fx{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:50}.conf{position:absolute;top:-20px;width:12px;height:12px;border-radius:3px;animation:fall linear forwards}.conf.spark{width:auto;height:auto;border-radius:0;line-height:1;filter:drop-shadow(0 0 4px rgba(255,210,63,.7))}@keyframes fall{to{transform:translateY(110vh) rotate(720deg);opacity:.6}}.streak-badge{position:absolute;top:14%;left:50%;transform:translate(-50%);background:linear-gradient(135deg,#8c5417,#b33a3a);color:#fff;font-weight:700;font-size:clamp(16px,4.4vw,22px);padding:12px 22px;border-radius:999px;box-shadow:0 6px #00000026,0 14px 24px #3a2e5240;white-space:nowrap;animation:streakPop 1.7s ease forwards}@keyframes streakPop{0%{transform:translate(-50%,10px) scale(.6);opacity:0}15%{transform:translate(-50%) scale(1.12);opacity:1}25%{transform:translate(-50%) scale(1);opacity:1}80%{transform:translate(-50%) scale(1);opacity:1}to{transform:translate(-50%,-14px) scale(.92);opacity:0}}@media(max-width:430px){.cardbtn{flex-basis:42%;min-width:120px;min-height:130px}.gamebtn{min-height:118px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
