@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(./be-vietnam-pro-latin-400-normal-PpnXBOrz.woff2)format("woff2"),url(./be-vietnam-pro-latin-400-normal-bXgqVju9.woff)format("woff")}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(./be-vietnam-pro-latin-500-normal-B6LVzGNe.woff2)format("woff2"),url(./be-vietnam-pro-latin-500-normal-BJkVuMHw.woff)format("woff")}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(./be-vietnam-pro-latin-600-normal-BZDkUTrt.woff2)format("woff2"),url(./be-vietnam-pro-latin-600-normal-5IO4e7bK.woff)format("woff")}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:400;src:url(./be-vietnam-pro-vietnamese-400-normal-CRcqvyg1.woff2)format("woff2"),url(./be-vietnam-pro-vietnamese-400-normal-BuGn0gnm.woff)format("woff")}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:500;src:url(./be-vietnam-pro-vietnamese-500-normal-DREgrEoJ.woff2)format("woff2"),url(./be-vietnam-pro-vietnamese-500-normal-CfdwVo8-.woff)format("woff")}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-display:swap;font-weight:600;src:url(./be-vietnam-pro-vietnamese-600-normal-nyU-ZL2p.woff2)format("woff2"),url(./be-vietnam-pro-vietnamese-600-normal-DkpCIyan.woff)format("woff")}:root{color:#e9ede3;font-synthesis:none;--muted:#96aaa0;--jade:#b9d5a6;--gold:#d2bb87;--line:#adc7b522;--panel:#132b29;--serif:Georgia, "Times New Roman", serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#0b1b1b;font-family:Be Vietnam Pro,sans-serif;font-size:14px;font-weight:400}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:5px;outline:2px solid #d5e5bb}button{transition:background .2s,color .2s,border-color .2s,transform .2s}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}h1,h2{font-weight:400}small{font-size:11px}.icon{vertical-align:middle;flex-shrink:0;width:20px;height:20px}.muted{color:var(--muted);font-size:13px;line-height:1.9}.eyebrow{letter-spacing:2.2px;text-transform:uppercase;color:#bdcbb1;font-size:10px;font-weight:500}#scene{touch-action:none;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}#ui{pointer-events:none;z-index:2;position:absolute;inset:0}#ui button,#ui a,#ui input,#ui select,#ui textarea{pointer-events:auto}body[data-screen=menu] #ui:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0b1b1bf5 0%,#0b1b1bdc 26%,#0b1b1b65 46%,#0000 68%),linear-gradient(#0000 62%,#0b1b1b88 83%,#0b1b1b 100%);position:absolute;inset:0}.header{z-index:3;justify-content:space-between;align-items:center;height:106px;padding:0 4.4%;display:flex;position:relative}.brand{align-items:center;gap:13px;display:flex}.brand img{width:44px;height:44px}.brand>span{font-family:var(--serif);letter-spacing:3px;font-size:19px}.brand small{letter-spacing:2px;color:#9daf9e;margin-top:7px;font-family:Be Vietnam Pro,sans-serif;font-size:7px;display:block}.header nav{align-items:center;gap:12px;display:flex}.icon-button{border:1px solid var(--line);background:#13272340;border-radius:50%;justify-content:center;align-items:center;width:39px;height:39px;display:inline-flex}.icon-button:hover{background:#b4d8ab20;border-color:#bfd2b66b}.icon-button .icon{width:17px;height:17px}.header-divider{background:var(--line);width:1px;height:21px;margin:0 6px}.lang-button{color:#ced7c8;padding:9px;font-size:11px}.home{flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:106px 4.4% 66px}.hero{z-index:1;width:520px;max-width:45%;padding-top:clamp(20px,5vh,70px);position:relative}.hero-eyebrow{letter-spacing:1.8px;white-space:nowrap;align-items:center;gap:11px;font-size:8px;display:flex}.hero-eyebrow>span{background:#b8cca5;width:27px;height:1px}.hero h1{font-family:var(--serif);letter-spacing:-2.3px;margin-top:26px;font-size:clamp(43px,4.1vw,68px);line-height:1.14}.hero h1 em{color:#bdd5aa;font-weight:400}.intro{color:#a8b7ab;max-width:345px;margin-top:24px;font-size:12px;line-height:2}.hero-actions{flex-direction:column;gap:11px;width:270px;margin-top:30px;display:flex}.primary,.secondary{border-radius:5px;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:13px 24px;font-size:12px;font-weight:500;display:inline-flex}.primary{color:#203929;background:#bfd5a9;border:1px solid #cfdebc;box-shadow:0 4px 26px #0002}.primary:hover{background:#d4e6bc;box-shadow:0 4px 28px #c4e59b1c}.primary .icon{width:18px}.hero .primary{flex-direction:row-reverse;justify-content:space-between}.secondary{color:#d6dfcf;background:#172b274a;border:1px solid #b6cbb330}.secondary:hover{background:#b5d2ac18;border-color:#b6cbb367}.hero .secondary{justify-content:flex-start;gap:13px}.hero .secondary .icon{color:#a7b9a4;width:20px}.hero-details{color:#899d90;align-items:center;gap:17px;margin-top:24px;font-size:10px;display:flex}.hero-details>span{align-items:center;gap:7px;display:flex}.hero-details .icon{width:13px;height:13px}.hero-details i,.controls-hint i{background:#80908060;border-radius:50%;width:3px;height:3px}.text-link{color:#b7c7b0;align-items:center;gap:7px;padding:0;font-size:10px;display:flex}.scene-caption{align-items:flex-start;gap:15px;display:flex;position:absolute;top:58%;right:9%}.caption-line{background:#98b39770;width:42px;height:1px;margin-top:6px}.scene-caption .eyebrow{letter-spacing:2px;color:#98b29b;font-size:8px}.scene-caption h3{font-family:var(--serif);letter-spacing:.3px;margin-top:8px;font-size:21px;font-weight:400}.scene-caption p{color:#93a697;margin-top:8px;font-size:10px}.world-strip{width:100%;margin-top:35px}.strip-heading{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.strip-heading .eyebrow{letter-spacing:1.7px;font-size:9px}.strip-heading>span{color:#7e9488;letter-spacing:2px;font-size:9px}.world-cards{grid-template-columns:repeat(5,1fr);gap:12px;display:grid}.world-card{text-align:left;background:linear-gradient(130deg,#16302baf,#12262180);border:1px solid #bdd8c01b;border-radius:6px;align-items:center;gap:12px;height:85px;padding:12px 14px;display:flex;overflow:hidden}.world-card:hover,.world-card.active{background:#23433455;border-color:#b6d79c6b}.world-art{background:radial-gradient(ellipse at center bottom, color-mix(in srgb, var(--world-color) 25%, transparent), transparent 90%);border-radius:5px;flex-shrink:0;width:52px;height:56px;position:relative;overflow:hidden}.world-art>i{background:var(--world-color);opacity:.3;clip-path:polygon(12% 48%,38% 30%,47% 0,77% 18%,100% 63%,77% 94%,24% 100%,0 78%);width:45px;height:33px;position:absolute;bottom:6px;left:6px}.world-art>b{background:var(--world-color);opacity:.2;clip-path:polygon(40% 0,100% 70%,62% 100%,0 65%);width:26px;height:29px;position:absolute;bottom:5px;left:7px}.world-art>.icon{color:var(--world-color);filter:drop-shadow(0 3px 7px #000);width:27px;height:27px;position:absolute;top:12px;left:15px}.world-card-text{flex-direction:column;gap:9px;display:flex}.world-card-text small{letter-spacing:1px;color:#7e9486;font-size:8px}.world-card-text strong{white-space:nowrap;color:#c7d1c3;font-size:10px;font-weight:500}.world-card-end{color:#809183;margin-left:auto}.world-card-end .icon{width:12px;height:12px}.footer{color:#6e897b;border-top:1px solid #a6c3a21c;justify-content:space-between;align-items:center;height:57px;font-size:9px;display:flex;position:absolute;bottom:0;left:4.4%;right:4.4%}.footer>span:first-child{align-items:center;gap:9px;display:flex}.footer small{letter-spacing:2px;color:#718a7a;font-size:8px}.version{font-size:8px}.status-dot{background:#a5c58e;border-radius:50%;width:5px;height:5px;box-shadow:0 0 8px #aac98755}.text-button{color:#b4c3ae;justify-content:center;align-items:center;gap:7px;padding:11px;font-size:11px;display:inline-flex}.text-button:hover{color:#eef2e3}.text-button .icon{width:16px;height:16px}body[data-screen=map] #ui,body[data-screen=endless] #ui{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto;background:#0b1b1bd9;overflow-y:auto}.map-page{max-width:1080px;margin:14px auto 60px;padding:0 30px}.page-title{text-align:center;position:relative}.page-title>.text-button{position:absolute;top:0;left:0}.page-title .eyebrow{margin-bottom:15px}.page-title h1{font-family:var(--serif);letter-spacing:-1px;margin-bottom:12px;font-size:45px}.world-tabs{border-bottom:1px solid var(--line);grid-template-columns:repeat(5,1fr);margin-top:38px;display:grid}.world-tab{color:#8d9f92;border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:9px;padding:17px 8px;font-size:10px;display:flex}.world-tab>.icon:first-child{color:var(--world-color)}.world-tab>.icon:last-child:not(:first-child){width:12px}.world-tab.selected{border-color:var(--world-color);color:#e4eade;background:#b8d6b110}.level-panel{background:#16322b77;border:1px solid #adc9ae22;border-radius:10px;margin-top:26px;padding:28px}.level-panel-heading{justify-content:space-between;align-items:center;display:flex}.level-panel h2{font-family:var(--serif);margin:8px 0;font-size:29px}.level-panel .eyebrow{font-size:8px}.star-total{color:var(--gold);align-items:center;gap:9px;font-size:24px;display:flex}.star-total small{color:#819788;font-size:13px}.star-total .icon{width:21px}.level-grid{grid-template-columns:repeat(6,1fr);gap:11px;margin-top:27px;display:grid}.level-card{background:linear-gradient(140deg,#b3d7a214,#10262199);border:1px solid #a9c39d30;border-radius:8px;flex-direction:column;align-items:center;min-height:215px;padding:15px 11px 12px;display:flex;position:relative}.level-card:hover:not(:disabled){background:#b3d7a221;border-color:#b9d39988;transform:translateY(-3px)}.level-card.locked{opacity:.4}.level-card.complete{border-color:#b2cc9450}.level-top{color:#a2b49b;justify-content:space-between;align-items:center;width:100%;display:flex}.level-top small{letter-spacing:.6px;font-size:8px}.level-top .icon{width:12px;height:12px}.level-illustration{justify-content:center;align-items:center;height:95px;display:flex;position:relative}.level-illustration>.icon{color:#8ea98530;stroke-width:.8px;width:65px;height:65px}.level-illustration>b{font-family:var(--serif);color:#c7d7b9;font-size:32px;font-weight:400;position:absolute}.level-card>strong{text-align:center;min-height:32px;font-size:10px;font-weight:500;line-height:1.6}.level-stars{color:#526b58;gap:5px;margin-top:9px;display:flex}.level-stars .icon{width:14px;height:14px}.earned{color:var(--gold);fill:var(--gold)}.challenge{color:#ceb28a;letter-spacing:1.3px;margin-top:10px;font-size:6px}.map-foot{color:#859e8b;align-items:center;gap:8px;margin:23px 0;font-size:10px;display:flex}.map-foot .icon{width:15px}.map-foot>span{margin-left:auto}.locked-world,.endless-panel{text-align:center;color:var(--muted);padding:45px 15px}.locked-world>.icon{width:35px;height:35px;margin-bottom:20px}.locked-world p{margin-bottom:12px;font-size:12px}.locked-world strong{color:#c2ceac;font-size:11px}.infinity-mark .icon{color:#b6d69f;width:90px;height:65px;margin-bottom:15px}.endless-panel>strong{font-family:var(--serif);color:#e1e8d7;margin:12px;font-size:48px;display:block}.endless-panel>.primary{min-width:230px;margin-top:23px}.game-header{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);background:#10251fe8;border:1px solid #bdd4b82b;border-radius:9px;align-items:center;gap:25px;margin:25px 3.4% 0;padding:17px 22px;display:flex;box-shadow:0 8px 40px #0002}.game-level{align-items:center;gap:13px;min-width:220px;display:flex}.game-level>div{flex-direction:column;gap:8px;display:flex}.game-level small{color:#b4c6a8;letter-spacing:1px;font-size:8px}.game-level strong{font-family:var(--serif);font-size:19px;font-weight:400}.score-block{border-left:1px solid var(--line);min-width:120px;padding-left:25px}.score-block>small{letter-spacing:1.5px;color:#95ab93;font-size:8px;display:block}.score-block>strong{font-family:var(--serif);font-variant-numeric:tabular-nums;margin-top:3px;font-size:28px;font-weight:400;display:block}.progress-block{flex:1;max-width:450px;margin:auto}.progress-block>div:first-child{justify-content:space-between;margin-bottom:9px;display:flex}.progress-block small{color:#a7bd9e;letter-spacing:1.8px;font-size:7px}.progress-block span{color:#c5d6b2;font-size:9px}.progress-track{background:#020d0966;border:1px solid #a3bc9629;border-radius:10px;height:5px;position:relative}.progress-track>i{background:linear-gradient(90deg,#688d61,#d2dfac);width:0;height:100%;transition:width .3s;display:block;box-shadow:0 0 10px #c5e3a222}.progress-track>span{color:var(--gold);position:absolute;top:-5px;right:-5px}.lives-block{color:#d8b5a2;align-items:center;gap:7px;font-size:14px;display:flex}.lives-block .icon{fill:#c89a8833;width:17px;height:17px}.game-header>.icon-button{flex-shrink:0}.game-bottom{justify-content:space-between;align-items:flex-end;gap:15px;min-height:60px;display:flex;position:absolute;bottom:30px;left:3.4%;right:3.4%}.controls-hint{white-space:nowrap;color:#9caf9a;align-items:center;gap:13px;font-size:9px;display:flex;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.controls-hint kbd{font-size:7px}.ammo-panel{border:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#10251fde;border-radius:9px;align-items:center;gap:22px;margin-left:auto;padding:12px 18px;display:flex}.ammo-next{align-items:center;gap:12px;display:flex}.ammo-next>small{letter-spacing:1px;color:#a4b698;font-size:7px}.marble{background:radial-gradient(circle at 31% 26%, #fff9, transparent 32%), radial-gradient(circle at 38% 35%, var(--marble-color), #10241b);border-radius:50%;width:28px;height:28px;display:block;box-shadow:inset -3px -3px 4px #0005,0 4px 8px #0004}.swap-button{border-left:1px solid var(--line);color:#b9caae;align-items:center;gap:8px;padding:5px 0 5px 18px;font-size:10px;display:flex}.swap-button>.icon{width:18px}.active-powers{flex-direction:column;gap:6px;display:flex}.power-pill{color:#d8dfb9;background:#1c332adb;border:1px solid #c6d6aa33;border-radius:6px;align-items:center;gap:8px;padding:10px 14px;font-size:10px;display:flex}.power-pill b{margin-left:8px;font-weight:500}.power-pill .icon{width:16px;height:16px}.level-banner{text-align:center;white-space:nowrap;letter-spacing:2px;color:#d0dcb2;font-size:9px;position:absolute;top:135px;left:50%;transform:translate(-50%)}.level-banner.danger{color:#f0aa8e;text-shadow:0 0 18px #e24d3377}.tutorial{opacity:0;text-align:center;color:#cedbbf;background:#11261fe8;border:1px solid #a4c59442;border-radius:30px;max-width:470px;padding:13px 20px;font-size:11px;line-height:1.7;transition:opacity .3s,transform .3s;position:absolute;bottom:116px;left:50%;transform:translate(-50%)translateY(10px)}.tutorial.visible{opacity:1;transform:translate(-50%)}.modal-backdrop{z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:auto;background:#05120fc9;justify-content:center;align-items:center;padding:25px;display:flex;position:absolute;inset:0;overflow-y:auto}.modal{text-align:center;background:linear-gradient(150deg,#213c31,#102620 75%);border:1px solid #bad3a63b;border-radius:14px;width:450px;max-height:calc(100dvh - 50px);padding:38px;animation:.25s ease-out appear;position:relative;overflow-y:auto;box-shadow:0 30px 100px #0006}.modal.wide{width:720px}.modal>.icon-button{border:0;position:absolute;top:17px;right:17px}.modal h2{font-family:var(--serif);letter-spacing:-.6px;margin:15px 0;font-size:36px;line-height:1.2}.modal>.eyebrow{letter-spacing:1.8px;font-size:8px}.modal>.muted{font-size:11px}.modal-actions{flex-direction:column;gap:10px;margin-top:26px;display:flex}.modal-symbol{border:1px solid #aac98c33;border-radius:50%;justify-content:center;align-items:center;width:67px;height:67px;margin:0 auto 23px;display:flex}.modal-symbol>.icon{color:#bad1a1;width:31px;height:31px}.settings-modal{text-align:left;width:490px;padding-top:33px}.settings-modal h2{margin-bottom:20px}.settings-list{flex-direction:column;display:flex}.setting-row{color:#c2d0b8;border-bottom:1px solid #c5d8b711;justify-content:space-between;align-items:center;gap:18px;min-height:48px;padding:13px 0;font-size:11px;display:flex}.setting-row>span{flex:1}.setting-row select{color:#cbd8bc;background:#122a20;border:1px solid #b2c59f33;border-radius:4px;max-width:200px;padding:6px 8px;font-size:10px}.setting-row input[type=range]{accent-color:#b8d39d;cursor:pointer;width:150px}.toggle{appearance:none;cursor:pointer;background:#586654;border-radius:15px;width:32px;height:18px;transition:background .2s;position:relative}.toggle:after{content:"";background:#e0e8d8;border-radius:50%;width:12px;height:12px;transition:transform .2s;position:absolute;top:3px;left:3px}.toggle:checked{background:#81a76a}.toggle:checked:after{transform:translate(14px)}.settings-footer{justify-content:space-between;gap:10px;margin-top:17px;display:flex}.storage-note{text-align:center;color:#8ea382;margin-top:15px;font-size:8px;line-height:1.8}.help-modal{text-align:left}.help-modal h2{max-width:500px;font-size:33px}.help-steps{margin:25px 0}.help-steps>div{gap:20px;margin-bottom:19px;display:flex}.help-steps b{font-family:var(--serif);color:#91b07d;font-size:26px;font-weight:400}.help-steps h3{margin-bottom:7px;font-size:12px;font-weight:500}.help-steps p{color:#9fb393;font-size:10px;line-height:1.9}.help-controls{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 22px;padding:15px 0}.help-controls>span{letter-spacing:1.5px;font-size:8px}.help-controls p{color:#b2c3a4;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px;font-size:9px;display:flex}kbd{color:#c8d9b8;background:#a3bd9010;border:1px solid #b8cca833;border-radius:3px;padding:3px 5px;font-family:inherit;font-size:9px;display:inline-block}.help-modal>h3{font-family:var(--serif);margin-bottom:5px;font-size:23px;font-weight:400}.power-grid{grid-template-columns:repeat(2,1fr);gap:19px 25px;margin-top:23px;display:grid}.power-grid>div{align-items:center;gap:14px;display:flex}.power-grid .icon{color:var(--gold);width:25px;height:25px}.power-grid strong{margin-bottom:6px;font-size:10px;font-weight:500;display:block}.power-grid small{color:#9fb291;font-size:8px;display:block}.result-emblem .icon{color:#bed4a6;width:52px;height:52px;margin-bottom:15px}.result-stars{color:#52694c;justify-content:center;gap:14px;margin-top:25px;display:flex}.result-stars .icon{width:33px;height:33px}.result-stars .icon:nth-child(2){width:43px;height:43px;margin-top:-7px}.result-score{margin:24px 0}.result-score>small{letter-spacing:2px;color:#a6b991;margin-bottom:5px;font-size:8px;display:block}.result-score>strong{font-family:var(--serif);color:#e0e7cf;font-size:54px;font-weight:400}.result-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);padding:17px 0;display:grid}.result-stats small{color:#9db08d;margin-bottom:7px;font-size:8px;display:block}.result-stats strong{font-size:15px;font-weight:400}.result-stats>div+div{border-left:1px solid var(--line)}.save-modal{width:540px}.save-modal textarea{resize:vertical;color:#baceaa;background:#061b12;border:1px solid #c1d5a433;border-radius:6px;width:100%;height:170px;margin-top:23px;padding:12px;font-family:monospace;font-size:10px}.save-buttons{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:15px;display:flex}.save-buttons button{min-height:36px;padding:9px 15px;font-size:10px}.destructive{color:#dfaa90}#reset-area{border-top:1px solid var(--line);margin-top:20px;padding-top:13px}#reset-area>p{color:#dcb59d;margin-bottom:13px;font-size:11px;line-height:1.7}.toast{opacity:0;color:#233b25;pointer-events:none;z-index:20;text-align:center;background:#d3dfbb;border-radius:7px;max-width:90%;padding:12px 23px;font-size:11px;transition:all .2s;position:fixed;bottom:24px;left:50%;transform:translate(-50%)translateY(20px);box-shadow:0 4px 20px #0003}.toast.visible{opacity:1;transform:translate(-50%)}#effects{z-index:3;pointer-events:none;position:absolute;inset:0;overflow:hidden}.floating-score{color:#f0e8c8;text-shadow:0 2px 10px #06130b;white-space:nowrap;font-size:19px;font-weight:600;animation:1.05s ease-out forwards float-score;position:absolute}.floating-score.combo{color:#f4d394;font-size:22px}.floating-score small{letter-spacing:1px;margin-bottom:3px;font-size:10px;display:block}.boot-error{text-align:center;background:#102821;justify-content:center;align-items:center;padding:30px;display:flex;position:absolute;inset:0}.boot-error h1{font-family:var(--serif);margin-bottom:20px;font-size:42px}.boot-error p{color:#b4c9a8;max-width:470px;line-height:1.9}.boot-error button{margin-top:20px}.editor-panel{z-index:10;border:1px solid var(--line);pointer-events:auto;background:#11281ff2;border-radius:10px;width:285px;padding:20px;position:fixed;top:15px;right:15px}.editor-panel h2{font-family:var(--serif);margin-bottom:10px;font-size:25px}.editor-panel p{color:var(--muted);margin-bottom:12px;font-size:10px;line-height:1.7}.editor-panel select,.editor-panel textarea{color:#d8e3cb;border:1px solid var(--line);background:#0b2118;width:100%;padding:7px}.editor-panel button{border:1px solid var(--line);border-radius:4px;margin:8px 3px 0 0;padding:9px;font-size:10px}.editor-panel textarea{height:90px;margin-top:12px;font-family:monospace;font-size:8px}.editor-handles{pointer-events:none;z-index:8;position:fixed;inset:0}.editor-handle{pointer-events:auto;color:#f3e5b0;cursor:grab;touch-action:none;background:#192d20;border:1px solid #f3e5b0;border-radius:50%;width:22px;height:22px;font-size:8px;position:absolute;transform:translate(-50%,-50%)}.editor-handle.invalid{background:#9b3434;border-color:#ffb9a2}.editor-status{color:#edc789;margin-top:10px;font-size:10px;line-height:1.6}@keyframes float-score{0%{opacity:0;transform:translate(-50%,-10%)}12%{opacity:1}to{opacity:0;transform:translate(-50%,-75px)}}@keyframes appear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}body[data-motion=reduced] *,body[data-motion=reduced] :before{transition-duration:.001ms!important;animation-duration:.001ms!important}body[data-font=large]{--text-scale:1.12}body[data-font=larger]{--text-scale:1.23}body[data-font=large] .muted,body[data-font=large] .setting-row,body[data-font=large] button,body[data-font=larger] .muted,body[data-font=larger] .setting-row,body[data-font=larger] button{font-size:calc(12px * var(--text-scale))}@media (width>=1700px){.home{inset:120px 6% 90px}.header{height:120px;padding:0 6%}.hero{width:510px}.hero h1{font-size:78px}.intro{max-width:410px;font-size:14px}.hero-actions{width:310px}.primary,.secondary{min-height:54px;font-size:13px}.world-card{height:100px}.world-card-text strong{font-size:12px}.world-art{width:67px}.footer{left:6%;right:6%}.scene-caption{top:58%;right:15%}}@media (height<=790px) and (width>=901px){.header{height:82px}.home{top:82px;bottom:59px}.hero{padding-top:14px}.hero h1{margin-top:18px;font-size:51px;line-height:1.08}.intro{margin-top:17px;line-height:1.8}.hero-actions{gap:8px;margin-top:20px}.hero-details{margin-top:17px}.world-card{height:70px}.world-strip{margin-top:23px}.scene-caption{top:56%}.world-art{width:42px;height:44px}.world-art>.icon{top:7px;left:10px}.footer{height:46px}.modal{padding-top:28px;padding-bottom:28px}.settings-list .setting-row{min-height:40px;padding:9px 0}}@media (width<=1100px){.world-card{gap:6px;padding:9px}.world-art{width:38px}.world-art>.icon{left:6px}.world-card-text strong{font-size:8px}.world-card-text small{font-size:7px}.world-card-end{display:none}.hero h1{font-size:53px}.game-header{gap:16px}.game-level{min-width:180px}.score-block{min-width:95px;padding-left:15px}.game-level strong{font-size:16px}.controls-hint{font-size:8px;left:30%}.level-grid{grid-template-columns:repeat(3,1fr)}.level-card{min-height:180px}.level-illustration{height:65px}}@media (width<=760px){.header{height:81px;padding:0 5%}.brand img{width:36px;height:36px}.brand{gap:8px}.brand>span{letter-spacing:2px;font-size:14px}.brand small{letter-spacing:1.4px;margin-top:5px;font-size:5px}.header nav{gap:6px}.header nav .icon-button{width:32px;height:32px}.header-divider{display:none}.lang-button{padding:5px;font-size:9px}.header nav .icon-button[aria-label="How to play"],.header nav .icon-button[aria-label=Cách\ chơi]{display:none}.home{inset:81px 6% 45px}.hero{width:100%;max-width:100%;padding-top:13px}.hero-eyebrow{letter-spacing:1.2px;font-size:6px}.hero h1{letter-spacing:-1.6px;margin-top:18px;font-size:43px;line-height:1.09}.intro{max-width:260px;margin-top:15px;font-size:10px;line-height:1.8}.hero-actions{gap:8px;width:235px;margin-top:21px}.primary,.secondary{min-height:43px;font-size:10px}.hero-details{gap:12px;margin-top:17px;font-size:8px}.hero-details .text-link{font-size:8px}.hero-details .icon{width:11px}.scene-caption{gap:9px;top:57%;right:0}.scene-caption .eyebrow{font-size:6px}.caption-line{width:20px}.scene-caption h3{margin-top:6px;font-size:17px}.scene-caption p{max-width:140px;font-size:8px}.world-strip{margin-top:10px}.world-cards{scrollbar-width:none;pointer-events:auto;gap:8px;padding-bottom:5px;display:flex;overflow-x:auto}.world-card{min-width:155px;height:64px}.world-card-text strong{font-size:9px}.world-art{height:40px}.world-art>.icon{width:24px;height:24px;top:7px}.strip-heading{margin-bottom:10px}.strip-heading .eyebrow{letter-spacing:1.4px;font-size:6px}.strip-heading>span{font-size:6px}.footer{height:37px;font-size:7px;left:6%;right:6%}.footer small{display:none}.footer .version{font-size:7px}body[data-screen=menu] #ui:before{background:linear-gradient(90deg,#0b1b1be0,#0b1b1b55 80%),linear-gradient(#0000 57%,#0b1b1b66 85%,#0b1b1b 100%)}.map-page{margin-top:8px;padding:0 20px}.page-title{padding-top:40px}.page-title>.text-button{top:-8px}.page-title h1{font-size:34px}.page-title>.muted{font-size:10px}.world-tabs{margin-top:24px;display:flex;overflow-x:auto}.world-tab{min-width:120px;font-size:8px}.level-panel{padding:18px}.level-panel-heading h2{font-size:26px}.level-panel-heading .muted{font-size:9px}.level-grid{gap:8px}.level-card{min-height:159px;padding:11px 6px}.level-card>strong{font-size:8px}.level-top small{font-size:6px}.level-top .icon{width:9px}.level-illustration{height:65px}.level-illustration>.icon{width:48px;height:48px}.level-illustration>b{font-size:26px}.level-stars .icon{width:11px;height:11px}.level-stars{gap:3px}.map-foot{font-size:8px}.map-foot>span{font-size:7px}.game-header{flex-wrap:wrap;gap:12px;margin:12px 12px 0;padding:12px;position:relative}.game-level{min-width:unset;flex:1;gap:8px}.game-level>.icon-button{display:none}.game-level strong{font-size:16px}.game-level small{font-size:6px}.score-block{border:0;min-width:65px;padding:0}.score-block>strong{font-size:24px}.score-block>small{font-size:6px}.lives-block{gap:5px;font-size:12px}.lives-block .icon{width:14px}.game-header>.icon-button{width:32px;height:32px}.game-header>.icon-button:nth-last-child(2){display:none}.progress-block{flex-basis:100%;order:10;max-width:none;margin-top:2px}.progress-block>div:first-child{margin-bottom:6px}.progress-block small{font-size:6px}.progress-block span{font-size:7px}.game-bottom{left:15px;right:15px;bottom:max(20px, env(safe-area-inset-bottom));gap:10px}.controls-hint{display:none}.ammo-panel{gap:13px;padding:11px 13px}.ammo-next{gap:8px}.ammo-next>small{font-size:6px}.swap-button{gap:7px;padding-left:12px;font-size:9px}.marble{width:26px;height:26px}.tutorial{border-radius:8px;width:340px;max-width:85%;padding:10px 14px;font-size:9px;bottom:105px}.level-banner{letter-spacing:1px;font-size:7px;top:135px}.power-pill{padding:8px 10px;font-size:8px}.power-pill>.icon{width:13px;height:13px}.modal-backdrop{padding:17px}.modal{border-radius:10px;width:min(100%,450px);max-height:calc(100dvh - 34px);padding:30px 24px}.modal h2{font-size:31px}.settings-modal{padding-top:33px}.setting-row{padding:12px 0;font-size:10px}.setting-row select{max-width:155px;font-size:9px}.setting-row input[type=range]{width:115px}.settings-footer .text-button{padding:10px 0;font-size:9px}.help-modal h2{font-size:28px}.help-steps{margin-top:20px}.help-steps>div{gap:12px}.help-steps h3{font-size:11px}.help-steps p{font-size:9px}.power-grid{gap:18px 14px}.power-grid>div{gap:9px}.power-grid .icon{width:21px;height:21px}.power-grid strong{font-size:9px}.power-grid small{font-size:7px;line-height:1.6}.help-controls p{gap:6px;font-size:8px}.result-score>strong{font-size:47px}.result-stats small{font-size:7px}.result-stars{margin-top:22px}.result-modal .modal-actions{margin-top:20px}.editor-panel{width:230px;padding:14px;top:8px;right:8px}.editor-panel h2{font-size:21px}}@media (width<=760px) and (height<=740px){.hero h1{font-size:37px}.hero{padding-top:0}.hero-eyebrow{font-size:5px}.intro{max-width:250px;margin-top:12px;font-size:9px}.hero-actions{margin-top:16px}.hero-actions .primary,.hero-actions .secondary{min-height:38px;padding:10px 19px}.hero-details{margin-top:12px}.scene-caption{top:59%}.world-card{height:55px}.home{bottom:43px}.scene-caption p{display:none}}@media (height<=500px) and (width>=600px){.header{height:62px}.home{top:62px;bottom:39px}.hero{padding:0}.hero h1{margin-top:11px;font-size:31px;line-height:1.05}.hero-eyebrow{font-size:6px}.intro{max-width:300px;margin-top:11px;font-size:9px;line-height:1.5}.hero-actions{flex-direction:row;gap:7px;width:360px;margin-top:13px}.hero-actions .primary,.hero-actions .secondary{gap:8px;min-height:35px;padding:8px 12px;font-size:8px}.hero-details{margin-top:10px;font-size:7px}.world-strip{margin-top:10px}.world-card{height:48px}.world-art{width:31px;height:32px}.world-art>.icon{width:20px;height:20px;top:5px;left:5px}.world-card-text{gap:5px}.world-card-text strong{font-size:7px}.strip-heading{margin-bottom:6px}.strip-heading .eyebrow{font-size:6px}.footer{height:30px}.scene-caption{top:42%}.game-header{margin-top:8px;padding:9px 14px}.game-bottom{bottom:12px}.tutorial{bottom:70px}.level-banner{top:95px}}
