@import"https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@500;600;700;800&display=swap";.equipment-modal-overlay{position:fixed;z-index:79;inset:0;box-sizing:border-box;display:grid;place-items:center;padding:max(12px,var(--safe-top)) max(12px,var(--safe-right)) max(12px,var(--safe-bottom)) max(12px,var(--safe-left));background:#00000042;pointer-events:auto;touch-action:none}.equipment-modal{box-sizing:border-box;width:min(92vw,720px);height:auto;max-height:calc(100dvh - max(24px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 16px));display:flex;flex-direction:column;overflow:hidden;border-top:5px solid #ef7622;border-radius:var(--modal-radius, 14px);background:#f5f3e9e5;box-shadow:0 18px 50px #0000007a;color:#183025;pointer-events:auto}.equipment-modal-header{position:sticky;z-index:5;top:0;flex:0 0 auto;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px 9px 16px;border-bottom:1px solid #d8d8cc;background:#f5f3e9f5}.equipment-modal-heading{min-width:0;display:flex;align-items:center;gap:10px}.equipment-modal-heading>div{min-width:0}.equipment-modal-heading small{display:block;color:#77847c;font-size:9px;font-weight:900;letter-spacing:.08em}.equipment-modal-heading h3{margin:1px 0 2px;overflow:hidden;font-size:clamp(20px,3vw,28px);line-height:1;text-overflow:ellipsis;white-space:nowrap}.equipment-modal-image{flex:0 0 54px;width:54px;height:50px;display:grid;place-items:center}.equipment-modal-image img{max-width:100%;max-height:100%;object-fit:contain}.equipment-modal-close{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;padding:4px;border:0;border-radius:50%;background:transparent;cursor:pointer}.equipment-modal-close img{width:100%;height:100%;object-fit:contain}.equipment-modal-body{min-height:0;flex:1 1 auto;padding:12px 16px 16px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.equipment-modal-body>p{margin:0 0 8px;color:#657168;font-size:11px;line-height:1.35}.equipment-modal-body>:last-child{margin-bottom:0}.equipment-modal-actions{position:sticky;z-index:5;bottom:0;flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 12px max(10px,env(safe-area-inset-bottom));border-top:1px solid #d8d8cc;background:#f5f3e9f5}.equipment-modal-actions .tower-actions{display:contents}.equipment-modal-actions button{min-height:44px;margin:0}.equipment-modal-actions .upgrade,.equipment-modal-actions .sell{height:auto}.equipment-modal-actions .maxed-upgrade{min-height:44px}.equipment-modal.foreman-detail .maxed-upgrade{display:none}.license-shortfall{color:#a33d22;font-weight:900;text-align:center}.equipment-detail-open>footer,.equipment-detail-open>.wavebar .send-it,.equipment-detail-open>.player-action-stack,.equipment-detail-open>.mobile-pause-button,.equipment-detail-open>main .mobile{display:none!important}@media(orientation:landscape)and (max-height:650px){.equipment-modal-overlay{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.equipment-modal{width:min(94vw,780px);max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 8px))}.equipment-modal-header{min-height:58px;padding:6px 10px 6px 14px}.equipment-modal-image{flex-basis:46px;width:46px;height:42px}.equipment-modal-heading h3{font-size:clamp(18px,3vw,24px)}.equipment-modal-body{padding:10px 14px}.equipment-detail-grid{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);align-content:start;align-items:start;gap:8px 14px}.equipment-modal.foreman-detail .equipment-detail-grid{grid-template-areas:"description crew" "stats crew" "support crew" "ability crew"}.equipment-modal.foreman-detail .equipment-detail-grid>p{grid-area:description}.equipment-modal.foreman-detail .equipment-detail-grid>.grid{grid-area:stats}.equipment-modal.foreman-detail .equipment-detail-grid>.special-stats{grid-area:support;margin:0}.equipment-modal.foreman-detail .equipment-detail-grid>.max-ability{grid-area:ability;margin:0}.equipment-modal.foreman-detail .equipment-detail-grid>.crew-equipment-panel{grid-area:crew;align-self:stretch;margin:0}.equipment-modal-actions{padding-top:7px;padding-bottom:max(7px,env(safe-area-inset-bottom))}}@media(orientation:portrait){.equipment-modal-overlay{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.equipment-modal{width:calc(100vw - 16px);max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 8px))}.equipment-detail-grid{display:block}}@media(max-width:520px){.equipment-modal-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-modal-body{padding-inline:12px}}:root{font-family:Inter,system-ui;color:#f8fbf7;--orange: #f37322;--green: #143f2c;--ink: #172a21;--safe-top: env(safe-area-inset-top);--safe-right: env(safe-area-inset-right);--safe-bottom: env(safe-area-inset-bottom);--safe-left: env(safe-area-inset-left);--equipment-tray-height: 88px;--mobile-control-gap: 14px;--modal-radius: 16px}*{box-sizing:border-box}button{font:inherit;cursor:pointer;color:inherit;border:0}small{display:block}.game,.menu{width:100%;height:100%;background:#193b2d;overflow:hidden}.game>header{height:70px;display:flex;align-items:center;gap:17px;padding:7px 17px;background:linear-gradient(100deg,#102b20,#193f2c);border-bottom:3px solid #ee7826;position:relative;z-index:10;box-shadow:0 5px 18px #10201688}.logo{width:91px;height:50px;background:#fff;border-radius:8px;padding:5px}.logo img{width:100%;height:100%;object-fit:contain}.game-title{display:flex;flex-direction:column;line-height:1;border-right:1px solid #ffffff24;padding-right:17px}.game-title small{font:800 8px Inter;color:#f0b35e;letter-spacing:1.4px}.game-title b{font:900 15px Barlow Condensed;white-space:nowrap;color:#fff}.place{border-right:1px solid #ffffff24;padding-right:20px}.place small,.hud small{font:700 9px Inter;color:#a8bdaf;letter-spacing:1.2px}.place b{font:800 16px Barlow Condensed;letter-spacing:.8px}.hud{display:flex;gap:9px;align-items:center;min-width:113px}.hud svg{width:21px;color:#ef7a28}.hud b{font:800 18px Barlow Condensed}.speeds{display:flex;background:#0c251a;padding:4px;border-radius:8px;margin-left:auto}.speeds button{padding:7px 9px;background:transparent;color:#9eb1a5;border-radius:5px;font-weight:800}.speeds .on{background:#ee7826;color:#fff}.round{width:38px;height:38px;background:#294c3c;border-radius:8px;padding:9px}.round svg{width:19px}.game main{height:calc(100% - 158px);position:relative;background:#4b8144}.game main>svg{width:100%;height:100%;display:block;touch-action:none}.tower text,.enemy text,.worker text{text-anchor:middle;font-size:32px;dominant-baseline:middle}.tower{cursor:pointer}.tower .range{fill:#f7bd3130;stroke:#ffc62b;stroke-width:2;pointer-events:none}.tower .stars{font:900 10px sans-serif;fill:#ffcf32}.enemy>rect:first-of-type{fill:#24352b}.enemy.enemy-boss>text{font-size:62px}.enemy.enemy-boss>rect{transform:translate(-18px,-22px);width:84px}.fx{font:800 13px Inter;text-anchor:middle}.worker text{font-size:33px}.worker .swing{transform:rotate(-50deg);transform-origin:0 0}.boss{position:absolute;z-index:15;top:76px;left:50%;transform:translate(-50%);width:min(580px,70vw);display:flex;gap:10px;align-items:center;background:#241a15e8;padding:8px 14px;border:2px solid #ef7b27;border-radius:10px}.boss b{font:800 15px Barlow Condensed;white-space:nowrap}.boss i{height:12px;background:#3d2920;flex:1;border-radius:9px;overflow:hidden}.boss i span{display:block;height:100%;background:linear-gradient(90deg,#e55738,#f29a31)}.boss strong{font-size:11px}.pause,.end{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:12;text-align:center;background:linear-gradient(145deg,#163d2cfa,#0c251bfa);border:1px solid #ffffff2c;border-radius:16px;box-shadow:0 22px 70px #102016aa;padding:22px;width:min(390px,90vw)}.end h2{font:900 35px Barlow Condensed;margin:5px}.end>button{background:linear-gradient(#ff8a2f,#ec6517);border-bottom:4px solid #a63e0e;border-radius:9px;padding:13px 24px;font:900 18px Barlow Condensed;width:100%;display:flex;align-items:center;justify-content:center;gap:8px}.pause{width:260px;display:grid;gap:13px;justify-items:center}.pause svg{color:#ef7826}.pause button{background:#ef7826;padding:10px 30px;border-radius:7px;font-weight:800}.tutorial{position:absolute;bottom:20px;left:20px;z-index:13;width:355px;display:flex;gap:12px;background:#fff;color:#1e3429;padding:14px;border-radius:12px;box-shadow:0 12px 35px #14332277}.tutorial>span{font-size:37px}.tutorial>button{position:absolute;right:7px;top:7px;min-height:32px;padding:5px 8px;border-radius:6px;background:#fff4df;color:#5b6c62;font-size:9px;font-weight:900}.tutorial>div{padding-right:72px}.tutorial button svg{width:15px}.tutorial small{color:#e76d1d;font-weight:900;font-size:9px;letter-spacing:1px}.tutorial b{display:block;font:800 17px Barlow Condensed}.tutorial p{font-size:11px;margin-top:3px;color:#607067}.x{position:absolute;right:8px;top:7px;background:transparent;color:#56675e}.x svg{width:17px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.grid span{background:#e2e7dc;padding:8px;border-radius:7px}.grid small{font-size:7px;color:#748076;font-weight:800}.grid b{color:#183b2b}.synergy{font-size:9px;color:#386e3c;background:#d8ebca;margin-top:8px;padding:7px;border-radius:6px;font-weight:800}.upgrade,.sell{width:100%;margin-top:9px;border-radius:7px;padding:10px;display:flex;justify-content:space-between}.upgrade{background:#ec7623;font-weight:800}.upgrade:disabled{background:#a6aaa5}.sell{background:transparent;border:1px solid #bac2b9;color:#5b685f;font-size:11px}.game footer{height:88px;background:#122e22;border-top:3px solid #ef7826;display:flex;align-items:center;padding:8px 15px;gap:12px}.dispatch{display:flex;gap:8px;align-items:center}.dispatch>b{background:#ed7622;width:37px;height:37px;border-radius:50%;display:grid;place-items:center;font-size:25px}.dispatch small,.keys small{font-size:8px;color:#9eb2a6;letter-spacing:1px}.dispatch strong{font:900 15px Barlow Condensed}.cards{display:flex;gap:8px;overflow-x:auto;flex:1}.cards button{position:relative;min-width:140px;background:#28493a;border:1px solid #ffffff15;border-radius:8px;padding:7px;display:flex;gap:8px;text-align:left;align-items:center}.cards button.chosen{outline:3px solid #ff9a35;background:#3b624e}.cards button.dim{filter:saturate(.2);opacity:.45}.cards i{font-size:26px;font-style:normal}.cards b{font:800 13px Barlow Condensed;display:block}.cards small{color:#ffc24c;font-weight:800;font-size:10px}.cards svg{position:absolute;right:5px;top:5px;width:12px}.cancel{background:#a74632;padding:10px;border-radius:7px;display:flex;gap:4px}.cancel svg{width:14px}.keys{text-align:right;white-space:nowrap}.mobile{display:none}.end>span{font-size:53px}.end>small{color:#ee7b28;font-weight:900;letter-spacing:1.5px}.end>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0}.end p{background:#ffffff0c;border-radius:7px;padding:8px;margin:0}.end p b{display:block;font:800 18px Barlow Condensed}.end p small{font-size:7px;color:#aabbb1}.end>strong{display:block;color:#ffc846;margin-bottom:12px}.end .secondary{margin-top:7px;background:#2b4b3c;border-bottom-color:#1b3428}.menu{background:radial-gradient(circle at 50% 80%,#38643e,#173326 55%,#0b1d17);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.clouds{position:absolute;inset:0;background:radial-gradient(ellipse at 18% 15%,#82918d44 0 15%,transparent 32%),radial-gradient(ellipse at 85% 5%,#687a7644 0 18%,transparent 36%)}.brand{text-align:center;z-index:1}.brand img{width:170px;max-height:70px;object-fit:contain;filter:brightness(0) invert(1);display:block;margin:auto}.brand>b{display:none}.brand h1{font:900 clamp(48px,7vw,78px)/.85 "Barlow Condensed";margin:18px 0 8px;text-shadow:0 7px 0 #0b1d17}.brand h1 span{color:#f47723}.brand p{font:800 11px Inter;letter-spacing:5px;color:#f5be5e}.menu nav{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:330px;margin-top:32px;z-index:2}.menu nav button{height:48px;border-radius:8px;background:#294b3a;border:1px solid #ffffff16;font:800 14px Barlow Condensed;display:flex;align-items:center;justify-content:center;gap:7px}.menu nav svg{width:17px}.menu nav .play{grid-column:1/3;background:linear-gradient(#ff8b30,#ed6719);height:57px;font-size:20px;border-bottom:4px solid #ac400e}.trees{position:absolute;bottom:-18px;font-size:78px;white-space:nowrap;opacity:.8}.info{z-index:3;width:min(720px,90vw);max-height:66vh;overflow:auto;background:#f4f2e8;color:#1d3328;padding:23px;border-radius:14px;box-shadow:0 20px 60px #08150eaa}.info h2{font:900 30px Barlow Condensed;text-align:center;color:#173e2b}.info>.back{background:transparent;color:#406050;display:flex;gap:5px;align-items:center;font-size:11px;font-weight:800}.back svg{width:16px}.steps{display:grid;grid-template-columns:1fr 1fr;gap:9px}.steps p{display:flex;gap:10px;align-items:center;background:#e3e9de;padding:13px;border-radius:8px;font-size:12px}.steps p b{background:#ed7622;color:#fff;width:25px;height:25px;border-radius:50%;display:grid;place-items:center}.fleet{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.fleet article{background:#e2e8dd;padding:12px;border-radius:9px;display:flex;flex-direction:column}.fleet i{font-size:28px;font-style:normal}.fleet b{font:800 16px Barlow Condensed}.fleet small{font-size:9px;color:#68756c;flex:1}.fleet em{font-style:normal;color:#df681b;font-weight:800;margin-top:5px}.maplist{display:grid;grid-template-columns:1fr 1fr;gap:8px}.maplist button,.setting{background:#e1e7dc;color:#1e3529;padding:13px;border-radius:8px;display:flex;gap:10px;text-align:left}.maplist button svg,.setting svg{width:20px}.maplist span,.setting span{flex:1}.maplist b,.setting b{display:block}.maplist small,.setting small{font-size:9px;color:#758177}.setting{width:100%;margin-top:9px;align-items:center}.setting em{font-style:normal;color:#e66e20;font-weight:900}@media(max-width:850px){.game-title{display:none}.game>header{height:56px;padding:5px 8px;gap:8px}.logo{width:66px;height:41px}.place{display:none}.hud{min-width:0}.hud small{display:none}.hud b{font-size:15px}.hud svg{width:17px}.game main{height:calc(100% - 132px)}.game footer{height:76px;padding:5px}.dispatch,.keys{display:none}.cards button{min-width:114px;padding:5px}.cards i{font-size:22px}.cards b{font-size:11px}.mobile{display:flex;position:absolute;inset:auto 18px 18px;justify-content:space-between;pointer-events:none}.mobile i{width:70px;height:70px;border:2px solid #ffffff55;border-radius:50%;background:#1d382a44}.mobile button{pointer-events:auto;width:68px;height:68px;border-radius:50%;background:#ef7622;border:4px solid #fff5;display:grid;place-items:center;font-size:25px}.mobile small{font-size:8px}.tutorial{bottom:8px;left:50%;transform:translate(-50%);width:min(350px,90vw)}.fleet{grid-template-columns:1fr 1fr}.speeds button{padding:5px}.round{width:31px;height:31px;padding:6px}.round:last-child{display:none}}.settings-cards{display:grid;gap:10px}.settings-info{width:min(440px,90vw)}.settings-cards .setting{min-height:68px;margin:0;padding:14px 18px;border-radius:16px}.volume-setting{display:grid;gap:8px;margin:0;padding:18px;border-radius:16px;background:#e1e7dc;color:#1e3529}.volume-setting>span{display:flex;justify-content:space-between;align-items:center;font-size:11px}.volume-setting em{color:#df681b;font-style:normal;font-weight:900}.volume-setting input{width:100%;min-height:24px;accent-color:#ed7622;cursor:pointer}.start-music-setting{cursor:pointer}.start-music-setting>span{align-self:center}.start-music-play{width:54px;height:54px;margin-left:auto;display:grid;place-items:center;flex:none;border-radius:15px;background:linear-gradient(#ff923c,#e76618);box-shadow:0 3px #a43c10;transition:transform .12s ease,box-shadow .12s ease}.start-music-play img{width:44px;height:44px;object-fit:contain}.start-music-setting:active .start-music-play{transform:scale(.94);box-shadow:0 1px #a43c10}.pause .resume-game{width:100%;min-height:60px;padding:10px 18px;border-bottom:4px solid #9f390b;background:linear-gradient(#ff8a2f,#e96318);color:#fff;justify-content:center;font:900 20px Barlow Condensed}.pause-volume{width:100%;display:grid;gap:2px;color:#fff4d7}.pause-volume>span{display:flex;justify-content:space-between;align-items:center;font-size:11px}.pause-volume em{color:#f6a13e;font-style:normal;font-weight:900}.pause-volume input,.volume-setting input{width:100%;min-height:44px;accent-color:#ed7622;cursor:pointer}.rotate-phone{display:none}.tutorial-focus{animation:tutorialFocus 1s ease-in-out infinite alternate!important}@keyframes tutorialFocus{0%{filter:drop-shadow(0 0 2px #ffd34e)}to{filter:drop-shadow(0 0 11px #ffd34e) brightness(1.15)}}.target-cycle{display:none}@media(pointer:coarse)and (orientation:portrait)and (max-width:949px){.menu .settings-info{width:min(440px,92vw);max-height:78dvh;padding:16px 18px 18px}.menu .settings-info h2{margin:4px 0 12px}.settings-cards{gap:9px}.settings-cards .volume-setting{min-height:78px;box-sizing:border-box}.settings-cards .setting{min-height:60px;margin:0;padding:12px 16px}.game .rotate-phone{position:fixed;inset:0;z-index:999;display:grid;place-content:center;justify-items:center;gap:10px;padding:24px;background:radial-gradient(circle,#214c36,#091c13 72%);text-align:center}.rotate-phone span{font-size:64px}.rotate-phone b{font:900 28px Barlow Condensed;color:#ff9b41}.rotate-phone small{font-size:14px;color:#bbcabf}}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px){html,body,#root{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}.game{height:100dvh;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation}.game img{-webkit-user-drag:none;user-drag:none}.game>header{height:48px;min-height:48px;padding:max(3px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 3px max(8px,env(safe-area-inset-left));gap:clamp(7px,1.5vw,14px);border-bottom-width:2px}.logo,.game-title,.place{display:none}.hud{min-width:0;gap:4px}.hud>img{width:30px;height:30px}.hud small{display:none}.hud b{font-size:18px}.hud:nth-of-type(3){margin-left:auto}.speeds{margin-left:0;padding:1px}.speeds button{width:40px;height:40px;padding:3px}.round{width:44px;height:44px;padding:5px}.round:last-child{display:none}.wavebar{height:44px;padding:2px max(8px,env(safe-area-inset-right)) 2px max(8px,env(safe-area-inset-left));gap:8px}.wavebar>b{font-size:16px}.wavebar .next{gap:4px;overflow:hidden}.wavebar .next em{display:inline;font-size:8px}.wavebar .next i{min-height:38px;padding:2px 5px;background:transparent}.wavebar .next img{width:25px;height:23px}.wavebar .next i span{font-size:10px}.wavebar .next i small,.wave-danger{display:none}.wavebar .send-it{width:clamp(112px,17vw,150px);height:42px}.boss-inline{min-width:min(45vw,330px)}.boss-inline>img{width:28px;height:25px}.boss-inline-health{height:8px}.game main{min-height:0}.game main>svg{width:100%;height:100%;touch-action:none}.placement image{opacity:.72}.fx{display:none}.fx.upgrade-fx{display:block}.enemy-boss+.fx,.cut-line,.grapple-line{display:block}.game footer{height:84px;min-height:84px;padding:4px max(112px,calc(env(safe-area-inset-right) + 92px)) max(4px,env(safe-area-inset-bottom)) max(112px,calc(env(safe-area-inset-left) + 92px));gap:4px}.dispatch,.keys{display:none}.cards{gap:5px;scrollbar-width:none}.cards::-webkit-scrollbar{display:none}.cards button{min-width:92px;min-height:70px;padding:3px 5px;justify-content:center;text-align:center;flex-direction:column;gap:0}.cards i{width:48px;height:42px}.cards button>span b{display:none}.cards small{font-size:13px}.mobile{left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:calc(84px + max(5px,env(safe-area-inset-bottom)));z-index:16}.mobile .joystick{width:clamp(80px,12vh,96px);height:clamp(80px,12vh,96px)}.game.is-placing .mobile{opacity:.18;pointer-events:none}.equipment-stars img{width:17px;height:17px}.grid{grid-template-columns:repeat(3,1fr);gap:4px}.grid span{min-height:48px;padding:5px 5px 5px 29px}.grid span:nth-child(4){display:none}.grid span>img{left:4px;width:22px;height:22px}.grid small{font-size:8px}.tower-actions{display:flex;gap:5px;margin:0}.tower-actions .move{display:none}.target-cycle{display:block;width:100%;min-height:44px;padding:5px;border-radius:7px;background:#315c45;color:#fff;font:900 10px Inter}.upgrade,.sell{margin:0;min-height:48px;padding:5px}.upgrade img,.sell img{width:25px;height:25px}.upgrade em,.sell span span,.upgrade>span>span em{display:none}.tutorial{width:min(340px,48vw);left:50%;bottom:90px;padding:9px;font-size:12px}.announcement{width:min(250px,34vw);top:8%}.pause{width:min(560px,88vw);max-height:88vh;padding:10px;grid-template-columns:repeat(3,1fr);gap:6px}.pause>b{grid-column:1 / -1}.pause .resume-game{grid-column:1 / -1;min-height:60px}.pause>button{min-height:44px;padding:6px;justify-content:center}.end{width:min(620px,92vw);max-height:92vh;padding:9px}.end .result-banner{height:78px}.end>.end-stats{grid-template-columns:repeat(3,1fr);gap:4px;margin:4px 0}.end .end-stats p{min-height:42px;padding:4px}.end .end-actions button{min-height:48px}}@media(pointer:coarse)and (orientation:landscape)and (max-height:380px){.game>header{height:44px;min-height:44px}.wavebar{height:40px}.game footer{height:76px;min-height:76px}.mobile{bottom:78px}.cards button{min-height:64px}}@media(max-width:560px){.hud:nth-of-type(2){display:none}.speeds{margin-left:auto}.fleet,.steps,.maplist{grid-template-columns:1fr}.brand h1{font-size:52px}.info{max-height:72vh}.tutorial{display:none}}.game{display:flex;flex-direction:column}.game>header,.game>footer,.wavebar{flex:none}.game main{height:auto!important;flex:1;min-height:0}.game>.boss{display:none}.wavebar{height:52px;display:flex;align-items:center;gap:20px;padding:6px 18px;background:linear-gradient(90deg,#0d251b,#173a2a);border-bottom:1px solid #ffffff1a;box-shadow:0 3px 10px #10201666;position:relative;z-index:9}.wavebar>b{font:900 20px Barlow Condensed;white-space:nowrap}.wavebar>b small{display:inline;color:#91a79a;font-size:13px}.wavebar .next{display:flex;align-items:center;gap:9px;flex:1;min-width:0}.wavebar .next em{color:#f29042;font:900 9px Inter;letter-spacing:1.3px;font-style:normal}.wavebar .next i{background:#ffffff0b;border:1px solid #ffffff12;border-radius:6px;padding:5px 8px;font:700 12px Inter;font-style:normal;white-space:nowrap}.wavebar>button{height:38px;padding:0 18px;border-radius:7px;background:linear-gradient(#ff8a2f,#e96318);border-bottom:3px solid #9f390b;font:900 15px Barlow Condensed;display:flex;align-items:center;gap:7px}.wavebar>button svg{width:15px}.wavebar .progress{display:flex;align-items:center;gap:7px;color:#f5a04e;font:800 12px Inter;letter-spacing:1px}.wavebar .progress svg{width:16px}.boss-inline{margin-left:auto;display:flex;align-items:center;gap:8px;min-width:300px}.boss-inline>b{font:800 12px Barlow Condensed;white-space:nowrap}.boss-inline-health{display:block;width:0;height:9px;flex:1;overflow:visible}.boss-inline strong{font-size:9px;white-space:nowrap}.announcement{position:absolute;top:18%;left:50%;transform:translate(-50%);z-index:11;background:#142f23e8;border:2px solid #ef7826;border-radius:9px;padding:10px 25px;font:900 26px Barlow Condensed;letter-spacing:1px;pointer-events:none;animation:waveNotice 1.8s ease forwards}@keyframes waveNotice{0%{opacity:0;transform:translate(-50%,-16px) scale(.92)}15%,65%{opacity:1;transform:translate(-50%) scale(1)}to{opacity:0;transform:translate(-50%,-10px) scale(.98)}}.placement{pointer-events:none}.placement circle{fill:#65d65a25;stroke:#9cff74;stroke-width:3}.placement rect{fill:#eaf5e8aa;stroke:#54b94a;stroke-width:3}.placement text{text-anchor:middle;dominant-baseline:middle;font-size:32px}.placement.invalid circle{fill:#ee483522;stroke:#ff5b4c}.placement.invalid rect{fill:#ef5b50aa;stroke:#ad2e26}@media(max-width:850px){.wavebar{height:48px;padding:5px 8px;gap:9px}.wavebar>b{font-size:16px}.wavebar .next{gap:5px;overflow:hidden}.wavebar .next i{font-size:10px;padding:4px 5px}.wavebar .next em{display:none}.wavebar>button{height:36px;padding:0 12px;font-size:13px}.wavebar .progress{font-size:10px}.boss-inline{min-width:190px}.boss-inline>b{font-size:10px}.announcement{font-size:21px;top:12%}.tutorial{pointer-events:none}.tutorial>button{pointer-events:auto}}@media(max-width:560px){.wavebar{height:46px}.wavebar>b{display:none}.wavebar .next i:nth-of-type(n+4){display:none}.wavebar>button{margin-left:auto}.boss-inline{min-width:0;flex:1}.boss-inline strong{display:none}.announcement{font-size:18px;padding:8px 16px}}.tutorial{pointer-events:none}.tutorial>button{pointer-events:auto}.tower-sprite,.enemy image,.worker image,.placement image{pointer-events:none}.tower-sprite{filter:drop-shadow(2px 4px 2px #17291d55);transition:filter .15s ease}.tower:hover .tower-sprite{filter:drop-shadow(0 0 3px #ffe46d) drop-shadow(2px 4px 2px #17291d55)}.tower .range{stroke-width:1.5;fill:#f7bd311b}.enemy image{transform-box:fill-box;transform-origin:center;filter:drop-shadow(1px 3px 2px #17251955)}.enemy .hp-bg{fill:#213028;stroke:#f5f4e8;stroke-width:.7}.enemy .hp-fill{transition:width .12s linear}.boss-health-bg{fill:#39251d;stroke:#ef7b27;stroke-width:1.5;height:9px;rx:5px}.boss-health-fill{height:7px;rx:4px;transition:width .12s linear}.enemy.hit image{filter:brightness(1.7) saturate(.55) drop-shadow(0 0 4px #fff5c7);animation:hitShake .13s linear}.enemy.branch image{animation:branchBob .8s ease-in-out infinite}.enemy.log image{animation:logBob 1s ease-in-out infinite}.enemy.rolling image{animation:rollingSpin .62s linear infinite}.enemy.tree image{animation:treeSway 2.2s ease-in-out infinite}.enemy.root image{animation:heavyStep 1.3s ease-in-out infinite}.enemy.widow image{animation:widowShake .55s ease-in-out infinite}.enemy.hollow image{animation:hollowBounce .48s ease-in-out infinite}.enemy.power image{animation:electricPulse 1.7s ease-in-out infinite}.enemy.enemy-boss image{animation:bossSway 2.8s ease-in-out infinite;filter:drop-shadow(2px 6px 3px #14201777)}@keyframes branchBob{50%{transform:translateY(-3px) rotate(2deg)}}@keyframes logBob{50%{transform:translateY(-2px) rotate(4deg)}}@keyframes rollingSpin{to{transform:rotate(360deg)}}@keyframes treeSway{50%{transform:rotate(1.8deg) translateY(-1px)}}@keyframes heavyStep{50%{transform:translateY(-1px) scale(.99)}}@keyframes widowShake{25%{transform:translate(-1px) rotate(-1deg)}75%{transform:translate(1px) rotate(1deg)}}@keyframes hollowBounce{50%{transform:translateY(-3px)}}@keyframes electricPulse{0%,75%,to{filter:drop-shadow(1px 3px 2px #17251955)}82%{filter:drop-shadow(0 0 6px #62c7ff) drop-shadow(0 0 2px #d9f5ff)}}@keyframes bossSway{50%{transform:rotate(1.2deg) translateY(-2px)}}@keyframes hitShake{0%,to{transform:translate(0)}30%{transform:translate(-3px)}70%{transform:translate(3px)}}.worker image{filter:drop-shadow(1px 3px 2px #17251966);transform-box:fill-box;transform-origin:center}.worker image.faces-left{transform:scaleX(-1)}.worker.swing image{animation:playerSaw .2s ease}@keyframes playerSaw{50%{transform:rotate(-5deg) translate(2px)}}.placement image{opacity:.65;filter:drop-shadow(0 0 5px #8eff74)}.placement.invalid image{opacity:.58;filter:drop-shadow(0 0 5px #ff5b4c)}.placement circle{stroke-width:2}.placement rect{display:none}.wavebar .next i{display:flex;align-items:center;gap:4px}.wavebar .next img{width:27px;height:22px;object-fit:contain}.boss-inline>img{width:34px;height:29px;object-fit:contain}.cards i{width:48px;height:48px;display:grid;place-items:center;flex:none}.cards i img{width:100%;height:100%;object-fit:contain}.cards button.dim i img{filter:grayscale(1);opacity:.65}.fleet article>i{height:72px;display:grid;place-items:center}.fleet article>i img{width:100%;height:100%;object-fit:contain}.tutorial>span{width:52px;height:48px}.tutorial>span img{width:100%;height:100%;object-fit:contain}.mobile button strong{font:900 13px Barlow Condensed;letter-spacing:.5px}.hud>img{width:34px;height:34px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 2px #07130c66)}.speeds button{width:42px;height:36px;padding:2px;display:grid;place-items:center;opacity:.58;transition:transform .15s ease,opacity .15s ease,filter .15s ease}.speeds button img{width:100%;height:100%;object-fit:contain}.speeds button.on{background:transparent;opacity:1;transform:scale(1.12);filter:drop-shadow(0 0 5px #f7a340)}.round{padding:3px;transition:transform .15s ease}.round:hover{transform:scale(1.08)}.round>img{width:100%;height:100%;object-fit:contain}.wavebar .send-it{width:clamp(105px,11vw,145px);height:42px;padding:0;background:transparent;border:0;overflow:visible;transition:transform .13s ease;filter:drop-shadow(0 3px 2px #09150e77)}.wavebar .send-it:hover{transform:scale(1.06)}.wavebar .send-it:active{transform:scale(.96)}.wavebar .send-it img{width:100%;height:100%;object-fit:contain}.wavebar .progress>img{width:30px;height:28px;object-fit:contain}.announcement{width:clamp(230px,29vw,350px);height:auto;padding:0;border:0;background:transparent;box-shadow:none;display:grid;place-items:center}.announcement>img{width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 8px 8px #07140daa)}.announcement>span{font:900 18px Barlow Condensed;color:#fff4d7;text-shadow:0 2px 3px #24160d;position:absolute;bottom:-2px}.pause>button{display:flex;align-items:center;gap:8px}.pause>button img{width:34px;height:34px;object-fit:contain}.grid span{position:relative;min-height:54px;padding-left:38px}.grid span>img{position:absolute;left:7px;top:50%;transform:translateY(-50%);width:27px;height:27px;object-fit:contain}.synergy{display:flex;align-items:center;gap:7px}.synergy>img{width:29px;height:29px;object-fit:contain;flex:none}.upgrade span,.sell span{display:flex;align-items:center;gap:6px}.upgrade img,.sell img{width:30px;height:30px;object-fit:contain}.x{width:31px;height:31px;padding:2px}.x img{width:100%;height:100%;object-fit:contain}.cancel{align-items:center}.cancel img{width:30px;height:30px;object-fit:contain}.cards .lock-art{position:absolute;right:4px;top:4px;width:24px;height:24px;object-fit:contain;filter:none}.menu nav .menu-icon{width:38px;height:38px;object-fit:contain;transition:transform .15s ease}.menu nav button:hover .menu-icon{transform:scale(1.08)}.menu nav .play .menu-icon{width:44px;height:44px}.info>.back{align-items:center}.info>.back img{width:34px;height:34px;object-fit:contain}.star-total{display:flex;justify-content:center;align-items:center;gap:8px;color:#84520b}.star-total img{width:36px;height:36px;object-fit:contain}.maplist button>img,.setting>img{width:38px;height:38px;object-fit:contain;flex:none}.setting:hover>img,.maplist button:hover>img{transform:scale(1.06)}.end{width:min(520px,94vw);padding:20px}.end .result-banner{width:clamp(270px,36vw,450px);height:clamp(120px,22vh,220px);object-fit:contain;display:block;margin:-15px auto -10px;filter:drop-shadow(0 9px 9px #06110ba0)}.end>.end-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.end .end-stats p{display:flex;align-items:center;gap:7px;text-align:left;background:#ffffff0d;border-radius:8px;padding:7px;margin:0}.end .end-stats img{width:32px;height:32px;object-fit:contain;flex:none}.end .end-stats span{min-width:0}.end .end-stats b{display:block;font:800 17px Barlow Condensed}.end .end-stats small{font-size:6px;color:#aabbb1;letter-spacing:.5px}.end>.end-actions{display:flex;gap:7px;margin:10px 0 0}.end .end-actions button{flex:1;min-height:48px;border-radius:8px;background:#28503c;display:flex;align-items:center;justify-content:center;gap:6px;padding:5px;font:800 11px Inter;transition:transform .15s ease}.end .end-actions button:first-child{background:#e87525}.end .end-actions button:hover{transform:scale(1.03)}.end .end-actions img{width:37px;height:37px;object-fit:contain}@media(max-width:850px){.hud>img{width:28px;height:28px}.speeds button{width:33px;height:30px}.round>img{width:27px;height:27px}.wavebar .send-it{width:105px;height:38px}.announcement{width:clamp(220px,42vw,300px)}.menu nav .menu-icon{width:32px;height:32px}.end{padding:12px}.end .result-banner{height:110px}.end>.end-stats{margin:5px 0}.end .end-actions button{min-height:44px}.end .end-actions img{width:32px;height:32px}}@media(max-width:560px){.hud>img{width:25px;height:25px}.wavebar .send-it{width:92px}.wavebar .progress>img{width:24px}.announcement{width:230px}.end>.end-stats{grid-template-columns:repeat(2,1fr)}.end>.end-actions{flex-wrap:wrap}.end .end-actions button{min-width:30%}}.special-stats{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.special-stats span{display:flex;align-items:center;gap:5px;background:#e4eadf;color:#405a49;border-radius:6px;padding:5px 7px;font-size:7px;font-weight:900}.special-stats img{width:24px;height:24px;object-fit:contain}.tower-actions{margin-top:8px}.tower-actions .move{width:100%;min-height:44px;border-radius:7px;background:#315c45;display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800}.tower-actions .move img{width:36px;height:36px;object-fit:contain}.tower-actions .move:hover{transform:scale(1.02)}.map-background{pointer-events:none}.game main{background:#102b20}.equipment-stars{display:flex;gap:3px;margin-top:3px}.equipment-stars img{width:22px;height:22px;object-fit:contain}.equipment-stars .filled,.map-stars .filled{filter:drop-shadow(0 1px 2px #7a4a00aa)}.equipment-stars .empty,.map-stars .empty{filter:grayscale(1) brightness(.38);opacity:.28}.map-stars{pointer-events:none}.tower.maxed .tower-sprite{filter:drop-shadow(0 0 3px #ffd34e88) drop-shadow(2px 4px 2px #17291d55)}.tower.upgrading .tower-sprite{animation:equipmentUpgradeFlash .6s ease-out}.upgrade-fx{font-size:18px;font-weight:900;paint-order:stroke;stroke:#3c260d;stroke-width:3px;stroke-linejoin:round}.upgrade{min-height:58px;align-items:center}.upgrade>span>span{display:flex;flex-direction:column;align-items:flex-start;gap:0;line-height:1.05}.upgrade strong{font:900 15px Barlow Condensed;letter-spacing:.4px}.upgrade small{color:#fff7d5;font-size:11px;margin-top:2px}.upgrade em{color:#612709;font-size:8px;font-style:normal;margin-top:3px}.upgrade:disabled em{color:#5e625f}.upgrade>b{font:900 17px Barlow Condensed;white-space:nowrap}@keyframes equipmentUpgradeFlash{0%{filter:brightness(1) drop-shadow(2px 4px 2px #17291d55);transform:scale(1)}35%{filter:brightness(2) saturate(1.2) drop-shadow(0 0 12px #ffd34e);transform:scale(1.09)}to{filter:brightness(1) drop-shadow(2px 4px 2px #17291d55);transform:scale(1)}}.targeting{margin-top:8px}.targeting>small,.max-ability>small{color:#a85a20;font-size:8px;font-weight:900;letter-spacing:1px}.targeting>div{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin-top:4px}.targeting button{min-height:34px;padding:4px 2px;border:1px solid #c8cec5;border-radius:5px;background:#e4e8df;color:#536258;font:900 8px Inter;text-transform:uppercase}.targeting button.active{border-color:#dd671c;background:#ef7826;color:#fff;box-shadow:0 2px #a74310}.max-ability{display:grid;margin-top:8px;padding:7px 9px;border:1px solid #e1b23b;border-radius:7px;background:linear-gradient(120deg,#fff1b9,#f9d870);color:#49320c}.max-ability b{font:900 14px Barlow Condensed}.max-ability span{font-size:8px}.tower.selected .tower-sprite{filter:drop-shadow(0 0 5px #ffe16d) drop-shadow(2px 4px 2px #17291d55)}.tower-foreman.maxed:after{content:""}.worker.crew-chief image{filter:drop-shadow(0 0 7px #ffe26d) drop-shadow(1px 3px 2px #17251955)}.worker.crew-chief:after{content:"CREW CHIEF"}.cut-line{stroke:#fff1a8;stroke-width:3;stroke-linecap:round;pointer-events:none}.grapple-line{stroke:#d8e7e8;stroke-width:4;stroke-dasharray:8 4;pointer-events:none}.enemy-root .hp-bg,.enemy-power .hp-bg{stroke:#b7c5cf;stroke-width:2}.enemy-root .hp-fill,.enemy-power .hp-fill{filter:drop-shadow(0 0 2px #cbd8e0)}.wavebar .next i{position:relative}.wavebar .next i small{color:#f0a45b;font-size:7px;letter-spacing:.5px}.wave-danger{color:#ffb14b;font:900 11px Barlow Condensed;letter-spacing:1px;white-space:nowrap}.map-result{display:grid!important;gap:2px!important;margin:3px 0 8px!important}.map-result small{color:#f3a14e;font-weight:900;letter-spacing:1.3px}.map-result b{font-size:27px;letter-spacing:2px}.map-result strong{color:#ffd34e;font:900 14px Barlow Condensed}@media(max-width:850px){.targeting button{min-height:44px}.wavebar .next i span{font-size:8px}}.game main>svg{display:block;width:100%;height:100%;object-fit:contain;object-position:center;shape-rendering:geometricPrecision}@media(max-width:850px){.mobile{display:flex;position:absolute;left:clamp(12px,2.5vw,24px);right:clamp(12px,2.5vw,24px);bottom:clamp(10px,2vh,20px);align-items:flex-end;justify-content:space-between;pointer-events:none;z-index:8}.mobile .joystick{pointer-events:auto;touch-action:none;width:clamp(78px,12vw,96px);height:clamp(78px,12vw,96px);border:2px solid #f6f2dc66;border-radius:50%;background:#102a1d70;box-shadow:inset 0 0 16px #07150d70;display:grid;place-items:center;opacity:.72}.mobile .joystick:active{opacity:.95}.mobile .joystick span{width:42%;height:42%;border-radius:50%;background:#e9ddbdcc;border:2px solid #ffffffaa;box-shadow:0 3px 8px #07130c88;transition:transform .04s linear}.mobile .cooldown-fill{position:absolute;z-index:2;left:5%;right:5%;bottom:4%;background:#0a1915a3;pointer-events:none;border-radius:0 0 12px 12px;transition:height .04s linear}@keyframes sawReady{0%{transform:scale(.94);filter:brightness(.85) drop-shadow(0 0 0 #ffc76700)}55%{transform:scale(1.06);filter:brightness(1.15) drop-shadow(0 0 10px #ffc767)}to{transform:scale(1);filter:brightness(1) drop-shadow(0 5px 4px #08160e88)}}}@media(max-width:560px){.mobile .joystick{width:78px;height:78px}}.wavebar .send-it{width:clamp(175px,19vw,245px);height:50px;flex:none}.wavebar .send-it img{transform:scale(1.12)}@media(max-width:850px){.wavebar .send-it{width:clamp(135px,22vw,180px);height:44px}.wavebar .send-it img{transform:scale(1.08)}}@media(max-width:560px){.wavebar .send-it{width:128px;height:42px}}.speed-cycle{display:none}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px){html,body,#root,.game{width:100%;height:100svh;height:100dvh;min-height:0;overflow:hidden}.game{position:relative;display:flex;flex-direction:column;padding:0}.game>header{position:relative;z-index:30;flex:0 0 46px;height:46px;min-height:46px;padding:max(2px,env(safe-area-inset-top)) max(7px,env(safe-area-inset-right)) 2px max(7px,env(safe-area-inset-left));gap:clamp(7px,1.5vw,13px);border-bottom-width:2px}.game>header .logo,.game>header .game-title,.game>header .place,.game>header .speeds,.game>header .round:last-child{display:none}.game>header .hud{display:flex;min-width:0;gap:4px;flex:none}.game>header .hud>img{width:27px;height:27px}.game>header .hud small{display:none}.game>header .hud b{font-size:16px;white-space:nowrap}.game>header .speed-cycle{display:grid;place-items:center;width:38px;height:36px;margin-left:auto;padding:3px;border-radius:7px;background:#ee7826}.game>header .speed-cycle img,.game>header .round img{width:28px;height:28px;object-fit:contain}.game>header .round{display:grid;place-items:center;width:38px;height:36px;padding:3px}.game>.wavebar{position:absolute;z-index:24;top:50px;left:max(6px,env(safe-area-inset-left));right:max(6px,env(safe-area-inset-right));width:auto;height:44px;padding:0;display:flex;gap:0;border:0;background:transparent;box-shadow:none;pointer-events:none}.game>.wavebar>b{display:flex;align-items:center;height:40px;padding:0 8px;border-radius:8px 0 0 8px;background:#0d281edb;font-size:15px;pointer-events:none}.game>.wavebar>b small{margin-left:3px;font-size:10px}.game>.wavebar .next{flex:0 1 135px;width:135px;height:40px;min-width:0;padding:2px 6px 2px 2px;gap:3px;overflow:hidden;border-radius:0 8px 8px 0;background:#0d281edb;pointer-events:none}.game>.wavebar .next em,.game>.wavebar .next i:nth-of-type(n+2),.game>.wavebar .next .wave-danger,.game>.wavebar .next .auto-countdown,.game>.wavebar .next i small{display:none}.game>.wavebar .next i{min-width:0;min-height:36px;padding:1px 3px;gap:3px;border:0;background:transparent}.game>.wavebar .next img{width:26px;height:26px}.game>.wavebar .next i span{overflow:hidden;font-size:9px;text-overflow:ellipsis}.game>.wavebar .send-it{width:clamp(96px,14vw,116px);height:42px;margin-left:auto;padding:0;pointer-events:auto}.game>.wavebar .progress{height:38px;padding:0 9px;border-radius:8px;background:#0d281edb;pointer-events:none}.game>.wavebar .boss-inline{position:absolute;top:43px;left:50%;width:min(360px,54vw);min-width:0;transform:translate(-50%);padding:4px 8px;border-radius:7px;background:#241a15db;pointer-events:none}.game>main{position:relative;flex:1 1 auto;width:auto;height:auto!important;min-height:0;margin-left:env(safe-area-inset-left);margin-right:env(safe-area-inset-right);overflow:hidden;background:#102b20}.game>main>svg{position:static;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;aspect-ratio:3 / 2;transform:none;overflow:hidden;touch-action:none}.game>footer{position:relative;z-index:28;flex:0 0 76px;width:100%;height:76px;min-height:76px;padding:4px max(5px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));gap:4px}.game>footer .dispatch,.game>footer .keys{display:none}.game>footer .cards{height:68px;gap:5px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.game>footer .cards::-webkit-scrollbar{display:none}.game>footer .cards button{flex:0 0 clamp(82px,11.5vw,94px);min-width:82px;width:auto;height:66px;min-height:66px;padding:2px 4px;gap:0;flex-direction:column;justify-content:center;text-align:center}.game>footer .cards i{width:45px;height:43px}.game>footer .cards i img{width:100%;height:100%;object-fit:contain}.game>footer .cards button>span b{display:none}.game>footer .cards small{font-size:14px;line-height:15px}.game>footer .cards .lock-art{top:3px;right:3px;width:17px;height:17px}.game>footer .cancel{height:64px;padding:5px;font-size:10px}.game main .mobile{display:flex;position:absolute;z-index:18;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:7px;align-items:flex-end;justify-content:space-between;pointer-events:none}.game main .mobile .joystick{width:clamp(70px,10vw,80px);height:clamp(70px,10vw,80px);opacity:.7;pointer-events:auto}.game main .mobile .joystick:active{opacity:1}.game.is-placing main .mobile,.game.is-placing>header,.game.is-placing>.wavebar{opacity:.36}.game.is-placing main .mobile{pointer-events:none}.game .tutorial{bottom:80px}}@media(pointer:coarse)and (orientation:landscape)and (max-height:380px){.game>header{flex-basis:42px;height:42px;min-height:42px}.game>.wavebar{top:45px}.game>footer{flex-basis:72px;height:72px;min-height:72px}.game>footer .cards,.game>footer .cards button{height:64px;min-height:64px}.game>footer .cards i{height:39px}}.game,.menu{width:100%;height:100svh;height:100dvh;min-height:100svh;overflow:hidden}.menu{padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)}.install-hint{position:fixed;z-index:20;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));width:min(290px,calc(100vw - 20px));padding:11px 12px;display:grid;gap:3px;border:1px solid #ffffff2b;border-left:4px solid #f37322;border-radius:9px;background:#0b2b21ed;box-shadow:0 8px 28px #06130daa;color:#f8fbf7;text-align:left}.install-hint b{color:#ff9a45;font:900 15px Barlow Condensed;letter-spacing:.8px}.install-hint span{font-size:10px;line-height:1.35}.install-hint small{color:#c7d7cd;font-size:10px;font-weight:800}.install-hint button{justify-self:end;min-width:70px;padding:5px 8px;border-radius:5px;background:#315846;font-size:9px;font-weight:800}@media(display-mode:standalone){.game,.menu{height:100dvh;min-height:100dvh}.install-hint{display:none}}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px){.install-hint{right:max(8px,env(safe-area-inset-right));bottom:max(6px,env(safe-area-inset-bottom));width:min(250px,31vw);padding:7px 9px}.install-hint span,.install-hint small{font-size:8px}}.pause,.end{z-index:100}@media(pointer:coarse)and (orientation:landscape)and (max-width:950px){.game main .mobile{display:flex;position:absolute;z-index:50;left:calc(12px + env(safe-area-inset-left));right:calc(12px + env(safe-area-inset-right));bottom:calc(82px + env(safe-area-inset-bottom));align-items:flex-end;justify-content:space-between;pointer-events:none}.pause{width:min(560px,88vw);max-height:calc(100dvh - 16px);grid-template-columns:repeat(3,1fr);gap:6px 10px;padding:9px 12px}.pause .pause-volume{grid-column:span 3}}@media(min-width:851px){.game main .mobile{display:block;position:absolute;right:18px;bottom:18px;z-index:50;pointer-events:none}.game main .mobile .joystick{display:none}.game main .mobile .cooldown-fill{position:absolute;z-index:2;left:5%;right:5%;bottom:4%;border-radius:0 0 12px 12px;background:#0a1915a3;pointer-events:none}}@media(pointer:coarse)and (orientation:landscape)and (max-height:500px){.game main .mobile{display:flex}.game main .mobile .joystick{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;opacity:.45;cursor:grab}.game main .mobile .joystick:active{opacity:.85;cursor:grabbing}.game.is-placing main .mobile{opacity:1;pointer-events:none}.game.is-placing main .mobile .joystick{opacity:.3;pointer-events:auto}.game>header{z-index:50}.game>header .speed-cycle,.game>header .round{width:clamp(48px,6vw,54px);height:40px}.game>.wavebar{z-index:30;right:0;width:min(248px,calc(100vw - 132px - env(safe-area-inset-left) - env(safe-area-inset-right)));height:54px}.game>.wavebar>b,.game>.wavebar .next{height:50px}.game>.wavebar .next{flex-basis:142px;width:142px}.game>.wavebar .send-it{position:fixed;z-index:45;top:52px;right:calc(12px + env(safe-area-inset-right));width:clamp(90px,11vw,105px);height:48px;margin:0;padding:0;overflow:visible;pointer-events:auto}.game>.wavebar .send-it img{display:block;width:100%;height:100%;object-fit:contain;transform:none}.game>main{z-index:1}.game>main>svg{z-index:1}.game>main .worker>image{transform-box:fill-box;transform-origin:center;transform:scale(1.75)}.game>footer{z-index:28;flex-basis:72px;height:72px;min-height:72px;padding-top:2px;padding-bottom:max(2px,env(safe-area-inset-bottom))}.game>footer .cards{height:68px}.game>footer .cards button{flex:0 0 92px;width:92px;min-width:92px;height:68px;min-height:68px;max-height:68px}.game>footer .cards i{width:42px;height:40px}.game>footer .cards small{font-size:15px;line-height:16px}.game main .mobile{position:fixed;z-index:40;left:calc(10px + env(safe-area-inset-left));right:calc(10px + env(safe-area-inset-right));bottom:calc(78px + env(safe-area-inset-bottom))}.game main .mobile .joystick{width:clamp(76px,9vw,86px);height:clamp(76px,9vw,86px)}.game main .mobile .joystick span{width:44%;height:44%}.game .pause,.game .end{z-index:100}}@media(orientation:landscape)and (max-width:1000px){.game main .mobile{display:flex;position:fixed;z-index:70;left:calc(12px + env(safe-area-inset-left));right:calc(10px + env(safe-area-inset-right));bottom:calc(82px + env(safe-area-inset-bottom));align-items:flex-end;justify-content:space-between;pointer-events:none}.game main .mobile .mobile-joystick{display:grid;place-items:center;width:90px;height:90px;border:2px solid rgb(246 242 220 / 45%);border-radius:50%;background:#102a1d6b;box-shadow:inset 0 0 16px #07150d70;opacity:.45;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.game main .mobile .mobile-joystick:active{opacity:.85}.game main .mobile .mobile-joystick span{width:40px;height:40px;border:2px solid rgb(255 255 255 / 60%);border-radius:50%;background:#f37322c7}}.mobile-pause-button{display:none}@media(orientation:landscape)and (max-width:1000px),(pointer:coarse)and (orientation:landscape){.game>.mobile-pause-button{position:fixed;top:calc(8px + env(safe-area-inset-top));left:calc(10px + env(safe-area-inset-left));z-index:90;display:flex;align-items:center;justify-content:center;width:50px;height:50px;padding:2px;border-radius:8px;background:transparent;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:transform 80ms ease,filter 80ms ease}.game>.mobile-pause-button img{display:block;width:100%;height:100%;object-fit:contain}.game>.mobile-pause-button:active{transform:scale(.92);filter:brightness(.82)}.game>.wavebar{left:calc(70px + env(safe-area-inset-left))}}.maplist button{min-width:0;align-items:center;border:2px solid transparent}.maplist button.selected-map{border-color:#ed7622;box-shadow:0 0 0 2px #ed762233}.maplist button:disabled{opacity:.68;cursor:not-allowed}.maplist button>img.map-rating{width:76px;height:46px;object-fit:contain;flex:none}.maplist button>img.map-state-icon{width:34px;height:34px;object-fit:contain;flex:none}.entrance-preview{display:flex;gap:5px;align-items:center}.wavebar .next .entrance-preview i{min-width:48px;padding:2px 5px;gap:3px}.wavebar .next .entrance-preview img{width:25px;height:29px;object-fit:contain}.wavebar .next .entrance-preview .mechanic-preview img{width:29px;height:29px}.wavebar .next .entrance-preview .boss-preview{border-color:#d85d26;background:#fff1d9}.mechanic-status{display:flex;align-items:center;gap:4px;padding:3px 7px;border-radius:7px;background:#eef2e8;color:#294436;white-space:nowrap}.mechanic-status img{width:28px;height:28px;object-fit:contain}.mechanic-status small{font-size:8px;font-weight:900}.map-event-alert{position:absolute;inset:70px 0 82px;z-index:45;display:grid;place-items:center;pointer-events:none;animation:mapAlert 1.8s ease both}.map-event-alert img{width:min(620px,58vw);max-height:58vh;object-fit:contain;filter:drop-shadow(0 14px 24px #10251aaa)}.map-event-alert.three-front{animation-duration:2.1s}.map-event-alert.three-front img{animation:threeFrontScale 2.1s ease both}.game:has(.map-event-alert.three-front) main{animation:frontShake .35s ease 2}@keyframes mapAlert{0%{opacity:0;transform:scale(.86)}14%,72%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.03)}}@keyframes threeFrontScale{0%{transform:scale(.7) rotate(-1deg)}18%{transform:scale(1.05) rotate(1deg)}30%,78%{transform:scale(1)}to{transform:scale(1.04)}}@keyframes frontShake{0%,to{transform:translate(0)}25%{transform:translate(-3px,1px)}50%{transform:translate(3px,-1px)}75%{transform:translate(-2px,-1px)}}.whiteout-overlay{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle at 20% 30%,#ffffff7a,transparent 32%),radial-gradient(circle at 75% 65%,#dcecff66,transparent 38%),linear-gradient(110deg,#edf6ff47,#ffffff70,#d9e7f044);-webkit-backdrop-filter:blur(.7px) saturate(.86);backdrop-filter:blur(.7px) saturate(.86);animation:whiteoutDrift 4s ease-in-out infinite alternate}@keyframes whiteoutDrift{0%{opacity:.5}to{opacity:.72}}@media(max-width:700px){.maplist button>img.map-rating{width:64px;height:39px}.map-event-alert img{width:78vw}.mechanic-status small{display:none}.entrance-preview{max-width:150px;overflow:hidden}}.map-intro-card{position:absolute;left:50%;top:50%;z-index:46;display:flex;align-items:center;gap:14px;width:min(430px,76vw);padding:16px 20px;border:3px solid #ed7622;border-radius:18px;background:#eef1dfef;color:#294436;box-shadow:0 14px 34px #10251a99;transform:translate(-50%,-50%);pointer-events:none;animation:mapIntro 2.8s ease both}.map-intro-card>img{width:92px;height:70px;border-radius:10px;object-fit:cover}.map-intro-card span{display:grid;gap:2px}.map-intro-card small{color:#a94425;font:900 11px Barlow Condensed;letter-spacing:1.3px}.map-intro-card b{font:900 24px Barlow Condensed;letter-spacing:.7px}.map-intro-card p{margin:0;font:800 13px Barlow Condensed}@keyframes mapIntro{0%,to{opacity:0;transform:translate(-50%,-46%) scale(.94)}12%,82%{opacity:1;transform:translate(-50%,-50%) scale(1)}}.active-entrances{display:flex;gap:4px;margin-left:auto;padding:3px 6px;border-radius:8px;background:#e8ede3}.active-entrances i{display:flex;align-items:center;gap:2px;opacity:.35;filter:grayscale(1)}.active-entrances i.active{opacity:1;filter:none}.active-entrances img{width:22px;height:22px;object-fit:contain}.active-entrances b{color:#294436;font:900 10px Barlow Condensed}.lakeside-entrance-markers{pointer-events:none}.lakeside-entrance-markers>g{opacity:.58;transition:opacity .15s,filter .15s;filter:grayscale(.7)}.lakeside-entrance-markers>g.active{opacity:1;filter:none}.lakeside-entrance-markers rect{fill:#173a2aed;stroke:#fff9;stroke-width:2}.lakeside-entrance-markers text{fill:#fff;font:900 13px Barlow Condensed;letter-spacing:.4px}.wavebar .next .entrance-wave{display:flex;align-items:center;min-width:94px}.wavebar .next .entrance-wave>span{display:grid;line-height:1}.wavebar .next .entrance-wave>span b{color:#fff;font-size:8px;white-space:nowrap}.wavebar .next .entrance-wave>span small{display:block;white-space:nowrap}.dev-paths,.dev-placement-zones{pointer-events:none}.dev-paths polyline{fill:none;stroke:#00efff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;opacity:.95}.dev-paths circle{fill:#00efff;stroke:#152c22;stroke-width:3}.dev-paths text{fill:#fff;stroke:#152c22;stroke-width:4;paint-order:stroke;font:700 20px/1 sans-serif}.enemy-center-dot{fill:#ff244f;stroke:#fff;stroke-width:2;pointer-events:none}.dev-paths .debug-path-1 polyline{stroke:#ff4169}.dev-paths .debug-path-1 circle{fill:#ff4169}.dev-paths .lakeside-shared-path{stroke:#8cff38;stroke-width:4;stroke-dasharray:13 9}.dev-paths .lakeside-merge-point{fill:#8cff38;stroke:#fff;stroke-width:4}.dev-paths .storm-shared-path{stroke:#8cff38;stroke-width:4;stroke-dasharray:13 9}.dev-paths .storm-merge-point{fill:#8cff38;stroke:#fff;stroke-width:4}.dev-paths .debug-path-2 polyline{stroke:#ff68dc}.dev-paths .debug-path-2 circle{fill:#ff68dc}.dev-placement-zones rect{fill:#e62c3d66;stroke:#ff1e31;stroke-width:3}.map-result>img{width:min(210px,42vw);height:66px;object-fit:contain;justify-self:center}.map-result>span{color:#f5e4ba;font:900 11px Barlow Condensed;letter-spacing:1.2px}.map-result h2{margin:0;font:900 25px Barlow Condensed;letter-spacing:2px}.jobsite-unlocked{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:5px;padding:6px 10px;border-radius:10px;background:#f5d36a22}.jobsite-unlocked>img{width:30px;height:30px;object-fit:contain}.jobsite-unlocked span{display:grid}.jobsite-unlocked b{color:#ffd34e;font-size:12px}.jobsite-unlocked small{color:#fff;font-size:10px}@media(max-width:700px){.map-intro-card{width:min(420px,72vw);padding:10px 13px}.map-intro-card>img{width:68px;height:54px}.map-intro-card b{font-size:18px}.map-intro-card p{font-size:11px}.active-entrances{position:absolute;right:5px;bottom:-35px}.wavebar .next .entrance-wave{min-width:72px}.wavebar .next .entrance-wave>span small{font-size:6px}}.field-guide-info{width:min(1080px,94vw);max-height:82vh;padding:18px 22px 24px}.field-guide{display:grid;gap:14px}.field-guide>h2{margin:-4px 0 0}.guide-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:min(440px,100%);margin:0 auto;padding:5px;border-radius:14px;background:#d9e2d6}.guide-tabs button{min-height:46px;border-radius:10px;color:#294436;font:900 15px Barlow Condensed;letter-spacing:.8px}.guide-tabs button.active{background:#ed7622;color:#fff;box-shadow:0 3px #ad4513}.guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.guide-card{min-width:0;min-height:210px;padding:12px;border:2px solid transparent;border-radius:16px;background:#e2e9dd;color:#203c2d;display:flex;flex-direction:column;align-items:flex-start;text-align:left;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.guide-card:hover{transform:translateY(-2px);border-color:#ed7622;box-shadow:0 7px 15px #19372822}.guide-card:active{transform:scale(.97)}.guide-card>img{width:100%;height:104px;margin-bottom:6px;object-fit:contain;filter:drop-shadow(0 5px 4px #19372833)}.guide-card>b{margin-top:5px;font:900 17px Barlow Condensed;text-transform:uppercase}.guide-card>small{color:#5e7165;font-size:9px;line-height:1.35}.guide-tag{display:inline-flex;width:fit-content;padding:3px 7px;border-radius:999px;background:#ed7622;color:#fff;font:900 9px Barlow Condensed;letter-spacing:.7px}.guide-detail{display:grid;gap:12px}.guide-detail-back{min-height:44px;width:fit-content;padding:7px 13px;border-radius:10px;background:#dce5d9;color:#294436;font:900 12px Barlow Condensed}.guide-hero{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(260px,1.2fr);align-items:center;gap:24px;min-height:190px;padding:18px 24px;border-radius:18px;background:linear-gradient(135deg,#d9e5d6,#f3ecd8);border-left:7px solid #ed7622}.guide-hero>img{width:100%;height:170px;object-fit:contain;filter:drop-shadow(0 10px 8px #17342644)}.guide-hero>span{display:grid;justify-items:start;gap:4px}.guide-hero h2{margin:0;text-align:left;font-size:clamp(29px,4vw,46px);line-height:.95;text-transform:uppercase}.guide-hero em{padding:4px 8px;border-radius:999px;background:#294436;color:#fff;font:900 10px Barlow Condensed;text-transform:uppercase}.guide-hero p{margin:3px 0 0;color:#53685b;font-size:12px}.guide-hero>span>b{color:#d65f18;font-size:20px}.guide-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.guide-stat-grid>span{display:grid;padding:10px 12px;border-radius:11px;background:#294436;color:#fff}.guide-stat-grid small{color:#afc6b8;font:900 8px Barlow Condensed;letter-spacing:.8px}.guide-stat-grid b{font:900 20px Barlow Condensed}.guide-panel{padding:13px 16px;border-radius:13px;background:#e3e9de}.guide-panel h3,.guide-advice h3,.guide-notes h3{margin:0 0 5px;color:#bc5317;font:900 13px Barlow Condensed;letter-spacing:1px}.guide-panel p{margin:3px 0;font-size:11px}.guide-stars{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.guide-stars article{display:grid;align-content:start;gap:4px;padding:13px;border-radius:14px;background:#e6ecdf}.guide-stars article:last-child{background:#f7e4c4;border:2px solid #ed7622}.guide-stars h3{margin:0;color:#294436;font:900 14px Barlow Condensed}.guide-stars article>b{font:900 13px Barlow Condensed;color:#bd5519}.guide-stars article>small{color:#69796f;font-size:8px}.guide-stars dl{display:grid;gap:2px;margin:4px 0}.guide-stars dl div{display:flex;justify-content:space-between;border-bottom:1px solid #bdcbbb;font-size:9px}.guide-stars dt{color:#66786d}.guide-stars dd{margin:0;font-weight:900}.guide-stars p{display:grid;gap:2px;margin:5px 0 0;font-size:9px}.guide-stars p strong{color:#b94f17}.guide-advice,.guide-notes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.guide-advice>section,.guide-notes>section{padding:13px;border-radius:13px;background:#e2e9dd}.guide-advice p,.guide-notes p{margin:3px 0;color:#506559;font-size:10px}.guide-notes{grid-template-columns:1fr 1fr}.guide-notes dl{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0}.guide-notes dl div{padding:7px;border-radius:8px;background:#f2f2e8}.guide-notes dt{color:#bd5519;font:900 10px Barlow Condensed}.guide-notes dd{margin:2px 0 0;color:#5c6d63;font-size:8px}.guide-counters{display:flex;flex-wrap:wrap;gap:6px}.guide-counters i{display:grid;justify-items:center;width:74px;padding:5px;border-radius:9px;background:#f2f2e8;font-style:normal}.guide-counters img{width:58px;height:43px;object-fit:contain}.guide-counters small{font:800 8px Barlow Condensed;text-align:center}.hazard-label{display:flex;align-items:center;gap:5px;color:#9a3f14;font-weight:900}.hazard-label img{width:28px;height:28px;object-fit:contain}.first-seen b{font:900 16px Barlow Condensed}@media(max-width:850px){.field-guide-info{width:min(900px,94vw);max-height:78vh}.guide-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guide-card{min-height:185px}.guide-card>img{height:82px}}@media(max-width:620px){.field-guide-info{width:92vw;max-height:76vh;padding:14px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-card{min-height:180px;padding:9px}.guide-card>img{height:82px}.guide-hero{grid-template-columns:110px 1fr;min-height:145px;gap:12px;padding:12px}.guide-hero>img{height:120px}.guide-hero h2{font-size:25px}.guide-stat-grid{grid-template-columns:repeat(2,1fr)}.guide-stars,.guide-advice,.guide-notes{grid-template-columns:1fr}}@media(max-width:390px){.guide-grid{grid-template-columns:1fr}.guide-card{min-height:150px}.guide-card>img{height:70px}.guide-hero{grid-template-columns:86px 1fr}.guide-hero>img{height:95px}}.achievements-info{width:min(980px,94vw);max-height:82vh;padding:18px 22px 24px}.progress-guide{display:grid;gap:13px}.progress-guide>h2{margin:-4px 0 0}.progress-summary{display:flex;justify-content:center;gap:8px}.progress-summary>span{min-width:120px;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:0 7px;padding:8px 13px;border-radius:12px;background:#294436;color:#fff}.progress-summary img{grid-row:1 / 3;width:38px;height:38px;object-fit:contain}.progress-summary b{font:900 22px Barlow Condensed}.progress-summary small{color:#b9cdbf;font:900 8px Barlow Condensed}.achievement-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.achievement-card{display:grid;grid-template-columns:52px 1fr;gap:9px;min-width:0;padding:11px;border:2px solid transparent;border-radius:14px;background:#e2e9dd}.achievement-card.complete{border-color:#e77a2b;background:#f3ead4}.achievement-card>i{width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:#ccd8c9}.achievement-card>i img{width:42px;height:42px;object-fit:contain}.achievement-card>span{min-width:0;display:grid;grid-template-columns:1fr auto;align-content:start;gap:2px 7px}.achievement-card em{color:#bd5519;font:900 8px Barlow Condensed;letter-spacing:.8px}.achievement-card b{grid-column:1 / 3;font:900 15px Barlow Condensed}.achievement-card small{grid-column:1 / 3;min-height:22px;color:#63756a;font-size:9px}.achievement-progress{grid-column:1 / 3;height:7px;overflow:hidden;border-radius:999px;background:#c4d0c2}.achievement-progress span{display:block;height:100%;border-radius:inherit;background:#ed7622}.achievement-card strong{color:#315943;font:900 9px Barlow Condensed}.achievement-card time{color:#758278;font-size:8px}.challenge-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;padding:11px 14px;border-radius:13px;background:#294436;color:#fff}.challenge-summary b{font:900 18px Barlow Condensed}.challenge-summary span{color:#f4a35e;font-weight:900}.challenge-summary small{color:#c5d6ca;font-size:8px}.challenge-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.challenge-list article{position:relative;display:grid;min-height:150px;padding:12px;border:2px solid transparent;border-radius:14px;background:#e2e9dd}.challenge-list article.active{border-color:#ed7622;box-shadow:0 0 0 2px #ed762233}.challenge-list article.complete{background:#f2ead5}.challenge-list article>span{display:grid;align-content:start;justify-items:start;gap:3px}.challenge-list article b{font:900 15px Barlow Condensed}.challenge-list article small{color:#bd5519;font-size:8px;font-weight:900}.challenge-list article p{margin:4px 0;color:#5d7164;font-size:9px}.challenge-list article button{align-self:end;min-height:44px;margin-top:7px;border-radius:9px;background:#294436;color:#fff;font:900 11px Barlow Condensed}.challenge-list article.active button{background:#ed7622}.challenge-list article>strong{position:absolute;right:9px;top:9px;color:#3c724d;font:900 8px Barlow Condensed}.difficulty{padding:3px 6px;border-radius:999px;background:#73916f;color:#fff;font:900 8px Barlow Condensed}.difficulty.hard{background:#c76720}.difficulty.expert{background:#9c3122}.challenge-ready{position:sticky;bottom:0;margin:0;padding:9px 12px;border-radius:10px;background:#ed7622;color:#fff;text-align:center;font:900 11px Barlow Condensed}.achievement-toast{position:absolute;z-index:80;top:82px;right:16px;width:min(270px,60vw);display:grid;padding:11px 15px;border:2px solid #ffad4e;border-radius:13px;background:#17382bef;color:#fff;box-shadow:0 8px 20px #07150d88;pointer-events:none;animation:achievementToast 2.6s ease both}.achievement-toast small{color:#ffad4e;font:900 9px Barlow Condensed;letter-spacing:1px}.achievement-toast b{font:900 18px Barlow Condensed}@keyframes achievementToast{0%,to{opacity:0;transform:translate(20px)}10%,85%{opacity:1;transform:translate(0)}}.active-challenge{position:absolute;z-index:12;left:50%;top:66px;display:flex;align-items:center;gap:6px;padding:5px 9px;border-radius:8px;background:#294436e8;color:#fff;transform:translate(-50%);pointer-events:none}.active-challenge small{color:#f4a35e;font:900 8px Barlow Condensed}.active-challenge b{font:900 11px Barlow Condensed}.active-challenge em{padding:2px 5px;border-radius:4px;background:#a93225;font:900 8px Barlow Condensed}.result-progress{display:grid;justify-items:center;gap:2px;margin:4px auto;padding:7px 12px;border-radius:9px;background:#203b2f;color:#fff}.result-progress small{color:#f4a35e;font:900 8px Barlow Condensed;letter-spacing:1px}.result-progress b{font:900 13px Barlow Condensed}.challenge-result.complete{border:1px solid #73b36f}.challenge-result.failed{border:1px solid #bd4d3d}.reset-progress{border:1px solid #bd4d3d!important}@media(max-width:760px){.achievements-info{width:94vw;max-height:78vh;padding:14px}.challenge-list{grid-template-columns:1fr 1fr}.achievement-toast{top:58px;right:8px}.active-challenge{top:auto;bottom:74px}}@media(max-width:520px){.achievement-list,.challenge-list{grid-template-columns:1fr}.achievement-card{grid-template-columns:44px 1fr}.achievement-card>i{width:42px;height:42px}.achievement-card>i img{width:35px;height:35px}.challenge-list article{min-height:135px}}.menu nav .settings-menu-button{grid-column:1 / 3}@media(max-width:850px){.menu nav .play,.menu nav .settings-menu-button{grid-column:1 / -1;width:100%}}.results-screen{position:fixed;inset:0;z-index:1000;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;color:#fff;background:radial-gradient(circle at 50% 0%,#28533b 0%,transparent 48%),linear-gradient(160deg,#173b2b,#091d15 72%);padding:calc(18px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left))}.results-screen .end{position:relative;inset:auto;transform:none;width:min(100%,540px);max-height:none;margin:0 auto;padding:0 0 8px;display:grid;gap:14px;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:center}.results-screen .result-banner{width:min(390px,88vw);height:auto;max-height:190px;margin:0 auto -8px;object-fit:contain;filter:drop-shadow(0 9px 9px #06110ba0)}.results-screen .map-result{display:grid!important;justify-items:center;gap:6px!important;margin:0!important}.results-screen .result-map-name{color:#f3a14e;font:900 16px Barlow Condensed;letter-spacing:1.8px}.results-screen .map-result h2{margin:0;font:900 clamp(30px,8vw,42px) "Barlow Condensed";letter-spacing:2.4px}.results-screen .star-result{display:grid;justify-items:center;gap:5px;width:100%}.results-screen .star-result>span{color:#f5e4ba;font:900 13px Barlow Condensed;letter-spacing:1.4px}.results-screen .star-result>img{width:min(270px,70vw);max-width:100%;height:auto;object-fit:contain}.results-screen .star-result>strong{color:#ffd34e;font:900 19px Barlow Condensed;letter-spacing:1.2px}.results-screen .end>.end-stats{display:grid;grid-template-columns:1fr;gap:8px;margin:0;padding:12px;border:1px solid #ffffff1f;border-radius:14px;background:#10291fdb}.results-screen .end-stats p{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px;min-height:58px;margin:0;padding:7px 12px;text-align:left;border-radius:10px;background:#ffffff0b}.results-screen .end-stats img{width:38px;height:38px;object-fit:contain}.results-screen .end-stats span{display:flex;align-items:center;justify-content:space-between;gap:12px}.results-screen .end-stats small{color:#c4d3c9;font:900 11px Barlow Condensed;letter-spacing:.8px}.results-screen .end-stats b{color:#fff;font:900 24px Barlow Condensed;white-space:nowrap}.results-screen .result-progress,.results-screen .jobsite-unlocked{width:100%;margin:0;padding:14px 16px;border:1px solid #ffffff1f;border-radius:14px;background:#203b2f}.results-screen .result-progress{display:grid;justify-items:start;gap:7px;text-align:left}.results-screen .result-progress small{color:#f4a35e;font:900 11px Barlow Condensed;letter-spacing:1.2px}.results-screen .result-progress b{font:800 15px Barlow Condensed}.results-screen .jobsite-unlocked{display:flex;justify-content:center;gap:10px}.results-screen .jobsite-unlocked b{color:#ffd34e;font-size:14px}.results-screen .jobsite-unlocked small{color:#fff;font-size:13px;text-transform:uppercase}.results-screen .end>.end-actions{display:grid;grid-template-columns:1fr;gap:9px;margin:0}.results-screen .end-actions button{width:100%;min-height:54px;padding:8px 14px;border:1px solid #ffffff24;border-radius:10px;background:linear-gradient(#35694f,#244b39);color:#fff;font:900 15px Barlow Condensed;letter-spacing:.5px}.results-screen .end-actions button:first-child{background:linear-gradient(#35694f,#244b39)}.results-screen .end-actions button.primary{background:linear-gradient(#ff8a2f,#df5e14);border-color:#ffb06d;box-shadow:0 4px #8e350b}.results-screen .end-actions img{width:34px;height:34px}@media(min-width:700px){.results-screen .end{width:min(100%,760px)}.results-screen .end>.end-stats{grid-template-columns:repeat(3,1fr)}.results-screen .end-stats p{grid-template-columns:38px 1fr}.results-screen .end-stats span{display:grid;justify-content:start;gap:2px}.results-screen .end-actions{grid-template-columns:repeat(2,1fr)}}@media(pointer:coarse)and (orientation:landscape)and (max-height:600px){.results-screen{padding-top:calc(10px + env(safe-area-inset-top))}.results-screen .end{width:min(100%,900px);grid-template-columns:minmax(240px,.9fr) minmax(300px,1.1fr);align-items:start;gap:10px 18px}.results-screen .result-banner,.results-screen .map-result{grid-column:1}.results-screen .result-banner{max-height:125px}.results-screen .end>.end-stats,.results-screen .result-progress,.results-screen .jobsite-unlocked,.results-screen .end>.end-actions{grid-column:2}.results-screen .end>.end-stats{grid-template-columns:1fr}.results-screen .star-result>img{width:min(230px,36vw)}}.pause-screen{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;overflow:auto;-webkit-overflow-scrolling:touch;padding:calc(18px + env(safe-area-inset-top)) calc(18px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) calc(18px + env(safe-area-inset-left));background:#052319f0;color:#fff;pointer-events:auto;touch-action:manipulation}.pause-screen .pause{position:relative;inset:auto;transform:none;width:min(100%,520px);max-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;padding:22px;display:grid;gap:14px;justify-items:stretch;overflow-y:auto;border:1px solid #ffffff2c;border-radius:16px;background:linear-gradient(145deg,#163d2c,#0c251b);box-shadow:0 22px 70px #020c08aa}.pause-screen .pause h2{margin:0;text-align:center;font:900 34px Barlow Condensed;letter-spacing:2px}.pause-screen .pause .resume-game{width:100%;min-height:66px;max-height:76px;padding:8px 18px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #ffad69;border-bottom:4px solid #9f390b;border-radius:10px;background:linear-gradient(#ff8a2f,#e96318);color:#fff;font:900 20px Barlow Condensed}.pause-screen .resume-game img{width:42px;height:42px;object-fit:contain}.pause-volumes{display:grid;gap:8px}.pause-screen .pause-volume{width:100%;display:grid;gap:0;color:#fff4d7}.pause-screen .pause-volume>span{display:flex;justify-content:space-between;font:900 12px Barlow Condensed;letter-spacing:.7px}.pause-screen .pause-volume em{color:#f6a13e;font-style:normal}.pause-screen .pause-volume input{width:100%;min-height:34px;margin:0;padding:0;accent-color:#ed7622;cursor:pointer}.pause-screen .pause-volume input::-webkit-slider-thumb{width:30px;height:30px}.pause-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.pause-screen .pause-actions button,.pause-settings-panel>button{min-height:54px;padding:7px 10px;border:1px solid #ffffff24;border-radius:9px;background:#294b3a;color:#fff4d7;font:900 12px Barlow Condensed}.pause-settings-panel{display:grid;gap:9px}.pause-settings-panel>button{width:100%;display:flex;align-items:center;justify-content:center;gap:12px}.pause-settings-panel>button:first-child{justify-content:space-between;text-align:left}.pause-settings-panel span{display:grid}.pause-settings-panel small{color:#b9cdbf;font-size:9px}.pause-settings-panel em{color:#f6a13e;font-style:normal}.pause-settings-panel .pause-settings-back{background:#e87525}@media(pointer:coarse)and (orientation:landscape)and (max-height:600px){.pause-screen{padding:calc(8px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left))}.pause-screen .pause{width:min(100%,680px);max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:10px 16px;gap:7px}.pause-screen .pause h2{font-size:25px;line-height:1}.pause-screen .pause .resume-game{min-height:54px;height:58px}.pause-screen .resume-game img{width:36px;height:36px}.pause-volumes{grid-template-columns:1fr 1fr;gap:16px}.pause-screen .pause-volume input{min-height:30px}.pause-actions{gap:7px}.pause-screen .pause-actions button{min-height:48px}.pause-settings-panel{grid-template-columns:2fr 1fr 1fr}}@media(max-width:480px)and (orientation:portrait){.pause-screen{place-items:start center}.pause-screen .pause{padding:18px 14px}.pause-actions{grid-template-columns:1fr}}.map-loading{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;min-height:100dvh;padding:24px;color:#fff;text-align:center;background:radial-gradient(circle at 50% 30%,#28533b,#0a2118 68%)}.map-loading>div{width:min(420px,88vw);display:grid;justify-items:center;gap:10px}.map-loading span{color:#f4a35e;font:900 13px Barlow Condensed;letter-spacing:1.5px}.map-loading h1{margin:0;font:900 clamp(30px,8vw,48px) "Barlow Condensed";letter-spacing:2px}.map-loading i{width:100%;height:12px;overflow:hidden;border-radius:999px;background:#061710;box-shadow:inset 0 1px 4px #0009}.map-loading i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#e96318,#ffad4e);transition:width .16s ease}.map-loading strong{color:#d7e5db;font:900 14px Barlow Condensed}.pause-screen{padding-top:max(20px,env(safe-area-inset-top));padding-right:max(24px,env(safe-area-inset-right));padding-bottom:max(20px,env(safe-area-inset-bottom));padding-left:max(24px,env(safe-area-inset-left))}.pause-screen .pause{width:min(92vw,1160px);max-height:calc(100dvh - max(40px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));padding:28px 32px;gap:18px;border-radius:20px;background:linear-gradient(145deg,#173f2e,#0b271c);box-shadow:0 24px 80px #020c08cc,inset 0 1px #ffffff12}.pause-screen .pause h2{margin:0;color:#fff;text-align:center;font:900 clamp(28px,3vw,42px) "Barlow Condensed";line-height:1;letter-spacing:2.5px}.pause-screen .pause .resume-game{width:min(100%,720px);height:70px;min-height:58px;margin:0 auto;border-radius:12px;font-size:22px;box-shadow:0 5px #8f330b,0 12px 24px #07150d66}.pause-screen .resume-game img{width:34px;height:34px}.pause-content{display:grid;grid-template-columns:1fr;gap:18px;min-width:0}.pause-audio,.pause-options{min-width:0;padding:20px;border:1px solid #ffffff14;border-radius:16px;background:#071d1570}.pause-audio h3,.pause-options h3{margin:0 0 14px;padding-bottom:8px;border-bottom:2px solid #e8752566;color:#f6a13e;font:900 14px Barlow Condensed;letter-spacing:1.5px;text-align:left}.pause-screen .pause-volumes{display:grid;grid-template-columns:1fr;gap:14px}.pause-screen .pause-volume{gap:2px}.pause-screen .pause-volume>span{font-size:13px;letter-spacing:.9px}.pause-screen .pause-volume em{color:#ffad4e}.pause-screen .pause-volume input{width:100%;min-height:34px;margin:0}.pause-screen .pause-actions{display:grid;grid-template-columns:1fr;gap:12px}.pause-screen .pause-actions button{width:100%;height:58px;min-height:58px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:8px 18px;border-radius:11px;font:900 14px Barlow Condensed;letter-spacing:.5px;box-shadow:0 3px #06160f88}.pause-screen .pause-actions img{width:32px;height:32px;object-fit:contain;flex:none}.pause-screen .pause-settings-action{border-color:#ffffff2f;background:linear-gradient(#376a51,#294b3a);color:#fff4d7}.pause-screen .pause-restart-action{border-color:#f3a04c88;background:linear-gradient(#a96025,#7b431d);color:#fff1cf}.pause-screen .pause-menu-action{border-color:#f5e4ba55;background:#132f23;color:#e8d9b5}.pause-screen .pause-settings-panel{width:min(100%,720px);margin:0 auto}@media(orientation:landscape)and (min-width:700px){.pause-screen .pause-content{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}}@media(orientation:landscape)and (min-width:700px)and (max-height:600px){.pause-screen{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}.pause-screen .pause{width:min(92vw,1160px);max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));padding:20px 24px;gap:10px}.pause-screen .pause h2{font-size:clamp(26px,3vw,34px)}.pause-screen .pause .resume-game{width:min(100%,680px);height:60px}.pause-screen .pause-content{gap:24px}.pause-screen .pause-audio,.pause-screen .pause-options{padding:13px 16px}.pause-screen .pause-audio h3,.pause-screen .pause-options h3{margin-bottom:7px;padding-bottom:5px}.pause-screen .pause-volumes{gap:5px}.pause-screen .pause-volume input{min-height:29px}.pause-screen .pause-actions{gap:7px}.pause-screen .pause-actions button{height:46px;min-height:46px}.pause-screen .pause-actions img{width:29px;height:29px}}@media(orientation:portrait),(max-width:699px){.pause-screen{place-items:start center;overflow-y:auto}.pause-screen .pause{width:min(100%,560px);max-height:none;padding:22px 18px}.pause-screen .pause-content{grid-template-columns:1fr}.pause-screen .pause-actions button{justify-content:center}}.screen-loading{min-height:180px;display:grid;place-items:center;color:#e87525;font:900 16px Barlow Condensed;letter-spacing:1px}.equipment-toast{position:absolute;z-index:82;top:88px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:9px;padding:9px 16px;border:2px solid #ffb449;border-radius:13px;background:#17382bef;color:#fff;pointer-events:none;animation:equipmentToast 2.4s ease both}.equipment-toast img{width:42px;height:36px;object-fit:contain}.equipment-toast b{font:900 16px Barlow Condensed;letter-spacing:.8px}@keyframes equipmentToast{0%,to{opacity:0;transform:translate(-50%,-10px)}10%,85%{opacity:1;transform:translate(-50%)}}.crew-equipment-panel{display:grid;gap:8px;margin:10px 0;padding:10px;border:2px solid #d88a32;border-radius:12px;background:#f2e7cb}.crew-equipment-panel>header{position:static;height:auto;display:flex;align-items:center;gap:8px;padding:0;background:none;color:#274c37}.crew-equipment-panel>header>img{width:45px;height:38px;object-fit:contain}.crew-equipment-panel>header span{display:grid}.crew-equipment-panel>header small{color:#b4581e;font-weight:900;letter-spacing:1px}.crew-equipment-panel>header b{font:900 13px Barlow Condensed}.equipment-locked,.equipment-unlocked{min-height:44px;display:flex;align-items:center;gap:8px;padding:6px 9px;border-radius:9px;background:#d6ddcf;color:#506456;font:900 12px Barlow Condensed}.equipment-unlocked{background:#cde4c9;color:#28603b}.equipment-locked img,.equipment-unlocked img{width:38px;height:34px;object-fit:contain}.license-button{width:100%;min-height:54px;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:8px;padding:6px 10px;border:0;border-radius:9px;background:#397345;color:#fff;text-align:left}.license-button:disabled{filter:grayscale(.7);opacity:.55}.license-button>img{width:46px;height:40px;object-fit:contain}.license-button span{display:grid}.license-button small{color:#cfe2d0;font-size:8px}.license-button strong{color:#ffd466}.equipment-guide-panel h3{display:flex;align-items:center;gap:7px}.equipment-guide-panel h3 img,.equipment-guide-panel p img{width:38px;height:32px;object-fit:contain;vertical-align:middle}@media(max-width:850px){.equipment-toast{top:58px}.crew-equipment-panel{margin:7px 0;padding:7px}}.player-action-button{position:relative;z-index:auto;inset:auto;flex:0 0 78px;width:78px;min-width:78px;height:78px;margin:0;padding:0;overflow:hidden;border:3px solid rgb(255 255 255 / 55%);border-radius:50%;background:#ef7622;box-shadow:0 5px 16px #05120ba6;opacity:1;visibility:visible;pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:transform 80ms ease,filter .12s ease}.player-action-button>img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.player-action-button:active{transform:scale(.92);filter:brightness(1.18) drop-shadow(0 0 8px #ffc767)}.player-action-button.cooldown{filter:brightness(.72) saturate(.8)}.player-action-button .cooldown-fill{position:absolute;z-index:2;inset:auto 0 0;background:#06140e94;pointer-events:none;transition:height 40ms linear}.input-debug-panel{position:fixed;z-index:120;left:max(8px,env(safe-area-inset-left));top:max(58px,calc(env(safe-area-inset-top) + 52px));display:grid;gap:2px;padding:6px 8px;border-radius:6px;background:#000000c7;color:#8dff9a;font:700 10px/1.2 monospace;pointer-events:none}.game-debug-panel{position:fixed;top:max(84px,calc(env(safe-area-inset-top) + 60px));right:max(10px,env(safe-area-inset-right));z-index:1000;display:grid;gap:3px;max-width:min(360px,48vw);padding:8px 10px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:#0a120fe0;color:#fff;font:11px/1.25 monospace;pointer-events:none}.map-validation-debug-panel{left:max(10px,env(safe-area-inset-left));right:auto;max-width:min(520px,70vw)}.performance-debug-panel{top:auto;right:12px;bottom:calc(var(--equipment-tray-height, 72px) + 12px);max-width:min(420px,calc(100vw - 24px))}.enemy-debug-label{fill:#fff;stroke:#111;stroke-width:3px;paint-order:stroke;font:10px monospace;pointer-events:none}.sprite-fallback{fill:#d98a32;stroke:#fff3c4;stroke-width:2px}.enemy-sprite-fallback{fill:#7b4d2b}.sprite-fallback.asset-loaded{display:none}.safe-image-fallback{display:grid;place-items:center;min-width:44px;min-height:44px;padding:4px;border-radius:8px;background:#67452f;color:#fff3c4;font-size:10px;text-align:center}.error-recovery-screen{position:fixed;z-index:5000;inset:0;display:grid;place-items:center;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));overflow:auto;background:radial-gradient(circle at top,#315743,#102219 72%)}.error-recovery-card{align-items:center;gap:14px;padding:clamp(18px,4vw,34px);background:#f6edda;color:#18281e;text-align:center}.error-recovery-card h1,.error-recovery-card p{margin:0}.error-recovery-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.error-recovery-actions button,.error-recovery-card details button{min-height:44px}.error-recovery-card details{width:100%}.error-recovery-card pre{max-height:30dvh;overflow:auto;padding:10px;background:#17251d;color:#d9ffe0;text-align:left;white-space:pre-wrap}.game-window{box-sizing:border-box;max-width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)));max-height:calc(100dvh - max(32px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 16px))}.menu>.info.game-window{width:min(92vw,900px);height:auto;max-height:calc(100dvh - max(32px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 16px));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scroll-padding-top:96px;padding-bottom:max(20px,env(safe-area-inset-bottom))}.menu>.info.game-window>.back{position:sticky;z-index:12;top:0;min-width:88px;min-height:44px;margin:-6px 0 0;padding:6px 10px;border-radius:8px;background:#f4f2e8}.menu>.info.game-window>h2,.menu>.info.game-window>.progress-guide>h2{position:sticky;z-index:11;top:44px;margin-top:0;padding:6px 0;background:#f4f2e8}.menu>.info.game-window .guide-tabs{position:sticky;z-index:10;top:92px;background:#f4f2e8}.menu>.field-guide-info .guide-detail-back{position:sticky;z-index:9;top:48px;min-height:44px}.pause-screen .pause.game-window{width:min(92vw,1160px);height:auto;max-height:calc(100dvh - max(24px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 12px));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.pause-screen .pause.game-window .resume-game{position:sticky;z-index:5;top:0}.pause-screen .pause-settings-panel .pause-settings-back{position:sticky;z-index:4;bottom:0}.results-screen .end.game-window{max-width:min(100%,900px);max-height:none}.results-screen .end-actions{position:sticky;z-index:5;bottom:max(0px,env(safe-area-inset-bottom));padding:8px;border-radius:12px;background:#0d281eef;box-shadow:0 -10px 22px #07171066}.map-intro-card.game-window{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}@media(orientation:landscape)and (max-height:650px){.game-window{max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 8px))}.menu>.info.game-window{width:min(94vw,900px);max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 8px));padding:10px 16px max(12px,env(safe-area-inset-bottom))}.menu>.info.game-window>.back{margin-top:0}.menu>.info.game-window>h2,.menu>.info.game-window>.progress-guide>h2{top:44px;font-size:25px}.menu>.info.game-window .guide-tabs{top:86px}.pause-screen .pause.game-window{max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 6px))}.results-screen .end-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.results-screen .end-actions button{min-height:48px}}@media(orientation:portrait)and (max-width:1000px){.game-window{max-width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right) + 10px));max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 10px))}.menu>.info.game-window{width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right) + 10px));max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 10px))}.pause-screen .pause.game-window{width:min(100%,560px);max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 10px))}.results-screen .end-actions{bottom:env(safe-area-inset-bottom)}}.game{--equipment-tray-height: 88px}@media(pointer:coarse)and (orientation:landscape)and (max-height:650px){.game{--equipment-tray-height: 72px}}.player-action-stack{position:fixed;z-index:120;right:max(18px,env(safe-area-inset-right));bottom:calc(var(--equipment-tray-height, 72px) + env(safe-area-inset-bottom) + 12px);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;width:max-content;max-width:calc(100vw - 36px);pointer-events:none}.player-action-stack>*{pointer-events:auto}.player-action-stack>.player-mode-selector{position:relative;right:auto;bottom:auto;display:flex;visibility:visible;opacity:1;flex-direction:row;align-items:stretch;width:118px;min-width:118px;height:34px;flex:0 0 auto;gap:0;margin:0;padding:0;overflow:hidden;border:2px solid rgb(255 255 255 / 22%);border-radius:11px;background:#153325e8;transform:none;pointer-events:auto}.player-action-stack>.player-action-button{position:relative;right:auto;bottom:auto;flex:0 0 78px;width:78px;height:78px}.player-action-stack .player-mode-option{position:relative;flex:1 1 50%;min-width:0;height:34px;min-height:34px;display:flex;align-items:center;justify-content:center;gap:3px;padding:2px 5px;border:2px solid transparent;border-radius:0;background:#244638;color:#d4ddd6;font:900 9px Barlow Condensed;opacity:.82;white-space:nowrap}.player-action-stack .player-mode-option+.player-mode-option{border-left-color:#ffffff2e}.player-action-stack .player-mode-option.active{border-color:#f58a31;background:#f3ead2;color:#264635;opacity:1}.player-action-stack .player-mode-option img{flex:0 0 20px;width:20px;height:20px;object-fit:contain}@media(orientation:landscape)and (max-height:650px){.player-action-stack{gap:4px}.player-action-stack>.player-mode-selector{width:116px;min-width:116px;height:32px}.player-action-stack>.player-action-button{width:78px;min-width:78px;height:78px;flex-basis:78px}.player-action-stack .player-mode-option{gap:3px;height:32px;min-height:32px;padding-inline:5px;font-size:9px}.player-action-stack .player-mode-option img{flex-basis:20px;width:20px;height:20px}}@media(max-width:650px){.player-action-stack>.player-mode-selector{width:116px;min-width:116px}.player-action-stack .player-mode-option span{font-size:9px}}@media(prefers-reduced-motion:reduce){.tutorial-focus,.map-event-alert,.map-intro,.achievement-toast,.equipment-upgrade-flash,.whiteout-overlay{animation:none!important;transition-duration:.01ms!important}}*{margin:0;padding:0;box-sizing:border-box}html,body,#root{width:100%;height:100%;overflow:hidden;background:#1a4a0a}html,body,#root{width:100%;height:100%;min-height:100%;margin:0;overflow:hidden;overscroll-behavior:none}#root{height:100svh;height:100dvh;min-height:100svh}
