body{margin:0}#root{min-height:100svh}:root{--ink:#2a1e3f;--ink-soft:#5b4c74;--bg:#0f0a1c;--paper:#1b1330;--paper-line:#3b2c58;--violet:#b89cea;--violet-deep:#4a3470;--violet-tint:#332552;--gold:#f0b93e;--gold-tint:#3a2e1a;--fire:#ff8a5b;--earth:#7ecb92;--white:#fffcf3}.tower-seal-scene{grid-template-rows:auto auto auto auto;align-content:center;gap:14px}.tower-seal-question{align-self:center;width:min(1080px,94vw);min-height:0!important;margin:0!important;padding-top:132px!important}.tower-compass{top:12px!important}.tower-seal-question .question-copy,.tower-seal-question .battle-choices{align-self:center}.tower-seal-scene .gate-progress{margin-top:2px}.tower-seal-break{z-index:30;pointer-events:none;background:radial-gradient(circle,#fffdcae0,#74c6ff47 24%,#0000 57%);place-items:center;animation:.9s ease-out both towerSealVeil;display:grid;position:absolute;inset:-18px;overflow:hidden}.tower-seal-flash{aspect-ratio:1;background:#fff;border-radius:50%;width:120px;animation:.9s ease-out both towerSealFlash;position:absolute;box-shadow:0 0 45px 32px #fff5a5,0 0 140px 74px #77dcff}.tower-seal-rings{position:absolute;top:50%;left:50%}.tower-seal-rings i{aspect-ratio:1;border:4px solid #fff7a4;border-radius:50%;width:95px;animation:.9s ease-out both towerSealRing;position:absolute;translate:-50% -50%;box-shadow:0 0 18px #71e9ff}.tower-seal-rings i:nth-child(2){animation-delay:.1s}.tower-seal-rings i:nth-child(3){animation-delay:.2s}.tower-seal-break b{z-index:2;color:#fff8c5;text-shadow:0 0 8px #fff,0 0 20px #ffcf42;transform:rotate(calc(var(--burst)*13.85deg));font:1.2rem Jua,sans-serif;animation:.85s ease-out both towerSealBurst;position:absolute;top:50%;left:50%}.tower-seal-break strong{z-index:4;color:#fff8bd;text-shadow:0 0 10px #fff,0 0 34px #ffc739,0 5px 3px #57331b;font:clamp(2rem,5vw,4rem) Jua,sans-serif;animation:.9s ease-out both towerSealText;position:relative}@keyframes towerSealVeil{0%{opacity:0}30%{opacity:1}to{opacity:0}}@keyframes towerSealFlash{0%{opacity:1;scale:.08}to{opacity:0;scale:5}}@keyframes towerSealRing{0%{opacity:1;scale:.2}to{opacity:0;scale:6}}@keyframes towerSealBurst{0%{opacity:1;transform:rotate(calc(var(--burst)*13.85deg)) translateY(0) scale(.3)}to{opacity:0;transform:rotate(calc(var(--burst)*13.85deg)) translateY(-240px) scale(1.2)}}@keyframes towerSealText{0%{opacity:0;scale:.4}35%{opacity:1;scale:1.15}to{opacity:0;scale:1.05}}*{box-sizing:border-box}html,body,#root{height:100%}body{background:radial-gradient(600px 400px at 50% -10%, #2c2050, var(--bg));color:var(--white);word-break:keep-all;overflow-wrap:break-word;margin:0;font-family:Gowun Dodum,Malgun Gothic,sans-serif}.stage{background-position:50%;background-size:cover;flex-direction:column;max-width:480px;min-height:100vh;margin:0 auto;padding:20px 18px 32px;transition:background-image .4s;display:flex}h1,h2,h3,h4{margin:0;font-family:Jua,Malgun Gothic,sans-serif;font-weight:400}.eyebrow{letter-spacing:.06em;color:var(--gold);font-family:Do Hyeon,sans-serif;font-size:.76rem}.topbar{justify-content:space-between;align-items:center;margin-bottom:14px;font-family:Do Hyeon,sans-serif;font-size:.85rem;display:flex}.chip{background:var(--paper);border:1px solid var(--paper-line);border-radius:100px;align-items:center;gap:5px;padding:5px 12px;display:flex}.card{border:1px solid var(--paper-line);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1b1330db;border-radius:18px;padding:22px;animation:.38s cubic-bezier(.2,.8,.3,1) cardIn;box-shadow:0 14px 34px -18px #0009}@keyframes cardIn{0%{opacity:0;transform:translateY(14px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.card{animation:none}}.btn,.choice-btn,.tray-item,.craft-slot,.hero-pick,.log-btn,.pattern-choices button{transition:transform .12s,box-shadow .12s}.btn:not(:disabled):active,.choice-btn:not(:disabled):active,.tray-item:active,.hero-pick:active,.log-btn:not(:disabled):active,.pattern-choices button:active{transform:translateY(2px)scale(.97)}@keyframes floatBob{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.monster-portrait{animation:2.6s ease-in-out infinite floatBob}.hero-pick.picked img{animation:1.8s ease-in-out infinite floatBob}@media (prefers-reduced-motion:reduce){.monster-portrait,.hero-pick.picked img{animation:none}}.sparkle-field{height:0;position:relative}.sparkle-field span{color:var(--gold);opacity:0;font-size:.9rem;animation:3.2s ease-in infinite sparkleFloat;position:absolute}@keyframes sparkleFloat{0%{opacity:0;transform:translateY(0)scale(.6)}15%{opacity:1}to{opacity:0;transform:translateY(-40px)scale(1.1)}}.btn{background:var(--gold);color:#4a3300;border:3px solid var(--white);cursor:pointer;border-radius:100px;width:100%;margin-top:16px;padding:14px 20px;font-family:Do Hyeon,sans-serif;font-size:1rem;box-shadow:0 6px #b87a1a}.btn:active{transform:translateY(3px);box-shadow:0 3px #b87a1a}.btn.secondary{background:var(--violet);box-shadow:0 6px 0 var(--violet-deep);color:#241a3c}.btn:disabled{opacity:.4;cursor:not-allowed}.story-box{text-align:center;padding:30px 6px}.story-box .speaker{color:var(--gold);margin-bottom:8px;font-family:Do Hyeon,sans-serif;font-size:.85rem}.story-box p{color:var(--white);font-size:1.05rem;line-height:1.7}.speaker-portrait{object-fit:cover;border:3px solid var(--gold);width:88px;height:88px;box-shadow:0 0 0 4px var(--paper-line);background:var(--violet-tint);border-radius:50%;margin-bottom:12px}.hero-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0;display:grid}.hero-pick{background:var(--violet-tint);border:3px solid var(--paper-line);cursor:pointer;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:8px 4px;display:flex}.hero-pick img{aspect-ratio:3/4;object-fit:cover;border-radius:10px;width:100%}.hero-pick span{color:var(--white);font-family:Do Hyeon,sans-serif;font-size:.72rem}.hero-pick.picked{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-tint)}.hero-chip{align-items:center;gap:5px;display:flex}.hero-chip img{object-fit:cover;border-radius:50%;width:22px;height:22px}.monster-portrait{width:120px;height:120px;box-shadow:0 0 0 4px var(--paper-line);background-color:var(--paper);background-repeat:no-repeat;border-radius:50%;justify-content:center;align-items:center;font-size:3rem;display:flex}.monster-blob-fallback{place-items:center;animation:2.6s ease-in-out infinite floatBob;display:grid;position:relative}.monster-blob-fallback:before{content:"";z-index:-1;background:radial-gradient(circle,var(--blob-color),transparent 70%);opacity:.45;filter:blur(8px);border-radius:50%;position:absolute;inset:-16%}.blob-shape{background:radial-gradient(circle at 34% 26%,#fff 0%,var(--blob-color) 44%,#140c248c 128%);border:3px solid #ffffff8c;border-radius:46% 54% 52% 48%/50% 44% 56% 50%;width:78%;height:78%;position:relative;box-shadow:inset -8px -10px 18px #00000038,inset 6px 8px 16px #fff6,0 12px 20px #00000059}.blob-shine{filter:blur(1px);background:#fffc;border-radius:50%;width:26%;height:16%;position:absolute;top:13%;left:18%;transform:rotate(-18deg)}.blob-eye{background:#2a1f3d;border-radius:50%;width:13%;height:17%;position:absolute;top:40%;box-shadow:inset 0 0 0 2px #ffffff73}.blob-eye:after{content:"";background:#fff;border-radius:50%;width:38%;height:38%;position:absolute;top:18%;left:20%}.blob-eye-l{left:29%}.blob-eye-r{right:29%}.blob-blush{filter:blur(1.5px);background:#ff8ca08c;border-radius:50%;width:13%;height:8%;position:absolute;top:58%}.blob-blush-l{left:18%}.blob-blush-r{right:18%}.battle-row{width:120px;margin:0 auto 14px;position:relative}.hero-badge{object-fit:cover;border:3px solid var(--gold);width:44px;height:44px;box-shadow:0 0 0 3px var(--paper);border-radius:50%;position:absolute;bottom:-6px;right:-10px}.hp-row{justify-content:center;gap:6px;margin-bottom:16px;display:flex}.hp-dot{background:var(--paper-line);border-radius:50%;width:14px;height:14px}.hp-dot.hit{background:var(--gold)}.question-prompt{text-align:center;margin:10px 0 14px;font-size:1.1rem;line-height:1.5}.visual-row{text-align:center;letter-spacing:6px;margin-bottom:14px;font-size:1.8rem}.visual-row .plus{color:var(--ink-soft);margin:0 6px;font-size:1.2rem}.choice-list{flex-direction:column;gap:10px;display:flex}.choice-btn{background:var(--violet-tint);color:var(--white);border:3px solid var(--white);box-shadow:0 5px 0 var(--violet-deep);cursor:pointer;border-radius:100px;padding:12px;font-family:Do Hyeon,sans-serif;font-size:1.1rem}.choice-btn.correct{background:#3e8f5b;box-shadow:0 5px #2a6b40}.choice-btn.wrong{background:#c9552a;box-shadow:0 5px #93401f}.explain-box{background:var(--gold-tint);border:1px dashed var(--gold);color:var(--white);border-radius:14px;margin-top:16px;padding:14px 16px;font-size:.92rem}.explain-box .label{color:var(--gold);margin-bottom:6px;font-family:Do Hyeon,sans-serif;font-size:.78rem}.reward-toast{text-align:center;padding:24px 0}.reward-toast .icon{font-size:3rem}.reward-icon-frame{border:2px solid var(--gold);background:#f0b93e1f;border-radius:20px;justify-content:center;align-items:center;width:96px;height:96px;margin:0 auto;animation:1.6s ease-in-out infinite pulseGlow;display:flex;box-shadow:0 0 20px #f0b93e80,inset 0 0 12px #f0b93e40}.reward-toast .name{color:var(--gold);margin-top:8px;font-family:Jua,sans-serif;font-size:1.2rem}.craft-scene{background-image:linear-gradient(#0a071426,#08061080 70%,#06040cd9),url(/backgrounds/craft_table.webp);background-position:50%;background-size:cover;flex-direction:column;min-height:100vh;margin:-20px -18px -32px;padding:20px 18px 24px;display:flex;position:relative}.craft-delta{z-index:4;object-fit:contain;pointer-events:none;filter:drop-shadow(0 22px 18px #00000094);width:clamp(240px,27vw,360px);max-height:60vh;animation:2.4s ease-in-out infinite floatBob;position:absolute;top:clamp(112px,17vh,170px);left:clamp(8px,3vw,54px);-webkit-mask-image:radial-gradient(64% 70% at 50% 48%,#000 58%,#0000 91%);mask-image:radial-gradient(64% 70% at 50% 48%,#000 58%,#0000 91%)}.craft-banner{text-align:center;border:1px solid var(--paper-line);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);color:var(--white);background:#140e24c7;border-radius:14px;align-self:center;margin-top:8px;padding:10px 18px;font-size:.85rem}.craft-guide{z-index:5;color:#fff9df;text-align:left;background:linear-gradient(115deg,#251746f5,#422a5fe6);border:2px solid #ffe189c7;border-radius:22px 22px 22px 7px;width:min(660px,88vw);padding:18px 28px 17px 70px;position:absolute;top:clamp(28px,5vh,58px);left:50%;transform:translate(-50%);box-shadow:0 14px 34px #0006,inset 0 1px #ffffff21,0 0 24px #ffca462b}.craft-guide:before{content:"";border:9px solid #0000;border-right-color:#d6aa55;position:absolute;bottom:17px;left:-16px;transform:rotate(-18deg)}.craft-guide b{color:#ffe88d;margin-bottom:5px;font:clamp(1.05rem,2vw,1.35rem) Jua,sans-serif;display:block}.craft-guide p{margin:0;font-size:clamp(.85rem,1.4vw,1rem);line-height:1.55}.craft-guide small{color:#cfbde8;letter-spacing:.08em;margin-top:7px;font-size:.72rem;display:block}.craft-guide.success{background:linear-gradient(115deg,#27294bf5,#4b3259eb);border-color:#fff0a5}.craft-speaker{color:#4b2a0b;background:linear-gradient(#fff3a3,#efb636);border-radius:50%;place-items:center;width:42px;height:42px;font:.8rem Jua,sans-serif;display:grid;position:absolute;top:17px;left:16px;box-shadow:0 0 17px #ffd64c8c}.craft-success-dock{justify-content:center;gap:18px}.crafted-reveal{color:#fff6d6;background:radial-gradient(circle at 50% 28%,#ffdf5b47,#311d53bd 68%);border:1px solid #ffe58b73;border-radius:28px;justify-items:center;gap:5px;min-width:220px;padding:15px 26px;animation:.65s cubic-bezier(.2,.9,.25,1) both craftedReveal;display:grid;position:relative;box-shadow:0 0 38px #ffc84352,inset 0 0 20px #ffffff14}.crafted-reveal strong{color:#ffe47c;font:1.25rem Jua,sans-serif}.crafted-reveal small{color:#d8c8ec}.crafted-art{object-fit:contain;filter:drop-shadow(0 7px 7px #0006);width:54px;height:54px}.crafted-art.reveal-art{filter:drop-shadow(0 12px 10px #00000061);width:112px;height:112px;margin:-12px 0 -5px;animation:2s ease-in-out infinite craftedItemFloat}.reveal-spark{color:#fff2a0;font-size:1.4rem;animation:1.2s ease-in-out infinite auraPulse;position:absolute;top:8px;right:18px}.craft-continue{color:#4a2c00;cursor:pointer;background:linear-gradient(#ffe16b,#e99c1e);border:2px solid #fff0aa;border-radius:999px;min-width:190px;padding:13px 22px;font:1rem Jua,sans-serif;box-shadow:0 6px #7f4a13,0 10px 24px #0000004d}@keyframes craftedReveal{0%{opacity:0;transform:scale(.55)rotate(-5deg)}70%{transform:scale(1.07)rotate(1deg)}}@keyframes craftedItemFloat{50%{filter:drop-shadow(0 17px 13px #0000004d)brightness(1.12);transform:translateY(-7px)rotate(2deg)}}.craft-dock{z-index:5;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid var(--paper-line);background:#0e0a1a9e;border-radius:18px;width:min(980px,92vw);margin:auto auto 0;padding:22px 26px;position:relative;box-shadow:0 -10px 30px -14px #0009}.slot-row-v2{justify-content:center;align-items:center;gap:16px;display:flex}.dock-arrow{color:var(--gold);font-size:1.8rem}.craft-slot-glow{cursor:pointer;background:#0a1428a6;border:2px solid #4fc3f7;border-radius:21px;justify-content:center;align-items:center;width:88px;height:88px;display:flex;box-shadow:0 0 14px #4fc3f78c,inset 0 0 8px #4fc3f759}.craft-slot-glow .q{color:#4fc3f7;opacity:.7;font-size:1.2rem}.craft-slot-glow.filled{border-color:#7ecb92;box-shadow:0 0 14px #7ecb9299,inset 0 0 8px #7ecb924d}.craft-slot-glow.result{border-color:var(--gold);cursor:default;box-shadow:0 0 10px #f0b93e66}.craft-slot-glow.result .q{color:var(--gold)}.craft-slot-glow.result.ready{animation:1.4s ease-in-out infinite pulseGlow}@keyframes pulseGlow{0%,to{box-shadow:0 0 16px var(--gold)}50%{box-shadow:0 0 30px var(--gold), 0 0 46px var(--gold)}}.tray-row-v2{background:#08061080;border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;min-height:92px;margin-top:18px;padding:15px;display:flex}.tray-slot{border:1px solid var(--paper-line);cursor:pointer;background:#ffffff0f;border-radius:18px;justify-content:center;align-items:center;width:84px;height:84px;padding:0;display:flex}.tray-slot.shake{border-color:var(--fire);animation:.4s shake}.hammer-btn{cursor:pointer;background:radial-gradient(circle at 35% 30%,#6be08a,#2e9e55);border:3px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:78px;height:78px;margin:18px auto 0;font-size:2rem;display:flex;box-shadow:0 6px #1e6b38}.hammer-btn:disabled{opacity:.4;cursor:not-allowed}.hammer-btn:not(:disabled):active{transform:translateY(3px);box-shadow:0 3px #1e6b38}.item-icon{background-repeat:no-repeat;border-radius:6px;flex-shrink:0}.item-icon-direct{object-fit:contain;filter:drop-shadow(0 3px 4px #140a4659);background:0 0;border-radius:0}.slot-row{justify-content:center;align-items:center;gap:8px;margin:20px 0;display:flex}.craft-slot{background:var(--paper);border:3px dashed var(--paper-line);width:56px;height:56px;color:var(--white);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;font-size:1.6rem;display:flex}.craft-slot.filled{border-style:solid;border-color:var(--earth);background:#1e3a28}.craft-slot.result{border-style:solid;border-color:var(--paper-line);cursor:default;opacity:.5}.craft-slot.result.ready{border-color:var(--gold);opacity:1;box-shadow:0 0 14px var(--gold)}.tray-label{color:var(--ink-soft);margin-top:10px;font-family:Do Hyeon,sans-serif;font-size:.75rem}.tray-row{flex-wrap:wrap;gap:8px;min-height:56px;margin:10px 0 4px;display:flex}.tray-item{background:var(--violet-tint);border:2px solid var(--paper-line);cursor:pointer;color:var(--white);border-radius:10px;flex-direction:column;align-items:center;gap:2px;padding:6px 8px;display:flex}.tray-item span{font-size:1.3rem}.tray-item small{font-size:.62rem}.tray-item.shake{border-color:var(--fire);animation:.4s shake}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}.ingredient-list{flex-wrap:wrap;justify-content:center;gap:8px;margin:14px 0;display:flex}.ingredient-pill{background:var(--violet-tint);color:var(--white);border:1px solid var(--paper-line);border-radius:100px;padding:6px 12px;font-size:.85rem}.ingredient-pill.have{background:#2a6b40;border-color:#3e8f5b}.recipe-block{text-align:center;margin-bottom:22px}.recipe-block .icon{font-size:2.4rem}.mission-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0;display:grid}.log-btn{aspect-ratio:1;border:3px solid var(--paper-line);background:var(--paper);color:var(--white);cursor:pointer;border-radius:14px;justify-content:center;align-items:center;font-family:Jua,sans-serif;font-size:1.6rem;display:flex}.log-btn.picked{background:#3e8f5b;border-color:#7ecb92}.log-btn.wrong-tap{background:#c9552a;border-color:#ff8a5b}.screen-mission-axe{padding-bottom:0}.axe-mission-scene{z-index:3;flex:1;grid-template-rows:auto 1fr auto;justify-items:center;width:100%;min-height:calc(100svh - 106px);padding:18px clamp(18px,5vw,70px) 24px;display:grid;position:relative;overflow:hidden}.axe-mission-scene:before{content:"";z-index:-3;filter:saturate(.92)brightness(.75);background:linear-gradient(#0b081f2e,#060817bf),url(/backgrounds/forest.webp) 50%/cover;position:absolute;inset:-80px -30px}.axe-forest-light{z-index:-1;background:radial-gradient(#ffd2604d,#5a8b4521 38%,#0000 70%);width:70%;height:70%;animation:5s ease-in-out infinite forestBreathe;position:absolute;top:14%;left:50%;transform:translate(-50%)}.axe-mission-guide{z-index:8;text-align:center;color:#fff9df;text-shadow:0 3px 10px #090616;width:min(720px,92vw);position:relative}.axe-mission-guide span{color:#ffd95b;letter-spacing:.15em;font:1rem Do Hyeon,sans-serif}.axe-mission-guide h2{color:#fff1ba;margin:5px 0;font-size:clamp(1.8rem,3.5vw,3rem)}.axe-mission-guide p{margin:0;font-size:clamp(.9rem,1.5vw,1.08rem)}.fallen-log-field{perspective:900px;grid-template-columns:repeat(2,minmax(280px,1fr));align-content:center;align-self:center;gap:4px clamp(8px,4vw,52px);width:min(1020px,94vw);min-height:390px;display:grid}.rune-log{cursor:pointer;min-height:185px;transform:rotate(var(--log-tilt,0deg));background:0 0;border:0;transition:filter .25s,opacity .6s,transform .6s;position:relative}.rune-log.log-0{--log-tilt:-4deg}.rune-log.log-1{--log-tilt:3deg}.rune-log.log-2{--log-tilt:2deg}.rune-log.log-3{--log-tilt:-3deg}@media (hover:hover){.rune-log:hover:not(:disabled){filter:brightness(1.12);transform:rotate(var(--log-tilt)) translateY(-5px) scale(1.025)}}.rune-log:focus{outline:none}.rune-log:focus-visible{filter:brightness(1.12)drop-shadow(0 0 10px #ffe995)}.rune-log-art{object-fit:contain;filter:drop-shadow(0 18px 13px #0000008c);width:110%;height:120%;position:absolute;inset:-10% -5%;-webkit-mask-image:radial-gradient(72% 62%,#000 62%,#0000 91%);mask-image:radial-gradient(72% 62%,#000 62%,#0000 91%)}.log-number{z-index:3;color:#fff6c5;text-shadow:0 3px 4px #1c102e;background:radial-gradient(circle at 35% 25%,#7c5bb5,#33204f 68%);border:4px solid #ffe7a0;border-radius:50%;place-items:center;width:70px;height:70px;font:2.4rem Jua,sans-serif;display:grid;position:absolute;top:49%;left:59%;translate:-50% -50%;box-shadow:inset 0 3px 8px #ffffff40,0 5px #1c102e,0 0 22px #b98bff}.log-order{z-index:3;color:#f3e8c7;letter-spacing:.07em;background:#160d26b8;border-radius:999px;padding:3px 10px;font-size:.68rem;position:absolute;top:72%;left:59%;translate:-50%}.swinging-axe{z-index:8;object-fit:contain;transform-origin:20% 85%;filter:drop-shadow(0 8px 8px #00000080);width:150px;height:150px;animation:.86s cubic-bezier(.55,.03,.5,1) both axeChop;position:absolute;top:-25%;right:18%}.wood-impact{z-index:9;color:#fff8ad;text-shadow:0 0 16px #fff,0 0 35px #ffc13d;font-size:5rem;animation:.5s ease-out both woodImpact;position:absolute;top:43%;left:58%}.wood-chips i{z-index:7;background:#e3a84d;border-radius:70% 20%;width:18px;height:8px;animation:.75s ease-out both chipFly;position:absolute;top:46%;left:58%;box-shadow:0 0 8px #ffc65a}.wood-chips i:nth-child(2){--chip-x:80px;--chip-y:-42px;animation-delay:50ms}.wood-chips i:nth-child(3){--chip-x:-65px;--chip-y:-30px;animation-delay:.1s}.rune-log.axe-hit{animation:.86s both logImpact}.rune-log.wrong-log{filter:hue-rotate(320deg)saturate(1.5);animation:.45s wrongLog}.rune-log.chopped{opacity:.18;transform:translateY(90px) rotate(calc(var(--log-tilt) * 2)) scale(.62);filter:brightness(1.4);pointer-events:none}.axe-mission-status{z-index:10;color:#fff1bd;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#191034e0;border:1px solid #ffe28b73;border-radius:999px;justify-content:center;align-items:center;gap:14px;min-width:min(520px,90vw);padding:10px 18px;display:flex;position:relative;box-shadow:0 10px 26px #00000059}.axe-mission-status>img{object-fit:contain;width:46px;height:46px}.axe-mission-status button{color:#4a2c00;cursor:pointer;background:linear-gradient(#ffe570,#eca31e);border:2px solid #fff0a5;border-radius:999px;margin-left:auto;padding:10px 18px;font:.9rem Jua,sans-serif}@keyframes axeChop{0%{opacity:0;transform:translate(-34px,-70px)rotate(-62deg)scale(.72)}18%{opacity:1}64%{opacity:1;transform:translate(8px,55px)rotate(38deg)scale(1.16)}76%{opacity:1;transform:translate(3px,43px)rotate(29deg)scale(1.08)}88%{opacity:1;transform:translate(8px,55px)rotate(38deg)scale(1.12)}to{opacity:0;transform:translate(11px,60px)rotate(41deg)scale(1.04)}}@keyframes woodImpact{0%{opacity:0;transform:scale(.1)rotate(0)}45%{opacity:1}to{opacity:0;transform:scale(1.9)rotate(70deg)}}@keyframes chipFly{to{transform:translate(var(--chip-x,55px),var(--chip-y,-60px)) rotate(180deg);opacity:0}}@keyframes logImpact{25%{transform:translateX(-9px) rotate(var(--log-tilt))}50%{transform:translateX(9px) rotate(var(--log-tilt))}75%{transform:translateX(-5px) rotate(var(--log-tilt))}}@keyframes wrongLog{25%{transform:translateX(-8px) rotate(var(--log-tilt))}75%{transform:translateX(8px) rotate(var(--log-tilt))}}.pattern-row{text-align:center;letter-spacing:8px;margin:18px 0;font-size:2.2rem}.pattern-choices{justify-content:center;gap:10px;display:flex}.pattern-choices button{border:3px solid var(--paper-line);background:var(--paper);cursor:pointer;border-radius:14px;width:64px;height:64px;font-size:2rem}.torch-mission{isolation:isolate;transition:box-shadow .5s,background .5s;position:relative;overflow:hidden}.torch-mission.torch-lit{background:radial-gradient(circle at 50% 55%,#ffd75b61,#3b1f4cf0 64%);box-shadow:0 0 0 2px #ffe26f9e,0 0 64px #ffb030a6,inset 0 0 48px #ffd6632e}.torch-light-show{z-index:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.torch-flare{background:#fff9b4;border-radius:50%;width:44px;height:44px;animation:1.8s ease-out both torchFlash;position:absolute;top:56%;left:50%;box-shadow:0 0 24px 12px #ffe878,0 0 80px 38px #ff9d20ad,0 0 180px 90px #ff77143d}.torch-light-show i{width:8px;height:18px;transform:rotate(calc(var(--spark) * 16.36deg)) translateY(-8px);animation:1.65s cubic-bezier(.18,.75,.3,1) both torchSpark;animation-delay:calc(var(--spark) * -.025s);background:linear-gradient(#fff9b1,#ffbe31 55%,#ff6334);border-radius:70% 20%;position:absolute;top:56%;left:50%}.torch-success{z-index:1;background:linear-gradient(100deg,#ffdb5c3d,#462764c2);border:2px solid #ffe581;border-radius:18px;align-items:center;gap:12px;max-width:570px;margin:17px auto 8px;padding:10px 15px;animation:.45s both torchSuccessIn;display:flex;position:relative;box-shadow:0 0 24px #ffbd3659}.torch-success img{object-fit:contain;filter:drop-shadow(0 0 12px #ffc94f);width:70px;height:70px;animation:.85s ease-in-out infinite alternate torchFlicker}.torch-success b,.torch-success span{display:block}.torch-success b{color:#fff0ae;font-family:Jua,sans-serif;font-size:1.05rem}.torch-success span{color:#fff8dd;margin-top:4px;font-size:.88rem}@keyframes torchFlash{0%{opacity:0;transform:translate(-50%,-50%)scale(.05)}15%{opacity:1}45%{opacity:.94;transform:translate(-50%,-50%)scale(2.8)}to{opacity:0;transform:translate(-50%,-50%)scale(5)}}@keyframes torchSpark{0%{opacity:0;transform:rotate(calc(var(--spark) * 16.36deg)) translateY(-4px) scale(.2)}18%{opacity:1}to{opacity:0;transform:rotate(calc(var(--spark) * 16.36deg)) translateY(-260px) scale(.7)}}@keyframes torchSuccessIn{0%{opacity:0;transform:translateY(14px)scale(.92)}to{opacity:1;transform:none}}@keyframes torchFlicker{0%{transform:rotate(-3deg)scale(.97)}to{transform:rotate(3deg)scale(1.06)}}.summary-list{margin:16px 0;padding:0;list-style:none}.summary-list li{border-bottom:1px dashed var(--paper-line);justify-content:space-between;padding:8px 0;font-size:.92rem;display:flex}.progress-track{gap:4px;margin-bottom:18px;display:flex}.progress-seg{background:var(--paper-line);border-radius:3px;flex:1;height:5px}.progress-seg.done{background:var(--gold)}body{background:#090716;min-width:320px;overflow-x:hidden}button{-webkit-tap-highlight-color:transparent}button:focus-visible{outline-offset:4px;outline:4px solid #fff3a6}.screen-mount{display:contents}.developer-mode-entry{z-index:1200;color:#fff1bc;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1b1239e6;border:2px solid #ffe69bbf;border-radius:999px;padding:10px 16px;font:.78rem Jua,sans-serif;position:fixed;bottom:18px;right:18px;box-shadow:0 8px 25px #0006,0 0 16px #b891eb47}.home-settings-button{z-index:1200;color:#fff1bc;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1b1239e6;border:2px solid #ffe69bbf;border-radius:50%;place-items:center;width:44px;height:44px;font-size:1.1rem;display:grid;position:fixed;top:18px;right:18px;box-shadow:0 8px 25px #0006,0 0 16px #b891eb47}.save-flash{z-index:5000;color:#3a2a08;pointer-events:none;background:linear-gradient(#fff3ae,#f2b93d);border:2px solid #ffe58a;border-radius:999px;padding:11px 22px;font:.95rem Jua,sans-serif;animation:.4s cubic-bezier(.2,.9,.2,1.2) both saveFlashPop;position:fixed;top:22px;left:50%;translate:-50%;box-shadow:0 10px 28px #00000059,0 0 22px #ffd2508c}@keyframes saveFlashPop{0%{opacity:0;transform:translateY(-10px)scale(.9)}}@media (hover:hover){.developer-mode-entry:hover{border-color:#ffe47c;transform:translateY(-2px)}}.developer-toolbar{z-index:1500;color:#eaffff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(145deg,#0a1b30f7,#1c163ef7);border:2px solid #80e9ff;border-radius:17px;width:min(390px,100vw - 28px);padding:11px;font-family:Jua,sans-serif;position:fixed;top:12px;right:14px;box-shadow:0 14px 35px #0000007a,0 0 22px #36d2ff47}.dev-toolbar-title{letter-spacing:.08em;justify-content:space-between;align-items:center;margin-bottom:7px;font-size:.72rem;display:flex}.dev-toolbar-title span{color:#6de9ff}.dev-toolbar-title b{color:#ffe777}.developer-toolbar select{color:#f7fdff;background:#152743;border:1px solid #698fac;border-radius:10px;width:100%;min-height:35px;padding:6px 30px 6px 10px;font:.76rem Jua,sans-serif}.dev-toolbar-actions{grid-template-columns:1fr 1.25fr 1fr;gap:6px;margin-top:7px;display:grid}.dev-toolbar-actions button,.dev-exit{color:#eaffff;cursor:pointer;background:#244367;border:1px solid #6abed6;border-radius:9px;min-height:32px;font:.68rem Jua,sans-serif}@media (hover:hover){.dev-toolbar-actions button:hover{background:#32658c}}.dev-toolbar-actions button:disabled{opacity:.35;cursor:not-allowed}.dev-exit{color:#ead7e8;background:#493348;border-color:#9a7897;width:100%;min-height:27px;margin-top:6px}.dev-effect-controls{z-index:1450;color:#eaffff;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#0a1c31f0;border:2px solid #7ee8ff;border-radius:14px;align-items:center;gap:6px;padding:8px 10px;font:.7rem Jua,sans-serif;display:flex;position:fixed;top:12px;left:14px;box-shadow:0 10px 28px #0000006b}.dev-effect-controls b{color:#72e9ff;margin-right:3px}.dev-effect-controls button{color:#fff;cursor:pointer;background:#2e5275;border:1px solid #8fc9da;border-radius:8px;padding:7px 10px;font:.66rem Jua,sans-serif}.dev-effect-controls button:last-child{color:#4e3309;background:#f3c95b;border-color:#ffe57f}.stage{isolation:isolate;background-color:#11102a;background-position:50%;background-size:cover;width:100%;max-width:none;min-height:100svh;margin:0;padding:22px clamp(18px,4vw,64px) 28px;position:relative;overflow:hidden}.stage:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% 34%,#0000 20%,#0504121a 60%,#050412ad 115%),linear-gradient(#08091f14,#0605126b);position:absolute;inset:0}.bg-forest{background-image:linear-gradient(#080f1e0a,#06071561),url(/backgrounds/forest.webp)}.bg-cave{background-image:linear-gradient(#08081c0f,#0504107a),url(/backgrounds/cave.webp)}.bg-compare{background-image:linear-gradient(#16093614,#14092a61),url(/backgrounds/compare_hill.webp);background-position:50% 45%}.bg-shape{background-image:linear-gradient(#0f072a0d,#10062661),url(/backgrounds/shape_cave.webp);background-position:50%}.bg-pattern{background-image:linear-gradient(#06142a0f,#0510246b),url(/backgrounds/pattern_river.webp);background-position:50%}.bg-star,.bg-tower{background-image:linear-gradient(#0a062014,#08051a75),url(/backgrounds/star_hill.webp);background-position:50%}.bg-sprout{background-image:linear-gradient(#080f1e0a,#06071561),url(/backgrounds/forest.webp)}.bg-port{background-image:linear-gradient(#0a12281a,#060a1c66),url(/episode2/backgrounds/01_tenlight_harbor.webp);background-position:50%}.bg-market{background-image:linear-gradient(#26140a1a,#180c0666),url(/episode2/backgrounds/02_bundle_market.webp);background-position:50%}.bg-railway{background-image:linear-gradient(#100e1c1a,#0a08146b),url(/episode2/backgrounds/03_return_railway.webp);background-position:50%}.bg-clockgarden{background-image:linear-gradient(#1e0e2414,#14091c66),url(/episode2/backgrounds/04_clockflower_garden.webp);background-position:50%}.bg-meadow{background-image:linear-gradient(#0c18220f,#08101a66),url(/episode2/backgrounds/05_measure_cloud_meadow.webp);background-position:50%}.bg-lighthouse{background-image:linear-gradient(#080a221a,#05061675),url(/episode2/backgrounds/06_tens_lighthouse.webp);background-position:50%}.bg-post{background-image:linear-gradient(#10180a1a,#08100666),url(/episode3/backgrounds/01_promise_forest_post_office.webp);background-position:50%}.bg-glintmarket{background-image:linear-gradient(#28180a1a,#1a0e0666),url(/episode3/backgrounds/02_sparkling_market_square.webp);background-position:50%}.bg-library{background-image:linear-gradient(#14102814,#0c0a1e66),url(/episode3/backgrounds/03_cloud_chart_library.webp);background-position:50%}.bg-garden{background-image:linear-gradient(#0a1a1014,#06120a66),url(/episode3/backgrounds/04_pathfinding_garden.webp);background-position:50%}.bg-dock{background-image:linear-gradient(#0816221a,#050e1870),url(/episode3/backgrounds/05_sharing_harbor.webp);background-position:50%}.bg-starmap{background-image:linear-gradient(#140e281a,#0c081c70),url(/episode3/backgrounds/06_starry_archive_map_hall.webp);background-position:50%}.bg-seedmeadow{background-image:linear-gradient(#101c0a14,#0a140666),url(/episode4/backgrounds/01_seedlight_meadow.webp);background-position:50%}.bg-stonebridge{background-image:linear-gradient(#1412161a,#0e0c1070),url(/episode4/backgrounds/02_stonebridge_gorge.webp);background-position:50%}.bg-greenhouse{background-image:linear-gradient(#08181c14,#05101466),url(/episode4/backgrounds/03_dewdrop_greenhouse.webp);background-position:50%}.bg-windhill{background-image:linear-gradient(#0a16220f,#060e1861),url(/episode4/backgrounds/04_windchime_hill.webp);background-position:50%}.bg-festivalplaza{background-image:linear-gradient(#1e140a14,#140c066b),url(/episode4/backgrounds/05_starlight_festival_plaza.webp);background-position:50%}.bg-firststar{background-image:linear-gradient(#160e261a,#0e081a75),url(/episode4/backgrounds/06_garden_of_first_star.webp);background-position:50%}.bg-flamepath{background-image:linear-gradient(#2810081a,#1a0a056b),url(/episode5/backgrounds/01_courage_ember_path.webp);background-position:50%}.bg-sharespring{background-image:linear-gradient(#081a2214,#05111666),url(/episode5/backgrounds/02_sharing_star_spring.webp);background-position:50%}.bg-windpromise{background-image:linear-gradient(#0a16220f,#060e1861),url(/episode5/backgrounds/03_wind_promise_road.webp);background-position:50%}.bg-growgarden{background-image:linear-gradient(#0a1a0e14,#06110966),url(/episode5/backgrounds/04_growing_arboretum.webp);background-position:50%}.bg-heartstation{background-image:linear-gradient(#1a0e261a,#11091a70),url(/episode5/backgrounds/05_heart_constellation_station.webp);background-position:50%}.bg-firstpromise{background-image:linear-gradient(#120e281a,#0c091c75),url(/episode5/backgrounds/06_chamber_of_first_promise.webp);background-position:50%}.clock-face{margin:0 auto;position:relative}.clock-face-dial{object-fit:contain;filter:drop-shadow(0 8px 10px #00000059);width:100%;height:100%;position:absolute;inset:0}.clock-face-number{color:#2d2140;text-shadow:0 1px #ffffff8c;pointer-events:none;font:700 .8rem Jua,sans-serif;position:absolute;translate:-50% -50%}.clock-face-hand{pointer-events:none;filter:drop-shadow(0 3px 4px #00000059);position:absolute;top:50%;left:50%}.clock-face-hand-hour{width:56%;transform-origin:var(--pivot-x) var(--pivot-y);transform:translate(var(--pivot-x-neg),var(--pivot-y-neg)) rotate(var(--hand-deg));transition:transform .5s cubic-bezier(.3,1.3,.4,1)}.clock-face-hand-minute{width:42%;transform-origin:var(--pivot-x) var(--pivot-y);transform:translate(var(--pivot-x-neg),var(--pivot-y-neg)) rotate(var(--hand-deg));transition:transform .5s cubic-bezier(.3,1.3,.4,1)}.clock-face-sparkle{object-fit:contain;pointer-events:none;width:124%;height:124%;animation:.45s both clockSparkle;position:absolute;inset:-12%}@keyframes clockSparkle{0%{opacity:0;scale:.7}60%{opacity:1}to{opacity:0;scale:1.15}}.clock-face-visual{justify-content:center;padding:6px 0;display:flex}.clock-face-options{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.clock-face-option{flex-direction:column;align-items:center;gap:4px;display:flex}.clock-face-option b{color:#fff0a4;font:.78rem Jua,sans-serif}.length-bars-visual{flex-direction:column}.length-bars-stage{flex-direction:column;align-items:flex-start;gap:9px;display:flex}.length-bar-row{align-items:center;gap:6px;display:flex}.length-bar-row small{color:#fff0a4;text-shadow:0 1px 2px #00000080;min-width:34px;font:.72rem Jua,sans-serif}.length-bar-track{align-items:center;display:flex}.length-bar-cap{object-fit:contain;filter:drop-shadow(0 2px 3px #0000004d);width:24px;height:24px;margin:0 -6px}.length-bar-tile{object-fit:contain;filter:drop-shadow(0 1px 2px #0000004d);width:22px;height:11px;margin:0 -3px}.balance-scale-stage{width:210px;max-width:72vw;margin:0 auto;position:relative}.balance-scale-base{filter:drop-shadow(0 8px 10px #00000059);width:100%;display:block}.balance-scale-pan{flex-wrap:wrap;place-content:flex-end center;gap:1px;height:22%;transition:transform .4s;display:flex;position:absolute;top:54%}.balance-scale-pan-left{width:28%;left:3.5%}.balance-scale-pan-right{width:28%;left:68.5%}.balance-scale-orb{filter:drop-shadow(0 1px 2px #0006);width:22%;height:auto}.height-stack-stage{width:200px;max-width:66vw;height:262px;margin:0 auto;position:relative}.height-stack-base{filter:drop-shadow(0 6px 8px #00000059);width:100%;display:block;position:absolute;bottom:0;left:0}.height-tower-column{flex-direction:column;align-items:center;display:flex;position:absolute;bottom:76px;transform:translate(-50%)}.height-tower-crown{filter:drop-shadow(0 2px 2px #0000004d);width:22px;margin-bottom:-6px}.height-tower-segment{filter:drop-shadow(0 2px 2px #0000004d);width:22px;margin-top:-6px}.height-tower-segment~.height-tower-segment{margin-top:-13px}.height-tower-label{color:#fff0a4;text-shadow:0 1px 2px #0009;margin-top:4px;font:.62rem Jua,sans-serif}.length-measure-stage{width:250px;max-width:82vw;margin:26px auto 0;position:relative}.length-measure-vine{filter:drop-shadow(0 4px 6px #0000004d);width:100%;display:block}.length-measure-ticks{justify-content:space-between;display:flex;position:absolute;bottom:-2px;left:5%;right:5%}.length-measure-tick{background:#fff0a4;border-radius:50%;width:6px;height:6px;box-shadow:0 0 3px #00000080}.length-measure-pointer{filter:drop-shadow(0 3px 4px #0006);width:26px;position:absolute;top:-26px;transform:translate(-50%)rotate(-16deg)}.length-measure-caption{text-align:center;color:#fff0a4;text-shadow:0 1px 2px #00000080;margin:6px 0 0;font:.7rem Jua,sans-serif}.pictograph-compare{flex-direction:column;gap:8px;width:100%;max-width:300px;margin:0 auto;display:flex}.pictograph-row{align-items:center;gap:8px;display:flex}.pictograph-label{color:#fff0a4;text-align:right;text-shadow:0 1px 2px #00000080;min-width:58px;font:.72rem Jua,sans-serif}.pictograph-icons{flex-wrap:wrap;flex:1;gap:3px;display:flex}.pictograph-icons img{object-fit:contain;filter:drop-shadow(0 2px 2px #0000004d);width:18px;height:18px}.direction-grid-visual{justify-content:center;align-items:center;display:flex}.direction-facing{flex-direction:column;gap:2px;position:relative}.direction-character{object-fit:contain;filter:drop-shadow(0 4px 6px #00000059);width:76px;height:76px}.direction-arrow{font-size:var(--arrow-size,48px);color:#ffe27a;transform:rotate(var(--arrow-rotate,0deg));text-shadow:0 0 10px #ffd25099;display:inline-block}.direction-grid-board{grid-template-columns:repeat(var(--grid-size,3),44px);grid-template-rows:repeat(var(--grid-size,3),44px);gap:4px;display:grid}.direction-grid-cell{background:#ffffff0f;border:2px solid #ffffff4d;border-radius:8px;place-items:center;font-size:1.3rem;display:grid}.direction-grid-cell.marked{background:#ffb45040;border-color:#ffcf6b}.direction-path{gap:10px}.direction-maze{gap:26px}.direction-maze-side{color:#fff0a4;background:#ffffff14;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:12px 20px;font:.8rem Jua,sans-serif;display:flex}.direction-maze-side span{font-size:1.5rem}.stage>.card{width:min(100%,500px);margin:auto}.adventure-hud{z-index:50;width:min(1180px,100%);margin:0 auto;position:relative}.topbar{color:#fff9e9;filter:drop-shadow(0 2px 5px #00000080);grid-template-columns:auto 1fr auto auto auto;align-items:center;gap:10px;margin:0;display:grid}.shop-hud-button{color:#fff9e9;cursor:pointer;background:linear-gradient(#8a5a24,#4a2c10);border-color:#ffd876;font-family:Jua,sans-serif;box-shadow:0 0 14px #ffcd4959}.hud-location{color:#fff3bf;letter-spacing:.04em;text-shadow:0 2px 8px #000000b8;justify-self:center;font-family:Jua,sans-serif;font-size:clamp(.72rem,1.5vw,.96rem)}.chip{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#231c46db,#0f0d27d1);border:1px solid #ffe79985;min-height:38px;padding:7px 14px;box-shadow:inset 0 1px #ffffff29,0 6px 16px #00000040}.hero-chip img{border:1px solid #ffffffb3;width:25px;height:25px}.companion-party-chip{gap:0;padding:5px 10px 5px 6px}.companion-party-chip img{object-fit:cover;object-position:top center;background:#211a44;border:2px solid #fff4c8d9;border-radius:50%;width:24px;height:24px;margin-right:-9px;display:inline-block;position:relative;box-shadow:0 0 6px #ffdc7880}.companion-party-chip img:last-child{margin-right:0}.companion-party-chip img:first-child{z-index:3}.companion-party-chip img:nth-child(2){z-index:2}.companion-party-chip img:nth-child(3){z-index:1}.companion-party-chip img:nth-child(4){z-index:0}.progress-track{gap:7px;width:min(560px,66%);margin:8px auto 0}.progress-seg{background:#110d299e;border:1px solid #ffffff26;height:4px;box-shadow:0 2px 5px #00000040}.progress-seg.done{background:linear-gradient(90deg,#ffc83d,#fff4a7);box-shadow:0 0 10px #ffd65b}.screen-home{padding:0}.team-credit{z-index:9;color:#fff2b9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);letter-spacing:.08em;text-shadow:0 2px 8px #000c;background:linear-gradient(90deg,#0f0b27b8,#27193f7a);border:1px solid #ffe79661;border-radius:999px;align-items:center;gap:7px;padding:8px 14px 9px;font-size:.78rem;animation:.8s cubic-bezier(.2,.8,.2,1) .25s both homeCopyIn;display:flex;position:absolute;top:24px;left:clamp(20px,3.2vw,52px);box-shadow:0 8px 24px #0000003d,inset 0 1px #ffffff1f}.team-credit>img{object-fit:cover;border-radius:50%;width:34px;height:34px;margin:-5px 1px -5px -7px;box-shadow:0 0 13px #ffe08940}.team-credit-label{color:#ffffffa6;text-transform:uppercase;font-size:.7rem}.team-credit strong{letter-spacing:.04em;font-family:Jua,sans-serif;font-size:.92rem;font-weight:400}.home-scene{grid-template-columns:minmax(300px,.9fr) minmax(340px,1.1fr);align-items:center;min-height:100svh;padding:clamp(48px,8vh,92px) clamp(24px,8vw,132px) 100px;display:grid;position:relative;overflow:hidden}.home-scene:before{content:"";z-index:-3;background:linear-gradient(90deg,#08071ca8 0%,#0c0e234d 47%,#0509180f 74%),linear-gradient(#0000 62%,#080517bd);position:absolute;inset:0}.forest-depth{pointer-events:none;z-index:-2;position:absolute;inset:-5%}.forest-depth-back{background:radial-gradient(circle at 75% 36%,#74e4ff38,#0000 25%);animation:7s ease-in-out infinite forestBreathe}.forest-depth-front{z-index:4;filter:blur(2px);background:radial-gradient(at 6% 100%,#0a231beb 0 13%,#0000 14%),radial-gradient(at 98% 100%,#081918e6 0 15%,#0000 16%)}@keyframes forestBreathe{50%{opacity:.72;transform:scale(1.04)}}.magic-motes{z-index:1;pointer-events:none;position:absolute;inset:0}.magic-motes i{background:#fff0a0;border-radius:50%;width:5px;height:5px;animation:5s ease-in-out infinite moteDrift;position:absolute;box-shadow:0 0 8px #ffd454,0 0 18px #ffbd3b}.magic-motes i:first-child{animation-delay:-1s;top:18%;left:7%}.magic-motes i:nth-child(2){animation-delay:-3s;top:73%;left:14%}.magic-motes i:nth-child(3){animation-delay:-2s;top:25%;left:27%}.magic-motes i:nth-child(4){animation-delay:-4s;top:64%;left:38%}.magic-motes i:nth-child(5){animation-delay:-.5s;top:13%;left:47%}.magic-motes i:nth-child(6){animation-delay:-2.6s;top:76%;left:54%}.magic-motes i:nth-child(7){animation-delay:-3.8s;top:22%;left:63%}.magic-motes i:nth-child(8){animation-delay:-1.4s;top:58%;left:72%}.magic-motes i:nth-child(9){animation-delay:-4.4s;top:11%;left:81%}.magic-motes i:nth-child(10){animation-delay:-2.1s;top:43%;left:91%}.magic-motes i:nth-child(11){animation-delay:-.8s;top:79%;left:84%}.magic-motes i:nth-child(12){animation-delay:-3.2s;top:86%;left:31%}.magic-motes i:nth-child(13){animation-delay:-1.8s;top:45%;left:57%}.magic-motes i:nth-child(14){animation-delay:-4.8s;top:48%;left:20%}.magic-motes i:nth-child(15){animation-delay:-2.9s;top:65%;left:96%}.magic-motes i:nth-child(16){animation-delay:-.2s;top:32%;left:44%}@keyframes moteDrift{0%,to{opacity:.22;transform:translateY(12px)scale(.65)}50%{opacity:1;transform:translate(11px,-22px)scale(1.35)}}.home-copy{z-index:6;text-align:center;max-width:600px;animation:.8s cubic-bezier(.2,.8,.2,1) homeCopyIn;position:relative}@keyframes homeCopyIn{0%{opacity:0;transform:translate(-32px)}}.chapter-kicker{color:#ffe9a2;letter-spacing:.18em;text-shadow:0 2px 12px #15102b;justify-content:center;align-items:center;gap:10px;font-family:Do Hyeon,sans-serif;font-size:clamp(.82rem,1.4vw,1.05rem);display:flex}.chapter-kicker span{color:#fff3a5;text-shadow:0 0 12px #ffcf4d}.home-copy h1{flex-direction:column;align-items:center;margin:13px 0 8px;display:flex}.title-small{color:#fff5ce;letter-spacing:.1em;text-shadow:0 2px 8px #1a1232,0 0 18px #ffd77247;font-size:clamp(1.35rem,2.45vw,2.05rem)}.title-main{color:#fff8dc;letter-spacing:-.06em;text-shadow:0 4px #9a5b1b,0 8px 25px #000000b8,0 0 35px #ffcd5259;font-size:clamp(4.9rem,9.4vw,8.6rem);line-height:.9}.home-copy p{color:#fffbe9;text-shadow:0 2px 10px #090617;font-size:clamp(1rem,1.8vw,1.35rem);line-height:1.7}.quest-start,.hero-confirm{color:#4a2c00;cursor:pointer;background:linear-gradient(#ffe46f 0%,#f2ad23 62%,#d88413 100%);border:3px solid #fff5c5;border-radius:999px;justify-content:center;align-items:center;gap:14px;min-width:min(350px,90vw);min-height:66px;margin-top:18px;padding:12px 32px;font:1.25rem Jua,sans-serif;transition:transform .2s,filter .2s;display:inline-flex;position:relative;overflow:hidden;box-shadow:inset 0 2px #ffffffb3,0 7px #8b4f11,0 12px 30px #0006,0 0 25px #ffcf466b}@media (hover:hover){.quest-start:hover,.hero-confirm:hover{filter:brightness(1.08);transform:translateY(-3px)scale(1.02)}}.quest-start:active,.hero-confirm:active{transform:translateY(4px);box-shadow:inset 0 2px #ffffffb3,0 3px #8b4f11}.button-glint{background:#ffffff80;width:28%;animation:3.4s ease-in-out infinite buttonGlint;position:absolute;inset:-40% auto -40% -35%;transform:skew(-20deg)}@keyframes buttonGlint{0%,65%{left:-35%}88%,to{left:120%}}.start-icon{color:#fff7ae;background:#46aa70;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;box-shadow:inset 0 2px 3px #fff6}.start-arrow{font-size:2rem;line-height:.5}.home-hint{color:#ffffffad;letter-spacing:.06em;margin-top:22px;font-size:.78rem}.home-companion{z-index:5;justify-self:center;place-items:center;width:min(42vw,480px);height:min(72vh,650px);animation:1s cubic-bezier(.2,.8,.2,1) .15s both companionIn;display:grid;position:relative}@keyframes companionIn{0%{opacity:0;transform:translate(45px)scale(.88)}}.home-companion img{z-index:2;object-fit:contain;filter:drop-shadow(0 22px 28px #0000006b);width:90%;max-height:100%;animation:3.1s ease-in-out infinite companionFloat;position:relative;-webkit-mask-image:radial-gradient(70% 68% at 50% 48%,#000 54%,#0000 86%);mask-image:radial-gradient(70% 68% at 50% 48%,#000 54%,#0000 86%)}.companion-aura{aspect-ratio:1;filter:blur(8px);background:radial-gradient(circle,#ffe77aa6,#ad68ff3d 42%,#0000 70%);border-radius:50%;width:70%;animation:2.4s ease-in-out infinite auraPulse;position:absolute}@keyframes companionFloat{50%{transform:translateY(-13px)rotate(1.5deg)}}@keyframes auraPulse{50%{opacity:.72;transform:scale(1.12)}}.companion-callout{z-index:3;color:#3e2851;background:#fffbe2f0;border:2px solid #fff4b9d6;border-radius:24px 24px 24px 6px;max-width:210px;padding:12px 18px;font:1rem Jua,sans-serif;position:absolute;top:17%;right:-8%;box-shadow:0 10px 26px #0000004d,0 0 22px #ffe67647}.home-quest-ribbon{z-index:8;color:#f8e7bd;text-align:center;letter-spacing:.05em;background:linear-gradient(90deg,#0000,#120d2bb8 18% 82%,#0000);border-block:1px solid #ffe09175;width:min(760px,90vw);padding:12px 28px;font-size:.82rem;position:absolute;bottom:25px;left:50%;transform:translate(-50%)}.ribbon-symbol{color:#ffc74c;margin:0 14px}.hero-select-scene{z-index:5;flex:1;grid-template-rows:1fr auto;grid-template-columns:minmax(240px,.72fr) minmax(360px,1.28fr);align-items:center;width:min(1260px,100%);min-height:calc(100svh - 105px);margin:0 auto;padding:16px 0 12px;display:grid;position:relative}.selection-copy{text-align:center;z-index:3;align-self:center;max-width:390px}.selection-copy h2{color:#fff7d7;text-shadow:0 4px #643d29,0 9px 24px #0000008c;margin:18px 0 12px;font-size:clamp(2.4rem,4.6vw,4.8rem);line-height:1.05}.selection-copy p{color:#fff6de;text-shadow:0 2px 7px #090713;line-height:1.7}.chosen-hero{place-items:center;height:min(66vh,640px);display:grid;position:relative}.chosen-hero img{z-index:2;object-fit:contain;filter:drop-shadow(0 24px 28px #00000085);width:min(46vw,520px);height:100%;animation:.45s cubic-bezier(.2,.8,.2,1) chosenHeroIn,3.5s ease-in-out .45s infinite heroBreath;position:relative;-webkit-mask-image:radial-gradient(60% 69% at 50% 46%,#000 58%,#0000 91%);mask-image:radial-gradient(60% 69% at 50% 46%,#000 58%,#0000 91%)}@keyframes chosenHeroIn{0%{opacity:0;transform:translateY(18px)scale(.92)}}@keyframes heroBreath{50%{transform:translateY(-8px)rotate(.5deg)}}.hero-rays{aspect-ratio:1;background:repeating-conic-gradient(from 0deg,#ffde732e 0 6deg,transparent 6deg 16deg);border-radius:50%;width:min(48vw,540px);animation:34s linear infinite slowSpin;position:absolute;-webkit-mask-image:radial-gradient(circle,#000 12%,#0000 69%);mask-image:radial-gradient(circle,#000 12%,#0000 69%)}@keyframes slowSpin{to{transform:rotate(360deg)}}.hero-pedestal{filter:blur(3px);background:radial-gradient(#ffdf6dcc,#7346be7a 45%,#0000 72%);border-radius:50%;width:48%;height:10%;position:absolute;bottom:3%;box-shadow:0 0 35px #ffd65461}.chosen-name{z-index:5;text-align:center;color:#fff5d3;background:linear-gradient(90deg,#0000,#191036c7 22% 78%,#0000);border-block:1px solid #ffe28b80;flex-direction:column;padding:9px 26px;display:flex;position:absolute;bottom:14%;right:4%}.chosen-name small{color:#e5cdff;letter-spacing:.12em;font-size:.7rem}.chosen-name strong{font:1.25rem Jua,sans-serif}.hero-roster{z-index:8;grid-column:1/-1;justify-content:center;gap:clamp(8px,1.7vw,22px);padding:10px 16px 4px;display:flex}.hero-token{color:#fff;cursor:pointer;background:0 0;border:0;width:clamp(64px,8vw,102px);padding:0;font-family:Do Hyeon,sans-serif}.hero-token img{aspect-ratio:1;object-fit:cover;border:3px solid #d5c6ff80;border-radius:50%;width:100%;transition:all .2s;box-shadow:inset 0 0 0 3px #18103366,0 8px 18px #00000059}.hero-token span{text-shadow:0 2px 4px #05030e;margin-top:6px;font-size:clamp(.66rem,1vw,.84rem);display:block}@media (hover:hover){.hero-token:hover img{border-color:#ffe69b;transform:translateY(-5px)}}.hero-token.picked img{border-color:#fff0a8;transform:translateY(-7px)scale(1.08);box-shadow:0 0 0 4px #ffb8348c,0 0 28px #f6c34d}.hero-confirm{z-index:12;min-width:270px;min-height:56px;font-size:1rem;position:absolute;bottom:9%;right:1%}.episode-select-scene{z-index:5;background:radial-gradient(circle at 50% 0,#543a9666,#0000 55%),linear-gradient(#0c0a24,#161034 55%,#0c0a24);flex-direction:column;align-items:center;min-height:100svh;padding:clamp(48px,8vh,84px) clamp(20px,6vw,60px) 60px;display:flex;position:relative;overflow:hidden}.episode-select-title{text-align:center;color:#fff7d7;text-shadow:0 4px #4c2b5b,0 9px 24px #0000008c;margin:16px 0 34px;font-size:clamp(2rem,4.2vw,3.2rem);line-height:1.2}.episode-cards{z-index:3;flex-wrap:wrap;justify-content:center;gap:clamp(16px,2.6vw,32px);width:min(1080px,100%);display:flex;position:relative}.episode-card{max-width:480px;min-height:280px;color:inherit;cursor:pointer;text-align:left;background:#181233;border:3px solid #ffe791b3;border-radius:32px;flex-direction:column;flex:380px;justify-content:flex-end;align-items:flex-start;padding:22px clamp(18px,2.6vw,28px);transition:transform .2s,filter .2s,box-shadow .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 14px 34px #00000073,0 0 26px #ffcf462e}@media (hover:hover){.episode-card:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-5px)scale(1.015);box-shadow:0 18px 40px #00000080,0 0 34px #ffcf464d}}.episode-card:active:not(:disabled){transform:translateY(-1px)scale(1)}.episode-card-art{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.episode-card-shade{background:linear-gradient(#0806181f 0%,#0806186b 48%,#080618eb 92%);position:absolute;inset:0}.episode-card-copy{z-index:2;flex-direction:column;gap:4px;display:flex;position:relative}.episode-card-copy small{color:#ffe9a2;letter-spacing:.18em;text-shadow:0 2px 8px #15102b;font:700 .74rem Do Hyeon,sans-serif}.episode-card-copy strong{color:#fff8dc;text-shadow:0 3px 10px #0009;font:1.7rem Jua,sans-serif}.episode-card-copy p{color:#fff2d9;text-shadow:0 2px 8px #0009;max-width:340px;margin:2px 0 0;font-size:.86rem;line-height:1.5}.episode-card-go{z-index:2;color:#3a2255;background:linear-gradient(#fff19b,#f4af33);border:2px solid #fff0aa;border-radius:999px;align-self:flex-end;margin-top:14px;padding:9px 20px;font:.92rem Jua,sans-serif;position:relative;box-shadow:0 4px #915017}.episode-card.locked{cursor:not-allowed;filter:saturate(.35)brightness(.62)}@media (hover:hover){.episode-card.locked:hover{transform:none;box-shadow:0 14px 34px #00000073,0 0 26px #ffcf462e}}.episode-card-lock{z-index:2;background:#0a081ab8;border-radius:50%;place-items:center;width:40px;height:40px;font-size:1.3rem;display:grid;position:absolute;top:16px;right:18px;box-shadow:0 0 0 2px #ffffff40}.save-slot-scene{z-index:1;background:radial-gradient(circle at 50% 0,#543a9666,#0000 55%),linear-gradient(#0c0a24,#161034 55%,#0c0a24);justify-content:center;align-items:center;min-height:100svh;padding:clamp(24px,6vh,60px) clamp(16px,5vw,40px);display:flex;position:relative;overflow:hidden}.save-slot-atmosphere{z-index:0;pointer-events:none;position:absolute;inset:0}.save-slot-atmosphere i{background:#ffe779;border-radius:50%;width:6px;height:6px;animation:5s ease-in-out infinite moteDrift;position:absolute;box-shadow:0 0 14px #ffc636}.save-slot-atmosphere i:first-child{top:14%;left:6%}.save-slot-atmosphere i:nth-child(2){animation-delay:-1s;top:20%;left:92%}.save-slot-atmosphere i:nth-child(3){animation-delay:-2s;top:82%;left:15%}.save-slot-atmosphere i:nth-child(4){animation-delay:-3s;top:76%;left:86%}.save-slot-atmosphere i:nth-child(5){animation-delay:-1.6s;top:6%;left:48%}.save-slot-atmosphere i:nth-child(6){animation-delay:-2.6s;top:92%;left:52%}.save-slot-panel{z-index:2;text-align:center;color:#fff7d7;width:min(980px,100%);position:relative}.save-slot-kicker{color:#ffd75c;letter-spacing:.16em;font:.78rem Do Hyeon,sans-serif}.save-slot-kicker span{margin:0 8px}.save-slot-panel h1{text-shadow:0 4px #4c2b5b,0 9px 24px #0000008c;margin:10px 0 6px;font-size:clamp(1.7rem,4vw,2.6rem)}.save-slot-panel>p{color:#e6dcff;margin:0 0 30px;font-size:.92rem}.grade1-download-bar{background:#241a44;border:2px solid #ffe79166;border-radius:999px;width:min(420px,90%);height:16px;margin:0 auto;overflow:hidden}.grade1-download-bar-fill{background:linear-gradient(90deg,#ffd75c,#ff9f4a);border-radius:999px;height:100%;transition:width .25s}.grade1-download-count{color:#ffe9a2;font-variant-numeric:tabular-nums;margin:10px 0 0;font:.85rem Jua,sans-serif}.save-slot-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;display:grid}.save-slot-card{text-align:left;background:#181233;border:3px solid #ffe791b3;border-radius:28px;flex-direction:column;gap:10px;min-height:190px;padding:18px 18px 20px;display:flex;position:relative;box-shadow:0 14px 34px #00000073,0 0 26px #ffcf462e}.save-slot-card.empty{text-align:center;background:#141029;border-color:#ffe79159;justify-content:center;align-items:center;box-shadow:0 10px 24px #00000059}.save-slot-number{color:#ffe9a2;letter-spacing:.16em;font:700 .72rem Do Hyeon,sans-serif}.save-slot-summary{flex-direction:column;gap:2px;display:flex}.save-slot-summary strong{color:#fff8dc;font:1.25rem Jua,sans-serif}.save-slot-summary>span{color:#d9cdf5;font-size:.82rem}.save-slot-summary small{color:#9d8fc4;margin-top:4px;font-size:.68rem}.save-slot-summary-empty{color:#8577a8;font:1rem Jua,sans-serif}.save-slot-stats{gap:10px;margin-top:6px;display:flex}.save-slot-stats b{color:#ffe36b;font:.92rem Jua,sans-serif}.save-slot-actions{gap:8px;margin-top:auto;display:flex}.save-slot-actions button{cursor:pointer;border-radius:16px;flex:1;min-height:44px;padding:8px 10px;font:.82rem Jua,sans-serif}.save-slot-continue{color:#3a2255;background:linear-gradient(#fff19b,#f4af33);border:2px solid #fff0aa;box-shadow:0 4px #915017}.save-slot-new{color:#fff1bc;background:#1b1239e6;border:2px solid #ffe79180}.save-slot-new-solo{flex:1}.save-slot-confirm{background:#5e202080;border:2px solid #ff9696;border-radius:16px;margin-top:auto;padding:10px 12px}.save-slot-confirm p{color:#ffe0e0;margin:0 0 8px;font:.8rem/1.4 Jua,sans-serif}.save-slot-confirm div{gap:8px;display:flex}.save-slot-confirm-yes{color:#3a1414;cursor:pointer;background:linear-gradient(#ff9c9c,#c94f4f);border:2px solid #ffb0b0;border-radius:14px;flex:1;min-height:40px;font:.78rem Jua,sans-serif}.save-slot-confirm-no{color:#fff1bc;cursor:pointer;background:#1b1239e6;border:2px solid #fff6;border-radius:14px;flex:1;min-height:40px;font:.78rem Jua,sans-serif}.save-slot-continue-solo{flex:1}.grade-select-scene,.new-continue-scene{z-index:1;background:radial-gradient(circle at 50% 0,#543a9666,#0000 55%),linear-gradient(#0c0a24,#161034 55%,#0c0a24);justify-content:center;align-items:center;min-height:100svh;padding:clamp(24px,6vh,60px) clamp(16px,5vw,40px);display:flex;position:relative;overflow:hidden}.intro-back-button{color:#fff1bc;cursor:pointer;background:#1b1239e6;border:2px solid #ffe79180;border-radius:999px;margin:44px 0 18px;padding:8px 16px;font:.8rem Jua,sans-serif;display:inline-flex}.grade-select-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.grade-select-card{text-align:left;min-height:120px;color:inherit;cursor:pointer;background:#181233;border:3px solid #ffe791b3;border-radius:28px;flex-direction:column;gap:6px;padding:20px;display:flex;position:relative;box-shadow:0 14px 34px #00000073,0 0 26px #ffcf462e}@media (hover:hover){.grade-select-card:not(:disabled):hover{transform:translateY(-4px);box-shadow:0 18px 40px #00000080,0 0 34px #ffcf464d}}.grade-select-card strong{color:#fff8dc;font:1.15rem Jua,sans-serif}.grade-select-card span{color:#d9cdf5;font-size:.82rem}.grade-select-card.locked{cursor:not-allowed;filter:saturate(.35)brightness(.62);border-color:#ffe79159}.grade-select-lock{color:#ffe36b;background:#0006;border-radius:999px;align-self:flex-start;padding:4px 10px;font:.68rem Jua,sans-serif}.new-continue-buttons{flex-direction:column;gap:14px;max-width:420px;margin:0 auto;display:flex}.new-continue-buttons button{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:10px;min-height:64px;font:1.1rem Jua,sans-serif;display:flex}.new-continue-new{color:#3a2255;background:linear-gradient(#fff19b,#f4af33);border:3px solid #fff0aa;box-shadow:0 6px #915017,0 0 24px #ffd25080}.new-continue-continue{color:#fff1bc;background:#1b1239e6;border:3px solid #ffe79180}.story-scene{z-index:4;flex:1;width:min(1220px,100%);min-height:calc(100svh - 108px);margin:0 auto;position:relative;overflow:hidden}.story-atmosphere{pointer-events:none;position:absolute;inset:0}.story-atmosphere i{background:#ffe878;border-radius:50%;width:7px;height:7px;animation:4.8s ease-in-out infinite moteDrift;position:absolute;box-shadow:0 0 12px #ffc33b}.story-atmosphere i:first-child{top:30%;left:12%}.story-atmosphere i:nth-child(2){animation-delay:-2s;top:17%;left:28%}.story-atmosphere i:nth-child(3){animation-delay:-3.3s;top:38%;left:48%}.story-atmosphere i:nth-child(4){animation-delay:-1s;top:14%;left:67%}.story-atmosphere i:nth-child(5){animation-delay:-4s;top:44%;left:83%}.story-atmosphere i:nth-child(6){animation-delay:-2.5s;top:72%;left:91%}.lore-scene{place-items:center;padding:50px 20px 120px;display:grid}.lore-focus{text-align:center;color:#fff9e7;text-shadow:0 2px 10px #060411;width:min(760px,88vw);animation:.7s both loreIn;position:relative}@keyframes loreIn{0%{opacity:0;transform:scale(.94)}}.lore-focus:before{content:"";z-index:-1;filter:blur(4px);background:radial-gradient(#2d1b57c7,#100b297a 44%,#0000 72%);position:absolute;inset:-80px -130px}.lore-star{color:#fff9c7;text-shadow:0 0 12px #fff,0 0 32px #ffc53e,0 0 68px #8e67ff;place-items:center;width:92px;height:92px;margin:0 auto 18px;font-size:5rem;animation:2s ease-in-out infinite auraPulse;display:grid;position:relative}.lore-star.grand-star{animation:2s ease-in-out infinite auraPulse,5s linear infinite grandStarHue}@keyframes grandStarHue{0%,to{filter:hue-rotate()saturate()brightness()}25%{filter:hue-rotate(25deg)saturate(1.3)brightness(1.12)}50%{filter:hue-rotate(-15deg)saturate(1.4)brightness(1.2)}75%{filter:hue-rotate(15deg)saturate(1.25)brightness(1.1)}}.grand-star-halo{z-index:-1;filter:blur(20px)saturate(1.5);opacity:.5;background:conic-gradient(#ffd98a,#7ecb92,#6fd3ec,#c79bff,#ff9d6a,#ffd98a);border-radius:50%;animation:9s linear infinite grandHaloSpin;position:absolute;inset:-34px}@keyframes grandHaloSpin{to{transform:rotate(360deg)}}.grand-star-sparkles{pointer-events:none;position:absolute;inset:-70px}.grand-star-sparkles i{background:#fff;border-radius:50%;width:6px;height:6px;animation:2.2s ease-in-out infinite sparkleTwinkle;display:block;position:absolute;box-shadow:0 0 10px 2px #fff,0 0 18px 4px #ffe9a8}.grand-star-sparkles i:first-child{animation-delay:0s;top:2%;left:18%}.grand-star-sparkles i:nth-child(2){animation-delay:.35s;top:72%;left:4%}.grand-star-sparkles i:nth-child(3){animation-delay:.7s;top:8%;left:82%}.grand-star-sparkles i:nth-child(4){animation-delay:1.05s;top:80%;left:86%}.grand-star-sparkles i:nth-child(5){animation-delay:1.4s;top:46%;left:-4%}.grand-star-sparkles i:nth-child(6){animation-delay:1.75s;top:40%;left:98%}@keyframes sparkleTwinkle{0%,to{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1.15)}}.six-ray-burst{pointer-events:none;z-index:0;position:absolute;inset:0}.six-ray-burst i{transform-origin:top;border-radius:6px;width:6px;height:0;margin-left:-3px;animation:2.6s ease-in-out infinite sixRayGrow;position:absolute;top:50%;left:50%;box-shadow:0 0 10px}.six-ray-burst i:after{content:"✦";color:inherit;text-shadow:0 0 8px;font-size:1rem;position:absolute;bottom:-2px;left:50%;translate:-50% 50%}.six-ray-burst i:first-child{color:#ffd98a;background:linear-gradient(#ffd98a,#0000);animation-delay:0s;transform:rotate(0)}.six-ray-burst i:nth-child(2){color:#7ecb92;background:linear-gradient(#7ecb92,#0000);animation-delay:.18s;transform:rotate(60deg)}.six-ray-burst i:nth-child(3){color:#ff9d6a;background:linear-gradient(#ff9d6a,#0000);animation-delay:.36s;transform:rotate(120deg)}.six-ray-burst i:nth-child(4){color:#6fd3ec;background:linear-gradient(#6fd3ec,#0000);animation-delay:.54s;transform:rotate(180deg)}.six-ray-burst i:nth-child(5){color:#5ad1c9;background:linear-gradient(#5ad1c9,#0000);animation-delay:.72s;transform:rotate(240deg)}.six-ray-burst i:nth-child(6){color:#c79bff;background:linear-gradient(#c79bff,#0000);animation-delay:.9s;transform:rotate(300deg)}@keyframes sixRayGrow{0%{opacity:0;height:0}40%{opacity:1;height:120px}75%{opacity:.55;height:140px}to{opacity:0;height:0}}.lore-focus h2{color:#fff1ad;margin-bottom:16px;font-size:clamp(2.5rem,5vw,5.2rem)}.lore-focus p{font-size:clamp(1.05rem,2vw,1.45rem);line-height:1.9}.lore-next{color:#fff4c5;cursor:pointer;text-shadow:0 2px 6px #000;background:0 0;border:0;font:1.05rem Jua,sans-serif;position:absolute;bottom:42px;left:50%;transform:translate(-50%)}.lore-replay{color:#fff4c5;cursor:pointer;background:#120d2cb8;border:2px solid #ffd8688c;border-radius:999px;align-items:center;gap:7px;padding:8px 18px;font:.9rem Jua,sans-serif;display:flex;position:absolute;bottom:98px;left:50%;transform:translate(-50%);box-shadow:0 0 14px #ffc9423d}.fade-in-button{animation:.6s both fadeInButton}@keyframes fadeInButton{0%{opacity:0;transform:translate(-50%)translateY(8px)}to{opacity:1;transform:translate(-50%)translateY(0)}}.ending-restart-confirm{z-index:5;background:#48181e8c;border:2px solid #ffb496bf;border-radius:22px;max-width:520px;margin:14px auto 0;padding:16px 20px;position:relative}.ending-restart-confirm>p{color:#fff0e8;text-shadow:0 2px 5px #17103a;margin:0 0 12px;font:.94rem/1.6 Jua,sans-serif}.ending-restart-confirm>p b{color:#ffd7a8}.ending-restart-confirm .ending-final-actions{justify-content:center}.ending-e5-finale .ending-story-copy h1{word-break:keep-all}.lore-next span{background:#120d2cb8;border:2px solid #ffd768;border-radius:50%;place-items:center;width:34px;height:34px;margin-left:10px;font-size:1.5rem;display:inline-grid;box-shadow:0 0 18px #ffc94261}.speaker-stage{place-items:center;display:grid;position:absolute;inset:0 42% 80px 0}.speaker-figure{z-index:2;object-fit:contain;filter:drop-shadow(0 22px 30px #00000080);width:min(48vw,520px);height:100%;min-height:0;animation:.62s cubic-bezier(.2,.8,.2,1) speakerEnter,3.5s ease-in-out .62s infinite companionFloat;position:relative;-webkit-mask-image:radial-gradient(63% 73% at 50% 47%,#000 53%,#0000 89%);mask-image:radial-gradient(63% 73% at 50% 47%,#000 53%,#0000 89%)}.delta-entrance-figure{transform:translateX(calc((5 - var(--entrance-step,5)) * -32%)) scale(calc(.72 + var(--entrance-step,5) * .056));transition:transform .2s ease-out;animation:none!important}.delta-orbit-stage{z-index:70;pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.delta-orbit-ring{border:3px solid #ffe069bf;border-radius:50%;width:min(44vh,300px);height:min(44vh,300px);animation:1.4s ease-in-out infinite orbitRingPulse;position:absolute;box-shadow:0 0 40px #ffd65a8c,inset 0 0 30px #ffd65a38}.delta-orbit-figure{filter:drop-shadow(0 10px 18px #0006)drop-shadow(0 0 16px #ffde6e99);width:min(26vh,150px);height:auto;transform:rotate(calc(var(--orbit-step,0) * 30deg)) translateY(calc(min(21vh,145px) * -1)) rotate(calc(var(--orbit-step,0) * -30deg));transition:transform .13s linear;position:absolute}@keyframes orbitRingPulse{0%,to{opacity:.65;transform:scale(.94)}50%{opacity:1;transform:scale(1.05)}}.juno-slashing{filter:drop-shadow(0 18px 22px #00000080)drop-shadow(0 0 22px #ffe06ea6)!important;animation:.85s ease-out both junoSlashLunge!important}@keyframes junoSlashLunge{0%{transform:scale(1)translate(0)}45%{transform:scale(1.08)translate(22px)}to{transform:scale(1)translate(0)}}.jaeki-casting{filter:drop-shadow(0 18px 22px #00000080)drop-shadow(0 0 24px #96b4ffb3)!important;animation:.94s ease-out both jaekiCastPulse!important}@keyframes jaekiCastPulse{0%{transform:scale(1)rotate(0)}50%{transform:scale(1.08)rotate(-3deg)}to{transform:scale(1)rotate(0)}}.elf-shooting{filter:drop-shadow(0 18px 22px #00000080)drop-shadow(0 0 22px #c4ff8ca6)!important;animation:.94s ease-out both elfShotLunge!important}@keyframes elfShotLunge{0%{transform:translate(0)scale(1)}45%{transform:translate(25px)scale(1.05)}to{transform:translate(0)scale(1)}}@keyframes speakerEnter{0%{opacity:0;transform:translate(-35px)scale(.92)}}.speaker-glow{aspect-ratio:1;filter:blur(7px);background:radial-gradient(circle,#ffe88473,#724dd83d 46%,#0000 70%);border-radius:50%;width:72%;position:absolute}.dialogue-ribbon{z-index:8;color:#fffbea;text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(90deg,#110c2a1f,#120c2cf7 12%,#130d2ef7 88%,#110c2a1f);border-block:2px solid #ffde83ad;width:min(670px,62%);min-height:190px;padding:30px 84px 28px 46px;animation:.6s cubic-bezier(.2,.8,.2,1) .18s both dialogueIn;position:absolute;bottom:13%;right:2%;box-shadow:0 18px 45px #0000003d,inset 0 1px #ffffff14}@keyframes dialogueIn{0%{opacity:0;transform:translate(35px)}}.dialogue-ribbon:before,.dialogue-ribbon:after{content:"✦";color:#ffd75c;text-shadow:0 0 14px #ffbd39;position:absolute;top:50%;transform:translateY(-50%)}.dialogue-ribbon:before{left:18px}.dialogue-ribbon:after{right:18px}.speaker-name{color:#432a0c;background:linear-gradient(#ffe692,#eeb33e);border-radius:999px;margin-bottom:8px;padding:5px 18px;font-family:Jua,sans-serif;display:inline-block;box-shadow:0 4px #85500f}.dialogue-ribbon h2{color:#ffe7a0;margin:2px 0 7px;font-size:1.5rem}.dialogue-ribbon p{color:#fffdf0;text-shadow:0 2px 6px #05030d,0 0 2px #000;margin:0;font-size:clamp(1rem,1.65vw,1.25rem);line-height:1.75}.dialogue-next{color:#fff3bc;cursor:pointer;background:0 0;border:0;font:1rem Jua,sans-serif;position:absolute;bottom:25px;right:34px}.dialogue-next b{background:#3a285c;border:2px solid #ffd867;border-radius:50%;place-items:center;width:34px;height:34px;margin-left:8px;font-size:1.5rem;display:inline-grid;box-shadow:0 0 15px #ffd35f59}.dialogue-replay{color:#fff3bc;cursor:pointer;background:#120d2c8c;border:2px solid #ffd86880;border-radius:999px;align-items:center;gap:6px;padding:6px 14px;font:.85rem Jua,sans-serif;display:flex;position:absolute;bottom:25px;left:34px}.pet-intro-scene{z-index:4;place-items:center;width:min(1220px,100%);min-height:calc(100svh - 108px);margin:0 auto;padding:20px;display:grid;position:relative;overflow:hidden}.pet-intro-panel{z-index:2;text-align:center;color:#fff9e7;text-shadow:0 2px 10px #060411;width:min(560px,90vw);animation:.7s both loreIn;position:relative}.pet-intro-panel:before{content:"";z-index:-1;filter:blur(4px);background:radial-gradient(#2d1b57c7,#100b297a 44%,#0000 72%);position:absolute;inset:-40px -60px}.pet-intro-kicker{color:#ffd75c;letter-spacing:.14em;margin-bottom:6px;font:.7rem Do Hyeon,sans-serif;display:block}.pet-intro-panel h2{color:#fff1ad;margin:0 0 10px;font-size:1.6rem}.pet-intro-panel p{color:#e7def4;margin:0 0 10px;font-size:.88rem;line-height:1.55}.pet-intro-panel .pet-mystery-egg{width:150px;height:170px;margin:8px auto;font-size:2.4rem}.pet-intro-hatch-button{z-index:3;color:#3d2908;cursor:pointer;background:linear-gradient(#fff08d,#efa92f);border:3px solid #fff3ac;border-radius:999px;min-width:230px;margin-top:8px;padding:13px 24px;font:1rem Jua,sans-serif;position:relative;box-shadow:0 8px #925313,0 0 24px #ffd75466}.pet-intro-hatch-button:disabled{color:#a79cae;cursor:not-allowed;background:#484052;border-color:#81748f;box-shadow:0 5px #282330}.pet-intro-reveal-art{object-fit:contain;width:150px;height:150px;filter:drop-shadow(0 0 20px var(--pet-accent));margin:4px auto 6px;animation:3s ease-in-out infinite petIdle}.pet-intro-tip{color:#cdbfe1!important;font-size:.72rem!important}.pet-intro-reveal .dialogue-next{margin-top:6px;position:relative;bottom:auto;right:auto}.story-illustration{z-index:3;pointer-events:none;place-items:center;width:38%;height:45%;animation:.7s cubic-bezier(.2,.85,.2,1) both storyVisualEnter;display:grid;position:absolute;top:3%;right:3%;overflow:visible}.story-visual-glow{aspect-ratio:1;filter:blur(5px);background:radial-gradient(circle,#ffe67e57,#704fd833 48%,#0000 72%);border-radius:50%;width:82%;animation:3s ease-in-out infinite auraPulse;position:absolute}.story-event-monster{z-index:2;object-fit:contain;filter:drop-shadow(0 22px 20px #0000007a)drop-shadow(0 0 16px #b282ff75);width:100%;height:100%;animation:3.2s ease-in-out infinite storyEventFloat;position:relative}.story-scene.monster-intro .story-illustration:not(.story-illustration-full){opacity:1;z-index:6;width:min(300px,58%);height:40%;top:2%;left:50%;right:auto;translate:-50%}.story-scene.monster-intro .speaker-stage{opacity:.48;z-index:2;place-items:end center;height:34%;inset:auto 58% 6% 3%}.story-scene.monster-intro .story-pet{opacity:.48;inset:auto 3% 5% auto}.story-event-image{z-index:2;object-fit:contain;filter:drop-shadow(0 18px 20px #00000073)drop-shadow(0 0 14px #ffdc5d73);width:82%;height:88%;animation:3.2s ease-in-out infinite storyEventFloat;position:relative}.story-event-image.image-2{width:53%;height:62%;animation-delay:-1.1s;position:absolute;bottom:-3%;right:-2%}.story-illustration-windyRescue .story-event-image{object-fit:cover;object-position:top center;filter:none;border:4px solid #fff4c8d9;border-radius:50%;width:80%;height:80%;margin:auto;position:absolute;inset:0;box-shadow:0 0 24px #ffdc788c,0 10px 20px #0006}:is(.story-scene:has(.story-illustration-aquaSealed) .speaker-stage,.story-scene:has(.story-illustration-aquaFreed) .speaker-stage,.story-scene:has(.story-illustration-sixRoutesUnited) .speaker-stage,.story-scene:has(.story-illustration-harborCelebration) .speaker-stage,.story-scene:has(.story-illustration-windyRouteFrays) .speaker-stage,.story-scene:has(.story-illustration-deltaComfort) .speaker-stage,.story-scene:has(.story-illustration-windyReturns) .speaker-stage,.story-scene:has(.story-illustration-manyIdeasOneMap) .speaker-stage,.story-scene:has(.story-illustration-promiseMapShines) .speaker-stage,.story-scene:has(.story-illustration-archiveCelebration) .speaker-stage,.story-scene:has(.story-illustration-seedMeadowBoss) .speaker-stage,.story-scene:has(.story-illustration-seedMeadowEnding) .speaker-stage,.story-scene:has(.story-illustration-nublyCourage) .speaker-stage,.story-scene:has(.story-illustration-deltaCourageReply) .speaker-stage,.story-scene:has(.story-illustration-ignisEmberHeart) .speaker-stage,.story-scene:has(.story-illustration-aquaSharingHeart) .speaker-stage,.story-scene:has(.story-illustration-windyManyPathsHeart) .speaker-stage,.story-scene:has(.story-illustration-deltaFinalWords) .speaker-stage,.story-scene:has(.story-illustration-lumenWorry2) .speaker-stage,.story-scene:has(.story-illustration-fourSpiritsIgnis) .speaker-stage,.story-scene:has(.story-illustration-fourSpiritsAqua) .speaker-stage,.story-scene:has(.story-illustration-fourSpiritsWindy) .speaker-stage,.story-scene:has(.story-illustration-everyonePrepares2) .speaker-stage,.story-scene:has(.story-illustration-festivalNightIgnis) .speaker-stage){display:none}.story-illustration-ending .story-event-image{z-index:5;width:42%;height:54%;position:absolute;bottom:-5%;right:3%}.opening-stone-gates{z-index:2;filter:drop-shadow(0 13px 15px #00000073);position:absolute;inset:4% 1% 9%;overflow:hidden}.stone-gate{background:linear-gradient(135deg,#617782 0 12%,#b9ccd1 12% 16%,#4e636e 16% 33%,#8aa0a8 33% 39%,#3e535e 39% 68%,#788f99 68% 74%,#455965 74%);border:5px solid #9cb1ba;border-bottom-width:8px;width:43%;height:87%;animation-duration:1.8s;animation-timing-function:cubic-bezier(.16,.85,.25,1);animation-fill-mode:both;position:absolute;top:8%;box-shadow:inset 0 0 0 5px #19242d8c,inset 0 0 28px #ceeeee29}.stone-gate:after{content:"✦";color:#d9f5ff;text-shadow:0 0 12px #d9f9ff;font:2.5rem Jua,sans-serif;position:absolute;top:38%}.stone-gate-left{transform-origin:0 100%;border-radius:38px 8px 8px 10px;animation-name:gateOpenLeft;left:6%}.stone-gate-left:after{right:18%}.stone-gate-right{transform-origin:100% 100%;border-radius:8px 38px 10px 8px;animation-name:gateOpenRight;right:6%}.stone-gate-right:after{left:18%}.gate-light{z-index:-1;filter:blur(11px);opacity:0;background:linear-gradient(90deg,#0000,#fff8b4 34%,#fff 50%,#fff8b4 66%,#0000);width:28%;height:85%;animation:1.8s .35s both gateLight;position:absolute;top:10%;left:50%;translate:-50%}.opening-stone-gates em{z-index:4;width:8px;height:8px;animation:gateSpark 1.6s calc(var(--gate-spark) * -.075s) ease-out both;background:#fff8bd;border-radius:50%;position:absolute;top:50%;left:50%;box-shadow:0 0 12px 4px #ffd968}@keyframes gateOpenLeft{0%{transform:translate(42%)scaleX(.98)}to{transform:translate(-32%)rotateY(38deg)scaleX(.82)}}@keyframes gateOpenRight{0%{transform:translate(-42%)scaleX(.98)}to{transform:translate(32%)rotateY(-38deg)scaleX(.82)}}@keyframes gateLight{0%,18%{opacity:0;transform:scaleX(.2)}55%{opacity:1;transform:scaleX(1.7)}to{opacity:.75;transform:scaleX(1)}}@keyframes gateSpark{0%{opacity:0;transform:rotate(calc(var(--gate-spark) * 22.5deg)) translateY(0) scale(.2)}22%{opacity:1}to{opacity:0;transform:rotate(calc(var(--gate-spark) * 22.5deg)) translateY(-160px) scale(1)}}.story-item-combination{z-index:3;background:radial-gradient(circle,#ffdd6833,#271848b8);border:1px solid #ffec9c75;border-radius:42px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:20px 24px;display:flex;position:relative;box-shadow:0 18px 35px #0000004d,inset 0 1px #ffffff2e}.story-item-combination>span{align-items:center;gap:8px;display:flex}.story-item-combination .item-icon{filter:drop-shadow(0 8px 8px #0000006b);border-radius:18px;animation:2.8s ease-in-out infinite storyItemOrbit}.story-item-combination b{color:#ffe376;text-shadow:0 0 10px #ffc941;font-size:1.6rem}.story-item-combination>span:nth-child(2n) .item-icon{animation-delay:-1.1s}.story-illustration-shapeCraft{width:46%;right:1%}.story-illustration-shapeCraft .story-item-combination{flex-wrap:nowrap;gap:3px;width:100%;padding:13px 10px}.story-illustration-shapeCraft .story-item-combination>span{gap:3px;min-width:0}.story-illustration-shapeCraft .story-item-combination .item-icon{width:64px!important;height:64px!important}.story-illustration-shapeCraft .story-item-combination b{font-size:1.15rem}.story-illustration-patternCraft{width:46%;right:1%}.story-illustration-patternCraft .story-item-combination{flex-wrap:nowrap;gap:3px;width:100%;padding:13px 10px}.story-illustration-patternCraft .story-item-combination>span{gap:3px;min-width:0}.story-illustration-patternCraft .story-item-combination .item-icon{width:64px!important;height:64px!important}.story-illustration-patternCraft .story-item-combination b{font-size:1.15rem}.story-illustration-starCraft{width:46%;right:1%}.story-illustration-starCraft .story-item-combination{flex-wrap:nowrap;gap:3px;width:100%;padding:13px 10px}.story-illustration-starCraft .story-item-combination>span{gap:3px;min-width:0}.story-illustration-starCraft .story-item-combination .item-icon{width:64px!important;height:64px!important}.story-illustration-starCraft .story-item-combination b{font-size:1.15rem}.story-moment-symbol{z-index:2;color:#fff0a1;letter-spacing:.1em;text-align:center;text-shadow:0 0 12px #fff,0 0 35px #ffc93f,0 14px 20px #00000073;max-width:96%;font:clamp(4rem,9vw,8rem) Jua,sans-serif;animation:2.8s ease-in-out infinite storySymbolPulse;position:relative}.story-moment-symbol.wisdom-shards{color:#0000;filter:drop-shadow(0 0 12px #fff5a0);background:conic-gradient(#ffdd61,#8fffe7,#8fa8ff,#e69cff,#ff9d79,#ffdd61);-webkit-background-clip:text;background-clip:text}.story-number-sequence,.story-pattern-sequence,.story-shape-row{z-index:3;background:#1b123aad;border-radius:34px;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;padding:16px;display:flex;position:relative;box-shadow:0 14px 30px #00000047}.story-number-sequence i,.story-pattern-sequence i{color:#fff7d4;width:48px;height:48px;animation:storyStepWave 2.6s calc(var(--i,0) * 80ms) ease-in-out infinite;background:linear-gradient(145deg,#7660b5,#3b285e);border:3px solid #fff0a7;border-radius:50%;place-items:center;font:1.1rem Jua,sans-serif;display:grid;box-shadow:0 6px #241638,0 0 12px #ffdc5a4d}.story-pattern-sequence i:nth-child(2n){color:#7ef2ed;background:linear-gradient(145deg,#327c92,#2b3a68)}.story-pattern-sequence i{font-size:1.45rem}.story-shape-row i{filter:drop-shadow(0 9px 8px #00000061)drop-shadow(0 0 12px #71d8ff);background:linear-gradient(145deg,#dffffa,#55afff 42%,#7a4ed1 78%);border:3px solid #fff2ac;width:74px;height:74px;display:block}.story-shape-circle{border-radius:50%}.story-shape-triangle{clip-path:polygon(50% 2%,98% 95%,2% 95%)}.story-shape-square{border-radius:0}.story-illustration-full{z-index:0;width:100%;height:100%;animation:1s both storyBackdropIn;inset:0;overflow:hidden}.story-illustration-full:after{content:"";z-index:1;background:linear-gradient(90deg,#0806195c,#08061914 48%,#08061959),linear-gradient(#0000 52%,#0705148c);position:absolute;inset:0}.story-backdrop{object-fit:cover;filter:saturate(1.08)contrast(1.03);width:100%;height:100%;position:absolute;inset:0}.story-illustration-full .story-visual-glow{display:none}.story-illustration-full .story-moment-symbol,.story-illustration-full .story-shape-row{z-index:2}.story-illustration-starIntro .story-moment-symbol,.story-illustration-starClear .story-item-combination{position:absolute;top:13%;right:8%}.story-illustration-towerIntro .story-moment-symbol,.story-illustration-towerEnding .story-moment-symbol{position:absolute;top:30%;left:50%;translate:-50% -50%}.story-illustration-towerIntro .story-shape-row{position:absolute;top:52%;left:50%;translate:-50% -50%}.story-illustration-patternIntro .story-pattern-sequence{z-index:4;margin:0;padding:12px 15px;position:absolute;top:37%;right:9%;transform:none}.story-illustration-patternEnding .story-pattern-sequence{z-index:4;white-space:nowrap;margin:0;padding:13px 18px;position:absolute;top:47%;left:auto;right:10%;translate:0 -50%}.story-celebration{z-index:4;position:absolute;inset:0}.story-celebration i{left:calc(4% + (var(--i) * 5.2%));background:hsl(calc(var(--i) * 43deg) 88% 67%);width:9px;height:18px;animation:storyConfetti 3.2s calc(var(--i) * -.13s) linear infinite;border-radius:3px;position:absolute;top:-8%;box-shadow:0 0 10px}.lore-scene .story-illustration:not(.story-illustration-full){opacity:.72;width:36%;height:40%;top:7%;right:4%}.lore-scene .lore-focus{z-index:5}.story-illustration-full+.lore-focus{text-shadow:0 3px 9px #05020c;background:linear-gradient(90deg,#0000,#0e0924c2 14% 86%,#0000);width:min(880px,86vw);padding:24px 35px;position:absolute;bottom:72px;left:50%;translate:-50%}.story-illustration-full+.lore-focus:before{display:none}.story-illustration-full+.lore-focus .lore-star{margin-bottom:4px}@keyframes storyVisualEnter{0%{opacity:0;transform:translateY(20px)scale(.88)}}@keyframes storyBackdropIn{0%{opacity:0;scale:1.05}}@keyframes storyEventFloat{50%{translate:0 -10px;rotate:1.5deg}}@keyframes storyItemOrbit{50%{filter:drop-shadow(0 13px 10px #00000059)brightness(1.16);translate:0 -8px;rotate:3deg}}@keyframes storySymbolPulse{50%{filter:brightness(1.22);scale:1.06}}@keyframes storyStepWave{50%{translate:0 -6px}}@keyframes storyConfetti{to{top:110%;rotate:480deg}}.battle-scene{z-index:4;flex:1;grid-template-rows:minmax(270px,1fr) auto auto;align-content:stretch;width:min(1240px,100%);min-height:calc(100svh - 106px);margin:0 auto;display:grid;position:relative}.battle-mist{pointer-events:none;position:absolute;inset:0;overflow:hidden}.battle-mist i{filter:blur(28px);background:#825ec02e;border-radius:50%;width:330px;height:110px;animation:9s linear infinite mistPass;position:absolute}.battle-mist i:first-child{top:28%;left:-25%}.battle-mist i:nth-child(2){animation-delay:-3s;top:42%;left:-35%}.battle-mist i:nth-child(3){animation-delay:-6s;top:18%;left:-30%}@keyframes mistPass{to{transform:translate(1650px)}}.battle-arena{justify-content:space-around;align-items:center;gap:10%;min-height:300px;padding:10px 8% 0;display:flex;position:relative}.monster-stage{isolation:isolate;flex-direction:column;align-items:center;min-width:350px;display:flex;position:relative}.monster-shell{z-index:3;place-items:end center;width:min(29vw,350px);height:min(39vh,350px);display:grid;position:relative}.monster-sprite{z-index:4;object-fit:contain;-webkit-user-select:none;user-select:none;transform-origin:50% 88%;width:100%;height:100%;filter:brightness(calc(.68 + var(--purification) * .22)) saturate(calc(.78 + var(--purification) * .25)) contrast(1.12) drop-shadow(0 24px 18px #0000009e) drop-shadow(0 0 14px #5c1fa4b3);transition:filter .7s;animation:2.15s ease-in-out infinite cursedMonsterIdle;position:relative}.monster-ground-shadow{z-index:1;filter:blur(5px);background:radial-gradient(#080312cc,#260e417a 45%,#0000 72%);border-radius:50%;width:70%;height:34px;animation:2.15s ease-in-out infinite shadowBreathe;position:absolute;bottom:54px}.monster-aura{z-index:0;aspect-ratio:1;width:86%;opacity:calc(.95 - var(--purification) * .5);filter:blur(10px);background:conic-gradient(from 20deg,#0000,#8923d2b3,#0000 26%,#eb30806b,#0000 58%,#4c1585cc,#0000);border-radius:50%;transition:opacity .6s;animation:6s linear infinite curseAuraSpin;position:absolute;top:2%}.curse-smoke{z-index:2;pointer-events:none;opacity:calc(1 - var(--purification) * .7);transition:opacity .6s;position:absolute;inset:7% 2% 2%}.curse-smoke i{filter:blur(8px);background:radial-gradient(#8128c4bd,#2b0c4e61 52%,#0000 72%);border-radius:50%;width:46px;height:76px;animation:2.6s ease-in-out infinite curseWisp;position:absolute}.curse-smoke i:first-child{bottom:14%;left:6%}.curse-smoke i:nth-child(2){animation-delay:-.8s;bottom:22%;right:7%}.curse-smoke i:nth-child(3){animation-delay:-1.6s;top:7%;left:24%}.curse-smoke i:nth-child(4){animation-delay:-2.1s;top:17%;right:24%}.cursed-eyes{z-index:9;width:34%;height:14%;opacity:calc(1 - var(--purification));pointer-events:none;mix-blend-mode:screen;transition:opacity .45s;position:absolute;top:49%;left:50%;transform:translate(-50%,-50%)}.cursed-eyes i{background:#fff0f2;border-bottom:3px solid #ff133f;border-radius:100% 15%;width:25%;height:6px;position:absolute;top:28%;transform:rotate(15deg);box-shadow:0 0 5px #fff,0 0 12px #ff284f,0 0 28px #ef0057,0 0 42px #870044}.cursed-eyes i:first-child{left:9%;transform:rotate(13deg)}.cursed-eyes i:last-child{right:9%;transform:scaleX(-1)rotate(13deg)}.monster-stage.is-cursed .cursed-eyes{opacity:1}.purify-burst{z-index:7;color:#fffbd0;opacity:0;text-shadow:0 0 18px #fff,0 0 45px #ffd344,0 0 90px #fff1a0;pointer-events:none;place-items:center;font-size:8rem;display:grid;position:absolute;inset:0}@keyframes cursedMonsterIdle{0%,to{transform:translateY(2px)rotate(-.8deg)scaleY(.985)}50%{transform:translateY(-10px)rotate(.8deg)scaleY(1.015)}}@keyframes shadowBreathe{50%{opacity:.65;transform:scaleX(.84)}}@keyframes curseAuraSpin{to{transform:rotate(360deg)}}@keyframes curseWisp{0%,to{opacity:.25;transform:translateY(8px)scale(.8)}50%{opacity:.9;transform:translateY(-22px)scale(1.16)}}.battle-correct .monster-sprite{animation:.7s purifyFlash}@keyframes purifyFlash{35%{filter:brightness(1.75)saturate(.55)drop-shadow(0 0 35px #fff5ad);transform:scale(1.08)}70%{transform:scale(.95)}}.monster-stage.is-purified .monster-sprite{filter:brightness(1.07)saturate(1.08)drop-shadow(0 24px 18px #0000006b)drop-shadow(0 0 24px #ffdb53bf);animation:1.05s ease-in-out infinite happyMonster}.monster-stage.is-purified .monster-aura{opacity:1;background:radial-gradient(circle,#fff6aae6,#ffc33866 42%,#0000 72%);animation:1.1s ease-in-out infinite auraPulse}.monster-stage.is-purified .curse-smoke,.monster-stage.is-purified .cursed-eyes{opacity:0}.monster-stage.is-purified .purify-burst{animation:1.25s ease-out both purifyBurst}.monster-stage.is-purified .monster-ground-shadow{background:radial-gradient(#ffcf3e9e,#ffee902e 48%,#0000 72%);box-shadow:0 0 26px #ffd558}@keyframes happyMonster{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-13px)rotate(1.2deg)}}@keyframes purifyBurst{0%{opacity:0;transform:scale(.2)rotate(0)}26%{opacity:1}70%,to{opacity:0;transform:scale(2.1)rotate(105deg)}}.monster-title{z-index:8;text-align:center;text-shadow:0 2px 6px #070411;background:radial-gradient(#120925bd,#0000 72%);margin-top:-8px;padding:5px 22px 8px;position:relative}.monster-title small{color:#e8c8ff;letter-spacing:.08em;font-size:.7rem}.monster-title h3{color:#fff4d0;margin:4px 0 7px;font-size:clamp(1.1rem,2vw,1.45rem)}.hp-row{margin:0}.hp-dot{background:#1c113ebf;border:2px solid #d8c8ff;width:18px;height:18px;box-shadow:inset 0 2px 3px #00000059}.hp-dot.hit{background:radial-gradient(circle at 35% 28%,#fffbd6,#ffd34d 42%,#d87b14 78%);border-color:#fff7c0;box-shadow:0 0 13px #ffd05a}.battle-hero-stage{align-self:end;place-items:center;width:min(29vw,330px);height:min(45vh,390px);display:grid;position:relative}.battle-hero-stage img{z-index:2;object-fit:contain;filter:drop-shadow(0 18px 22px #00000080);width:100%;height:100%;animation:3.2s ease-in-out infinite heroBattleIdle;position:relative;-webkit-mask-image:radial-gradient(62% 68% at 50% 49%,#000 53%,#0000 91%);mask-image:radial-gradient(62% 68% at 50% 49%,#000 53%,#0000 91%)}@keyframes heroBattleIdle{50%{transform:translateY(-6px)rotate(1deg)}}.hero-light-ring{border:3px solid #ffdb68ad;border-radius:50%;width:74%;height:15%;position:absolute;bottom:5%;transform:rotateX(64deg);box-shadow:0 0 22px #f8c94e,inset 0 0 18px #ffd44b8c}.hero-speech{z-index:4;color:#3f2954;background:#fffbe1f0;border:2px solid #ffebaa;border-radius:18px 18px 5px;padding:9px 15px;font:.88rem Jua,sans-serif;position:absolute;top:10%;right:-22%;box-shadow:0 8px 18px #00000040}.battle-guide{z-index:14;color:#432b5b;width:min(790px,78vw);min-height:92px;text-shadow:none;isolation:isolate;background:linear-gradient(135deg,#fffde0fa,#ffebacf5);border:0;border-radius:38px 38px 38px 16px;align-items:center;margin:-18px auto 16px;padding:16px 30px 16px 132px;transition:all .25s;display:flex;position:relative;box-shadow:0 16px 35px #0e071f61,0 0 0 3px #ffe78b7a,inset 0 2px #ffffffe0}.battle-guide:after{content:"";clip-path:polygon(0 0,100% 0,18% 100%);filter:drop-shadow(0 7px 5px #0d071d3d);z-index:-1;background:linear-gradient(145deg,#fff4c1,#f5ce77);width:42px;height:32px;position:absolute;bottom:-18px;left:82px}.battle-guide:before{content:"✦";color:#fff5ad;text-shadow:0 0 8px #fff,0 0 18px #ffd657;font-size:1.35rem;animation:2.4s ease-in-out infinite moteDrift;position:absolute;top:-16px;left:92px}.battle-guide img{object-fit:contain;filter:drop-shadow(0 12px 10px #00000059)drop-shadow(0 0 13px #ffda4cb8);width:168px;height:150px;animation:2.8s ease-in-out infinite deltaGuideFloat;position:absolute;bottom:-23px;left:-42px}.battle-guide p{margin:0;font:clamp(1.08rem,1.9vw,1.48rem)/1.48 Jua,sans-serif}.battle-guide-correct{color:#50321a;background:linear-gradient(135deg,#ffffdcfc,#ffd870f7);animation:.7s both guidePraise;box-shadow:0 0 30px #ffdc539e,0 14px 32px #00000047}.battle-guide-purified{color:#3d3208;background:linear-gradient(135deg,#ffffe5fc,#ffcd4bfa);animation:.8s both guidePraise;box-shadow:0 0 34px #ffd65a,0 13px 32px #0000004d}.battle-guide-wrong{color:#5c2940;background:linear-gradient(135deg,#fff5e5fa,#ffc1a3f5);box-shadow:0 0 24px #ff977a61,0 14px 32px #0000004d}@keyframes deltaGuideFloat{50%{translate:0 -6px;rotate:-2deg}}@keyframes guidePraise{0%{opacity:0;transform:scale(.82)translateY(10px)}65%{transform:scale(1.035)}}.question-magic{z-index:12;color:#fffdf0;-webkit-backdrop-filter:blur(11px);backdrop-filter:blur(11px);clip-path:polygon(2.4% 0,97.6% 0,100% 18%,100% 100%,0 100%,0 18%);background:linear-gradient(90deg,#150e34cc,#201643f5 19%,#1c133ef2 82%,#140d30c7),radial-gradient(circle at 50% 0,#ffc74933,#0000 45%);border-top:3px solid #ffda6cb8;border-bottom:1px solid #fff3;grid-template-columns:minmax(230px,1.25fr) minmax(180px,.8fr) minmax(290px,1.15fr);align-items:center;gap:clamp(16px,3vw,42px);min-height:205px;margin-bottom:4px;padding:25px clamp(24px,5vw,66px) 28px;display:grid;position:relative;box-shadow:0 -14px 40px #08051961,inset 0 2px #ffffff14}.question-magic:before{content:"";clip-path:inherit;pointer-events:none;border:1px solid #ffdc743d;position:absolute;inset:7px 12px}.question-magic>*{min-width:0}.question-magic .visual-equation{max-width:100%;overflow:visible}.question-magic .battle-choices{flex-wrap:wrap;justify-content:center;align-items:center;min-width:0}.story-combine-visual{flex-wrap:wrap;row-gap:6px}.story-combine-visual .compare-side{min-width:0}.story-combine-visual .object-group{max-width:126px}.story-combine-visual .object-group img{width:clamp(31px,3vw,43px);height:clamp(31px,3vw,43px)}.question-rune{color:#fff7c7;background:linear-gradient(#7151a6,#342256);border:3px solid #ffeaa5;border-radius:50%;place-items:center;width:48px;height:48px;font-size:1.65rem;display:grid;position:absolute;top:-24px;left:50%;transform:translate(-50%);box-shadow:0 0 22px #ffc94f}.question-copy span{color:#f0c960;letter-spacing:.12em;font-family:Do Hyeon,sans-serif;font-size:.72rem}.question-copy h2{margin:5px 0 0;font-size:clamp(1.15rem,2vw,1.65rem);line-height:1.42}.visual-equation{text-shadow:0 4px 8px #00000080;justify-content:center;align-items:center;gap:13px;min-height:90px;font-size:clamp(1.35rem,2.4vw,2rem);display:flex}.problem-visual-zone{grid-column:2;justify-items:center;gap:4px;min-width:0;display:grid}.problem-visual-label,.answer-picker-label{white-space:nowrap;justify-content:center;align-items:center;gap:5px;font-family:Jua,sans-serif;display:flex}.problem-visual-label{color:#c6f7ff;background:#113a5b9e;border:1px dashed #98eaffb3;border-radius:999px;padding:4px 10px;font-size:.7rem}.problem-visual-label small{color:#d8e5f6;font-size:.58rem}.answer-picker-label{color:#ffe886;text-shadow:0 0 9px #ffcc4c9e;flex-wrap:wrap;grid-column:3;align-self:end;padding:3px 6px 0;font-size:.84rem}.answer-picker-label small{color:#e4d7ff;text-align:center;flex-basis:100%;font-size:.61rem}.question-magic>.battle-choices{grid-column:3}.problem-visual-zone .number-banner{color:#e8fbff;background:linear-gradient(145deg,#245b8b,#18345f);border-style:dashed;border-color:#8fe8ff;border-radius:16px;box-shadow:inset 0 2px 7px #fff3,0 5px #102343,0 0 13px #5bdbff47}.problem-visual-zone .number-banner:before{content:"문제";color:#d8fbff;white-space:nowrap;background:#17355d;border:1px solid #9aeaff;border-radius:999px;padding:1px 5px;font:.48rem Jua,sans-serif;top:-11px;left:50%;right:auto;translate:-50%}.mission-problem-label,.mission-answer-label,.training-answer-label{color:#bdefff;text-align:center;justify-content:center;align-items:center;gap:6px;margin:8px auto 4px;font:.78rem Jua,sans-serif;display:flex}.mission-problem-label{background:#14345980;border:1px dashed #8be8f9b3;border-radius:999px;width:max-content;max-width:100%;padding:4px 10px}.mission-problem-label small{color:#e3e6f3;font-size:.6rem}.mission-answer-label,.training-answer-label{color:#ffe47a;text-shadow:0 0 9px #ffc84580}.training-answer-label{margin:0 0 8px}.training-answer-label small{color:#d8d0eb;font-size:.62rem}.story-char-portrait{clip-path:circle(48%);outline-offset:-3px;background:0 0;border-radius:50%;outline:2px solid #ffe57ecc;box-shadow:0 0 12px #ffb74a8c}.part-whole-visual span,.part-whole-visual strong,.partition-gate-visual strong,.partition-gate-visual span{color:#fff9df;background:linear-gradient(145deg,#6952a4,#312254);border:2px solid #fff0a8;border-radius:17px;place-items:center;min-width:52px;height:52px;padding:2px 10px;font:1.45rem Jua,sans-serif;display:grid;box-shadow:0 5px #21163a}.part-whole-visual span:nth-child(2){color:#ffe876;border-style:dashed}.part-whole-visual b{color:#ffe36f}.partition-gate-visual{grid-template-columns:1fr 1fr;gap:2px 30px;min-height:126px;display:grid}.partition-gate-visual strong{color:#fff0a3;border-radius:50%;grid-column:1/-1;justify-self:center}.partition-gate-visual i{color:#8ceeff;font-size:1.4rem;font-style:normal;position:absolute;translate:0 36px}.partition-gate-visual i:first-of-type{translate:-31px 36px}.partition-gate-visual i:nth-of-type(2){translate:31px 36px}.object-group{background:radial-gradient(circle at 40% 25%,#ffffff21,#4d358452 58%,#1910383d);border-radius:24px;flex-wrap:wrap;justify-content:center;align-items:center;min-width:72px;max-width:150px;min-height:78px;padding:7px 9px;display:flex;position:relative;box-shadow:inset 0 0 18px #ffffff14,0 8px 18px #0000002e}.object-group img{object-fit:contain;filter:drop-shadow(0 6px 5px #00000061);width:clamp(36px,3.6vw,54px);height:clamp(36px,3.6vw,54px);transform:translateY(calc((var(--object-index) % 2) * -4px)) rotate(calc((var(--object-index) - 2) * 2.5deg));animation:2.1s ease-in-out infinite countingObjectFloat;animation-delay:calc(var(--object-index) * -.19s);margin:-5px -4px}.object-group-fallback{letter-spacing:2px;font-size:1.7rem}.object-group.compact{grid-template-columns:repeat(var(--object-columns,3),var(--object-cell,28px));grid-auto-rows:var(--object-cell,28px);min-width:0;max-width:none;min-height:0;max-height:none;box-shadow:none;background:0 0;place-items:center;gap:5px;padding:4px;display:grid;overflow:visible}.object-group.compact img{width:var(--object-cell,28px);height:var(--object-cell,28px);filter:drop-shadow(0 2px 2px #00000059);margin:0;animation:none;transform:none}.object-group.compact.object-group-fallback{letter-spacing:0;font-size:1.4rem;line-height:1.3}@keyframes countingObjectFloat{50%{filter:drop-shadow(0 9px 7px #00000052)brightness(1.15);translate:0 -5px}}.math-sign{color:#ffd75b;font-size:1.6rem}.mystery-orb{background:#563b83;border:2px solid #ffe991;border-radius:50%;place-items:center;width:58px;height:58px;display:grid;box-shadow:0 0 18px #a77ce8}.compare-equation{gap:8px}.compare-side{justify-items:center;gap:2px;display:grid}.compare-side small{color:#ffe39a;font:clamp(.62rem,1vw,.78rem) Jua,sans-serif}.compare-versus{color:#ffd75b;filter:drop-shadow(0 0 8px #ffbd3e);font-size:1.65rem}.number-flags{gap:22px}.number-banner{color:#fff8d7;background:linear-gradient(145deg,#8c6dd0,#493173);border:3px solid #fff0ad;border-radius:16px 16px 28px 28px;place-items:center;width:72px;height:76px;font:2.2rem Jua,sans-serif;display:grid;position:relative;box-shadow:inset 0 3px 8px #ffffff4d,0 9px #2d1d51,0 0 20px #d2acff73}.number-banner:before{content:"✦";color:#ffe268;font-size:.65rem;position:absolute;top:4px;right:7px}.comparison-gate .mystery-orb{margin:0 5px;font:1.8rem Jua,sans-serif}.grain-sacks{gap:5px}.grain-sack{color:#fff6c7;background:linear-gradient(145deg,#b97835,#6e3d20);border:3px solid #e8bc68;border-radius:44% 44% 25% 25%;place-items:center;width:66px;height:76px;display:grid;position:relative;box-shadow:inset 7px 3px 10px #ffe09947,0 9px 12px #00000059}.grain-sack:before{content:"";border-block:2px solid #ffdb8e;width:76%;height:5px;position:absolute;top:7px}.grain-sack b{text-shadow:0 3px 4px #42200d;font:1.75rem Jua,sans-serif}.rune-choice.word-choice{width:clamp(84px,9vw,112px)}.rune-choice.word-choice strong{font-size:clamp(.95rem,1.65vw,1.25rem)}.shape-glyph{--shape-rotation:0deg;width:60px;height:60px;transform:rotate(var(--shape-rotation));filter:drop-shadow(0 7px 7px #00000061)drop-shadow(0 0 9px #7edcff8c);flex:none;place-items:center;display:grid;position:relative}.shape-glyph:before{content:"";background:linear-gradient(145deg,#9bfff7 0,#51a8ff 38%,#7450d2 72%,#ef9cff);border:3px solid #dffeff;width:82%;height:82%;box-shadow:inset 5px 5px 8px #ffffff6b}.shape-circle:before{border-radius:50%}.shape-triangle:before{clip-path:polygon(50% 3%,97% 94%,3% 94%)}.shape-square:before{border-radius:0}.shape-glyph b{color:#422a09;width:25px;height:25px;transform:rotate(calc(var(--shape-rotation) * -1));background:#ffd85e;border:2px solid #fff3a5;border-radius:50%;place-items:center;font:.72rem Jua,sans-serif;display:grid;position:absolute;bottom:-5px;right:-5px}.pattern-sequence-visual{flex-wrap:wrap;row-gap:10px}.pattern-token{filter:drop-shadow(0 6px 7px #00000059);border-radius:16px;place-items:center;width:56px;height:56px;display:grid}.pattern-token-color{border:3px solid #fff0ad;border-radius:50%;box-shadow:inset 0 3px 6px #ffffff59,0 0 14px #ffffff4d}.pattern-token-emoji{font-size:2rem}.pattern-token-size{background:radial-gradient(circle at 35% 30%,#fff,#8ecbff 40%,#5a7fe0);border:3px solid #fff0ad;border-radius:50%;margin:auto}.pattern-token-blank{color:#fff8d7;background:#563b83;border:2px solid #ffe991;border-radius:50%;place-items:center;width:56px;height:56px;font:1.5rem Jua,sans-serif;display:grid;box-shadow:0 0 18px #a77ce8}.pattern-token-wrap{flex-direction:column;align-items:center;gap:4px;display:flex}.pattern-token-wrap small{color:#fff2c7;font:.62rem Jua,sans-serif}.rune-choice.pattern-choice{flex-direction:column;justify-content:center;align-items:center;gap:2px;width:clamp(96px,10vw,124px);height:clamp(96px,10vw,124px);display:flex;overflow:hidden}.rune-choice.object-choice{width:clamp(118px,calc(var(--choice-columns,3) * 33px + 48px),190px);height:clamp(104px,calc(var(--choice-rows,1) * 33px + 48px),180px);border-radius:26px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:2px;display:flex;overflow:visible}.battle-choices.object-choice-list{flex-wrap:wrap;align-items:center;row-gap:18px}.treasure-box-glyph{filter:drop-shadow(0 6px 7px #00000059);flex-direction:column;align-items:center;gap:4px;font-size:2.4rem;display:flex}.treasure-box-glyph small{color:#fff2c7;font:.68rem Jua,sans-serif}.bridge-mission-scene{z-index:3;flex:1;grid-template-rows:auto 1fr auto;justify-items:center;width:100%;min-height:calc(100svh - 106px);padding:18px clamp(18px,5vw,70px) 24px;display:grid;position:relative;overflow:hidden}.bridge-mission-scene:before{content:"";z-index:-3;filter:saturate(.9)brightness(.78)hue-rotate(-10deg);background:linear-gradient(#0b081f2e,#060817bf),url(/backgrounds/forest.webp) 50%/cover;position:absolute;inset:-80px -30px}.bridge-mission-guide{z-index:8;text-align:center;color:#fff9df;text-shadow:0 3px 10px #090616;width:min(720px,100%);position:relative}.bridge-mission-guide span{color:#ffd95b;letter-spacing:.15em;font:1rem Do Hyeon,sans-serif}.bridge-mission-guide h2{color:#fff1ba;margin:5px 0;font-size:clamp(1.8rem,3.5vw,3rem)}.bridge-mission-guide p{margin:0;font-size:clamp(.9rem,1.5vw,1.08rem)}.bridge-stone-field{flex-wrap:wrap;place-content:center;align-self:center;gap:clamp(10px,2vw,18px);width:min(760px,100%);display:flex}.bridge-stone{cursor:pointer;background:radial-gradient(circle at 35% 30%,#8d7550,#4d3c25 72%);border:4px solid #d9c48a;border-radius:50%;width:78px;height:78px;transition:all .18s;position:relative;box-shadow:inset 0 3px 8px #fff3,0 8px #2c2013,0 12px 20px #00000059}@media (hover:hover){.bridge-stone:hover:not(:disabled){border-color:#ffe58a;transform:translateY(-4px)scale(1.05)}}.stone-number{color:#fff3d2;text-shadow:0 3px 4px #241438;font:1.6rem Jua,sans-serif}.bridge-stone.wrong-stone{border-color:#ff9d6a;animation:.32s choiceShake}.bridge-stone.stepped{opacity:.35;pointer-events:none;background:radial-gradient(circle at 35% 30%,#6edd8d,#238352 72%);border-color:#eaffb9}.stone-check{color:#fff;text-shadow:0 0 10px #2fbf6a;place-items:center;font-size:1.5rem;display:grid;position:absolute;inset:0}.bridge-mission-status{z-index:10;color:#fff1bd;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#191034e0;border:1px solid #ffe28b73;border-radius:999px;justify-content:center;align-items:center;gap:14px;min-width:min(520px,100%);padding:10px 18px;display:flex;position:relative;box-shadow:0 10px 26px #00000059}.bridge-mission-status>img{object-fit:contain;width:46px;height:46px}.bridge-mission-status.feedback-correct{background:#173a22e6;border-color:#7ecb92a6}.bridge-mission-status.feedback-wrong{background:#451810e6;border-color:#ff8a5ba6}.bridge-mission-status button{color:#4a2c00;cursor:pointer;background:linear-gradient(#ffe570,#eca31e);border:2px solid #fff0a5;border-radius:999px;margin-left:auto;padding:10px 18px;font:.9rem Jua,sans-serif}.boss-clear-scene{z-index:4;flex:1;place-items:center;width:min(1280px,100%);min-height:calc(100svh - 106px);margin:0 auto;display:grid;position:relative;overflow:hidden}.boss-clear-scene:before{content:"";z-index:-2;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:radial-gradient(circle at 50% 40%,#ffdc5738,#0000 38%),linear-gradient(110deg,#1b103b47,#1f1145c7);border:1px solid #ffeb9d3d;border-radius:48px;position:absolute;inset:2% 1%;box-shadow:inset 0 0 80px #ffdf691a,0 30px 80px #0000004d}.falling-shard{z-index:8;pointer-events:none;place-items:center;display:grid;position:absolute;top:24%;left:50%;translate:-50% -50%}.falling-shard b{color:#fff4b3;text-shadow:0 0 20px #ffe27a,0 0 55px #ffc94e,0 8px 10px #00000073;font-size:5.2rem;line-height:1;display:block}.falling-shard-glow{z-index:-1;aspect-ratio:1;opacity:0;background:radial-gradient(circle,#ffe78c8c,#ffc94e2e 45%,#0000 72%);border-radius:50%;width:220px;position:absolute}.falling-shard.phase-impact .falling-shard-glow,.falling-shard.phase-reveal .falling-shard-glow{opacity:1;animation:2.4s ease-in-out infinite shardGlowPulse}@keyframes shardDrop{0%{opacity:0;transform:translate(-50%,-165vh)rotate(-45deg)scale(.55)}55%{opacity:1}to{transform:translate(-50%,-50%)rotate(0)scale(1.2)}}@keyframes shardImpact{0%{transform:translate(-50%,-50%)scale(1.2)}40%{filter:brightness(1.9);transform:translate(-50%,-50%)scale(1.55)}to{transform:translate(-50%,-50%)scale(1)}}@keyframes shardFloat{50%{translate:0 -7px;rotate:3deg}}@keyframes shardGlowPulse{50%{opacity:.7;transform:scale(1.1)}}.boss-clear-cast{z-index:3;pointer-events:none;justify-content:center;align-items:flex-end;gap:7vw;display:flex;position:absolute;inset:0}.boss-clear-delta,.boss-clear-hero{opacity:0;align-items:flex-end;max-width:44%;height:62%;transition:opacity .8s .25s,transform .8s .25s;display:flex;transform:translateY(50px)}.boss-clear-scene.phase-reveal .boss-clear-delta,.boss-clear-scene.phase-reveal .boss-clear-hero{opacity:1;transform:translateY(0)}.boss-clear-delta img,.boss-clear-hero img{object-fit:contain;filter:drop-shadow(0 20px 20px #00000080)drop-shadow(0 0 30px #ffdc7873);max-width:100%;max-height:100%}.boss-clear-copy{z-index:9;text-align:center;opacity:0;max-width:680px;padding:24px 40px;transition:opacity .6s .5s;position:relative}.boss-clear-scene.phase-reveal .boss-clear-copy{opacity:1}.boss-clear-copy h1{color:#fff4b3;text-shadow:0 3px #a85d15,0 0 25px #ffc84e,0 10px 25px #0000008c;margin:12px 0;font-size:clamp(3rem,5.5vw,5.6rem);line-height:1}.boss-clear-copy p{color:#fffbed;text-shadow:0 2px 7px #180c35;margin:0 auto 20px;font-size:clamp(1.05rem,1.7vw,1.35rem);line-height:1.65}.single-shape .shape-glyph{width:96px;height:96px}.shape-collection{flex-wrap:wrap;gap:4px;max-width:280px;display:flex}.shape-collection .shape-glyph{width:53px;height:53px}.rotation-shapes{gap:9px}.reference-shape{justify-items:center;gap:2px;display:grid}.reference-shape small{color:#ffe28a;font:.66rem Jua,sans-serif}.rotation-options{background:#2e1d5780;border:1px solid #ffe58966;border-radius:18px;gap:3px;padding:7px;display:flex}.rotation-options .shape-glyph{width:48px;height:48px}.cosmetic-layers{pointer-events:none;position:absolute;inset:0;overflow:visible}.cosmetic-depth-back{z-index:1}.cosmetic-depth-front{z-index:5}.cosmetic-layer{object-fit:contain;filter:drop-shadow(0 3px 5px #00000057)drop-shadow(0 0 5px #ffe26f52);animation:.46s cubic-bezier(.2,.9,.2,1.18) both wearableSettle;display:block;position:absolute}.cosmetic-pythagoras-crown{transform-origin:50% 85%;width:50%;height:23%;top:8%;left:25%;transform:rotate(-1deg)}.cosmetic-euclid-hat{transform-origin:50% 80%;width:74%;height:39%;top:-3%;left:14%;transform:rotate(-2deg)}.cosmetic-hypatia-tiara{width:55%;height:14%;top:14%;left:23%;transform:rotate(-1deg)}.cosmetic-gauss-wings{filter:drop-shadow(0 0 8px #fff0b79e);width:122%;height:60%;animation:.46s cubic-bezier(.2,.9,.2,1.18) both wearableSettle,3.1s ease-in-out .5s infinite wingBreathe;top:21%;left:-11%}.cosmetic-descartes-cape{filter:drop-shadow(0 4px 7px #0000006b);width:72%;height:70%;top:22%;left:14%}.cosmetic-ramanujan-halo{opacity:.9;filter:drop-shadow(0 0 8px #83efffc7);width:68%;height:25%;animation:.46s cubic-bezier(.2,.9,.2,1.18) both wearableSettle,3.4s ease-in-out .5s infinite haloHover;top:4%;left:16%}@keyframes wearableSettle{0%{opacity:0;translate:0 -10px;scale:.72}to{opacity:1;translate:0;scale:1}}@keyframes wingBreathe{50%{translate:0 -2px;scale:1.025}}@keyframes haloHover{50%{filter:drop-shadow(0 0 13px #83effff2);translate:0 -4px}}.speaker-stage .story-cosmetics{width:min(48vw,520px);height:100%;top:50%;left:50%;translate:-50% -50%}.shop-overlay{z-index:3000;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:radial-gradient(circle at 50% 35%,#51318a7a,#050412e0);place-items:center;padding:18px;display:grid;position:fixed;inset:0}.shop-window{color:#fff7e4;background:linear-gradient(145deg,#1f1443fa,#301c54fa);border:3px solid #ffe58d;border-radius:34px;width:min(1180px,96vw);height:min(820px,94vh);animation:.55s cubic-bezier(.18,.9,.2,1.1) both shopOpen;overflow:hidden;box-shadow:0 30px 80px #0000009e,0 0 45px #ffd3504d}@keyframes shopOpen{0%{opacity:0;transform:translateY(25px)scale(.94)}}.shop-header{background:radial-gradient(circle at 25% 0,#ffd44933,#0000 48%);border-bottom:2px solid #ffde7a59;align-items:center;gap:25px;min-height:115px;padding:19px 82px 18px 32px;display:flex;position:relative}.shop-header>div:first-child{flex:1}.shop-header span{color:#ffd75d;letter-spacing:.12em;font:.72rem Do Hyeon,sans-serif}.shop-header h2{color:#fff0a8;margin:2px 0;font-size:clamp(1.8rem,3vw,2.8rem)}.shop-header p{color:#e9ddf8;margin:0;font-size:.88rem}.shop-header .shop-lab-tip{color:#dbfbff;background:#23537a8c;border:1px solid #81e8f4a6;border-radius:999px;margin-top:7px;padding:5px 10px;font:.67rem Jua,sans-serif;display:inline-block}.shop-header .shop-lab-tip b{color:#fff09d}.shop-wallet{text-align:center;color:#ffe36b;background:#37245e;border:2px solid #ffe98f;border-radius:20px;min-width:115px;padding:10px 16px;font-size:1.25rem}.shop-wallet b{font:1.45rem Jua,sans-serif}.shop-wallet small{color:#fff2cc;font:.65rem Jua,sans-serif;display:block}.shop-close{color:#fff;cursor:pointer;background:#563b77;border:2px solid #e2d2ff;border-radius:50%;width:42px;height:42px;font-size:1.5rem;position:absolute;top:24px;right:24px}.shop-sparkles i{background:#ffe779;border-radius:50%;width:7px;height:7px;animation:4s ease-in-out infinite moteDrift;position:absolute;box-shadow:0 0 14px #ffc636}.shop-sparkles i:first-child{top:20%;left:5%}.shop-sparkles i:nth-child(2){animation-delay:-1s;top:18%;left:91%}.shop-sparkles i:nth-child(3){animation-delay:-2s;top:78%;left:8%}.shop-sparkles i:nth-child(4){animation-delay:-3s;top:72%;left:94%}.shop-sparkles i:nth-child(5){animation-delay:-1.7s;top:5%;left:50%}.pet-shop-window{background:radial-gradient(circle at 20% 55%,#56c6c826,#0000 34%),linear-gradient(145deg,#16113dfc,#311b55fc);width:min(1280px,97vw);height:min(850px,95vh)}.settings-window{width:min(460px,92vw);height:auto;min-height:unset}.settings-header{min-height:auto;padding:22px 70px 18px 28px}.settings-body{flex-direction:column;gap:22px;padding:28px 32px 32px;display:flex}.settings-row{grid-template-columns:88px 1fr 40px;align-items:center;gap:14px;display:grid}.settings-row label{color:#f4ecff;font:1rem Jua,sans-serif}.settings-row input[type=range]{accent-color:#ffd75d;cursor:pointer;width:100%;height:6px}.settings-row input[type=range]:disabled{opacity:.4;cursor:not-allowed}.settings-value{color:#ffe36b;text-align:right;font-variant-numeric:tabular-nums;font:1rem Jua,sans-serif}.settings-mute-toggle{color:#fff7e4;cursor:pointer;background:#3d2a63;border:2px solid #ffe98f;border-radius:16px;padding:13px 16px;font:.95rem Jua,sans-serif}@media (hover:hover){.settings-mute-toggle:hover{background:#4a3277}}.settings-save-button{color:#3a2255;cursor:pointer;background:linear-gradient(#fff19b,#f4af33);border:2px solid #fff0aa;border-radius:16px;padding:13px 16px;font:.95rem Jua,sans-serif;box-shadow:0 4px #915017}@media (hover:hover){.settings-save-button:hover{filter:brightness(1.06)}}.settings-reset-block{border-top:1px dashed #ffffff2e;flex-direction:column;gap:8px;margin-top:6px;padding-top:14px;display:flex}.settings-reset-warning{color:#ffd6d6;background:#ff5a5a24;border-radius:12px;margin:0;padding:10px 12px;font-size:.82rem;line-height:1.5}.settings-reset-button{color:#ffe9e9;cursor:pointer;background:#5a2331;border:2px solid #ff8f8f;border-radius:16px;padding:13px 16px;font:.95rem Jua,sans-serif}.settings-reset-button.confirm{color:#3a1010;background:linear-gradient(#ff8f8f,#c9333f);border-color:#ffd0d0}@media (hover:hover){.settings-reset-button:hover{filter:brightness(1.08)}}.pet-shop-header{min-height:124px;padding-right:76px}.pet-dex-progress{gap:8px;display:flex}.pet-dex-progress>b{text-align:center;color:#fff0a3;background:#2d214f;border:1px solid #8d78b9;border-radius:17px;min-width:78px;padding:9px 10px;font:1.15rem Jua,sans-serif}.pet-dex-progress small{color:#cfc0e8;letter-spacing:0;font:.58rem Jua,sans-serif;display:block}.pet-shop-body{grid-template-columns:minmax(330px,36%) 1fr;height:calc(100% - 124px);display:grid;overflow:hidden}.hatchery-stage{--pet-accent:#ffd96c;background:radial-gradient(circle at 50% 40%,color-mix(in srgb,var(--pet-accent) 24%,transparent),transparent 48%);border-right:1px solid #ffe58b40;flex-direction:column;justify-content:center;align-items:center;padding:17px 24px 20px;display:flex;position:relative;overflow:hidden}.hatchery-rings{aspect-ratio:1;width:330px;position:absolute;top:39%;left:50%;translate:-50% -50%}.hatchery-rings i{border:2px solid color-mix(in srgb,var(--pet-accent) 70%,#fff);opacity:.34;border-radius:50%;animation:3s ease-in-out infinite hatchRing;position:absolute;inset:0}.hatchery-rings i:nth-child(2){animation-delay:-1s;inset:15%}.hatchery-rings i:nth-child(3){animation-delay:-2s;inset:30%}@keyframes hatchRing{50%{opacity:.72;rotate:8deg;scale:1.08}}.hatchery-art{z-index:2;place-items:center;width:min(330px,78%);height:360px;display:grid;position:relative}.hatchery-art img{object-fit:contain;width:100%;height:100%;filter:drop-shadow(0 17px 18px #00000073) drop-shadow(0 0 14px color-mix(in srgb,var(--pet-accent) 60%,transparent));animation:3s ease-in-out infinite petIdle}.is-hatching .hatchery-art img{animation:1.05s cubic-bezier(.4,0,.3,1) both eggHatch}.egg-cracks{color:#fff7aa;text-shadow:0 0 18px #fff,0 0 45px var(--pet-accent);place-items:center;font-size:5rem;animation:1.05s both hatchFlash;display:grid;position:absolute;inset:0}@keyframes petIdle{50%{translate:0 -9px;rotate:1deg}}@keyframes eggHatch{0%,to{transform:rotate(0)scale(1)}20%{transform:rotate(-7deg)scale(1.03)}40%{transform:rotate(8deg)scale(1.06)}60%{filter:brightness(1.4) drop-shadow(0 0 28px var(--pet-accent));transform:rotate(-10deg)scale(1.1)}82%{filter:brightness(2.2)drop-shadow(0 0 48px #fff);transform:rotate(6deg)scale(1.15)}}@keyframes hatchFlash{0%,55%{opacity:0;scale:.3}78%{opacity:1;scale:1.35}to{opacity:0;scale:2}}.hatchery-copy{z-index:2;text-align:center;min-height:92px;position:relative}.hatchery-copy span{color:var(--pet-accent);letter-spacing:.08em;font:.72rem Do Hyeon,sans-serif}.hatchery-copy h3{color:#fff4b1;margin:3px 0;font-size:2rem}.hatchery-copy p{color:#e7def4;max-width:390px;margin:0;font-size:.8rem;line-height:1.45}.hatch-button{z-index:3;color:#3d2908;cursor:pointer;background:linear-gradient(#fff08d,#efa92f);border:3px solid #fff3ac;border-radius:999px;min-width:285px;margin-top:9px;padding:14px 24px;font:1.02rem Jua,sans-serif;position:relative;box-shadow:0 8px #925313,0 0 24px #ffd75466}.hatch-button:disabled{color:#a79cae;cursor:not-allowed;background:#484052;border-color:#81748f;box-shadow:0 5px #282330}.hatch-rule{z-index:2;color:#cdbfe1;margin-top:13px;font:.64rem Jua,sans-serif;position:relative}.egg-purchase{z-index:3;justify-items:center;display:grid;position:relative}.egg-purchase small{color:#cdbfe1;text-align:center;margin-top:13px;font:.64rem Jua,sans-serif}.pet-mystery-egg{color:#cfc4ea;text-shadow:0 0 14px #cfc4ea;background:radial-gradient(circle at 35% 30%,#4a3b74,#1c1634);border:3px solid #8d7fae;border-radius:46% 46% 50% 50%/55% 55% 45% 45%;place-items:center;width:200px;height:230px;font-size:3rem;animation:3s ease-in-out infinite petIdle;display:grid;position:relative;box-shadow:0 0 26px #8d7fae73,inset 0 -10px 20px #0006}.pet-mystery-egg.is-hatching{animation:1.05s cubic-bezier(.4,0,.3,1) both eggHatch}.pet-mystery-egg.small{border-width:2px;width:84px;height:92px;font-size:1.7rem}.growth-console{z-index:4;border:1px solid color-mix(in srgb,var(--pet-accent) 62%,#fff);width:min(390px,96%);box-shadow:0 0 24px color-mix(in srgb,var(--pet-accent) 18%,transparent);background:#160f30db;border-radius:20px;padding:13px 16px 15px;position:relative}.growth-title{color:#eee4fa;justify-content:space-between;align-items:center;font:.72rem Jua,sans-serif;display:flex}.growth-title b{color:#fff0a4;font-size:.82rem}.growth-gauge{background:#171129;border:1px solid #73638d;border-radius:999px;height:22px;margin:8px 0 12px;padding:3px;position:relative;overflow:visible;box-shadow:inset 0 3px 6px #00000080}.growth-gauge>i{background:linear-gradient(90deg,#6966df,var(--pet-accent),#fff18a);min-width:0;height:100%;box-shadow:0 0 12px var(--pet-accent);border-radius:999px;transition:width .55s cubic-bezier(.2,.85,.2,1);display:block;position:relative}.growth-gauge>i em{color:#fff;background:var(--pet-accent);border-radius:50%;place-items:center;width:25px;height:25px;font-size:.68rem;animation:1.2s ease-in-out infinite gaugeStar;display:grid;position:absolute;top:50%;right:-9px;translate:0 -50%;box-shadow:0 0 14px #fff}.growth-gauge[class*=pulse-]>i{animation:.6s gaugeFeed}.grow-button{color:#3e2a08;cursor:pointer;background:linear-gradient(#fff49f,#ecad36);border:2px solid #fff0a2;border-radius:14px;width:100%;padding:10px;font:.82rem Jua,sans-serif;box-shadow:0 5px #855015}.grow-button:disabled{color:#99909f;box-shadow:none;cursor:not-allowed;background:#494152;border-color:#71657f}.growth-console>small{color:#bfb2d3;text-align:center;margin-top:10px;font:.59rem/1.4 Jua,sans-serif;display:block}.growth-complete{color:#fff0a4;justify-items:center;gap:4px;padding:10px;display:grid}.growth-complete b{text-shadow:0 0 12px var(--pet-accent);font:1rem Jua,sans-serif}.growth-complete span{color:#d8ccea;font-size:.68rem}@keyframes gaugeFeed{45%{filter:brightness(1.8);transform:scaleY(1.15)}}@keyframes gaugeStar{50%{filter:brightness(1.6);scale:1.18}}.pet-collection{background:linear-gradient(90deg,#09071a1f,#0000);padding:18px;overflow-y:auto}.pet-collection-heading{justify-content:space-between;align-items:end;margin:0 2px 13px;display:flex}.pet-collection-heading span{color:#75e5ed;letter-spacing:.12em;font:.64rem Do Hyeon,sans-serif}.pet-collection-heading h3{color:#fff0ac;margin:2px 0;font-size:1.45rem}.pet-collection-heading p{color:#c9badf;margin:0;font-size:.72rem}.pet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.pet-card{--pet-accent:#ffd86b;background:linear-gradient(145deg,#342555,#1c1634);border:2px solid #635084;border-radius:22px;min-height:206px;padding:9px;transition:all .2s;position:relative;overflow:hidden;box-shadow:inset 0 1px 4px #ffffff14}.pet-card.discovered{border-color:color-mix(in srgb,var(--pet-accent) 58%,#7a6596)}.pet-card.active{box-shadow:0 0 24px color-mix(in srgb,var(--pet-accent) 45%,transparent);border-color:#fff19a}.pet-card.locked{filter:saturate(.66)}.pet-card-main{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:128px 1fr;align-items:center;padding:0;display:grid}.pet-card-art{background:radial-gradient(circle,color-mix(in srgb,var(--pet-accent) 23%,transparent),transparent 67%);border-radius:17px;place-items:center;width:128px;height:140px;display:grid;position:relative}.pet-card-glow{aspect-ratio:1;background:radial-gradient(circle,color-mix(in srgb,var(--pet-accent) 24%,transparent),transparent 70%);border-radius:50%;width:80%;position:absolute}.pet-card-art img{object-fit:contain;filter:drop-shadow(0 8px 9px #00000061);width:100%;height:100%;transition:all .2s;position:relative}@media (hover:hover){.pet-card-main:hover img{transform:translateY(-5px)scale(1.04)}}.pet-card-copy small{color:var(--pet-accent);font:.59rem Jua,sans-serif}.pet-card-copy h4{color:#fff4ba;margin:4px 0;font-size:1.2rem}.pet-card-copy p{color:#d8cde9;margin:0;font-size:.67rem;line-height:1.35}.growth-pips{gap:4px;display:flex;position:absolute;bottom:12px;left:13px}.growth-pips i{color:#685b79;background:#251b3c;border:1px solid #65557b;border-radius:50%;place-items:center;width:24px;height:24px;font-size:.58rem;display:grid}.growth-pips i.on{color:#ffe26f;box-shadow:0 0 8px var(--pet-accent);background:#74539a;border-color:#fff0a0}.pet-choose{color:#382707;cursor:pointer;background:linear-gradient(#fff09b,#e9aa37);border:1px solid #fff0a3;border-radius:999px;min-width:105px;padding:7px 10px;font:.66rem Jua,sans-serif;position:absolute;bottom:11px;right:11px}.pet-card.active .pet-choose{color:#eaffea;background:#327455;border-color:#baffb5}.replay-panel{background:radial-gradient(circle at 0,#ffd35821,#0000 38%),#21183a;border:1px solid #6d5b8d;border-radius:22px;grid-column:1/-1;grid-template-columns:210px 1fr;align-items:center;gap:14px;margin-top:14px;padding:15px;display:grid}.replay-panel span{color:#ffe075;letter-spacing:.1em;font:.59rem Do Hyeon,sans-serif}.replay-panel h3{color:#fff0ad;margin:3px 0;font-size:1rem}.replay-panel p{color:#bfb3d1;margin:0;font-size:.62rem;line-height:1.35}.replay-chapters{grid-template-columns:repeat(3,1fr);gap:7px;display:grid}.replay-chapters button{color:#fff3c0;cursor:pointer;background:linear-gradient(145deg,#503971,#302348);border:1px solid #8e78b0;border-radius:13px;min-height:56px;padding:7px;font-family:Jua,sans-serif}.replay-chapters button b,.replay-chapters button small{display:block}.replay-chapters button small{color:#c9b9dc;margin-top:3px;font-size:.52rem}.replay-chapters button:disabled{filter:grayscale(.75);opacity:.42;cursor:not-allowed}@media (hover:hover){.replay-chapters button:not(:disabled):hover{border-color:#ffe88a;transform:translateY(-2px);box-shadow:0 0 15px #ffdc5f40}}.training-open-button{color:#dfffff;cursor:pointer;background:linear-gradient(145deg,#31598a,#48336e);border:2px solid #7ee8f2;border-radius:16px;min-width:225px;padding:9px 15px;font-family:Jua,sans-serif;box-shadow:0 0 17px #5de3}.training-open-button b,.training-open-button small{display:block}.training-open-button b{font-size:.76rem}.training-open-button small{color:#bddce9;margin-top:3px;font-size:.55rem}@media (hover:hover){.training-open-button:hover{filter:brightness(1.14);transform:translateY(-2px)}}.pet-training{--pet-accent:#7ce8ef;z-index:3150;color:#fff;background:radial-gradient(circle at 20% 50%,color-mix(in srgb,var(--pet-accent) 20%,transparent),transparent 35%),linear-gradient(145deg,#1d254d,#34205d);border:3px solid #8eeaf1;border-radius:32px;width:min(1020px,92vw);height:min(700px,88vh);animation:.4s both shopOpen;position:fixed;top:50%;left:50%;overflow:hidden;translate:-50% -50%;box-shadow:0 35px 90px #000000b3,0 0 55px #69e2ef4d}.pet-training>header{border-bottom:1px solid #82e8f259;align-items:center;gap:20px;min-height:112px;padding:17px 72px 15px 28px;display:flex;position:relative}.pet-training>header>div:first-child{flex:1}.pet-training header span{color:#79eaf2;letter-spacing:.14em;font:.66rem Do Hyeon,sans-serif}.pet-training header h2{color:#fff0a9;margin:3px 0;font-size:2rem}.pet-training header p{color:#d7d6e9;margin:0;font-size:.75rem}.pet-training>header>button{color:#fff;cursor:pointer;background:#4b4874;border:1px solid #b9daea;border-radius:50%;width:40px;height:40px;font-size:1.35rem;position:absolute;top:20px;right:20px}.training-wallet{text-align:center;background:#2b2855;border:1px solid #ffe58a;border-radius:17px;min-width:115px;padding:8px 13px}.training-wallet b,.training-wallet small{display:block}.training-wallet b{color:#ffe978;font:1.05rem Jua,sans-serif}.training-wallet small{color:#c8e9ec;margin-top:2px;font:.55rem Jua,sans-serif}.training-body{grid-template-columns:300px 1fr;height:calc(100% - 112px);display:grid}.training-body>aside{text-align:center;border-right:1px solid #89e6ef40;flex-direction:column;justify-content:center;align-items:center;padding:18px;display:flex;position:relative;overflow:hidden}.training-pet-aura{aspect-ratio:1;background:radial-gradient(circle,color-mix(in srgb,var(--pet-accent) 38%,transparent),transparent 68%);border-radius:50%;width:270px;animation:2s ease-in-out infinite auraPulse;position:absolute}.training-body>aside img{object-fit:contain;width:230px;height:260px;filter:drop-shadow(0 13px 15px #00000073) drop-shadow(0 0 12px var(--pet-accent));animation:2.7s ease-in-out infinite petCompanionFloat;position:relative}.training-body>aside span{color:var(--pet-accent);font:.65rem Do Hyeon,sans-serif;position:relative}.training-body>aside h3{color:#fff2ae;margin:4px 0;font-size:1.7rem;position:relative}.training-body>aside p{color:#e1daed;min-height:46px;margin:0;font:.72rem/1.5 Jua,sans-serif;position:relative}.training-body>main{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:25px 34px;display:flex;position:relative}.training-reward-note{color:#e8ddf4;background:#322750;border:1px solid #ffe78c;border-radius:999px;padding:7px 12px;font:.62rem Jua,sans-serif;position:absolute;top:18px;right:20px}.training-reward-note b{color:#ffe36c}.training-type{border:1px solid var(--pet-accent);color:var(--pet-accent);background:#1b1537b8;border-radius:999px;padding:6px 15px;font:.7rem Jua,sans-serif}.training-visual{white-space:pre-line;color:#fff3ad;letter-spacing:.12em;min-height:115px;text-shadow:0 0 14px var(--pet-accent),0 4px 5px #0006;place-items:center;font:clamp(2rem,4vw,3.5rem) Jua,sans-serif;display:grid}.training-body>main>h3{color:#fff;max-width:590px;margin:3px 0 20px;font-size:clamp(1.25rem,2.4vw,1.75rem);line-height:1.35}.training-choices{justify-content:center;gap:14px;display:flex}.training-choices button{color:#fff4c3;cursor:pointer;background:linear-gradient(145deg,#5a4783,#352653);border:3px solid #b6a7d4;border-radius:22px;min-width:110px;min-height:72px;padding:12px;font:1.05rem Jua,sans-serif;position:relative;box-shadow:0 7px #201635}.training-choices button i{color:#ffe075;font-size:.55rem;position:absolute;top:6px;right:9px}@media (hover:hover){.training-choices button:hover:not(:disabled){border-color:#fff0a0;transform:translateY(-4px)}}.training-choices button.correct{background:linear-gradient(#64d38b,#2d8354);border-color:#dfffbf;box-shadow:0 0 25px #72e99a}.training-choices button.wrong{background:linear-gradient(#dc795b,#923e4e);border-color:#ffd1bc}.training-feedback{background:#191330c7;border:1px solid #7e6d9d;border-radius:18px;width:min(560px,100%);margin-top:22px;padding:12px 18px}.training-feedback.correct{border-color:#77d994}.training-feedback b{color:#fff0a0;font:.86rem Jua,sans-serif}.training-feedback p{color:#d9d0e6;margin:4px 0 10px;font-size:.7rem}.training-feedback button{color:#412b08;cursor:pointer;background:linear-gradient(#fff2a0,#eab13e);border:1px solid #fff0a1;border-radius:999px;padding:8px 16px;font:.7rem Jua,sans-serif}.training-stars i{z-index:1;color:#fff2a1;text-shadow:0 0 10px #fff;font-style:normal;animation:3.5s ease-in-out infinite moteDrift;position:absolute}.training-stars i:before{content:"✦"}.training-stars i:first-child{top:20%;left:4%}.training-stars i:nth-child(2){animation-delay:-.7s;top:22%;left:94%}.training-stars i:nth-child(3){animation-delay:-1.4s;top:84%;left:8%}.training-stars i:nth-child(4){animation-delay:-2.1s;top:78%;left:90%}.training-stars i:nth-child(5){animation-delay:-2.8s;top:5%;left:52%}.active-pet-chip img{object-fit:contain;filter:drop-shadow(0 0 5px #ffe47b);width:30px;height:30px;margin:-5px 3px -5px -5px}.pet-companion{--pet-accent:#ffe071;z-index:8;pointer-events:none;place-items:center;display:grid;position:absolute}.pet-companion-aura{aspect-ratio:1;background:radial-gradient(circle,color-mix(in srgb,var(--pet-accent) 36%,transparent),transparent 68%);border-radius:50%;width:85%;animation:2.4s ease-in-out infinite auraPulse;position:absolute}.pet-companion img{object-fit:contain;width:100%;height:100%;filter:drop-shadow(0 10px 10px #00000073) drop-shadow(0 0 9px color-mix(in srgb,var(--pet-accent) 48%,transparent));animation:2.8s ease-in-out infinite petCompanionFloat;position:relative}@keyframes petCompanionFloat{50%{translate:0 -8px;rotate:2deg}}.pet-companion>b{color:#fff4b4;white-space:nowrap;background:#261842e6;border:1px solid #ffe790;border-radius:999px;padding:5px 11px;font:.68rem Jua,sans-serif;position:absolute;bottom:-4px}.pet-companion>b small{color:#cbbde2;font-size:.5rem;display:block}.speaker-stage .story-pet{width:clamp(125px,15vw,190px);height:clamp(125px,15vw,190px);bottom:25%;right:3%}.battle-hero-stage .battle-pet{width:52%;height:45%;bottom:-3%;right:-42%}.evolution-ceremony{z-index:3200;color:#fff;text-align:center;background:radial-gradient(circle at 50% 43%,color-mix(in srgb,var(--pet-accent) 55%,#fff) 0,#3a236ff5 25%,#070519fc 68%);align-content:center;place-items:center;animation:.45s both evolutionOpen;display:grid;position:fixed;inset:0;overflow:hidden}.evolution-rays{aspect-ratio:1;background:repeating-conic-gradient(from 0deg,#ffffff5c 0 5deg,transparent 5deg 15deg);border-radius:50%;width:min(115vh,115vw);animation:13s linear infinite slowSpin;position:absolute;-webkit-mask-image:radial-gradient(circle,#000 4%,#0000 68%);mask-image:radial-gradient(circle,#000 4%,#0000 68%)}.evolution-rings{aspect-ratio:1;width:min(70vh,70vw);position:absolute}.evolution-rings i{box-shadow:0 0 30px var(--pet-accent),inset 0 0 30px var(--pet-accent);border:3px solid #fff29c9e;border-radius:50%;animation:2.2s ease-in-out infinite evolutionRing;position:absolute;inset:0}.evolution-rings i:nth-child(2){animation-delay:-.7s;inset:13%}.evolution-rings i:nth-child(3){animation-delay:-1.4s;inset:27%}.evolution-before,.evolution-after{z-index:2;grid-area:1/1;width:min(410px,52vw);height:min(410px,46vh);position:relative}.evolution-before img,.evolution-after img{object-fit:contain;width:100%;height:100%}.evolution-before{animation:2s both evolutionBefore}.evolution-after{filter:drop-shadow(0 0 24px #fff) drop-shadow(0 0 55px var(--pet-accent));animation:2s cubic-bezier(.17,.84,.25,1.15) .55s both evolutionAfter}.evolution-particles i{z-index:3;color:#fff4a0;text-shadow:0 0 10px #fff,0 0 20px var(--pet-accent);font-size:calc(10px + (var(--i) % 5) * 4px);transform:rotate(calc(var(--i) * 47deg)) translateY(calc(-90px - (var(--i) % 7) * 32px));animation:evolutionParticle 2.2s calc(var(--i) * -.07s) ease-in-out infinite;position:absolute;top:45%;left:50%}.evolution-copy{z-index:5;margin-top:-25px;position:relative}.evolution-copy>span{color:#fff0a0;letter-spacing:.18em;text-shadow:0 0 15px #fff;font:.82rem Do Hyeon,sans-serif}.evolution-copy h2{color:#fff;text-shadow:0 0 10px #fff,0 0 35px var(--pet-accent);margin:5px 0;font-size:clamp(2.5rem,6vw,5rem)}.evolution-copy p{margin:0 0 18px;font:1.02rem Jua,sans-serif}.evolution-copy button{color:#432c07;cursor:pointer;background:linear-gradient(#fff5a3,#efaa32);border:3px solid #fff5b2;border-radius:999px;min-width:280px;padding:14px 24px;font:1rem Jua,sans-serif;box-shadow:0 8px #905014,0 0 32px #fff096b3}@keyframes evolutionOpen{0%{opacity:0;filter:brightness(3)}}@keyframes evolutionBefore{0%{opacity:1;transform:scale(1)}55%{opacity:.9;filter:brightness(3);transform:scale(.68)rotate(-8deg)}to{opacity:0;filter:brightness(5);transform:scale(.2)}}@keyframes evolutionAfter{0%{opacity:0;filter:brightness(5);transform:scale(.15)rotate(14deg)}65%{opacity:1;transform:scale(1.16)rotate(-2deg)}to{opacity:1;transform:scale(1)}}@keyframes evolutionRing{50%{opacity:.35;rotate:20deg;scale:1.14}}@keyframes evolutionParticle{50%{filter:brightness(1.8);scale:1.5}}.clear-shop-link,.clear-replay-link{color:#fff0a5;cursor:pointer;background:#39255bdb;border:2px solid #ffe684;border-radius:999px;min-width:250px;margin-top:9px;padding:11px 20px;font:.88rem Jua,sans-serif;box-shadow:0 0 16px #ffd64f3d}.clear-replay-link{color:#c9f6ff;background:#1f3558db;border-color:#8de7ff;box-shadow:0 0 16px #54d8ff33}.battle-choices{justify-content:center;gap:clamp(10px,1.5vw,18px);display:flex}.rune-choice{color:#fff8df;cursor:pointer;background:linear-gradient(145deg,#65469b,#322254);border:4px solid #d9d3ff;border-radius:28% 28% 38% 38%;width:clamp(72px,8vw,94px);height:clamp(72px,8vw,94px);transition:transform .18s,border-color .18s;position:relative;box-shadow:inset 0 3px 7px #fff3,0 7px #1e1436,0 12px 22px #00000052,0 0 14px #9771e04d}.rune-choice:before{content:"";border:1px solid #fff3;border-radius:24%;position:absolute;inset:7px}@media (hover:hover){.rune-choice:hover:not(:disabled){border-color:#fff1a3;transform:translateY(-6px)scale(1.05);box-shadow:inset 0 3px 7px #fff3,0 10px #8c5814,0 0 28px #ffc74c}}.rune-choice strong{text-shadow:0 3px 4px #241438;font:clamp(1.5rem,2.8vw,2.2rem) Jua,sans-serif}.choice-spark{color:#ffd963;opacity:.7;font-size:.7rem;position:absolute;top:7px;right:10px}.rune-choice.correct{background:linear-gradient(145deg,#6edd8d,#238352);border-color:#eaffb9;box-shadow:0 0 30px #73ed98,0 7px #17633a}.rune-choice.wrong{background:linear-gradient(145deg,#ef865c,#a43c3c);border-color:#ffe4c3;animation:.32s choiceShake}@keyframes choiceShake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.battle-hint{color:#fff3d1;border-top:1px dashed #ffdf7f6b;grid-column:1/-1;justify-content:space-between;align-items:center;gap:20px;margin-top:-8px;padding:12px 20px;font-size:.85rem;display:flex}.battle-hint b{color:#ffd86d;margin-bottom:3px;display:block}.battle-hint button{color:#fff;cursor:pointer;background:#5a3d86;border:2px solid #e4d7ff;border-radius:999px;flex:none;padding:10px 16px;font-family:Jua,sans-serif}.stage-clear-scene{z-index:4;flex:1;grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr);align-items:center;width:min(1280px,100%);min-height:calc(100svh - 106px);margin:0 auto;display:grid;position:relative;overflow:hidden}.stage-clear-scene:before{content:"";z-index:-2;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:radial-gradient(circle at 30%,#ffdc572e,#0000 34%),linear-gradient(110deg,#1b103b3d,#1f1145b8);border:1px solid #ffeb9d38;border-radius:48px;position:absolute;inset:4% 1%;box-shadow:inset 0 0 70px #ffdf6914,0 30px 80px #00000040}.clear-sunburst{aspect-ratio:1;z-index:-1;background:repeating-conic-gradient(from 0deg,#ffef9d57 0 5deg,transparent 5deg 14deg);border-radius:50%;width:52%;animation:28s linear infinite slowSpin;position:absolute;top:8%;left:4%;-webkit-mask-image:radial-gradient(circle,#000 8%,#0000 70%);mask-image:radial-gradient(circle,#000 8%,#0000 70%)}.clear-rings{position:absolute;top:52%;left:26%}.clear-rings i{aspect-ratio:1;border:3px solid #ffe271b8;border-radius:50%;width:140px;animation:2.4s ease-out infinite clearRing;position:absolute;translate:-50% -50%}.clear-rings i:nth-child(2){animation-delay:-.8s}.clear-rings i:nth-child(3){animation-delay:-1.6s}@keyframes clearRing{0%{opacity:.9;scale:.3}to{opacity:0;scale:3.2}}.clear-confetti{pointer-events:none;position:absolute;inset:0}.clear-confetti i{--x:calc((var(--i) * 37) % 100);left:calc(var(--x) * 1%);background:hsl(calc(var(--i) * 47deg) 88% 65%);width:9px;height:18px;animation:confettiFall calc(3s + (var(--i) % 5) * .35s) calc((var(--i) % 8) * -.42s) linear infinite;border-radius:3px;position:absolute;top:-8%}@keyframes confettiFall{to{translate:calc((var(--i) % 3 - 1) * 80px) 115vh;rotate:720deg}}.clear-delta-wrap{place-items:center;height:78vh;display:grid;position:relative}.clear-delta-wrap img{z-index:2;object-fit:contain;filter:drop-shadow(0 25px 28px #00000073)drop-shadow(0 0 24px #ffe779);width:min(41vw,500px);height:90%;animation:1.7s ease-in-out infinite deltaVictory;position:relative}@keyframes deltaVictory{50%{transform:translateY(-16px)rotate(2deg)scale(1.025)}}.delta-celebration-aura{aspect-ratio:1;filter:blur(7px);background:radial-gradient(circle,#fffbd4 0,#ffd65e 16%,#b979ff6b 42%,#0000 69%);border-radius:50%;width:78%;animation:1.4s ease-in-out infinite auraPulse;position:absolute}.delta-cheer{z-index:5;color:#4b2d16;background:#fff9d9;border:3px solid #ffdc73;border-radius:26px 26px 26px 6px;padding:13px 24px;font:clamp(1rem,1.5vw,1.3rem) Jua,sans-serif;animation:1.3s ease-in-out infinite cheerPop;position:absolute;top:17%;right:-3%;box-shadow:0 10px 25px #00000047,0 0 25px #ffd85c}@keyframes cheerPop{50%{transform:scale(1.06)rotate(-1deg)}}.clear-copy{z-index:6;text-align:center;max-width:680px;padding:50px 52px 48px;position:relative}.clear-label{color:#ffe9a8;letter-spacing:.18em;background:#2a194fb8;border:1px solid #fbd678;border-radius:999px;padding:7px 24px;font:.8rem Do Hyeon,sans-serif;display:inline-block}.clear-copy h1{color:#fff4b3;text-shadow:0 3px #a85d15,0 0 25px #ffc84e,0 10px 25px #0000008c;margin:14px 0 12px;font-size:clamp(3rem,5.5vw,5.6rem);line-height:1}.clear-copy>p{color:#fffbed;text-shadow:0 2px 7px #180c35;max-width:580px;margin:0 auto;font-size:clamp(1.05rem,1.7vw,1.35rem);line-height:1.75}.clear-rewards{justify-content:center;gap:15px;margin:25px 0 10px;display:flex}.clear-rewards>div{background:linear-gradient(145deg,#57388be6,#27194ff2);border:2px solid #ffe28dad;border-radius:20px;min-width:118px;padding:13px 17px;box-shadow:inset 0 2px 6px #fff3,0 8px 20px #0000004d}.clear-rewards b,.clear-rewards small{display:block}.clear-rewards b{color:#ffe374;font:1.5rem Jua,sans-serif}.clear-rewards small{color:#fff4d1;margin-top:4px;font:.73rem Jua,sans-serif}.clear-rewards .wisdom-shard{border-color:#fff6b5;transform:translateY(-10px)scale(1.08);box-shadow:0 0 28px #ffd748a6}.clear-next{color:#402709;cursor:pointer;background:linear-gradient(#ffe786,#f4ad31);border:3px solid #fff0ad;border-radius:999px;min-width:310px;padding:15px 28px;font:1.2rem Jua,sans-serif;box-shadow:0 8px #9c5715,0 0 25px #ffcc4a8c}.clear-next span{float:right;font-size:1.7rem;line-height:.7}.tower-epilogue{text-align:center;background:radial-gradient(circle at 50% 0,#ffdb6547,#0000 52%),#1c1242e0;border:1px solid #ffe67eb8;border-radius:25px;max-width:630px;margin:16px auto 0;padding:18px 22px;animation:.5s both guidePraise;position:relative;box-shadow:0 0 30px #ffd54942}.tower-epilogue>span{color:#9eeef4;letter-spacing:.17em;font:.62rem Do Hyeon,sans-serif}.tower-epilogue h2{color:#fff2a2;margin:4px 0 7px;font-size:clamp(1.12rem,1.9vw,1.45rem)}.tower-epilogue p{color:#f6efff;margin:6px 0;font:.78rem/1.6 Jua,sans-serif}.tower-epilogue p b{color:#ffe279}.tower-finale-icon{color:#fff2a1;text-shadow:0 0 12px #fff;background:radial-gradient(circle,#7c9cf2,#33235f);border:2px solid #fff1a1;border-radius:50%;width:54px;height:54px;margin:8px auto 3px;font:2rem Jua,sans-serif;animation:1.7s ease-in-out infinite auraPulse;display:block;box-shadow:0 0 22px #85e9ff,inset 0 0 12px #fff1a1}.tower-finale-dots{justify-content:center;gap:8px;margin-top:10px;display:flex}.tower-finale-dots i{width:10px;height:10px;box-shadow:none;background:#5d4a88;border-radius:50%;animation:none}.tower-finale-dots i.active{background:#ffe47b;border-radius:999px;width:25px;box-shadow:0 0 10px #ffe47b}.tower-peaceful-nubler{filter:drop-shadow(0 0 16px #9eefffe6);width:clamp(110px,15vw,180px);height:auto;animation:2.8s ease-in-out infinite companionFloat;position:absolute;bottom:-22px;right:-68px}.tower-epilogue:has(.tower-peaceful-nubler){padding-right:155px}.tower-lab-guide{margin-top:10px}.next-journey-panel{isolation:isolate;text-align:left;background:radial-gradient(circle at 20%,#81e7ff42,#0000 30%),radial-gradient(circle at 76% 0,#ffe4774a,#0000 36%),#1a1348f0;border:2px solid #ffe67edb;border-radius:30px;grid-template-columns:minmax(105px,180px) 1fr;align-items:center;gap:14px;max-width:700px;margin:18px auto 0;padding:22px 30px;animation:.6s both guidePraise;display:grid;position:relative;overflow:hidden;box-shadow:0 0 42px #ffd95d52,inset 0 0 24px #85e0ff1f}.next-journey-panel>img{z-index:1;filter:drop-shadow(0 0 18px #8eefff);width:100%;max-width:180px;animation:2.6s ease-in-out infinite companionFloat;position:relative}.next-journey-panel>div:last-child{z-index:1;position:relative}.next-journey-panel span{color:#9eeef4;letter-spacing:.16em;font:.66rem Do Hyeon,sans-serif}.next-journey-panel h2{color:#fff0a3;margin:4px 0 8px;font-size:clamp(1.45rem,2.4vw,2rem)}.next-journey-panel p{color:#f8f3ff;margin:6px 0;font:.83rem/1.62 Jua,sans-serif}.next-journey-panel b{color:#ffe37c}.next-journey-rays{z-index:0;background:repeating-conic-gradient(from 10deg,#fff0a633 0 4deg,transparent 4deg 14deg);animation:24s linear infinite slowSpin;position:absolute;inset:-55%;-webkit-mask-image:radial-gradient(circle,#000 3%,#0000 64%);mask-image:radial-gradient(circle,#000 3%,#0000 64%)}.tower-ending-sequence{isolation:isolate;background:linear-gradient(#08072652,#080623a1),var(--ending-backdrop) center/cover no-repeat;place-items:center;min-height:100svh;padding:50px 28px;display:grid;position:relative;overflow:hidden}.tower-ending-sequence:before{content:"";z-index:-1;background:radial-gradient(circle at 50% 42%,#0000 12%,#09052247 70%,#08051cbf);position:absolute;inset:0}.ending-story-copy{text-align:center;background:linear-gradient(135deg,#171047c7,#2a1452b8);border:2px solid #ffe791d6;border-radius:42px;width:min(830px,94vw);min-height:min(570px,78svh);padding:42px clamp(24px,6vw,74px) 34px;animation:.75s cubic-bezier(.2,.85,.25,1) both endingArrive;position:relative;overflow:hidden;box-shadow:0 0 52px #ffe57b59,inset 0 0 42px #7cdbff26}.ending-story-copy>span{z-index:3;color:#b9f4ff;letter-spacing:.18em;font:.7rem Do Hyeon,sans-serif;position:relative}.ending-symbol{z-index:3;color:#fff7b8;text-shadow:0 0 14px #fff;background:radial-gradient(circle,#7ccdf7,#45317e);border:2px solid #fff0a6;border-radius:50%;place-items:center;width:76px;height:76px;margin:15px auto 8px;font:2.7rem Jua,sans-serif;animation:1.8s ease-in-out infinite auraPulse;display:grid;position:relative;box-shadow:0 0 30px #8eefff,inset 0 0 18px #fff5aa}.ending-story-copy h1{z-index:3;color:#fff1a8;text-shadow:0 4px #4c2b5b,0 0 22px #ffc94f;font-size:clamp(2rem,5vw,3.8rem);position:relative}.ending-story-copy p{z-index:3;color:#fffaff;text-shadow:0 2px 5px #17103a;max-width:570px;margin:13px auto;font:clamp(.96rem,1.6vw,1.16rem)/1.72 Jua,sans-serif;position:relative}.ending-story-copy p b{color:#fff0a0}.ending-companions{z-index:2;pointer-events:none;position:absolute;inset:0}.ending-companions img{object-fit:contain;filter:drop-shadow(0 0 18px #fff0a0e0);animation:2.8s ease-in-out infinite companionFloat;position:absolute}.ending-ignis{width:clamp(105px,16vw,195px);bottom:4%;left:3%}.ending-nubler{width:clamp(110px,17vw,205px);bottom:3%;right:3%;filter:drop-shadow(0 0 21px #8beeff)!important;animation-delay:-.7s!important}.ending-delta{width:clamp(115px,17vw,205px);bottom:-5%;left:50%;translate:-50%;animation-delay:-1.4s!important}.ending-star .ending-ignis,.ending-complete .ending-ignis{width:clamp(135px,19vw,235px);bottom:6%;left:9%}.ending-star .ending-nubler,.ending-complete .ending-nubler{width:clamp(125px,18vw,220px);bottom:5%;right:9%}.ending-lesson .ending-nubler{bottom:4%;right:7%}.ending-lesson .ending-ignis{bottom:5%;left:6%}.ending-preparing .ending-delta{bottom:-8%}.ending-dots{z-index:3;justify-content:center;gap:9px;margin:24px 0 16px;display:flex;position:relative}.ending-dots i{width:10px;height:10px;box-shadow:none;background:#76609b;border-radius:50%}.ending-dots i.active{background:#ffe57c;border-radius:99px;width:29px;box-shadow:0 0 12px #ffe57c}.ending-next,.ending-home{z-index:4;color:#3a2255;cursor:pointer;background:linear-gradient(#fff19b,#f4af33);border:3px solid #fff0aa;border-radius:999px;min-width:min(370px,90%);padding:15px 28px;font:1.2rem Jua,sans-serif;transition:all .2s;position:relative;box-shadow:0 7px #915017,0 0 26px #ffd250a6}@media (hover:hover){.ending-next:hover,.ending-home:hover{filter:brightness(1.08);translate:0 -3px}}.ending-next span{float:right;font-size:1.8rem;line-height:.65}.ending-home{color:#eaffff;background:#213671e6;border-color:#9eeef7;min-width:0;margin:16px auto 0;padding:9px 18px;font-size:.8rem;display:block;box-shadow:0 0 18px #66e6ff54}@keyframes endingArrive{0%{opacity:0;transform:translateY(45px)scale(.92)}to{opacity:1;transform:translateY(0)scale(1)}}.ending-sky-effect i{z-index:0;background:#fff8bd;border-radius:50%;width:7px;height:7px;animation:3.3s ease-in-out infinite endingSpark;position:absolute;box-shadow:0 0 12px 4px #fff2a3}.ending-sky-effect i:first-child{top:18%;left:10%}.ending-sky-effect i:nth-child(2){animation-delay:-.5s;top:70%;left:23%}.ending-sky-effect i:nth-child(3){animation-delay:-1.2s;top:13%;left:71%}.ending-sky-effect i:nth-child(4){animation-delay:-2.1s;top:56%;left:89%}.ending-sky-effect i:nth-child(5){animation-delay:-2.7s;top:7%;left:46%}.ending-sky-effect i:nth-child(6){animation-delay:-1.8s;top:89%;left:8%}@keyframes endingSpark{50%{opacity:.35;translate:0 -25px;scale:2}}.ending-response{z-index:4;color:#fff4ad;text-shadow:0 0 12px #ffc743,0 3px 8px #24113d;font:clamp(1.12rem,2vw,1.5rem)/1.45 Jua,sans-serif;display:block;position:relative}.ending-story-copy blockquote{z-index:3;color:#fff;text-shadow:0 3px 10px #1e1745;margin:15px auto;font:clamp(1.15rem,2vw,1.55rem)/1.55 Jua,sans-serif;position:relative}.ending-reunion{background:var(--ending-backdrop) center/cover no-repeat;padding:0}.ending-reunion:before{z-index:0;background:linear-gradient(90deg,#0000 0 46%,#0f0c371a 56%,#0f0c37b8 100%),linear-gradient(#0000 62%,#0b0726b8)}.ending-reunion .ending-story-copy{z-index:2;width:100%;min-height:100%;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;padding:clamp(90px,12vh,138px) 7vw 32px 53%;animation:1s both endingCinematicIn;position:absolute;inset:0;overflow:visible}.ending-reunion .ending-story-copy>span{color:#fff3ac;display:block}.ending-reunion .ending-symbol{background:#3030746b;border:0;width:48px;height:48px;margin:13px 0 9px;font-size:1.8rem}.ending-reunion .ending-story-copy h1{max-width:620px;font-size:clamp(2.4rem,4.4vw,4.6rem);line-height:1.06}.ending-reunion .ending-story-copy blockquote{color:#fff;border-left:4px solid #bdf5ff;max-width:620px;margin:22px 0 10px;padding-left:22px;font-size:clamp(1.2rem,2vw,1.65rem)}.ending-reunion .ending-story-copy p{color:#e8f6ff;max-width:620px;margin:8px 0}.ending-reunion .ending-response{max-width:620px;margin-top:8px;font-size:clamp(1.25rem,2.2vw,1.75rem)}.ending-reunion .ending-companions{display:none}.ending-reunion .ending-dots{margin:0;position:absolute;bottom:102px;right:7vw}.ending-reunion .ending-next{min-width:310px;position:absolute;bottom:35px;right:7vw}.ending-reunion .ending-sky-effect i{z-index:1}@keyframes endingCinematicIn{0%{opacity:0;translate:45px}to{opacity:1;translate:0}}.ending-star{background:var(--ending-backdrop) center/cover no-repeat;padding:0}.ending-star:before{z-index:0;background:linear-gradient(90deg,#0000 0 48%,#090d3433 58%,#090d34cc 100%),radial-gradient(circle at 35% 30%,#0000 18%,#10082d14 54%,#08062275 100%)}.ending-star .ending-story-copy{z-index:2;width:100%;min-height:100%;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;padding:clamp(90px,12vh,140px) 7vw 32px 56%;animation:1s both endingCinematicIn;position:absolute;inset:0;overflow:visible}.ending-star .ending-story-copy>span{color:#bff8ff;display:block}.ending-star .ending-symbol{background:#3f34826b;border-color:#fff6ad;width:52px;height:52px;margin:14px 0 10px;font-size:2rem}.ending-star .ending-story-copy h1{max-width:610px;font-size:clamp(2.3rem,4.2vw,4.4rem);line-height:1.08}.ending-star .ending-story-copy p{color:#edfaff;max-width:610px;margin:20px 0 10px;font-size:clamp(1rem,1.7vw,1.24rem)}.ending-star .ending-response{color:#fff2a6;max-width:610px;margin-top:10px;font-size:clamp(1.25rem,2.2vw,1.8rem)}.ending-star .ending-companions{display:none}.ending-star .ending-dots{margin:0;position:absolute;bottom:102px;right:7vw}.ending-star .ending-next{min-width:310px;position:absolute;bottom:35px;right:7vw}.ending-star .ending-sky-effect i{z-index:1;animation-duration:2.5s;box-shadow:0 0 18px 7px #fff4ac}.ending-complete{background:var(--ending-backdrop) center/cover no-repeat;padding:0}.ending-complete:before{z-index:0;background:linear-gradient(90deg,#0000 0 45%,#080b3024 54%,#080b30db 100%),linear-gradient(#0000 54%,#07051e9e)}.ending-complete .ending-story-copy{z-index:2;width:100%;min-height:100%;box-shadow:none;text-align:left;background:0 0;border:0;border-radius:0;padding:clamp(82px,10vh,120px) 6vw 22px 54%;animation:1s both endingCinematicIn;position:absolute;inset:0;overflow:visible}.ending-complete .ending-story-copy>span{color:#fff0a1;font-size:.78rem}.ending-complete .ending-symbol{background:#47398573;border:0;width:54px;height:54px;margin:12px 0 7px;font-size:2rem}.ending-complete .ending-story-copy h1{color:#fff3aa;font-size:clamp(2.6rem,5vw,5rem);line-height:1}.ending-complete .ending-story-copy p{color:#eefaff;max-width:650px;margin:17px 0 8px;font-size:clamp(1rem,1.65vw,1.22rem)}.ending-complete .ending-companions{display:none}.ending-complete .ending-dots{justify-content:flex-start;margin:15px 0 11px}.ending-final-actions{z-index:5;flex-wrap:wrap;align-items:center;gap:11px;max-width:680px;display:flex;position:relative}.ending-complete .ending-next{min-width:310px;margin:0;padding:12px 24px;position:relative;bottom:auto;right:auto}.ending-locked{filter:saturate(.5);cursor:not-allowed!important;color:#d9d3e5!important;background:linear-gradient(#5b536e,#393348)!important;border-color:#8f86a3!important;box-shadow:0 6px #201c2b,0 0 18px #c4bbdc33!important}.ending-locked>span{float:none;margin-right:7px;font-size:1rem}.ending-locked small{color:#ffe48c;letter-spacing:.2em;margin-top:3px;font:.58rem Do Hyeon,sans-serif;display:block}.ending-lab{color:#eaffff;cursor:pointer;background:#1c436fdb;border:2px solid #98eff7;border-radius:999px;padding:12px 18px;font:.82rem Jua,sans-serif;box-shadow:0 0 18px #60e6f652}.ending-team-credit{color:#fff;flex-basis:100%;align-items:center;gap:8px;margin-top:5px;display:flex}.ending-team-credit img{object-fit:cover;border-radius:50%;width:42px;height:42px;box-shadow:0 0 17px #ffe5896b}.ending-team-credit span{color:#b8afcc;letter-spacing:.16em;font:.62rem Do Hyeon,sans-serif}.ending-team-credit strong{color:#fff3c3;letter-spacing:.05em;font:1rem Jua,sans-serif}.ending-complete .ending-home{margin:0;position:absolute;bottom:18px;right:6vw}.ending-complete .ending-sky-effect i{z-index:1;animation-duration:2.2s}.tower-seal-scene{isolation:isolate;overflow:hidden}.tower-seal-atmosphere{z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% 48%,#65cdff38,#0000 31%),linear-gradient(#0e0a3140,#08051d94);position:absolute;inset:0}.tower-seal-atmosphere i{background:#d8f8ff;border-radius:50%;width:8px;height:8px;animation:3.7s ease-in-out infinite moteDrift;position:absolute;box-shadow:0 0 14px 4px #69d9ff}.tower-seal-atmosphere i:first-child{top:22%;left:15%}.tower-seal-atmosphere i:nth-child(2){animation-delay:-1s;top:30%;left:82%}.tower-seal-atmosphere i:nth-child(3){animation-delay:-2s;top:68%;left:35%}.tower-seal-atmosphere i:nth-child(4){animation-delay:-2.6s;top:15%;left:68%}.tower-seal-atmosphere i:nth-child(5){animation-delay:-.4s;top:72%;left:92%}.tower-seal-atmosphere i:nth-child(6){animation-delay:-1.8s;top:75%;left:7%}.tower-seal-question{position:relative;overflow:visible;padding-top:92px!important}.tower-compass{z-index:4;filter:drop-shadow(0 0 19px #74eaff);justify-items:center;animation:2.7s ease-in-out infinite companionFloat;display:grid;position:absolute;top:-54px;left:50%;translate:-50%}.tower-compass .item-icon{border-radius:50%;box-shadow:0 0 22px #fff6a7}.tower-compass span{color:#e6ffff;white-space:nowrap;background:#142158db;border:1px solid #9eeef9;border-radius:999px;margin-top:-9px;padding:3px 11px;font:.6rem Jua,sans-serif}.tower-seal-visual{color:#fff8b1;background:radial-gradient(circle,#6b8fde,#231854);border:3px solid #b9efff;border-radius:50%;place-items:center;width:72px;height:72px;animation:1.8s ease-in-out infinite sealPulse;display:grid;position:absolute;top:20px;right:5%;box-shadow:0 0 22px #74e5ff,inset 0 0 15px #fff5a5}.tower-seal-visual i{border:1px dashed #ffea8b;border-radius:50%;animation:8s linear infinite slowSpin;position:absolute;inset:-9px}.tower-seal-visual b{font:1.65rem Jua,sans-serif}.tower-seal-visual span{white-space:nowrap;color:#e9fbff;font:.6rem Jua,sans-serif;position:absolute;top:76px}@keyframes sealPulse{50%{filter:brightness(1.25);scale:1.08}}.tower-seal-question .visual-equation{min-height:105px;margin:6px 0 12px}.tower-seal-question .battle-choices{margin-top:7px}.tower-gates-open{z-index:3;color:#fff;text-align:center;background:radial-gradient(circle at 50% 30%,#92dfff47,#24144ded 62%);border:2px solid #b8f4ff;border-radius:36px;justify-items:center;max-width:720px;margin:auto;padding:45px 28px 30px;display:grid;position:relative;box-shadow:0 0 40px #6ae2ff61}.tower-gates-open .item-icon{z-index:2;filter:drop-shadow(0 0 30px #fff2a4);border-radius:50%;animation:2.4s ease-in-out infinite companionFloat;position:relative}.tower-gates-open h2{z-index:2;color:#fff2a5;margin:10px 0 5px;font-size:clamp(1.6rem,3vw,2.3rem);position:relative}.tower-gates-open p{z-index:2;color:#f3efff;margin:0 0 16px;font:.94rem/1.65 Jua,sans-serif;position:relative}.tower-open-rays{background:repeating-conic-gradient(#fff39b61 0 5deg,transparent 5deg 15deg);border-radius:50%;animation:18s linear infinite slowSpin;position:absolute;inset:5%;-webkit-mask-image:radial-gradient(circle,#000 3%,#0000 68%);mask-image:radial-gradient(circle,#000 3%,#0000 68%)}.compare-craft-scene.crafted .balance-workbench,.compare-craft-scene.crafted .balance-result{overflow:visible}.compare-craft-scene.crafted .balance-result .item-icon{border-radius:50%;width:min(330px,54vw)!important;height:min(330px,42vh)!important}.clear-pet-guide{text-align:left;background:linear-gradient(135deg,#252a63eb,#492669e6);border:1px solid #80eaf5b3;border-radius:22px;max-width:620px;margin:16px auto 0;padding:15px 18px 16px;box-shadow:0 0 24px #60dff52e,inset 0 1px 10px #ffffff1a}.clear-pet-guide>span{color:#8debf2;letter-spacing:.13em;font:.66rem Do Hyeon,sans-serif}.clear-pet-guide h2{color:#fff2ab;margin:3px 0 7px;font-size:clamp(1rem,1.5vw,1.28rem);line-height:1.3}.clear-pet-guide p{color:#e9e8ff;margin:4px 0;font:.78rem/1.55 Jua,sans-serif}.clear-pet-guide p b{color:#ffe479}.clear-pet-guide>div{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:11px;display:flex}.clear-pet-guide .clear-shop-link,.clear-lab-link{color:#fff0a5;cursor:pointer;background:#39255bdb;border:2px solid #ffe684;border-radius:999px;min-width:0;margin:0;padding:9px 14px;font:.75rem Jua,sans-serif}.clear-lab-link{color:#dfffff;background:#1d456ae6;border-color:#86e9f4;box-shadow:0 0 14px #63e7f533}@media (hover:hover){.clear-pet-guide button:hover{filter:brightness(1.14);transform:translateY(-2px)}}.compare-craft-scene{z-index:4;flex:1;grid-template-rows:auto 1fr auto;grid-template-columns:280px 1fr;align-items:center;width:min(1240px,100%);min-height:calc(100svh - 106px);margin:0 auto;padding:18px 3% 28px;display:grid;position:relative}.compare-craft-magic{z-index:-1;background:radial-gradient(circle,#ffe98b47,#7143b733 36%,#0000 68%);border-radius:50%;animation:2s ease-in-out infinite auraPulse;position:absolute;inset:8% 12%}.compare-craft-delta{object-fit:contain;filter:drop-shadow(0 18px 23px #00000080);grid-row:1/4;align-self:end;width:300px;height:78vh;animation:3s ease-in-out infinite companionFloat}.compare-craft-guide{color:#fff7df;text-align:center;background:#27164ce8;border:2px solid #ffe495;border-radius:26px;width:min(760px,100%);margin:0 auto 14px;padding:18px 28px;box-shadow:0 10px 28px #0000004d,0 0 22px #ffce5740}.compare-craft-guide span{color:#ffd566;letter-spacing:.1em;font:.78rem Do Hyeon,sans-serif}.compare-craft-guide h2{color:#fff0ad;margin:4px 0;font-size:clamp(1.45rem,2.6vw,2.2rem)}.compare-craft-guide p{margin:0;font-size:clamp(.9rem,1.35vw,1.08rem);line-height:1.55}.balance-workbench{isolation:isolate;text-align:center;background:linear-gradient(145deg,#231445f0,#3f2462e6);border:2px solid #ffe08473;border-radius:34px;justify-self:center;width:min(850px,100%);padding:24px 30px;position:relative;overflow:hidden;box-shadow:inset 0 2px 15px #ffffff14,0 22px 45px #00000059}.balance-workbench>:not(.crafted-scale-effects){z-index:2;position:relative}.balance-slots{justify-content:center;gap:12px;display:flex}.balance-slot{background:#190f37a3;border:2px dashed #aa8bcf;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;width:118px;min-height:110px;padding:8px;display:flex}.balance-slot.filled{border-style:solid;border-color:#ffe17b;box-shadow:0 0 18px #ffd24a52}.balance-slot>b{color:#bba4dc;font-size:2.1rem}.balance-slot small{color:#fff4d1;font:.7rem Jua,sans-serif}.craft-flow-arrow{color:#ffd654;text-shadow:0 0 14px #ffc733;margin:5px;font-size:1.5rem}.balance-result{color:#e0cafa;justify-content:center;align-items:center;gap:14px;min-height:145px;font:1.25rem Jua,sans-serif;display:flex}.balance-result>span{border:3px solid #8f72bd;border-radius:50%;place-items:center;width:90px;height:90px;font-size:2.6rem;display:grid}.balance-result img{object-fit:contain;filter:drop-shadow(0 0 24px #ffd85d);width:min(230px,38vw);height:160px}.balance-result .item-icon{filter:drop-shadow(0 0 24px #ffd85d);border-radius:20px}.balance-result.reveal{color:#fff0a4;min-height:225px;animation:.8s both guidePraise}.balance-result.reveal img{filter:drop-shadow(0 0 12px #fff)drop-shadow(0 0 38px #ffd64f);width:min(350px,50vw);height:230px;animation:1.1s cubic-bezier(.15,.9,.2,1.15) both craftedScaleReveal,2.8s ease-in-out 1.1s infinite craftedScaleFloat}.balance-result.reveal .item-icon{filter:drop-shadow(0 0 12px #fff)drop-shadow(0 0 38px #ffd64f);animation:1.1s cubic-bezier(.15,.9,.2,1.15) both craftedScaleReveal,2.8s ease-in-out 1.1s infinite craftedScaleFloat}.compare-craft-scene.crafted .balance-slots{opacity:.34;filter:saturate(.7);transition:all .5s;transform:scale(.94)}.crafted-scale-effects{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.crafted-scale-rays{aspect-ratio:1;background:repeating-conic-gradient(from 0deg,#fff09373 0 5deg,transparent 5deg 15deg);border-radius:50%;width:560px;animation:18s linear infinite slowSpin;position:absolute;top:61%;left:50%;translate:-50% -50%;-webkit-mask-image:radial-gradient(circle,#000 5%,#0000 69%);mask-image:radial-gradient(circle,#000 5%,#0000 69%)}.crafted-scale-rings{position:absolute;top:61%;left:50%}.crafted-scale-rings i{aspect-ratio:1;border:3px solid #ffe574c7;border-radius:50%;width:100px;animation:2s ease-out infinite craftedRing;position:absolute;translate:-50% -50%;box-shadow:0 0 18px #ffd75a}.crafted-scale-rings i:nth-child(2){animation-delay:-.65s}.crafted-scale-rings i:nth-child(3){animation-delay:-1.3s}.crafted-scale-effects>b{color:#fff5a9;text-shadow:0 0 10px #fff,0 0 20px #ffc83d;transform:rotate(calc(var(--spark) * 20deg)) translateY(-28px);animation:craftedSpark 1.7s calc(var(--spark) * -.09s) ease-out infinite;font-size:1.1rem;position:absolute;top:61%;left:50%}@keyframes craftedScaleReveal{0%{opacity:0;filter:brightness(3)drop-shadow(0 0 55px #fff);transform:translateY(45px)scale(.28)rotate(-8deg)}55%{opacity:1;transform:translateY(-8px)scale(1.12)rotate(2deg)}75%{transform:translateY(3px)scale(.96)rotate(-1deg)}to{transform:none}}@keyframes craftedScaleFloat{50%{transform:translateY(-8px)scale(1.02)}}@keyframes craftedRing{0%{opacity:.9;scale:.35}to{opacity:0;scale:4}}@keyframes craftedSpark{0%{opacity:0;translate:0;scale:.4}20%{opacity:1}to{opacity:0;translate:0 -230px;scale:1.25}}.door-opening-show{z-index:4;pointer-events:none;position:absolute;inset:0;overflow:visible}.door-opening-show em{background:linear-gradient(100deg,#735b9beb,#221948f0);border:2px solid #dcf5ff66;width:50%;height:100%;position:absolute;top:0;box-shadow:inset 0 0 22px #8de7ff61}.door-opening-show em:first-child{transform-origin:0;animation:1.05s cubic-bezier(.14,.85,.22,1) both stoneDoorLeft;left:0}.door-opening-show em:nth-child(2){transform-origin:100%;animation:1.05s cubic-bezier(.14,.85,.22,1) both stoneDoorRight;right:0}.door-opening-show:after{content:"";z-index:-1;filter:blur(8px);background:linear-gradient(#fff,#baf8ff 40%,#7c8dff);width:28%;height:70%;animation:1.05s both doorPortal;position:absolute;top:16%;left:50%;translate:-50%;box-shadow:0 0 45px 22px #fff4a2}.door-opening-show b{z-index:6;color:#fffbc5;text-shadow:0 0 8px #fff,0 0 18px #ffe06a;animation:doorSpark 1s calc(var(--door-spark)*-.055s) ease-out both;font:1rem Jua,sans-serif;position:absolute;top:48%;left:50%}@keyframes stoneDoorLeft{to{transform:perspective(380px)rotateY(63deg)translate(-18%)}}@keyframes stoneDoorRight{to{transform:perspective(380px)rotateY(-63deg)translate(18%)}}@keyframes doorPortal{0%{opacity:0;scale:.1}35%{opacity:1;scale:1.3}to{opacity:.85;scale:1}}@keyframes doorSpark{0%{opacity:0;transform:rotate(calc(var(--door-spark)*25.7deg)) translateY(0) scale(.2)}25%{opacity:1}to{opacity:0;transform:rotate(calc(var(--door-spark)*25.7deg)) translateY(-135px) scale(1)}}.forge-balance{color:#422c0d;cursor:pointer;background:linear-gradient(#ffe782,#efac30);border:3px solid #fff0a5;border-radius:999px;min-width:260px;padding:13px 24px;font:1rem Jua,sans-serif;box-shadow:0 6px #955315}.forge-balance:disabled{opacity:.45;cursor:not-allowed}.forge-balance.continue{background:linear-gradient(#c8ff9c,#67c776);box-shadow:0 6px #347743}.compare-inventory{text-align:center;background:#160d33e0;border-radius:25px;grid-column:2;width:min(850px,100%);margin:12px auto 0;padding:12px 20px}.compare-inventory>strong{color:#ffe28a;font:.85rem Jua,sans-serif}.compare-inventory>div{justify-content:center;gap:18px;margin-top:8px;display:flex}.compare-inventory button{color:#fff;cursor:pointer;background:#342359;border:2px solid #9677c3;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;width:120px;padding:7px;display:flex}.compare-inventory button .item-icon{margin-inline:auto;display:block}.compare-inventory button:disabled{opacity:.38}.compare-inventory button span{text-align:center;width:100%;font:.68rem Jua,sans-serif;display:block}.balance-gate-scene{z-index:4;flex:1;grid-template-rows:auto 1fr auto auto;justify-items:center;width:min(1180px,100%);min-height:calc(100svh - 106px);margin:0 auto;padding:12px 20px 22px;display:grid;position:relative}.gate-guide{color:#fff9e6;background:#2b184ff0;border:3px solid #ffe393;border-radius:28px;align-items:center;width:min(900px,94%);min-height:105px;padding:13px 26px 13px 104px;display:flex;position:relative;box-shadow:0 12px 28px #00000054,0 0 24px #ffda6047}.gate-guide img{object-fit:contain;width:95px;height:115px;position:absolute;bottom:0;left:5px}.gate-guide span{color:#ffd769;letter-spacing:.1em;font:.72rem Do Hyeon,sans-serif}.gate-guide h2{margin:2px 0;font-size:clamp(1.15rem,2vw,1.55rem)}.gate-guide p{color:#f0e5ff;margin:0;font-size:.9rem}.magic-balance{place-items:center;width:min(820px,76vw);height:min(56vh,530px);display:grid;position:relative}.magic-balance>img{object-fit:contain;filter:drop-shadow(0 22px 20px #00000085)drop-shadow(0 0 22px #ffd14d73);transform-origin:50% 54%;width:100%;height:100%;transition:transform .72s cubic-bezier(.2,.9,.25,1),filter .35s}.scale-pan{color:#fff4c2;flex-direction:column;justify-content:flex-end;align-items:center;width:31%;min-height:128px;font:.8rem Jua,sans-serif;transition:transform .72s cubic-bezier(.18,.9,.25,1),filter .3s;display:flex;position:absolute;top:27%}.scale-left{left:7%}.scale-right{right:7%}.pan-objects{flex-wrap:wrap;justify-content:center;align-items:flex-end;max-width:190px;min-height:82px;display:flex}.pan-objects img{object-fit:contain;filter:drop-shadow(0 5px 5px #0006);width:clamp(36px,4vw,56px);height:clamp(36px,4vw,56px);margin:-8px -4px;animation:2s ease-in-out infinite countingObjectFloat}.balance-correct-flash{z-index:8;color:#fff7b0;opacity:0;pointer-events:none;text-shadow:0 0 18px #fff,0 0 42px #ffd33e,0 0 90px #ffb72f;font-size:8rem;position:absolute;top:45%;left:50%;translate:-50% -50%}.magic-balance.tilt-left>img{filter:drop-shadow(0 22px 20px #00000085)drop-shadow(0 0 38px #ffd65a);transform:rotate(-3deg)}.magic-balance.tilt-left .scale-left{filter:drop-shadow(0 0 18px #ffd85f);transform:translateY(42px)rotate(-4deg)}.magic-balance.tilt-left .scale-right{transform:translateY(-34px)rotate(-4deg)}.magic-balance.tilt-right>img{filter:drop-shadow(0 22px 20px #00000085)drop-shadow(0 0 38px #ffd65a);transform:rotate(3deg)}.magic-balance.tilt-right .scale-left{transform:translateY(-34px)rotate(4deg)}.magic-balance.tilt-right .scale-right{filter:drop-shadow(0 0 18px #ffd85f);transform:translateY(42px)rotate(4deg)}.magic-balance.tilt-equal>img{filter:drop-shadow(0 22px 20px #00000085)drop-shadow(0 0 40px #fff09a);animation:1.05s both balanceSettle}.magic-balance.tilt-equal .scale-pan{filter:drop-shadow(0 0 20px #ffe076);animation:.9s both equalPanGlow}.magic-balance.tilt-left .balance-correct-flash,.magic-balance.tilt-right .balance-correct-flash,.magic-balance.tilt-equal .balance-correct-flash{animation:.85s ease-out both balanceFlash}.magic-balance.tilt-wrong>img{animation:.35s balanceWrong}@keyframes balanceFlash{0%{opacity:0;rotate:0deg;scale:.25}32%{opacity:1}to{opacity:0;rotate:90deg;scale:2.15}}@keyframes balanceSettle{0%,to{transform:rotate(0)}20%{transform:rotate(-3deg)}45%{transform:rotate(3deg)}70%{transform:rotate(-1.2deg)}}@keyframes equalPanGlow{40%{transform:translateY(-7px)scale(1.05)}70%{transform:translateY(2px)}}@keyframes balanceWrong{25%{transform:translate(-7px)rotate(-1deg)}75%{transform:translate(7px)rotate(1deg)}}.physical-balance{--beam-angle:0deg;--counter-angle:0deg;filter:drop-shadow(0 20px 18px #0000007a);width:min(760px,94%);height:100%;position:relative}.balance-beam{z-index:5;height:25px;transform:rotate(var(--beam-angle));transform-origin:50%;background:linear-gradient(#fff1a4 0,#f6bd34 24%,#a85b0c 72%,#ffdc61 100%);border:3px solid #fff0a1;border-radius:15px;transition:transform .9s cubic-bezier(.18,.88,.2,1.12);position:absolute;top:28%;left:10%;right:10%;box-shadow:inset 0 3px 4px #ffffff8c,0 5px 8px #3c1b0580,0 0 18px #ffce4173}.balance-beam:before,.balance-beam:after{content:"";background:#794015;border:5px solid #ffc842;border-radius:50%;width:30px;height:30px;position:absolute;top:50%;translate:0 -50%;box-shadow:0 0 9px #ffe88b}.balance-beam:before{left:-8px}.balance-beam:after{right:-8px}.balance-pivot-gem{z-index:9;color:#cffaff;background:radial-gradient(circle at 35% 25%,#fff,#5cd7ff 24%,#7153d7 58%,#291653);border:5px solid #ffe786;border-radius:50%;place-items:center;width:64px;height:64px;font-size:1.35rem;display:grid;position:absolute;top:calc(28% - 21px);left:50%;translate:-50%;box-shadow:0 0 18px #fff2a1,0 0 38px #5ec5ffb3}.balance-hanger{width:38%;height:235px;transform:rotate(var(--counter-angle));transform-origin:50% 0;transition:transform .9s cubic-bezier(.18,.88,.2,1.12),filter .35s;position:absolute;top:17px}.hanger-left{left:-2%}.hanger-right{right:-2%}.chain{transform-origin:top;background:repeating-linear-gradient(#fff0a5 0 5px,#b96d16 5px 10px);border-radius:4px;width:5px;height:120px;position:absolute;top:0;box-shadow:0 0 5px #f8bd3b}.chain-a{left:18%;transform:rotate(14deg)}.chain-b{right:18%;transform:rotate(-14deg)}.physical-pan{background:radial-gradient(at 50% 18%,#fff7b2e0,#f1aa25c7 38%,#713609e0 72%);border-bottom:17px solid #c67816;border-radius:0 0 50% 50%;flex-direction:column;justify-content:flex-start;align-items:center;height:120px;padding:0 13px 10px;display:flex;position:absolute;top:104px;left:0;right:0;box-shadow:inset 0 -8px 11px #4e1f0466,0 12px 13px #00000059,0 0 16px #ffc63361}.physical-pan:before{content:"";background:#9b5713;border:4px solid #ffe888;border-radius:50%;height:18px;position:absolute;top:-8px;left:2%;right:2%;box-shadow:inset 0 3px 4px #ffffff59}.physical-pan .pan-objects{z-index:2;align-content:center;min-height:74px;margin-top:-10px;position:relative}.physical-pan>b{z-index:3;color:#4c2a08;text-shadow:none;background:#fff0a9;border-radius:999px;margin-top:2px;padding:3px 12px;font:.72rem Jua,sans-serif;position:relative;box-shadow:0 3px 5px #00000040}.balance-column{z-index:3;background:linear-gradient(90deg,#7541a5,#54bddd 42%,#38327b 68%,#8e4d15);border:4px solid #ffe68c;border-radius:22px 22px 10px 10px;width:54px;height:52%;position:absolute;top:31%;left:50%;translate:-50%;box-shadow:inset 7px 0 8px #ffffff40,0 0 15px #f8c34d}.balance-column i{aspect-ratio:1;background:linear-gradient(135deg,#7af0ff,#7755df);border:4px solid #ffd968;width:34px;position:absolute;top:40%;left:50%;translate:-50% -50%;rotate:45deg;box-shadow:0 0 13px #71ddff}.balance-column span{background:#b56915;border:4px solid #ffe690;border-radius:50%;width:88px;height:27px;position:absolute;bottom:-13px;left:50%;translate:-50%}.balance-foot{z-index:4;background:linear-gradient(#fbd15b,#9a4e0d);border:5px solid #ffe890;border-radius:50%;width:36%;height:48px;position:absolute;bottom:4%;left:50%;translate:-50%;box-shadow:inset 0 5px 7px #ffffff61,0 12px 13px #00000061,0 0 20px #eebc36}.magic-balance.tilt-left .physical-balance{--beam-angle:-9deg;--counter-angle:9deg}.magic-balance.tilt-right .physical-balance{--beam-angle:9deg;--counter-angle:-9deg}.magic-balance.tilt-left .hanger-left,.magic-balance.tilt-right .hanger-right{filter:drop-shadow(0 0 15px #ffdd5f)}.magic-balance.tilt-equal .physical-balance{animation:1.05s both physicalEqualSettle}.magic-balance.tilt-equal .physical-pan{box-shadow:inset 0 -8px 11px #4e1f0466,0 12px 13px #00000059,0 0 28px #ffe576}.magic-balance.tilt-wrong .physical-balance{animation:.35s balanceWrong}@keyframes physicalEqualSettle{0%,to{transform:rotate(0)}22%{transform:rotate(-3deg)}48%{transform:rotate(3deg)}72%{transform:rotate(-1deg)}}.balanced-complete{align-content:center;place-items:center;width:100%;height:100%;display:grid}.balanced-complete img{object-fit:contain;filter:drop-shadow(0 0 30px #ffe26d);width:82%;height:84%}.balanced-complete b{color:#4b2d08;background:#fff0a5;border-radius:999px;margin-top:-42px;padding:8px 24px;font:1.15rem Jua,sans-serif;box-shadow:0 0 18px #ffd85b}.gate-choices{z-index:12;gap:18px;margin-top:-12px;display:flex;position:relative}.gate-choices button,.gate-continue{color:#fff8df;cursor:pointer;background:linear-gradient(145deg,#6d50a4,#3b275f);border:3px solid #f1e5ff;border-radius:22px;min-width:135px;padding:14px 22px;font:1.05rem Jua,sans-serif;box-shadow:0 7px #21143d,0 0 16px #ba8bff4d}@media (hover:hover){.gate-choices button:hover{border-color:#ffe580;transform:translateY(-3px)}}.gate-continue{z-index:12;color:#3f2909;background:linear-gradient(#ffe780,#efad32);border-color:#fff1ae;min-width:290px;position:relative;box-shadow:0 7px #995617}.gate-progress{gap:8px;margin-top:16px;display:flex}.gate-progress i{background:#5a427e;border-radius:6px;width:45px;height:7px}.gate-progress i.done{background:#ffd75b;box-shadow:0 0 12px #ffc54c}.gates-open .magic-balance{animation:.8s both guidePraise}.raft-crossing{background:#0f1a3499;border:2px solid #78c8ff66;border-radius:30px;place-items:center;width:min(900px,92%);min-height:180px;padding:20px;display:grid;position:relative;box-shadow:inset 0 0 30px #78c8ff26,0 18px 35px #0000004d}.raft-stones{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;display:flex}.raft-crossing.raft-wrong{animation:.35s balanceWrong}.raft-complete{color:#fff0a4;flex-direction:column;align-items:center;gap:10px;font:1.15rem Jua,sans-serif;display:flex}.raft-complete .item-icon{filter:drop-shadow(0 0 28px #7fd8ff)}.raft-number{width:60px;height:64px;font-size:1.7rem}.gate-choices button.raft-choice{justify-content:center;align-items:center;min-height:74px;display:inline-flex}.shape-craft-scene{z-index:4;flex:1;grid-template-rows:auto 1fr auto;grid-template-columns:260px 1fr;align-items:center;width:min(1220px,100%);min-height:calc(100svh - 106px);margin:0 auto;padding:15px 3% 25px;display:grid;position:relative}.shape-craft-delta{object-fit:contain;filter:drop-shadow(0 20px 25px #00000080);grid-row:1/4;width:290px;height:75vh;animation:3s ease-in-out infinite companionFloat}.shape-craft-guide{text-align:center;background:#201449ed;border:2px solid #79e3ff;border-radius:25px;width:min(800px,100%);margin:0 auto 12px;padding:17px 25px;box-shadow:0 0 25px #53d0ff3d}.shape-craft-guide span{color:#78e8ff;letter-spacing:.1em;font:.72rem Do Hyeon,sans-serif}.shape-craft-guide h2{color:#fff0a5;margin:3px;font-size:clamp(1.4rem,2.5vw,2.1rem)}.shape-craft-guide p{margin:0;font-size:.9rem;line-height:1.5}.shape-forge{text-align:center;background:linear-gradient(145deg,#1a1040f2,#381f5feb);border:2px solid #7ee2ff73;border-radius:32px;justify-self:center;width:min(820px,100%);padding:20px;box-shadow:0 20px 45px #00000059}.shape-part-slots{justify-content:center;gap:12px;display:flex}.shape-part-slots>div{background:#241841;border:2px dashed #8a72b0;border-radius:19px;flex-direction:column;justify-content:center;align-items:center;width:120px;height:105px;display:flex}.shape-part-slots>div.filled{border-style:solid;border-color:#8deaff;box-shadow:0 0 16px #4bd4ff59}.shape-part-slots b{color:#a995c5;font-size:2rem}.shape-part-slots small{color:#fff2c7;font:.65rem Jua,sans-serif}.shape-part{filter:drop-shadow(0 0 8px #65dfff);width:62px;height:62px;display:block;position:relative}.shape-part:before{content:"";background:linear-gradient(145deg,#b9ffff,#54bfff 42%,#7f52dc);border:3px solid #eaffff;position:absolute;inset:8px;box-shadow:inset 4px 4px 7px #ffffff73}.shape-part-circle:before{border-radius:50%}.shape-part-triangle:before{clip-path:polygon(50% 2%,98% 94%,2% 94%)}.shape-part-square:before{border-radius:0}.shape-part-axis:before{background:linear-gradient(#fff3a8,#d28a15);border-radius:999px;inset:5px 25px}.shape-part-axis:after{content:"";background:#ffe274;border-radius:9px;height:12px;position:absolute;top:26px;left:8px;right:8px;box-shadow:0 0 8px #ffc83c}.shape-key-result{color:#bfa9d8;place-items:end center;width:240px;height:165px;margin:8px auto;font:1.1rem Jua,sans-serif;display:grid;position:relative}.shape-key-result>i{opacity:.28;position:absolute}.key-ring{border:13px solid #6a4b8d;border-radius:50%;width:72px;height:72px;top:16px}.key-triangle{clip-path:polygon(50% 0,100% 100%,0 100%);background:#7654a0;width:50px;height:48px;top:34px}.key-square{border:5px solid #b19acb;width:32px;height:32px;top:51px}.key-shaft{background:#70518e;border-radius:9px;width:17px;height:58px;top:84px}.shape-key-result.reveal{color:#fff0a5;animation:.8s both guidePraise}.shape-key-result.reveal>i{opacity:1;filter:drop-shadow(0 0 13px #66e6ff)}.shape-key-result.reveal .key-ring{border-color:#ffe273}.shape-key-result.reveal .key-triangle{background:linear-gradient(#8ffaff,#6957e4)}.shape-key-result.reveal .key-square{border-color:#ffdf65}.shape-key-result.reveal .key-shaft{background:linear-gradient(#ffd85b,#7043ae)}.shape-key-result.reveal:before{content:"";background:repeating-conic-gradient(#ffe87e66 0 7deg,transparent 7deg 19deg);border-radius:50%;animation:12s linear infinite slowSpin;position:absolute;inset:-30px;-webkit-mask-image:radial-gradient(circle,#000,#0000 70%);mask-image:radial-gradient(circle,#000,#0000 70%)}.shape-forge-button{color:#3e2908;cursor:pointer;background:linear-gradient(#ffe783,#eead30);border:3px solid #fff0a0;border-radius:999px;min-width:265px;padding:13px 22px;font:1rem Jua,sans-serif;box-shadow:0 7px #945113}.shape-forge-button:disabled{opacity:.4;cursor:not-allowed}.shape-forge-button.done{background:linear-gradient(#bcffb1,#62c87b);box-shadow:0 7px #374}.shape-material-tray{background:#180e37e6;border-radius:22px;grid-column:2;justify-content:center;justify-self:center;align-items:center;gap:12px;width:min(820px,100%);margin-top:10px;padding:10px 15px;display:flex}.shape-material-tray>strong{color:#ffe17d;font:.75rem Jua,sans-serif}.shape-material-tray button{color:#fff;cursor:pointer;background:#35245a;border:2px solid #7862a0;border-radius:16px;width:112px;padding:5px}.shape-material-tray button:disabled{opacity:.35}.shape-material-tray .shape-part{width:50px;height:50px;margin:auto}.shape-material-tray span{font:.62rem Jua,sans-serif;display:block}.shape-door-scene{z-index:4;flex:1;grid-template-rows:auto 1fr auto auto;justify-items:center;width:min(1200px,100%);min-height:calc(100svh - 106px);margin:0 auto;padding:10px 18px 20px;display:grid;position:relative}.shape-door-guide{background:#1f1348f0;border:3px solid #76e4ff;border-radius:28px;width:min(900px,94%);min-height:105px;padding:13px 25px 13px 110px;position:relative;box-shadow:0 12px 30px #00000059,0 0 23px #54d7ff4d}.shape-door-guide img{object-fit:contain;width:98px;height:120px;position:absolute;bottom:0;left:5px}.shape-door-guide span{color:#78e8ff;font:.7rem Do Hyeon,sans-serif}.shape-door-guide h2{color:#fff0a6;font-size:clamp(1.25rem,2.2vw,1.75rem)}.shape-door-guide p{margin:3px 0 0;font-size:.88rem}.shape-doors{justify-content:center;align-items:center;gap:clamp(15px,4vw,50px);width:min(950px,90vw);display:flex;position:relative}.shape-door{color:#fff2c1;cursor:pointer;background:linear-gradient(145deg,#34245f,#171231);border:7px solid #77639e;border-radius:110px 110px 20px 20px;width:230px;height:330px;position:relative;overflow:hidden;box-shadow:inset 0 0 25px #875bd373,0 18px 25px #0006}.shape-door i{filter:drop-shadow(0 0 18px #65dfff);background:linear-gradient(145deg,#8dffff,#4f9ff0 43%,#8153d9);border:5px solid #eaffff;width:120px;height:120px;position:absolute;top:45%;left:50%;translate:-50% -50%}.door-circle i{border-radius:50%}.door-triangle i{clip-path:polygon(50% 1%,99% 95%,1% 95%)}.door-square{border-radius:25px}.door-square i{border-radius:0}.shape-door b{font:1.1rem Jua,sans-serif;position:absolute;bottom:24px;left:0;right:0}.shape-door.opening{animation:1s both doorUnlock;box-shadow:0 0 40px #ffe06a}.shape-door.opened{opacity:.35;filter:saturate(.4)}.shape-door.opened:after{content:"열림";color:#fff4aa;background:#140d2b99;place-items:center;font:1.5rem Jua,sans-serif;display:grid;position:absolute;inset:0}.transform-key{z-index:5;color:#4a2e09;background:radial-gradient(circle,#fffbd0,#f3ba37 58%,#7651bf);border:5px solid #ffe47c;border-radius:50%;place-items:center;width:95px;height:95px;animation:1.4s ease-in-out infinite keyTransform;display:grid;position:absolute;bottom:2%;left:50%;translate:-50%;box-shadow:0 0 28px #ffd557}.transform-key i{background:#6a54d4;width:44px;height:44px}.key-circle i{border-radius:50%}.key-triangle i{clip-path:polygon(50% 0,100% 100%,0 100%)}.key-square i{border-radius:0}.transform-key b{color:#fff1a3;text-shadow:0 2px 5px #000;font:.7rem Jua,sans-serif;position:absolute;bottom:-21px}.shape-door-next{color:#3e2908;cursor:pointer;background:linear-gradient(#ffe981,#edae31);border:3px solid #fff0a0;border-radius:999px;min-width:290px;padding:14px;font:1rem Jua,sans-serif;box-shadow:0 7px #955315}.shape-door-progress{gap:9px;margin-top:15px;display:flex}.shape-door-progress i{background:#57417b;border-radius:5px;width:50px;height:7px}.shape-door-progress i.done{background:#68e4ff;box-shadow:0 0 11px #65dcff}@keyframes doorUnlock{30%{filter:brightness(1.8);transform:scale(1.05)}65%{transform:perspective(600px)rotateY(-18deg)}}@keyframes keyTransform{50%{filter:brightness(1.3);transform:translateY(-8px)rotate(12deg)}}@media (width<=850px){.dev-effect-controls{top:168px;left:14px}.team-credit{white-space:nowrap;top:14px;left:50%;transform:translate(-50%)}.topbar{flex-wrap:wrap;justify-content:center;display:flex}.topbar .chip{flex:none}.shop-hud-button{white-space:nowrap}.shop-btn-full,.hud-location{display:none}.home-scene{grid-template-columns:1fr;align-content:center;padding:70px 18px 110px}.home-copy{z-index:7;max-width:100%}.title-main{font-size:clamp(4rem,18vw,6.4rem)}.home-companion{opacity:.55;width:54vw;height:48vh;position:absolute;bottom:10%;right:-13%}.companion-callout{display:none}.hero-select-scene{grid-template-rows:auto 1fr auto;grid-template-columns:1fr;padding-top:12px}.selection-copy{max-width:none}.selection-copy h2{margin:8px 0;font-size:clamp(2.1rem,8vw,3.6rem)}.selection-copy p{display:none}.chosen-hero{height:42vh}.chosen-hero img{width:min(78vw,450px)}.hero-rays{width:min(82vw,480px)}.chosen-name{bottom:8%;right:8%}.hero-roster{justify-content:flex-start;gap:9px;padding-inline:12px;overflow-x:auto}.hero-token{flex:0 0 70px}.hero-confirm{grid-column:1;justify-self:center;margin:13px 0 4px;position:relative;bottom:auto;right:auto}.speaker-stage{opacity:.75;inset:0 30% 165px 0}.speaker-figure{width:min(70vw,470px)}.dialogue-ribbon{width:100%;min-height:180px;padding:26px 65px 24px 34px;bottom:4%;right:0}.story-scene.monster-intro .speaker-stage{opacity:.92;z-index:9;place-items:center;height:16%;inset:44% 8% auto}.battle-arena{justify-content:center;gap:5%;min-height:265px;padding:2px 0 0}.monster-stage{min-width:250px;transform:scale(.82)}.monster-shell{width:290px;height:290px}.battle-hero-stage{opacity:.74;width:190px;height:250px}.hero-speech{display:none}.question-magic{grid-template-columns:1fr 1fr;gap:8px 14px;min-height:270px;padding:25px 22px 20px}.question-copy{text-align:center;grid-column:1/-1}.visual-equation{min-height:72px}.battle-choices{gap:8px}.rune-choice{border-radius:22px;width:68px;height:68px}.battle-guide{width:min(690px,88vw);min-height:86px;margin:-12px auto 14px;padding:13px 22px 13px 112px}.battle-guide img{width:142px;height:128px;bottom:-18px;left:-34px}.battle-guide p{font-size:clamp(1rem,2.3vw,1.25rem)}.stage-clear-scene{grid-template-columns:.78fr 1.22fr}.clear-delta-wrap{height:68vh}.clear-copy{padding:35px 20px}.clear-rewards{gap:8px}.clear-rewards>div{min-width:96px;padding:10px 8px}.compare-craft-scene{grid-template-columns:180px 1fr;padding-inline:5px}.compare-craft-delta{opacity:.88;width:210px}.balance-workbench{padding:17px 12px}.balance-slot{width:96px}.compare-inventory{grid-column:1/-1}.compare-inventory button{width:105px}.fallen-log-field{gap:0;width:96vw;min-height:360px}.rune-log{min-height:170px}.craft-guide{padding:15px 20px 15px 62px;top:20px}.craft-success-dock{gap:10px}.craft-delta{opacity:.88;width:255px;max-height:48vh;top:112px;left:-52px}.craft-dock{width:94vw;padding:18px}.shop-window{height:min(780px,96vh)}.pet-shop-header{gap:10px}.pet-dex-progress{display:none}.pet-shop-body{grid-template-columns:285px 1fr}.hatchery-art{height:285px}.pet-grid{grid-template-columns:1fr}.pet-card{min-height:180px}.pet-card-main{grid-template-columns:112px 1fr}.pet-card-art{width:112px;height:120px}.training-body{grid-template-columns:230px 1fr}.training-body>aside img{width:190px;height:220px}.training-body>main{padding-inline:18px}.shape-craft-scene{grid-template-columns:180px 1fr;padding-inline:6px}.shape-craft-delta{opacity:.88;width:210px}.shape-part-slots>div{width:96px}.shape-material-tray{grid-column:1/-1}.shape-material-tray button{width:100px}.shape-door{width:190px;height:285px}.shape-door i{width:95px;height:95px}}@media (width<=520px){.stage{padding:14px 12px 18px}.developer-toolbar{width:calc(100vw - 14px);padding:8px;top:auto;bottom:7px;right:7px}.dev-toolbar-title{margin-bottom:4px}.developer-toolbar select{min-height:31px}.dev-toolbar-actions{margin-top:5px}.dev-exit{margin-top:4px}.dev-effect-controls{justify-content:center;padding:6px;top:76px;left:7px;right:7px}.dev-effect-controls b{display:none}.dev-effect-controls button{flex:1;padding:6px 4px}.screen-home{padding:0}.home-scene{padding:56px 18px 88px;overflow:hidden}.episode-select-scene{height:calc(100svh - 82px);min-height:calc(100svh - 82px);padding:16px 16px 12px;overflow:hidden auto}.episode-select-title{margin:6px 0 10px;font-size:1.32rem}.episode-cards{gap:9px}.episode-card{flex-basis:100%;height:auto;min-height:92px;padding:9px 13px}.episode-card-copy strong{font-size:1.02rem}.episode-card-copy p{max-width:none;font-size:.66rem}.episode-card-go{margin-top:5px;padding:5px 13px;font-size:.72rem}.episode-card-lock{width:26px;height:26px;font-size:.92rem;top:8px;right:10px}.craft-scene{height:calc(100svh - 82px);min-height:calc(100svh - 82px);padding:12px 14px 14px;overflow:hidden}.chip{min-height:32px;padding:5px 9px;font-size:.72rem}.progress-track{width:86%}.home-quest-ribbon{padding-inline:5px;font-size:.67rem}.ribbon-symbol{margin:0 5px}.hero-select-scene,.story-scene{min-height:calc(100svh - 82px)}.pet-intro-scene{height:calc(100svh - 82px);min-height:0;padding:14px;overflow:hidden}.pet-intro-panel h2{font-size:1.2rem}.pet-intro-panel p{font-size:.76rem}.pet-intro-panel .pet-mystery-egg{width:110px;height:126px;margin:6px auto;font-size:1.9rem}.pet-intro-reveal-art{width:110px;height:110px}.battle-scene{height:calc(100svh - 82px);min-height:0;overflow:hidden}.hero-token{flex-basis:62px}.hero-token span{font-size:.62rem}.speaker-stage{opacity:.52;justify-items:start;inset:0 0 210px}.speaker-figure{width:82vw}.dialogue-ribbon{min-height:210px;padding:24px 45px 55px 25px}.dialogue-next{bottom:14px;right:25px}.battle-scene{grid-template-rows:minmax(112px,.48fr) auto auto}.battle-arena{justify-content:flex-start;min-height:0;overflow:hidden}.monster-stage{transform-origin:50%;margin-top:-58px;margin-left:-25px;transform:scale(.44)}.monster-shell{width:275px;height:275px}.battle-hero-stage{opacity:1;width:120px;height:150px;position:relative;bottom:auto;right:auto}.question-magic{clip-path:polygon(5% 0,95% 0,100% 12%,100% 100%,0 100%,0 12%);grid-template-columns:1fr;padding:8px 14px}.question-copy{margin-bottom:0}.question-copy span{font-size:.6rem}.question-copy h2{margin:2px 0;font-size:1rem;line-height:1.25}.visual-equation{gap:4px;min-height:48px;display:flex}.object-group{min-width:52px;max-width:100px;min-height:46px;padding:3px 5px}.object-group img{width:28px;height:28px;margin:-4px -5px}.battle-choices{margin-top:3px}.rune-choice{width:66px;height:54px}.battle-hint{flex-direction:column;align-items:stretch;margin-top:2px}.battle-guide{border-radius:24px 24px 24px 10px;width:calc(100% - 34px);min-height:60px;margin:-4px 8px 8px auto;padding:7px 10px 7px 72px}.battle-guide:after{width:26px;height:18px;bottom:-10px;left:44px}.battle-guide:before{top:-9px;left:48px}.battle-guide img{width:106px;height:98px;bottom:-14px;left:-30px}.battle-guide p{font-size:.84rem;line-height:1.25}.stage-clear-scene{grid-template-rows:20vh 1fr;grid-template-columns:1fr;height:calc(100svh - 82px);min-height:0;overflow:hidden}.stage-clear-scene:before{inset:1%}.clear-delta-wrap{height:20vh}.clear-delta-wrap img{width:46vw;height:100%}.delta-cheer{padding:5px 10px;font-size:.7rem;top:8%;right:3%}.clear-copy{min-height:0;padding:2px 16px 10px;overflow-y:auto}.clear-copy h1{margin:4px 0;font-size:1.9rem}.clear-copy .clear-label{font-size:.6rem}.clear-copy>p{margin:0 auto;font-size:.76rem;line-height:1.35}.clear-rewards{margin:8px 0 6px}.clear-rewards>div{min-width:74px;padding:6px 4px}.clear-rewards b{font-size:1rem}.clear-next{min-width:250px;padding:9px 16px;font-size:.9rem}.clear-pet-guide{margin:8px auto 0;padding:8px 12px 9px}.clear-pet-guide h2{margin:2px 0 3px;font-size:.86rem}.clear-pet-guide p{margin:2px 0;font-size:.66rem;line-height:1.3}.clear-pet-guide p:last-of-type{display:none}.clear-pet-guide>div{gap:6px;margin-top:6px}.clear-pet-guide .clear-shop-link,.clear-pet-guide .clear-lab-link{padding:6px 10px;font-size:.66rem}.compare-craft-scene{flex-direction:column;min-height:calc(100svh - 82px);padding:4px 3px 16px;display:flex;overflow-y:auto}.compare-craft-delta{z-index:2;opacity:.82;width:135px;height:180px;position:absolute;top:0;left:-35px}.compare-craft-guide{text-align:left;min-height:130px;padding:12px 12px 12px 91px}.compare-craft-guide h2{font-size:1.3rem}.compare-craft-guide p{font-size:.75rem}.balance-workbench{width:100%;padding:14px 8px}.balance-slots{gap:4px}.balance-slot{width:24%;min-height:83px;padding:4px}.balance-slot .item-icon{max-width:53px;max-height:53px}.balance-slot small{font-size:.55rem}.balance-result{min-height:110px}.balance-result img{height:112px}.compare-inventory{width:100%;padding:9px 4px}.compare-inventory>div{gap:5px}.compare-inventory button{width:24%;padding:4px}.compare-inventory button .item-icon{margin:auto;width:48px!important;height:48px!important}.compare-inventory button span{font-size:.54rem}.balance-gate-scene{min-height:calc(100svh - 82px);padding:2px 4px 13px}.gate-guide{width:100%;min-height:100px;padding:10px 10px 10px 78px}.gate-guide img{width:72px;height:96px}.gate-guide h2{font-size:1rem}.gate-guide p{font-size:.72rem}.magic-balance{width:100%;height:42vh}.scale-pan{width:34%;top:25%}.scale-left{left:4%}.scale-right{right:4%}.pan-objects img{width:35px;height:35px;margin:-6px -5px}.gate-choices{gap:6px}.gate-choices button{min-width:92px;padding:11px 8px;font-size:.85rem}.axe-mission-scene{min-height:calc(100svh - 82px);padding:10px 8px 14px}.axe-mission-guide h2{font-size:1.55rem}.axe-mission-guide p{font-size:.78rem}.fallen-log-field{grid-template-columns:1fr;align-content:center;gap:-8px;min-height:410px}.rune-log{min-height:100px;margin:-5px 0}.rune-log-art{width:90%;height:170%;inset:-35% 5%}.log-number{border-width:3px;width:50px;height:50px;font-size:1.7rem;left:58%}.log-order{display:none}.swinging-axe{width:100px;height:100px;top:-35%}.axe-mission-status{min-width:94vw;padding:8px 12px;font-size:.78rem}.axe-mission-status>img{width:38px;height:38px}.axe-mission-status button{padding:8px 12px;font-size:.75rem}.craft-guide{width:94vw;padding:13px 14px 13px 58px;top:10px}.craft-guide p{font-size:.78rem}.craft-delta{opacity:.68;width:205px;top:112px;left:-55px}.craft-dock{padding:14px 10px}.craft-slot-glow{width:62px;height:62px}.tray-row-v2{gap:9px;min-height:75px;padding:10px}.tray-slot{width:58px;height:58px}.hammer-btn{width:66px;height:66px;margin-top:12px}.craft-success-dock{flex-direction:column}.crafted-reveal{min-width:185px;padding:10px 18px}.shop-overlay{padding:5px}.shop-window{border-radius:23px;width:100%;height:98vh}.shop-header{gap:8px;min-height:105px;padding:14px 58px 12px 17px}.shop-header h2{font-size:1.42rem}.shop-header p{font-size:.67rem}.shop-wallet{min-width:82px;padding:7px;font-size:.9rem}.shop-wallet b{font-size:1.05rem}.shop-close{width:36px;height:36px;top:11px;right:11px}.pet-shop-header{grid-template-columns:1fr auto;min-height:126px;display:grid}.pet-shop-header>div:first-child{grid-column:1/-1}.pet-shop-body{height:calc(100% - 126px);display:block;overflow-y:auto}.hatchery-stage{border-bottom:1px solid #ffe58b40;border-right:0;min-height:530px;padding:10px 12px 16px}.hatchery-art{height:280px}.hatchery-copy h3{font-size:1.6rem}.hatch-button{min-width:260px}.pet-collection{padding:12px 8px;overflow:visible}.pet-collection-heading{display:block}.training-open-button{width:100%;margin-top:8px}.pet-grid{display:block}.pet-card{min-height:166px;margin-bottom:9px}.pet-card-main{grid-template-columns:105px 1fr}.pet-card-art{width:105px;height:112px}.speaker-stage .story-pet{width:118px;height:118px;bottom:29%;right:2%}.battle-hero-stage .battle-pet{width:48%;height:42%;bottom:0;right:-28%}.active-pet-chip{display:none}.pet-training{border-radius:22px;width:96vw;height:96vh;overflow-y:auto}.pet-training>header{grid-template-columns:1fr auto;min-height:128px;padding:12px 52px 12px 14px;display:grid}.pet-training>header>div:first-child{grid-column:1/-1}.pet-training header h2{font-size:1.45rem}.pet-training header p{font-size:.63rem}.pet-training>header>button{top:10px;right:10px}.training-body{height:auto;display:block}.training-body>aside{border-bottom:1px solid #89e6ef40;border-right:0;min-height:245px}.training-body>aside img{width:145px;height:155px}.training-body>aside p{min-height:auto}.training-body>main{min-height:420px;padding:28px 10px 18px}.training-reward-note{top:8px;right:10px}.training-visual{min-height:88px;font-size:2rem}.training-body>main>h3{font-size:1.1rem}.training-choices{gap:6px}.training-choices button{min-width:88px;min-height:62px;padding:8px;font-size:.86rem}.evolution-before,.evolution-after{width:72vw;height:42vh}.evolution-copy{padding:0 14px}.evolution-copy h2{font-size:2.6rem}.evolution-copy p{font-size:.82rem}.shape-craft-scene{flex-direction:column;min-height:calc(100svh - 82px);padding:3px 4px 15px;display:flex;overflow-y:auto}.shape-craft-delta{z-index:2;opacity:.8;width:135px;height:175px;position:absolute;top:0;left:-35px}.shape-craft-guide{text-align:left;min-height:130px;padding:12px 10px 12px 92px}.shape-craft-guide h2{font-size:1.22rem}.shape-craft-guide p{font-size:.72rem}.shape-forge{width:100%;padding:13px 5px}.shape-part-slots{gap:4px}.shape-part-slots>div{width:24%;height:83px}.shape-part-slots .shape-part{width:45px;height:45px}.shape-key-result{height:125px}.shape-key-result .key-ring{border-width:10px;width:55px;height:55px;top:12px}.shape-key-result .key-triangle{width:38px;height:36px;top:26px}.shape-key-result .key-square{border-width:4px;width:24px;height:24px;top:39px}.shape-key-result .key-shaft{width:13px;height:44px;top:64px}.shape-material-tray{gap:4px;width:100%;padding:8px 3px}.shape-material-tray>strong{display:none}.shape-material-tray button{width:24%;padding:3px}.shape-material-tray .shape-part{width:42px;height:42px}.shape-material-tray span{font-size:.5rem}.shape-door-scene{min-height:calc(100svh - 82px);padding:3px 4px 12px}.shape-door-guide{width:100%;min-height:105px;padding:10px 8px 10px 78px}.shape-door-guide img{width:72px;height:96px}.shape-door-guide h2{font-size:1rem}.shape-door-guide p{font-size:.7rem}.shape-doors{gap:5px;width:100%}.shape-door{border-width:4px;border-radius:70px 70px 13px 13px;width:31%;height:240px}.shape-door i{border-width:3px;width:66px;height:66px}.shape-door b{font-size:.76rem;bottom:14px}.transform-key{border-width:3px;width:65px;height:65px}.transform-key i{width:31px;height:31px}.shape-door-next{min-width:260px;padding:11px}}.raft-mission-scene{z-index:4;flex:1;grid-template-rows:auto minmax(330px,1fr) auto auto;justify-items:center;gap:12px;width:min(1260px,100%);min-height:calc(100svh - 106px);margin:0 auto;padding:12px clamp(15px,4vw,56px) 22px;display:grid;position:relative;overflow:hidden}.raft-mission-scene:before{content:"";z-index:-3;filter:saturate(1.12)brightness(.88);background:linear-gradient(#08143014,#050d238f),url(/backgrounds/pattern_river.webp) 50%/cover;position:absolute;inset:-60px}.raft-mission-scene:after{content:"";z-index:-2;pointer-events:none;background:radial-gradient(at 50% 48%,#0000 25%,#03081d61 100%);position:absolute;inset:0}.raft-guide{z-index:4;color:#fff9e9;background:linear-gradient(110deg,#151b4ef2,#261452eb);border:2px solid #82e9ff;border-radius:31px;width:min(970px,95%);min-height:108px;padding:15px 28px 15px 128px;position:relative;box-shadow:0 13px 30px #00000057,0 0 24px #5ad9ff40}.raft-guide img{object-fit:contain;filter:drop-shadow(0 10px 12px #00000059);width:122px;height:138px;animation:2.8s ease-in-out infinite companionFloat;position:absolute;bottom:-3px;left:5px}.raft-guide span{color:#8ef0ff;letter-spacing:.1em;font:.72rem Do Hyeon,sans-serif}.raft-guide h2{color:#fff1a7;margin:4px 0;font-size:clamp(1.25rem,2.4vw,1.85rem)}.raft-guide p{margin:0;font-size:clamp(.88rem,1.4vw,1.04rem);line-height:1.55}.river-stage{background:linear-gradient(90deg,#183c72 0%,#1c75a2 18%,#105ca1 49%,#2777b9 75%,#143d79 100%);border:3px solid #7edfffb3;border-radius:38px;width:min(1100px,96%);min-height:330px;position:relative;overflow:hidden;box-shadow:inset 0 0 45px #78e8ff5c,0 18px 42px #00000057}.river-stage:before{content:"";opacity:.55;background:repeating-linear-gradient(172deg,#0000 0 19px,#b2f7ffad 20px 24px,#0000 25px 43px);animation:2.7s linear infinite riverFlow;position:absolute;inset:12% -10%}.river-bank{z-index:2;color:#fff2ab;text-shadow:0 2px 7px #05132d;background:linear-gradient(90deg,#233d1ffa,#456f32db,#0000);justify-content:center;align-items:center;width:13%;font:.78rem Jua,sans-serif;display:flex;position:absolute;top:0;bottom:0}.river-bank span{background:#14211d9e;border-radius:999px;padding:7px 11px}.bank-left{left:0}.bank-right{background:linear-gradient(270deg,#233d1ffa,#456f32db,#0000);flex-direction:column;gap:8px;right:0}.bank-right i{color:#fff4a5;filter:drop-shadow(0 0 8px #ffe472);font-size:2rem;font-style:normal;animation:1.4s ease-in-out infinite starBlink}.river-current{z-index:1;filter:drop-shadow(0 0 5px #8ff3ff99);border-top:3px solid #d5fcffb8;border-radius:50%;height:16px;animation:2.1s ease-in-out infinite riverCurrent;position:absolute;left:8%;right:8%}.current-a{top:25%}.current-b{animation-delay:-.7s;top:52%}.current-c{animation-delay:-1.3s;top:78%}.river-sparkles i{z-index:2;left:calc(14% + (var(--spark) * 6.2%));top:calc(18% + ((var(--spark) * 29%) % 61%));width:5px;height:5px;animation:waterTwinkle 1.8s calc(var(--spark) * -.16s) ease-in-out infinite;background:#d8fbff;border-radius:50%;position:absolute;box-shadow:0 0 10px #b8f8ff}.raft-journey{z-index:5;left:calc(12% + (var(--raft-progress) * 20%));place-items:center;transition:left 1.1s cubic-bezier(.2,.92,.25,1.14);display:grid;position:absolute;top:53%;translate:-50% -50%}.raft-journey .item-icon{z-index:2;filter:drop-shadow(0 12px 10px #00000061)drop-shadow(0 0 12px #87eeffbf);animation:1.35s ease-in-out infinite raftBob;position:relative;width:145px!important;height:126px!important}.raft-journey>b{z-index:3;white-space:nowrap;color:#ecfbff;background:#0a1f4ac7;border-radius:999px;padding:4px 10px;font:.72rem Jua,sans-serif;position:absolute;bottom:-26px}.raft-wake{z-index:1;filter:drop-shadow(0 0 9px #a6edff);border-bottom:5px solid #d3fdffdb;border-radius:50%;width:185px;height:55px;animation:1.35s ease-out infinite wakeRipple;position:absolute}.river-pattern{z-index:3;pointer-events:none;justify-content:space-between;align-items:end;gap:7px;display:flex;position:absolute;bottom:11%;left:18%;right:16%}.river-stone{aspect-ratio:1;background:radial-gradient(circle at 33% 25%,#eaffff,#75c9ef 37%,#3766ba 72%);border:3px solid #aaf3ff;border-radius:45% 55% 47% 52%;place-items:center;width:clamp(44px,6vw,72px);display:grid;box-shadow:inset 0 3px 7px #ffffffa6,0 7px 12px #01144180,0 0 13px #71f0ff73}.river-stone:nth-child(2n){margin-bottom:28px}.river-stone-blank{background:radial-gradient(circle,#704ec5,#2c1e70);border-style:dashed;border-color:#ffe473;animation:1.3s ease-in-out infinite blankGlow}.river-stone.lit{animation:.8s both stoneCorrect}.raft-token{color:#fff;text-shadow:0 2px 4px #17245b;place-items:center;width:48px;height:48px;font:1.45rem Jua,sans-serif;display:grid}.raft-token-color{background:radial-gradient(circle at 30% 25%,#fff,var(--token) 27%,#102a7a 100%);width:36px;height:36px;box-shadow:0 0 11px var(--token);border:3px solid #ffffffe0;border-radius:50%}.raft-token-shape:before{content:"";filter:drop-shadow(0 0 8px #7eeaff);background:linear-gradient(145deg,#9affff,#56a4ed 48%,#7255db);border:3px solid #eaffff;width:34px;height:34px}.raft-token-shape.raft-circle:before{border-radius:50%}.raft-token-shape.raft-triangle:before{clip-path:polygon(50% 0,100% 96%,0 96%)}.raft-token-shape.raft-square:before{border-radius:6px}.raft-token-emoji{font-size:2rem}.raft-token-blank{color:#fff0a4;background:#453277;border:3px dashed #ffe886;border-radius:50%;width:44px;height:44px}.raft-number{color:#fff8c6;font-size:1.7rem}.raft-answer-dock{z-index:7;text-align:center;color:#e9faff;background:#0f1642e8;border:2px solid #b1efffb8;border-radius:28px;width:min(710px,94%);padding:10px 18px 13px;position:relative;box-shadow:0 10px 27px #00000052}.raft-answer-dock p{color:#fff0a4;margin:0 0 7px;font:.95rem Jua,sans-serif}.raft-choices{justify-content:center;gap:16px;display:flex}.raft-choices button{cursor:pointer;background:linear-gradient(145deg,#345f9c,#29225d);border:3px solid #8bdcf6;border-radius:21px;place-items:center;width:82px;height:72px;transition:transform .18s,border-color .18s,filter .18s;display:grid;box-shadow:0 5px #171741,0 0 12px #66e5ff38}@media (hover:hover){.raft-choices button:hover:not(:disabled){filter:brightness(1.14);border-color:#fff29a;transform:translateY(-5px)scale(1.06)}}.raft-choices button:disabled{cursor:default}.raft-choices .picked-correct{background:linear-gradient(145deg,#5dc9a2,#246b8b);border-color:#fff29a;animation:.65s both choiceCorrect;box-shadow:0 0 22px #fff49a,0 5px #15536e}.raft-choices .picked-wrong{background:linear-gradient(145deg,#b25971,#59315f);border-color:#ff9696;animation:.42s both choiceWrong}.correct-burst{z-index:8;color:#fff5a7;text-shadow:0 0 14px #fff,0 0 35px #ffd951;font:clamp(2.4rem,6vw,4.6rem) Jua,sans-serif;animation:1.1s ease-out both correctBurst;position:absolute;top:30%;left:50%;translate:-50% -50%}.wrong-splash{z-index:8;font-size:3.2rem;animation:.7s both wrongSplash;position:absolute;top:42%;left:50%}.arrival-cheer span{z-index:8;color:#fff6a4;text-shadow:0 0 14px #fff,0 0 27px #ffd24c;font-size:3rem;animation:1.4s ease-in-out infinite arrivalStar;position:absolute}.arrival-cheer span:first-child{top:22%;left:30%}.arrival-cheer span:nth-child(2){animation-delay:-.45s;top:11%;left:51%}.arrival-cheer span:nth-child(3){animation-delay:-.9s;top:29%;right:24%}.raft-continue{z-index:8;color:#402a0a;cursor:pointer;background:linear-gradient(#ffe780,#eead2f);border:3px solid #fff0a5;border-radius:999px;min-width:315px;padding:14px 24px;font:1rem Jua,sans-serif;animation:.7s both guidePraise;position:relative;box-shadow:0 7px #965315,0 0 23px #ffd54e73}.raft-continue b{font-size:1.5rem;line-height:0}.raft-progress{z-index:8;gap:9px;display:flex;position:relative}.raft-progress i{background:#3f4f94;border-radius:99px;width:58px;height:8px;box-shadow:inset 0 1px 3px #10143b}.raft-progress i.active{background:#83dbf8;animation:1s ease-in-out infinite progressPulse;box-shadow:0 0 12px #8de8ff}.raft-progress i.done{background:#ffe06e;box-shadow:0 0 14px #ffe166}.reaction-wrong .river-stage{animation:.45s riverShake}.reaction-correct .river-stage{box-shadow:inset 0 0 55px #fff48e85,0 18px 42px #00000057}@keyframes riverFlow{to{background-position:260px 0}}@keyframes riverCurrent{50%{opacity:.45;translate:0 10px}}@keyframes waterTwinkle{50%{opacity:.28;scale:1.9}}@keyframes raftBob{50%{translate:0 -10px;rotate:1.5deg}}@keyframes wakeRipple{to{opacity:0;scale:1.28 1.35}}@keyframes blankGlow{50%{scale:1.08;box-shadow:0 0 22px #ffe277}}@keyframes stoneCorrect{45%{filter:brightness(1.65);scale:1.26;box-shadow:0 0 34px #fff4a0}to{scale:1}}@keyframes choiceCorrect{50%{rotate:3deg;scale:1.18}}@keyframes choiceWrong{25%,75%{translate:-8px}50%{translate:8px}}@keyframes correctBurst{0%{opacity:0;scale:.2}45%{opacity:1;scale:1.2}to{opacity:0;translate:-50% -90%;scale:1.75}}@keyframes wrongSplash{0%{opacity:0;translate:-50% 35px;scale:.4}45%{opacity:1;translate:-50% -16px;scale:1.2}to{opacity:0;translate:-50% -42px;scale:.9}}@keyframes arrivalStar{50%{filter:brightness(1.45);scale:1.38}}@keyframes riverShake{25%{translate:-7px}50%{translate:7px}75%{translate:-3px}}@keyframes progressPulse{50%{filter:brightness(1.25);scale:1.08}}@media (width<=640px){.raft-mission-scene{grid-template-rows:auto minmax(265px,1fr) auto auto;gap:7px;min-height:calc(100svh - 82px);padding:4px 5px 13px}.raft-guide{border-radius:20px;width:100%;min-height:105px;padding:10px 10px 10px 86px}.raft-guide img{width:88px;height:103px;left:-2px}.raft-guide h2{font-size:1.04rem}.raft-guide p{font-size:.7rem}.river-stage{border-radius:24px;width:100%;min-height:265px}.river-bank{width:11%;font-size:.55rem}.river-bank span{padding:4px}.raft-journey .item-icon{width:105px!important;height:90px!important}.river-pattern{gap:1px;bottom:10%;left:12%;right:11%}.river-stone{border-width:2px;width:30px}.river-stone:nth-child(2n){margin-bottom:18px}.raft-token{width:28px;height:28px;font-size:1rem}.raft-token-color{border-width:2px;width:24px;height:24px}.raft-token-shape:before{border-width:2px;width:23px;height:23px}.raft-token-emoji{font-size:1.3rem}.raft-token-blank{width:25px;height:25px;font-size:.9rem}.raft-number{font-size:1.1rem}.raft-answer-dock{border-radius:19px;width:100%;padding:7px 9px 9px}.raft-answer-dock p{font-size:.76rem}.raft-choices{gap:10px}.raft-choices button{border-radius:16px;width:67px;height:57px}.raft-progress i{width:42px;height:6px}.raft-continue{min-width:250px;padding:11px 15px;font-size:.84rem}.tower-ending-sequence{background-position:35%;min-height:calc(100svh - 82px);padding:0;display:block;overflow:hidden auto}.ending-reunion:before,.ending-star:before,.ending-complete:before{background:linear-gradient(0deg,#07051efa 0 48%,#080726ad 72%,#08072614 100%)}.ending-reunion .ending-story-copy,.ending-star .ending-story-copy,.ending-complete .ending-story-copy{text-align:center;background:linear-gradient(0deg,#0f0a33f5 0 54%,#130d3dc2 72%,#0000 100%);width:100%;min-height:calc(100svh - 82px);padding:clamp(235px,38vh,340px) 18px 28px;position:relative;inset:auto;overflow:visible}.ending-reunion .ending-story-copy>span,.ending-star .ending-story-copy>span,.ending-complete .ending-story-copy>span{font-size:.62rem;display:block}.ending-reunion .ending-symbol,.ending-star .ending-symbol,.ending-complete .ending-symbol{width:43px;height:43px;margin:8px auto 6px;font-size:1.55rem}.ending-reunion .ending-story-copy h1,.ending-star .ending-story-copy h1,.ending-complete .ending-story-copy h1{max-width:none;margin:5px 0 10px;font-size:clamp(1.85rem,9vw,2.65rem);line-height:1.08}.ending-reunion .ending-story-copy blockquote{border:0;max-width:none;margin:12px 0 7px;padding:0;font-size:1.05rem}.ending-reunion .ending-story-copy p,.ending-star .ending-story-copy p,.ending-complete .ending-story-copy p{max-width:520px;margin:9px auto;font-size:.9rem;line-height:1.6}.ending-reunion .ending-response,.ending-star .ending-response{max-width:none;margin:8px auto;font-size:1.05rem}.ending-reunion .ending-dots,.ending-star .ending-dots,.ending-complete .ending-dots{justify-content:center;margin:14px 0 12px;position:relative;bottom:auto;right:auto}.ending-reunion .ending-next,.ending-star .ending-next{width:min(330px,100%);min-width:0;margin:0 auto;display:block;position:relative;bottom:auto;right:auto}.ending-final-actions{gap:10px;width:min(360px,100%);max-width:none;margin:0 auto;display:grid}.ending-complete .ending-next,.ending-lab{width:100%;min-width:0}.ending-team-credit{justify-content:center;margin-top:4px}.ending-complete .ending-home{width:max-content;margin:13px auto 0;position:relative;bottom:auto;right:auto}.ending-complete .ending-story-copy{padding:clamp(145px,22vh,190px) 15px 14px}.ending-complete .ending-symbol{width:36px;height:36px;margin:4px auto;font-size:1.3rem}.ending-complete .ending-story-copy h1{margin:3px 0 7px;font-size:clamp(1.75rem,8vw,2.25rem)}.ending-complete .ending-story-copy p{margin:6px auto;font-size:.8rem;line-height:1.48}.ending-complete .ending-dots{margin:8px 0}.ending-complete .ending-dots i{width:8px;height:8px}.ending-complete .ending-dots i.active{width:23px}.ending-complete .ending-final-actions{gap:7px}.ending-complete .ending-next{padding:9px 14px;font-size:.92rem;box-shadow:0 4px #201c2b,0 0 15px #c4bbdc2e!important}.ending-complete .ending-lab{padding:9px 13px;font-size:.74rem}.ending-complete .ending-team-credit{margin-top:1px}.ending-complete .ending-team-credit img{width:34px;height:34px}.ending-complete .ending-team-credit strong{font-size:.88rem}.ending-complete .ending-home{margin-top:7px;padding:7px 14px;font-size:.7rem}.ending-reunion .ending-companions,.ending-star .ending-companions,.ending-complete .ending-companions{z-index:1;display:block;position:absolute;inset:0}.ending-reunion .ending-companions img,.ending-star .ending-companions img,.ending-complete .ending-companions img{display:none}.ending-reunion img.ending-nubler{width:clamp(100px,28vw,145px);display:block;position:absolute;inset:14px auto auto 50%;translate:-50%;animation-delay:0s!important}.ending-star img.ending-ignis{width:clamp(100px,28vw,145px);display:block;position:absolute;inset:14px auto auto 50%;translate:-50%}.ending-complete img.ending-ignis{width:clamp(80px,22vw,110px);display:block;position:absolute;inset:14px auto auto 34%;translate:-50%}.ending-complete img.ending-nubler{width:clamp(80px,22vw,110px);display:block;position:absolute;inset:14px auto auto 66%;translate:-50%;animation-delay:-.7s!important}}@media (width<=640px) and (height<=700px){.ending-reunion .ending-story-copy,.ending-star .ending-story-copy,.ending-complete .ending-story-copy{padding-top:190px}.ending-reunion .ending-story-copy h1,.ending-star .ending-story-copy h1,.ending-complete .ending-story-copy h1{font-size:1.75rem}.ending-reunion img.ending-nubler,.ending-star img.ending-ignis{width:clamp(80px,24vw,115px);top:10px}.ending-complete img.ending-ignis,.ending-complete img.ending-nubler{width:clamp(65px,18vw,90px);top:10px}}@media (width<=850px){.problem-visual-zone,.answer-picker-label,.question-magic>.battle-choices{grid-column:1/-1}.problem-visual-zone{gap:3px}.answer-picker-label{margin-top:2px}}@media (width<=520px){.problem-visual-label{font-size:.64rem}.problem-visual-label small{font-size:.53rem}.answer-picker-label{font-size:.76rem}.answer-picker-label small{font-size:.55rem}.problem-visual-zone .number-banner:before{font-size:.43rem;top:-9px}.mission-problem-label,.mission-answer-label,.training-answer-label{font-size:.68rem}}.raft-token-stone:before{content:"";background:radial-gradient(circle at 31% 23%,#eaf3f8 0 7%,#93a7b8 10% 34%,#506375 72%);border:3px solid #eff8ff;border-radius:54% 46% 47% 53%;width:34px;height:28px;box-shadow:inset -5px -6px 7px #17263466,0 4px 6px #0818386b}@media (width<=640px){.raft-token-stone:before{border-width:2px;width:23px;height:19px}}.clear-rewards>.wisdom-shard{--shard:#ffe26f;--shard-deep:#b57517;isolation:isolate;border:2px solid color-mix(in srgb,var(--shard) 76%,#fff);background:radial-gradient(circle at 27% 35%,color-mix(in srgb,var(--shard) 36%,transparent),transparent 38%),linear-gradient(145deg,#3d296cfa,#1a1143fa);min-width:175px;box-shadow:inset 0 2px 8px #ffffff2e,0 0 24px color-mix(in srgb,var(--shard) 43%,transparent);border-radius:22px;align-items:center;gap:9px;padding:9px 12px;display:flex;position:relative;overflow:hidden;transform:translateY(-11px)scale(1.06)}.wisdom-shard .shard-aura{z-index:-1;aspect-ratio:1;background:radial-gradient(circle,color-mix(in srgb,var(--shard) 65%,#fff),transparent 67%);border-radius:50%;width:75px;animation:2.1s ease-in-out infinite shardAura;position:absolute;top:50%;left:5px;translate:0 -50%}.wisdom-shard .shard-orbit{z-index:0;border:1px solid color-mix(in srgb,var(--shard) 58%,transparent);pointer-events:none;border-radius:50%;position:absolute}.orbit-one{width:62px;height:27px;animation:4s linear infinite shardOrbit;top:24px;left:8px;rotate:-24deg}.orbit-two{width:46px;height:21px;animation:3s linear -1s infinite reverse shardOrbit;top:28px;left:16px;rotate:38deg}.shard-glyph{z-index:2;width:58px;height:58px;color:var(--shard);filter:drop-shadow(0 0 9px var(--shard));flex:0 0 58px;place-items:center;animation:2.2s ease-in-out infinite shardFloat;display:grid;position:relative}.shard-copy{z-index:2;text-align:left;gap:3px;display:grid;position:relative}.shard-copy b{color:#fff6c6;font:1rem Jua,sans-serif}.shard-copy small{color:#dbd0f2;margin:0;font:.59rem Jua,sans-serif}.shard-count{justify-content:center;align-items:end;gap:4px;display:flex}.shard-count i{background:linear-gradient(#fff9c7,var(--shard));width:13px;box-shadow:0 0 8px var(--shard);border:3px solid #fff6bc;border-radius:9px 9px 4px 4px}.shard-count i:first-child{height:24px}.shard-count i:nth-child(2){height:37px}.shard-count i:nth-child(3){height:49px}.shard-balance{position:relative}.shard-balance:before{content:"";background:linear-gradient(90deg,var(--shard-deep),#fff8bd,var(--shard-deep));height:6px;box-shadow:0 0 8px var(--shard);border-radius:8px;position:absolute;top:27px;left:6px;right:6px}.shard-balance i{background:linear-gradient(90deg,var(--shard-deep),#fff8bd,var(--shard-deep));border-radius:7px;width:8px;height:43px;position:absolute;top:8px;left:25px}.shard-balance b{background:var(--shard-deep);width:39px;height:13px;box-shadow:0 0 7px var(--shard);border-radius:50%;position:absolute;bottom:6px;left:10px}.shard-shape{position:relative}.shard-shape i{aspect-ratio:1;background:color-mix(in srgb,var(--shard) 60%,#6e5de1);width:25px;box-shadow:0 0 8px var(--shard);border:3px solid #fff;border-radius:50%;position:absolute}.shard-shape i:first-child{top:21px;left:3px}.shard-shape i:nth-child(2){border-radius:4px;top:5px;right:4px;rotate:45deg}.shard-shape i:nth-child(3){clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0;bottom:4px;right:2px}.shard-pattern{letter-spacing:-.25em;font:4rem/1 Jua,sans-serif;rotate:-12deg}.shard-compass{background:radial-gradient(circle,#523879 0 17%,var(--shard) 20% 22%,#224f99 25% 100%);box-shadow:inset 0 0 10px #c8fbff,0 0 13px var(--shard);border:4px solid #fff2a1;border-radius:50%}.shard-compass i{filter:drop-shadow(0 0 4px #fff);border-bottom:28px solid #fff3ae;border-left:11px solid #0000;border-right:5px solid #0000;width:0;height:0;rotate:35deg}.shard-heart{color:#fff9c5;text-shadow:0 0 8px #fff,0 0 19px var(--shard);font:4rem/1 Jua,sans-serif}.wisdom-shard.relic-count{--shard:#83ef96;--shard-deep:#337a45}.wisdom-shard.relic-balance{--shard:#ffcb69;--shard-deep:#a65a21}.wisdom-shard.relic-shape{--shard:#71e5ff;--shard-deep:#3c69bb}.wisdom-shard.relic-pattern{--shard:#8abaff;--shard-deep:#3f53ad}.wisdom-shard.relic-compass{--shard:#e980ff;--shard-deep:#733bbd}.wisdom-shard.relic-heart{--shard:#ffe170;--shard-deep:#bc741e}.wisdom-shard.falling-shard{--shard:#ffe170;z-index:8;width:132px;height:132px;box-shadow:none;background:radial-gradient(circle,#ffffff57,#0000 64%);border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:24%;left:50%;overflow:visible;translate:-50% -50%}.falling-shard .shard-glyph{width:92px;height:92px;filter:drop-shadow(0 0 12px #fff) drop-shadow(0 0 32px var(--shard));flex:none;font-size:6rem}.falling-shard .shard-aura{background:radial-gradient(circle,color-mix(in srgb,var(--shard) 62%,#fff),color-mix(in srgb,var(--shard) 21%,transparent) 42%,transparent 72%);width:230px;top:50%;left:50%;translate:-50% -50%}.falling-shard .shard-orbit{width:125px;height:54px;top:50%;left:50%;translate:-50% -50%}.falling-shard .orbit-two{width:93px;height:39px}.falling-shard.phase-drop{animation:.85s cubic-bezier(.5,0,.85,0) both shardDrop}.falling-shard.phase-impact{animation:.5s both shardImpact}.falling-shard.phase-reveal{animation:2.6s ease-in-out infinite shardFloat}.falling-shard.phase-reveal .shard-aura,.falling-shard.phase-impact .shard-aura{animation:2.4s ease-in-out infinite shardGlowPulse}@keyframes shardAura{50%{opacity:.72;scale:1.18}}@keyframes shardOrbit{to{rotate:360deg}}@media (width<=640px){.clear-rewards>.wisdom-shard{gap:5px;min-width:145px;padding:7px;transform:translateY(-6px)scale(1)}.shard-glyph{flex-basis:45px;width:45px;height:45px}.shard-copy b{font-size:.78rem}.shard-copy small{font-size:.49rem}.shard-pattern,.shard-heart{font-size:3rem}.wisdom-shard.falling-shard{width:102px;height:102px}.falling-shard .shard-glyph{width:72px;height:72px}}.chosen-hero img{filter:drop-shadow(0 24px 28px #00000085)drop-shadow(0 0 19px #ffdc7740);-webkit-mask-image:none;mask-image:none}.hero-token{width:clamp(78px,10vw,126px)}.hero-token img{aspect-ratio:auto;object-fit:contain;height:105px;box-shadow:none;filter:drop-shadow(0 7px 8px #0000006b);border:0;border-radius:0}@media (hover:hover){.hero-token:hover img{border:0}}.hero-token.picked img{box-shadow:none;filter:drop-shadow(0 0 11px #fff2a2)drop-shadow(0 0 23px #f6c34d);border:0}.adventure-pet-overlay{z-index:42;pointer-events:none;width:clamp(105px,13vw,175px);height:clamp(105px,13vw,175px);position:fixed;bottom:clamp(14px,3vh,34px);right:clamp(16px,3vw,54px)}.adventure-pet-overlay .pet-companion-aura{background:radial-gradient(circle,color-mix(in srgb,var(--pet-accent) 44%,transparent),transparent 68%);width:100%}.adventure-pet-overlay img{filter:drop-shadow(0 12px 12px #00000078) drop-shadow(0 0 11px var(--pet-accent))}.adventure-pet-overlay>b{text-align:center;bottom:-2px;left:50%;translate:-50%}.screen-boss-clear .adventure-pet-overlay,.screen-stage-clear .adventure-pet-overlay{z-index:12;bottom:6%;right:5%}.screen-reward .adventure-pet-overlay{bottom:10%}.story-scene .story-pet{width:clamp(125px,15vw,190px);height:clamp(125px,15vw,190px);bottom:25%;right:3%}@media (width<=640px){.hero-token{width:72px}.hero-token img{height:72px}.adventure-pet-overlay{width:92px;height:92px;bottom:7px;right:6px}.screen-boss-clear .adventure-pet-overlay,.screen-stage-clear .adventure-pet-overlay{bottom:5%;right:1%}.story-scene .story-pet{width:100px;height:100px;bottom:27%;right:1%}.adventure-pet-overlay{right:10px;bottom:calc(env(safe-area-inset-bottom,0px) + 112px);width:76px;height:76px}.adventure-pet-overlay>b{margin-top:3px;padding:3px 9px;font-size:.6rem;top:100%;bottom:auto}.adventure-pet-overlay>b small{font-size:.5rem}}@media (prefers-reduced-motion:reduce){.forest-depth-back,.magic-motes i,.home-companion img,.companion-aura,.chosen-hero img,.hero-rays,.story-atmosphere i,.speaker-figure,.monster-aura,.battle-scene .monster-portrait,.monster-sprite,.curse-smoke i,.purify-burst,.object-group img,.battle-hero-stage img,.battle-mist i,.button-glint{animation:none!important}}@media (width<=850px){.story-illustration:not(.story-illustration-full){width:45%;height:43%;top:2%;right:0}.story-event-monster{width:94%;height:94%}.story-item-combination{gap:4px;padding:12px}.story-item-combination .item-icon{width:58px!important;height:58px!important}.story-moment-symbol{font-size:4.3rem}.story-illustration-shapeCraft,.story-illustration-patternCraft,.story-illustration-starCraft{width:94%;top:1%;left:50%;right:auto;translate:-50%}.story-illustration-shapeCraft .story-item-combination,.story-illustration-patternCraft .story-item-combination,.story-illustration-starCraft .story-item-combination{flex-wrap:nowrap;gap:4px;width:100%;padding:8px 6px}.story-illustration-shapeCraft .story-item-combination>span,.story-illustration-patternCraft .story-item-combination>span,.story-illustration-starCraft .story-item-combination>span{gap:2px;min-width:0}.story-illustration-shapeCraft .story-item-combination .item-icon,.story-illustration-patternCraft .story-item-combination .item-icon,.story-illustration-starCraft .story-item-combination .item-icon{width:44px!important;height:44px!important}.story-illustration-shapeCraft .story-item-combination b,.story-illustration-patternCraft .story-item-combination b,.story-illustration-starCraft .story-item-combination b{font-size:.8rem}.story-number-sequence{gap:4px;padding:9px}.story-number-sequence i,.story-pattern-sequence i{width:37px;height:37px;font-size:.88rem}.story-shape-row i{width:56px;height:56px}.story-illustration-sproutEnding+.lore-focus{margin-top:20vh}}@media (width<=520px){.story-illustration:not(.story-illustration-full){opacity:.9;width:54%;height:31%;top:1%;right:1%}.story-event-monster{width:100%;height:100%}.story-event-image{width:74%;height:78%}.story-item-combination{border-radius:22px;padding:7px}.story-item-combination .item-icon{width:42px!important;height:42px!important}.story-item-combination b{font-size:.9rem}.story-moment-symbol{font-size:3rem}.story-number-sequence,.story-pattern-sequence,.story-shape-row{gap:3px;padding:6px}.story-number-sequence i,.story-pattern-sequence i{border-width:2px;width:29px;height:29px;font-size:.68rem}.story-shape-row i{width:40px;height:40px}.story-illustration-full{height:100%}.story-backdrop{object-position:center}.story-illustration-sproutEnding+.lore-focus{margin-top:15vh;padding:12px 15px}.story-illustration-sproutEnding+.lore-focus .lore-star{display:none}}.settings-ad-result{color:#fff3bf;word-break:break-all;background:#ffffff14;border-radius:12px;margin:6px 0 0;padding:10px 12px;font-size:.82rem;line-height:1.5}.axe-mission-scene{grid-template-columns:minmax(0,1fr)}.axe-mission-guide{width:min(720px,100%);min-width:0}.axe-mission-guide p{overflow-wrap:anywhere;word-break:keep-all}@media (width<=480px){.visual-equation{flex-wrap:wrap;gap:8px}.visual-equation .number-banner,.problem-visual-zone .visual-equation .number-banner{width:clamp(46px,13.5vw,64px);height:clamp(52px,15vw,70px);font-size:clamp(1.35rem,6vw,1.9rem)}.visual-equation .mystery-orb{width:clamp(42px,12vw,54px);height:clamp(42px,12vw,54px)}.visual-equation .math-sign{font-size:1.25rem}}.lore-speaker{color:#ffd95b;letter-spacing:.08em;text-shadow:none;background:#ffd95b29;border:1px solid #ffd95b8c;border-radius:999px;margin:0 auto 10px;padding:4px 18px;font:1.05rem Do Hyeon,sans-serif;display:inline-block}@media (height<=720px){.lore-scene{padding:34px 16px 108px}.lore-focus h2{margin-bottom:8px;font-size:clamp(1.5rem,6vw,2rem)}.lore-focus p{font-size:.98rem;line-height:1.6}.lore-star{width:52px;height:52px;margin-bottom:6px;font-size:3rem}.lore-next{bottom:58px}}@media (width>=521px) and (width<=850px){.dialogue-ribbon{padding-bottom:62px}}@media (width<=520px) and (height<=700px){.dialogue-ribbon{min-height:150px;padding:16px 40px 50px 20px}.dialogue-ribbon h2{margin:2px 0 4px;font-size:1.2rem}.dialogue-ribbon p{font-size:.93rem;line-height:1.55}.speaker-stage{inset:0 0 150px}}.g1-scene{min-height:100svh;padding:24px 18px calc(28px + env(safe-area-inset-bottom,0px));flex-direction:column;justify-content:flex-end;align-items:center;gap:16px;display:flex;position:relative;overflow:hidden}.g1-placeholder-backdrop{z-index:0;background:radial-gradient(600px 420px at 50% 10%, var(--violet-tint), var(--bg));place-items:center;display:grid;position:absolute;inset:0}.g1-placeholder-backdrop span{letter-spacing:.08em;color:var(--ink-soft);border:1px dashed var(--paper-line);opacity:.6;border-radius:999px;padding:6px 14px;font:.72rem Do Hyeon,sans-serif}.g1-placeholder-backdrop.small{border-radius:20px;min-height:120px;margin-bottom:4px;position:relative}.g1-scene-image{z-index:0;object-fit:cover;object-position:center 30%;width:100%;height:100%;position:absolute;inset:0}.g1-scene-image.small{z-index:0;object-fit:cover;object-position:center 40%;border-radius:20px;width:100%;height:clamp(150px,24svh,240px);max-height:none;margin-bottom:4px;display:block;position:relative}.g1-scene-fill{z-index:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.g1-scene-fill img{object-fit:cover;object-position:center 35%;width:100%;height:100%;display:block}.g1-scene-fill:after{content:"";background:linear-gradient(#08051c8c 0%,#08051cd6 38%,#08051ced 100%);position:absolute;inset:0}.g1-composite-hero,.g1-composite-pet{z-index:0;object-fit:contain;height:clamp(140px,22vh,260px);position:absolute}.g1-dialogue-scene{justify-content:flex-end}.g1-dialogue-live-character{z-index:1;object-fit:contain;object-position:center bottom;pointer-events:none;filter:drop-shadow(0 14px 18px #08051c7a);width:clamp(110px,20vw,210px);height:clamp(150px,34vh,330px);position:absolute;bottom:clamp(190px,28vh,300px);left:max(12px,50% - 410px)}.g1-dialogue-box{z-index:1;background:linear-gradient(180deg, var(--paper), var(--violet-deep));border:2px solid var(--paper-line);border-radius:22px;width:min(560px,100%);padding:22px 24px 72px;position:relative;box-shadow:0 18px 40px #00000059}.g1-dialogue-top{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.g1-dialogue-box p{margin:6px 0 0;font-size:1.02rem;line-height:1.75}.g1-dialogue-box .dialogue-replay{bottom:20px;left:24px}.g1-dialogue-box .dialogue-next{bottom:20px;right:24px}.g1-cast{z-index:1;pointer-events:none;position:absolute;inset:0}.g1-cast-member{object-fit:contain;object-position:center bottom;opacity:.82;width:auto;max-width:44vw;height:clamp(200px,38vh,380px);transition:opacity .25s;position:absolute;bottom:clamp(190px,30vh,330px)}.g1-cast-member.speaking{opacity:1}.g1-cast-left{left:2%}.g1-cast-right{right:2%}.g1-cast-center{left:50%;transform:translate(-50%)}.g1-course-select{justify-content:center;gap:22px}.g1-course-cards{flex-direction:column;gap:14px;width:min(420px,100%);display:flex}.g1-course-card{text-align:left;border:2px solid var(--paper-line);background:var(--paper);color:var(--white);cursor:pointer;border-radius:20px;flex-direction:column;gap:6px;padding:18px 20px;display:flex}.g1-course-card b{color:var(--gold);font:1.15rem Jua,sans-serif}.g1-course-card span{color:var(--ink-soft);font-size:.86rem;line-height:1.5}.g1-course-card-new{border-color:var(--gold)}.g1-partner-select{justify-content:flex-start;padding-top:60px}.g1-partner-lede{text-align:center;max-width:52ch;color:var(--ink-soft);font-size:.92rem;line-height:1.7}.g1-partner-grid{z-index:1;grid-template-columns:repeat(3,1fr);gap:10px;width:100%;max-width:480px;display:grid;position:relative}.g1-partner-token{background:var(--paper);border:2px solid var(--paper-line);cursor:pointer;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:10px 6px 12px;display:flex}.g1-partner-token img{aspect-ratio:1;object-fit:contain;width:100%;max-width:84px}.g1-partner-token span{font-size:.78rem}.g1-partner-token.picked{border-color:var(--gold);box-shadow:0 0 0 3px #f0b93e40}.g1-partner-confirm{z-index:1;background:var(--gold);color:#4a3300;cursor:pointer;border:0;border-radius:999px;margin-top:6px;padding:14px 32px;font:1.05rem Jua,sans-serif;position:relative;box-shadow:0 8px #a97c14}.g1-partner-confirm:disabled{opacity:.4;box-shadow:none}.g1-mission-scene{padding-top:20px;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));justify-content:center;gap:14px}.g1-mission-prompt{z-index:1;text-align:center;max-width:44ch;color:var(--white);text-shadow:0 1px 3px #0009;background:#08051c99;border-radius:16px;padding:8px 16px;font:clamp(1.05rem,4.4vw,1.3rem)/1.6 Jua,sans-serif;position:relative}.g1-hint{z-index:1;color:#efe7ff;text-align:center;background:#483280e0;border-radius:12px;max-width:46ch;padding:8px 14px;font-size:clamp(.92rem,3.8vw,1.05rem);position:relative}.g1-hint-correct{color:var(--gold);background:var(--gold-tint)}.g1-visitor-row{z-index:1;flex-wrap:wrap;justify-content:center;gap:6px;max-width:320px;display:flex;position:relative}.g1-visitor-dot{font-size:1.6rem}.g1-choice-row{z-index:1;flex-wrap:wrap;justify-content:center;gap:10px;display:flex;position:relative}.g1-choice-btn{color:#3a2c0e;cursor:pointer;background-color:#0000;background-image:url(/grade1/ui/number_tag_blank.webp);background-position:50%;background-repeat:no-repeat;background-size:contain;border:0;border-radius:0;width:clamp(84px,24vw,112px);height:clamp(104px,15svh,136px);padding:clamp(18px,3svh,28px) 6px 8px;font:clamp(1.6rem,7vw,2.2rem) Jua,sans-serif}.g1-choice-btn:disabled{opacity:.55}.g1-choice-correct{filter:drop-shadow(0 0 10px #f0b93ed9)}.g1-number-line{z-index:1;gap:6px;display:flex;position:relative}.g1-number-tile{color:#3a2c0e;background-color:#0000;background-image:url(/grade1/ui/number_tag_blank.webp);background-position:50%;background-repeat:no-repeat;background-size:contain;place-items:center;width:clamp(52px,14vw,72px);height:clamp(66px,18vw,92px);padding-top:10px;font:clamp(1.2rem,5vw,1.7rem) Jua,sans-serif;display:grid}.g1-number-blank{cursor:pointer;color:var(--gold);filter:grayscale(.4)opacity(.7)}.g1-number-active{border-color:var(--gold);color:var(--gold)}.g1-order-slots{z-index:1;gap:8px;width:100%;max-width:400px;display:flex;position:relative}.g1-order-slot{min-width:0;max-width:96px;min-height:clamp(110px,15svh,132px);color:var(--white);cursor:pointer;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:0;border-radius:16px;flex-direction:column;flex:1 1 0;justify-content:flex-start;align-items:center;gap:4px;padding:20px 6px 8px;display:flex}.g1-order-slot small{color:#9db0e8;font-size:.62rem}.g1-order-slot span{text-align:center;font-size:.8rem}.g1-order-slot-visitor{object-fit:contain;width:100%;max-height:64px}.g1-order-slot-empty{color:var(--ink-soft);margin-top:14px;font-size:1.1rem}.g1-order-pool{z-index:1;flex-wrap:wrap;justify-content:center;gap:8px;width:100%;max-width:390px;display:flex;position:relative}.g1-order-chip{border:2px solid var(--paper-line);background:var(--paper);color:var(--white);cursor:pointer;border-radius:999px;min-height:44px;padding:10px 16px;font-size:.82rem}.g1-order-chip.picked{border-color:var(--gold);color:var(--gold)}.g1-order-confirm{z-index:1;background:var(--violet);color:#231640;cursor:pointer;border:0;border-radius:999px;margin-top:4px;padding:10px 26px;font:.95rem Jua,sans-serif;position:relative}.g1-pet-scout{gap:18px}.g1-scout-pet-wrap{z-index:1;place-items:center;width:min(170px,44vw);display:grid;position:relative}.g1-scout-pet{z-index:1;width:min(130px,34vw);position:relative}.g1-pet-scout .g1-scene-image.small{height:clamp(84px,13svh,130px)}.g1-scout-queue-wrap{z-index:1;gap:4px;width:100%;min-width:0;max-width:400px;display:grid;position:relative}.g1-scout-queue{background:#08051c73;border-radius:18px;justify-content:center;align-items:flex-end;min-width:0;padding:30px 4px 6px;display:flex;position:relative;overflow:hidden}.g1-scout-queue>img:not(.g1-scout-overlay){object-fit:contain;flex:1 1 0;min-width:0;height:clamp(70px,10.5svh,104px);margin:0}.g1-scout-stage{z-index:1;justify-items:center;gap:10px;width:100%;max-width:400px;display:grid;position:relative}.g1-scout-overlay{z-index:3;object-fit:contain;object-position:center top;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.g1-scout-queue-dir{color:var(--white);align-items:center;gap:8px;font:.9rem Jua,sans-serif;display:flex}.g1-scout-queue-dir i{background:linear-gradient(90deg,var(--gold),#f0b93e33);border-radius:3px;flex:1;height:3px}.g1-scout-button{z-index:1;text-align:center;color:#fff4d6;cursor:pointer;background-color:#0000;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:0;justify-content:center;align-items:center;width:min(340px,92vw);height:clamp(96px,13svh,118px);padding:0 22px 0 clamp(78px,24vw,104px);font:clamp(1.05rem,4.6vw,1.3rem) Jua,sans-serif;display:flex;position:relative}.g1-text-choice{border:2px solid var(--gold);color:#fff;cursor:pointer;word-break:keep-all;background:linear-gradient(#5b4694,#3b2c6b);border-radius:999px;min-width:96px;min-height:56px;padding:12px 18px;font:1rem/1.3 Jua,sans-serif}.g1-text-choice:disabled{opacity:.6}.g1-scout-pet-wrap{position:relative}.g1-scout-ring{aspect-ratio:1;opacity:0;border:3px solid #78dcffe6;border-radius:50%;width:100%;animation:1.4s ease-out forwards g1-scout-ring;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.3);box-shadow:0 0 22px #78dcffb3}.g1-scout-ring-2{border-color:#ffe28ce6;animation-delay:.35s;box-shadow:0 0 22px #ffe28cb3}.g1-scout-pet-wrap.scouting .g1-scout-pet{animation:.9s ease-out g1-scout-pop}.g1-scout-stage .g1-scout-overlay{animation:1.1s ease-out both g1-scout-reveal}@keyframes g1-scout-ring{0%{opacity:.95;transform:translate(-50%,-50%)scale(.3)}to{opacity:0;transform:translate(-50%,-50%)scale(1.9)}}@keyframes g1-scout-pop{0%{transform:scale(1)}30%{transform:scale(1.18)translateY(-6px)}to{transform:scale(1)}}@keyframes g1-scout-reveal{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}.g1-weight-tag{color:#3a2c0e;background:var(--gold);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.72rem;font-style:normal;font-weight:700;line-height:1.3}.g1-order-chip{border-radius:16px;flex-direction:column;flex:calc(50% - 8px);align-items:center;gap:4px;min-width:130px;max-width:200px;padding:8px 10px;display:flex}.g1-order-chip-img{object-fit:contain;width:clamp(44px,12vw,58px);height:clamp(44px,12vw,58px)}.g1-order-slot .g1-weight-tag{margin-top:2px}.g1-league-match{gap:12px}.g1-match-hud{z-index:1;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 6px;width:100%;max-width:420px;display:flex;position:relative}.g1-match-hud .g1-combo-gauge{flex:none;order:3;margin:0 auto}.g1-match-score{color:var(--white);align-items:center;gap:8px;font:1.3rem Jua,sans-serif;display:flex}.g1-match-score img{object-fit:contain;width:clamp(60px,18vw,92px);height:clamp(60px,18vw,92px)}.g1-match-score-opponent{flex-direction:row-reverse}.g1-opponent-icon{object-fit:contain}.g1-match-team,.g1-match-opponents{align-items:flex-end;gap:0;display:inline-flex}.g1-match-team img+img,.g1-match-opponents img+img{margin-left:-6px}.g1-match-score b{font-size:clamp(1.7rem,7.5vw,2.4rem)}@media (width<=640px){.g1-dialogue-live-character{width:clamp(90px,27vw,145px);height:clamp(125px,27vh,220px);bottom:clamp(205px,31vh,285px);left:6px}}.g1-combo-gauge{background-position:50%;background-repeat:no-repeat;background-size:100% 100%;justify-content:center;align-items:center;gap:8px;padding:10px 16px;display:flex}.g1-combo-gauge img{width:clamp(26px,7.5vw,34px);height:clamp(26px,7.5vw,34px)}.g1-match-target{z-index:1;color:#d8cdf7;text-shadow:0 1px 3px #0009;font-size:.9rem;position:relative}.g1-match-effect{z-index:0;pointer-events:none;width:min(220px,60vw);height:auto;margin:-8px auto;display:block;position:relative}.g1-shape-target{z-index:1;flex-direction:column;align-items:center;gap:4px;display:flex;position:relative}.g1-shape-target img{object-fit:contain;filter:drop-shadow(0 8px 12px #00000059);width:100px;height:100px}.g1-shape-target small{color:#fff;text-shadow:0 1px 3px #0009;font-size:.86rem;font-weight:700}.g1-image-choice-row{z-index:1;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;flex-wrap:wrap;justify-content:center;gap:14px;padding:14px;display:flex;position:relative}.g1-image-choice-btn{border:2px solid var(--paper-line);background:var(--paper);min-width:84px;color:var(--white);cursor:pointer;border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:10px 8px 8px;display:flex}.g1-image-choice-btn img{object-fit:contain;width:64px;height:64px}.g1-image-choice-btn small{color:#fff;text-shadow:0 1px 3px #0009;font-size:.84rem;font-weight:700}.g1-image-choice-btn:disabled{opacity:.55}.g1-eq-row{z-index:1;align-items:center;gap:10px;display:flex;position:relative}.g1-eq-slot{border:2px solid var(--paper-line);background:var(--paper);width:64px;height:64px;color:var(--white);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font:1.3rem Jua,sans-serif;display:flex}.g1-eq-slot img{object-fit:contain;width:32px;height:32px}.g1-eq-slot-blank{border-color:var(--gold);color:var(--gold);background:var(--gold-tint)}.g1-eq-operator{color:var(--ink-soft);font:1.4rem Jua,sans-serif}.g1-scale-row{z-index:1;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;justify-content:center;align-items:center;gap:18px;width:min(340px,86vw);padding:18px 12px;display:flex;position:relative}.g1-scale-pan{flex-direction:column;align-items:center;gap:4px;min-width:80px;display:flex}.g1-scale-pan img{object-fit:contain;width:56px;height:56px}.g1-scale-pan b{color:var(--white);font:1.4rem Jua,sans-serif}.g1-scale-vs{color:var(--gold);font:1rem Jua,sans-serif}.g1-seat-board{z-index:1;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;place-items:center;width:min(220px,60vw);height:120px;display:grid;position:relative}.g1-seat-board b{color:var(--white);letter-spacing:.04em;font:2.2rem Jua,sans-serif}.g1-bundle-row{z-index:1;flex-wrap:wrap;justify-content:center;gap:6px;max-width:340px;display:flex;position:relative}.g1-bundle-car{object-fit:contain;width:64px;height:auto}.g1-bundle-step{z-index:1;color:var(--gold);text-align:center;font:.95rem Jua,sans-serif;position:relative}.g1-grid-row{z-index:1;flex-wrap:wrap;justify-content:center;gap:clamp(4px,1.2vw,8px);max-width:min(380px,96vw);display:flex;position:relative}.g1-grid-tile{cursor:default;background:0 0;border:0;place-items:center;width:30px;height:38px;padding:0;display:grid;position:relative}.g1-grid-tile img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.g1-grid-tile b,.g1-grid-tile span{z-index:1;color:#1a1030;font-size:.6rem;font-weight:700;position:relative}.g1-grid-blank{cursor:pointer}.g1-grid-row-big{max-width:min(340px,92vw)}.g1-grid-row-big .g1-grid-tile{width:clamp(52px,15vw,64px);height:clamp(64px,18vw,78px)}.g1-grid-row-big .g1-grid-tile b,.g1-grid-row-big .g1-grid-tile span{font-size:clamp(1rem,4.4vw,1.3rem)}.g1-grid-row-big .g1-grid-blank span{font-size:clamp(1.2rem,5vw,1.5rem)}.g1-grid-blank span{color:var(--gold);font-size:.8rem}.g1-power-row{z-index:1;flex-wrap:wrap;justify-content:center;gap:5px;max-width:300px;display:flex;position:relative}.g1-power-window{object-fit:contain;width:clamp(36px,10vw,48px);height:clamp(36px,10vw,48px)}.g1-ledger-row{z-index:1;flex-direction:column;align-items:center;gap:8px;display:flex;position:relative}.g1-ledger-icon{object-fit:contain;width:64px;height:64px}.g1-ledger-flow{color:var(--white);align-items:center;gap:8px;font:1.15rem Jua,sans-serif;display:flex}.g1-ledger-flow b{color:var(--ink-soft);font-weight:400}.g1-ledger-wrong{color:#ff8a8a;text-decoration:line-through}.g1-warehouse-row{z-index:1;justify-content:center;gap:14px;display:flex;position:relative}.g1-warehouse-card{border:2px solid var(--paper-line);background:var(--paper);border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:10px 14px;display:flex}.g1-warehouse-card img{object-fit:contain;width:44px;height:44px}.g1-warehouse-card b{color:var(--white);font:1.2rem Jua,sans-serif}.g1-warehouse-short{border-color:var(--gold);background:var(--gold-tint)}.g1-warehouse-short b{color:var(--gold)}.g1-measure-row{z-index:1;justify-content:center;align-items:flex-end;gap:20px;display:flex;position:relative}.g1-measure-card{cursor:pointer;background:0 0;border:0;border-radius:16px;place-items:center;min-width:110px;min-height:130px;padding:8px;display:grid}.g1-measure-card img{object-fit:contain;max-width:clamp(130px,38vw,190px);max-height:clamp(150px,24svh,230px)}.g1-measure-row[data-type=length]{flex-direction:column;align-items:center;gap:clamp(14px,3svh,26px)}.g1-measure-row[data-type=length] .g1-measure-card{width:min(340px,88vw);min-height:0}.g1-measure-row[data-type=length] .g1-measure-card img{width:100%;max-width:none;max-height:none}.g1-measure-card:disabled{opacity:.7}.g1-scale-stage{z-index:1;aspect-ratio:1;width:min(280px,78vw);position:relative}.g1-scale-beam{object-fit:contain;transform-origin:50% 28%;pointer-events:none;width:100%;height:100%;transition:transform .5s;position:absolute;inset:0}.g1-scale-pan-btn{aspect-ratio:1;cursor:pointer;background:0 0;border:0;place-items:center;width:22%;padding:0;display:grid;position:absolute;top:54%}.g1-scale-pan-left{left:11%}.g1-scale-pan-right{right:11%}.g1-scale-pan-btn img{object-fit:contain;width:100%;height:100%}.g1-scale-pan-btn:disabled{opacity:.75}.g1-clock-stage{z-index:1;aspect-ratio:1;width:min(220px,62vw);margin:0 auto;position:relative}.g1-clock-face{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.g1-clock-hand{transform-origin:50% 100%;pointer-events:none;border-radius:6px;position:absolute;top:50%;left:50%}.g1-clock-hand-hour{background:var(--gold);width:3.2%;height:26%;margin-top:-26%;margin-left:-1.6%;transition:transform .4s}.g1-clock-hand-minute{background:#5be3ed;width:2%;height:38%;margin-top:-38%;margin-left:-1%;transform:rotate(0)}.g1-clock-pin{background:var(--gold);border-radius:50%;width:6%;height:6%;margin-top:-3%;margin-left:-3%;position:absolute;top:50%;left:50%}.g1-clock-set-controls{z-index:1;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex;position:relative}.g1-clock-step-btn{background:var(--paper);min-width:64px;min-height:48px;color:var(--white);cursor:pointer;border:0;border-radius:14px;padding:10px 14px;font:1rem Jua,sans-serif}.g1-clock-step-btn:disabled{opacity:.55}.g1-clock-current-label{color:var(--gold);text-align:center;min-width:56px;font:1.6rem Jua,sans-serif}.g1-clock-confirm-btn{background:var(--gold);color:#3a2c0e;cursor:pointer;border:0;border-radius:16px;min-height:48px;padding:10px 20px;font:1.05rem Jua,sans-serif}.g1-clock-confirm-btn:disabled{opacity:.55}.g1-clear-scene{text-align:center;justify-content:flex-end;gap:10px}.g1-clear-panel{z-index:1;background:linear-gradient(180deg, var(--paper), var(--violet-deep));border:2px solid var(--paper-line);border-radius:22px;flex-direction:column;align-items:center;gap:8px;width:min(420px,100%);padding:20px 22px 26px;display:flex;position:relative;box-shadow:0 18px 40px #00000059}.g1-badge-reveal{object-fit:contain;filter:drop-shadow(0 0 18px #f0b93e8c);width:88px;height:88px}.g1-clear-panel h2{color:var(--gold);margin:0;font-size:1.25rem}.g1-rank-board{background-position:50%;background-repeat:no-repeat;background-size:100% 100%;flex-direction:column;justify-content:center;align-items:center;gap:2px;width:150px;height:72px;margin-top:16px;display:flex;position:relative}.g1-rank-board span{text-align:center;color:#bfe6ff;letter-spacing:.05em;font-size:.78rem;position:absolute;top:-18px;left:0;right:0}.g1-rank-board b{color:#fff0a6;font:1.3rem Jua,sans-serif}.g1-clear-copy{max-width:46ch;color:var(--white);margin:0;font-size:.92rem;line-height:1.7}.g1-clear-sub{color:#d4c8f4;font-size:.86rem}.g1-clear-actions{flex-direction:column;gap:10px;width:100%;margin-top:6px;display:flex}.g1-clear-primary,.g1-clear-secondary,.g1-clear-locked{border:2px solid var(--paper-line);cursor:pointer;background:var(--paper);color:var(--white);border-radius:999px;padding:13px 18px;font:.92rem Jua,sans-serif}.g1-clear-primary{background:var(--gold);color:#4a3300;border-color:#0000}.g1-clear-locked{opacity:.85;cursor:not-allowed;color:#a9b3d6;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:0}.g1-hud{z-index:1100;pointer-events:none;padding:8px 10px 0;position:fixed;top:0;left:0;right:0}.g1-hud-row{filter:drop-shadow(0 2px 5px #00000080);align-items:center;gap:8px;max-width:1180px;margin:0 auto;display:flex}.g1-hud .chip{pointer-events:auto;color:#fff9e9;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;font-size:.82rem;display:inline-flex}.g1-hud .active-pet-chip img{object-fit:contain;width:24px;height:24px}.g1-hud .settings-hud-button{cursor:pointer;margin-left:auto}.g1-hud-location{text-align:center;text-overflow:ellipsis;white-space:nowrap;color:#fff3bf;letter-spacing:.04em;text-shadow:0 2px 8px #000000b8;flex:1;min-width:0;font-family:Jua,sans-serif;font-size:.82rem;overflow:hidden}.g1-hud-progress{gap:6px;width:min(560px,78%);margin:8px auto 0;display:flex}.g1-hud-progress i{background:#ffffff1f;border:1px solid #ffffff26;border-radius:3px;flex:1;height:4px}.g1-hud-progress i.done{background:linear-gradient(90deg,#ffd76a,#ffb72e);border-color:#ffe38a}.g1-scene{padding-top:64px}.g1-hud~* .developer-mode-entry{z-index:1150}.g1-cast-clear .g1-cast-member{max-width:34vw;height:clamp(120px,21vh,210px);top:58px;bottom:auto}.g1-match-effect-resonance{animation:.25s ease-out g1-resonance-fade}@keyframes g1-resonance-fade{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}.g1-resonating{animation:1.5s ease-in-out g1-resonance-pulse}@keyframes g1-resonance-pulse{0%,to{filter:none;transform:scale(1)}40%{filter:drop-shadow(0 0 14px #ffe18ce6);transform:scale(1.22)}}.g1-final-review-eyebrow{z-index:1;color:var(--gold);text-align:center;margin:0 0 4px;font:.85rem Jua,sans-serif;position:relative}.g1-recall-grid{z-index:1;grid-template-columns:repeat(2,1fr);gap:12px;width:min(340px,90vw);margin:0 auto;display:grid;position:relative}.g1-recall-card{border:2px solid var(--paper-line);background:var(--paper);cursor:pointer;border-radius:16px;flex-direction:column;align-items:center;gap:6px;min-height:120px;padding:10px;display:flex}.g1-recall-card img{object-fit:contain;opacity:.55;filter:grayscale(.4);width:64px;height:64px}.g1-recall-card.open{border-color:var(--gold)}.g1-recall-card.open img{opacity:1;filter:none}.g1-recall-card small{color:var(--white);text-align:center;font-size:.72rem;line-height:1.4}.g1-recall-seal{color:var(--gold);font-size:1.4rem}.g1-final-review .g1-mission-prompt{margin-bottom:18px}.g1-star-slot{z-index:1;aspect-ratio:1;cursor:pointer;background:0 0;border:0;place-items:center;width:min(220px,60vw);margin:20px auto;padding:0;display:grid;position:relative}.g1-star-frame{object-fit:contain;opacity:.75;width:100%;height:100%;position:absolute;inset:0}.g1-star-slot.placed .g1-star-frame{opacity:1;filter:drop-shadow(0 0 18px #e9c357cc)}.g1-star-fill{object-fit:contain;z-index:2;border-radius:50%;width:46%;height:46%;position:relative}.g1-star-burst{object-fit:contain;z-index:1;pointer-events:none;width:140%;height:140%;position:absolute;inset:-20%}.g1-star-cta{z-index:2;color:var(--gold);background:#1410288c;border-radius:999px;padding:8px 16px;font:1rem Jua,sans-serif;position:relative}.g1-recall-summary-card{z-index:1;background:var(--paper);border:2px solid var(--gold);border-radius:18px;flex-direction:column;gap:8px;width:min(340px,90vw);margin:0 auto;padding:18px 20px;display:flex;position:relative}.g1-recall-summary-tag{background:var(--gold);color:#3a2c0e;border-radius:999px;align-self:flex-start;padding:3px 10px;font:.8rem Jua,sans-serif}.g1-recall-summary-prompt{color:var(--white);margin:0;font-size:.92rem;line-height:1.5}.g1-recall-summary-answer{color:var(--gold);margin:2px 0;font:1.3rem Jua,sans-serif}.g1-recall-summary-explain{color:var(--muted-ink,#c9c3e8);margin:0;font-size:.82rem}.g1-report-cards{z-index:1;flex-wrap:wrap;justify-content:center;gap:12px;width:min(360px,92vw);margin:12px auto;display:flex;position:relative}.g1-report-card{background:var(--paper);border:2px solid var(--paper-line);border-radius:16px;flex-direction:column;align-items:center;gap:4px;min-width:110px;padding:14px 18px;display:flex}.g1-report-card-pet{border-color:var(--gold)}.g1-report-value{color:var(--gold);font:1.5rem Jua,sans-serif}.g1-report-label{color:var(--white);text-align:center;font-size:.76rem}.g1-ending-scene{justify-content:flex-end}.g1-ending-panel{z-index:1;background:var(--paper);text-align:center;border-radius:24px 24px 0 0;flex-direction:column;align-items:center;gap:6px;padding:14px 18px 18px;display:flex;position:relative}.g1-ending-panel .g1-badge-reveal{width:56px;height:56px}.g1-ending-scene .g1-composite-hero,.g1-ending-scene .g1-composite-pet{height:clamp(110px,17svh,170px)}.g1-ending-panel h2{color:var(--gold);margin:4px 0 0;font:1.4rem Jua,sans-serif}.g1-ending-message{color:var(--white);margin:2px 0 6px;font-size:.9rem;line-height:1.55}.g1-ending-actions{flex-direction:column;gap:8px;width:100%;display:flex}.g1-ending-primary,.g1-ending-secondary,.g1-ending-locked{cursor:pointer;border:0;border-radius:16px;width:100%;padding:11px 14px;font:1rem Jua,sans-serif}.g1-ending-primary{background:var(--gold);color:#3a2c0e}.g1-ending-secondary{background:var(--paper-line);color:var(--white)}.g1-ending-locked{border:2px dashed var(--paper-line);color:var(--muted-ink,#8b85b8);cursor:not-allowed;background:0 0}.g1-ending-credit{color:var(--muted-ink,#8b85b8);margin-top:6px;font-size:.75rem}.g1-match-crowd{z-index:1;background:#08051c73;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:4px 2px;width:100%;max-width:380px;padding:6px 4px;display:flex;position:relative}.g1-match-crowd img{object-fit:contain;width:auto;height:clamp(88px,13svh,124px)}.g1-match-crowd-dense img{height:clamp(64px,9.5svh,92px);margin:0 -4px}.g1-match-numline{flex-wrap:wrap;justify-content:center;gap:clamp(6px,2vw,12px)}.g1-match-seatboard{width:min(320px,86vw)}.g1-match-eq{flex-wrap:wrap;justify-content:center;gap:clamp(8px,2.5vw,14px)}.g1-match-eq .g1-eq-slot{min-width:clamp(64px,20vw,92px);min-height:clamp(64px,20vw,92px);font-size:1.5rem}.g1-match-eq .g1-eq-slot img{width:clamp(34px,10vw,50px);height:clamp(34px,10vw,50px)}.g1-match-eq .g1-eq-slot b{font-size:clamp(1.4rem,6vw,2rem)}.g1-match-eq .g1-eq-operator{font-size:clamp(1.6rem,7vw,2.2rem)}.g1-match-measure{gap:clamp(12px,5vw,28px)}.g1-match-measure-card{flex-direction:column;align-items:center;gap:6px;margin:0;display:flex}.g1-match-measure-card img{object-fit:contain;max-width:clamp(110px,34vw,170px);max-height:clamp(110px,18svh,170px)}.g1-match-measure-card figcaption{color:var(--white);font:.85rem Jua,sans-serif}.g1-match-choices{gap:clamp(10px,3vw,18px)}.g1-text-choice{min-height:clamp(56px,8svh,72px);font-size:clamp(1.05rem,4.4vw,1.35rem)}:where(button[style*=background-image]){background-color:#0000}.g1-hud-flip{transform:scaleX(-1)}.g1-partner-cheer{left:8px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:6;pointer-events:none;align-items:flex-end;gap:0;display:none;position:fixed}body:has(main.g1-mission-scene:not(.g1-league-match):not(.g1-pet-scout)) .g1-partner-cheer{display:flex}.g1-cheer-hero,.g1-cheer-pet{object-fit:contain;width:clamp(54px,15vw,72px);height:clamp(54px,15vw,72px)}.g1-cheer-pet{margin-left:-8px}.g1-partner-cheer.is-cheer .g1-cheer-hero{animation:.55s ease-out g1-cheer-hop}.g1-partner-cheer.is-cheer .g1-cheer-pet{animation:.55s ease-out 80ms g1-cheer-hop}.g1-partner-cheer.is-hmm .g1-cheer-hero,.g1-partner-cheer.is-hmm .g1-cheer-pet{animation:.5s ease-in-out g1-cheer-tilt}@keyframes g1-cheer-hop{0%{transform:translateY(0)scale(1)}40%{transform:translateY(-18px)scale(1.12)}to{transform:translateY(0)scale(1)}}@keyframes g1-cheer-tilt{0%,to{transform:rotate(0)}30%{transform:rotate(-9deg)}70%{transform:rotate(7deg)}}.g1-cheer-bubble{white-space:nowrap;color:#3a2c0e;background:#fff7d6;border-radius:14px;margin-bottom:4px;padding:6px 12px;font:clamp(.95rem,4vw,1.15rem) Jua,sans-serif;animation:.25s ease-out g1-bubble-in;position:absolute;bottom:100%;left:6px;box-shadow:0 4px 10px #00000059}.g1-partner-cheer.is-hmm .g1-cheer-bubble{background:#e7e0ff}@keyframes g1-bubble-in{0%{opacity:0;transform:translateY(8px)scale(.9)}to{opacity:1;transform:none}}.g1-cheer-burst{width:0;height:0;position:absolute;bottom:50%;left:50%}.g1-cheer-burst i{color:#ffd84d;text-shadow:0 0 6px #ffc83ce6;font-size:1.3rem;font-style:normal;animation:.9s ease-out both g1-burst;position:absolute;top:0;left:0}@keyframes g1-burst{0%{opacity:0;transform:translate(0)scale(.4)}25%{opacity:1}to{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.1)}}.g1-crowd-wrap{z-index:1;justify-items:center;gap:8px;width:100%;max-width:400px;display:grid;position:relative}.g1-match-crowd.is-interactive{gap:6px 4px;padding:10px 6px}.g1-crowd-btn{cursor:pointer;background:0 0;border:0;border-radius:14px;place-items:end center;padding:4px 2px;display:grid;position:relative}.g1-crowd-btn img{object-fit:contain;width:auto;height:clamp(76px,11svh,112px);display:block}.g1-match-crowd-dense .g1-crowd-btn img{height:clamp(62px,9svh,90px)}.g1-crowd-btn.counted{background:#ffd84d2e;box-shadow:0 0 0 2px #ffd84dd9}.g1-crowd-num{background:var(--gold);color:#3a2c0e;border-radius:13px;place-items:center;min-width:26px;height:26px;padding:0 6px;font:1rem Jua,sans-serif;animation:.2s ease-out g1-bubble-in;display:grid;position:absolute;top:-6px;right:-2px}.g1-crowd-help{color:#efe7ff;background:#08051c99;border-radius:14px;align-items:center;gap:12px;padding:6px 14px;font:clamp(.95rem,4vw,1.1rem) Jua,sans-serif;display:flex}.g1-crowd-help b{color:var(--gold);font-size:1.25em}.g1-crowd-reset{border:2px solid var(--gold);color:var(--gold);font:inherit;cursor:pointer;background:0 0;border-radius:999px;min-height:36px;padding:4px 12px}.g1-mission-scene.g1-league-match,.g1-mission-scene.g1-pet-scout{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}.g1-league-match .g1-scene-image.small{height:clamp(110px,17svh,160px)}.update-gate{z-index:100000;color:#fff6d6;text-align:center;background:radial-gradient(at 50% 30%,#3a2a78 0%,#1b1245 52%,#0b0724 100%);place-items:center;padding:24px 20px;font-family:Jua,Gowun Dodum,sans-serif;display:grid;position:fixed;inset:0}.update-gate-card{flex-direction:column;align-items:center;gap:14px;width:min(420px,100%);display:flex}.update-gate-star{color:#fff3a8;text-shadow:0 0 14px #fff,0 0 36px #ffc53e,0 0 72px #8e67ff;font-size:4.6rem;line-height:1}.update-gate small{color:#ffd95b;letter-spacing:.18em;font-size:.8rem}.update-gate h2{color:#fff1ba;text-wrap:balance;margin:0;font-size:clamp(1.9rem,8vw,2.4rem)}.update-gate p{color:#f3ecff;text-wrap:balance;margin:0;font-size:1.1rem;line-height:1.6}.update-gate-button{color:#3b2300;width:100%;min-height:58px;font:inherit;cursor:pointer;background:linear-gradient(#ffe58a,#f2b73c);border:0;border-radius:999px;margin-top:10px;font-size:1.3rem;box-shadow:0 6px #a8731a,0 10px 24px #0006}.update-gate-button:active:not(:disabled){transform:translateY(3px);box-shadow:0 3px #a8731a,0 6px 16px #0006}.update-gate-button:disabled{opacity:.7;cursor:default}.update-gate-button:focus-visible{outline-offset:3px;outline:3px solid #fff}.update-gate .update-gate-note{color:#cbbff0;min-height:2.6em;margin-top:2px;font-size:.95rem}
