@font-face{font-family:SoldierSans;src:url(/soldier/assets/soldier-sans-var-DadY_QhF.woff2)format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}:root{color:#0f2a44;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#0f2a44;--ink-soft:#47617a;--card:#fff;--green:#35c76f;--green-dark:#148a45;--blue:#2b8cff;--gold:#ffc83d;--red:#f05252;--shadow:0 18px 44px #0f2a442e;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);background:#6ec6ff;font-family:SoldierSans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{width:100%;min-height:100%;margin:0}html{background:#6ec6ff}body{overscroll-behavior:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;overflow:hidden}button,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:none;padding:0}button:disabled{cursor:default}.screen{-webkit-overflow-scrolling:touch;width:100%;max-width:100vw;height:100dvh;padding-left:max(16px, var(--safe-left));padding-right:max(16px, var(--safe-right));position:relative;overflow:hidden auto}.primary-button,.secondary-button,.danger-button,.text-button,.nav-button{border-radius:16px;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-size:16px;font-weight:800;transition:transform .12s,filter .12s,box-shadow .12s;display:flex}.primary-button:active,.secondary-button:active,.danger-button:active,.text-button:active,.nav-button:active{transform:scale(.97)}.primary-button{color:#06381c;background:linear-gradient(#7ef0a2 0%,#38cc72 55%,#22b95f 100%);box-shadow:0 6px #128c45,0 12px 24px #128c4547}.primary-button:active{transform:translateY(3px)scale(.99);box-shadow:0 3px #128c45}.primary-button.big{border-radius:22px;flex-direction:column;gap:2px;min-height:74px}.button-kicker{opacity:.7;letter-spacing:.08em;font-size:12px;font-weight:700}.button-main{letter-spacing:.02em;font-size:21px;font-weight:900}.secondary-button{color:var(--ink);background:#ffffffdb;box-shadow:inset 0 0 0 2px #0f2a4414,0 6px 16px #0f2a4414}.danger-button{color:#b42318;background:#fff1f0;width:100%;box-shadow:inset 0 0 0 2px #f0525238}.danger-button.solid{color:#fff;background:linear-gradient(#ff6b6b,#e33d3d);box-shadow:0 5px #b42318}.text-button{color:#ffffffd1;min-height:42px;font-size:14px}.icon-button{width:46px;height:46px;color:var(--ink);background:#ffffffd1;border-radius:15px;flex:0 0 46px;justify-content:center;align-items:center;transition:transform .12s;display:flex;box-shadow:0 4px 12px #0f2a4424}.icon-button:active{transform:scale(.94)}.icon-button svg{width:24px;height:24px}.icon-button.ghost{box-shadow:none;background:#ffffff8c}.home-screen{height:100dvh;padding-top:max(14px, calc(var(--safe-top) + 12px));padding-bottom:max(14px, calc(var(--safe-bottom) + 12px));background:radial-gradient(circle at 18% 16%,#ffffffbf 0 10%,#0000 10.5%),radial-gradient(circle at 82% 12%,#ffffff8c 0 7%,#0000 7.5%),linear-gradient(#69c9ff 0%,#bceaff 46%,#8ee39d 46.2%,#46c66d 100%);flex-direction:column;justify-content:space-between;align-items:center;display:flex;overflow:hidden}.home-sky{pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.cloud{filter:blur(.4px);background:#ffffffb8;border-radius:999px;width:90px;height:30px;animation:18s ease-in-out infinite alternate cloud-drift;display:block;position:absolute}.cloud:before,.cloud:after{content:"";background:inherit;border-radius:50%;position:absolute}.cloud:before{width:40px;height:40px;bottom:6px;left:16px}.cloud:after{width:28px;height:28px;bottom:4px;right:14px}.cloud-a{top:12%;left:6%}.cloud-b{animation-delay:-6s;top:20%;right:4%;transform:scale(.8)}.cloud-c{animation-delay:-11s;top:7%;left:54%;transform:scale(.6)}@keyframes cloud-drift{0%{translate:-8px}to{translate:18px}}.home-top{z-index:2;justify-content:space-between;align-items:center;width:min(480px,100%);display:flex;position:relative}.brand-badge{letter-spacing:.18em;color:#0b4d76;background:#fff9;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:900}.home-main{z-index:2;text-align:center;flex-direction:column;align-items:center;width:min(480px,100%);margin:auto 0;display:flex;position:relative}.hero-stage{width:min(360px,86vw);height:min(250px,31vh);margin-bottom:4px;position:relative}.hero-hill{border-radius:48% 48% 24% 24%/60% 60% 30% 30%;position:absolute;bottom:10%;left:50%;translate:-50%}.hill-back{filter:blur(.5px);background:linear-gradient(#7adf95,#46c66d);width:78%;height:62%}.hill-front{background:linear-gradient(#63d47f,#2fae58);width:108%;height:42%;bottom:0}.hero-road{clip-path:polygon(38% 0,62% 0,100% 100%,0 100%);opacity:.95;background:linear-gradient(#ffe3a3 0%,#f3d38b 55%,#e4b962 100%);width:44%;height:58%;position:absolute;bottom:-6%;left:50%;translate:-50%}.hero-soldier{filter:drop-shadow(0 10px 14px #0f2a442e);animation:2.4s ease-in-out infinite soldier-bob;position:absolute}.hero-soldier svg{width:100%;height:auto;display:block}.hero-soldier-main{width:34%;animation-delay:-.4s;bottom:4%;left:50%;translate:-50%}.hero-soldier-a{opacity:.92;width:19%;animation-delay:-1.2s;bottom:16%;left:24%}.hero-soldier-b{opacity:.92;width:19%;animation-delay:-1.8s;bottom:18%;right:23%}.hero-soldier-c{opacity:.8;width:14%;animation-delay:-.9s;bottom:34%;left:38%}@keyframes soldier-bob{0%,to{translate:-50%}50%{translate:-50% -7px}}.hero-soldier-a,.hero-soldier-b,.hero-soldier-c{animation-name:soldier-bob-side}@keyframes soldier-bob-side{0%,to{margin-bottom:0}50%{margin-bottom:6px}}.game-title{letter-spacing:.03em;color:#fff;text-shadow:0 3px #176b98,0 8px #0f2a4429,0 18px 26px #0f2a4438;gap:.06em;margin:0;font-size:clamp(46px,13vw,70px);font-weight:900;line-height:1;display:flex}.title-accent{color:#ffe26a;text-shadow:0 3px #c47a00,0 8px #0f2a4429,0 18px 26px #0f2a4438}.home-subtitle{letter-spacing:.08em;color:#0b4d76;opacity:.75;margin:14px 0 0;font-size:14px;font-weight:700}.home-stats{gap:8px;margin-top:16px;display:flex}.stat-pill{color:#0b4d76;background:#ffffffb3;border-radius:999px;align-items:center;gap:5px;padding:7px 14px;font-size:13px;font-weight:700;display:flex}.stat-pill strong{font-size:15px}.stat-star{width:18px;height:18px}.home-actions{flex-direction:column;gap:10px;width:min(320px,100%);margin-top:18px;display:flex}.home-footer{z-index:2;color:#ffffffd9;text-shadow:0 1px 3px #0f2a4447;font-size:12px;font-weight:600;position:relative}.home-footer .dot{opacity:.6;margin:0 6px}.levels-screen,.settings-screen{padding-top:max(12px, calc(var(--safe-top) + 10px));padding-bottom:max(18px, calc(var(--safe-bottom) + 16px));background:radial-gradient(circle at 88% 4%,#fff9 0 14%,#0000 14.5%),linear-gradient(#8edcff 0%,#d9f5ff 38%,#f4fbff 100%)}.screen-header{align-items:center;gap:12px;width:min(640px,100%);margin:0 auto;display:flex}.screen-heading{text-align:center;flex:1;min-width:0}.screen-heading h2{letter-spacing:.04em;color:var(--ink);margin:0;font-size:20px;font-weight:900}.screen-heading span{color:var(--ink-soft);margin-top:2px;font-size:12px;font-weight:600;display:block}.header-spacer{flex:0 0 46px;width:46px}.levels-toolbar{justify-content:space-between;align-items:center;gap:12px;width:min(640px,100%);margin:18px auto 12px;display:flex}.levels-range{flex-direction:column;gap:2px;display:flex}.levels-range strong{color:#0b4d76;font-size:14px}.levels-range span{color:var(--ink-soft);font-size:12px}.page-select{max-width:150px;height:40px;color:var(--ink);background:#fff;border:2px solid #0f2a441a;border-radius:12px;padding:0 10px;font-size:13px;font-weight:700}.level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(640px,100%);margin:0 auto;display:grid}.level-card{text-align:left;background:#fff;border-radius:18px;flex-direction:column;min-height:106px;padding:12px;transition:transform .12s,box-shadow .12s;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 20px #0f2a4417}.level-card:after{content:"";background:#2b8cff12;border-radius:50%;width:78px;height:78px;position:absolute;bottom:-26px;right:-18px}.level-card:active:not(.locked){transform:scale(.97)}.level-card.cleared{background:linear-gradient(#fff 0%,#eefbf1 100%);box-shadow:inset 0 0 0 2px #35c76f3d,0 8px 20px #0f2a4414}.level-card.locked{box-shadow:none;color:#47617a9e;background:#ffffff8c}.level-card-top{justify-content:space-between;align-items:center;display:flex}.level-number{color:#0b4d76;font-size:24px;font-weight:900;line-height:1}.level-card.locked .level-number{color:#47617a73}.level-phase{letter-spacing:.08em;color:#2b8cff;background:#2b8cff1a;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}.lock-icon{opacity:.5;width:18px;height:18px}.level-card-title{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;margin-top:8px;font-size:13px;font-weight:700;overflow:hidden}.level-card.locked .level-card-title{color:#47617a80}.level-stars{gap:2px;margin-top:auto;padding-top:6px;display:flex}.level-star{width:17px;height:17px}.levels-nav{grid-template-columns:1fr 1.2fr 1fr;gap:8px;width:min(640px,100%);margin:16px auto 0;display:grid}.nav-button{min-height:44px;color:var(--ink);background:#fff;padding:0 8px;font-size:13px;box-shadow:0 6px 14px #0f2a4412}.nav-button.current{color:#0b4d76;background:#d9f0ff;box-shadow:inset 0 0 0 2px #2b8cff2e}.nav-button:disabled{opacity:.4}.levels-note{text-align:center;width:min(640px,100%);color:var(--ink-soft);margin:14px auto 0;font-size:11px;line-height:1.6}.settings-list{background:#fff;border-radius:20px;width:min(640px,100%);margin:18px auto 0;overflow:hidden;box-shadow:0 10px 26px #0f2a4414}.setting-row{cursor:pointer;align-items:center;gap:16px;padding:16px;display:flex}.setting-row+.setting-row{border-top:1px solid #0f2a4412}.setting-copy{flex-direction:column;flex:1;gap:3px;display:flex}.setting-copy strong{font-size:15px}.setting-copy span{color:var(--ink-soft);font-size:12px}.switch{background:#0f2a4429;border-radius:999px;flex:0 0 54px;width:54px;height:32px;transition:background .18s;position:relative}.switch.on{background:var(--green)}.switch-knob{background:#fff;border-radius:50%;width:26px;height:26px;transition:left .18s;position:absolute;top:3px;left:3px;box-shadow:0 2px 6px #0f2a443d}.switch.on .switch-knob{left:25px}.settings-card{width:min(640px,100%);color:var(--ink-soft);background:#ffffffb8;border-radius:20px;margin:14px auto 0;padding:16px}.settings-card-title{color:var(--ink);align-items:center;gap:8px;font-size:14px;display:flex}.settings-icon{width:20px;height:20px}.settings-card p{margin:10px 0 0;font-size:12px;line-height:1.7}.settings-card code{background:#0f2a4414;border-radius:4px;padding:1px 4px;font-size:11px}.settings-screen .danger-button{width:min(640px,100%);margin:16px auto 0;display:flex}.settings-version{text-align:center;color:#47617a99;margin:18px 0 4px;font-size:11px}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f2a447a;justify-content:center;align-items:center;padding:24px;animation:.18s fade-in;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.modal-card{width:min(340px,100%);box-shadow:var(--shadow);text-align:center;background:#fff;border-radius:24px;padding:24px 20px;animation:.28s cubic-bezier(.2,1.4,.4,1) pop-in}.modal-card h3{margin:0;font-size:20px}.modal-card p{color:var(--ink-soft);margin:10px 0 18px;font-size:13px;line-height:1.6}.modal-actions{gap:10px;display:flex}.modal-actions>*{flex:1}.game-screen{touch-action:none;overscroll-behavior:none;background:#6ec6ff;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.phaser-host{touch-action:none;position:absolute;top:0;bottom:0;left:0;right:0}.phaser-host canvas{width:100%!important;height:100%!important;display:block!important}.game-hud{z-index:10;padding:max(10px, calc(var(--safe-top) + 8px)) max(12px, calc(var(--safe-right) + 10px)) 0 max(12px, calc(var(--safe-left) + 10px));pointer-events:none;position:absolute;top:0;left:0;right:0}.hud-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.hud-button{pointer-events:auto;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f2a446b;box-shadow:0 4px 14px #0f2a442e}.hud-button:disabled{opacity:.35}.hud-level{text-align:center;color:#fff;text-shadow:0 1px 4px #0f2a4466;flex:1;min-width:0}.hud-kicker{letter-spacing:.14em;opacity:.82;font-size:10px;font-weight:800;display:block}.hud-level strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:900;display:block;overflow:hidden}.hud-counter{color:#0f2a44;background:linear-gradient(#fff7cf 0%,#ffd75e 100%);border-radius:16px;justify-content:center;align-items:center;gap:5px;min-width:84px;padding:6px 11px;display:flex;box-shadow:0 4px #c98a0b,0 8px 18px #0f2a442e}.hud-soldier{width:27px;height:27px}.hud-count{letter-spacing:-.02em;font-size:19px;font-weight:900;animation:.28s cubic-bezier(.2,1.4,.4,1) counter-pop}@keyframes counter-pop{0%{transform:scale(1.35)}to{transform:scale(1)}}.hud-sub{color:#ffffffe6;text-shadow:0 1px 3px #0f2a4466;justify-content:center;align-items:center;gap:10px;margin-top:8px;font-size:11px;font-weight:700;display:flex}.hud-enemy{background:#7f1d1d8c;border-radius:999px;padding:3px 10px}.hud-enemy strong{color:#fecaca}.hud-swipe{background:#0f2a4452;border-radius:999px;padding:3px 10px}.tutorial-toast{top:max(118px, calc(var(--safe-top) + 112px));z-index:20;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f2a44d6;border-radius:14px;align-items:center;gap:8px;width:max-content;max-width:min(86vw,420px);padding:9px 14px 9px 9px;font-size:12.5px;font-weight:600;line-height:1.4;animation:.32s cubic-bezier(.2,1.3,.4,1) toast-in;display:flex;position:absolute;left:50%;translate:-50%;box-shadow:0 10px 26px #0f2a443d}.tutorial-spark{background:var(--gold);color:#6b3f00;border-radius:50%;flex:0 0 22px;place-items:center;width:22px;height:22px;font-size:13px;font-weight:900;display:grid}@keyframes toast-in{0%{opacity:0;translate:-50% -12px}to{opacity:1;translate:-50%}}.overlay{z-index:30;padding:max(20px, calc(var(--safe-top) + 16px)) 20px max(20px, calc(var(--safe-bottom) + 16px));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0b1e3080;justify-content:center;align-items:center;animation:.22s fade-in;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.overlay-card{text-align:center;background:#fff;border-radius:28px;width:min(360px,100%);padding:26px 20px 20px;animation:.34s cubic-bezier(.2,1.4,.4,1) pop-in;box-shadow:0 26px 60px #07182859}@keyframes pop-in{0%{opacity:0;transform:scale(.9)translateY(12px)}to{opacity:1;transform:scale(1)translateY(0)}}.overlay-card h2{letter-spacing:.02em;margin:10px 0 4px;font-size:26px;font-weight:900}.overlay-card p{color:var(--ink-soft);margin:8px 0 0;font-size:13px;line-height:1.55}.overlay-kicker{letter-spacing:.16em;color:#2b8cff;background:#2b8cff1a;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:900;display:inline-block}.pause-card{padding-top:22px}.pause-card .primary-button{margin-top:18px}.pause-card .secondary-button{margin-top:9px}.pause-card .text-button{color:var(--ink-soft);margin-top:4px}.result-card{padding-top:34px;position:relative}.result-card.win{background:radial-gradient(circle at 50% 0,#ffe7898c 0 24%,#0000 25%),#fff}.result-card.lose{background:radial-gradient(circle at 50% 0,#ffadad66 0 24%,#0000 25%),#fff}.result-ribbon{letter-spacing:.14em;color:#fff;border-radius:999px;padding:6px 20px;font-size:12px;font-weight:900;position:absolute;top:-14px;left:50%;translate:-50%;box-shadow:0 6px 14px #0f2a4433}.result-ribbon.win{color:#5a3600;background:linear-gradient(#ffd65a,#f3a800)}.result-ribbon.lose{background:linear-gradient(#ff7a7a,#df3d3d)}.result-card h2{font-size:28px}.result-stars{justify-content:center;gap:8px;margin:10px 0 2px;display:flex}.result-star{opacity:.25;width:42px;height:42px;transform:scale(.85)}.result-star.lit{opacity:1;animation:.5s cubic-bezier(.2,1.5,.4,1) both star-pop}.result-star:nth-child(2).lit{animation-delay:.1s}.result-star:nth-child(3).lit{animation-delay:.2s}@keyframes star-pop{0%{transform:scale(.3)rotate(-20deg)}70%{transform:scale(1.16)rotate(4deg)}to{transform:scale(1)rotate(0)}}.result-fail-icon{opacity:.55;filter:grayscale(.6);width:74px;height:74px;margin:8px auto 0}.result-fail-icon svg{width:100%;height:100%}.result-detail{font-weight:800;color:var(--ink)!important;margin-top:10px!important;font-size:14px!important}.result-tip{min-height:34px;color:var(--ink-soft)!important;font-size:12px!important}.result-actions{flex-direction:column;gap:9px;margin-top:14px;display:flex}.result-actions .text-button{color:var(--ink-soft)}.result-actions .secondary-button{min-height:44px}@media (min-width:700px){.home-screen{padding-top:24px;padding-bottom:24px}.level-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.levels-screen,.settings-screen{padding-top:28px}.hud-level strong{font-size:18px}}@media (max-height:700px){.hero-stage{height:190px}.game-title{font-size:clamp(40px,11vw,58px)}.home-subtitle,.home-stats{margin-top:10px}.home-actions{margin-top:12px}}
