@charset "UTF-8";
:root{font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;color:#183b3a;background:#d9eee5;font-synthesis:none;--ink:#183b3a;--accent:#166b5d;--paper:#fffdf4;--muted:#627e76;--gold:#efbb61;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none;touch-action:manipulation;user-select:none;-webkit-user-select:none}button:focus-visible{outline:3px solid #e78a48;outline-offset:5px}button:disabled{cursor:default}button,svg{flex-shrink:0}svg{display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}#app{position:fixed;inset:0;overflow:hidden;isolation:isolate;touch-action:none}#scene{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:-2}.screen-grain{pointer-events:none;position:absolute;inset:0;opacity:.025;z-index:0;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.9' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.masthead{position:absolute;top:calc(27px + var(--safe-top));left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;z-index:12;pointer-events:none}.masthead button{pointer-events:auto}.brand{display:flex;align-items:center;gap:12px;text-align:left;padding:0;font-size:19px;font-weight:750;letter-spacing:2px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:4px;font-weight:650}.brand-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid #183b3a30;border-radius:13px;background:#fffdf42b}.brand-icon svg{width:31px;height:31px;fill:var(--ink);stroke:#d9eee5;stroke-width:1.2}.top-tools{display:flex;gap:10px}.icon-button{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid #183b3a24;background:#fffdf466;border-radius:50%;transition:background .2s}.icon-button:hover{background:#fffdf4cc}.icon-button svg{width:20px;height:20px}.sound-off{position:absolute;width:24px;height:2px;background:currentColor;transform:rotate(-45deg);box-shadow:0 -2px 0 #e3eee4}.home-screen{position:absolute;inset:0;pointer-events:none}.hero-copy{position:absolute;left:9%;top:25%;width:365px;pointer-events:auto}.eyebrow{font-size:12px;letter-spacing:2.4px;font-weight:650;display:flex;gap:10px;align-items:center}.eyebrow>span{height:7px;width:7px;border-radius:50%;background:#d27f54}.hero-copy h1{font-size:clamp(56px,5.7vw,83px);font-weight:850;letter-spacing:-3px;line-height:1.12;margin:24px 0}.hero-copy h1 span{color:#1e7566}.hero-description{font-size:16px;line-height:1.9;color:#52716b;letter-spacing:.5px}.home-actions{display:flex;flex-direction:column;gap:12px;max-width:286px;margin-top:31px}.button{width:100%;min-height:55px;padding:15px 23px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;font-size:16px;font-weight:700;letter-spacing:1px;transition:background .2s,box-shadow .2s}.button.primary{background:#183f3b;color:#fff8e7;box-shadow:0 6px 0 #0e2e2a,0 12px 25px #144f3620}.button.primary:hover{background:#25594e}.button.secondary{border:1px solid #274b3d27;background:#fffdf482}.button.secondary:hover{background:#fffdf4}.button svg{width:21px;height:21px}.button-number{margin-left:auto;font-size:14px;font-variant-numeric:tabular-nums;opacity:.6;letter-spacing:2px}.home-actions .primary{justify-content:flex-start}.home-actions .secondary{font-size:14px}.home-actions .secondary span{margin-left:auto;font-size:12px;color:#637c72;letter-spacing:0}.hero-meta{display:flex;align-items:center;gap:13px;font-size:12px;color:#6a8378;margin-top:25px;letter-spacing:1px}.hero-meta i{width:3px;height:3px;background:currentColor;border-radius:50%}.scene-caption{position:absolute;right:6%;bottom:18%;display:flex;flex-direction:column;gap:9px;font-size:12px;letter-spacing:1px;text-align:right;color:#648578}.scene-caption b{font-size:13px;color:#27564a}.caption-line{height:1px;width:38px;align-self:flex-end;background:currentColor;margin-bottom:4px}.home-bottom{position:absolute;left:40px;right:40px;bottom:calc(25px + var(--safe-bottom));display:flex;align-items:center;gap:30px;font-size:12px;letter-spacing:1px;color:#5a7e71}.home-bottom button{pointer-events:auto;border-bottom:1px solid #56766b55;padding:4px 0;font-size:12px}.home-bottom .edition{margin-left:auto;font-size:10px;letter-spacing:2px}
.play-screen{position:absolute;inset:0;pointer-events:none}.play-screen button{pointer-events:auto}#app[data-screen="play"] .brand{display:none}#app[data-screen="play"] .masthead{top:calc(21px + var(--safe-top));left:auto;right:28px}#app[data-screen="play"] .top-tools{gap:8px}#app[data-screen="play"] #fullscreen-button{display:none}#app[data-screen="play"] #sound-button{width:36px;height:36px;background:#fffdf44d}.game-top{position:absolute;left:28px;right:78px;top:calc(20px + var(--safe-top));display:flex;align-items:center;gap:20px}.level-badge{display:flex;align-items:center;gap:12px}.level-badge>span{display:grid;place-items:center;background:#183f3b;color:#fff8e7;width:43px;height:47px;border-radius:10px;font-size:21px;font-weight:750;font-variant-numeric:tabular-nums;box-shadow:0 3px 0 #0b2825}.level-badge small{display:block;font-size:11px;letter-spacing:1.6px;color:var(--muted);margin-bottom:5px}.level-badge strong{display:block;font-size:15px;letter-spacing:1px}.clock{position:absolute;left:calc(50% + 25px);transform:translateX(-50%);text-align:center}.clock>span{font-weight:800;font-size:42px;line-height:1;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.clock>span>span{font-size:21px;font-weight:600;letter-spacing:-.5px;opacity:.6}.clock small{display:block;font-size:10px;letter-spacing:3px;margin-top:5px;opacity:.6}.clock.urgent{color:#c34b3d}.pause-button{margin-left:auto;width:36px;height:36px}.pause-button svg{stroke-width:3}.route-status{position:absolute;top:calc(89px + var(--safe-top));left:28px;width:210px}.route-progress{height:4px;border-radius:8px;background:#254e3b20;overflow:hidden}.route-progress>span{display:block;height:100%;width:0;background:var(--accent);border-radius:8px;transition:width .15s}.route-meta{display:flex;justify-content:space-between;margin-top:7px;font-size:11px;color:var(--muted);letter-spacing:.5px}.route-meta b{font-size:14px;color:var(--ink)}#hearts{letter-spacing:3px;color:#d9785d;font-size:15px}.mission-pill{position:absolute;top:calc(142px + var(--safe-top));left:28px;display:flex;align-items:center;gap:9px;padding:10px 13px;background:#fffdf49c;border:1px solid #fffdf4b3;border-radius:12px;font-size:12px;color:#59716a;box-shadow:0 4px 15px #13393104;backdrop-filter:blur(10px)}.mission-symbol{font-size:19px;color:#c18d3f}.mission-pill b{font-size:12px;color:#2f6353;margin-left:5px;font-variant-numeric:tabular-nums}.mission-pill.done{border-color:#5bb59d80;background:#e4f7e7dd}.combo-display{position:absolute;right:30px;top:29%;display:flex;flex-direction:column;align-items:center;color:var(--accent)}.combo-display b{font-size:47px;font-weight:800;font-style:italic;line-height:1}.combo-display span{font-size:11px;letter-spacing:1px;margin-top:5px}.game-toast{position:absolute;top:25%;left:50%;transform:translate(-50%,-8px);opacity:0;transition:opacity .15s,transform .15s;white-space:nowrap;border-radius:12px;padding:10px 18px;background:#183f3be8;color:#fff8e7;font-size:14px;font-weight:600;z-index:4;max-width:90vw;text-align:center}.game-toast.visible{opacity:1;transform:translate(-50%,0)}.collapse-warning{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(208px + var(--safe-bottom));color:#a54c2d;font-size:12px;font-weight:650;text-align:center;background:#fff4d9ee;padding:9px 17px;border-radius:10px;box-shadow:0 3px 15px #98782b13}.collapse-warning>div{margin-top:6px;height:3px;background:#a54c2d28;overflow:hidden;border-radius:3px}.collapse-warning i{display:block;height:100%;background:#d57d3b;transform-origin:left}.play-controls{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(20px + var(--safe-bottom));width:min(560px,calc(100% - 44px));text-align:center}.control-row{display:grid;grid-template-columns:1fr 83px 1fr;gap:18px;align-items:center}.control-hint{font-size:12px;letter-spacing:1px;color:#3f6e60;margin-bottom:16px;text-shadow:0 1px 5px #fffdf4}.jump-button{position:relative;display:flex;justify-content:center;align-items:center;gap:13px;height:79px;border-radius:19px;border:1px solid #fffaf1b3;background:#fffcf1f5;box-shadow:0 6px 0 #b0c7b4,0 12px 20px #193f3224;color:#22564b;transition:background .1s,box-shadow .1s,transform .1s}.jump-button span{font-size:19px;letter-spacing:2px;font-weight:800}.jump-button svg{height:29px;width:38px;stroke-width:1.8;fill:#add9c7}.jump-button.right{background:#1d6054;color:#f5fae9;box-shadow:0 6px 0 #103d35,0 12px 20px #193f3224;border-color:#ffffff38}.jump-button.right svg{fill:#589d83}.jump-button kbd{position:absolute;right:12px;bottom:9px;font:10px system-ui;border:1px solid currentColor;border-radius:3px;padding:1px 4px;opacity:.5}.jump-button.pressed,.jump-button:active:not(:disabled){transform:translateY(5px);box-shadow:0 1px 0 #b0c7b4,0 4px 10px #193f3214}.jump-button.right.pressed,.jump-button.right:active:not(:disabled){box-shadow:0 1px 0 #103d35,0 4px 10px #193f3214}.dash-button{position:relative;width:83px;height:83px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;background:#f3f3df;color:#386154;box-shadow:0 4px 0 #b6cbb8;isolation:isolate}.dash-button svg{width:24px;height:24px;fill:#e7b757;stroke:#c18c30;stroke-width:1.4}.dash-button>span:not(.energy-ring){font-size:11px;font-weight:800;margin-top:2px}.dash-button small{font-size:10px;line-height:1;margin-top:4px;opacity:.7}.dash-button:disabled svg{fill:#a8b6a8;stroke:#8fa18f}.energy-ring{position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(#edbe62 calc(var(--energy,0)*1turn),#163f3515 0);z-index:-1;mask:radial-gradient(transparent 65%,#000 66%);-webkit-mask:radial-gradient(transparent 65%,#000 66%)}.dash-button.ready{background:#ffe7a5;animation:charged 1.5s ease-in-out infinite}.play-controls>p{font-size:10px;letter-spacing:.8px;color:#5a7e71;margin-top:17px}.play-controls>p span{margin:0 7px}@keyframes charged{50%{box-shadow:0 4px 0 #c39a49,0 0 30px #edbf5d88}}#app[data-world="2"],#app[data-world="3"]{--ink:#eaf4dc;--muted:#c4d9cd;--accent:#b2e8cb}#app[data-world="2"] .control-hint,#app[data-world="3"] .control-hint{color:#e4eee3;text-shadow:0 1px 7px #002e32}#app[data-world="2"] .play-controls>p,#app[data-world="3"] .play-controls>p{color:#b4c8c5}#app[data-world="2"] .game-top,#app[data-world="3"] .game-top{color:var(--ink)}#app[data-world="2"] .masthead,#app[data-world="3"] .masthead{color:var(--ink)}#app[data-world="2"] .route-progress,#app[data-world="3"] .route-progress{background:#edf7e833}#app[data-world="2"] .mission-pill,#app[data-world="3"] .mission-pill{background:#193d41d9;border-color:#bce4d02b;color:#d0dfcf}#app[data-world="2"] .mission-pill b,#app[data-world="3"] .mission-pill b{color:#d9edbc}
.map-screen{position:absolute;inset:0;background:#eaf1e7e8;backdrop-filter:blur(20px);z-index:20;display:grid;place-items:center;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:calc(30px + var(--safe-top)) 30px calc(30px + var(--safe-bottom));color:#183b3a}.map-shell{width:min(1030px,100%);margin:auto}.map-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.map-heading .eyebrow{font-size:10px;letter-spacing:3px;color:#6f8c7d;margin-bottom:10px}.map-heading h2{font-size:36px;letter-spacing:-1px}.text-button{font-size:13px;padding:12px 5px;letter-spacing:.5px;color:#57786c}.text-button:hover{color:#153f34}.chapter-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:6px;background:#d9e6da;border-radius:15px}.chapter-tab{padding:14px 6px;border-radius:10px;font-size:14px;color:#6f8577;font-weight:600}.chapter-tab[aria-selected="true"]{background:#fffcf2;color:#214b3e;box-shadow:0 3px 10px #263c2510}.chapter-tab small{display:block;font-size:10px;letter-spacing:2px;margin-bottom:4px;opacity:.7}.chapter-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:29px 2px 20px}.chapter-heading small{font-size:11px;letter-spacing:2px;color:#7a8d7f}.chapter-heading h3{font-size:23px;margin-top:7px}.chapter-heading>span{font-size:13px;color:#92743b}.level-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.level-card{position:relative;overflow:hidden;border-radius:19px;background:#fffcf4;box-shadow:0 7px 20px #1d402b08;border:2px solid transparent;text-align:left;padding:0;transition:border .2s,transform .2s}.level-card:hover{transform:translateY(-4px)!important;border-color:#6f9c7e}.level-card.locked{filter:saturate(.45)}.level-art{height:145px;position:relative;overflow:hidden;background:linear-gradient(145deg,#add1b2,#deebc7)}.level-art:before{content:"";position:absolute;border:1px solid #fff9da50;border-radius:50%;width:120px;height:120px;right:-20px;top:-22px;box-shadow:0 0 0 30px #fff9da19,0 0 0 60px #fff9da10}.mini-stair{position:absolute;left:calc(20% + var(--x)*13%);bottom:calc(15px + var(--i)*13px);width:54px;height:27px;background:#f7f3db;border-bottom:8px solid #96bca0;transform:skewY(-25deg);box-shadow:-5px 7px 0 #51795e11;border-radius:3px}.mini-stair:nth-child(3n){background:#e7b767;border-bottom-color:#bb8f49}.mini-star{position:absolute;top:34px;left:48%;font-size:30px;color:#fff3ac;text-shadow:0 3px 0 #be9c5a}.level-art.world-1{background:linear-gradient(145deg,#c88e79,#efd0a0)}.level-art.world-2{background:linear-gradient(145deg,#173b46,#477e72)}.level-art.world-3{background:linear-gradient(145deg,#343652,#797994)}.level-card-body{padding:20px}.level-card-top{display:flex;justify-content:space-between;align-items:center}.level-card-top small{font-size:11px;letter-spacing:2px;color:#8e9b8e}.card-stars{font-size:17px;letter-spacing:2px;color:#e2b35d}.level-card h4{margin:10px 0;font-size:19px}.level-card p{font-size:12px;color:#7a8b7c;line-height:1.7;min-height:40px}.card-action{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#3d6b51;border-top:1px solid #e8e9de;margin-top:14px;padding-top:15px;font-weight:650}.card-action strong{font-size:10px;letter-spacing:1px;color:#94a08b}.map-footer{display:flex;justify-content:space-between;margin-top:25px;font-size:12px;color:#81917f;gap:20px}.map-footer strong{color:#5b705c;white-space:nowrap}
.modal-shade{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:calc(24px + var(--safe-top)) 22px calc(24px + var(--safe-bottom));background:#123b3c55;backdrop-filter:blur(13px);overflow:auto;touch-action:pan-y;overscroll-behavior:contain}.modal{position:relative;width:min(440px,100%);background:#fffdf3;border-radius:27px;padding:33px;text-align:center;color:#183b3a;box-shadow:0 24px 100px #0d353f38;margin:auto;animation:appear .2s ease-out}.modal-stamp{font-size:10px;font-weight:700;letter-spacing:2.4px;color:#8a9c89;margin-bottom:14px}.modal h2{font-size:29px;letter-spacing:-.5px}.modal-intro{font-size:13px;line-height:1.7;color:#7a8c7c;margin:13px 0 25px}.modal .button+.button{margin-top:13px}.modal .text-button{margin-top:10px}.tutorial-modal{width:min(520px,100%)}.lesson-grid{display:flex;flex-direction:column;gap:20px;margin:28px 0;text-align:left}.lesson-grid>div{position:relative;padding-left:62px}.lesson-icon{position:absolute;left:0;top:0;width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#e7eee0;color:#416f50;font-size:23px}.lesson-grid>div:first-child .lesson-icon{font-size:14px;letter-spacing:1px}.lesson-grid strong{font-size:15px}.lesson-grid p{font-size:12px;color:#83917f;line-height:1.7;margin-top:6px}.tutorial-keyboard{font-size:10px;margin-top:20px;color:#95a18d}.pause-modal .primary{margin-bottom:15px}.result-emblem{margin:0 auto 13px;width:65px;height:65px;border-radius:22px;background:#f5e4ae;display:grid;place-items:center;font-size:43px;color:#c6973d;transform:rotate(-7deg);box-shadow:0 5px 0 #decb90}.result-stars{display:flex;justify-content:center;gap:15px;margin:-6px 0 22px;color:#dfac4b;font-size:33px}.result-stars .empty{color:#dfdfcc}.result-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e6e9dc;border-bottom:1px solid #e6e9dc;padding:18px 0;gap:10px}.result-metrics strong{display:block;font-size:23px;font-variant-numeric:tabular-nums}.result-metrics span{display:block;font-size:10px;color:#9b9e89;margin-top:7px}.result-tasks{text-align:left;font-size:12px;color:#88917d;display:grid;gap:8px;margin:21px 0}.result-tasks .done{color:#327051}.result-tasks .check{display:inline-block;width:24px}.global-toast{position:absolute;left:50%;top:calc(90px + var(--safe-top));transform:translate(-50%,-10px);max-width:90vw;text-align:center;opacity:0;pointer-events:none;z-index:50;padding:12px 19px;border-radius:13px;background:#163f3bed;color:#fff8e7;font-size:13px;transition:opacity .2s,transform .2s}.global-toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes appear{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@media(min-width:1500px){.hero-copy{left:13%;top:27%}.home-actions{margin-top:38px}.scene-caption{right:10%}}
@media(max-width:760px){.masthead{top:calc(20px + var(--safe-top));left:23px;right:23px}.brand{font-size:16px;gap:9px}.brand-icon{width:36px;height:36px;border-radius:11px}.brand-icon svg{width:27px;height:27px}.brand small{font-size:7px;letter-spacing:1.7px}.top-tools{gap:8px}.icon-button{width:35px;height:35px}.icon-button svg{width:17px;height:17px}.hero-copy{left:26px;top:17%;width:calc(100% - 52px)}.eyebrow{font-size:10px;letter-spacing:1.5px;gap:8px}.hero-copy h1{font-size:55px;letter-spacing:-2px;margin:18px 0 15px;line-height:1.05}.hero-description{font-size:12px;line-height:1.8}.home-actions{position:fixed;bottom:calc(83px + var(--safe-bottom));left:26px;right:26px;max-width:none;margin:0;gap:10px}.home-actions .button{min-height:53px;padding:14px 20px}.hero-meta{position:fixed;left:26px;bottom:calc(57px + var(--safe-bottom));font-size:10px;gap:10px;margin:0}.scene-caption{right:23px;bottom:28%;font-size:9px;gap:6px;max-width:130px}.scene-caption b{font-size:10px}.scene-caption>span:last-child{display:none}.caption-line{width:26px}.home-bottom{left:26px;right:26px;bottom:calc(21px + var(--safe-bottom));font-size:9px;gap:0}.home-bottom button{font-size:10px;margin-left:auto}.home-bottom .edition{display:none}.game-top{left:20px;right:66px;top:calc(18px + var(--safe-top))}.level-badge{gap:8px}.level-badge>span{width:35px;height:41px;font-size:18px}.level-badge small{font-size:9px;letter-spacing:.5px}.level-badge strong{font-size:12px;max-width:88px}.clock{left:calc(65% + 10px)}.clock>span{font-size:34px}.clock>span>span{font-size:17px}.clock small{font-size:8px;letter-spacing:1.5px}.pause-button{width:32px;height:32px}#app[data-screen="play"] .masthead{top:calc(21px + var(--safe-top));right:20px}#app[data-screen="play"] #sound-button{width:32px;height:32px}.route-status{left:20px;right:20px;width:auto;top:calc(82px + var(--safe-top))}.route-meta{font-size:10px}.route-meta b{font-size:12px}.mission-pill{left:20px;top:calc(132px + var(--safe-top));padding:8px 10px;font-size:10px;gap:7px}.mission-pill b{font-size:10px}.mission-symbol{font-size:16px}.combo-display{right:24px;top:24%}.combo-display b{font-size:35px}.combo-display span{font-size:9px}.game-toast{font-size:12px;top:31%;padding:9px 13px}.play-controls{width:calc(100% - 36px);bottom:calc(22px + var(--safe-bottom))}.control-row{grid-template-columns:1fr 65px 1fr;gap:13px}.jump-button{height:75px;border-radius:17px;gap:6px}.jump-button span{font-size:16px;letter-spacing:1px}.jump-button svg{width:29px;height:25px}.jump-button kbd{display:none}.dash-button{width:65px;height:65px}.dash-button svg{width:20px;height:20px}.dash-button>span:not(.energy-ring){font-size:10px}.dash-button small{font-size:9px}.control-hint{font-size:10px;margin-bottom:15px;letter-spacing:.5px}.play-controls>p{font-size:9px;letter-spacing:0;margin-top:16px}.play-controls>p span{margin:0 1px}.collapse-warning{bottom:calc(185px + var(--safe-bottom));font-size:11px}.map-screen{padding:calc(24px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));display:block}.map-heading{margin-bottom:23px}.map-heading h2{font-size:29px}.map-heading .eyebrow{font-size:8px;letter-spacing:2px}.chapter-tabs{gap:3px;padding:4px;border-radius:12px}.chapter-tab{font-size:10px;padding:11px 2px;border-radius:8px}.chapter-tab small{font-size:8px;letter-spacing:1px}.chapter-heading{margin:24px 0 16px}.chapter-heading small{font-size:9px;letter-spacing:1px}.chapter-heading h3{font-size:20px}.chapter-heading>span{font-size:11px}.level-cards{grid-template-columns:1fr;gap:12px}.level-card{display:grid;grid-template-columns:105px 1fr;border-radius:15px}.level-art{height:100%;min-height:146px}.level-art .mini-stair{width:35px;height:19px;left:calc(5% + var(--x)*12%);bottom:calc(22px + var(--i)*12px);border-bottom-width:6px}.mini-star{font-size:22px;left:39%;top:22px}.level-card-body{padding:14px 16px}.level-card-top small{font-size:9px}.card-stars{font-size:13px}.level-card h4{font-size:16px;margin:7px 0}.level-card p{font-size:10px;min-height:auto;line-height:1.7}.card-action{margin-top:10px;padding-top:10px;font-size:10px}.card-action strong{font-size:9px}.map-footer{font-size:10px;margin-top:18px;line-height:1.8;gap:10px}.modal{padding:26px 23px;border-radius:22px}.modal h2{font-size:25px}.modal-intro{font-size:12px;margin:12px 0 21px}.modal-stamp{font-size:9px;letter-spacing:1.6px}.lesson-grid{gap:18px;margin:22px 0}.lesson-grid>div{padding-left:54px}.lesson-icon{width:40px;height:40px;border-radius:12px;font-size:21px}.lesson-grid strong{font-size:13px}.lesson-grid p{font-size:11px}.tutorial-keyboard{font-size:8px;margin-top:18px}.modal .button{min-height:50px;font-size:14px;padding:13px}.result-emblem{width:54px;height:54px;font-size:35px;border-radius:17px}.result-stars{font-size:28px;margin-bottom:16px}.result-metrics{padding:14px 0}.result-metrics strong{font-size:21px}.result-tasks{margin:18px 0;font-size:11px}.global-toast{font-size:12px;width:max-content;max-width:88vw}}
@media(max-height:700px) and (max-width:760px){.hero-copy{top:16%}.hero-copy h1{font-size:46px;margin:14px 0 11px}.hero-description{font-size:11px}.home-actions{bottom:calc(73px + var(--safe-bottom));gap:8px}.home-actions .button{min-height:46px;padding:11px 17px;font-size:14px}.hero-meta{bottom:calc(49px + var(--safe-bottom));font-size:9px}.home-bottom{bottom:calc(15px + var(--safe-bottom))}.scene-caption{display:none}.play-controls{bottom:calc(16px + var(--safe-bottom))}.jump-button{height:65px}.control-hint{margin-bottom:12px}.play-controls>p{margin-top:13px;font-size:8px}.collapse-warning{bottom:calc(159px + var(--safe-bottom))}.mission-pill{top:calc(119px + var(--safe-top));font-size:9px}.game-toast{top:29%}.lesson-grid{gap:13px;margin:18px 0}.modal{padding:22px}.modal-intro{margin:10px 0 16px}.result-emblem{width:43px;height:43px;font-size:27px;margin-bottom:11px}.result-modal .modal-stamp{margin-bottom:11px}.result-stars{font-size:24px;margin-bottom:13px}.result-tasks{margin:14px 0}.modal .text-button{margin-top:3px}.tutorial-keyboard{margin-top:13px}}
@media(orientation:landscape) and (max-height:540px){.masthead{top:18px;left:25px;right:25px}.brand{font-size:14px}.brand small{font-size:7px}.hero-copy{top:25%;left:7%;width:300px}.hero-copy .eyebrow{font-size:9px}.hero-copy h1{font-size:42px;margin:12px 0}.hero-copy h1 br{display:none}.hero-description{font-size:11px}.home-actions{position:static;max-width:240px;gap:8px;margin-top:18px}.home-actions .button{min-height:41px;padding:10px 16px;font-size:13px;border-radius:11px}.hero-meta{position:static;font-size:9px;margin-top:14px}.home-bottom{bottom:12px;left:25px;right:25px;font-size:9px}.scene-caption{right:6%;bottom:18%;display:flex}.scene-caption b{font-size:10px}.game-top{left:22px;right:65px;top:16px}.level-badge>span{height:36px;width:33px;font-size:17px}.level-badge small{font-size:9px}.level-badge strong{font-size:12px}.clock{left:calc(50% + 20px)}.clock>span{font-size:31px}.clock small{display:none}.route-status{top:71px;left:23px;right:auto;width:155px}.mission-pill{top:117px;left:23px;font-size:10px;max-width:200px}.mission-pill b{font-size:10px}.play-controls{left:25px;right:25px;transform:none;bottom:calc(17px + var(--safe-bottom));width:auto}.control-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.jump-button{width:144px;height:66px}.dash-button{height:60px;width:60px;margin-bottom:4px}.dash-button svg{width:20px;height:20px}.dash-button>span:not(.energy-ring){font-size:9px}.dash-button small{font-size:9px}.control-hint{position:absolute;left:0;right:0;bottom:90px;font-size:10px;margin:0}.play-controls>p{display:none}.combo-display{right:30px;top:30%}.combo-display b{font-size:31px}.combo-display span{font-size:9px}.game-toast{top:20%;font-size:11px;padding:8px 13px}.collapse-warning{bottom:133px;font-size:10px;padding:7px 12px}.modal-shade{padding:12px 20px}.modal{padding:20px;width:min(480px,100%)}.tutorial-modal{width:640px}.modal-stamp{font-size:8px;margin-bottom:8px}.modal h2{font-size:23px}.modal-intro{font-size:11px;margin:8px 0 13px}.lesson-grid{flex-direction:row;gap:15px;margin:17px 0}.lesson-grid>div{flex:1;padding:0;text-align:center}.lesson-icon{position:static;margin:0 auto 9px;width:35px;height:35px;font-size:19px}.lesson-grid strong{font-size:12px}.lesson-grid p{font-size:10px;margin-top:4px}.tutorial-keyboard{font-size:9px;margin-top:12px}.modal .button{min-height:40px;padding:10px;font-size:13px}.modal .button+.button{margin-top:10px}.modal .text-button{padding:7px;margin-top:5px;font-size:11px}.result-emblem{display:none}.result-modal{width:440px}.result-stars{font-size:25px;margin:0 0 12px}.result-metrics{padding:9px 0}.result-metrics strong{font-size:20px}.result-metrics span{font-size:9px;margin-top:4px}.result-tasks{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:11px 0;font-size:10px}.map-screen{padding:20px 30px}.map-heading{margin-bottom:17px}.map-heading h2{font-size:25px}.map-heading .eyebrow{font-size:8px;margin-bottom:5px}.chapter-tabs{padding:4px;gap:6px}.chapter-tab{padding:8px;font-size:11px}.chapter-tab small{display:none}.chapter-heading{margin:17px 0 12px}.chapter-heading small{font-size:8px}.chapter-heading h3{font-size:18px;margin-top:4px}.level-cards{grid-template-columns:repeat(3,1fr);gap:13px}.level-card{display:block}.level-art{height:75px;min-height:75px}.level-card-body{padding:12px}.level-card h4{font-size:14px;margin:5px 0}.level-card p{font-size:10px;min-height:32px}.level-card-top small{font-size:9px}.card-stars{font-size:11px}.card-action{font-size:10px;margin-top:8px;padding-top:8px}.map-footer{margin-top:15px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
