@font-face{font-family:SkyRound;src:local('Arial Rounded MT Bold');font-display:swap}
:root{font-family:'Trebuchet MS','Segoe UI',sans-serif;color:#294f48;font-synthesis:none;--ink:#294f48;--muted:#6f8d7c;--coral:#ed8467;--cream:#fffdf2;--green:#4f7860}*{box-sizing:border-box}html,body{margin:0;width:100%;min-height:100%;overscroll-behavior:none}body{background:#dfede0;overflow:hidden}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #2c796b;outline-offset:5px}button{transition:transform .18s,background .18s,box-shadow .18s}button:hover{transform:translateY(-2px)}button:active{transform:translateY(2px)}button:disabled{cursor:default}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}#landscape{position:fixed;inset:0;width:100%;height:100%;z-index:-1}.site-header{height:92px;position:absolute;left:0;right:0;top:0;display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;z-index:3}.small-logo{text-decoration:none;color:var(--ink);display:flex;gap:12px;align-items:center;font-size:15px;font-weight:900;letter-spacing:1.5px}.logo-mark{position:relative;font-size:29px;line-height:1;letter-spacing:-3px;font-style:italic}.logo-mark>span{position:absolute;font-size:15px;top:-8px;right:-8px;color:#c09947}.edition{color:#799182;font-size:10px;letter-spacing:1px;border-left:1px solid #a4baaa;margin-left:8px;padding-left:20px;font-weight:400}.header-actions{display:flex;gap:12px}.icon-button{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#fffdf363;border:1px solid #fffaf090}.icon-button svg{width:20px;height:20px}.home-screen{height:100dvh;max-height:1000px;min-height:620px;width:min(680px,100%);margin:0 auto;padding:clamp(88px,11vh,118px) 20px 62px;display:flex;flex-direction:column;text-align:center;position:relative}.title-group{flex:0 0 auto;position:relative;z-index:1}.eyebrow{font-size:10px;letter-spacing:3px;font-weight:700;display:flex;justify-content:center;align-items:center;gap:14px;margin:0 0 14px;color:#6b917c}.eyebrow>span{width:26px;height:1px;background:#88a68f}h1{font-family:SkyRound,'Trebuchet MS',sans-serif;font-size:84px;line-height:1.04;letter-spacing:-5px;font-weight:1000;margin:0;color:#315b48;position:relative;text-shadow:0 3px 0 #fffdf9,0 6px 0 #bad3ab;transform:rotate(-2deg)}.title-star{position:absolute;right:40px;top:-17px;font-size:32px;color:#c4a657;letter-spacing:0;text-shadow:none;transform:rotate(12deg)}.tagline{font-size:17px;letter-spacing:1px;margin:17px 0 0;color:#708879}.hero-stage{position:relative;flex:1;min-height:255px;max-height:415px;width:100%}.hero-halo{width:300px;height:300px;position:absolute;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-47%);background:radial-gradient(ellipse,#ffffe896,transparent 67%)}#milo-hero,#hero-fallback{position:absolute;left:50%;height:calc(100% - 55px);max-height:275px;width:auto;bottom:54px;transform:translateX(-50%);z-index:2;object-fit:contain;filter:drop-shadow(0 9px 3px #304e3620);animation:hero-float 3.5s ease-in-out infinite}#milo-hero{max-width:280px}#hero-island{position:absolute;bottom:0;width:340px;height:119px;left:50%;transform:translateX(-50%);z-index:1}.milo-label{position:absolute;left:-40px;top:52%;text-align:left;transform:rotate(-5deg);z-index:3}.milo-label strong{display:block;font-size:19px;font-weight:800}.milo-label strong span{display:inline-block;transform:rotate(13deg);font-size:36px;font-weight:normal;margin-left:12px;color:#7d9e85}.milo-label small{font-size:8px;letter-spacing:1.6px;color:#7d927b}.hand-line{display:block;font:italic 13px Georgia,serif;color:#73917b;margin-bottom:4px}.best-badge{display:flex;gap:12px;align-items:center;text-align:left;background:#fffdf3c7;border:1px solid #fffdf6;border-radius:17px;padding:15px 18px;position:absolute;right:-26px;top:40%;transform:rotate(4deg);box-shadow:0 9px 22px #42614608;z-index:2}.best-badge>svg{color:#b99c54;width:28px;height:28px}.best-badge div>span{display:block;font-size:8px;letter-spacing:1.2px;font-weight:bold;color:#92a084}.best-badge strong{display:block;font-size:27px;margin-top:3px;letter-spacing:-1px}.best-badge strong span{font-size:14px;color:#879a82;letter-spacing:0}.sparkle{position:absolute;color:#c5a45a;font-size:23px;z-index:2;animation:twinkle 4s ease-in-out infinite}.sparkle-one{left:29%;top:20%}.sparkle-two{right:28%;top:37%;font-size:17px;animation-delay:1s}.sparkle-three{right:29%;top:10%;font-size:31px;animation-delay:2s}.home-controls{position:relative;z-index:3;flex:0 0 auto}.primary-button{background:var(--coral);color:#fffdf5;box-shadow:0 5px 0 #c96751,0 9px 15px #92543a15;border:1px solid #f4a28a;border-radius:15px;min-height:59px;font-size:16px;letter-spacing:1.8px;font-weight:900;display:flex;justify-content:center;align-items:center;gap:15px;padding:15px 24px;width:100%}.primary-button:hover{background:#f18d70;box-shadow:0 7px 0 #c96751,0 12px 16px #92543a15}.play-button{max-width:310px;margin:0 auto}.play-button>svg{margin-left:auto;width:20px}.play-triangle{width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:10px solid #fff9e8;margin-right:auto}.play-caption{font-size:10px;letter-spacing:.2px;margin:16px 0 19px;color:#73856e}.secondary-actions{display:flex;align-items:center;justify-content:center;gap:20px}.secondary-actions>span{height:17px;width:1px;background:#aab89c}.secondary-actions button{background:transparent;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;padding:9px 5px}.secondary-actions svg{width:19px;height:19px;color:#6b8668}.control-hint{display:flex;gap:6px;align-items:center;justify-content:center;margin-top:21px;font-size:10px;color:#83907c}.key{display:inline-flex;width:22px;height:21px;border:1px solid #b9c5ad;border-radius:5px;align-items:center;justify-content:center;color:#6d836d;background:#fffcf337;font-size:12px}.control-hint i{font-style:normal;margin:0 6px}.touch-hint{display:none}.site-footer{position:absolute;bottom:26px;left:4.2%;right:4.2%;display:flex;justify-content:space-between;align-items:end;z-index:1}.region-label{display:flex;gap:10px;align-items:center}.region-label>svg{width:30px;height:30px;stroke-width:1.1;color:#668569}.region-label>span{font-size:8px;letter-spacing:1.7px;color:#92a188}.region-label>span>span{display:block;font-size:13px;letter-spacing:.3px;color:#557557;font-weight:700;margin-top:5px}.site-footer>p{font-size:10px;color:#82947a;letter-spacing:.4px;margin:0}.site-footer>p>span{color:#b59d59;margin-left:8px}.phase-label{font-size:8px;letter-spacing:1.4px;color:#99a38a}.game-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px 0 10px}.game-shell{position:relative;isolation:isolate;width:min(420px,100vw,calc((100dvh - 62px)*420/740));aspect-ratio:420/740;overflow:hidden;border-radius:26px;box-shadow:0 15px 80px #274e3826,0 0 0 7px #fffaf46b;touch-action:none;outline:none;background:#d7eee6}.game-shell canvas{width:100%;height:100%;display:block}.game-hud{position:absolute;top:0;left:0;right:0;padding:22px 19px;display:flex;align-items:start;justify-content:space-between;pointer-events:none;background:linear-gradient(#e1f0e8d9,transparent);height:112px}.game-hud button{pointer-events:auto;width:38px;height:38px;background:#fffdf68a}.hud-best{display:flex;align-items:center;gap:6px;margin-top:8px;width:85px}.hud-best svg{width:21px;color:#ac984f}.hud-best>span{font-size:8px;font-weight:800;letter-spacing:1.5px;color:#79927c}.hud-best strong{display:block;font-size:14px;color:#486751;letter-spacing:0;margin-top:4px}.hud-height{position:absolute;left:50%;transform:translateX(-50%);text-align:center}.hud-height>strong{display:block;font-size:40px;letter-spacing:-2px;line-height:1.1;text-shadow:0 2px 0 #fff9e8}.hud-height>strong>span{font-size:19px;margin-left:3px;letter-spacing:0}.hud-height>span{font-size:7px;font-weight:900;letter-spacing:1.8px;color:#86957d}.game-region{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);font-size:7px;letter-spacing:2px;color:#5f886c80;pointer-events:none;white-space:nowrap}.touch-zones{position:absolute;bottom:31px;left:0;right:0;display:flex;justify-content:space-between;padding:0 22px;pointer-events:none;color:#52776280;font-size:32px}.touch-zones>div{display:flex;align-items:center;gap:9px;transition:color .15s,transform .15s}.touch-zones>div.active{color:#245a48;transform:scale(1.12)}.touch-zones span{font-size:8px;letter-spacing:2px}.desktop-game-hint{font-size:10px;color:#6f8b76;display:flex;align-items:center;gap:7px;margin:17px 0 0}.desktop-game-hint>span:nth-last-child(1){margin:0 6px}.countdown{position:absolute;left:0;right:0;top:40%;font-size:48px;font-weight:900;letter-spacing:3px;color:var(--ink);text-align:center;text-shadow:0 3px 0 #fff;pointer-events:none;animation:pop .24s ease-out}.tutorial{position:absolute;bottom:18%;left:24px;right:24px;padding:15px;text-align:center;pointer-events:none;border-radius:15px;background:#fffdf1e0;box-shadow:0 3px 16px #4b6b3812}.tutorial strong{display:block;font-size:14px}.tutorial span{display:block;font-size:11px;margin-top:6px;color:#7b8e75}.best-toast{position:absolute;top:104px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;letter-spacing:1px;font-weight:900;display:flex;gap:7px;align-items:center;padding:9px 14px;border-radius:30px;background:#fff2bde8;color:#8a793b;animation:pop .3s ease-out}.best-toast>svg{width:17px;height:17px}.danger{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 -60px 50px -38px #e27464;opacity:0;transition:opacity .15s}body.playing .site-header{z-index:0}body.playing .site-footer{display:none}.modal-backdrop{position:fixed;inset:0;background:#234c4147;backdrop-filter:blur(8px);z-index:20;display:grid;place-items:center;padding:20px}.modal{position:relative;background:#fffdf2;border:1px solid #fffef9;border-radius:27px;padding:34px 29px 27px;width:min(350px,100%);box-shadow:0 24px 80px #274a442b;text-align:center;max-height:calc(100dvh - 40px);overflow-y:auto;animation:pop .2s ease-out}.modal:focus{outline:none}.modal .close-button{position:absolute;right:14px;top:14px;width:32px;height:32px;background:#edf1e6}.modal .close-button svg{width:17px;height:17px}.modal-eyebrow{font-size:8px;letter-spacing:2px;font-weight:800;color:#929878;margin:4px 0 12px}.modal h2{font-size:28px;letter-spacing:-1px;margin:0 0 9px}.modal-copy{font-size:12px;line-height:1.7;color:#83907b;margin:0 0 22px}.modal .primary-button{margin-top:20px;min-height:53px;font-size:13px}.plain-button{display:block;margin:12px auto 0;padding:12px 15px;background:transparent;font-size:12px;font-weight:700;color:#789071}.soft-button{display:block;width:100%;border-radius:12px;padding:13px;background:#eaf0df;margin-top:12px;font-size:12px;font-weight:700}.pause-symbol{width:55px;height:55px;background:#e4ecd9;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;color:#6d8c5d}.result-crown{color:#c0a151;width:45px;height:45px;margin-bottom:12px}.result-score{font-size:66px;font-weight:900;letter-spacing:-4px;line-height:1.2}.result-score span{font-size:26px;letter-spacing:0;margin-left:4px;color:#88a078}.result-stats{display:flex;justify-content:center;gap:0;margin:21px 0 7px}.result-stats>div{flex:1;font-size:8px;letter-spacing:1px;color:#8b977f}.result-stats>div+div{border-left:1px solid #e4e9d9}.result-stats strong{display:block;font-size:18px;color:#4e7259;letter-spacing:0;margin-bottom:5px}.record-label{display:inline-block;color:#9a803e;background:#f6eac0;font-size:9px;letter-spacing:1.3px;font-weight:bold;border-radius:20px;padding:8px 13px;margin-top:9px}.result-cat{width:110px;height:108px;margin:0 auto -4px;display:block}.setting-row{display:block;text-align:left;margin:25px 0;font-size:12px;font-weight:700}.setting-row>span{float:right;font-size:11px;font-weight:400;color:#84957a}.setting-row input[type=range]{width:100%;accent-color:#759870;margin-top:16px;cursor:pointer;height:20px}.setting-check{display:flex;align-items:center;gap:10px;text-align:left;font-size:12px;padding-top:5px;color:#6e8669}.setting-check input{accent-color:#6b9169;width:17px;height:17px}.settings-footnote{font-size:10px;line-height:1.5;color:#98a18d;margin-top:23px}.character-art{width:190px;height:190px;object-fit:contain;margin:0 auto;display:block}.character-fallback{width:170px;height:170px;margin:0 auto;display:block}.selected-pill{display:inline-flex;align-items:center;gap:6px;font-size:9px;letter-spacing:1px;border-radius:20px;padding:8px 14px;background:#e5edd9;color:#688456;font-weight:800}.coming-soon{margin:24px 0 0;border-top:1px solid #e6e9da;padding-top:20px;color:#9fa790;font-size:10px}.debug-panel{position:fixed;right:12px;top:90px;width:260px;border-radius:12px;padding:15px;z-index:25;font:11px monospace;background:#173f35ed;color:#d8f5d2;max-height:80vh;overflow:auto}.debug-panel pre{font:10px monospace;line-height:1.6;white-space:pre-wrap}.debug-panel button{background:#e1eed0;color:#2c5140;padding:7px;border-radius:5px;font-size:10px;margin:3px}.debug-panel input[type=number]{width:95px}.debug-panel label{display:block;margin-top:10px}.debug-panel small{display:block;margin-top:12px;line-height:1.5;opacity:.6}.noscript{position:fixed;inset:35%;background:#fff;padding:30px;z-index:99}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;width:7px;height:11px;border-radius:2px;top:-20px;animation:confetti 2.6s ease-in forwards}.confetti i:nth-child(3n){border-radius:50%;width:7px;height:7px}@keyframes hero-float{50%{transform:translate(-50%,-8px) rotate(2deg)}}@keyframes twinkle{50%{opacity:.4;transform:scale(.7) rotate(12deg)}}@keyframes pop{from{opacity:0;scale:.92}to{opacity:1;scale:1}}@keyframes confetti{to{transform:translateY(600px) rotate(350deg);opacity:0}}
@media(min-height:1000px){.home-screen{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
@media(max-width:1000px){.milo-label{left:5px}.best-badge{right:0}.edition{display:none}.site-footer>p{display:none}body.playing .small-logo{font-size:11px}}
@media(max-width:700px){.site-header{height:67px;padding:0 22px}.small-logo{font-size:12px;letter-spacing:1px;gap:10px}.logo-mark{font-size:25px}.header-actions{gap:8px}.icon-button{width:35px;height:35px}.icon-button svg{width:17px;height:17px}.home-screen{padding:89px 20px 71px;min-height:570px;max-height:900px}h1{font-size:64px;letter-spacing:-4px}.eyebrow{font-size:7px;letter-spacing:2.3px;gap:8px;margin-bottom:12px}.eyebrow>span{width:16px}.title-star{right:9%;font-size:25px;top:-19px}.tagline{font-size:13px;margin-top:15px;letter-spacing:.6px}.hero-stage{min-height:200px;max-height:340px}.hero-halo{width:260px;height:260px}.milo-label{left:4%;top:77%;z-index:4}.milo-label strong{font-size:12px}.milo-label strong span{font-size:21px;margin-left:3px}.milo-label small{font-size:5px;letter-spacing:.8px}.hand-line{display:none}.best-badge{right:1%;top:49%;padding:10px;gap:7px;border-radius:12px}.best-badge>svg{width:20px}.best-badge div>span{font-size:6px;letter-spacing:.5px}.best-badge strong{font-size:21px}.best-badge strong>span{font-size:10px}#milo-hero,#hero-fallback{max-height:240px;bottom:51px;max-width:215px}#hero-island{width:290px;height:101px;bottom:0}.sparkle-one{left:18%;top:27%}.sparkle-two{right:18%;top:26%}.sparkle-three{right:24%;top:6%;font-size:24px}.primary-button{min-height:55px;font-size:14px;border-radius:13px}.play-button{max-width:280px}.play-caption{font-size:9px;margin:15px 0 13px}.secondary-actions{gap:16px}.secondary-actions button{font-size:11px;padding:7px}.control-hint{font-size:8px;gap:4px;margin-top:18px}.control-hint .key{width:19px;height:19px}.site-footer{bottom:max(17px,env(safe-area-inset-bottom));left:23px;right:23px;align-items:center}.region-label{gap:7px}.region-label>svg{width:21px;height:21px}.region-label>span{font-size:6px;letter-spacing:1px}.region-label>span>span{font-size:10px;margin-top:3px}.phase-label{font-size:6px;letter-spacing:.8px}body.playing .site-header{display:none}.game-screen{padding:0}.game-shell{width:min(100vw,calc(100dvh*420/740));border-radius:0;box-shadow:none}.desktop-game-hint{display:none}.debug-panel{top:100px;width:220px;font-size:9px}.game-hud{padding-top:max(20px,env(safe-area-inset-top))}}
@media(pointer:coarse){.desktop-hint,.control-hint>.key{display:none}.touch-hint{display:inline}.control-hint{font-size:9px}}
@media(max-height:700px) and (max-width:700px){.home-screen{padding-top:70px;padding-bottom:51px;min-height:540px}h1{font-size:55px}.eyebrow{margin-bottom:9px;font-size:6px}.tagline{margin-top:11px;font-size:12px}.hero-stage{min-height:170px}#milo-hero,#hero-fallback{max-height:185px;bottom:42px}#hero-island{width:250px;height:87px}.hero-halo{height:210px;width:210px}.play-button{min-height:48px}.play-caption{margin:13px 0 8px}.control-hint{margin-top:12px}.site-header{height:53px}.best-badge{top:40%}.site-footer{bottom:11px}.secondary-actions button{padding:5px}.title-star{top:-16px}}
@media(max-width:350px){h1{font-size:50px}.milo-label{left:0}.best-badge{right:-4px}.hero-stage{min-height:180px}.home-screen{padding-left:15px;padding-right:15px}.title-star{right:5%}.control-hint{font-size:7px}.modal{padding:29px 21px 21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.soft-button{display:flex;align-items:center;justify-content:center;gap:7px}.soft-button svg{width:15px;height:15px}
@media(max-width:700px){.header-actions .icon-button{width:44px;height:44px}.game-hud button{width:44px;height:44px}.secondary-actions button{font-size:12px;min-height:44px}.play-caption{font-size:10px}.control-hint{font-size:9px}.best-badge div>span{font-size:7px}.region-label>span>span{font-size:11px}}
@media(max-height:550px){body:not(.playing){overflow-y:auto;overflow-x:hidden}.home-screen{min-height:620px;padding-bottom:25px}.site-footer{position:relative;bottom:auto;left:auto;right:auto;margin:12px 23px 22px}.home-screen+.site-footer{height:28px}body.playing .game-hud{padding:12px}.game-shell .hud-height>strong{font-size:clamp(22px,4vh,40px)}}
/* Phase 1.5: small, reusable feedback layers keep Milo and landing surfaces clear. */
.game-hud{pointer-events:auto;z-index:5}.game-hud button{min-width:44px;min-height:44px}
.perfect-feedback{position:absolute;left:50%;top:45%;transform:translate(-50%,-100%);pointer-events:none;text-align:center;white-space:nowrap;z-index:4;filter:drop-shadow(0 2px 0 #fffbea);color:#987229}
.perfect-feedback strong{font-size:15px;font-weight:900;letter-spacing:1px;line-height:1.4}.perfect-spark{display:block;font-size:20px;line-height:1.1;color:#bb9941}.perfect-feedback.streak-milestone strong{font-size:17px;color:#2c7b72}.perfect-feedback.streak-milestone .perfect-spark{color:#3d9988}
.perfect-feedback #perfect-help{display:block;white-space:normal;width:205px;max-width:60vw;margin:5px auto 0;padding:6px 9px;border-radius:9px;background:#fffcedeb;color:#627b5b;font-size:10px;font-weight:600;line-height:1.5;filter:none;letter-spacing:0}
.perfect-feedback.perfect-explainer strong{font-size:12px}.milestone-toast{position:absolute;top:153px;left:50%;transform:translateX(-50%);border-radius:15px;background:#fffbedbd;padding:9px 16px;display:flex;align-items:center;gap:5px;pointer-events:none;z-index:3;box-shadow:0 3px 12px #3d6a4310}.milestone-toast svg{width:16px;height:16px;color:#849a68}.milestone-toast strong{font-size:20px;letter-spacing:-.5px}.milestone-toast>span{font-size:7px;letter-spacing:1px;max-width:47px;line-height:1.5;color:#7c8b6a;margin-left:6px}.best-toast{font-size:10px;z-index:4}.hud-best>span{font-size:9px}.hud-best strong{font-size:15px}.hud-height>span{font-size:8px}
.touch-feedback{position:absolute;inset:0;pointer-events:none;z-index:3}.touch-indicator{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);width:38px;height:38px;border:1px solid #759d7680;border-radius:50%;background:#fcffeb30;color:#416c5290;font-size:35px;line-height:1;font-family:Arial,sans-serif}.touch-indicator.primary-touch{color:#37694cb8;border-color:#6c946c88;background:#ffffed42}.touch-zones.drag-mode span{font-size:7px}.touch-zones{z-index:3}.tutorial{z-index:3;bottom:12%;padding:12px 15px}.tutorial strong{font-size:13px}.tutorial>span{font-size:10px}.tutorial-hands{display:none;justify-content:space-between;padding:10px 20px 0;color:#91a17f}.tutorial.show-hands .tutorial-hands{display:flex}.tutorial-hands>span{display:flex;gap:6px;align-items:center;font-size:18px;animation:touch-guide 1.3s ease-in-out infinite}.tutorial-hands>span:last-child{animation-delay:.65s}.tutorial-hands i{display:inline-block;width:13px;height:18px;border:1.5px solid #92a17b;border-radius:8px 8px 6px 6px;transform:rotate(-16deg)}.tutorial-hands>span:last-child i{transform:rotate(16deg)}
.control-setting{border:0;margin:25px 0 18px;padding:0;text-align:left}.control-setting legend{font-size:12px;font-weight:700;margin-bottom:12px}.control-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.control-options label{position:relative;cursor:pointer}.control-options input{position:absolute;inset:0;opacity:0;margin:0;width:100%;height:100%;cursor:pointer}.control-options span{display:grid;place-items:center;min-height:44px;border:1px solid #dbe3ce;background:#f4f5e8;border-radius:10px;font-size:12px;color:#7a8c70}.control-options input:checked+span{background:#e5edd8;border-color:#9bac7a;color:#4b6e44;font-weight:700}.control-options input:focus-visible+span{outline:3px solid #497e64;outline-offset:3px}.control-setting p{font-size:10px;line-height:1.6;color:#839075;margin:9px 0 0}.modal[data-kind=settings] .setting-row{margin:17px 0}.modal[data-kind=settings] .setting-row input[type=range]{margin-top:9px}.setting-check{min-height:37px;gap:11px}.settings-footnote{margin-top:15px}.modal[data-kind=settings] .primary-button{margin-top:17px}.modal[data-kind=settings]{scrollbar-width:thin;scrollbar-color:#a6b696 transparent}
.result-best{font-size:9px;letter-spacing:1px;color:#839574;margin:17px 0}.result-best strong{font-size:15px;letter-spacing:0;color:#58764c;margin-left:6px}.result-perfect-stats{margin:15px 0 8px;background:#eef2e2;padding:15px 5px;border-radius:13px}.result-perfect-stats>div{font-size:8px;letter-spacing:.6px;color:#71836a}.result-perfect-stats strong{font-size:24px;color:#487564;margin-bottom:5px}.result-perfect-stats strong>span{font-size:13px;margin-left:3px;color:#8e9e77}.streak-record{font-size:8px;letter-spacing:.6px;color:#8e9b7f;margin:13px 0 0}.streak-record strong{color:#658263;margin-left:4px}.result-message{margin:5px 0!important}.retry-hint{font-size:9px;color:#94a084;margin:0}.modal[data-kind=over] .plain-button{margin-top:7px}.modal[data-kind=over] .result-cat{height:93px;width:95px}.modal[data-kind=over] .modal-copy{font-size:10px}.modal[data-kind=over] .primary-button{margin-top:20px}.modal[data-kind=over]{padding-top:29px;padding-bottom:20px}
.debug-panel{width:284px;max-height:calc(100dvh - 108px);scrollbar-width:thin}.debug-panel hr{border:0;border-top:1px solid #ffffff25;margin:16px 0}.debug-panel #tuning-status{font:10px/1.6 'Segoe UI',sans-serif;color:#c3d4b0;padding:8px;background:#ffffff0b;border-radius:6px}.tuning-slider{margin:11px 0!important}.tuning-slider>span{display:flex;justify-content:space-between;gap:6px;font-size:10px}.tuning-slider output{color:#efce8c}.tuning-slider input{width:100%;accent-color:#dfba78;margin-top:7px}.debug-select{display:flex!important;align-items:center;justify-content:space-between;gap:7px}.debug-panel select{font:11px monospace;padding:5px;border-radius:5px;background:#e9efd9;color:#345b45;max-width:150px}.debug-panel textarea{width:100%;min-height:170px;font:9px/1.4 monospace;background:#e8f0dc;color:#2c5140;resize:vertical;border-radius:6px;margin-top:8px}.debug-panel #reachability-info{font-size:9px;background:#ffffff0a;padding:8px;line-height:1.6}
body.reduced-motion *,body.reduced-motion *::before,body.reduced-motion *::after{animation:none!important;transition:none!important}body.reduced-flash .perfect-spark{opacity:.5}body.reduced-flash .best-toast{background:#e8e9d4}body.reduced-flash .confetti{display:none}
@keyframes touch-guide{0%,100%{opacity:.4;transform:translateY(0)}50%{opacity:.9;transform:translateY(-3px)}}
@media(pointer:coarse){.retry-hint{display:none}}
@media(max-width:350px){.perfect-feedback strong{font-size:13px}.perfect-feedback.streak-milestone strong{font-size:14px}.best-toast{font-size:9px;padding:8px 10px}.milestone-toast{top:137px}.modal[data-kind=over]{padding:22px 21px 15px}.modal[data-kind=over] .modal-eyebrow{font-size:7px;margin-bottom:8px}.modal[data-kind=over] h2{font-size:25px;margin-bottom:3px}.modal[data-kind=over] .result-cat{height:70px;width:72px}.modal[data-kind=over] .result-score{font-size:53px}.modal[data-kind=over] .result-best{margin:12px 0}.modal[data-kind=over] .result-perfect-stats{margin:12px 0 7px;padding:11px 3px}.modal[data-kind=over] .primary-button{margin-top:15px}.modal[data-kind=over] .plain-button{padding:10px}.modal[data-kind=over] .record-label{margin-top:6px;padding:7px 11px}.debug-panel{width:252px;right:8px}.tutorial strong{font-size:12px}.tutorial>span{font-size:9px}}
@media(max-height:650px){.modal[data-kind=over]{padding-top:22px;padding-bottom:15px}.modal[data-kind=over] .result-cat{height:60px;width:62px}.modal[data-kind=over] .result-score{font-size:52px}.modal[data-kind=over] .result-best{margin:10px 0}.modal[data-kind=over] .result-perfect-stats{margin:10px 0;padding:10px 4px}.modal[data-kind=over] .primary-button{margin-top:13px}.modal[data-kind=over] .plain-button{padding:9px}.modal[data-kind=over] .modal-eyebrow{margin-bottom:8px}.modal[data-kind=over] .streak-record{margin-top:9px}}
.result-perfect-stats>div{font-size:9px}.streak-record{font-size:9px;letter-spacing:.4px}.record-label{font-size:10px}.perfect-feedback #perfect-help{font-size:11px}
.platform-tutorial{position:absolute;left:50%;top:76%;transform:translateX(-50%);width:min(290px,82%);display:flex;align-items:center;gap:11px;padding:10px 13px;background:#fffdf0ee;border:1px solid #93ad8c65;border-radius:14px;box-shadow:0 5px 16px #355c4210;color:#3c6657;z-index:4;pointer-events:none}
.hud-best{flex-shrink:0}.hud-best>span{min-width:0}.hud-best strong{white-space:nowrap;font-size:clamp(11px,3.6vw,15px)}
.hud-height>strong{font-size:var(--score-size,40px)}
@media(max-height:550px){.game-shell .hud-height>strong{font-size:min(4vh,var(--score-size,40px))}}
.platform-tip-mark{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:11px;background:#e7eee0;color:#508874;font-size:26px;line-height:1;font-family:'Segoe UI Symbol','Segoe UI',sans-serif}
.platform-tutorial small{display:block;color:#819277;font-size:7px;letter-spacing:1.3px;font-weight:700;margin-bottom:2px}.platform-tutorial strong{display:block;font-size:13px;line-height:1.4;font-weight:800}.platform-tip-copy{display:block;font-size:10px;color:#71836e;line-height:1.5;margin-top:2px}
.platform-tutorial[data-type=spring] .platform-tip-mark{background:#fae1c7;color:#bd795c}.platform-tutorial[data-type=ice] .platform-tip-mark,.platform-tutorial[data-type=cloud] .platform-tip-mark{background:#def0ec;color:#61929e}.platform-tutorial[data-type=breakable] .platform-tip-mark{background:#f2e5c9;color:#a58050}
#platform-debug-info{white-space:pre-wrap;font-size:9px;line-height:1.7;padding:8px;background:#ffffff0a;border-radius:6px}#platform-debug-status{font:10px/1.6 'Segoe UI',sans-serif;color:#c3d4b0}#platform-controls>strong{font:700 12px 'Segoe UI',sans-serif;color:#efce8c}
@media(max-width:350px){.platform-tutorial{gap:8px;padding:9px 11px}.platform-tip-copy{font-size:9px}.platform-tutorial strong{font-size:12px}.platform-tip-mark{width:29px;height:29px;font-size:23px}}

/* Reward UI stays in the existing corner and notification lanes. */
.menu-wallet{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #c7bc8559;border-radius:22px;background:#fff7d559;color:#977b3d;font-size:13px;white-space:nowrap}.menu-wallet svg{width:20px;height:20px;stroke-width:1.6}.header-actions{align-items:center}
.hud-left{width:88px;flex:none}.hud-coins{display:flex;align-items:center;gap:5px;color:#967137;margin-top:3px;font-size:20px;letter-spacing:-.5px}.hud-coins svg{width:22px;height:22px;fill:#f5d98655;stroke:#b38a42;stroke-width:1.6}.hud-coins strong{font-variant-numeric:tabular-nums}.hud-coins.coin-pulse{color:#bb8a32}
.hud-left .hud-best{width:auto;display:block;margin-top:7px}.hud-left .hud-best>span{font-size:7px;letter-spacing:.7px;line-height:1.3}.hud-left .hud-best strong{font-size:10px;margin-top:2px;letter-spacing:0}.hud-height #height-label{font-size:8px;letter-spacing:1px;margin-top:5px;display:block}.hud-height #run-score{font-size:11px;color:#5d7f66;letter-spacing:.3px;margin-left:3px;font-variant-numeric:tabular-nums}
.power-up-hud{position:absolute;left:50%;top:99px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:6px;max-width:80%;z-index:4;pointer-events:none}.power-badge{position:relative;width:43px;height:43px;border:1px solid #9eb8a477;border-radius:13px;background:#fffdf0e6;display:flex;align-items:center;justify-content:center;gap:1px;padding-bottom:4px;overflow:hidden;box-shadow:0 2px 5px #355f4210}.power-badge svg{width:23px;height:25px;stroke-width:1.8;fill:none}.power-badge>span{font-size:8px;font-weight:800;align-self:flex-end;line-height:1.8;white-space:nowrap;color:#718772}.power-badge>i{position:absolute;bottom:0;left:0;width:100%;height:3px;transform-origin:left;background:var(--power-color,#8bae9a);transform:scaleX(var(--power-progress,1))}.power-overflow{font-size:10px;font-weight:bold;color:#678675}
.reward-notice{position:absolute;left:50%;top:71%;transform:translateX(-50%);display:flex;align-items:center;gap:11px;width:min(285px,82%);padding:11px 14px;border:1px solid #bcb58570;background:#fffceeef;box-shadow:0 4px 16px #436a3710;border-radius:16px;z-index:4;pointer-events:none}.reward-notice-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#f6eaca;flex:none}.reward-notice-icon svg{width:25px;height:27px;fill:none;stroke-width:1.8}.reward-notice strong{display:block;font-size:14px;font-weight:900;color:#607d60;letter-spacing:.7px}.reward-notice div>span{display:block;font-size:10px;line-height:1.5;color:#7c8b6d;margin-top:3px}.reward-notice.rescue-notice{border-color:#82b1b391}.reward-notice.rescue-notice strong{color:#629699}
.reward-popup{position:absolute;left:50%;top:24%;transform:translate(-50%,-100%);pointer-events:none;z-index:4;color:#a57e35;font-weight:900;font-size:14px;white-space:nowrap;text-shadow:0 2px 0 #fffceb}.reward-popup small{font-size:9px;color:#758b65;display:block;text-align:center;margin-top:2px}
#perfect-multiplier{display:block;font-size:9px;letter-spacing:.5px;color:#7c946e;font-weight:700;margin-top:3px}.perfect-feedback.streak-ended strong{color:#8e9b78;font-size:12px;letter-spacing:.4px}.perfect-feedback.streak-ended .perfect-spark{display:none}
.modal[data-kind=over]{padding:24px 26px 17px}.modal[data-kind=over] .result-cat{position:absolute;width:49px;height:48px;right:23px;top:41px}.modal[data-kind=over] .modal-eyebrow{font-size:7px;letter-spacing:1.4px;margin-bottom:7px}.modal[data-kind=over] h2{font-size:27px;margin-bottom:3px}.modal[data-kind=over] .result-score{font-size:62px;line-height:1.05;margin-top:13px}.modal[data-kind=over] .result-best{margin:8px 0 10px}.modal[data-kind=over] .record-label{font-size:9px;padding:6px 10px;margin:6px 0 4px}.modal[data-kind=over] .result-message{font-size:9px}.result-score-line{display:flex;align-items:center;justify-content:center;gap:20px;padding:9px 0;border-top:1px solid #d8e0c961;border-bottom:1px solid #d8e0c961;margin:8px 0;color:#809272;font-size:8px;letter-spacing:1px}.result-score-line strong{display:block;font-size:21px;letter-spacing:0;color:#537b66;margin-top:2px}.result-score-line .score-record-label{font-size:7px;letter-spacing:.2px;color:#ab8941}.result-score-line #result-best-score{font-size:14px;color:#85926b}.result-rewards{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:10px 4px 7px;color:#839176;font-size:8px;letter-spacing:.5px}.result-rewards strong{display:block;color:#9b793c;font-size:20px;margin-bottom:4px;letter-spacing:-.3px}.result-rewards #result-powerups{color:#71938a}.wallet-hint{margin:1px 0 6px;color:#9d8b60;font-size:9px;line-height:1.4}.modal[data-kind=over] .result-perfect-stats{margin:7px 0;padding:11px 3px}.modal[data-kind=over] .result-perfect-stats strong{font-size:21px;margin-bottom:4px}.modal[data-kind=over] .streak-record{margin:8px 0 0;font-size:8px}.modal[data-kind=over] .primary-button{margin-top:14px;min-height:53px;padding:13px 20px}.modal[data-kind=over] .plain-button{margin-top:4px;padding:9px}.modal[data-kind=over] .retry-hint{font-size:8px}
#reward-debug-info{white-space:pre-wrap;font-size:9px;line-height:1.7;padding:8px;background:#ffffff0a;border-radius:6px}#reward-debug-status{font:10px/1.6 'Segoe UI',sans-serif;color:#c3d4b0}.debug-panel .reward-number{display:flex;gap:5px;align-items:center}.debug-panel .reward-number input{width:74px;margin-left:auto}.debug-panel #reward-controls>strong{font:700 12px 'Segoe UI',sans-serif;color:#efce8c}
@media(max-width:600px){.menu-wallet{padding:6px 8px;font-size:11px;gap:4px}.menu-wallet svg{width:17px;height:17px}.header-actions{gap:6px}.site-header .icon-button{width:34px;height:34px}.small-logo{font-size:12px;gap:8px;letter-spacing:1px}.logo-mark{font-size:25px}.site-header{padding-left:17px;padding-right:17px}.hud-coins{font-size:18px}.power-up-hud{top:96px}}
@media(max-width:350px){.hud-left{width:73px}.hud-left .hud-best strong{font-size:9px}.hud-coins{font-size:17px}.hud-coins svg{width:19px;height:19px}.power-up-hud{gap:5px;top:93px}.power-badge{width:37px;height:38px;border-radius:11px}.power-badge svg{width:21px;height:23px}.power-badge>span{font-size:7px}.reward-notice{padding:9px 11px;gap:8px}.reward-notice strong{font-size:12px}.reward-notice div>span{font-size:9px}.reward-notice-icon{width:30px;height:30px}.modal[data-kind=over]{padding:19px 20px 14px}.modal[data-kind=over] .result-cat{right:16px;top:38px;width:40px;height:41px}.modal[data-kind=over] h2{font-size:24px}.modal[data-kind=over] .result-score{font-size:53px;margin-top:10px}.result-score-line{padding:7px 0;margin:6px 0}.result-score-line strong{font-size:19px}.result-rewards{padding:7px 1px 5px}.result-rewards strong{font-size:18px}.modal[data-kind=over] .result-perfect-stats{padding:9px 2px}.modal[data-kind=over] .primary-button{margin-top:11px}.modal[data-kind=over] .result-best{margin:7px 0}.modal[data-kind=over] .streak-record{margin-top:7px}}
@media(max-height:650px){.modal[data-kind=over] .result-score{font-size:50px;margin-top:8px}.modal[data-kind=over] .modal-eyebrow{margin-bottom:5px}.modal[data-kind=over] .result-best{margin:6px 0}.modal[data-kind=over] .primary-button{min-height:49px;margin-top:10px}.modal[data-kind=over] .result-perfect-stats{padding:8px 2px}.modal[data-kind=over] .result-rewards{padding-top:6px}.modal[data-kind=over] .result-score-line{padding:6px 0}.modal[data-kind=over] .wallet-hint{font-size:8px}}
@media(max-width:350px){.perfect-feedback strong{font-size:14px}.perfect-feedback.streak-milestone strong{font-size:15px}.best-toast{font-size:10px;letter-spacing:.5px}}
.power-badge{flex-direction:column;gap:0;padding-bottom:5px}.power-badge>.power-icon{align-self:center;display:flex;line-height:1}.power-badge>small{font-size:8px;line-height:1;letter-spacing:.2px;font-weight:800;color:#718772;white-space:nowrap}.has-power-ups .best-toast{top:151px}.has-power-ups .milestone-toast{top:187px}.debug-panel .debug-number{display:flex;align-items:center;gap:5px}.debug-panel .debug-number input{margin-left:auto;width:74px}@media(max-width:350px){.power-badge>small{font-size:7px}.has-power-ups .best-toast{top:139px}.has-power-ups .milestone-toast{top:176px}}
/* Manual Jump: the movement thumb and jump thumb have separate captured regions. */
.manual-move-area{display:none;position:absolute;left:12px;bottom:calc(23px + env(safe-area-inset-bottom,0px));width:59%;height:68px;align-items:center;justify-content:space-around;border:1px solid #6b998533;border-radius:24px;background:#f8fbe91a;color:#467c6999;pointer-events:none;z-index:6}.manual-move-area>span{font-size:32px}.manual-move-area small{font-size:8px;letter-spacing:1px}.jump-button{position:absolute;right:17px;bottom:calc(23px + env(safe-area-inset-bottom,0px));width:76px;height:76px;border-radius:50%;border:2px solid #fffbea99;background:#f3c68499;color:#6f6a42;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;box-shadow:0 3px 0 #8e9b6c44;z-index:7;touch-action:none;user-select:none;opacity:.78;transition:none}.jump-button svg{width:24px;height:24px}.jump-button>span{font-weight:900;font-size:11px;letter-spacing:1px}.jump-button.pressed{transform:scale(.93);background:#edb56bbb;box-shadow:0 1px 0 #8e9b6c44;opacity:.95}.jump-button:hover{transform:none}.jump-button.pressed:hover{transform:scale(.93)}.manual-mode .touch-zones{display:none}.manual-mode .manual-move-area{display:flex}.manual-mode .tutorial{bottom:24%}.jump-setting .control-options span{display:flex;flex-direction:column;gap:3px;padding:8px}.control-options small{font-size:8px;font-weight:400}.sensitivity-row{margin:12px 0!important}.modal[data-kind=settings] .control-setting{margin:17px 0 12px}.modal[data-kind=settings] .settings-footnote{margin-top:10px}.modal[data-kind=settings] .setting-row{margin:13px 0}.modal[data-kind=settings] .setting-row input[type=range]{margin-top:5px}@media(pointer:fine) and (min-width:700px){.manual-move-area{opacity:.4}.jump-button{width:62px;height:62px;opacity:.5}.manual-mode .manual-move-area{height:58px}}@media(max-width:350px){.jump-button{width:70px;height:70px;right:14px}.manual-move-area{left:11px;width:58%;height:62px}.manual-move-area small{font-size:7px}}
.game-shell{container-type:inline-size}.jump-button{width:clamp(52px,22cqw,76px);height:clamp(52px,22cqw,76px)}@media(max-height:450px){.jump-button{right:12px;bottom:calc(15px + env(safe-area-inset-bottom,0px))}.manual-move-area{left:8px;width:58%;height:50px;bottom:calc(15px + env(safe-area-inset-bottom,0px))}.manual-move-area small{font-size:6px;letter-spacing:.2px}}

.biome-banner{position:absolute;left:10%;right:10%;top:24%;z-index:8;text-align:center;pointer-events:none;background:#fff8e8eb;color:#365b5e;border:1px solid #fff9dccc;border-radius:17px;padding:14px 8px;box-shadow:0 5px 24px #15354012}.biome-banner small{display:block;font-size:8px;letter-spacing:2px;margin-bottom:7px}.biome-banner strong{display:block;font-size:19px;letter-spacing:1.5px}.biome-banner span{display:block;font-size:11px;margin-top:5px}.night-biome .game-hud{color:#fff4d9;text-shadow:0 1px 3px #17253c}.night-biome .game-hud small,.night-biome .game-hud span{color:#f3e7c7}.night-biome .manual-move-area{color:#fff2cd;background:#dfd9ed33}.night-biome .jump-button{opacity:.9}.result-region{font-size:10px;margin:5px 0 10px;color:#698574}.result-region small{display:block;font-size:8px;margin-top:4px;color:#9b7741}.setting-row select{margin-left:10px;padding:5px;border-radius:8px;border:1px solid #abc1a8;background:#ffffef;color:#456c57}#biome-info{white-space:pre-wrap}.modal[data-kind=over]{max-height:94dvh;overflow-y:auto}@media(max-width:350px){.biome-banner strong{font-size:16px}.result-region{margin:3px 0 6px}}

.biome-announcing #platform-tutorial,.biome-announcing #reward-notice,.biome-announcing #milestone-toast,.biome-announcing #reward-popup{visibility:hidden}.night-biome #hud-best,.night-biome #run-score{color:#f7e5a9}.night-biome .game-region{color:#eee3ff99}
