@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&family=Lalezar&display=swap');
:root{--ink:#23484b;--ink-deep:#173438;--cream:#fff6dc;--paper:#eef0db;--gold:#f6b940;--gold-edge:#b87529;--teal:#648e86;--muted:#657c70;--outline:2px solid var(--ink);--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);font-family:'Vazirmatn',Tahoma,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{background:#bad2c7;line-height:1.7;user-select:none;-webkit-user-select:none;touch-action:none}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #cb673b;outline-offset:5px}button:disabled{cursor:default}button,div,span,p,h1,h2,h3{min-width:0;overflow-wrap:anywhere}button svg{flex-shrink:0}img{display:block;object-fit:contain;pointer-events:none}button{border:0}p,h1,h2,h3{margin:0}.icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle}button:active{filter:brightness(.96)}
#game-root{position:relative!important;width:100%!important;max-width:none!important;height:100dvh;height:100svh;margin:0!important;isolation:isolate;overflow:hidden}#game{position:absolute;inset:0;width:100%;height:100%;z-index:0}#game canvas{display:block!important;width:100%!important;height:100%!important;touch-action:none}#screens{position:absolute;inset:0;z-index:10;pointer-events:none}#screens>section{pointer-events:auto}#dpad,#dpad-action{display:none!important}#startBtn,#retryBtn{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;transform:none!important;min-width:0!important;padding:0 24px!important;font-family:'Vazirmatn',Tahoma,sans-serif!important;border:var(--outline)!important;border-radius:15px!important;font-size:21px!important;z-index:1!important;box-shadow:0 5px 0 var(--gold-edge),0 7px 0 var(--ink)!important}#startBtn:active,#retryBtn:active{transform:translateY(3px)!important;box-shadow:0 2px 0 var(--gold-edge),0 4px 0 var(--ink)!important}
#loading-screen{position:absolute;inset:0;z-index:50;background:#d5e5d9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}#loading-screen strong{font-family:'Lalezar','Vazirmatn',sans-serif;font-size:40px}#loading-screen>span{font-size:13px}.loading-emblem{width:80px;height:80px;animation:load-bob 1.3s ease-in-out infinite}.loading-emblem img{width:100%;height:100%}.loading-track{width:150px;height:7px;border-radius:8px;background:#aabfb2;overflow:hidden;margin-top:10px}.loading-track i{height:100%;width:3%;display:block;background:var(--ink);transition:width .2s}
.home-screen{height:100%;width:min(100%,440px);margin-inline:auto;position:relative;padding:calc(18px + var(--safe-top)) 24px calc(24px + var(--safe-bottom));display:flex;flex-direction:column}.home-toolbar,.sub-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.toolbar-actions{display:flex;gap:9px}.round-button{width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;border:var(--outline);border-radius:14px;background:rgba(255,247,218,.87);box-shadow:0 3px 0 rgba(35,72,75,.2);font-size:24px;font-weight:800;transition:transform .15s}.round-button:active{transform:translateY(2px)}.wallet{min-height:40px;display:flex;gap:7px;align-items:center;padding:3px 11px 3px 7px;border:var(--outline);background:var(--cream);border-radius:13px;box-shadow:0 3px 0 rgba(35,72,75,.17);font-size:12px;white-space:nowrap}.wallet img{width:27px;height:27px}.wallet b{font-size:19px;font-weight:900;font-variant-numeric:tabular-nums}.wallet span{color:var(--muted);font-size:10px}
.title-lockup{text-align:center;position:absolute;inset-inline:16px;top:clamp(75px,10.3vh,104px);z-index:2}.title-kicker{display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;font-weight:700;color:#335a59;margin-bottom:2px}.title-kicker i{height:1px;width:24px;background:#335a59;opacity:.45}.title-emblem{position:absolute;width:85px;height:85px;top:24px;inset-inline-start:calc(50% - 42px);z-index:0;opacity:.96}.title-lockup h1{position:relative;z-index:2;font-family:'Lalezar','Vazirmatn',sans-serif;font-size:76px;line-height:1.35;font-weight:400;padding-top:62px;color:#fff3ce;-webkit-text-stroke:1.6px var(--ink-deep);paint-order:stroke fill;text-shadow:0 4px 0 #254b4c,0 6px 0 rgba(36,70,68,.16);white-space:nowrap;overflow-wrap:normal}.title-lockup h1 span{font-size:.64em;color:var(--ink);-webkit-text-stroke:0;text-shadow:0 2px 0 #fff2c8;vertical-align:6px;margin-inline-end:2px}.title-lockup p{font-size:11px;font-weight:600;color:#33534f;background:rgba(242,242,215,.83);display:inline-block;padding:2px 13px;border-radius:7px;margin-top:5px}.home-actions{margin-top:auto;position:relative;z-index:3;width:100%}.primary-button{width:100%;min-height:59px;border:var(--outline);border-radius:15px;background:var(--gold);box-shadow:0 5px 0 var(--gold-edge),0 7px 0 var(--ink);font-size:19px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:18px;transition:transform .15s,box-shadow .15s;position:relative}.primary-button .icon{width:27px;height:27px}.primary-button:active{transform:translateY(3px);box-shadow:0 2px 0 var(--gold-edge),0 4px 0 var(--ink)}.primary-button:before{content:'';position:absolute;top:3px;inset-inline:14px;height:2px;background:#ffe79a;border-radius:3px;opacity:.8}.secondary-actions{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;margin-top:19px}.secondary-button{min-height:53px;display:flex;align-items:center;justify-content:center;gap:8px;background:rgba(255,248,224,.94);border:var(--outline);border-radius:13px;box-shadow:0 4px 0 #9cafa0;font-size:12px;font-weight:800}.secondary-button:active{transform:translateY(2px);box-shadow:0 2px 0 #9cafa0}.secondary-button img{width:30px;height:30px}.secondary-button .icon{width:21px;height:21px}.secondary-button small{font-size:10px;font-weight:600;opacity:.65;direction:rtl}.home-footnote{display:flex;justify-content:center;align-items:center;gap:11px;font-size:10px;color:#546e60;margin-top:22px}.tiny-spark{height:4px;width:4px;transform:rotate(45deg);background:#779582}.home-journey{position:absolute;bottom:calc(218px + var(--safe-bottom));inset-inline:24px;display:flex;gap:10px;align-items:center;justify-content:center;font-size:10px;font-weight:500;color:#264d4a}.home-journey>span:nth-child(2){display:flex;align-items:center;gap:5px;background:rgba(246,244,216,.85);border:1px solid rgba(58,94,80,.2);padding:4px 12px;border-radius:20px;white-space:nowrap}.home-journey .icon{width:15px;height:15px}.home-journey b{font-size:11px}.journey-line{height:1px;flex:1;background:#668e78;opacity:.4}.scenery-caption{position:absolute;inset-inline-start:30px;top:53%;writing-mode:vertical-rl;font-size:9px;color:#53796d;opacity:.7}
.sub-screen{position:relative;width:min(100%,460px);height:100%;margin-inline:auto;background:rgba(233,237,214,.97);border-inline:1px solid rgba(67,100,87,.15);padding:calc(18px + var(--safe-top)) 22px calc(16px + var(--safe-bottom));display:flex;flex-direction:column;overflow:hidden}.sub-toolbar{flex-shrink:0}.sub-toolbar>.round-button{background:#f9f4dd}.page-heading{text-align:center;margin-top:23px;flex-shrink:0}.eyebrow{font-size:10px;font-weight:700;color:#718573;display:block}.page-heading h2{font-family:'Lalezar','Vazirmatn',sans-serif;font-size:35px;line-height:1.7;font-weight:400}.page-heading p{font-size:11px;color:#617b6b}.map-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;margin:12px -12px 6px;padding:0 12px;scrollbar-width:thin;scrollbar-color:#a2b69d transparent;mask-image:linear-gradient(transparent,#000 4%,#000 96%,transparent)}.map-route{position:relative;width:100%;padding:0;max-width:350px;margin-inline:auto}.route-line{position:absolute;inset:0;width:100%;height:736px;z-index:0;pointer-events:none}.route-line path{stroke:#b5be9d;stroke-width:5;stroke-linecap:round;stroke-dasharray:3 13;fill:none}.map-row{position:relative;height:92px;display:flex;align-items:center;gap:14px}.map-row.odd{padding-inline-start:55%;flex-direction:row-reverse;direction:ltr}.map-row.even{padding-inline-end:55%;direction:rtl}.level-node{position:relative;z-index:1;flex:0 0 64px;width:64px;height:69px;background:transparent;padding:0}.node-face{height:56px;width:62px;border:3px solid var(--ink);border-radius:18px 18px 20px 20px;background:#d4d5b6;display:grid;place-items:center;box-shadow:0 5px 0 #6e8980;transition:transform .18s}.node-face strong{font-size:25px}.node-face img{width:36px;height:36px}.node-stars{position:absolute;bottom:-5px;inset-inline:0;display:flex;justify-content:center;gap:0}.node-stars img{width:22px;height:22px;filter:drop-shadow(0 1px 0 #47655c)}.locked .node-face{background:#c0c9b5;border-color:#8eaa96;box-shadow:0 4px 0 #8b9f8e}.locked .node-face img{opacity:.66}.locked .node-stars{opacity:.4}.current .node-face{background:var(--gold);box-shadow:0 5px 0 #a87b37,0 0 0 7px rgba(236,179,64,.2);animation:node-pulse 2.6s ease-in-out infinite}.completed .node-face{background:#86ad8b}.level-caption{direction:rtl;min-width:115px;text-align:start;display:flex;flex-direction:column;gap:0}.map-row.odd .level-caption{position:absolute;inset-inline-start:6px;top:18px;text-align:end}.map-row.even .level-caption{position:absolute;inset-inline-start:77px;top:18px}.level-caption>span{font-size:9px;color:#8a9a80}.level-caption>b{font-size:13px;font-weight:800;white-space:nowrap}.level-caption>small{font-size:9px;color:#6b8b6e}.map-footer{display:flex;justify-content:center;align-items:center;gap:7px;font-size:11px;padding:12px 0 0;border-top:1px solid #cbd4b8;flex-shrink:0}.map-footer img{width:24px;height:24px}.map-footer b{font-size:19px}.footer-divider{height:14px;width:1px;background:#aabd9b;margin:0 10px}
.shop-screen{overflow-y:auto;touch-action:pan-y;overscroll-behavior:contain}.shop-keeper{display:flex;align-items:center;gap:15px;margin:21px 0 17px;padding:12px 16px;background:#d4dfc3;border:1px solid #b9c9aa;border-radius:15px;flex-shrink:0}.shop-keeper img{width:45px;height:45px}.shop-keeper b,.shop-keeper span{display:block}.shop-keeper b{font-size:12px}.shop-keeper span{font-size:9px;color:#71806b}.shop-items{display:flex;flex-direction:column;gap:13px}.shop-card{display:flex;align-items:center;gap:15px;padding:15px 12px;border:2px solid #a3b69b;background:#fcf6dd;box-shadow:0 4px 0 #bbc9a9;border-radius:17px;flex-shrink:0}.shop-visual{width:80px;height:91px;flex:0 0 80px;display:flex;align-items:center;justify-content:center;background:#e3e4bc;border:1px solid #c5cca6;border-radius:12px;position:relative}.shop-visual img{width:70px;height:70px}.shop-visual .shop-axe{filter:sepia(.8) saturate(1.7);transform:rotate(-12deg)}.shop-visual .icon{width:55px;height:55px;stroke:#365b56;fill:#e0b356;stroke-width:1.2}.shop-copy{flex:1}.shop-copy small{font-size:8px;color:#898d65}.shop-copy h3{font-size:16px;line-height:1.7;font-weight:900}.shop-copy p{font-size:9px;line-height:1.9;color:#6a7b63;max-width:190px}.buy-button{height:32px;min-width:114px;display:flex;align-items:center;justify-content:center;gap:5px;border:1.5px solid var(--ink);border-radius:8px;background:var(--gold);box-shadow:0 2px 0 #b9923e;font-size:13px;font-weight:800;margin-top:8px}.buy-button img{width:20px;height:20px}.buy-button span{font-size:10px;margin-inline-start:10px}.buy-button .icon{height:18px;width:18px}.buy-button.is-owned{background:#dbe6bb;color:#54794d;border-color:#a3ba8b;box-shadow:0 2px 0 #b6ca99;font-size:11px}.save-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;margin-top:auto;padding-top:24px;color:#6d846c;line-height:1.9}.save-note .icon{height:16px;width:16px}
#hud{position:absolute!important;top:calc(14px + var(--safe-top))!important;inset-inline:0!important;max-width:430px;width:calc(100% - 28px);margin-inline:auto;display:flex!important;flex-direction:column;gap:10px;z-index:15!important;pointer-events:none;font-family:'Vazirmatn',Tahoma,sans-serif!important}.hud-top{display:flex;align-items:center;gap:7px;width:100%;padding:9px 10px;background:#fff7df;border:2px solid var(--ink);border-radius:15px;box-shadow:0 4px 0 rgba(44,79,72,.2);min-height:67px}.hud-score{flex:1;display:flex;flex-direction:column;border-inline-end:1px solid #dce0c7;padding-inline-end:6px;min-width:52px}.hud-score small,.hud-lives small{font-size:8px;line-height:1.7;color:#809078;font-weight:600}.hud-score b{font-size:23px;font-weight:900;line-height:1.7;font-variant-numeric:tabular-nums}.hud-lives{flex:1.2;padding-inline:3px;align-self:center}.hud-lives>div{display:flex;align-items:center;gap:1px;position:relative;height:26px}.hud-lives img{width:23px;height:25px}.hud-lives .lost-heart{filter:grayscale(1);opacity:.22}.shield-pip .icon{width:14px;height:14px;color:#58959b;margin-inline-start:3px}.hud-coins{display:flex;gap:4px;align-items:center;min-width:48px}.hud-coins img{width:25px;height:25px}.hud-coins b{font-size:16px;font-weight:800}.pause-button{width:38px;height:38px;flex-shrink:0;background:#d9e0c4;border:1.5px solid var(--ink);border-radius:10px;display:grid;place-items:center;pointer-events:auto;box-shadow:0 2px 0 #9db294}.pause-button .icon{width:18px;height:18px}.hud-progress{display:flex;gap:8px;align-items:center;padding:0 5px;color:#375d55;font-size:10px;font-weight:700;line-height:1.7}.hud-progress>span:first-child{font-size:10px;min-width:86px;white-space:nowrap}.hud-progress>.icon{height:17px;width:17px}.hud-progress>span:nth-last-child(2){font-size:9px;min-width:27px}.progress-track{height:7px;flex:1;background:#a7beb0;border:1px solid #6b9988;border-radius:8px;overflow:hidden}.progress-track i{display:block;height:100%;background:#edb846;border-radius:7px;transition:width .4s ease}
#play-guidance{position:absolute;bottom:calc(18px + var(--safe-bottom));inset-inline:0;width:calc(100% - 36px);max-width:390px;margin-inline:auto;pointer-events:none;z-index:12;text-align:center}.jump-label{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(71,103,83,.35);border-radius:30px;width:max-content;max-width:230px;padding:3px 13px;min-height:31px;margin:0 auto 10px;background:rgba(244,241,211,.84);overflow:hidden;color:#426b5b;font-size:10px;font-weight:700;box-shadow:0 2px 0 rgba(68,97,76,.08)}.jump-label img{width:25px;height:25px;transform:rotate(-10deg);z-index:1}.jump-label span{z-index:1}.jump-label i{position:absolute;inset-inline-start:0;bottom:0;top:0;background:#f9d16b;opacity:0;z-index:0;transition:width .07s}.jump-label.aiming{border-color:#c1973e}.jump-label.aiming i{opacity:.7}#tutorial{display:flex;align-items:center;justify-content:center;gap:11px;padding:12px 15px;border:1.5px solid rgba(80,112,89,.3);background:rgba(255,248,221,.93);border-radius:16px;box-shadow:0 4px 0 rgba(61,89,65,.08);text-align:start;transition:opacity .5s}#tutorial strong{font-size:12px;font-weight:900}#tutorial p{font-size:9px;color:#64816a;line-height:1.9;margin-top:3px}#tutorial.quiet{background:rgba(255,248,221,.75);padding-block:9px}#tutorial.quiet p{display:none}.tutorial-mark{width:33px;height:39px;display:grid;place-items:center;flex-shrink:0}.tutorial-mark svg{width:25px;height:33px}.keyboard-tip{font-size:9px;margin-top:14px;opacity:.6;display:none}.bump{animation:score-bump .22s ease-out}#tutorial-gesture{position:absolute;z-index:11;width:35px;height:45px;color:#fff9df;filter:drop-shadow(0 1px 2px #244f4b);pointer-events:none;animation:teach-drag 2.4s ease-in-out infinite}#tutorial-gesture .icon{width:35px;height:45px;fill:#f9d19a;stroke:#315e54;stroke-width:1.5}
#modal-layer{position:absolute;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(28,57,55,.64);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.dialog{position:relative;width:100%;max-width:345px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;padding:30px 24px 22px;border:3px solid var(--ink);border-radius:25px;background:var(--cream);box-shadow:0 9px 0 #153a3c,0 14px 35px rgba(13,35,32,.23);text-align:center;animation:dialog-in .3s cubic-bezier(.16,1.2,.3,1)}.dialog:before{content:'';position:absolute;top:7px;inset-inline:18px;height:1px;background:#fffef2}.dialog h2{font-family:'Lalezar','Vazirmatn',sans-serif;font-size:32px;line-height:1.7;font-weight:400}.dialog>p{font-size:11px;color:#6d7e68;line-height:1.9;margin-bottom:26px}.dialog .primary-button{min-height:52px;font-size:16px;margin-bottom:19px}.dialog .outline-button{width:100%;height:48px;border:1.5px solid #9fb190;border-radius:12px;background:#e5e8c8;display:flex;gap:10px;justify-content:center;align-items:center;font-size:12px;font-weight:800;box-shadow:0 3px 0 #c0c8a1;margin-bottom:12px}.dialog .text-button{font-size:11px;font-weight:700;background:none;min-height:40px;display:inline-flex;justify-content:center;align-items:center;gap:8px;color:#68836a}.text-button .icon{height:17px;width:17px}.dialog-symbol{height:62px;width:62px;border:2px solid var(--ink);border-radius:20px;background:#e5b954;display:grid;place-items:center;box-shadow:0 4px 0 #b0b893;margin:0 auto 21px;transform:rotate(-5deg)}.dialog-symbol .icon{width:29px;height:29px;transform:rotate(5deg)}.dialog-symbol img{width:50px;height:50px}.dialog-sound{display:flex;align-items:center;justify-content:center;gap:10px;border-top:1px solid #d9dfbe;padding-top:13px;margin-top:9px;font-size:10px;color:#778d71}.dialog-sound .round-button{width:32px;height:32px;border-width:1px;border-radius:9px;box-shadow:none}.dialog-sound .icon{height:17px;width:17px}.result-stars{display:flex;align-items:center;justify-content:center;height:100px;margin:15px 0 3px;gap:2px}.result-star{width:70px;height:70px;animation:star-pop .6s cubic-bezier(.2,1.5,.3,1) both}.result-star.star-1{transform:rotate(13deg);animation-delay:.08s}.result-star.star-2{width:87px;height:87px;align-self:flex-start;animation-delay:.2s}.result-star.star-3{transform:rotate(-13deg);animation-delay:.3s}.result-dialog>p{margin-bottom:17px;font-size:10px}.result-dialog h2{font-size:29px}.result-stats{display:flex;align-items:center;padding:13px 8px;border:1px solid #cfd6b1;border-radius:14px;background:#e9edcb;margin-top:10px}.result-stats>div{flex:1;display:flex;flex-direction:column;gap:5px}.result-stats>div:first-child{border-inline-end:1px solid #c4cfaa}.result-stats small{font-size:10px;color:#7c8e6d}.result-stats b{font-size:24px;font-weight:900;line-height:1.7;display:flex;justify-content:center;align-items:center;gap:6px}.result-stats img{width:28px;height:28px}.reward-note{display:flex;justify-content:center;align-items:center;gap:5px;font-size:10px;color:#748c61;margin:17px 0 25px}.reward-note .icon{width:16px;height:16px}.dialog-close{position:absolute;inset-inline-end:12px;top:13px;width:32px;height:32px;border-width:1px;box-shadow:none}.dialog-close .icon{width:18px;height:18px}.help-dialog ol{list-style:none;text-align:start;margin:13px 0 18px;padding:0;counter-reset:help}.help-dialog li{counter-increment:help;position:relative;padding-inline-start:40px;margin:16px 0;line-height:1.8}.help-dialog li:before{content:counter(help,persian);position:absolute;inset-inline-start:0;top:4px;width:27px;height:27px;display:grid;place-items:center;border:1px solid #97af8f;background:#e0e5bd;border-radius:8px;font-size:12px;font-weight:800}.help-dialog li b,.help-dialog li span{display:block}.help-dialog li b{font-size:12px}.help-dialog li span{font-size:10px;color:#748469}.help-dialog .help-keys{font-size:10px;background:#e9eccd;padding:10px;border-radius:10px}.help-dialog .primary-button{margin-bottom:2px}
#toast{position:absolute;bottom:calc(30px + var(--safe-bottom));inset-inline:24px;margin-inline:auto;max-width:345px;z-index:80;border:1px solid #a7c3a4;background:#234b46;color:#fff8de;font-size:11px;line-height:1.9;padding:11px 17px;border-radius:12px;text-align:center;box-shadow:0 4px 15px rgba(20,45,34,.18);opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translateY(0)}#popup-layer{position:absolute;inset:0;pointer-events:none;z-index:18;overflow:hidden}.floating-score{position:absolute;color:#fff6bc;text-shadow:0 2px 0 #395f4b,-1px 0 0 #395f4b,1px 0 0 #395f4b;font-size:23px;font-weight:900;white-space:nowrap;animation:score-float 1s ease-out forwards;transform:translateX(-50%)}.floating-score.caption{font-size:14px;color:#fff8dc}.floating-score.damage{color:#fbc3a4}.floating-score.reward{color:#ffdc65}#hit-tint{position:absolute;inset:0;z-index:19;pointer-events:none;opacity:0;box-shadow:inset 0 0 90px #bd4b32;background:rgba(235,103,59,.12)}#hit-tint.flash{animation:hit-flash .45s ease-out}.screen-enter{animation:screen-in .35s ease-out}
@keyframes load-bob{50%{transform:translateY(-10px) rotate(-8deg)}}@keyframes node-pulse{50%{box-shadow:0 5px 0 #a87b37,0 0 0 10px rgba(236,179,64,.1)}}@keyframes score-bump{50%{transform:scale(1.15)}}@keyframes screen-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes dialog-in{from{opacity:0;transform:translateY(24px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes star-pop{from{opacity:0;scale:.3}to{opacity:1;scale:1}}@keyframes teach-drag{0%,15%{translate:0 0;opacity:0}25%{opacity:1}75%{translate:95px -105px;opacity:1}90%,100%{translate:95px -105px;opacity:0}}@keyframes score-float{0%{opacity:0;translate:0 8px;scale:.7}15%{opacity:1;scale:1.05}75%{opacity:1}100%{opacity:0;translate:0 -58px;scale:1}}@keyframes hit-flash{15%{opacity:1}100%{opacity:0}}
@media (min-width:700px){.home-screen{padding-bottom:21px}.title-lockup{top:65px}.title-lockup h1{font-size:70px}.home-journey{bottom:210px}.scenery-caption{display:none}.keyboard-tip{display:block}.sub-screen{box-shadow:0 0 60px rgba(25,57,49,.1);background:rgba(233,237,214,.95)}#play-guidance{bottom:21px}.home-toolbar{padding-top:0}.title-lockup p{font-size:11px}}
@media (max-height:740px){.home-screen{padding-top:14px;padding-bottom:17px}.title-lockup{top:65px}.title-emblem{width:65px;height:65px;inset-inline-start:calc(50% - 32px);top:19px}.title-lockup h1{font-size:63px;padding-top:49px}.title-lockup p{font-size:10px}.home-journey{bottom:197px}.home-footnote{margin-top:16px}.secondary-button{min-height:47px}.primary-button,#startBtn{min-height:53px!important}.page-heading{margin-top:13px}.page-heading h2{font-size:31px}.shop-keeper{margin:15px 0 12px;padding:9px 12px}.shop-card{padding:10px}.shop-visual{height:80px;width:70px;flex-basis:70px}.shop-items{gap:11px}.save-note{padding-top:16px}.dialog{padding-top:23px}.dialog-symbol{margin-bottom:14px}.dialog>p{margin-bottom:20px}#play-guidance{bottom:13px}#tutorial{padding:9px 12px}.keyboard-tip{margin-top:8px}.hud-top{min-height:60px;padding-block:6px}.hud-progress{gap:6px}.result-stars{height:84px;margin-top:11px}.result-star{width:62px;height:62px}.result-star.star-2{width:76px;height:76px}.reward-note{margin-bottom:18px}}
@media (max-width:360px){.home-screen{padding-inline:18px}.title-lockup h1{font-size:67px}.secondary-actions{gap:8px}.secondary-button{font-size:11px;gap:5px}.secondary-button small{display:none}.sub-screen{padding-inline:16px}.hud-top{gap:4px;padding-inline:7px}.hud-lives img{width:20px}.hud-coins{min-width:42px}.hud-score b{font-size:21px}.wallet{padding-inline:8px}.dialog{padding-inline:18px}.shop-card{gap:10px}.shop-copy p{font-size:9px}.level-caption{min-width:103px}.level-caption>b{font-size:12px}}
/* Explicitly override only the host's structural defaults, not its controls. */
#hud.hidden{display:none!important}
#hud{align-items:stretch!important;justify-content:flex-start!important}
.empty-star{filter:grayscale(1) sepia(.15)!important;opacity:.35}
.title-lockup h1{line-height:1.7;padding-top:48px}
.map-row.odd,.map-row.even{padding:0;direction:rtl}
.map-row .level-node{position:absolute;top:10px}
.map-row.even .level-node{inset-inline-end:calc(70% - 32px)}
.map-row.odd .level-node{inset-inline-end:calc(30% - 32px)}
.map-row .level-caption{width:126px;min-width:0;inset-inline-start:auto;top:18px}
.map-row.even .level-caption{inset-inline-end:calc(70% - 172px);text-align:start}
.map-row.odd .level-caption{inset-inline-end:calc(30% + 46px);text-align:end}
@media (max-height:740px){.title-lockup h1{padding-top:36px;line-height:1.7}}
@media (prefers-reduced-motion:reduce){.screen-enter,.dialog,.current .node-face,.loading-emblem{animation:none}.home-footnote{transition:none}}
