@font-face{font-family:AdventureRounded;src:url(./assets/fonts/adventure-rounded-500.woff2) format("woff2");font-weight:400 500;font-style:normal;font-display:swap}@font-face{font-family:AdventureRounded;src:url(./assets/fonts/adventure-rounded-700.woff2) format("woff2");font-weight:600 900;font-style:normal;font-display:swap}:root{font-family:AdventureRounded,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:#283b5c;background:#eff7ff;font-synthesis:none;--ink:#283b5c;--muted:#556b86;--paper:#ffffff;--green:#377dc8;--edge:#283b5c;--rose:#c5466d;--gold:#f3c45e}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#eff7ff,transparent 70%);min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;background:none;border:0}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #af456c;outline-offset:4px}button:disabled{cursor:default}button:not(:disabled):active{transform:translateY(2px)}[hidden]{display:none!important}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.left-arrow{transform:rotate(180deg)}.topbar{max-width:1280px;margin:auto;min-height:76px;padding:12px 4px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);font-family:AdventureRounded,PingFang SC,sans-serif;font-weight:700;font-size:25px}.brand img{width:46px;height:46px;object-fit:contain}.topbar nav{display:flex;align-items:center;gap:12px}.nav-button{font-size:15px;font-weight:600;padding:10px 14px;min-height:44px;border-radius:10px}.nav-button:hover{background:#dce8f6}.icon-button{width:42px;height:42px;display:grid;place-items:center;border:2px solid #b9cfe8;border-radius:12px;background:var(--paper);color:#556b86;flex-shrink:0}.icon-button:hover{background:#eff7ff;border-color:#b9cfe8}.icon-button[aria-pressed=false]{background:#dce8f6}.icon-button .icon{width:21px;height:21px}main{max-width:1280px;margin:0 auto;padding-bottom:16px}.game-shell{border:3px solid var(--edge);border-radius:24px;background:var(--paper);box-shadow:0 7px #b9cfe8;overflow:hidden}.game-topline{display:flex;justify-content:space-between;align-items:center;min-height:54px;padding:6px 18px;background:#eff7ff;border-bottom:2px solid #b9cfe8}.world-heading{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:600}.world-heading b{font:700 15px/1 system-ui,sans-serif;display:grid;place-items:center;width:32px;height:30px;border-radius:9px;background:#377dc8;color:#fff;box-shadow:0 2px #a32f57}.game-topline .icon-button{border:0;background:none;width:38px;height:38px}.stage{position:relative;aspect-ratio:16/9;max-height:720px;overflow:hidden;isolation:isolate;background:#b4e0e6}canvas{display:block;width:100%;height:100%;touch-action:none}.welcome{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:4%;padding:20px 5% 38px;background:linear-gradient(90deg,#edf7ff9c,transparent 72%)}.welcome-copy{width:48%;position:relative;z-index:2}.chapter{display:inline-flex;align-items:center;border:1px solid #b9cfe8;background:#fff;padding:7px 14px;border-radius:8px;font-size:14px;font-weight:600;box-shadow:0 2px #40699418}.welcome p{font-size:18px;font-weight:600;color:#556b86;margin:24px 0 23px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:56px;background:#c5466d;color:#fff;border:2px solid #283b5c;border-radius:13px;padding:12px 28px;font-weight:600;font-size:20px;line-height:1.35;box-shadow:0 5px #a32f57,0 7px #fff6d955;transition:background .12s,transform .12s}.primary:hover{background:#d64e79}.primary:not(:disabled):active{transform:translateY(3px);box-shadow:0 2px #a32f57}.primary:disabled{color:#f4f8ff;background:#6983a3}.primary .icon{width:25px;height:25px}.start-hint{display:block;margin-top:17px;font-size:14px;color:#556b86}.touch-hint{display:none}.hero-cat{width:38%;max-width:380px;position:relative;margin-top:52px;transform:rotate(3deg)}.hero-cat img{display:block;width:100%;position:relative;z-index:1;filter:drop-shadow(0 10px 5px #2966ab1c);animation:breathe 4s ease-in-out infinite}.hero-cat i{position:absolute;left:15%;bottom:7%;width:73%;height:8%;border-radius:50%;background:#395f8b25;filter:blur(6px)}.hero-star{position:absolute;color:#ffe3a1;-webkit-text-stroke:1.5px #a57b31;text-shadow:0 3px #b99147;line-height:1}.hero-star.one{left:-12%;top:20%;font-size:48px;transform:rotate(16deg)}.hero-star.two{right:-2%;top:64%;font-size:34px;transform:rotate(-12deg)}.hud{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.hud-left{display:flex;align-items:flex-start;gap:14px}.hero-status{display:flex;align-items:center;gap:8px;padding:6px 12px 7px 6px;background:var(--paper);border:2px solid #d1e3f5;border-radius:17px;box-shadow:0 3px #40699418}.hero-status>img{width:47px;height:47px;object-fit:contain}.health-icons{display:flex;gap:3px}.health-icons .icon{width:22px;height:22px;fill:#bd5355;stroke:#75353d;stroke-width:1.7}.health-icons .empty{fill:#f4f8ff;stroke:#7a91b1}#lives{display:block;font-size:13px;line-height:1.3;color:#556b86;margin-top:3px;font-weight:600}.collectibles{display:flex;align-items:center;gap:10px;padding-top:8px}.hud-pill{display:flex;align-items:center;gap:6px;min-height:43px;background:var(--paper);border:2px solid #d1e3f5;border-radius:13px;padding:6px 10px;color:var(--ink);box-shadow:0 3px #40699418}.hud-pill b{font:700 21px/1.1 system-ui,sans-serif;font-variant-numeric:tabular-nums;min-width:27px}.coin-icon{width:23px;height:25px}.star-count{gap:3px}.star-count .icon{width:21px;height:23px;stroke:#7a91b1;fill:#f4f8ff;stroke-width:1.6}.star-count .collected{fill:#f3c45e;stroke:#856029}#pause-button{pointer-events:auto;width:45px;height:45px;border-color:#d1e3f5;box-shadow:0 3px #40699418;margin-top:8px}.control-strip{display:flex;align-items:center;justify-content:center;gap:30px;padding:15px 20px 17px;border-top:2px solid #b9cfe8;font-size:15px;line-height:1.2;color:#556b86;background:#eff7ff}.control-strip>div{display:flex;align-items:center;gap:6px}.control-strip>div>span{margin-left:3px}kbd{display:inline-grid;place-items:center;min-width:31px;height:31px;padding:0 7px;border-radius:7px;border:1px solid #b9cfe8;border-bottom:3px solid #b9cfe8;background:#fff;color:#283b5c;font:600 14px/1 AdventureRounded,PingFang SC,system-ui,sans-serif;white-space:nowrap}kbd.wide{min-width:47px}.control-tip{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:14px}.skill-copy{display:flex;flex-direction:column;gap:4px;white-space:nowrap;color:#af456c}.skill-copy small{font-size:12px;line-height:1.1}.skill-locked .skill-copy{color:#556b86}.touch-controls{display:none}.overlay{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:16px;background:#253f6c66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.result-card{width:430px;max-width:100%;max-height:100%;overflow-y:auto;padding:24px 30px 18px;text-align:center;border:3px solid #d1e3f5;border-radius:22px;background:var(--paper);box-shadow:0 7px #1c416133}.result-top{display:flex;align-items:center;justify-content:center;gap:9px}.result-top img{width:46px;height:46px;object-fit:contain}.result-label{display:inline-block;color:#556b86;font-size:14px;font-weight:600;line-height:1.5}.result-card h2{font-size:30px;line-height:1.25;margin:13px 0 12px;letter-spacing:0;font-weight:600}.result-card p{font-size:16px;line-height:1.65;color:#556b86;margin:0 0 16px;text-wrap:pretty}.result-stars{display:flex;justify-content:center;gap:10px;margin:0 0 15px}.result-stars:empty{display:none}.result-stars .icon{width:38px;height:38px;fill:#f4f8ff;stroke:#7a91b1;stroke-width:1.3}.result-stars .collected{fill:#f3c45e;stroke:#96672d;filter:drop-shadow(0 3px #cfac6938)}.result-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dce8f6;border-bottom:1px solid #dce8f6;padding:11px 0;margin:0 0 18px;gap:12px}.result-stats>div+div{border-left:1px solid #dce8f6}.result-stats span{display:block;font-size:13px;color:#556b86}.result-stats strong{display:block;font:700 24px/1.4 system-ui,sans-serif;color:#377dc8;font-variant-numeric:tabular-nums}.result-card .primary{display:flex;width:100%;font-size:18px;min-height:52px;margin-bottom:13px}.result-secondary{display:flex;justify-content:center;gap:16px}.text-button{font-size:14px;color:#556b86;min-height:40px;padding:8px 4px;text-decoration:underline;text-decoration-color:#dce8f6;text-underline-offset:5px}.text-button:hover{color:#af456c;text-decoration-color:currentColor}.stage-hint,.toast{position:absolute;left:50%;transform:translate(-50%);max-width:calc(100% - 32px);border:1px solid #d1e3f5;border-radius:12px;padding:10px 16px;color:#556b86;background:#fff;font-size:15px;font-weight:500;line-height:1.5;text-align:center;box-shadow:0 3px #40699418;pointer-events:none}.stage-hint{bottom:22px;white-space:nowrap}.toast{bottom:22px;opacity:0;transition:opacity .15s;z-index:7;width:max-content}.toast.visible{opacity:1}.stage:has(.toast.visible) .stage-hint{visibility:hidden}.worlds{margin:30px 0 0;scroll-margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 3px 15px}.section-heading h2{font-size:21px;font-weight:600;line-height:1.3;margin:0}.section-heading>span{font-size:14px;color:#556b86;font-variant-numeric:tabular-nums}.world-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;position:relative}.world-grid:before{content:"";position:absolute;left:10%;right:10%;top:50%;border-top:3px dashed #b9cfe8;z-index:0}.world-card{position:relative;display:flex;align-items:center;gap:14px;text-align:left;border:2px solid #b9cfe8;background:#eff7ff;border-radius:16px;padding:13px;min-height:108px;box-shadow:0 4px #b9cfe8;transition:transform .12s,border-color .12s}.world-card.selected{border-color:#377dc8;box-shadow:0 4px #377dc8;background:#fff}.world-card:not(:disabled):hover{transform:translateY(-2px);border-color:#377dc8}.world-card:disabled{background:#dce8f6;color:#556b86;border-color:#dce8f6;box-shadow:0 4px #dce8f6}.mini-scene{width:76px;height:76px;position:relative;overflow:hidden;border-radius:12px;border:1px solid #b9cfe8;flex-shrink:0;background:linear-gradient(#b6dce5,#e4efb5)}.mini-scene:before{content:"";position:absolute;left:20px;top:30px;border-radius:50% 50% 0 0;width:70px;height:60px;background:#78ad88;box-shadow:-40px 10px #add09e}.mini-scene:after{content:"";position:absolute;top:12px;left:14px;width:22px;height:12px;border-radius:50%;background:#fff;box-shadow:9px -5px 0 2px #fff,20px 1px #fff}.mini-scene.cave{background:linear-gradient(#414e76,#a496bd);border-color:#8484aa}.mini-scene.cave:before{background:#b0b8e5;transform:rotate(35deg);border-radius:5px;width:23px;height:57px;box-shadow:-27px 22px #7787b6}.mini-scene.cave:after{width:7px;height:7px;background:#f4d7ff;box-shadow:33px 9px #dadfff;border-radius:2px;transform:rotate(45deg)}.mini-scene.castle{background:linear-gradient(#c0def1,#f6dec8);border-color:#a3adb9}.mini-scene.castle:before{border-radius:3px;width:39px;height:40px;background:#e6e4e4;left:19px;top:30px;box-shadow:10px -10px #b6c3cf}.mini-scene.castle:after{width:18px;height:14px;background:#c17b8a;left:39px;top:7px;border-radius:0 4px 4px 0;box-shadow:none}.world-number{position:absolute;bottom:5px;left:7px;font:700 16px/1.1 system-ui,sans-serif;color:#fff;text-shadow:0 1px 2px #263c54;z-index:1}.world-info{min-width:0;flex:1}.world-info h3{font-size:18px;font-weight:600;margin:0 0 7px;line-height:1.4;white-space:nowrap}.world-info p{font-size:13px;color:#556b86;margin:0;line-height:1.5}.world-stars{display:flex;gap:3px}.world-stars .icon{width:18px;height:18px;fill:#f4f8ff;stroke:#7a91b1;stroke-width:1.5}.world-stars .collected{fill:#eec15b}.world-lock{display:inline-flex;align-items:center;gap:4px;font-size:13px;white-space:nowrap}.world-lock .icon{width:14px;height:14px}.world-arrow .icon{width:21px;height:21px;color:#556b86}.world-card:disabled .mini-scene{filter:saturate(.45)}footer{font-size:12px;color:#556b86;text-align:center;padding:22px 10px 8px}dialog{color:var(--ink);border:3px solid #d1e3f5;border-radius:20px;padding:29px;max-width:520px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);background:var(--paper);box-shadow:0 8px #1c416133}dialog::backdrop{background:#253f6c66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-size:30px;line-height:1.3;margin:10px 0 22px;font-weight:600}.dialog-close{position:absolute;right:14px;top:14px;font-size:27px;width:36px;height:36px}.help-controls{display:grid;gap:11px;margin-bottom:22px}.help-controls>div{display:flex;align-items:center;gap:7px;font-size:15px}.help-controls>div>span{margin-left:3px}dialog p{font-size:15px;line-height:1.8;color:#556b86;margin:0 0 17px}.help-note{font-size:13px;line-height:1.7;color:#556b86;padding-top:15px;border-top:1px solid #dce8f6}dialog .primary{width:100%;font-size:17px;min-height:48px;margin-top:20px;margin-bottom:5px}.game-shell:fullscreen{border:0;border-radius:0;width:100vw;height:100dvh;display:flex;flex-direction:column;box-shadow:none;background:#b7dff1}.game-shell:fullscreen .stage{flex:1;aspect-ratio:auto;max-height:none;min-height:0}.game-shell:fullscreen canvas{object-fit:contain}.game-shell:fullscreen .game-topline{flex-shrink:0}.game-shell:fullscreen .control-strip,.game-shell:fullscreen .touch-controls{flex-shrink:0}.game-shell:fullscreen .welcome{padding-bottom:20px}.game-shell:fullscreen .control-tip{margin-left:0}@keyframes breathe{50%{transform:translateY(-5px)}}@media(max-width:1330px){main,.topbar{margin-left:24px;margin-right:24px}}@media(max-width:1050px){.control-strip{gap:20px}.control-tip{display:none}.world-grid{gap:14px}.world-card{gap:10px;padding:11px}.mini-scene{width:62px;height:70px}.world-info h3{font-size:16px}.world-arrow{display:none}.welcome{padding-bottom:26px}.welcome p{margin:20px 0;font-size:17px}.chapter{font-size:13px}.hero-cat{width:38%}}@media(max-width:800px){main,.topbar{margin-left:16px;margin-right:16px}.topbar{min-height:64px;padding:8px 0}.brand{font-size:22px}.brand img{width:40px;height:40px}.topbar nav{gap:4px}.nav-button{padding:8px;font-size:14px}.game-shell{border-radius:18px}.game-topline{min-height:48px;padding:4px 13px}.world-heading{font-size:15px}.welcome{padding:12px 4% 18px}.chapter{padding:5px 10px;font-size:12px}.welcome p{font-size:15px;margin:15px 0}.welcome .primary{font-size:18px;min-height:49px;padding:10px 22px;gap:20px}.start-hint{font-size:12px;margin-top:13px}.hero-cat{margin-top:45px}.hero-star.one{font-size:34px}.hero-star.two{font-size:27px}.control-strip{gap:17px;font-size:14px;padding:12px}.control-strip kbd{font-size:12px;min-width:27px;height:29px;padding:0 5px}.skill-copy small{font-size:11px}.world-info p{font-size:12px}.world-card{align-items:flex-start;flex-direction:column;gap:9px;padding:10px}.mini-scene{width:100%;height:62px}.world-info h3{font-size:16px}.world-info{width:100%}.world-lock{font-size:12px}.world-info p{min-height:18px}.result-card{padding:18px 25px 13px;width:385px}.result-top img{width:32px;height:32px}.result-card h2{font-size:27px;margin:10px 0}.result-card p{font-size:15px;margin-bottom:12px}.result-stats{padding:8px 0;margin-bottom:12px}.result-stats strong{font-size:21px}.result-stars .icon{width:30px;height:30px}.result-stars{margin-bottom:12px;gap:6px}.result-card .primary{min-height:47px;font-size:17px}}@media(max-width:600px){main,.topbar{margin-left:10px;margin-right:10px}.topbar{min-height:62px;gap:6px}.brand{font-size:20px;gap:2px}.brand img{width:35px;height:35px}.topbar nav{gap:3px}.nav-button{font-size:13px;padding:8px 6px}.topbar #map-button{display:none}.topbar .icon-button{width:38px;height:38px}.game-shell{border-width:2px;border-radius:16px;box-shadow:0 5px #b9cfe8}.game-topline{min-height:44px;padding:3px 10px}.world-heading{gap:9px;font-size:14px}.world-heading b{width:27px;height:27px;font-size:13px;border-radius:8px}.game-topline .icon-button{height:34px;width:34px}.stage{aspect-ratio:700/540}.welcome{padding:10px 5% 14px;gap:0}.welcome-copy{width:61%}.chapter{font-size:11px;padding:4px 7px}.welcome p{font-size:13px;margin:15px 0 14px;white-space:nowrap}.welcome .primary{font-size:16px;min-height:44px;padding:9px 14px;gap:17px;border-radius:11px;box-shadow:0 4px #a32f57}.welcome .primary .icon{width:20px;height:20px}.start-hint{font-size:11px;margin-top:12px;white-space:nowrap}.hero-cat{width:42%;margin-left:-3%;margin-top:48px}.hero-star.one{font-size:26px;left:-5%;top:5%}.hero-star.two{font-size:20px;right:3%;top:80%}.control-strip,.keyboard-hint{display:none}.touch-hint{display:block}.hud{top:10px;left:10px;right:10px}.hud-left{gap:7px}.hero-status{gap:3px;padding:4px 7px 4px 3px;border-radius:12px}.hero-status>img{width:31px;height:36px}.health-icons{gap:1px}.health-icons .icon{width:17px;height:17px}#lives{font-size:11px;margin-top:2px}.collectibles{gap:5px;padding-top:5px}.hud-pill{min-height:34px;border-radius:10px;padding:4px 6px;gap:3px}.hud-pill b{font-size:17px;min-width:23px}.coin-icon{width:19px;height:21px}.star-count{gap:1px}.star-count .icon{width:16px;height:20px}#pause-button{width:35px;height:35px;margin-top:5px;border-radius:10px}#pause-button .icon{width:17px;height:17px}.touch-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 12px 19px;border-top:2px solid #b9cfe8;background:#eff7ff}.touch-move,.touch-action{display:flex;align-items:center;gap:9px}.touch-controls button{touch-action:none;user-select:none;-webkit-user-select:none;min-width:45px;height:54px;background:#dce8f6;color:#556b86;border:2px solid #b9cfe8;border-radius:14px;box-shadow:0 4px #b9cfe8;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600}.touch-move button{width:50px}.touch-controls .jump-button{width:64px;height:59px;background:#c5466d;color:#fff;border-color:#a32f57;box-shadow:0 4px #a32f57}.touch-controls .candy-button{width:50px;flex-direction:column;gap:2px;background:#fff0f5;color:#af456c;border-color:#eaa1b3;box-shadow:0 4px #eaa1b3}.candy-button .icon{width:20px;height:20px}.candy-button small{font-size:10px;line-height:1.2}.touch-controls .candy-button.skill-locked{background:#dce8f6;border-color:#b9cfe8;color:#6983a3;box-shadow:0 4px #b9cfe8}.touch-controls #run-toggle{min-width:35px;width:35px;font-size:12px;padding:0;border:0;background:transparent;box-shadow:none;color:#556b86}.touch-controls #run-toggle[aria-pressed=true]{color:#af456c;text-decoration:underline;text-underline-offset:5px}.overlay{padding:10px}.result-card{padding:12px 18px 9px;border-width:2px;border-radius:17px;width:310px}.result-top{gap:6px}.result-top img{width:27px;height:27px}.result-label{font-size:12px}.result-card h2{font-size:23px;margin:8px 0}.result-card p{font-size:13px;line-height:1.5;margin-bottom:10px}.result-stats{padding:6px 0;gap:7px;margin-bottom:11px}.result-stats span{font-size:11px}.result-stats strong{font-size:18px;line-height:1.25}.result-stars{margin-bottom:9px}.result-stars .icon{width:26px;height:26px}.result-card .primary{min-height:43px;padding:8px 15px;font-size:16px;margin-bottom:8px;border-radius:10px;box-shadow:0 3px #a32f57}.result-secondary{gap:24px}.text-button{font-size:12px;min-height:34px;padding:5px 2px}.toast,.stage-hint{font-size:13px;padding:8px 12px;bottom:13px;border-radius:9px;max-width:calc(100% - 24px)}.worlds{margin:25px 2px 0}.section-heading{margin-bottom:12px}.section-heading h2{font-size:18px}.section-heading>span{font-size:12px}.world-grid{gap:10px}.world-card{padding:7px;border-radius:13px;gap:8px;min-height:146px}.mini-scene{height:61px;border-radius:8px}.world-info h3{font-size:14px;line-height:1.3;margin-bottom:6px;white-space:normal}.world-info p,.world-lock{font-size:11px}.world-lock .icon{width:11px;height:11px}.world-stars .icon{width:15px;height:15px}.world-number{font-size:14px}.world-arrow{display:none}footer{font-size:11px;padding-top:19px}dialog{padding:24px 20px}dialog h2{font-size:26px}.help-controls>div{font-size:13px;gap:5px}dialog p{font-size:14px}.help-note{font-size:12px}}@media(max-width:360px){.topbar{min-height:58px}.brand{font-size:18px}.brand img{width:29px}.nav-button{font-size:12px;padding:8px 3px}.welcome p{font-size:12px;margin:12px 0}.start-hint,.chapter{font-size:10px}.welcome .primary{font-size:15px;padding:7px 12px;min-height:41px}.touch-controls{padding:13px 8px 17px;gap:5px}.touch-move,.touch-action{gap:6px}.touch-move button{width:43px;min-width:43px}.touch-controls .candy-button{width:45px}.touch-controls .jump-button{width:55px}.touch-controls #run-toggle{width:31px;min-width:31px}.hud{left:7px;right:7px}.hud-left{gap:4px}.hero-status>img{width:26px}.health-icons .icon{width:15px}.star-count .icon{width:14px}.hud-pill{padding:4px}.result-card h2{font-size:21px}.world-grid{gap:7px}.world-card{padding:6px}.world-info h3{font-size:13px}}@media(pointer:coarse)and (min-width:601px){.control-strip,.keyboard-hint{display:none}.touch-hint{display:block}.touch-controls{display:flex;justify-content:space-between;align-items:center;padding:12px 24px 17px;background:#eff7ff;border-top:2px solid #b9cfe8}.touch-move,.touch-action{display:flex;align-items:center;gap:12px}.touch-controls button{width:60px;height:54px;border:2px solid #b9cfe8;border-radius:13px;box-shadow:0 4px #b9cfe8;background:#dce8f6;display:flex;align-items:center;justify-content:center;font-size:16px;touch-action:none;-webkit-user-select:none;user-select:none}.touch-controls .candy-button{flex-direction:column;gap:2px;background:#fff0f5;color:#af456c;border-color:#eaa1b3;box-shadow:0 4px #eaa1b3}.touch-controls .candy-button.skill-locked{background:#dce8f6;color:#6983a3;border-color:#b9cfe8;box-shadow:0 4px #b9cfe8}.candy-button small{font-size:11px}.candy-button .icon{width:21px;height:21px}.touch-controls .jump-button{background:#c5466d;color:#fff;border-color:#a32f57;box-shadow:0 4px #a32f57;width:74px}.touch-controls #run-toggle{border:0;box-shadow:none;background:none;font-size:14px;width:45px}.touch-controls #run-toggle[aria-pressed=true]{color:#af456c;text-decoration:underline;text-underline-offset:5px}}@media(max-height:500px)and (orientation:landscape){.topbar,.worlds,footer{display:none}main{margin:0;padding:0}.game-shell{border:0;border-radius:0;box-shadow:none;position:relative}.game-topline{min-height:36px;height:36px;padding:0 13px}.game-topline .icon-button{height:32px}.world-heading{font-size:14px}.world-heading b{width:25px;height:24px;font-size:12px}.stage{height:calc(100dvh - 36px);aspect-ratio:auto;max-height:none}canvas{object-fit:contain}.control-strip{display:none}.welcome{padding:10px 13%;gap:8%}.welcome-copy{width:52%}.welcome .chapter{font-size:12px}.welcome p,.start-hint{display:none}.welcome .primary{font-size:17px;min-height:44px;padding:9px 22px}.hero-cat{width:34%;max-width:210px;margin-top:18px;margin-left:0}.touch-controls{display:flex;position:absolute;bottom:max(12px,env(safe-area-inset-bottom));left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right));background:none;border:0;padding:0;justify-content:space-between;pointer-events:none;z-index:6}.touch-move,.touch-action{display:flex;align-items:center;gap:10px}.touch-controls button{pointer-events:auto;width:48px;min-width:44px;height:47px;background:#f7fbffe8;border:2px solid #b9cfe8;box-shadow:0 3px #b9cfe8;border-radius:13px;display:flex;align-items:center;justify-content:center;touch-action:none;-webkit-user-select:none;user-select:none;font-size:15px}.touch-controls .jump-button{width:62px;height:51px;background:#c5466d;color:#fff;border-color:#a32f57;box-shadow:0 3px #a32f57}.touch-controls .candy-button{flex-direction:column;gap:2px;background:#fff0f5;color:#af456c;border-color:#eaa1b3;box-shadow:0 3px #eaa1b3}.candy-button .icon{width:19px;height:19px}.candy-button small{font-size:10px}.touch-controls .candy-button.skill-locked{background:#dce8f6;color:#6983a3;border-color:#b9cfe8;box-shadow:0 3px #b9cfe8}.touch-controls #run-toggle{font-size:12px;min-width:34px;width:34px;background:#fff;border:0;box-shadow:none}.touch-controls #run-toggle[aria-pressed=true]{color:#af456c;text-decoration:underline}.game-shell:not([data-state=playing]) .touch-controls{visibility:hidden}.result-card{width:370px;padding:12px 25px 9px}.result-top img{width:26px;height:26px}.result-label{font-size:12px}.result-card h2{font-size:25px;margin:8px 0}.result-card p{font-size:14px;line-height:1.4;margin-bottom:10px}.result-stats{padding:5px 0;margin-bottom:10px}.result-stats strong{font-size:20px}.result-stats span{font-size:12px}.result-stars{margin-bottom:8px}.result-stars .icon{width:25px;height:25px}.result-card .primary{min-height:43px;font-size:16px;margin-bottom:7px;padding:8px 20px}.text-button{font-size:12px;min-height:32px;padding:5px}.hud{top:10px}.hero-status{padding:3px 8px 3px 3px}.hero-status>img{width:32px;height:36px}.health-icons .icon{width:18px;height:18px}#lives{font-size:11px}.hud-pill{min-height:35px;padding:4px 8px}.hud-pill b{font-size:18px}#pause-button{width:36px;height:36px}.stage-hint,.toast{bottom:17px;font-size:13px}.game-shell:fullscreen .touch-controls{position:absolute}.game-shell:fullscreen .stage{height:auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:600px){.game-shell[data-state=won] .result-top,.game-shell[data-state=won] .result-card p{display:none}.result-stats>div{display:flex;align-items:center;justify-content:center;gap:7px}.result-stats{padding:5px 0}.game-shell[data-state=won] .result-card h2{margin-top:3px}}.toast{top:92px;bottom:auto;display:flex;align-items:center;justify-content:center;gap:8px;border-width:2px}.toast .icon{width:19px;height:19px}.toast[data-kind=power]{border-color:#af456c;background:#fff0f5;color:#af456c}.toast[data-kind=checkpoint],.toast[data-kind=life]{border-color:#377dc8;background:#eff7ff}.game-shell[data-state=gameover] .result-label{color:#af456c}@media(max-width:600px),(max-height:500px)and (orientation:landscape){.toast{top:68px;font-size:13px;padding:7px 11px}.toast .icon{width:17px;height:17px}}body{background:radial-gradient(ellipse at 30% 0,#ffffff,transparent 70%),#eff7ff}.game-shell{border:3px solid #fff;border-radius:25px;box-shadow:0 7px #d1e5f4,0 15px 40px #7fa4cd20}.game-topline{background:#fff;border-bottom:1px solid #e3edf7}.world-heading b{background:#4a8bd4;box-shadow:0 2px #2f65a7}.icon-button{border-color:#d9e6f5}.nav-button:hover{background:#dceeff}.brand{color:#2d4b72}.welcome{background:linear-gradient(90deg,#e8f6ff85,transparent 75%)}.chapter{background:#fffffff0;color:#476184;border-color:#d1e2f2;box-shadow:0 2px #8cb2dc26}.game-logo{line-height:0;margin:14px 0 12px;width:min(100%,370px)}.game-logo img{display:block;width:100%;height:auto}.welcome p{color:#324f70}.primary{border-color:#b33961;border-top-color:#f493ad;background:linear-gradient(#c54971,#bc4169);box-shadow:0 4px #9e345a,inset 0 1px #ffb4c7;border-radius:16px;font-weight:700;color:#fff}.primary:hover{background:linear-gradient(#c74a70,#bc4169)}.primary:not(:disabled):active{box-shadow:0 1px #9e345a,inset 0 1px #ffb4c7}.primary:disabled{background:#a9bad2;color:#fff;border-color:#93aac7;box-shadow:0 3px #8a9eb8}.hero-status,.hud-pill{background:#fffffff2;border-color:#fff;box-shadow:0 3px #82a6ca38}.hero-status{border-radius:18px}.hud-pill{border-radius:14px}#pause-button{border-color:#fff;box-shadow:0 3px #82a6ca38}#lives{color:#526c89}.health-icons .icon{fill:#e26c8b;stroke:#bb496d}.health-icons .empty{fill:#e5eaf4;stroke:#b4c3d8}.star-count .icon{fill:#e4eaf5;stroke:#9aaac1}.star-count .collected{fill:#ffc959;stroke:#d49a3e}.control-strip,.touch-controls{background:#f8fbff;border-top:1px solid #d8e8f7}.control-strip kbd{background:#fff;border-color:#c7d8ec;border-bottom-color:#b4c9e2;color:#3d6089}.control-strip{color:#476184}.result-card{background:linear-gradient(#fff,#f8fbff);border:2px solid #fff;box-shadow:0 6px #acc9e75c,0 14px 38px #17366526;border-radius:24px}.result-card h2{font-weight:700;color:#2c4265}.result-label{color:#657c99}.result-card p{color:#5b7290}.result-stats{border-color:#dbe7f3}.result-stats>div+div{border-color:#dbe7f3}.result-stats strong{color:#376ba7}.result-card .primary{border-radius:14px}.text-button{color:#526d8d;text-decoration-color:#c2d3e5}.stage-hint,.toast{background:#ffffffed;border-color:#d2e4f6;color:#405f84;box-shadow:0 3px 12px #2b578b1c}.toast[data-kind=power]{background:#fff5f8;border-color:#edabc1;color:#a63e64}.toast[data-kind=checkpoint],.toast[data-kind=life]{background:#f5fbff;border-color:#a4cbed}.world-card{background:#fff;border-color:#e1eaf5;box-shadow:0 4px #c5d9ef;border-radius:17px}.world-card.selected{border-color:#88b8e7;box-shadow:0 4px #71a2d3;background:#fff}.world-card:not(:disabled):hover{border-color:#7cb0e2}.world-card:disabled{background:#f0f4f9;border-color:#d9e2ee;box-shadow:0 4px #d1dce9;color:#62748b}.world-grid:before{border-color:#b5cfea}.world-info h3{color:#3b5577}.world-info p,.world-lock{color:#60738c}.world-arrow .icon{color:#5584ba}.touch-controls .jump-button{background:linear-gradient(#c54971,#bc4169);border-color:#ac3c62;color:#fff;box-shadow:0 4px #9e345a}.touch-controls #run-toggle[aria-pressed=true]{color:#b7436e}.touch-controls button{color:#46698d}.touch-controls .candy-button{background:#fce8f1;color:#ae4a75;border-color:#e4a7bd;box-shadow:0 4px #cd8ba5}.touch-controls .candy-button.skill-locked{background:#edf2f8;color:#536b89;border-color:#c0d1e5;box-shadow:0 4px #a9bed7}dialog{border-color:#fff;background:#fff;box-shadow:0 8px #b2cce75c,0 18px 45px #234b7626}.game-shell[data-state=gameover] .result-label{color:#b54b70}@media(max-width:1050px){.game-logo{width:min(100%,310px)}}@media(max-width:800px){.game-logo{width:265px;max-width:100%;margin:8px 0 12px}.game-shell{border-radius:20px}}@media(max-width:600px){.game-logo{width:180px;max-width:100%;margin:8px 0 13px}.welcome p{display:none}.welcome .primary{border-radius:12px;box-shadow:0 4px #9e345a}.game-shell{border-width:2px;border-radius:17px;box-shadow:0 5px #d1e5f4}.result-card{border-radius:19px}.result-card h2{font-size:23px}.hero-status{border-radius:13px}.hud-pill{border-radius:11px}}@media(max-width:360px){.game-logo{width:150px}.result-card h2{font-size:21px}}@media(max-height:500px)and (orientation:landscape){.game-shell{border:0;border-radius:0;box-shadow:none}.game-logo{width:220px;max-width:100%;margin:6px 0 12px}.touch-controls{background:none;border:0}.touch-controls .jump-button{box-shadow:0 3px #9e345a}.result-card h2{font-size:25px}}:root{--ink:#4a4039;--muted:#71665a;--paper:#fffaf0;--edge:#d6cbb8;--green:#747e72;--rose:#b47478;--gold:#e8b761;color:var(--ink);background:#f3f2eb}body{background:radial-gradient(ellipse at 50% 0,#fffdf7,transparent 72%),#f3f2eb}button:focus-visible,a:focus-visible,canvas:focus-visible{outline-color:#9a7139}.brand{color:#544941;font-size:23px}.nav-button{color:#71665a}.nav-button:hover{background:#eae6dc}.icon-button{background:linear-gradient(#fffef8,#eee9dd);border-color:#d7cdbd;color:#746858;box-shadow:inset 0 1px #fff}.icon-button:hover,.icon-button[aria-pressed=false]{background:#f0e9db;border-color:#c2b49e}.game-shell{border-color:#fffdf6;box-shadow:0 5px #cfc8b8,0 16px 36px #4d493714;background:#fffaf0}.game-topline{background:linear-gradient(#fffdf7,#f3efe5);border-color:#ddd4c4}.world-heading{color:#645a4e}.world-heading b{background:#7c8779;color:#fffdf7;box-shadow:0 2px #5d695c}.stage{background:#9ac1d4}.welcome{background:linear-gradient(90deg,#f6f3e342,transparent 68%);padding:18px 8% 25px;gap:6%}.welcome-copy{width:49%;text-align:center}.chapter{border:1px solid #ffffff8c;border-radius:30px;background:#fffaf1dc;color:#675b4c;box-shadow:0 2px 6px #3f483e10;padding:7px 15px}.game-logo{width:min(100%,365px);margin:14px auto 6px}.game-logo img{filter:drop-shadow(0 5px 6px #3e4b3020)}.welcome p{font-size:18px;line-height:1.5;color:#4d584a;text-shadow:0 1px 4px #fffef0;margin:8px 0 22px}.hero-cat{width:37%;max-width:360px;transform:none;margin-top:45px}.hero-cat img{filter:drop-shadow(0 12px 9px #4e573b25)}.hero-cat i{background:#65724a40;filter:blur(9px)}.hero-star{color:#ffdf98;-webkit-text-stroke:1px #a7884f;text-shadow:0 2px #b49d7070}.hero-star.one{font-size:34px}.hero-star.two{font-size:25px}.primary{position:relative;isolation:isolate;min-height:56px;padding:13px 32px;gap:22px;color:#574024;border:1px solid #c19550;border-top-color:#f9e1ad;border-radius:18px;background:linear-gradient(180deg,#ffe7ae,#f4cf82 48%,#eabc6c);box-shadow:inset 0 2px 1px #fff3ce,inset 0 -2px 2px #d5a65d,0 5px #ad8650,0 9px 14px #76593624;text-shadow:0 1px #fff0c4;font-weight:700;transition:transform .13s,filter .13s}.primary:before{content:"";position:absolute;inset:4px;border:1px solid #ffedbd99;border-bottom-color:#bd91594a;border-radius:13px;pointer-events:none;z-index:-1}.primary:hover{background:linear-gradient(#ffebba,#f8d48a 48%,#eec275);filter:brightness(1.02)}.primary:not(:disabled):active{transform:translateY(4px);box-shadow:inset 0 2px #fff3ce,0 1px #ad8650,0 3px 8px #76593620}.primary:disabled{background:linear-gradient(#e7e2d6,#d5cbbb);border-color:#c8bda9;color:#796f60;text-shadow:none;box-shadow:0 3px #b4a792}.primary:disabled:before{border-color:#fff6}.start-hint{color:#4f604f;text-shadow:0 1px 4px #fffeec;background:#fffaf0a6;border-radius:20px;padding:5px 12px;width:max-content;max-width:100%;margin:18px auto 0}.game-shell[data-theme=cave] .welcome p,.game-shell[data-theme=cave] .start-hint{color:#fff9ea;text-shadow:0 2px 5px #24324d}.game-shell[data-theme=cave] .start-hint{background:#253957b0}.hero-status,.hud-pill{background:linear-gradient(#fffcf4f5,#f3eee2f0);border:1px solid #fffdf4;box-shadow:0 2px #9f947b60,0 3px 9px #4d493526;color:#62523c}#lives{color:#6f6557}.health-icons .icon{fill:#df9b9d;stroke:#a96b72}.health-icons .empty{fill:#ddd7cc;stroke:#b5ab9b}.star-count .icon{fill:#e8dfcc;stroke:#b1a18a}.star-count .collected{fill:#efbf65;stroke:#ae8247}#pause-button{background:linear-gradient(#fffdf5,#e9e0cf);border-color:#fff8e9;color:#786444;box-shadow:0 2px #ac9b7d}.overlay{background:#31384272;-webkit-backdrop-filter:blur(5px) saturate(.82);backdrop-filter:blur(5px) saturate(.82)}.result-card{position:relative;isolation:isolate;width:420px;padding:21px 32px 19px;border:1px solid #e8ddc7;border-radius:29px;background:radial-gradient(ellipse at 32% 0,#ffffff 0%,transparent 66%),linear-gradient(145deg,#fcf8ed,#eee7d8);box-shadow:inset 0 2px 1px #fffef7,inset 0 -3px 2px #c9baa43b,0 7px #b9ac965c,0 22px 55px #1c273b45}.result-card:before{content:"";position:absolute;inset:7px;border:1px solid #d8c8aa99;border-top-color:#ede4d3;border-radius:22px;pointer-events:none;z-index:-1}.result-top{flex-direction:column;gap:7px}.result-top img{width:72px;height:72px;padding:5px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#fffef9,#ede2cf);border:1px solid #e0d1b6;box-shadow:inset 0 2px 3px #fff,0 3px 6px #72604420}.result-label,.game-shell[data-state=gameover] .result-label{color:#756247;font-size:13px;font-weight:500}.result-card h2{color:#51473d;font-size:28px;margin:13px 0 12px;text-shadow:0 1px #fff;font-weight:700}.result-card p{color:#6c5d49;font-size:15px;line-height:1.7;margin-bottom:22px}.result-card .primary{border-radius:16px;font-size:18px;min-height:52px;margin-bottom:14px}.result-secondary{gap:28px}.text-button{color:#756247;text-decoration:none;font-size:14px}.text-button:hover{color:#513d27;text-decoration:underline}.result-stars .icon{stroke:#b2a18b;fill:#e5dccb}.result-stars .collected{fill:#edc36a;stroke:#b58b48;filter:drop-shadow(0 2px 2px #a2773626)}.result-stats{background:#faf6eb;border:1px solid #e3d9c5;border-radius:13px;padding:10px 4px}.result-stats>div+div{border-color:#e3d9c5}.result-stats span{color:#756247}.result-stats strong{color:#736042}.control-strip,.touch-controls{background:linear-gradient(#fbf8ef,#f1ede3);border-color:#ddd5c6;color:#756753}.control-strip kbd,kbd{background:linear-gradient(#fffdf8,#f1eadc);border-color:#d2c5ae;border-bottom-color:#baaa8d;color:#6c5b42}.skill-copy{color:#9b6875}.skill-locked .skill-copy{color:#6e6250}.stage-hint,.toast{color:#6b5b44;border-color:#e2d3b9;background:#fffaf0f2;box-shadow:0 3px 10px #65533221}.toast[data-kind=power]{background:#fff7f2;border-color:#dba6a8;color:#895b66}.toast[data-kind=checkpoint],.toast[data-kind=life]{background:#fbf9e9;border-color:#cdbb85}.touch-controls button{background:linear-gradient(#fffdf6,#e9e0cf);border-color:#d8c7a9;color:#786444;box-shadow:0 4px #b7a17d}.touch-controls .jump-button{background:linear-gradient(#ffe7ae,#eabc6c);border-color:#c19550;color:#574024;box-shadow:inset 0 2px #fff2ca,0 4px #ad8650}.touch-controls .candy-button{background:linear-gradient(#fff4ed,#f0d2cd);border-color:#cfb1a8;color:#946574;box-shadow:0 4px #b79991}.touch-controls .candy-button.skill-locked{background:linear-gradient(#f1eee6,#ddd6c9);border-color:#c6baaa;color:#655747;box-shadow:0 4px #ad9e88}.touch-controls #run-toggle{color:#7d6d57}.touch-controls #run-toggle[aria-pressed=true]{color:#946a36}.section-heading h2{color:#635545}.section-heading>span,footer{color:#756852}.world-grid:before{border-color:#d6c5a7}.world-card{background:linear-gradient(#fffdf7,#f5efe2);border-color:#ded3be;box-shadow:0 4px #c9bca5}.world-card.selected{background:#fffbef;border-color:#c8a874;box-shadow:0 4px #ad8c59}.world-card:not(:disabled):hover{border-color:#b89965}.world-card:disabled{background:#ede9e0;border-color:#d2cbbd;box-shadow:0 4px #bfb5a3;opacity:.8}.world-info h3{color:#65533d}.world-info p,.world-lock{color:#75664e}.world-arrow .icon{color:#a78654}.mini-scene{background-size:cover!important;background-position:center!important;border:1px solid #dacdb7;box-shadow:inset 0 1px #fff7}.mini-scene:before,.mini-scene:after{display:none}.mini-scene.meadow{background-image:url(./assets/world-v4/meadow-background.webp)}.mini-scene.cave{background-image:url(./assets/world-v4/cave-background.webp)}.mini-scene.castle{background-image:url(./assets/world-v4/castle-background.webp)}.world-number{color:#fff7e4;text-shadow:0 2px 4px #352f25}dialog{background:radial-gradient(ellipse at 30% 0,#fffef8,transparent 70%),#f4eee0;border:1px solid #e3d3b8;border-radius:26px;box-shadow:inset 0 1px #fff,0 8px #b3a58d60,0 24px 60px #2d2c3540;color:#574a3b}dialog::backdrop{background:#31384272}dialog p,.help-note{color:#7a6b54}.help-note{border-color:#ddd0b8}.dialog-close{color:#8c7758}@media(max-width:1050px){.game-logo{width:290px}.welcome p{font-size:16px;margin:6px 0 16px}.welcome .primary{min-height:52px}.start-hint{margin-top:15px}.welcome{padding:16px 6% 20px}}@media(max-width:800px){.brand{font-size:21px}.game-logo{width:245px;margin:9px auto 5px}.welcome p{font-size:14px;margin:4px 0 13px}.welcome .primary{min-height:46px;font-size:17px;padding:10px 25px}.chapter{font-size:11px;padding:5px 10px}.start-hint{margin-top:12px;padding:4px 9px}.result-card{width:370px;padding:18px 26px 13px}.result-top img{width:50px;height:50px}.result-card h2{font-size:26px}.result-card p{font-size:14px;margin-bottom:16px}}@media(max-width:600px){.brand{font-size:19px}.welcome{padding:9px 4% 13px;gap:0}.welcome-copy{width:60%}.game-logo{width:175px;margin:7px auto 5px}.welcome p{display:none}.welcome .primary{min-height:43px;font-size:16px;padding:9px 18px;border-radius:14px;box-shadow:inset 0 2px #fff2cc,0 4px #ad8650}.welcome .primary:before{border-radius:10px}.hero-cat{width:43%;margin-left:-3%;margin-top:32px}.hero-star.one{font-size:23px}.hero-star.two{font-size:18px}.start-hint{font-size:10px;max-width:none;white-space:nowrap;padding:3px 6px;margin-top:12px}.chapter{font-size:10px;padding:4px 8px}.result-card{width:300px;padding:13px 20px 8px;border-radius:22px}.result-card:before{inset:5px;border-radius:17px}.result-top{flex-direction:row;gap:8px}.result-top img{width:33px;height:33px;padding:2px}.result-label{font-size:11px}.result-card h2{font-size:22px;margin:10px 0}.result-card p{font-size:13px;line-height:1.5;margin-bottom:12px}.result-card .primary{font-size:16px;min-height:43px;margin-bottom:9px;border-radius:13px}.result-stats{padding:5px 2px}.result-stats span{font-size:11px}.result-secondary{gap:22px}.text-button{font-size:12px;min-height:32px}.game-shell[data-state=won] .result-top{display:flex}.game-shell[data-state=won] .result-label,.game-shell[data-state=won] .result-top img{display:none}.game-shell[data-state=won] .result-card h2{margin-top:6px}.touch-controls{padding-top:13px}}@media(max-width:360px){.brand{font-size:18px}.game-logo{width:145px}.welcome .primary{font-size:15px;padding:8px 13px}.chapter{font-size:9px}.result-card h2{font-size:20px}.start-hint{font-size:9px}}@media(max-height:500px)and (orientation:landscape){.game-shell{border:0;border-radius:0;box-shadow:none}.welcome{padding:8px 13%;gap:7%}.welcome-copy{width:50%}.game-logo{width:210px;margin:5px auto}.hero-cat{width:32%;max-width:210px;margin-top:12px}.welcome p,.start-hint{display:none}.welcome .primary{min-height:43px;padding:9px 22px}.touch-controls{background:none;border:0}.result-card{width:350px;padding:12px 27px 8px}.result-top{flex-direction:row;gap:9px}.result-top img{width:33px;height:33px;padding:2px}.result-label{font-size:11px}.result-card h2{font-size:24px;margin:9px 0}.result-card p{font-size:13px;margin-bottom:12px}.result-card .primary{min-height:43px;font-size:16px;margin-bottom:7px}.result-stats{padding:5px 0}.text-button{font-size:12px;min-height:32px}}.overlay{padding:12px;background:#263b4d66;-webkit-backdrop-filter:blur(4px) saturate(.9);backdrop-filter:blur(4px) saturate(.9)}.result-card{width:370px;border-radius:23px;padding:23px 26px 18px;background:radial-gradient(ellipse at 25% 0,#fffefd,transparent 65%),linear-gradient(155deg,#fcf8ee,#eee7d9);box-shadow:inset 0 2px #fffdf7,inset 0 -2px #d3c5af80,0 5px #aa9d874d,0 18px 45px #182e4045}.result-card:before{inset:6px;border-radius:18px;border-color:#d9cbb278;border-top-color:#fffdf7}.result-top{flex-direction:row;gap:8px;min-height:36px}.result-emblem{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:linear-gradient(#fff8e5,#eed6a5);color:#9a7442;border:1px solid #e6d1a9;box-shadow:inset 0 1px #fff,0 2px 3px #7c624016}.result-emblem .icon{width:22px;height:22px}.result-label:empty{display:none}.result-label{font-size:12px;color:#89745a}.result-card h2{font-size:26px;margin:13px 0 9px}.result-card p{font-size:14px;line-height:1.6;margin-bottom:21px}.result-card .primary{font-size:17px;min-height:49px;border-radius:14px;margin-bottom:18px;box-shadow:inset 0 2px #fff3ce,inset 0 -1px #c9a05d,0 4px #ad8650,0 6px 9px #76593618}.result-card .primary:before{inset:3px;border-radius:10px}.result-secondary{display:flex;gap:10px}.result-secondary .text-button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:41px;padding:7px 8px;font-size:13px;border:1px solid #ddd2bd;border-radius:11px;background:linear-gradient(#fffdf5,#f0e9db);box-shadow:inset 0 1px #fff,0 2px #cbbda4;text-decoration:none}.result-secondary .icon{width:17px;height:17px}.result-secondary .text-button:hover{background:#fff9e8}.game-shell[data-state=paused] .result-card{display:grid;grid-template-columns:44px 1fr;column-gap:10px;text-align:left;padding:25px 25px 20px}.game-shell[data-state=paused] .result-top{grid-column:1;grid-row:1/3;align-self:center}.game-shell[data-state=paused] .result-emblem{height:44px;width:44px;background:linear-gradient(#f7f3e9,#e9e1d1);color:#80735f;border-color:#dbd1bf}.game-shell[data-state=paused] .result-card h2{grid-column:2;grid-row:1;margin:0 0 4px;font-size:25px}.game-shell[data-state=paused] .result-card p{grid-column:2;grid-row:2;margin:0;font-size:13px;color:#88775f}.game-shell[data-state=paused] .result-card>.primary{grid-column:1/-1;margin-top:25px}.game-shell[data-state=paused] .result-secondary{grid-column:1/-1}.result-stars{margin:10px 0 14px;gap:14px}.result-stars .icon{width:32px;height:32px}.result-stats{margin-bottom:18px;padding:7px 0;border-color:#e0d3bd;background:#fffdf354}.result-stats strong{font-size:21px}.result-stats span{font-size:12px}.discovery-tease{height:74px;width:74px;margin:14px auto 21px;position:relative;display:grid;place-items:center;color:#997344;border-radius:22px;background:radial-gradient(#fff9db,#ecd7ad);box-shadow:inset 0 2px #fffbed,0 3px #d8bd8a}.discovery-tease>.icon{width:48px;height:48px;stroke-width:1.2}.discovery-tease span{position:absolute;font:700 22px AdventureRounded;left:30px;top:26px;color:#715935}.toast{inset:84px auto auto 19px;display:flex;align-items:center;gap:10px;width:max-content;max-width:calc(100% - 38px);padding:8px 14px 8px 8px;border:1px solid #fff8e9;border-radius:30px;background:linear-gradient(115deg,#fffcf5f5,#f8f2e5ed);box-shadow:0 4px 14px #38483925,inset 0 1px #fff;transform:translateY(-7px);font-size:14px;transition:opacity .18s,transform .24s;pointer-events:none;z-index:4}.toast.visible{transform:translateY(0)}.toast[data-kind]{border-color:#fff9ee;background:linear-gradient(115deg,#fffdf6f7,#f8f2e8ed);color:#63513e}.notice-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#e7dbbf;color:#927448;flex-shrink:0}.notice-icon .icon{width:19px;height:19px}.toast[data-kind=life] .notice-icon{background:linear-gradient(#f5c6c5,#dfa0a3);color:#a3616c;box-shadow:inset 0 1px #ffe3df}.toast[data-kind=life] .notice-icon .icon{fill:#fff5eb;stroke:#a36973;stroke-width:1.5}.notice-copy{display:flex;align-items:baseline;gap:10px;text-align:left}.notice-copy strong{font-size:14px;font-weight:700}.notice-copy small{font-size:11px;color:#86715b}.toast[data-kind=equipment] .notice-icon{background:#e6d4e9;color:#8d6b9d}.context-action{position:absolute;left:50%;bottom:18px;transform:translate(-50%);display:flex;align-items:center;gap:8px;z-index:3;border:1px solid #fffdf3;background:#fffaf0ef;border-radius:24px;padding:9px 17px;min-height:44px;color:#5a654e;font-size:14px;box-shadow:0 3px #aaa98c66,0 5px 14px #38483922;touch-action:none}.context-action:active{transform:translate(-50%) translateY(2px)!important}.context-action .icon{width:18px;height:18px}.journey-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.journey-chapter{padding:20px;border:1px solid #e2d8c5;background:linear-gradient(#fffcf5,#f5efe3);border-radius:23px;box-shadow:0 3px #d9cfba50}.chapter-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;color:#89745b;font-size:12px}.chapter-heading h3{margin:4px 0 0;font-size:21px;color:#5e5143}.chapter-heading>span{background:#eae3d3;padding:6px 10px;border-radius:14px}.chapter-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 12px}.journey-grid .world-card{display:flex;flex-direction:column;gap:0;text-align:center;min-width:0;padding:5px 5px 9px;border:1px solid #dbcfb9;border-radius:15px;box-shadow:0 3px #d0c0a4;overflow:hidden}.journey-grid .world-card.selected{border:2px solid #c5a15e;padding:4px 4px 8px;box-shadow:0 3px #b7975f}.journey-grid .mini-scene{width:100%;height:67px;min-width:0;border-radius:10px;display:grid;place-items:center;position:relative;filter:none}.world-number{font:700 23px/1 system-ui}.guardian-mark{position:absolute;right:7px;bottom:6px;color:#fff8df;filter:drop-shadow(0 1px 2px #584a38)}.guardian-mark .icon{width:21px;height:21px}.journey-grid .world-info{padding:8px 0 0;min-width:0}.journey-grid .world-info h3{font-size:14px;margin:0 0 6px;white-space:nowrap}.journey-grid .world-info p{font-size:11px;margin:0;line-height:1.5}.journey-grid .world-stars{justify-content:center;gap:4px}.journey-grid .world-stars .icon{width:15px;height:15px}.journey-grid .world-lock{font-size:10px;justify-content:center;gap:3px}.journey-grid .world-lock .icon{width:12px;height:12px}.journey-grid .world-card:disabled{opacity:.76;box-shadow:0 3px #c5bda9}.journey-grid .world-card:disabled .mini-scene{filter:saturate(.35)}.chapter-clue{margin:18px 0 0;font-size:12px;color:#8b7558;line-height:1.6;min-height:38px}.chapter-locked .chapter-heading{opacity:.7}.companions{margin:36px 0}.companion-book{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.companion-card{padding:19px;display:flex;align-items:center;gap:14px;border:1px dashed #d5c9b2;border-radius:18px;background:#f7f2e8}.companion-card.found{border-style:solid;background:linear-gradient(130deg,#fffaf0,#eaf0e3);border-color:#cbd3b9}.companion-card h3{font-size:17px;margin:0 0 6px}.companion-card p{font-size:12px;color:#8b7964;line-height:1.5;margin:0}.companion-seal{display:grid;place-items:center;width:45px;height:45px;flex-shrink:0;border-radius:50%;background:#e9e2d3;color:#a28b68}.found .companion-seal{background:#d4e3cc;color:#6b8867}.future-companion{opacity:.7}.companion-card .text-button{white-space:nowrap;font-size:12px}.discovery-dialog{text-align:center;width:380px;max-width:calc(100vw - 28px);padding:33px 29px 25px;overflow:auto}.discovery-caption{font-size:12px;letter-spacing:.1em;color:#9b815a}.discovery-medallion{width:100px;height:100px;display:grid;place-items:center;margin:25px auto 14px;border:1px solid #e4c891;border-radius:50%;background:radial-gradient(circle at 35% 20%,#fff9e4,#f0d39c);box-shadow:inset 0 3px #fffbee,0 5px #c2a16f55,0 12px 26px #c0a36e30}.discovery-medallion .icon{width:55px;height:55px;color:#a47d46;fill:#fff5d6;stroke-width:1.2}.discovery-dialog h2{font-size:32px;margin:17px 0 10px;color:#6b5840}.discovery-dialog p{font-size:14px;line-height:1.7}.discovery-dialog #discovery-after{font-size:13px;margin:18px 0 25px}.discovery-dialog .primary{width:100%;font-size:17px;min-height:49px}.discovery-dialog[open] .discovery-medallion{animation:reunion .45s ease-out}@keyframes reunion{0%{transform:scale(.82) rotate(-8deg);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:800px){.journey-grid{gap:12px}.journey-chapter{padding:14px}.chapter-route{gap:13px 8px}.journey-grid .world-info h3{font-size:12px}.companion-book{grid-template-columns:1fr}.companion-card{padding:15px}.chapter-heading h3{font-size:18px}}@media(max-width:600px){.journey-grid{grid-template-columns:1fr;gap:18px}.journey-grid .world-info h3{font-size:13px}.journey-grid .mini-scene{height:66px}.journey-chapter{padding:15px}.chapter-clue{min-height:0}.result-card{width:300px;padding:15px 20px 13px;border-radius:20px}.result-card h2{font-size:22px;margin:8px 0}.result-card p{font-size:12px;margin-bottom:13px}.result-card .primary{min-height:44px;font-size:16px;margin-bottom:14px}.result-emblem{width:29px;height:29px;border-radius:10px}.result-emblem .icon{width:18px;height:18px}.result-top{min-height:29px}.result-secondary .text-button{min-height:38px;font-size:12px}.game-shell[data-state=paused] .result-card{padding:20px}.game-shell[data-state=paused] .result-card h2{font-size:23px}.game-shell[data-state=paused] .result-card>.primary{margin-top:21px}.result-stats{padding:4px 0;margin-bottom:13px}.result-stats strong{font-size:18px}.result-stars{margin:6px 0 10px}.result-stars .icon{width:26px;height:26px}.discovery-tease{width:54px;height:54px;margin:9px auto 15px;border-radius:16px}.discovery-tease>.icon{width:38px;height:38px}.discovery-tease span{left:22px;top:18px;font-size:17px}.toast{top:66px;left:10px;max-width:calc(100% - 20px);padding:5px 10px 5px 5px;gap:7px}.notice-icon{width:25px;height:25px}.notice-icon .icon{width:16px;height:16px}.notice-copy{gap:7px}.notice-copy strong{font-size:12px}.notice-copy small{font-size:10px}.context-action{bottom:10px;font-size:12px;padding:7px 12px}.companions{margin-top:28px}.discovery-dialog{padding:26px 25px 22px}}@media(max-height:500px)and (orientation:landscape){.result-card{width:350px;padding:13px 23px 12px}.result-top{min-height:28px}.result-emblem{width:28px;height:28px}.result-emblem .icon{width:18px;height:18px}.result-card h2{font-size:23px;margin:8px 0}.result-card p{font-size:13px;margin-bottom:12px}.result-card .primary{min-height:43px;margin-bottom:12px}.result-secondary .text-button{min-height:35px}.result-stats{padding:4px 0;margin-bottom:11px}.result-stars{margin:8px 0}.result-stars .icon{width:26px;height:26px}.discovery-tease{width:48px;height:48px;margin:8px auto 13px}.discovery-tease>.icon{width:33px;height:33px}.discovery-tease span{left:20px;top:16px;font-size:15px}.discovery-dialog{max-height:94vh}.discovery-medallion{width:60px;height:60px;margin:15px auto 8px}.discovery-medallion .icon{width:35px;height:35px}.discovery-dialog h2{margin:10px 0;font-size:26px}.discovery-dialog #discovery-after{margin:9px 0 16px}}@media(prefers-reduced-motion:reduce){.toast{transition:none}.discovery-dialog[open] .discovery-medallion{animation:none}}@media(max-width:600px){.game-shell[data-state=won] .result-card{display:grid;grid-template-columns:1fr 1fr;column-gap:8px;padding:12px 18px 11px}.game-shell[data-state=won] .result-top{display:none}.game-shell[data-state=won] .result-card h2,.game-shell[data-state=won] .result-card p,.game-shell[data-state=won] .result-card>.primary,.game-shell[data-state=won] .result-secondary,.game-shell[data-state=won] .discovery-tease{grid-column:1/-1}.game-shell[data-state=won] .result-card p{display:block;line-height:1.4;margin:0 0 8px}.game-shell[data-state=won] .result-stars{align-self:center;margin:0 0 10px;gap:8px}.game-shell[data-state=won] .result-stats{margin:0 0 10px;padding:0;border:0;background:none;gap:4px}.game-shell[data-state=won] .result-stats>div{display:flex;flex-direction:column;gap:0}.game-shell[data-state=won] .result-stats span{font-size:10px}.game-shell[data-state=won] .result-stats strong{font-size:16px}.game-shell[data-state=won] .result-secondary .text-button{min-height:34px}.game-shell[data-state=won] .discovery-tease{margin:4px auto 13px;width:43px;height:43px;border-radius:13px}.game-shell[data-state=won] .discovery-tease>.icon{width:31px;height:31px}.game-shell[data-state=won] .discovery-tease span{left:18px;top:14px;font-size:14px}.section-heading>span{font-size:11px}}@media(max-height:500px)and (orientation:landscape){.worlds,.companions{display:block;margin:26px 20px}.game-shell:fullscreen .worlds{display:none}}.toast[data-kind=danger],.toast[data-kind=poison]{background:#fff3edf5;color:#9c4744;border-color:#f7c6b5}.toast[data-kind=danger] .notice-icon,.toast[data-kind=poison] .notice-icon{background:#ebada2;color:#803d3c}.welcome{gap:3%;padding:3% 6% 5%;background:linear-gradient(90deg,#fff5dc3b,transparent 68%)}.welcome-copy{width:46%;flex-shrink:0}.welcome .hero-cat{width:47%;max-width:460px;margin:0;flex-shrink:0;isolation:isolate}.hero-cat:before{content:"";position:absolute;inset:10% 4% 12%;background:radial-gradient(ellipse,#fff5db64,transparent 68%);pointer-events:none;z-index:0}.welcome .hero-cat img{width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 14px 12px #444d382e);animation:cover-float 5.5s ease-in-out infinite}.welcome .hero-cat i{left:30%;bottom:0;width:50%;height:5%;filter:blur(12px);background:#43583930}@keyframes cover-float{50%{transform:translateY(-7px) rotate(-1deg)}}.reward-star{display:block;object-fit:contain;filter:grayscale(1) brightness(.85);opacity:.65;flex-shrink:0}.reward-star.collected{filter:drop-shadow(0 2px 1px #7e5c392f);opacity:1}.star-count .reward-star{width:24px;height:24px}.result-stars .reward-star{width:40px;height:40px;stroke:none;fill:none}.result-stars .reward-star.collected{filter:drop-shadow(0 3px 2px #a2773633)}.result-emblem>.reward-star{width:29px;height:29px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.journey-grid{display:flex;flex-direction:column;gap:26px}.journey-chapter{position:relative;padding:22px 0 14px;overflow:hidden;border:1px solid #ddd2bb;border-radius:26px;background:radial-gradient(ellipse at 12% 5%,#fffef9 0,transparent 55%),linear-gradient(155deg,#faf7e9,#e5e8d2);box-shadow:inset 0 2px 1px #fffffff5,inset 0 -3px 2px #b5b69a40,0 5px #c4bca64d,0 14px 25px #6d6c4b10}.journey-chapter[data-chapter="1"]{background:radial-gradient(ellipse at 15% 0,#fffdf6,transparent 52%),linear-gradient(150deg,#f0edf4,#d9e1ed)}.journey-chapter:before{content:"";position:absolute;inset:7px;border:1px solid #fff9e3b0;border-bottom-color:#c2b79d70;border-radius:20px;pointer-events:none;z-index:0}.chapter-heading{position:relative;z-index:1;margin:0 25px 8px;align-items:center}.chapter-eyebrow{font-size:11px;color:#9b855e;letter-spacing:.1em}.chapter-heading h3{font-size:23px;margin:5px 0 0;color:#62513d;text-shadow:0 1px #fffdf6}.chapter-heading>.chapter-count{display:flex;align-items:baseline;gap:4px;background:linear-gradient(#fffdf2,#ede4ca);border:1px solid #d8c8a7;border-radius:14px;padding:8px 13px;font-size:22px;font-weight:700;color:#8f6d3f;box-shadow:inset 0 2px #fffdf7,0 2px #bca78440}.chapter-count small{font-size:12px;color:#8b7c64;font-weight:500}.map-scroll{position:relative;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#c5b28e transparent;scrollbar-width:thin;padding:7px 8px 0}.chapter-route{display:block;position:relative;height:350px;min-width:850px;width:100%;isolation:isolate}.chapter-route:before,.chapter-route:after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:-1}.chapter-route:before{width:40%;height:46%;left:0;top:43%;background:radial-gradient(ellipse,#b4ca8a29,transparent 70%)}.chapter-route:after{width:30%;height:46%;right:3%;top:7%;background:radial-gradient(ellipse,#fffdf599,transparent 70%)}.map-trail{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.map-trail path{fill:none;stroke-linecap:round;stroke-linejoin:round}.trail-shadow{stroke:#a3937255;stroke-width:14;transform:translateY(3px)}.trail-base{stroke:#f9efd7;stroke-width:12}.trail-dots{stroke:#bfaa819c;stroke-width:3;stroke-dasharray:2 10}.trail-progress{stroke:#d9b160;stroke-width:4;stroke-dasharray:2 10;filter:drop-shadow(0 1px 0 #fff1c3)}.journey-grid .world-card{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;width:146px;min-width:0;min-height:0;padding:0;overflow:visible;background:none;border:0;border-radius:22px;box-shadow:none;transform:translate(-50%,-50%);text-align:center;opacity:1;transition:none}.journey-grid .world-card.selected,.journey-grid .world-card:disabled{background:none;border:0;box-shadow:none;padding:0;opacity:1}.journey-grid .world-card:not(:disabled):hover,.journey-grid .world-card:not(:disabled):active{transform:translate(-50%,-50%);border:0;box-shadow:none}.map-stage-art{position:relative;display:block;width:146px;height:132px;z-index:1;pointer-events:none}.map-stage-art:before{content:"";position:absolute;left:19%;right:19%;bottom:8px;height:16px;border-radius:50%;background:#5c674d33;filter:blur(7px)}.map-stage-art .landmark{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 3px #49544124);transition:transform .18s ease,filter .18s ease;position:relative}.world-card:not(:disabled):hover .landmark{transform:translateY(-5px);filter:drop-shadow(0 9px 5px #4954412d)}.world-card:not(:disabled):active .landmark{transform:translateY(-1px)}.stage-index{position:absolute;left:5px;bottom:7px;min-width:38px;height:29px;display:grid;place-items:center;line-height:1;font:700 13px/1 system-ui;border:1px solid #c7b08b;border-radius:10px;background:linear-gradient(#fff8df,#ead4a9);box-shadow:inset 0 1px #fffdf6,0 3px #aa8c5940;color:#765936;text-shadow:0 1px #fff7df}.map-node-plaque{display:flex;flex-direction:column;align-items:center;position:relative;min-width:122px;max-width:146px;padding:10px 9px 8px;margin-top:-5px;border-radius:14px;border:1px solid #cebd9d;background:radial-gradient(ellipse at 30% 0,#fffdf2,transparent 80%),linear-gradient(#f9f1db,#e9ddc1);box-shadow:inset 0 2px #fffdf6,inset 0 -1px #c5ad7d60,0 4px #b59c7055,0 7px 10px #71644614;pointer-events:none}.map-node-plaque:before{content:"";position:absolute;inset:3px;border:1px solid #fff8e08c;border-bottom-color:#c3ac7c40;border-radius:10px;pointer-events:none}.node-name{position:relative;font-size:14px;font-weight:700;color:#66513a;line-height:1.4;white-space:nowrap;text-shadow:0 1px #fffdf4}.journey-grid .world-stars{position:relative;display:flex;justify-content:center;gap:5px;margin:5px 0 3px;min-height:24px}.journey-grid .world-stars .reward-star{height:24px;width:24px;stroke:none;fill:none}.node-status{display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;line-height:1.5;color:#8c795b}.node-status .icon{width:11px;height:11px}.world-card.selected .map-node-plaque{border-color:#bb8b45;background:linear-gradient(#fff6d9,#f0d99f);box-shadow:inset 0 2px #fffced,inset 0 -1px #c0975060,0 4px #aa804d80,0 0 0 3px #fff4cfb0,0 9px 15px #a17e4226}.world-card.selected .node-name{color:#6a4929}.world-card.selected .node-status{color:#8e6637;font-weight:700}.map-cat-marker{position:absolute;right:0;top:5px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#fffdf7,#f4e6c8);border:2px solid #fffdf5;box-shadow:0 2px #c3a875,0 5px 9px #5b553f24}.map-cat-marker:after{content:"";position:absolute;bottom:-6px;width:9px;height:9px;transform:rotate(45deg);background:#f4e6c8;border-right:1px solid #c3a875;border-bottom:1px solid #c3a875;z-index:-1}.map-cat-marker img{width:34px;height:34px;object-fit:contain}.world-card:disabled .landmark{filter:saturate(.68) brightness(.96);opacity:.9}.world-card:disabled .map-node-plaque{background:linear-gradient(#f1eee4,#ded8c9);border-color:#c8c0ad;box-shadow:inset 0 1px #fff8ef,0 3px #b7ad9855}.world-card:disabled .node-name{color:#8a8070}.world-card:disabled .stage-index{background:linear-gradient(#ede7da,#d5c9b2);color:#8d7e67;border-color:#beb29c}.world-card:disabled .reward-star{opacity:.5}.chapter-clue{position:relative;z-index:1;margin:0 26px;padding:11px 0 0;font-size:13px;line-height:1.6;min-height:0;color:#8b7558;border-top:1px solid #c2b59240;text-align:center}.chapter-locked .chapter-heading{opacity:.82}.map-pan-hint{display:none}.companion-card{box-shadow:inset 0 2px #fff9ed,0 3px #c5bca344;background:linear-gradient(145deg,#fffaf0,#ede7d7);border-style:solid;border-color:#d3c6ad}.companion-card.found{box-shadow:inset 0 2px #fffdf3,0 3px #a7b49155;background:linear-gradient(145deg,#fffaf0,#e1e9d4)}@media(max-width:1050px){.welcome .hero-cat{max-width:390px}.journey-grid .world-card{width:136px}.map-stage-art{width:136px;height:124px}.chapter-route{height:340px}}@media(max-width:800px){.welcome{padding:3% 4% 5%}.welcome-copy{width:48%}.welcome .hero-cat{width:49%}.chapter-heading{margin:0 19px 8px}.chapter-heading h3{font-size:21px}.chapter-route{min-width:850px}.map-pan-hint{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin:0 19px;color:#9b896d;font-size:11px}.map-pan-hint .icon{width:12px;height:12px}.map-pan-hint span{margin-left:4px}.chapter-clue{font-size:12px;margin:0 20px}}@media(max-width:600px){.welcome{padding:8px 3% 14px;gap:0}.welcome-copy{width:57%}.welcome .hero-cat{width:49%;margin-left:-4%;margin-top:0}.welcome .hero-cat img{filter:drop-shadow(0 6px 6px #444d382b)}.welcome .hero-cat i{filter:blur(6px)}.journey-grid{gap:22px}.journey-chapter{padding:17px 0 13px;border-radius:22px}.chapter-heading h3{font-size:20px}.chapter-heading>.chapter-count{font-size:20px;padding:6px 10px;border-radius:12px}.chapter-count small{font-size:11px}.chapter-route{height:350px;min-width:850px}.chapter-clue{text-align:left;padding-top:10px}.star-count .reward-star{width:20px;height:20px}.result-stars .reward-star{width:28px;height:28px}.map-scroll{padding-top:7px}.game-shell[data-state=won] .result-stars .reward-star{width:26px;height:26px}}@media(max-height:500px)and (orientation:landscape){.welcome{padding:1% 13% 3%;gap:3%}.welcome-copy{width:47%}.welcome .hero-cat{width:42%;max-width:min(310px,72vh);margin:0}.result-stars .reward-star{width:27px;height:27px}}@media(prefers-reduced-motion:reduce){.welcome .hero-cat img{animation:none}.map-stage-art .landmark{transition:none}}#welcome .release-version{font-size:12px;opacity:.7;padding:4px 8px}:root{color-scheme:light;background:#29434c;--scene-white:#fff9ec;--scene-gold:#ffe1a5}html,body{width:100%;height:100%;overflow:hidden;background:#29434c}body{color:var(--scene-white)}main{width:100%;max-width:none;margin:0;padding:0}body .game-shell,body .game-shell:fullscreen{position:fixed;inset:0;width:100%;height:100dvh;border:0;border-radius:0;box-shadow:none;background:#29434c;overflow:hidden;display:block}body .stage{position:absolute;inset:0;aspect-ratio:auto;max-height:none;height:100%;background:linear-gradient(#203e4f38,#21372b66),url(./assets/world-v4/meadow-background.webp) center/cover}.game-shell[data-theme=cave] .stage{background:linear-gradient(#1d263b66,#18263e88),url(./assets/world-v4/cave-background.webp) center/cover}.game-shell[data-theme=castle] .stage{background:linear-gradient(#36546b44,#354e5588),url(./assets/world-v4/castle-background.webp) center/cover}#game{width:100%;height:100%;object-fit:fill;outline-offset:-4px}body .topbar{position:fixed;z-index:8;top:max(22px,env(safe-area-inset-top));right:max(32px,env(safe-area-inset-right));left:auto;max-width:none;min-height:0;margin:0;padding:0;display:flex;justify-content:flex-end}.topbar .brand{display:none}.topbar nav{gap:13px}.topbar .nav-button{font-size:14px;font-weight:500;letter-spacing:.05em;padding:8px 10px;color:#fff9ec;text-shadow:0 1px 6px #183441}.topbar .nav-button:hover{background:#1d3f4838}.topbar .icon-button{width:38px;height:38px;border:1px solid #fffcdf52;border-radius:50%;background:#253e4d45;color:#fff7e7;box-shadow:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.topbar .icon-button:hover,.topbar .icon-button[aria-pressed=false]{background:#28435199;border-color:#fff5de99}body[data-game-state=ready] .topbar .nav-button{display:none}body .game-topline{position:absolute;left:max(34px,env(safe-area-inset-left));top:max(28px,env(safe-area-inset-top));z-index:3;min-height:30px;height:auto;padding:0;border:0;background:none;pointer-events:none}body[data-game-state=ready] .game-topline{display:none}.world-heading{font-size:14px;color:#fff9ec;gap:10px;text-shadow:0 1px 5px #183441}.world-heading b{width:auto;height:auto;padding:0;background:none;color:#ffe4b4;box-shadow:none;border-radius:0;font-size:14px}body .welcome{padding:7vh 8vw 10vh;gap:3vw;background:linear-gradient(90deg,#132f3f80 0%,#29483938 45%,transparent 76%),linear-gradient(0deg,#163531bd,transparent 30%),url(./assets/world-v4/meadow-background.webp) center/cover;align-items:center;justify-content:space-between}body .welcome-copy{width:43%;max-width:500px;margin:0;flex-shrink:0;text-align:left;z-index:2}body .game-logo{width:min(100%,365px);max-width:100%;margin:0 0 22px -7px}.game-logo img{filter:drop-shadow(0 5px 10px #142f344d)}.chapter-intro{margin:0 0 26px;padding-left:2px}.chapter-number{display:block;color:#ffe0a6;font-size:12px;font-weight:500;letter-spacing:.2em;text-shadow:0 2px 8px #16332a}body .welcome .chapter{display:block;margin:9px 0 0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:#fff9ed;font-size:clamp(25px,2.6vw,38px);font-weight:700;line-height:1.35;letter-spacing:.06em;text-shadow:0 2px 12px #1f3b36b3}body .welcome p{display:block;margin:9px 0 13px;color:#fff9e8;font-size:14px;line-height:1.7;font-weight:500;text-shadow:0 1px 8px #18362b}.selected-level{display:inline-block;color:#e1e8db;font-size:12px;font-weight:500;letter-spacing:.04em;text-shadow:0 1px 6px #18362b}body .welcome #start-button{position:relative;display:flex;justify-content:flex-start;min-height:58px;width:max-content;padding:8px 26px 8px 23px;gap:36px;border:0;border-radius:0;background:linear-gradient(90deg,#fff6d21f,transparent);box-shadow:none;color:#fff8e4;font-size:27px;line-height:1.3;font-weight:700;letter-spacing:.08em;text-shadow:0 2px 12px #143329;transition:color .15s,transform .15s}body .welcome #start-button:before{content:"";position:absolute;inset:23px auto auto 0;width:7px;height:7px;border:0;border-radius:1px;background:#ffe4ad;transform:rotate(45deg);box-shadow:0 0 13px #ffebad80}body .welcome #start-button:after{content:"";position:absolute;left:23px;bottom:1px;width:72%;height:1px;background:linear-gradient(90deg,#ffe3a5,transparent)}body .welcome #start-button:hover{color:#fff;transform:translate(5px);background:linear-gradient(90deg,#fff6d236,transparent);filter:none}body .welcome #start-button:active{transform:translate(7px);box-shadow:none}body .welcome #start-button:disabled{opacity:.55;transform:none}.title-menu{display:flex;align-items:center;gap:26px;margin:13px 0 0 23px}.title-menu button{font-size:15px;font-weight:500;min-height:44px;padding:5px 0;color:#fff4df;text-shadow:0 1px 8px #193928;letter-spacing:.06em}.title-menu button:hover{color:#ffe0a1}body .welcome .hero-cat{width:49%;max-width:min(590px,71vh);margin:0 -1vw 0 0;flex-shrink:0;transform:none}body .welcome .hero-cat img{filter:drop-shadow(0 20px 20px #2443363d)}.welcome .hero-cat:before{background:radial-gradient(ellipse,#fff7d620,transparent 65%)}.title-footer{position:absolute;bottom:max(23px,env(safe-area-inset-bottom));left:8vw;right:8vw;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#f5f4e8;font-size:12px;font-weight:500;text-shadow:0 1px 6px #152f2a}.title-footer .keyboard-hint{display:flex;align-items:center;gap:8px}.title-footer i{height:12px;border-left:1px solid #eee8d752;margin:0 8px}.title-footer small{font-size:11px;color:#f2eed9b3}.title-footer kbd,.map-screen kbd{font:500 10px/1.4 AdventureRounded,sans-serif;color:#f7f4e8;background:none;border:1px solid #fff8df70;border-radius:4px;box-shadow:none;padding:2px 5px;min-width:20px;text-align:center}button:focus-visible,a:focus-visible{outline:2px solid #ffe3a9;outline-offset:5px}body .hud{top:78px;left:max(32px,env(safe-area-inset-left));right:max(32px,env(safe-area-inset-right))}.hero-status,.hud-pill{background:linear-gradient(#1836408c,#1a364065);border-color:#fff8df33;box-shadow:0 3px 12px #12293420;color:#fff7e3;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}#lives{color:#fff6e5}#pause-button{background:#19374670;border:1px solid #fff4d752;color:#fff4da;box-shadow:none;border-radius:50%}body .control-strip{position:absolute;z-index:3;bottom:20px;left:0;right:0;justify-content:center;border:0;background:none;color:#fff5df;padding:0 22px;gap:28px;text-shadow:0 1px 5px #23392d;font-size:12px;pointer-events:none}.control-strip kbd{color:#fff5df;background:#1b374766;border:1px solid #faf3d459;box-shadow:none;min-width:25px;height:25px;font-size:11px;border-radius:5px}.control-strip .control-tip{margin-left:0}.control-strip .skill-copy small{color:#e0e5d7;font-size:10px}.control-strip .skill-locked{opacity:.65}body[data-game-state=ready] .control-strip,body[data-game-state=ready] .touch-controls{display:none!important}body .stage-hint{bottom:76px;background:none;border:0;box-shadow:none;color:#fff8e7;text-shadow:0 1px 6px #243c2d;font-size:13px}body .context-action{bottom:78px}body .toast{top:145px}.overlay{background:#16313c73;-webkit-backdrop-filter:blur(7px) saturate(.8);backdrop-filter:blur(7px) saturate(.8)}dialog.map-screen{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;color:#fff8eb;background:linear-gradient(#142d43bd,#253e50a6 55%,#163340ec),var(--map-background,none) center/cover;overflow-y:auto;overscroll-behavior:contain}dialog.map-screen[data-chapter="1"]{background:linear-gradient(#283049c7,#354959b0 55%,#1e3549ed),var(--map-background,none) center/cover}.map-screen:before{display:none}.map-screen::backdrop{background:#1a3444}.map-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:auto;padding:max(23px,env(safe-area-inset-top)) 4vw 0;color:#fff8e8;font-size:13px;letter-spacing:.1em}.map-back{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px;color:#fff5dd}.map-back .icon{width:19px;height:19px}.map-key-hint{display:flex;align-items:center;gap:7px;color:#f1eddda8;font-size:11px}.map-header>span:nth-child(2){color:#f1eddda8;font-size:12px}.map-content{width:min(1280px,92vw);margin:24px auto 0}.chapter-tabs{display:flex;justify-content:center;gap:44px;margin:0 auto 28px}.chapter-tabs button{position:relative;display:flex;align-items:center;gap:10px;color:#ede9dcc0;min-height:46px;padding:5px 8px;font-size:12px;font-weight:500;border-bottom:1px solid transparent;letter-spacing:.08em}.chapter-tabs button span{font-size:15px;letter-spacing:.06em}.chapter-tabs button[aria-pressed=true]{color:#ffe6b4;border-color:#ffdf9f}.chapter-tabs button:hover{color:#fff8df}.map-screen .worlds{display:block;margin:0;scroll-margin:0}.map-screen #worlds>.section-heading{justify-content:flex-end;margin:0 18px;min-height:0}.map-screen #worlds-heading{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.map-screen #journey-progress{color:#e6eee0a8;font-size:11px}.map-screen .journey-grid{display:block}.map-screen .journey-chapter,.map-screen .journey-chapter[data-chapter="1"]{padding:0;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none}.map-screen .journey-chapter:before{display:none}.map-screen .chapter-heading{margin:0 18px 5px;align-items:flex-end;opacity:1}.map-screen .chapter-eyebrow{font-size:11px;color:#f4d6a5;letter-spacing:.18em}.map-screen .chapter-heading h3{color:#fff8e8;font-size:clamp(30px,3.5vw,46px);line-height:1.3;letter-spacing:.07em;margin:9px 0 0;text-shadow:0 2px 14px #10283c80}.map-screen .chapter-heading>.chapter-count{padding:0 0 4px;background:none;border:0;box-shadow:none;color:#ffe3ad;font-size:29px;gap:7px;font-weight:500}.map-screen .chapter-count small{font-size:11px;color:#efe5cebd}.map-screen .map-scroll{padding:20px 12px 0;scrollbar-color:#f1dda46e transparent}.map-screen .chapter-route{height:370px;min-width:980px}.map-screen .chapter-route:before{left:5%;top:28%;width:85%;height:50%;background:radial-gradient(ellipse,#fff6d81c,transparent 68%)}.map-screen .chapter-route:after{display:none}.map-screen .trail-shadow{stroke:#102e434a;stroke-width:10;transform:translateY(5px)}.map-screen .trail-base{stroke:#ffedc22b;stroke-width:3}.map-screen .trail-dots{stroke:#fff0cb85;stroke-width:2;stroke-dasharray:1 13}.map-screen .trail-progress{stroke:#ffde91;stroke-width:3;stroke-dasharray:2 11;filter:drop-shadow(0 0 3px #ffe8ab73)}.map-screen .journey-grid .world-card{width:166px}.map-screen .map-stage-art{width:166px;height:150px}.map-screen .map-stage-art:before{background:#0c263f52;bottom:3px;filter:blur(10px)}.map-screen .map-stage-art .landmark{filter:drop-shadow(0 10px 7px #0c253c50)}.map-screen .world-card:not(:disabled):hover .landmark{filter:drop-shadow(0 13px 12px #142c3d6b);transform:translateY(-6px)}.map-screen .stage-index{left:7px;bottom:8px;height:25px;min-width:34px;font-size:11px;color:#fff5dc;background:#1a334ac9;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid #e7ddbd66;border-radius:6px;box-shadow:0 3px 7px #0d283c33;text-shadow:none}.map-screen .map-node-plaque,.map-screen .world-card:disabled .map-node-plaque{min-width:146px;max-width:166px;padding:13px 9px 8px;margin-top:-1px;border:0;border-radius:0;background:none;box-shadow:none}.map-screen .map-node-plaque:before{inset:0 16px auto;height:1px;border:0;border-radius:0;background:linear-gradient(90deg,transparent,#fff2d250,transparent)}.map-screen .node-name{font-size:15px;line-height:1.4;color:#fff8e7;text-shadow:0 2px 7px #10273c;letter-spacing:.02em}.map-screen .node-status{font-size:11px;color:#d6decd;letter-spacing:.03em}.map-screen .journey-grid .world-stars{gap:5px;margin:6px 0 4px}.map-screen .reward-star{filter:grayscale(1) brightness(1.18);opacity:.45}.map-screen .reward-star.collected{filter:drop-shadow(0 2px 4px #20374580);opacity:1}.map-screen .world-card.selected .map-node-plaque{border:0;background:radial-gradient(ellipse at 50% 0,#fff0bd21,transparent 75%);box-shadow:none}.map-screen .world-card.selected .node-name{color:#ffe0a1}.map-screen .world-card.selected .node-status{color:#ffe4b1;font-weight:500}.map-screen .world-card.selected .map-node-plaque:before{background:linear-gradient(90deg,transparent,#ffdf9b,transparent)}.map-screen .map-cat-marker{border-color:#fff6df;background:linear-gradient(#fffaf0,#eadab9);box-shadow:0 2px #ad966b,0 6px 10px #15334644}.map-screen .world-card:disabled .landmark{filter:saturate(.68) brightness(.94) drop-shadow(0 9px 6px #11283d4d);opacity:.83}.map-screen .world-card:disabled .node-name{color:#e6e8e2}.map-screen .world-card:disabled .stage-index{background:#20394bb8;color:#d6d9d2;border-color:#c9cdb745}.map-screen .world-card:disabled .reward-star{opacity:.36}.map-screen .chapter-clue{padding:8px 0 0;border:0;margin:0 20px;text-align:center;font-size:13px;color:#ede9d6;letter-spacing:.04em;text-shadow:0 1px 6px #213542}.map-screen .map-pan-hint{color:#e3e5d2b8;margin-right:18px}.map-screen .companions{margin:42px 18px 0;padding-top:22px;border-top:1px solid #f6e6b626}.map-screen .section-heading h2{color:#f7ecd5;font-size:17px;font-weight:500;letter-spacing:.08em}.map-screen .companion-card,.map-screen .companion-card.found{padding:16px 0;border:0;border-radius:0;background:none;box-shadow:none;gap:13px}.map-screen .companion-card h3{color:#f7ecd5;font-size:14px;font-weight:500}.map-screen .companion-card p{color:#d1d7cd;font-size:11px}.map-screen .companion-seal{color:#dbd0b7;background:#e9e2d31a;border:1px solid #e9e2d336}.map-screen .companion-card .text-button{color:#ffe5ad}.map-screen .future-companion{opacity:.65}.map-screen .map-footer{text-align:center;padding:30px 20px 24px;color:#d2dacbb0;font-size:11px;letter-spacing:.04em}@media(max-width:1050px){body .welcome{padding:8vh 7vw 11vh}body .game-logo{width:290px;margin-bottom:19px}.chapter-intro{margin-bottom:18px}body .welcome p{font-size:13px}body .welcome #start-button{font-size:25px;min-height:53px}.title-menu{margin-top:9px}.title-footer{left:7vw;right:7vw}body .control-strip{gap:18px}.map-screen .chapter-route{height:370px}}@media(max-width:800px){body .topbar{top:max(16px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right))}.topbar nav{gap:8px}body .welcome .hero-cat{width:49%;max-width:54vh}.chapter-number{font-size:10px}body .welcome .chapter{font-size:28px}.title-menu{gap:20px}.title-menu button{font-size:14px}.title-footer{font-size:11px}.title-footer small{display:none}body .game-topline{left:20px;top:26px}.topbar .nav-button{font-size:12px;padding:6px}.map-header{padding:18px 5vw 0}.map-content{width:94vw;margin-top:18px}.chapter-tabs{gap:24px;margin-bottom:24px}.chapter-tabs button{flex-direction:column;gap:5px}.chapter-tabs button span{font-size:14px}.map-screen .chapter-heading h3{font-size:32px}.map-screen .chapter-count{display:none!important}.map-screen .chapter-heading{margin-top:15px}.map-screen #journey-progress{font-size:10px}.map-screen .companions{margin-top:30px}.map-screen .companion-book{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.map-screen .companion-card{align-items:flex-start;flex-direction:column}}@media(max-width:600px)and (orientation:portrait){body .welcome{padding:54px 7vw 66px;display:flex;flex-direction:column;justify-content:center;gap:0;background:linear-gradient(0deg,#163a36eb,#26453f66 45%,transparent 80%),url(./assets/world-v4/meadow-background.webp) 59% center/cover}body .welcome-copy{width:100%;max-width:none;display:flex;flex-direction:column;align-items:center;text-align:center;position:static}body .game-logo{position:absolute;top:6vh;left:50%;transform:translate(-50%);width:min(56vw,28vh);margin:0}body .welcome .hero-cat{position:absolute;top:26vh;left:50%;transform:translate(-50%);width:min(64vw,31vh);height:auto;margin:0;max-width:none}.chapter-intro{position:relative;margin:39vh 0 10px}.chapter-number{font-size:10px;letter-spacing:.13em}body .welcome .chapter{font-size:26px;margin:6px 0 0}body .welcome p{display:none}.selected-level{font-size:11px;margin-top:8px}body .welcome #start-button{font-size:25px;min-height:53px;gap:20px;padding-left:22px;padding-right:12px}.title-menu{margin:6px 0 0;gap:32px}.title-menu button{font-size:13px;min-height:42px}.title-footer{bottom:max(20px,env(safe-area-inset-bottom));left:12px;right:12px;justify-content:center;font-size:10px}.title-footer .keyboard-hint{display:none}.title-footer .touch-hint{display:block}body .topbar{top:max(16px,env(safe-area-inset-top));right:18px}.topbar nav{gap:9px}.topbar .icon-button{height:34px;width:34px}.topbar .icon-button .icon{width:17px;height:17px}.topbar #help-button{display:none}.topbar #map-button{display:block}.topbar .nav-button{font-size:12px}body .game-topline{top:24px;left:18px}.world-heading{font-size:12px;gap:7px}.world-heading b{font-size:12px}body .hud{top:72px;left:15px;right:15px}.hero-status{padding:5px 8px 5px 4px}.hero-status>img{width:31px}.collectibles{gap:6px}.hud-pill{padding:4px 6px}.hud-left{gap:8px}body .control-strip{display:none}body .touch-controls{position:absolute;bottom:max(26px,env(safe-area-inset-bottom));left:18px;right:18px;padding:0;gap:10px;border:0;background:none;display:flex;justify-content:space-between;z-index:6;pointer-events:none}body .touch-controls button{pointer-events:auto;border:1px solid #fff3d25e;color:#fff6e6;background:linear-gradient(#304f5bd4,#1d3b49cf);box-shadow:inset 0 1px #ffffff25,0 4px 14px #132c3c3d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:50%;height:54px;min-width:46px}body .touch-controls .jump-button{width:65px;height:65px;border-color:#fff5dca3;color:#233b40;background:linear-gradient(#fff7e1,#dfdec6);box-shadow:inset 0 2px #fff9ec,0 4px 15px #15344355;font-size:15px}body .touch-controls .candy-button{width:48px;color:#fff2de;background:linear-gradient(#b49ac09e,#584f7aaf);border-color:#edceef6e}.touch-controls .candy-button.skill-locked{opacity:.6}body .touch-controls #run-toggle{color:#f7e9c9;background:none;border:0;box-shadow:none;width:31px;min-width:31px;font-size:11px;-webkit-backdrop-filter:none;backdrop-filter:none}body .touch-controls #run-toggle[aria-pressed=true]{color:#ffe0a1}.touch-move,.touch-action{gap:8px}.touch-move button{width:48px}body .context-action{bottom:120px}body .stage-hint{bottom:125px;font-size:11px}body .toast{top:133px;left:15px}.map-header>span:nth-child(2){display:none}.map-screen .map-key-hint{visibility:hidden}.map-screen .chapter-heading h3{font-size:30px}.map-screen .map-scroll{padding-top:18px}.map-screen .chapter-route{height:350px}.map-screen .map-stage-art{height:140px}.map-screen .chapter-clue{font-size:12px;text-align:left;line-height:1.8}.map-screen .companion-book{grid-template-columns:1fr}.map-screen .companion-card{flex-direction:row;padding:12px 0;align-items:center}.map-screen .companions{margin-top:27px}.map-screen .chapter-tabs{gap:24px}.map-screen .chapter-tabs button{min-width:115px}.map-screen .map-footer{padding-bottom:26px}}@media(max-height:670px)and (orientation:portrait){body .game-logo{top:6vh;width:min(52vw,28vh)}body .welcome .hero-cat{top:26vh;width:25vh}.chapter-intro{margin-top:35vh}body .welcome .chapter{font-size:23px}.title-menu{margin-top:0}.title-footer{bottom:12px}}@media(max-height:550px)and (orientation:landscape){body .topbar{display:flex;top:12px;right:20px}.topbar .icon-button{height:31px;width:31px}.topbar .nav-button{font-size:11px}body .welcome{padding:25px 10vw 45px}body .welcome-copy{width:48%}body .game-logo{width:210px;margin:0 0 9px}body .welcome .hero-cat{width:42%;max-width:69vh;margin:0}body .welcome .chapter{font-size:25px;margin-top:4px}.chapter-number{font-size:9px}body .welcome p{display:none}.chapter-intro{margin-bottom:9px}.selected-level{font-size:10px;margin-top:7px}body .welcome #start-button{font-size:22px;min-height:44px}.title-menu{margin-top:4px}.title-menu button{font-size:12px;min-height:36px}.title-footer{left:10vw;bottom:12px;font-size:10px}.title-footer small,.title-footer .keyboard-hint{display:none}.title-footer .touch-hint{display:block}body .game-topline{left:20px;top:18px}body .hud{top:56px;left:20px;right:20px}body .control-strip{display:none}body .touch-controls{display:flex;position:absolute;bottom:max(14px,env(safe-area-inset-bottom));left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));border:0;background:none;padding:0;z-index:6;pointer-events:none}body .touch-controls button{pointer-events:auto;color:#fff8e6;background:#234652b0;border:1px solid #ffefcf75;box-shadow:0 3px 9px #16314644;border-radius:50%;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}body .touch-controls .jump-button{color:#294046;background:linear-gradient(#fff7e1,#dbddc8);border-color:#fff5dc;box-shadow:0 3px 9px #16314644}.touch-controls .candy-button.skill-locked{opacity:.6}body .touch-controls #run-toggle{background:#25445166;color:#fff3dd}body .stage-hint{bottom:22px;font-size:11px}body .toast{top:112px}.map-header{padding-top:8px}.map-content{margin-top:8px}.chapter-tabs{margin-bottom:8px}.map-screen .chapter-heading h3{font-size:28px}.map-screen .chapter-heading{margin-top:5px}}@media(prefers-reduced-motion:reduce){body .welcome #start-button,.title-menu button{transition:none}body .welcome #start-button:hover{transform:none}}@media(max-height:380px)and (orientation:landscape){body .game-logo{width:160px;margin-bottom:7px}body .welcome .chapter{font-size:21px}.chapter-number{font-size:9px}.chapter-intro{margin-bottom:5px}.selected-level{display:none}body .welcome #start-button{font-size:20px;min-height:40px}.title-menu{margin-top:0}.title-menu button{min-height:33px}.title-footer{font-size:9px;bottom:8px}}.welcome:before{content:"";position:absolute;inset:27% 54% 14% 0;pointer-events:none;background:radial-gradient(ellipse at 34% 54%,#193c3b66,transparent 72%)}.level-preview{display:flex;flex-direction:column;gap:7px;margin:12px 0 0 23px}.level-preview .selected-level{display:block;margin:0;color:#fff3d9;font-size:14px;line-height:1.5;letter-spacing:.03em;text-shadow:0 2px 3px #18392c99}body .welcome .level-preview p{display:block;margin:0;color:#e5ecdd;font-size:13px;font-weight:500;line-height:1.6;text-shadow:0 2px 3px #18392c99}body .welcome .chapter{font-weight:500;text-shadow:0 2px 5px #18392c80}.title-menu{margin-top:24px}.title-menu button{text-shadow:0 2px 3px #18392c99}@media(min-width:801px)and (min-height:551px){.chapter-number{font-size:clamp(12px,.88vw,15px);letter-spacing:.14em}.chapter-intro{margin-bottom:29px}body .welcome .chapter{font-size:clamp(28px,2vw,34px);letter-spacing:.04em;margin-top:10px}body .welcome #start-button{font-size:clamp(30px,2.15vw,38px);min-height:64px;letter-spacing:.055em;gap:38px;text-shadow:0 2px 4px #173c2c99}body .welcome #start-button:before{top:28px;width:7px;height:7px}body .welcome #start-button .icon{width:24px;height:24px}.level-preview .selected-level{font-size:clamp(14px,.95vw,17px)}body .welcome .level-preview p{font-size:clamp(13px,.88vw,16px)}.title-menu{gap:30px;margin-top:24px}.title-menu button{font-size:clamp(16px,1.05vw,19px)}.title-footer{font-size:clamp(12px,.95vw,16px);text-shadow:0 2px 4px #112e27}.title-footer kbd{font-size:clamp(11px,.75vw,13px);min-width:27px;padding:3px 6px}.title-footer small{font-size:12px;color:#f2eed9cc}.map-screen .chapter-eyebrow{font-size:12px}.map-screen .node-name{font-size:16px}.map-screen .node-status,.map-screen #journey-progress,.map-screen .chapter-count small{font-size:12px}}@media(max-width:800px)and (min-height:551px){.level-preview{margin-top:8px;gap:5px}.title-menu{margin-top:17px}.level-preview .selected-level{font-size:13px}body .welcome .level-preview p{font-size:12px}}@media(max-width:600px)and (orientation:portrait){.welcome:before{inset:48% 0 10%;background:radial-gradient(ellipse at 50% 50%,#183c3b4d,transparent 72%)}.level-preview{margin:5px 0 0}.level-preview .selected-level{font-size:12px}body .welcome .level-preview p{display:none}.title-menu{margin-top:9px}.chapter-intro{margin-bottom:9px}}@media(max-height:550px)and (orientation:landscape){.level-preview{margin-top:4px;gap:0}.level-preview .selected-level{font-size:11px}body .welcome .level-preview p{display:none}.title-menu{margin-top:7px}.welcome:before{inset:20% 50% 10% 0}}@media(max-height:380px)and (orientation:landscape){.level-preview{display:none}.title-menu{margin-top:0}}body .welcome-copy{max-width:540px}body .game-logo{width:min(100%,500px,57vh);margin:0 0 27px -7px}.chapter-intro{display:flex;align-items:baseline;gap:12px;margin:0 0 28px;padding-left:1px}body .chapter-number,body .welcome .chapter{display:inline;margin:0;padding:0;color:#f1ebda;font-size:17px;font-weight:500;line-height:1.5;letter-spacing:.05em;text-shadow:0 2px 4px #193b3b99;white-space:nowrap}.chapter-number:after{content:"\b7";margin-left:12px;color:#fff2d180}body .welcome #start-button,body .title-menu button{font-size:25px;font-weight:500;line-height:1.4;letter-spacing:.06em;text-shadow:0 2px 4px #193b3b99}body .welcome #start-button{min-height:52px;padding:7px 20px 7px 23px;color:#ffe3a5;background:none}body .welcome #start-button .icon,body .welcome #start-button:after{display:none}body .welcome #start-button:before{top:22px}body .welcome #start-button:hover{background:none;transform:none;color:#fff3ce}body .welcome #start-button:active{transform:translate(2px)}body .title-menu{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:2px 0 0 23px}body .title-menu button{position:relative;min-height:48px;padding:7px 0;color:#eef3e7;opacity:.82}body .title-menu button:hover,body .title-menu button:focus-visible{opacity:1;color:#ffe3a5}.title-menu button:before{content:"";position:absolute;left:-23px;top:22px;width:7px;height:7px;transform:rotate(45deg);background:#ffe3a5;opacity:0;box-shadow:0 0 12px #ffe3a54d}.title-menu button:focus-visible:before{opacity:1}.welcome-copy:has(.title-menu button:focus-visible) #start-button{color:#eef3e7;opacity:.82}.welcome-copy:has(.title-menu button:focus-visible) #start-button:before{opacity:0}.help-current-level{padding:13px 15px;margin:0 0 22px;background:#d6c7a921;border-radius:10px;border-left:2px solid #b9a074}.help-current-level .selected-level{color:#65533e;font-size:14px;font-weight:700;text-shadow:none;letter-spacing:0;white-space:normal}.help-current-level p{font-size:13px;margin:7px 0 0;text-shadow:none;color:#796b56}@media(min-width:1600px)and (min-height:751px){body .welcome #start-button,body .title-menu button{font-size:28px;min-height:56px}.chapter-intro{margin-bottom:32px}body .chapter-number,body .welcome .chapter{font-size:19px}.title-menu button:before,body .welcome #start-button:before{top:24px}}@media(max-width:1050px){body .game-logo{width:min(100%,390px,50vh);margin-bottom:22px}body .welcome #start-button,body .title-menu button{font-size:23px;min-height:46px}.chapter-intro{gap:10px;margin-bottom:20px}body .chapter-number,body .welcome .chapter{font-size:15px}.chapter-number:after{margin-left:10px}.title-menu button:before,body .welcome #start-button:before{top:20px}}@media(max-width:600px)and (orientation:portrait){body .game-logo{top:6vh;left:50%;width:min(70vw,35vh);margin:0;transform:translate(-50%)}body .welcome .hero-cat{top:29vh;width:min(61vw,28vh)}.chapter-intro{margin:40vh 0 10px;padding:0;gap:8px;justify-content:center}body .chapter-number,body .welcome .chapter{font-size:14px}.chapter-number:after{margin-left:8px}body .welcome #start-button,body .title-menu button{font-size:22px;min-height:44px}body .welcome #start-button{padding:6px 20px 6px 23px}body .title-menu{align-items:center;margin:0;gap:0}.title-menu button:before{left:-19px;top:18px}body .welcome #start-button:before{top:18px}}@media(max-height:670px)and (orientation:portrait){body .game-logo{top:5vh;width:min(64vw,34vh)}body .welcome .hero-cat{top:29vh;width:24vh}.chapter-intro{margin-top:35vh}body .welcome #start-button,body .title-menu button{font-size:20px;min-height:39px}.title-footer{font-size:9px}}@media(max-height:550px)and (orientation:landscape){body .game-logo{width:min(260px,55vh);margin-bottom:12px}.chapter-intro{margin-bottom:12px;gap:9px}body .chapter-number,body .welcome .chapter{font-size:13px}.chapter-number:after{margin-left:9px}body .welcome #start-button,body .title-menu button{font-size:20px;min-height:38px;padding-top:4px;padding-bottom:4px}body .title-menu{margin-top:1px;gap:0}.title-menu button:before,body .welcome #start-button:before{top:16px}}@media(max-height:380px)and (orientation:landscape){body .game-logo{width:170px;margin-bottom:8px}.chapter-intro{margin-bottom:7px}body .welcome #start-button,body .title-menu button{font-size:18px;min-height:33px}.title-menu button:before,body .welcome #start-button:before{top:13px}}.level-loading{position:absolute;inset:0;z-index:7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:linear-gradient(145deg,#253c50,#162b42);color:#f4eddf;font-size:20px}.level-loading progress{width:min(280px,65vw);height:5px;accent-color:#f3d994}:root{--glass-fill:linear-gradient(145deg,#45627cdb,#203c51d9 65%,#182f45e8);--glass-edge:#ecf6ff26;--glass-light:inset 0 1px 0 #fff5, inset 0 -1px 0 #081e3e40;--ui-white:#fffaf1;--ui-muted:#d4e2e7;--ui-accent:#ffe3b1}#welcome{padding:6vh 7.5vw 9vh;gap:6vw;background:linear-gradient(90deg,#17334070,transparent 66%),linear-gradient(0deg,#12352f9c,transparent 34%),url(./assets/world-v4/meadow-background.webp) center/cover}#welcome:before{inset:24% 53% 14% 0;background:radial-gradient(ellipse at 51% 57%,#173f4159,transparent 72%)}#welcome .welcome-copy{width:min(42vw,560px);max-width:none;display:flex;flex-direction:column;align-items:center;text-align:center;margin:0;position:relative;transform:translateY(-1vh)}#welcome .game-logo{position:static;width:min(100%,59vh);max-width:100%;margin:0;transform:none;line-height:0}#welcome .game-logo img{filter:drop-shadow(0 9px 15px #18332a40)}#welcome .chapter-intro{margin:18px 0 28px;gap:10px;justify-content:center;padding:0}#welcome .chapter-number,#welcome .chapter{font-size:clamp(14px,1.05vw,18px);font-weight:500;line-height:1.5;letter-spacing:.08em;color:#f0f0df;text-shadow:0 2px 6px #19393f80;margin:0;white-space:nowrap}#welcome .chapter-number:after{margin-left:10px;color:#e6e7d682}#welcome .home-actions{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:240px;max-width:100%;margin:0}#welcome .home-actions .home-action{display:flex;align-items:center;justify-content:center;position:relative;width:100%;min-height:50px;margin:0;padding:8px 30px;border:0;border-radius:7px;box-shadow:none;background:none;color:#edf3e9;font:500 clamp(20px,1.4vw,24px)/1.4 AdventureRounded,"PingFang SC",sans-serif;letter-spacing:.1em;text-shadow:0 2px 8px #193b3b70;opacity:.92;transition:background .15s,color .15s}#welcome .home-actions #start-button{color:#fff0c8;opacity:1;background:linear-gradient(90deg,transparent,#e9f5e511 48%,transparent)}#welcome .home-action:after{display:none}#welcome .home-actions .home-action:before{content:"";position:absolute;inset:50% auto auto 23px;width:6px;height:6px;border:0;border-radius:1px;transform:translateY(-50%) rotate(45deg);background:#ffe5ac;box-shadow:0 0 12px #ffedb34d;opacity:0}#welcome #start-button:before{opacity:1}#welcome .home-actions .home-action:hover,#welcome .home-actions .home-action:focus-visible{color:#fff3cd;opacity:1;background:linear-gradient(90deg,transparent,#f3f5de24,transparent);transform:none}#welcome .home-action:focus-visible{outline:1px solid #fff4ce80;outline-offset:2px}#welcome .home-action:focus-visible:before{opacity:1}#welcome .home-actions:has(button:focus-visible) #start-button:not(:focus-visible){color:#edf3e9;background:none}#welcome .home-actions:has(button:focus-visible) #start-button:not(:focus-visible):before{opacity:0}#welcome .home-action:disabled{opacity:.5}#welcome .hero-cat{width:47%;max-width:min(610px,71vh);margin:0 -1vw 0 0}#welcome .title-footer{font-size:12px;color:#e8eee6c9}#welcome .title-footer kbd{font-size:11px;min-width:23px}.hud-left{gap:16px;align-items:center}body .hero-status,body .hud-pill{border:1px solid var(--glass-edge);background:linear-gradient(145deg,#36566fca,#213c57df);box-shadow:var(--glass-light),0 6px 18px #15354a26;backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2)}body .hero-status{border-radius:19px;padding:7px 14px 7px 5px;gap:9px}body .hero-status>img{width:47px;height:49px;object-fit:contain;filter:drop-shadow(0 3px 3px #15334440)}body .health-icons{display:flex;gap:3px;align-items:center}.health-heart{display:block;width:25px;height:25px;object-fit:contain;filter:drop-shadow(0 2px 2px #26394759)}.health-heart.empty{filter:grayscale(1) brightness(.8);opacity:.36}body #lives{color:#eff5f3;font-size:12px;font-weight:500;margin-top:3px;letter-spacing:.04em}body .collectibles{padding:0;gap:9px}body .hud-pill{min-height:47px;padding:6px 10px;border-radius:15px;gap:7px}.hud-coin{width:29px;height:29px;object-fit:contain;filter:drop-shadow(0 2px 3px #584b2459)}body .hud-pill b{font:700 21px/1.1 AdventureRounded,sans-serif;color:#fffaeb;font-variant-numeric:tabular-nums}body .star-count{gap:3px}.hud .reward-star{width:23px;height:25px;object-fit:contain}body #pause-button{margin-top:7px;border:1px solid #ffffff35;background:linear-gradient(145deg,#7093a56b,#26475a99);box-shadow:var(--glass-light),0 4px 14px #17384a26;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}body #toast,body #toast[data-kind]{left:max(32px,env(safe-area-inset-left));top:155px;max-width:calc(100% - 64px);padding:6px 18px 6px 8px;gap:10px;border:1px solid #f4f8ff30;border-radius:18px;background:var(--glass-fill);color:var(--ui-white);box-shadow:var(--glass-light),0 10px 26px #152f4a30;backdrop-filter:blur(22px) saturate(1.25);-webkit-backdrop-filter:blur(22px) saturate(1.25);text-shadow:0 1px 3px #10284040}#toast .notice-icon,#toast[data-kind] .notice-icon{width:43px;height:43px;border:0;border-radius:0;background:none;box-shadow:none;color:#f3deb5}.notice-art{width:43px;height:43px;object-fit:contain;filter:drop-shadow(0 3px 3px #1b2e4a4d)}#toast .notice-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px}#toast .notice-copy strong{font-size:14px;font-weight:500;line-height:1.5}#toast .notice-copy small{font-size:11px;color:#d5e3e6}#toast[data-kind=danger],#toast[data-kind=poison]{background:linear-gradient(135deg,#705568dd,#42384eeb)}.touch-candy-art{width:34px;height:28px;object-fit:contain;filter:drop-shadow(0 2px 3px #27304755)}body .context-action{color:#fff3db;border:1px solid #fff8e34a;background:var(--glass-fill);box-shadow:var(--glass-light),0 6px 18px #16364a33;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-weight:500}#overlay{padding:24px;background:linear-gradient(120deg,#1733496b,#142b466e);backdrop-filter:blur(9px) saturate(.86);-webkit-backdrop-filter:blur(9px) saturate(.86)}#overlay .result-card{position:relative;display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:28px;width:min(720px,100%);max-height:calc(100dvh - 48px);overflow:auto;padding:40px 42px 36px 28px;border:1px solid #f1f7ff38;border-radius:28px;background:radial-gradient(ellipse at 8% 5%,#c6e1ec26,transparent 65%),linear-gradient(140deg,#3c5b72df,#233d58ed 72%);box-shadow:var(--glass-light),0 25px 80px #0e21364d;text-align:left;color:var(--ui-white)}#overlay .result-card:before{display:none}.result-character{width:100%;height:auto;filter:drop-shadow(0 12px 12px #122a4640)}.result-main{min-width:0}#overlay .result-top{display:flex;min-height:0;gap:9px;align-items:center;justify-content:flex-start;margin:0 0 10px}#overlay .result-emblem{width:24px;height:24px;background:none;box-shadow:none;border:0;border-radius:0;color:#f4dfb6}#overlay .result-emblem img{width:24px;height:24px;object-fit:contain}#overlay .result-label{font-size:12px;color:#e0e9e8;font-weight:500;letter-spacing:.07em}#overlay .result-card h2{font:700 clamp(25px,2vw,30px)/1.4 AdventureRounded,sans-serif;letter-spacing:.035em;margin:0 0 10px;color:#fffaf1}#overlay .result-card p{display:block;font-size:14px;line-height:1.75;font-weight:500;margin:0 0 26px;color:#d7e5e9}#overlay .result-card .primary,.glass-action{display:flex;justify-content:center;align-items:center;gap:20px;width:100%;min-height:50px;margin:0 0 8px;padding:12px 18px;border:1px solid #f5ffff54;border-radius:12px;background:linear-gradient(135deg,#f5fcf4ed,#d6e8e9e6);box-shadow:inset 0 1px #fff9,0 6px 16px #142d4233;color:#294454;font-size:17px;font-weight:700;letter-spacing:.06em;text-shadow:0 1px #fff4;transition:filter .15s}#overlay .result-card .primary:before,#overlay .result-card .primary:after{display:none}#overlay .result-card .primary:hover,.glass-action:hover{background:linear-gradient(135deg,#fffef3,#e6f4f3);filter:brightness(1.03)}#overlay .result-card .primary:active,.glass-action:active{transform:translateY(1px);box-shadow:inset 0 1px #fff9,0 3px 9px #142d4233}#overlay .result-secondary{display:flex;flex-direction:column;gap:0;margin:5px 0 0}#overlay .result-secondary .text-button{border:0;border-radius:8px;background:none;box-shadow:none;text-shadow:none;color:#dfebeb;min-height:42px;font-size:15px;font-weight:500;padding:8px 12px;gap:9px;justify-content:center;letter-spacing:.04em}#overlay .result-secondary .text-button:hover{background:#ffffff0c;color:#fff3d4}#overlay .result-secondary .icon{width:16px;height:16px;opacity:.8}.game-shell[data-state=paused] #overlay .result-top{display:none}#overlay .result-stars:empty{display:none}#overlay .result-stars{justify-content:flex-start;gap:12px;margin:0 0 18px}#overlay .result-stars .reward-star{width:38px;height:38px}#overlay .result-stats{background:none;border:0;justify-content:flex-start;gap:30px;padding:0;margin:0 0 22px}#overlay .result-stats>div{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:0;gap:4px}#overlay .result-stats span{color:#c5d6df;font-size:12px}#overlay .result-stats strong{color:#fff1cd;font-size:22px;font-weight:500}#overlay .discovery-tease{background:#cfe5ea17;border:1px solid #edf6ff26;box-shadow:inset 0 1px #fff3;color:#f6dfb5;margin:8px 0 22px}#overlay .discovery-tease span{color:#f6dfb5}#help-dialog{position:fixed;inset:0;margin:auto;width:min(1050px,92vw);height:min(690px,90dvh);max-width:none;max-height:none;padding:0;border:1px solid #f3f7ff3b;border-radius:26px;overflow:hidden;background:radial-gradient(ellipse at 8% 10%,#91a9c42b,transparent 60%),linear-gradient(135deg,#3d5c75e8,#213950f5);color:var(--ui-white);box-shadow:var(--glass-light),0 25px 90px #0d253959;backdrop-filter:blur(28px) saturate(1.1);-webkit-backdrop-filter:blur(28px) saturate(1.1)}#help-dialog[open]{display:flex;flex-direction:column}#help-dialog:before{display:none}#help-dialog::backdrop{background:#132d4666;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.guide-header{display:flex;align-items:center;justify-content:space-between;padding:18px 28px 6px;flex-shrink:0}#help-dialog .guide-header h2{margin:0;font-size:16px;line-height:1.5;letter-spacing:.08em;color:#e9f1ee;font-weight:500}.guide-close{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#d9e8ed;background:#d7e9ff0b}.guide-close:hover{background:#d7e9ff20;color:#fff}.guide-close .icon{width:20px;height:20px}.guide-tabs{display:flex;gap:30px;justify-content:center;padding:0 24px;border-bottom:1px solid #f0f7ff16;flex-shrink:0}.guide-tabs button{position:relative;font-size:15px;letter-spacing:.1em;min-height:46px;min-width:64px;padding:10px;color:#c6d7e1;white-space:nowrap}.guide-tabs button[aria-selected=true]{color:#fff0cd}.guide-tabs button[aria-selected=true]:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;background:#ffe4b7;box-shadow:0 0 13px #ffdb844d}.guide-tabs button:hover{color:#fff8df}.guide-pages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e8effb55 transparent}.guide-page{display:grid;grid-template-columns:46% minmax(0,1fr);gap:24px;align-items:center;min-height:100%;padding:26px 48px 22px 25px}.guide-art{position:relative;aspect-ratio:1;max-height:370px;isolation:isolate}.guide-art:before{content:"";position:absolute;inset:5% 0;border-radius:50%;background:radial-gradient(ellipse,#c2e8e631,transparent 68%);z-index:-1}.guide-art img{position:absolute;object-fit:contain;filter:drop-shadow(0 12px 13px #142a4840)}.guide-platform{width:92%;left:4%;bottom:-6%}.guide-jumping-cat{width:83%;left:3%;top:-3%;transform:rotate(-5deg)}.guide-floating-star{width:16%;right:1%;top:15%;transform:rotate(13deg)}.guide-casting-cat{width:85%;left:0;bottom:0}.guide-gift{width:29%;left:4%;top:0;transform:rotate(-7deg)}.guide-big-candy{width:40%;right:-2%;top:22%;transform:rotate(-22deg)}.guide-bubble{position:absolute;inset:7% 2%;border-radius:50%;border:1px solid #e5efff88;background:radial-gradient(ellipse at 25% 14%,#fff7 0,transparent 16%),radial-gradient(ellipse at 72% 90%,#bfa0ff40,transparent 40%),linear-gradient(135deg,#a3dfe812,#ead5ff18);box-shadow:inset 8px 5px 14px #ecf5fa16,inset -5px -3px 14px #b0dbfc33,0 0 30px #d7d7ff0d}.guide-caped-cat{width:89%;left:4%;bottom:4%;z-index:1}.guide-island{width:96%;left:0;bottom:0}.guide-explore-star{width:21%;left:16%;top:1%;transform:rotate(-10deg)}.guide-explore-coin{width:16%;right:11%;top:18%;transform:rotate(12deg)}.guide-copy{min-width:0}.guide-kicker{font-size:12px;letter-spacing:.08em;color:#bfcfdb;line-height:1.6}#help-dialog .guide-copy h3{margin:7px 0 20px;font-size:clamp(23px,2.2vw,30px);line-height:1.4;letter-spacing:.025em;color:#fff7e8;font-weight:700}.guide-instructions{margin:0;display:grid;gap:15px}.guide-instructions>div{min-width:0}.guide-instructions dt{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:16px;line-height:1.6;font-weight:700;color:#f1f6f4}.guide-instructions dd{margin:4px 0 0;font-size:14px;font-weight:500;line-height:1.7;color:#d2e0e8}.guide-keyboard{display:inline-flex;gap:5px;align-items:center}#help-dialog kbd{display:inline-grid;place-items:center;min-width:27px;min-height:26px;padding:2px 7px;border:1px solid #c9deed42;border-radius:6px;background:#d5e6f40d;box-shadow:0 2px #132f4e40;color:#f3f5f1;font:500 12px/1.4 AdventureRounded,sans-serif;letter-spacing:0}.guide-touch{display:none}#help-dialog .guide-tip{font-size:12px;line-height:1.7;color:#d4e0ea;margin:20px 0 0;padding-top:13px;border-top:1px solid #d9ebf318;font-weight:500;text-shadow:none}.guide-items{display:grid;gap:8px}.guide-items article{display:flex;align-items:center;gap:12px}.guide-items img{width:62px;height:62px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 4px 5px #102b4d4d)}#help-dialog .guide-items h4{font-size:15px;line-height:1.5;font-weight:700;margin:0 0 4px;color:#f4edf9}#help-dialog .guide-items p{font-size:13px;line-height:1.6;color:#d4e1e8;font-weight:500;margin:0;text-shadow:none}#help-dialog .guide-danger h4{color:#ffd0cb}.guide-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0;padding:10px 32px 18px}.guide-pagination{display:flex;align-items:center;gap:18px;color:#d5e4ec;font-size:12px;font-variant-numeric:tabular-nums}.guide-pagination button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#c9dff50d}.guide-pagination button:hover{background:#d3eafa26;color:#fff5d8}.guide-pagination button:disabled{opacity:.25}.guide-pagination .icon{width:19px;height:19px}#help-dialog .glass-action{width:auto;min-width:160px;min-height:43px;margin:0;font-size:14px;padding:9px 17px;border-radius:10px}.glass-action .icon{width:18px;height:18px}.guide-current{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 15px;flex-shrink:0;padding:11px 20px 13px;background:#102c441a;border-top:1px solid #d4e8f111;font-size:11px;line-height:1.4;color:#b6cbd9}#help-dialog .selected-level{display:inline;margin:0;font:500 11px/1.4 AdventureRounded,sans-serif;color:#d0dfe8;letter-spacing:0;text-shadow:none}#discovery-dialog{color:#fff7e6;background:var(--glass-fill);border:1px solid #edf7ff38;box-shadow:var(--glass-light),0 20px 60px #132b4855;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}#discovery-dialog:before{display:none}#discovery-dialog h2{color:#fff4df}#discovery-dialog p,#discovery-dialog .discovery-caption{color:#d6e5ec}#discovery-dialog .discovery-medallion{background:#dceaf315;border:1px solid #e9f4ff2b;box-shadow:inset 0 1px #fff4,0 9px 22px #20334e40;color:#eed7ae}#discovery-dialog .dialog-close{border:0;background:#e1f2ff12;color:#e7f1ef}#discovery-dialog .primary{background:linear-gradient(#f4faf1,#d5e7e9);border:1px solid #eefafa5c;box-shadow:inset 0 1px #fff7,0 5px 16px #10283e26;color:#294454;border-radius:12px}#discovery-dialog .primary:before{display:none}@media(pointer:coarse){.guide-keyboard{display:none}.guide-touch{display:inline}}@media(max-width:1050px){#welcome .welcome-copy{width:44vw}#welcome .home-actions{width:210px}#welcome .home-actions .home-action{min-height:46px;font-size:21px}#welcome .chapter-intro{margin:14px 0 20px}#welcome .hero-cat{width:46%}.guide-page{padding:22px 28px 20px 15px;gap:15px}.guide-art{max-height:330px}#help-dialog .guide-copy h3{font-size:24px}.guide-instructions dt{font-size:15px}.guide-instructions dd{font-size:13px}}@media(max-width:600px)and (orientation:portrait){#welcome{padding:58px 7vw 65px;display:flex;flex-direction:column;justify-content:flex-start;gap:0}#welcome .welcome-copy{position:static;width:100%;transform:none}#welcome .game-logo{position:absolute;top:7vh;left:50%;width:min(78vw,38vh);transform:translate(-50%)}#welcome .hero-cat{position:absolute;top:30vh;left:50%;width:min(64vw,28vh);max-width:none;margin:0;transform:translate(-50%)}#welcome .chapter-intro{position:absolute;top:60vh;left:0;right:0;margin:0;gap:8px}#welcome .chapter-number,#welcome .chapter{font-size:13px;letter-spacing:.04em}#welcome .home-actions{position:absolute;top:65vh;left:50%;transform:translate(-50%);width:210px;gap:0}#welcome .home-actions .home-action{font-size:20px;min-height:43px}#welcome .title-footer{font-size:10px;bottom:max(18px,env(safe-area-inset-bottom))}body .hud{left:14px;right:14px;top:68px}.hud-left{gap:8px}body .hero-status{padding:5px 9px 5px 3px;gap:4px;border-radius:15px}body .hero-status>img{width:33px;height:37px}.health-heart{width:19px;height:19px}body #lives{font-size:10px}body .hud-pill{padding:5px 7px;gap:4px;min-height:37px;border-radius:12px}body .hud-pill b{font-size:17px}.hud-coin{width:23px;height:23px}body .collectibles{gap:6px}.hud .reward-star{width:17px;height:20px}body .star-count{gap:1px}body #pause-button{width:34px;height:34px;margin-top:7px}body #toast,body #toast[data-kind]{top:129px;left:14px;max-width:calc(100% - 28px);padding:5px 12px 5px 6px;gap:8px;border-radius:15px}#toast .notice-icon,#toast[data-kind] .notice-icon,.notice-art{width:35px;height:35px}#toast .notice-copy strong{font-size:12px}#toast .notice-copy small{font-size:10px}#overlay{padding:18px}#overlay .result-card{display:flex;flex-direction:column;gap:5px;width:360px;padding:23px 25px;max-height:calc(100dvh - 36px);border-radius:24px;text-align:center}.result-character{width:130px;height:124px;object-fit:contain}#overlay .result-main{width:100%}#overlay .result-top{justify-content:center}#overlay .result-card h2{font-size:25px}#overlay .result-card p{font-size:13px;margin-bottom:21px}#overlay .result-card .primary{min-height:47px;font-size:16px}#overlay .result-secondary .text-button{min-height:40px;font-size:14px}#overlay .result-stars,#overlay .result-stats{justify-content:center}#overlay .result-stats>div{align-items:center}#overlay .discovery-tease{margin:8px auto 20px}#help-dialog{width:calc(100vw - 24px);height:calc(100dvh - 32px);border-radius:22px}.guide-header{padding:11px 17px 2px}#help-dialog .guide-header h2{font-size:14px}.guide-tabs{gap:8px;padding:0 12px}.guide-tabs button{font-size:13px;min-width:58px;min-height:42px}.guide-page{grid-template-columns:1fr;gap:2px;padding:14px 22px 20px;align-content:start}.guide-art{height:175px;width:195px;justify-self:center;aspect-ratio:1;max-height:none}.guide-copy{width:100%}.guide-kicker{font-size:11px}#help-dialog .guide-copy h3{font-size:23px;margin:4px 0 16px}.guide-instructions{gap:12px}.guide-instructions dt{font-size:15px}.guide-instructions dd{font-size:13px}#help-dialog .guide-tip{margin-top:16px;padding-top:12px;font-size:12px}.guide-items{gap:6px}.guide-items img{height:55px;width:55px}.guide-footer{padding:8px 17px 12px;gap:12px}.guide-pagination{gap:9px}.guide-pagination button{width:36px;height:36px}#help-dialog .glass-action{min-width:136px;min-height:42px;font-size:13px;padding:8px 12px;gap:12px}.guide-current{font-size:10px;padding:10px 17px;gap:4px}.guide-current #welcome-story{display:none}}@media(max-height:700px)and (orientation:portrait){#welcome .game-logo{top:6vh;width:min(68vw,34vh)}#welcome .hero-cat{top:28vh;width:26vh}#welcome .chapter-intro{top:56vh}#welcome .home-actions{top:61vh}#welcome .home-actions .home-action{min-height:40px;font-size:19px}.guide-art{height:135px;width:155px}#overlay .result-character{height:90px;width:100px}#overlay .result-card{padding:18px 23px}}@media(max-height:550px)and (orientation:landscape){#welcome{padding:20px 9vw 35px;gap:7vw;flex-direction:row}#welcome .welcome-copy{width:44vw}#welcome .game-logo{width:min(100%,53vh)}#welcome .chapter-intro{margin:4px 0 10px}#welcome .chapter-number,#welcome .chapter{font-size:12px}#welcome .home-actions{width:180px;gap:0}#welcome .home-actions .home-action{font-size:18px;min-height:35px;padding:4px 22px}#welcome .home-actions .home-action:before{left:14px}#welcome .hero-cat{width:43%;max-width:69vh}#welcome .title-footer{font-size:9px}body .hud{top:53px;left:20px;right:20px}body .hero-status{padding:4px 9px 4px 3px;gap:5px;border-radius:14px}body .hero-status>img{width:30px;height:35px}.health-heart{width:19px;height:19px}body #lives{font-size:10px}body .hud-pill{min-height:35px;padding:4px 7px;border-radius:12px}.hud-coin{width:23px;height:23px}body .hud-pill b{font-size:17px}.hud .reward-star{width:18px;height:21px}body #pause-button{width:34px;height:34px;margin-top:4px}body #toast,body #toast[data-kind]{top:112px;left:20px;max-width:calc(100% - 40px);padding:3px 13px 3px 5px;border-radius:14px}#toast .notice-icon,#toast[data-kind] .notice-icon,.notice-art{width:33px;height:33px}#toast .notice-copy strong{font-size:12px}#overlay{padding:12px}#overlay .result-card{width:min(600px,100%);grid-template-columns:130px 1fr;gap:20px;padding:20px 28px 18px 18px;max-height:calc(100dvh - 24px);border-radius:22px}#overlay .result-card h2{font-size:24px}#overlay .result-card p{font-size:12px;margin-bottom:16px}#overlay .result-card .primary{min-height:43px;font-size:15px;padding:8px 14px}#overlay .result-secondary{flex-direction:row;gap:8px}#overlay .result-secondary .text-button{font-size:12px;min-height:38px;white-space:nowrap;padding:5px 2px}#overlay .result-stars{margin-bottom:10px;gap:8px}#overlay .result-stars .reward-star{width:27px;height:27px}#overlay .result-stats{margin-bottom:12px}#overlay .result-top{margin-bottom:6px}#overlay .result-stats strong{font-size:18px}#help-dialog{width:calc(100vw - 24px);height:calc(100dvh - 16px);border-radius:18px}.guide-header{padding:6px 18px 0}#help-dialog .guide-header h2{font-size:13px}.guide-close{height:30px;width:30px}.guide-tabs{gap:20px}.guide-tabs button{min-height:35px;font-size:12px;padding:6px}.guide-page{padding:14px 25px 12px 12px;grid-template-columns:35% 1fr;gap:15px}.guide-art{max-height:205px}.guide-kicker{display:none}#help-dialog .guide-copy h3{font-size:20px;margin:0 0 12px}.guide-instructions{gap:8px}.guide-instructions dt{font-size:13px}.guide-instructions dd{font-size:12px;margin-top:2px}#help-dialog .guide-tip{font-size:11px;margin-top:10px;padding-top:8px}.guide-items img{width:44px;height:44px}#help-dialog .guide-items h4{font-size:13px}#help-dialog .guide-items p{font-size:12px}.guide-items{gap:7px}.guide-footer{padding:4px 20px 8px}.guide-pagination{gap:10px}.guide-pagination button{width:32px;height:32px}#help-dialog .glass-action{min-height:35px;min-width:130px;padding:6px 12px;font-size:12px}.guide-current{display:none}}@media(prefers-reduced-motion:reduce){#welcome .home-actions .home-action{transition:none}}#game:focus-visible{outline:1px solid #f2f8ff38;outline-offset:-2px}body{-webkit-font-smoothing:antialiased}body .hud{top:max(24px,env(safe-area-inset-top));left:max(32px,env(safe-area-inset-left));right:max(32px,env(safe-area-inset-right))}body .hero-status>img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 2px 3px #142f4666)}body .hero-status{padding:6px 13px 6px 7px;gap:9px}body #pause-button{position:absolute;right:0;top:55px;margin:0}body #toast,body #toast[data-kind]{top:102px}.level-intro{position:absolute;z-index:4;top:18%;left:50%;transform:translate(-50%);width:max-content;max-width:80%;min-width:280px;text-align:center;padding:17px 32px 23px;pointer-events:none;color:#fff9e8;background:radial-gradient(ellipse,#173c4b70,transparent 72%);animation:level-arrival 2.4s both}.level-intro span{display:block;font:500 13px/1.5 AdventureRounded,sans-serif;letter-spacing:.14em;color:#ffedcb;text-shadow:0 1px 5px #16344d80}.level-intro h2{margin:7px 0 0;font:500 clamp(25px,2.4vw,36px)/1.4 AdventureRounded,sans-serif;letter-spacing:.12em;color:#fff9ef;text-shadow:0 2px 8px #173b4a80}@keyframes level-arrival{0%{opacity:0;translate:0 6px}14%,72%{opacity:1;translate:0 0}to{opacity:0;translate:0 -3px}}.down-arrow{transform:rotate(90deg)}body .touch-controls .pipe-probe-button{width:42px;min-width:42px;height:44px;align-self:flex-end;background:#22445480;border:1px solid #fff4dc45;box-shadow:inset 0 1px #fff2}.pipe-probe-button .icon{width:18px;height:18px}#overlay,#overlay *{text-shadow:none;-webkit-text-stroke:0}#overlay .result-card{display:block;width:min(540px,100%);padding:30px 30px 22px;border-radius:24px;background:radial-gradient(ellipse at 0 0,#82a4b029,transparent 70%),linear-gradient(135deg,#3c5b72ef,#243e56f2);overflow:auto}#overlay .result-heading{display:flex;align-items:center;gap:19px;margin:0 0 25px}#overlay .result-character{width:70px;height:70px;flex:0 0 70px;object-fit:contain;filter:drop-shadow(0 5px 7px #18334944)}.result-heading-copy{min-width:0;flex:1}#overlay .result-top{display:none}#overlay .result-card h2{font:500 28px/1.45 AdventureRounded,PingFang SC,sans-serif;margin:0;letter-spacing:.055em;color:#fffaf2;text-shadow:none}#overlay .result-card #result-description{font:500 14px/1.6 AdventureRounded,sans-serif;color:#d2e1e9;margin:7px 0 0;letter-spacing:.03em;text-shadow:none}#overlay .result-rewards{display:flex;align-items:center;gap:22px;justify-content:space-between;margin:0 0 26px;padding:15px 0;border-top:1px solid #e4f2ff1c;border-bottom:1px solid #e4f2ff1c}#overlay .result-stars{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin:0;flex-shrink:0}#overlay .result-stars .reward-star{width:30px;height:30px}#overlay .result-stats{display:flex;align-items:center;justify-content:space-between;gap:22px;flex:1;margin:0;padding:0;background:none;border:0}#overlay .result-stats>div{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;margin:0;padding:0;border:0;min-width:0}#overlay .result-coin-stat img{width:27px;height:27px;object-fit:contain}#overlay .result-stats strong{font:500 22px/1.35 AdventureRounded,sans-serif;font-variant-numeric:tabular-nums;color:#fff0cc}#overlay .result-stats span{font:500 11px/1.5 AdventureRounded,sans-serif;color:#d1dce6;white-space:nowrap}#overlay .result-card>.primary{min-height:48px;font-weight:500;font-size:17px;letter-spacing:.06em;margin:0 0 10px;padding:10px 18px;text-shadow:none}#overlay .result-secondary{display:flex;flex-direction:row;justify-content:center;gap:16px;margin:0}#overlay .result-secondary .text-button{min-height:42px;flex:1;white-space:nowrap;font-size:14px;font-weight:500;padding:7px 8px;letter-spacing:.02em}#overlay button:focus-visible{outline:2px solid #dfedf380;outline-offset:3px}#overlay .discovery-tease{margin:0 auto 24px}#overlay .result-main{display:contents}#map-dialog .map-header>span:nth-child(2){display:none}#map-dialog .map-content{margin:clamp(25px,5vh,55px) auto 0;width:min(1280px,92vw)}#map-dialog .chapter-tabs{gap:28px;margin-bottom:30px}#map-dialog .chapter-tabs button{font:500 15px/1.4 AdventureRounded,sans-serif;min-width:100px;min-height:44px;justify-content:center;letter-spacing:.08em}#map-dialog #journey-progress{display:none}#map-dialog #worlds>.section-heading{display:none}#map-dialog .chapter-heading{display:flex;align-items:center;justify-content:space-between;margin:0 22px 24px}#map-dialog .chapter-heading h3{font:500 clamp(28px,3vw,40px)/1.4 AdventureRounded,sans-serif;letter-spacing:.07em;color:#fff7e7;margin:0;text-shadow:0 2px 8px #16364a59}#map-dialog .chapter-heading>.chapter-count{display:flex;font-size:21px;color:#fff0d2;gap:4px;margin:0;padding:0;opacity:.9;background:none;border:0;box-shadow:none}#map-dialog .chapter-count small{font-size:15px;color:#c9d9df}#map-dialog .chapter-route{height:clamp(360px,44vh,480px)}#map-dialog .journey-grid .world-card{height:218px;width:180px}#map-dialog .map-stage-art{width:180px;height:160px;flex-shrink:0}#map-dialog .stage-index{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;min-width:34px;height:25px;padding:0 7px;background:#203c50c9;border:1px solid #d9e4db40;box-shadow:0 2px 5px #132f3f26;color:#eef1e4}#map-dialog .stage-index .icon{width:11px;height:11px}#map-dialog .map-node-plaque,#map-dialog .world-card.selected .map-node-plaque{padding:11px 4px 0;min-width:140px;max-width:180px;background:none;border:0;box-shadow:none;margin:0}#map-dialog .map-node-plaque:before{display:none}#map-dialog .node-name{font:500 17px/1.4 AdventureRounded,sans-serif;color:#f7f1e1;letter-spacing:.02em;text-shadow:0 1px 4px #193a4c}#map-dialog .world-card.selected .node-name{color:#fff0c2}#map-dialog .world-stars{margin:6px 0 0;gap:5px;min-height:20px}#map-dialog .world-stars .reward-star{width:21px;height:21px}#map-dialog .map-cat-marker{right:-1px;top:5px;width:46px;height:46px;background:#29485355;border:1px solid #e7f3ec70;box-shadow:inset 0 1px #fff5,0 5px 12px #16344840;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}#map-dialog .map-cat-marker img{width:41px;height:41px;object-fit:contain}#map-dialog .map-cat-marker:after{display:none}#map-dialog .world-card:disabled .landmark{filter:saturate(.66) brightness(.87) drop-shadow(0 8px 8px #142f4640);opacity:.8}#map-dialog .companions{display:flex;align-items:center;gap:24px;margin:18px 22px 25px;padding:20px 0 0;border-top:1px solid #e7e8d81c}#map-dialog .companions .section-heading{margin:0;flex-shrink:0}#map-dialog .companions h2{font-size:13px;font-weight:500;color:#c5d6db;letter-spacing:.04em}#map-dialog .companion-book{display:flex;flex-wrap:wrap;gap:22px}#map-dialog .companion-card,#map-dialog .companion-card.found{padding:0;gap:9px;flex-direction:row;align-items:center}#map-dialog .companion-card h3{font-size:14px;font-weight:500;margin:0;color:#eee8d9}#map-dialog .companion-seal{width:31px;height:31px;background:none;border:0;color:#ead5ac}#map-dialog .companion-seal .icon{width:20px;height:20px}#map-dialog .companion-card .text-button{font-size:13px;min-height:40px;margin-left:5px}#discovery-dialog h2,#help-dialog .guide-copy h3{font-weight:500;text-shadow:none}@media(max-width:1050px){#map-dialog .map-content{margin-top:22px}#map-dialog .chapter-tabs{margin-bottom:22px}#map-dialog .chapter-heading{margin-bottom:16px}}@media(max-width:800px){body[data-game-state=playing] .topbar .nav-button{display:none}#map-dialog .chapter-tabs button{flex-direction:row;min-width:90px}#map-dialog .chapter-heading{margin-left:18px;margin-right:18px}#map-dialog .chapter-heading>.chapter-count{display:flex!important}#map-dialog .companions{gap:12px;flex-wrap:wrap}}@media(max-width:600px)and (orientation:portrait){body .hud{top:66px;left:14px;right:14px}body .hero-status>img{width:34px;height:34px}body .hero-status{padding:5px 8px 5px 5px;gap:5px}body #pause-button{position:static;top:auto;margin:5px 0 0}body #toast,body #toast[data-kind]{top:124px}.level-intro{top:24%;padding:15px 23px;min-width:240px}.level-intro h2{font-size:26px}.level-intro span{font-size:12px}body .touch-controls{left:12px;right:12px}.touch-move,.touch-action{gap:5px}body .touch-move button{width:43px;min-width:40px}body .touch-controls .pipe-probe-button{width:32px;min-width:32px;height:40px}body .touch-controls .jump-button{width:58px;height:60px}body .touch-controls .candy-button{width:43px;min-width:43px}body .touch-controls #run-toggle{width:29px;min-width:29px;font-size:10px}#overlay .result-card{display:block;width:min(370px,100%);padding:24px 22px 18px;text-align:left;border-radius:22px}#overlay .result-heading{gap:15px;margin-bottom:23px}#overlay .result-character{width:60px;height:60px;flex-basis:60px}#overlay .result-card h2{font-size:25px}#overlay .result-card #result-description{font-size:13px;margin-top:6px}#overlay .result-rewards{gap:14px;margin-bottom:23px;padding:14px 0}#overlay .result-stars{gap:3px}#overlay .result-stars .reward-star{width:23px;height:23px}#overlay .result-stats{gap:12px}#overlay .result-stats strong{font-size:19px}#overlay .result-stats span{font-size:10px}#overlay .result-stats .result-score-stat{flex-direction:column;gap:1px;align-items:flex-end}#overlay .result-coin-stat img{width:23px;height:23px}#overlay .result-secondary{gap:10px}#overlay .result-secondary .text-button{font-size:13px;min-height:42px;padding:7px 2px}#overlay .result-card>.primary{font-size:16px;min-height:46px}#map-dialog .map-content{margin-top:17px;width:100%}#map-dialog .chapter-heading{margin:0 22px 15px}#map-dialog .chapter-heading h3{font-size:28px}#map-dialog .chapter-heading>.chapter-count{font-size:18px}#map-dialog .chapter-count small{font-size:13px}#map-dialog .chapter-route{height:360px}#map-dialog .companions{margin:15px 22px 25px;padding-top:15px}}@media(max-height:550px)and (orientation:landscape){body .hud{top:14px;left:20px;right:20px}body .hero-status>img{width:32px;height:32px}body #pause-button{top:43px}body #toast,body #toast[data-kind]{top:75px}.level-intro{top:19%;min-width:220px;padding:9px 24px}.level-intro h2{font-size:24px}.level-intro span{font-size:11px}#overlay .result-card{display:block;width:min(470px,100%);padding:18px 24px 13px}#overlay .result-heading{gap:14px;margin-bottom:16px}#overlay .result-character{width:49px;height:49px;flex-basis:49px}#overlay .result-card h2{font-size:23px}#overlay .result-card #result-description{font-size:12px;margin-top:4px}#overlay .result-rewards{margin-bottom:14px;padding:10px 0}#overlay .result-stars .reward-star{width:25px;height:25px}#overlay .result-card>.primary{min-height:41px;font-size:15px;margin-bottom:5px;padding:8px 15px}#overlay .result-secondary .text-button{min-height:36px;font-size:12px}#overlay .result-stats strong{font-size:20px}#map-dialog .map-content{margin-top:9px}#map-dialog .chapter-tabs{margin-bottom:12px}#map-dialog .chapter-tabs button{min-height:34px;font-size:13px}#map-dialog .chapter-heading h3{font-size:28px}#map-dialog .chapter-route{height:330px}}@media(prefers-reduced-motion:reduce){.level-intro{animation:none}}body .hud{flex-wrap:wrap;align-content:flex-start;gap:8px;pointer-events:none}body .hud-left,body #pause-button{pointer-events:auto}.power-status{order:3;flex:0 0 100%;display:flex;align-items:center;gap:7px}.power-status[hidden]{display:none}.power-chip{position:relative;display:flex;align-items:center;gap:7px;padding:5px 11px 7px 6px;min-width:76px;overflow:hidden;border-radius:14px;color:#fff8ec;background:linear-gradient(145deg,#42667de8,#213c56e8);box-shadow:inset 0 1px #f0faff57,0 4px 12px #18334830;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.power-chip img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px 2px #16354455)}.power-chip span{font:600 17px/1 AdventureRounded,sans-serif;font-variant-numeric:tabular-nums}.power-track{position:absolute;bottom:0;left:9px;right:9px;height:3px;background:#b2cee024;border-radius:2px;overflow:hidden}.power-track:after{content:"";display:block;width:100%;height:100%;transform:scaleX(var(--remaining));transform-origin:left;background:#e9d39b;transition:transform .25s linear}.power-chip.expiring{color:#ffdcad;background:linear-gradient(145deg,#73586aee,#493a54ee)}.power-chip.expiring .power-track:after{background:#ffbb95}@media(max-width:600px){.power-chip{gap:4px;min-width:64px;padding:3px 8px 6px 4px;border-radius:11px}.power-chip img{width:27px;height:27px}.power-chip span{font-size:14px}.power-status{gap:5px}}@media(max-height:450px){.power-chip img{width:25px;height:25px}.power-chip{min-width:64px;padding:2px 7px 5px 4px}.power-chip span{font-size:14px}}@media(prefers-reduced-motion:reduce){.power-track:after{transition:none}}body.has-active-powers #toast,body.has-active-powers #toast[data-kind]{top:max(152px,calc(env(safe-area-inset-top) + 128px))}@media(max-width:600px){body.has-active-powers #toast,body.has-active-powers #toast[data-kind]{top:166px}}@media(max-height:450px){body.has-active-powers #toast,body.has-active-powers #toast[data-kind]{top:108px}}body .hud{--hud-gap:14px;--power-size:38px;--power-gap:12px;--power-number:17px;flex-wrap:nowrap;align-items:center;gap:0}body .hud .hud-left{display:flex;flex-wrap:nowrap;align-items:center;gap:var(--hud-gap);width:max-content;max-width:100%;min-width:0;pointer-events:none}body .hud .hero-status{flex:0 0 auto}body .hud .collectibles{display:flex;flex:0 0 auto;align-items:center;gap:10px;padding:0}body .hud .hud-pill,body .hud .power-status,body .hud .power-chip{background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:#fff9ed}body .hud .hud-pill{min-height:0;padding:0;gap:5px;flex:0 0 auto}body .hud .hud-pill b{min-width:2ch;font:500 21px/1.2 AdventureRounded,sans-serif;font-variant-numeric:tabular-nums;color:#fff9ed;text-shadow:0 1px 3px #153748d9,0 0 7px #1537488c}body .hud .star-count{gap:2px}body .hud .collectibles:before,body .hud .power-status:before{content:"";display:block;flex:0 0 1px;width:1px;height:21px;background:linear-gradient(transparent,#eaf4ff66 25%,#eaf4ff66 75%,transparent)}body .hud .power-status{display:flex;flex:0 0 auto;flex-wrap:nowrap;align-items:center;order:0;gap:var(--power-gap);min-width:0;margin:0;padding:0}body .hud .power-status[hidden]{display:none}body .hud .power-chip{display:flex;align-items:center;flex:0 0 auto;gap:4px;min-width:0;padding:0;overflow:visible;--power-color:#f3e7bb}body .hud .power-chip .power-mark{position:relative;display:grid;place-items:center;flex:0 0 var(--power-size);width:var(--power-size);height:var(--power-size)}body .hud .power-mark img{display:block;width:72%;height:72%;object-fit:contain;filter:drop-shadow(0 1px 2px #1537488c)}body .hud .power-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg);pointer-events:none}body .hud .power-ring circle{fill:none;stroke-width:2.25}body .hud .power-ring-track{stroke:#122f4b80}body .hud .power-ring-fill{stroke:var(--power-color);stroke-linecap:round;stroke-dasharray:100 100;filter:drop-shadow(0 1px 1px #15374880)}body .hud .power-chip .power-seconds{display:flex;align-items:baseline;gap:1px;min-width:2.5ch;white-space:nowrap;font:500 var(--power-number)/1 AdventureRounded,sans-serif;font-variant-numeric:tabular-nums;text-shadow:0 1px 3px #153748ed,0 0 7px #15374899}body .hud .power-chip .power-value{font:inherit}body .hud .power-chip .power-unit{font:500 .67em/1 AdventureRounded,sans-serif;color:#e5edf1}body .hud .power-chip.expiring{--power-color:#ffc494;color:#ffd4ac}body .hud .power-chip.expiring .power-unit{color:inherit}body .hud .power-track{display:none}body .hud #pause-button{position:absolute;right:0;top:55px;margin:0;background:none;border-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;filter:drop-shadow(0 1px 3px #153748cc)}body.has-active-powers #toast,body.has-active-powers #toast[data-kind]{top:102px}@media(max-width:600px)and (orientation:portrait){body .hud{--hud-gap:7px;--power-size:27px;--power-gap:6px;--power-number:14px;left:12px;right:12px}body .hud .hero-status{padding:5px 6px 5px 4px;gap:4px}body .hud .hero-status>img{width:29px;height:32px}body .hud .health-icons{gap:2px}body .hud .health-icons[data-lives="3"],body .hud .health-icons[data-lives="4"]{display:grid;grid-template-columns:repeat(2,17px);justify-content:start}body .hud .health-heart{width:17px;height:17px}body .hud #lives{font-size:9px;letter-spacing:0;white-space:nowrap}body .hud .collectibles{gap:6px}body .hud .hud-pill{gap:3px}body .hud .hud-pill b{font-size:15px}body .hud .hud-coin{width:21px;height:21px}body .hud .star-count{gap:1px}body .hud .reward-star{width:15px;height:18px}body .hud .power-chip{gap:2px}body .hud .collectibles:before,body .hud .power-status:before{height:17px}body .hud #pause-button{top:48px;width:40px;height:40px}body.has-active-powers #toast,body.has-active-powers #toast[data-kind]{top:124px}}@media(max-width:420px)and (orientation:portrait){body .hud{--hud-gap:4px;--power-size:22px;--power-gap:4px;--power-number:12px;left:10px;right:10px}body .hud .hero-status{padding:4px 5px 4px 3px;gap:3px;border-radius:13px}body .hud .hero-status>img{width:24px;height:28px}body .hud .health-icons{gap:1px}body .hud .health-icons[data-lives="3"],body .hud .health-icons[data-lives="4"]{grid-template-columns:repeat(2,15px)}body .hud .health-heart{width:15px;height:15px}body .hud #lives{font-size:9px;margin-top:2px}body .hud .collectibles{gap:4px}body .hud .hud-pill{gap:2px}body .hud .hud-pill b{font-size:12px}body .hud .hud-coin{width:16px;height:18px}body .hud .reward-star{width:12px;height:15px}body .hud .star-count,body .hud .power-chip{gap:1px}body .hud .power-chip .power-seconds{gap:0;min-width:2.4ch}body .hud .collectibles:before,body .hud .power-status:before{height:15px}}@media(max-width:340px)and (orientation:portrait){body .hud{--hud-gap:3px;--power-size:20px;--power-gap:3px;--power-number:11px}body .hud .hero-status{padding-right:4px;gap:2px}body .hud .collectibles{gap:3px}}@media(max-height:550px)and (orientation:landscape){body .hud{--hud-gap:11px;--power-size:30px;--power-gap:8px;--power-number:14px}body .hud .collectibles{gap:8px}body .hud .hud-pill b{font-size:17px}body .hud .hud-coin{width:23px;height:23px}body .hud .reward-star{width:18px;height:21px}body .hud .power-chip{gap:3px}body .hud #pause-button{top:43px}body.has-active-powers #toast,body.has-active-powers #toast[data-kind]{top:75px}}#map-dialog[data-chapter="2"]{background:linear-gradient(#28344bc9,#263d53bc 55%,#1d3548ed),url(./assets/world-v4/castle-background.webp) center/cover}#map-dialog .chapter-tabs{gap:clamp(10px,3vw,28px)}#map-dialog .chapter-tabs button{min-width:70px}#map-dialog .companion-seal:has(img){width:52px;height:60px;overflow:hidden}#map-dialog .companion-seal img{display:block;width:52px;height:60px;object-fit:contain;filter:drop-shadow(0 2px 3px #162c4440)}#discovery-dialog{width:min(780px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 36px);padding:36px 42px 36px 22px;border-radius:28px;overflow:auto;text-align:left;background:radial-gradient(ellipse at 15% 40%,#af8d6330,transparent 58%),linear-gradient(135deg,#3c5b72f5,#243e56fa)}#discovery-dialog[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}#discovery-dialog .discovery-portrait-wrap{position:relative;display:grid;place-items:center;min-width:0}#discovery-dialog .discovery-portrait-wrap:before{content:"";position:absolute;inset:12%;border-radius:50%;background:radial-gradient(ellipse,#f6d89728,transparent 70%);pointer-events:none}#discovery-portrait{display:block;position:relative;width:100%;height:auto;max-height:380px;object-fit:contain;filter:drop-shadow(0 14px 18px #152c484d)}#discovery-dialog .discovery-copy{min-width:0}#discovery-dialog .discovery-caption{font:500 13px/1.5 AdventureRounded,sans-serif;letter-spacing:.14em;color:#ffdfaa}#discovery-dialog h2{font:500 clamp(30px,3vw,40px)/1.3 AdventureRounded,sans-serif;margin:12px 0 18px;color:#fff6e6;text-shadow:none;-webkit-text-stroke:0}#discovery-dialog #discovery-description{font:500 16px/1.8 AdventureRounded,sans-serif;color:#e6eff2;margin:0 0 14px;text-wrap:pretty}#discovery-dialog .discovery-after{font:500 13px/1.8 AdventureRounded,sans-serif;color:#cbdbe4;margin:0 0 28px;text-wrap:pretty}#discovery-dialog .primary{width:100%;min-height:46px;font:500 16px/1.5 AdventureRounded,sans-serif;margin:0;padding:10px 18px;text-shadow:none;letter-spacing:.04em}#discovery-dialog .dialog-close{top:12px;right:12px;width:36px;height:36px;font:400 30px/1 system-ui,sans-serif}#discovery-dialog button:focus-visible{outline:2px solid #dfedf380;outline-offset:3px}@media(max-width:600px)and (orientation:portrait){#discovery-dialog{width:calc(100vw - 32px);padding:34px 25px 25px;border-radius:24px;text-align:center}#discovery-dialog[open]{grid-template-columns:1fr;gap:12px}#discovery-portrait{width:190px;height:190px}#discovery-dialog h2{font-size:30px;margin:8px 0 13px}#discovery-dialog #discovery-description{font-size:14px;margin-bottom:10px}#discovery-dialog .discovery-after{font-size:12px;margin-bottom:22px}}@media(max-height:550px)and (orientation:landscape){#discovery-dialog{width:min(650px,calc(100vw - 30px));padding:24px 28px 22px 18px}#discovery-dialog[open]{gap:22px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}#discovery-portrait{max-height:220px}#discovery-dialog h2{font-size:29px;margin:8px 0 10px}#discovery-dialog .discovery-caption{font-size:11px}#discovery-dialog #discovery-description{font-size:13px;margin-bottom:8px}#discovery-dialog .discovery-after{font-size:11px;margin-bottom:16px}#discovery-dialog .primary{min-height:40px;font-size:14px}}#map-dialog[data-chapter="2"]{background:linear-gradient(#26334cc9,#27455cba 55%,#1c304aef),url(./assets/adventure-v10/night-background.webp) center/cover}#map-dialog[data-chapter="3"]{background:linear-gradient(#1d4948d6,#2e5055cf 55%,#17333bea),url(./assets/world-v4/meadow-background.webp) center/cover}#map-dialog[data-chapter="4"]{background:linear-gradient(#4d4658c7,#3b4b5dbf 55%,#273d50ed),url(./assets/world-v4/castle-background.webp) center/cover}#map-dialog .chapter-tabs{display:flex;justify-content:center;gap:clamp(4px,2vw,24px);max-width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#e6d6b755 transparent}#map-dialog .chapter-tabs button{flex:0 0 auto;min-width:64px;white-space:nowrap;font-size:14px;padding:8px 12px;letter-spacing:.04em}#map-dialog .world-card:disabled .landmark{filter:saturate(.9) brightness(.96) drop-shadow(0 8px 8px #142f4640);opacity:.92}#map-dialog .world-card[data-stage="0"] .landmark{scale:1.1;transform-origin:50% 96%}#map-dialog .world-card[data-stage="1"] .landmark{scale:1.05;transform-origin:50% 96%}@media(max-width:600px){#map-dialog .chapter-tabs{gap:0;justify-content:space-between;margin-bottom:20px}#map-dialog .chapter-tabs button{flex:1 0 0;min-width:0;padding:7px 4px;font-size:12px;letter-spacing:0}}.map-art-status{display:block;margin:10px auto;color:#fff3d8;font-size:14px}.map-art-status[hidden],#opening[hidden]{display:none}#opening{position:fixed;inset:0;z-index:200;display:grid;place-items:center;isolation:isolate;background:#101c29;color:#fff9ed;opacity:1;transition:opacity .55s ease;overflow:hidden}#opening.is-leaving{opacity:0;pointer-events:none}#opening-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:#101c29}#opening[data-fit=contain] #opening-video{object-fit:contain}.opening-controls{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:2}.opening-options{display:flex;gap:10px}#opening button{font:500 15px/1.4 AdventureRounded,PingFang SC,sans-serif;letter-spacing:.04em;color:#fffaf1;border:1px solid #ffffff4d;border-radius:28px;padding:10px 20px;min-height:44px;background:#14273791;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 3px 18px #08121b26;cursor:pointer;text-shadow:none}#opening button:hover{background:#24475ec9;border-color:#ffffffa3}#opening button:focus-visible{outline:none;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}#opening #opening-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:15px 30px;background:#1b3449d6;font-size:20px}#opening [hidden]{display:none!important}#opening-status{position:absolute;bottom:max(88px,calc(env(safe-area-inset-bottom) + 68px));left:20px;right:20px;margin:0;text-align:center;color:#fffaf0;font:500 14px/1.6 AdventureRounded,PingFang SC,sans-serif;text-shadow:0 2px 8px #000}#opening-status:empty{display:none}body[data-opening=active] .topbar{visibility:hidden}#welcome .title-footer .opening-replay{-webkit-appearance:none;appearance:none;background:none;border:0;padding:8px 0;min-height:36px;color:inherit;font:inherit;cursor:pointer;text-shadow:inherit;border-radius:0;box-shadow:none}#welcome .title-footer .opening-replay:hover{color:#fff0c8}#welcome .title-footer .opening-replay:focus-visible{outline:1px solid #fff0c8;outline-offset:4px}body .stage,body .game-shell[data-theme=cave] .stage,body .game-shell[data-theme=castle] .stage{background:#284759}body .game-shell[data-state=ready] #game{visibility:hidden}body .welcome{background-color:#284759}@media(max-width:600px){.opening-controls{bottom:max(18px,env(safe-area-inset-bottom));left:16px;right:16px;gap:8px}#opening button{padding:10px 14px;font-size:13px}.opening-options{gap:7px}#opening-status{font-size:13px}#welcome .title-footer{flex-wrap:wrap;justify-content:center;gap:4px 16px}}@media(prefers-reduced-motion:reduce){#opening{transition:none}}#opening .opening-controls button{border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;text-shadow:0 1px 5px #000b,0 2px 14px #0008;padding:10px 6px;color:#fffaf0;font-size:14px;opacity:.82}#opening .opening-controls button:hover{background:transparent;opacity:1;text-decoration:underline;text-underline-offset:6px}#opening .opening-options{gap:24px;min-width:0;align-items:center;flex-wrap:wrap}#opening:after{content:"";position:absolute;pointer-events:none;inset:auto 0 0;height:100px;background:linear-gradient(transparent,#06132266);z-index:1}body .game-shell .control-strip{left:max(24px,env(safe-area-inset-left));right:auto;bottom:max(18px,env(safe-area-inset-bottom));width:auto;transform:none;justify-content:flex-start;gap:18px;margin:0;padding:0;background:none;border:0;font-size:12px;text-shadow:0 2px 5px #15242b,0 0 12px #15242b88}body .control-strip .skill-copy,body .control-strip .skill-locked .skill-copy{color:#fff4dd}body .control-strip #candy-status{display:none}body .control-strip .control-tip{display:flex;font-size:12px}body .control-strip kbd{background:#142c3d35;border-color:#f6edda42;min-width:24px;height:25px;border-radius:3px}@media(pointer:coarse){body .game-shell .control-strip{display:none}}#opening-progress{position:absolute;left:50%;bottom:max(122px,calc(env(safe-area-inset-bottom) + 102px));transform:translate(-50%);width:min(280px,50vw);height:3px;border:0;border-radius:3px;background:#ffffff30;color:#f5dfb3;-webkit-appearance:none;appearance:none;z-index:2}#opening-progress::-webkit-progress-bar{background:#ffffff30;border-radius:3px}#opening-progress::-webkit-progress-value{background:#f5dfb3;border-radius:3px}#opening-progress::-moz-progress-bar{background:#f5dfb3;border-radius:3px}.opening-cover{position:absolute;inset:0;background:linear-gradient(0deg,#173b4355,transparent 70%),url(./assets/world-v4/meadow-background.webp) center/cover;display:flex;align-items:center;justify-content:center;gap:6vw;padding:8vw;z-index:1;pointer-events:none;transition:opacity .45s}.opening-cover-logo{width:38%;max-width:600px;object-fit:contain}.opening-cover-cat{width:40%;max-width:600px;object-fit:contain}#opening[data-started=true] .opening-cover{opacity:0}#opening[data-started=false] #opening-video{visibility:hidden}#opening-status,#opening-play{z-index:3}@media(max-width:600px){.opening-cover{flex-direction:column;gap:12px;padding:12vh 10vw 25vh}.opening-cover-logo{width:70%}.opening-cover-cat{width:65%}}#map-dialog{background:linear-gradient(#18384ca8,#152f42e0),var(--map-background,none) center/cover}@media(max-width:600px){#opening .opening-options{gap:8px}#opening .opening-controls{left:12px;right:12px}#opening .opening-controls button{font-size:12px;padding:10px 3px;white-space:nowrap}}body[data-input=gamepad] button:focus{outline:3px solid #ffe6a4;outline-offset:5px}.gamepad-status{position:fixed;bottom:max(10px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:80;width:max-content;max-width:calc(100vw - 32px);margin:0;padding:7px 14px;border-radius:12px;background:#122337e6;color:#fff5d9;font:13px/1.5 system-ui,sans-serif;text-align:center;pointer-events:none}body:not([data-input=gamepad]) .gamepad-status,.gamepad-guide{display:none}body[data-input=gamepad][data-gamepad=connected] .gamepad-guide{display:block}body[data-input=gamepad] .map-key-hint kbd{display:none}body[data-input=gamepad] .map-key-hint{font-size:0}body[data-input=gamepad] .map-key-hint:after{content:"A \786e\8ba4  \b7  B \8fd4\56de";font-size:13px}@media(max-width:600px){.gamepad-status{font-size:11px;padding:5px 10px}}#chapter-cinema[hidden]{display:none!important}#chapter-cinema{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#101c29;color:#fff8ed;overflow:hidden;z-index:220;opacity:1;transition:opacity .28s ease}#chapter-cinema::backdrop{background:#101c29}#chapter-cinema.is-leaving{opacity:0;pointer-events:none}#chapter-cinema-video{width:100%;height:100%;display:block;object-fit:cover;background:#101c29}#chapter-cinema[data-fit=contain] #chapter-cinema-video{object-fit:contain}.chapter-cinema-shade{position:absolute;inset:auto 0 0;height:150px;background:linear-gradient(transparent,#071723a8);pointer-events:none}.chapter-cinema-heading{position:absolute;left:max(30px,env(safe-area-inset-left));top:max(28px,env(safe-area-inset-top));text-shadow:0 2px 12px #0008;transition:opacity .3s;pointer-events:none}.chapter-cinema-heading span{font-size:12px;letter-spacing:.12em;opacity:.8}.chapter-cinema-heading h2{font:500 22px/1.5 AdventureRounded,PingFang SC,sans-serif;margin:6px 0}#chapter-cinema[data-state=playing] .chapter-cinema-heading{opacity:0}.chapter-cinema-controls{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:20px}.chapter-cinema-controls>div{display:flex;gap:22px}#chapter-cinema button{font:500 14px/1.5 AdventureRounded,PingFang SC,sans-serif;color:#fff8ed;background:transparent;border:0;border-radius:0;box-shadow:none;min-height:44px;padding:10px 6px;cursor:pointer;text-shadow:0 2px 9px #000}#chapter-cinema button:hover,#chapter-cinema button:focus-visible{text-decoration:underline;text-underline-offset:6px;outline:none}#chapter-cinema button[hidden]{display:none}#chapter-cinema #chapter-cinema-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:16px 28px;border:1px solid #fff6;border-radius:30px;background:#122a3dc9;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-size:19px}#chapter-cinema-status{position:absolute;left:20px;right:20px;bottom:max(82px,calc(env(safe-area-inset-bottom) + 68px));text-align:center;font:500 14px/1.6 AdventureRounded,PingFang SC,sans-serif;text-shadow:0 2px 8px #000}#chapter-cinema-status:empty{display:none}.chapter-story-row{display:flex;align-items:center;justify-content:center;gap:18px;margin:16px auto 0;padding:0 8px;max-width:100%;overflow-x:auto;scrollbar-width:thin}.chapter-story-entry{display:inline-flex;flex:0 0 auto;justify-content:center;align-items:center;gap:8px;margin:0;padding:8px 10px;min-height:44px;background:transparent;color:#fff4de;border:0;border-radius:8px;box-shadow:none;font:500 14px/1.5 AdventureRounded,PingFang SC,sans-serif;letter-spacing:0;white-space:nowrap;cursor:pointer}.chapter-story-entry .story-play-icon,.chapter-story-entry>.icon{width:14px;height:14px;flex:none;color:#f3d79f}.chapter-story-entry small{font-size:11px;font-weight:400;color:#d1ddd7;opacity:.75}.chapter-story-entry:hover:not(:disabled){background:#e5f2ec10;color:#fff}.chapter-story-entry:disabled{opacity:.5;cursor:default}.chapter-story-entry:focus-visible{outline:none;background:#e5f2ec18;text-decoration:underline;text-underline-offset:5px}@media(max-width:600px){.chapter-story-row{gap:10px;padding:0}.chapter-story-entry{gap:6px;padding:8px 4px;font-size:13px}}body[data-chapter-cinema=active] .topbar,body[data-chapter-cinema=active] #gamepad-status{visibility:hidden}@media(max-width:600px){.chapter-cinema-controls{left:16px;right:16px;gap:10px;bottom:max(14px,env(safe-area-inset-bottom))}.chapter-cinema-controls>div{gap:10px}.chapter-cinema-heading{left:20px;top:20px}.chapter-cinema-heading h2{font-size:18px}}@media(prefers-reduced-motion:reduce){#chapter-cinema,.chapter-cinema-heading{transition:none}}#account-gate[hidden],#account-tools[hidden],#account-gate [hidden]{display:none!important}#account-gate{position:fixed;inset:0;z-index:150;overflow:auto;display:grid;place-items:center;padding:48px 5vw;background:linear-gradient(110deg,#203b4c28,#0d283864),url(./assets/world-v4/meadow-background.webp) center/cover;color:#fff8ee;font-family:AdventureRounded,PingFang SC,sans-serif}.account-layout{width:min(1080px,100%);display:grid;grid-template-columns:1fr 420px;gap:8%;align-items:center}.account-scene{position:relative;text-align:center;align-self:center;filter:drop-shadow(0 14px 32px #17352233)}.account-logo{display:block;width:260px;max-width:70%;height:auto;margin:-48px auto -10px}.account-cat{display:block;width:min(420px,100%);height:auto;margin:-20px auto -10px}.account-scene p{font-size:23px;letter-spacing:.08em;color:#fffbee;text-shadow:0 2px 10px #224e48;margin:0}.account-card{position:relative;border:1px solid #ffffff5c;border-radius:30px;background:linear-gradient(145deg,#f2ffff2b,#183a4a94);box-shadow:inset 0 1px #ffffff52,0 24px 80px #15332e38;backdrop-filter:blur(26px) saturate(1.12);-webkit-backdrop-filter:blur(26px) saturate(1.12);padding:36px 36px 28px;text-align:left}.account-avatar{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 9px #13383b3b);margin:0 0 10px}.account-eyebrow{font-size:11px;letter-spacing:.18em;color:#e5eecf;margin:0 0 9px}#account-title{font-size:30px;font-weight:700;letter-spacing:.04em;margin:0 0 26px;color:#fff7e7}#account-subtitle{font-size:13px;line-height:1.8;color:#e7f0eb;margin:0 0 25px}#account-form label{display:block;font-size:13px;line-height:1.5;color:#f6f6ed;margin-bottom:16px}#account-form input{display:block;width:100%;box-sizing:border-box;height:48px;margin-top:7px;padding:0 14px;border:1px solid #e1f1e24d;border-radius:12px;background:#0c304749;color:#fffdf4;font-family:inherit;font-size:16px;line-height:1.5;box-shadow:inset 0 1px 3px #142f3212;transition:border-color .15s,background .15s;outline:none}#account-form input::placeholder{color:#e0eeec99;font-size:13px}#account-form input:focus{border-color:#fff0c6;background:#14374891;box-shadow:0 0 0 3px #fff0c615}.account-password-wrap{display:block;position:relative}#account-password{padding-right:62px}#account-show-password{position:absolute;right:8px;top:0;border:0;background:none;color:#d7e8e4;box-shadow:none;font:inherit;font-size:12px;padding:0 8px;min-height:48px;cursor:pointer}#account-gate button{font-family:inherit;cursor:pointer}#account-gate button:focus-visible,#account-tools button:focus-visible{outline:2px solid #fff0c6;outline-offset:4px}#account-gate .account-action{width:100%;min-height:49px;border-radius:13px;border:1px solid #ffe6c0;background:linear-gradient(120deg,#f8dfb5,#f9ead3);color:#344b48;font-size:15px;font-weight:700;box-shadow:inset 0 1px #fff7e7,0 5px 18px #132c3826;padding:12px 18px}#account-gate .account-action:hover{background:#ffedce}#account-gate button:disabled{cursor:wait;opacity:.6}.account-link{display:block;text-align:center;width:100%;border:0;background:none;box-shadow:none;color:#f4efe0;padding:16px 0 3px;font-size:13px;min-height:44px}.account-link:hover{text-decoration:underline;text-underline-offset:5px}#account-message{font-size:12px;line-height:1.6;color:#ffe3c4;min-height:0;margin:0 0 10px}#account-message:empty{display:none}.account-footnote{margin:22px 0 0;padding-top:17px;border-top:1px solid #ffffff23;font-size:11px;line-height:1.8;color:#e0e9e4bd;text-align:center}#account-checking p,#account-import p{font-size:14px;line-height:1.9;color:#f6f5e9}#account-import-error{font-size:12px!important;color:#ffe3c4!important}#account-tools{position:fixed;right:max(24px,env(safe-area-inset-right));top:max(20px,env(safe-area-inset-top));z-index:40;display:flex;align-items:center;gap:14px;color:#fff8ea;text-shadow:0 1px 5px #234243;font:13px/1.5 AdventureRounded,PingFang SC,sans-serif}#account-nickname-display{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#account-tools button{border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;cursor:pointer;padding:6px 0;min-height:36px}#account-sync{font-size:11px!important;opacity:.8}#account-sync[data-state=offline]{color:#ffe2a4}body[data-game-state]:not([data-game-state=ready]) #account-tools{display:none}body[data-auth=pending] main,body[data-auth=pending] .topbar{visibility:hidden}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.account-card{background:#2d5058f0}}@media(max-width:800px){.account-layout{grid-template-columns:minmax(0,1fr) 370px;gap:2%}.account-card{padding:28px}.account-logo{width:200px}.account-scene p{font-size:18px}}@media(max-width:620px){#account-gate{padding:28px 20px;align-items:center}.account-layout{display:block;max-width:380px}.account-scene{display:none}.account-card{border-radius:25px;padding:26px 26px 23px}.account-avatar{width:60px;height:60px;margin-bottom:9px}#account-title{font-size:28px}#account-subtitle{margin-bottom:20px}.account-footnote{margin-top:20px}#account-tools{top:12px;right:16px;left:16px;justify-content:flex-end;gap:12px}#account-nickname-display{max-width:120px}}@media(max-height:600px)and (min-width:621px){#account-gate{padding:22px 5vw;align-items:start}.account-card{padding:22px 28px}.account-avatar{width:44px;height:44px;margin-bottom:4px}.account-logo{width:180px;margin:0 auto -30px}.account-cat{width:270px}.account-scene p{font-size:18px}#account-title{font-size:25px}#account-subtitle{margin-bottom:16px}#account-form label{margin-bottom:12px}.account-footnote{margin-top:14px;padding-top:12px}}#account-gate #account-title{margin-bottom:26px}.account-footnote{border:0;padding-top:0;margin-top:18px}.account-heading{display:flex;align-items:center;gap:16px;margin-bottom:28px}.account-heading .account-avatar{margin:0;flex:0 0 auto;width:64px;height:64px}#account-gate .account-heading #account-title{margin:0;font-size:28px}@media(max-width:620px){.account-heading{gap:14px;margin-bottom:25px}.account-heading .account-avatar{width:56px;height:56px}#account-gate .account-heading #account-title{font-size:26px}}#account-gate .account-forgot{display:block;margin:10px 0 -4px auto;min-height:28px;padding:0;border:0;background:none;box-shadow:none;color:#e7eee7;font-size:12px}#account-gate .account-forgot:hover{text-decoration:underline;text-underline-offset:4px}body .topbar{left:max(32px,env(safe-area-inset-left));right:max(32px,env(safe-area-inset-right));max-width:none;gap:24px;flex-wrap:nowrap;align-items:center;justify-content:space-between}.topbar nav{flex-shrink:0;margin-left:auto}#account-tools{position:static;inset:auto;max-width:none;min-width:0;flex-wrap:nowrap;justify-content:flex-start;gap:22px;font:500 14px/1.5 AdventureRounded,PingFang SC,sans-serif;letter-spacing:0;color:#fff8ea}#account-tools>*{white-space:nowrap;flex-shrink:0;font:inherit;letter-spacing:inherit}#account-nickname-display{min-width:0;max-width:180px;flex:0 1 auto}#account-sync{font-size:inherit!important;opacity:1}body[data-game-state=ready] .topbar :is(#map-button,#help-button){display:none}@media(max-width:800px){body .topbar{left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));gap:18px}#account-tools{gap:16px;font-size:13px}#account-nickname-display{max-width:130px}}@media(max-width:620px){body .topbar{left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));gap:12px}#account-tools{gap:10px;font-size:12px}#account-nickname-display{max-width:80px}.topbar nav{gap:6px}}#landscape-gate:not([open]){display:none}#landscape-gate[open]{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:40px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;background:linear-gradient(#193a53c9,#173e42e8),url(./assets/world-v4/meadow-background.webp) center/cover;color:#fff8e9;font:500 16px/1.6 AdventureRounded,PingFang SC,sans-serif;text-align:center;outline:0}#landscape-gate::backdrop{background:#244453}#landscape-gate svg{width:96px;height:80px;fill:none;stroke:#ffe4b1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#landscape-gate h2{margin:0;font:inherit;font-size:24px;letter-spacing:.08em}#landscape-gate p{margin:0;color:#e4eeeb;font:inherit;font-size:14px}
