:root{--ink:#02070a;--sky:#030a10;--panel:#030f11f5;--panel-2:#06191a;--line:#0e4644;--green:#14f17a;--green-dim:#079653;--red:#f02b39;--amber:#ffc247;--blue:#2b91d7;--white:#ede9d7;--muted:#8aa3a4;--frame-width:min(100vw, calc((100dvh - 124px) * .5625), 520px);--surface-height:100dvh;--icon-atlas:url(./military-ui-atlas-Czpztgev.png);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}.visuallyHidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}html,body{background:var(--ink);width:100%;min-height:100%;margin:0}html{touch-action:manipulation}body{min-height:100dvh;padding:0 env(safe-area-inset-right) 0 env(safe-area-inset-left);color:var(--white);background:radial-gradient(circle at 50% 25%,#0c36372e,#0000 44%),repeating-linear-gradient(0deg,#ffffff03 0 1px,#0000 1px 4px),#020608;place-items:start center;font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.5;display:grid;overflow-x:hidden}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--amber);outline-offset:2px}button,#gameCanvas{-webkit-user-select:none;user-select:none}[hidden]{display:none!important}#gameShell{width:var(--frame-width);max-width:100%;min-height:var(--surface-height);height:var(--surface-height);isolation:isolate;background:#02080b;border-inline:1px solid #14f17a29;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 0 80px #000c}body:not(.game-active):not(.duel-active) #gameShell{width:min(100vw,520px)}.pixelIcon{background-image:var(--icon-atlas);width:30px;height:30px;image-rendering:pixelated;background-repeat:no-repeat;background-size:400% 400%;flex:none;display:inline-block}.iconScore{background-position:0 0}.iconWave{background-position:33.333% 0}.iconCity{background-position:66.666% 0}.iconMultiplier{background-position:100% 0}.iconMissile{background-position:0 33.333%}.iconRadar{background-position:33.333% 33.333%}.iconLauncher{background-position:66.666% 33.333%}.iconShield{background-position:100% 33.333%}.iconExplosion{background-position:0 66.666%}.iconRepair{background-position:33.333% 66.666%}.iconUpgrade{background-position:66.666% 66.666%}.iconStore{background-position:100% 66.666%}.iconSettings{background-position:0 100%}.iconSound{background-position:33.333% 100%}.iconMusic{background-position:66.666% 100%}.iconShare{background-position:100% 100%}.iconCurrency,.iconLeaderboard{background-position:0 0}.iconAmmo{background-position:0 33.333%}.shellAction{z-index:30;position:absolute;inset-block-start:max(10px, env(safe-area-inset-top));inset-inline-end:10px}.iconButton,.closeButton{border:1px solid var(--green-dim);cursor:pointer;background:#031312e0;border-radius:3px;place-items:center;min-width:44px;min-height:44px;padding:5px;display:inline-grid;box-shadow:inset 0 0 0 1px #14f17a14}.iconButton:hover{border-color:var(--green)}body:not(.game-active):not(.duel-active) #settingsButton{z-index:25;background:#00070a99;border:1px solid #173b39;border-radius:4px;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;transition:border-color .15s,background .15s;display:inline-grid;position:absolute;inset-block-start:max(11px, calc(env(safe-area-inset-top) + 11px));inset-inline-end:14px;box-shadow:inset 0 0 0 1px #14f17a0d}body:not(.game-active):not(.duel-active) #settingsButton:hover{border-color:var(--green);background:#14f17a1a}body:not(.game-active):not(.duel-active) #settingsButton .pixelIcon{width:25px;height:25px}#startMenuContainer{width:100%;height:100%;min-height:100%;padding:clamp(54px,9vh,82px) 18px 22px;text-align:center;background:linear-gradient(#0000 0 55%,#06231ca6 100%),radial-gradient(circle at 50% 34%,#14f17a17,#0000 34%);flex-direction:column;justify-content:center;align-items:center;gap:10px;padding-block-start:max(clamp(54px, 9vh, 82px), calc(env(safe-area-inset-top) + 48px));padding-block-end:max(22px, env(safe-area-inset-bottom));display:flex;overflow-y:auto}.brandMark{filter:drop-shadow(0 0 7px #14f17a59);justify-content:center;align-items:end;gap:5px;width:88px;height:37px;display:flex}.brandMark span{background:var(--green);clip-path:polygon(50% 0,100% 42%,72% 42%,72% 100%,28% 100%,28% 42%,0 42%);width:18px}.brandMark span:first-child{height:25px}.brandMark span:nth-child(2){height:37px}.brandMark span:nth-child(3){height:25px}.eyebrow{color:var(--green);letter-spacing:.12em;margin:0;font-size:13px}#mainTitle{color:var(--white);text-shadow:3px 3px #073d2c;margin:0;font-size:clamp(30px,9vw,45px);line-height:1.25}.startBrief{max-width:330px;color:var(--muted);margin:0 0 10px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:13px}#difficultySelection{border:1px solid var(--line);background:#020b0de0;width:100%;max-width:410px;padding:13px;box-shadow:inset 0 0 24px #0e46442e}#difficultySelection h2{color:var(--amber);margin:0 0 10px;font-size:17px;font-weight:400}.difficultyGrid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.difficulty-button{min-width:0;min-height:56px;color:var(--muted);cursor:pointer;background:#061314;border:1px solid #1e5752;border-radius:2px;padding:7px 3px}.difficulty-button strong,.difficulty-button small{font-weight:400;display:block}.difficulty-button strong{color:var(--white);font-size:13px}.difficulty-button small{color:var(--muted);margin-top:4px;font-size:10px}.difficulty-button.selected{border-color:var(--green);background:#08492f61;box-shadow:inset 0 0 10px #14f17a2e,0 0 8px #14f17a1f}.difficulty-button.selected strong{color:var(--green)}.primaryButton,.secondaryButton,.buyButton,.settingToggle,.textButton{border:1px solid var(--green-dim);min-height:44px;color:var(--white);cursor:pointer;background:#061b17;border-radius:3px;padding:8px 15px}.primaryButton{color:#00120a;background:var(--green);border-color:#69ffa9;font-size:18px;box-shadow:0 0 12px #14f17a40,inset 0 -3px #00000040}#actualStartButton{width:min(100%,410px);margin-top:3px}.mainModeActions{grid-template-columns:1fr 1fr;gap:7px;width:min(100%,410px);margin-top:3px;display:grid}.mainModeActions #actualStartButton{place-content:center;width:100%;min-height:64px;margin:0;display:grid!important}.mainModeActions #actualStartButton span{font-size:17px}.duelEntryButton{min-width:0;min-height:64px;color:var(--white);text-align:start;grid-template-rows:1fr auto;grid-template-columns:32px 1fr;align-items:center;gap:1px 6px;padding:7px;display:grid}.duelEntryButton strong,.duelEntryButton small{display:block}.duelEntryButton small{color:var(--muted);font-size:9px}.duelEntryButton b{color:var(--amber);grid-column:2;font-size:9px;font-weight:400}.duelEntryButton.secondaryButton{border-color:var(--green-dim);background:#061516;box-shadow:inset 0 0 0 1px #14f17a0a}.duelEntryButton .pixelIcon{grid-row:1/3;width:30px;height:30px}.duelEntryButton strong{color:var(--green)}.secondaryButton{background:#061516}.textButton{color:var(--muted);background:0 0;border-color:#0000;align-items:center;gap:5px;padding-inline:8px;display:inline-flex}.textButton .pixelIcon{width:22px;height:22px}.startEconomySummary{width:min(100%,410px);color:var(--white);grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.startStat{border:1px solid var(--line);background:linear-gradient(#07191a,#041011);justify-content:center;align-items:center;gap:6px;min-width:0;min-height:58px;padding:6px 4px;display:flex}.startStat .pixelIcon{width:27px;height:27px}.startStat .coinIcon{width:22px;height:22px}.startStat small,.startStat strong{white-space:nowrap;display:block}.startStat small{color:var(--muted);font-size:8px}.startStat strong{color:var(--white);font-size:14px;font-weight:400}.startStat:first-child strong{color:var(--amber)}.startStat:nth-child(2) strong{color:var(--green)}.startStat:nth-child(3) strong{color:var(--blue)}.economyValue{align-items:center;gap:5px;display:flex}.coinIcon{background:var(--amber);clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);border:2px solid #fff0a3;flex:none;width:20px;height:20px;display:inline-block;position:relative;box-shadow:inset 0 0 0 4px #b66812}.startLinks{justify-content:center;align-items:center;gap:4px;display:flex}.profileAvatarIcon{filter:drop-shadow(0 0 4px #14f17a52);background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%2303100f'%20stroke='%2314f17a'%20stroke-width='2'%20d='M5%202h38v3h3v38h-3v3H5v-3H2V5h3z'/%3e%3cpath%20fill='%230a3a31'%20d='M8%206h32v3h3v30h-3v3H8v-3H5V9h3z'/%3e%3cpath%20fill='%2314f17a'%20d='M18%208h12v3h5v4h3v10h-4V15h-3v-3H17v3h-3v10h-4V15h3v-4h5z'/%3e%3cpath%20fill='%23efe8d5'%20d='M15%2015h18v13h-3v4H18v-4h-3z'/%3e%3cpath%20fill='%2307191b'%20d='M12%2017h24v7h-4v-3H16v3h-4z'/%3e%3cpath%20fill='%232b91d7'%20d='M16%2018h16v4H16z'/%3e%3cpath%20fill='%23a9e9df'%20d='M18%2018h5v2h-5z'/%3e%3cpath%20fill='%2303100f'%20d='M21%2027h6v2h-6z'/%3e%3cpath%20fill='%2314f17a'%20d='M14%2032h20v3h5v7H9v-7h5z'/%3e%3cpath%20fill='%23073b31'%20d='M20%2032h8v5h-8zM12%2038h24v4H12z'/%3e%3cpath%20fill='%23ffc247'%20d='M23%2035h2v2h-2z'/%3e%3c/svg%3e") 50%/contain no-repeat;flex:none;width:38px;height:38px}#installPwaButton{display:none}#uiContainer{min-height:calc(60px + env(safe-area-inset-top));border-bottom:1px solid var(--green-dim);z-index:5;background:#01090cfa;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:3px 5px;padding:5px 7px;padding-block-start:max(5px, env(safe-area-inset-top));padding-inline-end:48px;display:none}.hudItem{justify-content:center;align-items:center;gap:5px;min-width:0;padding:2px;display:flex}.hudItem .pixelIcon{width:25px;height:25px}.hudWave .pixelIcon{display:none}.hudItem small,.hudItem strong{white-space:nowrap;display:block}.hudItem small{color:var(--muted);font-size:10px;line-height:1.15}.hudItem strong{color:var(--green);font-variant-numeric:tabular-nums;font-size:15px;font-weight:400;line-height:1.15}.hudWave strong{color:var(--red)}.hudMultiplier strong{color:var(--amber)}.hudCities strong{color:var(--white)}#bonusIndicator{color:var(--amber);text-align:center;grid-column:1/-1;font-size:11px;line-height:1;display:none}.hudMultiplier{border-top:1px dashed #16403c;grid-area:2/1;transition:border-color .25s,box-shadow .25s}.hudMultiplier.multiplierActive{border-color:#1ee88c;box-shadow:inset 0 0 10px #1ee88c38}.hudMultiplier.multiplierActive strong{color:#1ee88c;text-shadow:0 0 8px #1ee88c99}.hudMultiplier.multiplierTier3{border-color:#00f0ff;box-shadow:inset 0 0 12px #00f0ff47}.hudMultiplier.multiplierTier3 strong{color:#00f0ff;text-shadow:0 0 10px #00f0ffb3}.hudMultiplier.multiplierTier4{border-color:#ff9500;box-shadow:inset 0 0 14px #ff950052}.hudMultiplier.multiplierTier4 strong{color:#ff9500;text-shadow:0 0 12px #ff9500bf}.hudMultiplier.multiplierTier5{border-color:#ff2d55;box-shadow:inset 0 0 16px #ff2d5561}.hudMultiplier.multiplierTier5 strong{color:#ff2d55;text-shadow:0 0 14px #ff2d55d9;animation:.9s ease-in-out infinite alternate hud-multiplier-pulse}.hudMultiplier.multiplierTier10{border-color:gold;box-shadow:inset 0 0 20px #ffd70073,0 0 12px #ffd70059}.hudMultiplier.multiplierTier10 strong{color:gold;text-shadow:0 0 16px #ffd700f2;animation:.6s ease-in-out infinite alternate hud-multiplier-pulse}@keyframes hud-multiplier-pulse{0%{filter:brightness();transform:scale(1)}to{filter:brightness(1.25);transform:scale(1.06)}}.hudEconomy{border-top:1px dashed #16403c;grid-area:2/2/auto/4;justify-content:space-around;align-items:center;gap:9px;min-height:29px;padding-top:3px;font-size:12px;display:flex}.hudEconomy .pixelIcon{width:20px;height:20px}.hudEconomy strong{color:var(--amber)}.hudEconomy small{color:var(--muted)}#economyConnectionStatus{color:var(--green);font-size:10px;display:none}#economyConnectionStatus.offline{color:var(--red);display:block}#canvasContainer{aspect-ratio:9/16;background:var(--sky);border-bottom:1px solid var(--green-dim);flex:auto;width:100%;min-height:0;display:none;position:relative;overflow:hidden}#canvasContainer:after,#duelBattlefield:after{content:"";z-index:4;pointer-events:none;opacity:0;border:0 solid #ff2d2600;position:absolute;inset:0;box-shadow:inset 0 0 #ff201800}@keyframes ground-impact-flash{0%{opacity:.8;border-width:8px;border-color:#ff3e2dbf;box-shadow:inset 0 0 70px #ff23186b}35%{opacity:.3}to{opacity:0;border-width:2px}}#canvasContainer.ground-impact:after,#duelBattlefield.ground-impact:after{animation:.34s steps(4,end) ground-impact-flash}@keyframes ground-hit-shake{0%,to{transform:translate(0)}15%{transform:translate(-7px,3px)}30%{transform:translate(6px,-4px)}45%{transform:translate(-5px,-2px)}60%{transform:translate(4px,3px)}75%{transform:translate(-2px,1px)}}#gameShell.ground-hit-shake{animation:.38s steps(2,end) ground-hit-shake}.reduced-effects #canvasContainer.ground-impact:after,.reduced-effects #duelBattlefield.ground-impact:after,.reduced-effects #gameShell.ground-hit-shake{animation:none}#gameCanvas{cursor:crosshair;width:100%;height:100%;image-rendering:pixelated;touch-action:none;display:none;position:absolute;inset:0}.scanlines{pointer-events:none;z-index:2;opacity:.14;mix-blend-mode:screen;background:repeating-linear-gradient(0deg,#0000 0 3px,#6effcf1a 3px 4px);position:absolute;inset:0}.reduced-effects .scanlines{display:none}@keyframes impact-shake{0%,to{transform:translate(0)}25%{transform:translate(-3px,2px)}50%{transform:translate(3px,-2px)}75%{transform:translate(-2px,-1px)}}#gameShell.impact-shake{animation:.18s steps(2,end) impact-shake}#gameShell.ground-hit-shake.impact-shake{animation:.38s steps(2,end) ground-hit-shake}.reduced-effects #gameShell.impact-shake,.reduced-effects #gameShell.ground-hit-shake.impact-shake{animation:none}#pauseOverlay{z-index:10;color:var(--amber);text-align:center;text-shadow:2px 2px #57220d;background:#000608bd;place-items:center;font-size:clamp(23px,7vw,35px);display:none;position:absolute;inset:0}#pauseOverlay span{border-block:1px solid var(--amber);padding:12px 16px}#pauseOverlay button{min-height:44px;margin:16px auto 0;padding:8px 20px;font-size:16px;display:block}#canvasContainer.screenShake{animation:.16s steps(2,end) screen-shake}#duelScreen{background:var(--sky);-webkit-user-select:none;user-select:none;touch-action:none;direction:rtl;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;min-height:0;display:none;overflow:hidden}#duelScreen.active{display:grid}.duelHud{z-index:6;min-height:calc(60px + env(safe-area-inset-top));background:#01090cfa;grid-template-columns:1.15fr 1fr .9fr;align-items:center;gap:4px;padding:5px 7px;display:grid;position:relative}.duelHudEnemy{border-bottom:1px solid var(--red);padding-block-start:max(5px, env(safe-area-inset-top))}.duelHudLocal{min-height:calc(60px + env(safe-area-inset-bottom));border-top:1px solid var(--green-dim);padding-block-end:max(5px, env(safe-area-inset-bottom))}.duelIdentity,.duelMetric{align-items:center;gap:5px;min-width:0;padding:2px;display:flex}.duelIdentity>span:last-child,.duelMetric>span:last-child{min-width:0}.duelIdentity .profileAvatarIcon{width:30px;height:30px}.duelMetric .pixelIcon{width:25px;height:25px}.duelIdentity small,.duelIdentity strong,.duelMetric small,.duelMetric strong,.duelMetric time{white-space:nowrap;display:block}.duelIdentity small,.duelMetric small{color:var(--muted);font-size:8px;line-height:1.1}.duelIdentity strong{max-width:96px;color:var(--white);text-overflow:ellipsis;font-size:12px;font-weight:400;overflow:hidden}.duelHudEnemy .duelIdentity strong{color:#ff8a72}.duelHudLocal .duelIdentity strong{color:var(--green)}#duelTimer{color:var(--amber);font-variant-numeric:tabular-nums;direction:ltr;font-size:17px}.duelHp{direction:ltr;grid-template-columns:repeat(5,1fr);gap:2px;width:76px;margin-top:3px;display:grid}.duelHp i{background:#142226;border:1px solid;height:7px;position:relative;overflow:hidden}.duelHp i:after{content:"";width:var(--hp-fill,100%);background:currentColor;position:absolute;inset:0 auto 0 0}.duelHudEnemy .duelHp{color:var(--red)}.duelHudLocal .duelHp{color:var(--green)}#duelBattlefield{background:var(--sky);min-height:0;position:relative;overflow:hidden}#duelCanvas{width:100%;height:100%;image-rendering:pixelated;touch-action:none;cursor:crosshair;position:absolute;inset:0}#duelNetworkNotice{z-index:9;border:1px solid var(--amber);background:var(--panel);max-width:85%;color:var(--amber);text-align:center;opacity:0;pointer-events:none;padding:5px 10px;font-size:11px;transition:opacity .15s;position:absolute;top:12px;left:50%;translate:-50%}#duelNetworkNotice.visible{opacity:1}.duelOverlay{z-index:12;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#000406c2;place-items:center;padding:18px;display:grid;position:absolute;inset:0}.duelOverlay[hidden]{display:none}.duelDialog{text-align:center;justify-items:center;gap:9px;width:min(100%,390px);display:grid}.duelDialogIcon{width:52px;height:52px}.duelDialog h2{color:var(--green);margin:0;font-size:25px;font-weight:400}.duelDialog p{max-width:290px;color:var(--muted);margin:0;font-size:12px}.duelDialog>button{width:100%;margin-top:5px}.duelAmmo>span:last-child{flex:1;min-width:0}.duelAmmo strong{color:var(--amber);font-size:16px;line-height:1}.duelAmmo i{background:#142226;width:76px;height:4px;margin-top:4px;display:block;position:relative;overflow:hidden}.duelAmmo b{background:var(--green);width:100%;transition:width .1s linear;position:absolute;inset:0 auto 0 0}.duelRewards{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.duelRewards span{border:1px solid var(--line);background:var(--panel-2);padding:9px}.duelRewards small,.duelRewards strong{display:block}.duelRewards small{color:var(--muted);font-size:9px}.duelRewards strong{color:var(--amber);font-size:19px}.duelResultActions{grid-template-columns:1fr 1fr;gap:7px;width:100%;display:grid}.duelResultActions button{min-height:46px}.pixelPanel{background:#031113eb;border:1px solid #0e4644e6;box-shadow:inset 0 0 18px #0e46441f}#startMenuContainer{padding:max(7px, env(safe-area-inset-top)) 8px max(7px, env(safe-area-inset-bottom));scrollbar-width:none;background:linear-gradient(#02080c 0%,#031216 58%,#041b18 100%);grid-template-rows:auto minmax(230px,1fr) auto auto auto auto;justify-content:stretch;align-items:stretch;gap:7px;display:grid}#startMenuContainer::-webkit-scrollbar{display:none}#startMenuContainer>*{flex-shrink:0}.homeTopBar{z-index:20;box-sizing:border-box;justify-content:space-between;align-items:center;gap:8px;width:100%;height:52px;min-height:52px;padding:4px 6px;padding-inline-end:54px;display:flex;position:relative}.homeTopBar .iconButton{min-width:40px;min-height:40px;padding:4px}.homeTopBar .iconButton .pixelIcon{width:27px;height:27px}.homeResources{direction:rtl;flex-shrink:0;justify-content:end;align-items:center;gap:5px;display:flex}.resourceChip{box-sizing:border-box;background:#00070a99;border:1px solid #173b39;border-radius:4px;justify-content:center;align-items:center;min-width:0;height:42px;transition:border-color .15s,background .15s;display:inline-flex;box-shadow:inset 0 0 0 1px #14f17a0d}.resourceChip:hover{border-color:#14f17a4d}.coinChip{gap:6px;min-width:60px;padding:3px 8px}.coinChip .coinIcon{flex-shrink:0;width:18px;height:18px}.coinChip .chipContent{flex-direction:column;justify-content:center;align-items:flex-start;line-height:1.15;display:flex}.coinChip small{color:var(--muted);white-space:nowrap;font-size:9.5px;line-height:1.1}.coinChip strong{color:var(--amber);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13.5px;font-weight:600;line-height:1.1}.attemptBattery{cursor:pointer;color:inherit;gap:7px;min-width:0;padding:3px 8px}.attemptBattery:hover{border-color:var(--green);background:#14f17a14}.batteryGauge{direction:ltr;background:#03100f;border:1.5px solid #b9d8cf;border-radius:2px;flex-shrink:0;align-items:stretch;gap:2px;width:44px;height:20px;padding:3px;display:flex;position:relative;box-shadow:inset 0 0 5px #14f17a2e,0 0 4px #14f17a24}.batteryGauge:after{content:"";border:1px solid #b9d8cf;background:#173b39;border-inline-start:0;border-radius:0 1px 1px 0;width:3px;height:8px;position:absolute;top:5px;right:-5px}.batteryGauge i{background:#102522;border-radius:1px;flex:1;min-width:0;box-shadow:inset 0 0 0 1px #1c3934}.batteryGauge i.charged{background:var(--red);box-shadow:0 0 6px #f02b39d9}.attemptMeta{flex-direction:column;justify-content:center;align-items:flex-start;min-width:36px;line-height:1.15;display:flex}.attemptMeta strong{color:var(--white);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12.5px;font-weight:600;line-height:1.1;display:block}.attemptMeta .attemptTimer{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:10px;line-height:1.1;display:block}.attemptMeta .attemptTimer.recharging{color:var(--amber);text-shadow:0 0 6px #f5a62366;font-weight:600}.homeTopBar .profilePanel{background:0 0;border:0;flex:auto;min-width:0;position:static}.homeTopBar .profilePanel summary{min-width:0;height:42px;color:var(--white);cursor:pointer;border:1px solid #0000;border-radius:4px;align-items:center;gap:7px;padding:2px 6px;transition:background .15s,border-color .15s;display:flex}.homeTopBar .profilePanel summary:hover{background:#14f17a0f;border-color:#14f17a2e}.homeTopBar .profilePanel summary:after{display:none}.homeTopBar .profilePanel summary .profileAvatarIcon{flex-shrink:0;width:28px;height:28px}.homeTopBar .profilePanel summary .profileSummaryText,.homeTopBar .profilePanel summary>span:nth-child(2){text-align:start;flex:auto;min-width:0;overflow:hidden}.homeTopBar .profilePanel summary small,.homeTopBar .profilePanel summary strong{margin:0;line-height:1.2;display:block}.homeTopBar .profilePanel summary small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.homeTopBar .profilePanel summary strong{max-width:100%;color:var(--green);text-overflow:ellipsis;white-space:nowrap;unicode-bidi:plaintext;font-size:12.5px;font-weight:600;overflow:hidden}#profileUsername{overflow-wrap:anywhere;unicode-bidi:plaintext;max-width:100%}.dossierRank{min-width:0}.homeTopBar .profilePanel[open]:before{content:"";-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:90;background:#000508c7;position:fixed;inset:0}.profileSheet{z-index:95;border:1px solid var(--green);text-align:right;direction:rtl;background:#041416;border-radius:6px;width:min(92vw,420px);max-height:min(88dvh,620px);padding:16px 18px;animation:.25s cubic-bezier(.2,.8,.2,1) profile-sheet-pop;position:fixed;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%);box-shadow:0 18px 55px #000000f5,0 0 22px #14f17a2e}.homeTopBar .profilePanel:not([open]) .profileSheet{display:none}.profileSheetHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:12px;display:flex}.profileSheetTitle{align-items:center;gap:8px;display:flex}.profileSheetTitle h3{color:var(--green);margin:0;font-size:15px;font-weight:700}[hidden],#profileIdentity[hidden],#profileAuthContainer[hidden],#profileForm[hidden],#profileUsernameRow[hidden]{display:none!important}.profileDossierCard{border:1px solid var(--green-dim);background:#020b0d;border-radius:6px;margin-bottom:12px;padding:16px;display:block;box-shadow:inset 0 0 15px #14f17a0d}.dossierInsignia{border-bottom:1px dashed var(--line);align-items:center;gap:12px;margin-bottom:14px;padding-bottom:12px;display:flex}.dossierRank{flex-direction:column;gap:2px;display:flex}.dossierBadge{color:var(--amber);letter-spacing:.02em;font-size:10px}.dossierRank strong{color:var(--green);text-shadow:0 0 10px #14f17a59;font-size:19px;font-weight:700}.dossierGrid{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px;display:grid}.dossierField{background:#06181b;border:1px solid #113634;border-radius:4px;padding:8px 10px}.dossierField.fullWidthField{grid-column:1/-1}.dossierField small{color:var(--muted);margin-bottom:3px;font-size:10px;display:block}.dossierField span,.dossierField strong{color:var(--white);word-break:break-all;font-size:12px;display:block}.dossierField .tomanHighlight{color:var(--amber);font-size:13px;font-weight:700}.dossierField .onlineStatus{color:var(--green);font-size:11px}.dossierActions{flex-direction:column;gap:8px;display:flex}.dossierActions .logoutButton{color:#fff;cursor:pointer;background:#8b1820;border:1px solid #ff4938;border-radius:4px;width:100%;min-height:44px;font-size:14px;font-weight:700;transition:all .2s;box-shadow:0 0 12px #f02b3959}.dossierActions .logoutButton:hover{background:#b01f2b;border-color:#ff6e60;box-shadow:0 0 16px #f02b398c}.dossierActions .dossierCloseBtn{border:1px solid var(--line);width:100%;min-height:38px;color:var(--muted);cursor:pointer;background:#06181b;border-radius:4px;font-size:12px}.dossierActions .dossierCloseBtn:hover{border-color:var(--green-dim);color:var(--white)}.profileAuthContainer{display:block}.profileAuthTabs{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;display:grid}.authTab{border:1px solid var(--line);min-height:40px;color:var(--muted);cursor:pointer;background:#030d0f;border-radius:4px;font-size:12px;font-weight:500;transition:all .2s}.authTab.active{border-color:var(--green);color:var(--green);background:#072522;box-shadow:0 0 10px #14f17a33}.authViewHeader{text-align:right;border-bottom:1px dashed #123835;margin-bottom:14px;padding-bottom:8px}.authViewHeader h4{color:var(--white);margin:0 0 4px;font-size:14px;font-weight:700}.authViewHeader p{color:var(--muted);margin:0;font-size:11px;line-height:1.4}.profileForm{flex-direction:column;gap:12px;display:flex}.formRow{text-align:right;flex-direction:column;gap:4px;display:flex}.formRow label{color:var(--muted);font-size:11px}.formRow label small{color:var(--amber);font-size:10px}.formRow input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--white);background:#020b0d;border-radius:4px;padding:8px 12px;font-family:inherit;font-size:13px;transition:border-color .2s}.formRow input:focus{border-color:var(--green);outline:none;box-shadow:0 0 8px #14f17a4d}.passwordInputWrapper{align-items:center;display:flex;position:relative}.passwordInputWrapper input{padding-left:54px}.passwordToggleBtn{min-height:30px;color:var(--green);cursor:pointer;background:#0a2624;border:1px solid #19524a;border-radius:3px;padding:2px 8px;font-size:11px;position:absolute;left:6px}.passwordToggleBtn:hover{background:#113d39}.authSubmitBtn{width:100%;min-height:44px;margin-top:4px;font-size:14px;font-weight:700}.authSwitchPrompt{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:4px;font-size:12px;display:flex}.authSwitchLink{color:var(--green);cursor:pointer;padding:0;font-size:12px;text-decoration:underline}#profileStatus{text-align:center;min-height:20px;color:var(--muted);margin:10px 0 0;font-size:11px}#profileStatus.success{color:var(--green)}#profileStatus.error{color:var(--red)}@keyframes profile-sheet-pop{0%{opacity:0;transform:translate(-50%,-46%)scale(.96)}to{opacity:1;transform:translate(-50%,-50%)scale(1)}}.homeHero{isolation:isolate;background:#031017;border:1px solid #124743;width:100%;min-height:clamp(230px,36dvh,310px);position:relative;overflow:hidden}.homeHero:after{content:"";z-index:7;background:linear-gradient(90deg, transparent, var(--green), transparent);height:2px;box-shadow:0 0 9px var(--green);position:absolute;inset:auto 0 0}.heroSky{background:radial-gradient(circle at 76% 18%,#26809129,#0000 25%),linear-gradient(#03101a,#08212a 64%,#061614);position:absolute;inset:0;overflow:hidden}.heroSky:before{content:"";opacity:.55;background-image:radial-gradient(circle,#8fd8d4 0 1px,#0000 1px),radial-gradient(circle,#fff0b0 0 1px,#0000 1px);background-position:22px 24px,118px 55px;background-size:101px 93px,149px 127px;position:absolute;inset:0}.heroMountain{inset-inline:-10%;clip-path:polygon(0 100%,0 72%,9% 52%,16% 69%,25% 32%,31% 52%,40% 14%,49% 60%,58% 25%,66% 55%,76% 18%,84% 54%,92% 35%,100% 69%,100% 100%);height:62px;position:absolute;bottom:42px}.heroMountainBack{opacity:.72;background:#0a2934}.heroMountainFront{opacity:.95;background:#061c25;height:47px;bottom:29px;translate:4%}.heroSkyline{opacity:.94;clip-path:polygon(0 100%,0 55%,4% 55%,4% 30%,8% 30%,8% 48%,12% 48%,12% 19%,16% 19%,16% 62%,21% 62%,21% 40%,27% 40%,27% 66%,34% 66%,34% 24%,38% 24%,38% 52%,44% 52%,44% 8%,49% 8%,49% 64%,56% 64%,56% 36%,62% 36%,62% 58%,69% 58%,69% 20%,75% 20%,75% 51%,81% 51%,81% 32%,87% 32%,87% 59%,93% 59%,93% 41%,100% 41%,100% 100%);background:linear-gradient(90deg,#061317 0 4%,#0000 4% 5%,#07181c 5% 12%,#0000 12% 13%,#061317 13% 21%,#0000 21% 23%,#081b1f 23% 29%,#0000 29% 31%,#061317 31% 38%,#0000 38% 40%,#071a1e 40% 49%,#0000 49% 51%,#061317 51% 59%,#0000 59% 61%,#081b1f 61% 69%,#0000 69% 70%,#061317 70% 79%,#0000 79% 81%,#07191d 81% 91%,#0000 91% 93%,#061317 93%);height:42px;position:absolute;inset:auto 0 17px}.heroLandmark{z-index:4;image-rendering:pixelated;filter:drop-shadow(0 0 5px #14f17a38);background-position:bottom;background-repeat:no-repeat;background-size:contain;position:absolute;bottom:3px}.heroMilad{background-image:url(./tehran-milad-CiWCpr2z.png);width:clamp(72px,21vw,100px);height:clamp(102px,29vw,138px);inset-inline-start:clamp(10px,5vw,28px)}.heroAzadi{background-image:url(./tehran-azadi-t21vP1Tq.png);width:clamp(94px,28vw,128px);height:clamp(84px,24vw,110px);inset-inline-end:clamp(10px,5vw,28px)}.heroMissile{z-index:3;top:31px;background:linear-gradient(#ff4938 0 7px,#ffc247 7px 10px,#f02b3973 10px,#0000);width:3px;height:61px;animation:7s steps(14,end) infinite home-distant-missile;position:absolute;inset-inline-end:25%;rotate:37deg;box-shadow:0 0 6px #f02b39}.heroSkyline:after{content:"";opacity:.45;background:radial-gradient(circle, var(--amber) 0 1px, transparent 1px);background-size:43px 17px;animation:3.6s steps(2,end) infinite home-city-lights;position:absolute;inset:6px 0 0}.heroTitleLockup{z-index:8;text-align:center;pointer-events:none;width:68%;margin:29px auto 0;position:relative}.homeHero .eyebrow{letter-spacing:.06em;font-size:9px}.homeHero #mainTitle{text-shadow:3px 3px #063d2b,0 0 16px #14f17a33;margin-top:2px;font-size:clamp(32px,10vw,48px);line-height:1.05}.englishTitle{color:#64bed5;letter-spacing:.28em;direction:ltr;margin:1px 0 0;font-family:monospace;font-size:8px}.homeHero .startBrief{color:#c9d6d2;background:#010a0dad;width:fit-content;margin:9px auto 0;padding:3px 7px;font-size:10px}#difficultySelection{flex-direction:column;width:100%;max-width:none;height:auto;min-height:94px;padding:8px;display:flex}.sectionHeading{justify-content:center;align-items:center;gap:5px;margin-bottom:5px;display:flex}.sectionHeading .pixelIcon{width:18px;height:18px}#difficultySelection .sectionHeading h2{color:var(--amber);margin:0;font-size:16px}.difficultyGrid{flex:1;gap:5px}.difficulty-button{min-height:54px;padding:6px 2px;transition:transform 80ms,border-color .12s,background .12s;position:relative}.difficulty-button:active,.modeButton:active,.bottomNavItem:active{transform:translateY(2px)}.difficulty-button strong{font-size:16px}.difficulty-button small{margin-top:2px;font-size:12px}.mainModeActions{grid-template-columns:1.45fr 1fr;gap:6px;width:100%;height:auto;margin:0}.mainModeActions #actualStartButton,.mainModeActions .duelEntryButton{height:100%;min-height:68px}.mainModeActions #actualStartButton{place-content:initial;text-align:start;grid-template-columns:34px 1fr;align-items:center;gap:7px;padding:7px 10px;display:grid!important}.mainModeActions #actualStartButton .pixelIcon{filter:brightness(.25);width:32px;height:32px}.mainModeActions #actualStartButton strong,.mainModeActions #actualStartButton small{display:block}.mainModeActions #actualStartButton strong{font-size:21px}.mainModeActions #actualStartButton small{color:#07502e;font-size:13px}.duelEntryButton{grid-template-columns:29px 1fr}.duelEntryButton .pixelIcon{width:27px;height:27px}.duelEntryButton strong{color:#67d3ee;font-size:18px}.duelEntryButton small,.duelEntryButton b{font-size:12px}.duelEntryButton.secondaryButton{background:linear-gradient(145deg,#071f27,#061416);border-color:#176486}.homeStats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;height:auto;display:grid}.homeStats .startStat{background:#030e11e0;border-color:#153b3b;height:100%;min-height:58px}.homeStats .startStat .pixelIcon{width:23px;height:23px}.homeStats .startStat small{font-size:12px}.homeStats .startStat strong{text-overflow:ellipsis;max-width:86px;font-size:17px;overflow:hidden}.homeStats .startStat:first-child strong{color:var(--amber)}.homeStats .startStat:nth-child(2) strong{color:var(--blue)}.homeStats .startStat:nth-child(3) strong{color:var(--green)}.homeBottomNav{z-index:18;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;width:100%;height:auto;min-height:76px;margin-top:0;padding:4px;display:grid;position:relative;box-shadow:0 -8px 20px #0000006b}.bottomNavItem{border:0;min-width:0;min-height:66px;color:var(--muted);cursor:pointer;background:0 0;border-block-start:3px solid #0000;align-content:center;justify-items:center;gap:3px;padding:4px 1px 3px;display:grid}.bottomNavItem .pixelIcon{filter:saturate(.8);width:31px;height:31px}.bottomNavItem small{white-space:nowrap;font-size:13px;line-height:1.25}.bottomNavItem.active{border-color:var(--green);color:var(--green);background:#14f17a0f}.bottomNavItem:disabled{opacity:.34;cursor:default}.homeFeatureNote{display:none}@keyframes home-distant-missile{0%,68%{opacity:0;translate:-22px -28px}72%{opacity:.8}92%{opacity:.8;translate:18px 28px}to{opacity:0;translate:24px 36px}}@keyframes home-city-lights{50%{opacity:.14}}@media (height<=740px){#startMenuContainer{grid-template-rows:auto minmax(154px,1fr) auto auto auto auto;align-content:start;overflow-y:auto}.homeHero{min-height:154px}.heroTitleLockup{margin-top:20px}#difficultySelection{min-height:90px}.difficulty-button{min-height:48px}.mainModeActions #actualStartButton,.mainModeActions .duelEntryButton{min-height:56px}.homeStats .startStat{min-height:44px}}body.game-active #settingsButton{visibility:visible;opacity:1;z-index:50;border-color:var(--green);background:#06231c;box-shadow:inset 0 0 0 1px #14f17a33,0 0 10px #14f17a38;display:grid!important}body.game-active #settingsButton .pixelIcon{width:31px;height:31px;display:block}body.duel-active #settingsButton{display:none!important}@media (width>=700px){#startMenuContainer{padding:8px}}#duelScreen.urgent #duelTimer{color:var(--red);animation:.7s steps(2,end) infinite duel-urgent}@keyframes duel-urgent{50%{opacity:.55}}#mobileCommandBar{min-height:63px;padding:5px 7px max(5px, env(safe-area-inset-bottom));z-index:6;background:#03100f;border-top:1px solid #0b302f;justify-content:space-between;align-items:stretch;gap:6px;display:none}#specialWeaponsUI,#controlsContainer{align-items:stretch;gap:5px;display:none}.weaponControl{border:1px solid var(--line);min-width:64px;min-height:50px;color:var(--white);cursor:pointer;background:#061718;border-radius:3px;grid-template-rows:1fr 1fr;grid-template-columns:29px 1fr;align-items:center;gap:0 3px;padding:3px 6px;display:grid;position:relative}.weaponControl .pixelIcon{grid-row:1/3;width:28px;height:28px}.weaponLabel{color:var(--muted);white-space:nowrap;font-size:9px}.weaponCount{color:var(--amber);font-size:15px;font-weight:400}.weaponControl.armed{border-color:var(--red);box-shadow:inset 0 0 8px #f02b3959}.weaponControl.disabled{opacity:.35}#controlsContainer .iconButton{min-width:49px;min-height:50px;color:var(--muted);flex-direction:column;gap:2px;font-size:8px;display:flex}#ammoIndicator{border:1px solid var(--green-dim);background:#061718;justify-content:center;align-items:center;gap:7px;min-width:94px;min-height:50px;display:flex}#ammoIndicator .pixelIcon{width:30px;height:30px}#ammoIndicator small,#ammoIndicator strong{display:block}#ammoIndicator small{color:var(--muted);font-size:9px}#ammoIndicator strong{color:var(--amber);font-size:19px;line-height:1}.pauseGlyph{border-inline:5px solid var(--green);width:17px;height:20px}.restartGlyph{border:3px solid var(--green);border-left-color:#0000;border-radius:50%;width:20px;height:20px;position:relative}.restartGlyph:after{content:"";border:5px solid #0000;border-top-color:var(--green);position:absolute;top:-4px;left:-5px;transform:rotate(-35deg)}#screenshotButton{display:none!important}.modalPanel{width:var(--frame-width);max-width:100%;height:var(--surface-height);z-index:100;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));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#000406c2;place-items:center;display:none;position:fixed;top:0;left:50%;overflow:auto;transform:translate(-50%)}.modalContent{border:1px solid var(--line);background:var(--panel);width:min(100%,440px);max-height:calc(100dvh - 24px);padding:18px;overflow:auto;box-shadow:0 0 0 3px #02090b,0 0 24px #0a604e4d}.modalContent>h2{color:var(--green);text-align:center;margin:0 0 12px;font-size:27px;font-weight:400}#messageText{color:var(--amber);text-align:center;margin:7px 0;font-size:23px}.scoreCaption,.finalScore,.bestWave{display:block}.scoreCaption{color:var(--muted);font-family:Vazirmatn,Tahoma,sans-serif;font-size:12px}.finalScore{color:var(--amber);margin-top:4px;font-size:30px;line-height:1.25}.bestWave{color:var(--white);margin-top:7px;font-size:15px}#messageSubText{color:var(--white);text-align:center;margin:4px 0;font-family:Vazirmatn,Tahoma,sans-serif;font-size:13px}#messageBonusText{color:var(--green);text-align:center;margin:8px 0;font-size:14px}#messageBox[data-mode=game-over] .modalContent{border-color:#79222a}#messageBox[data-mode=game-over] h2{color:var(--red)}#gameOverCommander{border-block:1px solid var(--line);text-align:start;background:linear-gradient(90deg,#0731279e,#041315bf);align-items:center;gap:10px;margin:-4px 0 11px;padding:9px 11px;display:none}#gameOverCommander .profileAvatarIcon{width:42px;height:42px}#gameOverCommander>span:last-child{flex:1;min-width:0}#gameOverCommander small,#gameOverCommander strong,#gameOverCommander em{display:block}#gameOverCommander small{color:var(--muted);font-size:9px}#gameOverCommander strong{color:var(--green);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:500;overflow:hidden}#gameOverCommander em{color:var(--muted);font-size:9px;font-style:normal}#messageBox[data-mode=game-over] #gameOverCommander{display:flex}#gameOverRank{border:1px dashed var(--line);text-align:center;width:130px;color:var(--muted);margin:12px auto;padding:7px;display:none}#gameOverRank small,#gameOverRank strong{display:block}#gameOverRank strong{color:var(--white);font-size:18px}#gameOverEconomy{justify-content:center;gap:8px;margin:8px 0;display:flex}#gameOverEconomy>span{border:1px solid var(--line);text-align:center;min-width:125px;padding:7px}#gameOverEconomy small,#gameOverEconomy strong,#gameOverEconomy em{display:block}#gameOverEconomy small{color:var(--muted);font-size:10px}#gameOverEconomy strong{color:var(--amber)}#gameOverEconomy em{color:var(--muted);margin-top:3px;font-size:9px;font-style:normal}#statsContainer{color:var(--muted);text-align:start;border-block:1px solid #193332;grid-template-columns:1fr 1fr;gap:5px 12px;margin:12px 0;padding:10px 0;font-family:Vazirmatn,Tahoma,sans-serif;font-size:11px;display:none}#statsContainer span{overflow-wrap:anywhere;min-width:0}#scoreSubmission{text-align:center;margin-top:10px;display:none!important}#scoreSubmission label{color:var(--amber);font-size:13px}.submitRow{gap:5px;margin-top:6px;display:flex}#playerNameInput{border:1px solid var(--green-dim);min-width:0;height:44px;color:var(--white);text-align:center;background:#071313;flex:1;padding:8px 10px}#submitScoreButton{border:1px solid var(--green);min-width:62px;color:var(--green);background:#0a2a20}#submissionStatus{min-height:20px;margin-top:5px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:11px}.messageBoxButtons{flex-wrap:wrap;justify-content:center;gap:7px;margin-top:14px;display:flex}.messageBoxButtons button{flex:120px;justify-content:center;align-items:center;gap:5px;display:inline-flex}.messageBoxButtons .pixelIcon{width:23px;height:23px}#messageBox[data-mode=wave-complete] #messageScreenshotButton,#messageBox[data-mode=wave-complete] #messageRestartButton,#messageBox[data-mode=wave-complete] #gameOverMainMenuButton,#messageBox[data-mode=wave-complete] #scoreSubmission,#messageBox[data-mode=wave-complete] #statsContainer,#messageBox[data-mode=wave-complete] #gameOverRank,#messageBox[data-mode=game-over] #skipStoreButton{display:none!important}.storePanel{place-items:stretch center;padding:0}.storePanel .modalContent{width:100%;height:100%;min-height:0;max-height:none;padding:max(13px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));flex-direction:column;display:flex}.storeHeader{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;padding:0 4px 9px;display:flex}.storeHeader p,.storeHeader h2{margin:0;font-weight:400}.storeHeader p{color:var(--muted);font-size:10px}.storeHeader h2{color:var(--green);font-size:24px}.storeHeader>strong{color:var(--amber);align-items:center;gap:4px;font-size:16px;font-weight:400;display:flex}.storeHeader>strong .pixelIcon{width:24px;height:24px}#storeItemsContainer{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 1px;display:grid;overflow:auto}.storeItem{background:linear-gradient(145deg,#083023bf,#031213eb);border:1px solid #0c4b3e;grid-template-rows:1fr auto;grid-template-columns:42px 1fr;align-items:center;gap:4px 7px;min-height:119px;padding:8px;display:grid}.storeItemIcon{grid-row:1;width:40px;height:40px}.storeItemInfo{min-width:0}.storeItemInfo>*{display:block}.storeItemInfo strong{color:var(--white);font-size:13px;font-weight:400}.storeItemInfo span{font-size:10px}.itemStock,.itemLevel{color:var(--muted)}.itemCost{color:var(--amber);margin-top:3px}.storeItemButtons{grid-column:1/-1;justify-content:end;gap:4px;display:flex}.buyButton{min-height:35px;color:var(--green);padding:4px 12px;font-size:12px}.buyMultipleButton{color:var(--blue);border-color:#176486}.buyButton:disabled{opacity:.28;filter:grayscale();cursor:not-allowed}.stickyAction{width:100%;margin-top:auto}.storeTabs{grid-template-columns:repeat(2,1fr);gap:5px;padding:8px 2px;display:grid}.storeTab{border:1px solid var(--line);min-height:44px;color:var(--muted);background:#051416;font-size:11px}.storeTab.active{border-color:var(--green);color:var(--green);background:#073021}.storeTabs[hidden],.is-market #storeNotice{display:none}.marketPaymentStatus{border:1px solid var(--amber);color:var(--amber);background:#271a05;flex-shrink:0;margin:8px 0;padding:10px;font-size:11px;line-height:1.8}#marketPanel{flex:1}#marketPanel .marketNotice{margin:4px 0 10px;font-size:11px;line-height:1.9}#marketCatalog .marketCard{border-color:#705320;grid-template-rows:auto 1fr auto;gap:10px;min-height:220px}#marketCatalog .marketCard small{margin-top:7px;font-size:11px;line-height:1.8}.marketPrice{grid-column:1/-1;align-self:end}.marketPrice del{color:var(--muted);font-size:11px}.marketPrice strong{color:var(--amber);margin-top:6px}.marketSaving{color:var(--green);font-size:10px}#marketCatalog .marketBuyButton{min-height:44px;font-family:inherit}.marketBuyButton:focus-visible{outline:2px solid var(--white);outline-offset:2px}@media (width<=360px){#marketCatalog{grid-template-columns:1fr}}#storeNotice{text-align:center;min-height:25px;color:var(--muted);font-size:11px}#storeNotice.error{color:var(--red)}#storeNotice.success{color:var(--green)}.inlineMarketButton{border:1px solid var(--amber);color:var(--amber);background:#2c1b04;margin-inline-start:8px}.storeTabPanel{min-height:0;overflow:auto}.economyCatalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:4px 1px 8px;display:grid}.economyCard{background:linear-gradient(145deg,#083023bf,#031213f5);border:1px solid #0c4b3e;grid-template-rows:1fr auto;grid-template-columns:42px 1fr;gap:5px;min-height:145px;padding:8px;display:grid}.economyCard>.pixelIcon{width:40px;height:40px}.economyCard div>*{display:block}.economyCard strong{font-size:12px}.economyCard small{color:var(--muted);font-size:9px}.economyCard em{color:var(--blue);font-size:9px;font-style:normal}.economyBuyButton,.marketBuyButton{border:1px solid var(--green);min-height:40px;color:var(--green);background:#08241c;grid-column:1/-1;font-size:10px}.economyBuyButton .coinIcon{width:14px;height:14px;margin-inline-end:4px}.marketBuyButton{border-color:var(--amber);color:var(--amber);background:#271a05}.marketNotice{color:var(--muted);margin:0 2px 5px;font-size:10px}.productBadge{color:#00170c;background:var(--green);padding:1px 3px;font-size:8px;display:inline!important}.purchaseSuccess{animation:.35s steps(2,end) purchase-ok}@keyframes purchase-ok{50%{filter:brightness(1.8);transform:scale(.98)}}.economyCard.targetHighlight{animation:1.2s ease-in-out infinite alternate target-pulse;box-shadow:0 0 16px #ffd06499,inset 0 0 12px #ffd06440;border-color:#ffd064!important}@keyframes target-pulse{0%{border-color:#e4c875;box-shadow:0 0 8px #ffd06466,inset 0 0 6px #ffd06426}to{border-color:#ffe699;box-shadow:0 0 20px #ffd064cc,inset 0 0 16px #ffd06459}}.defensePlatformShowcase{background:radial-gradient(circle at 82% 36%,#14f17a24,#0000 33%),linear-gradient(160deg,#061c1c,#020b0d);border:1px solid #176959;min-height:132px;margin:2px 1px 7px;padding:16px 142px 12px 12px;position:relative;overflow:hidden}.defensePlatformShowcase:after{content:"";background:linear-gradient(90deg,transparent,var(--green),transparent);height:2px;position:absolute;inset:auto 0 15px;box-shadow:0 0 12px #14f17a8c}.defensePlatformShowcase>div:last-child{z-index:2;position:relative}.defensePlatformShowcase small,.defensePlatformShowcase strong,.defensePlatformShowcase p{margin:0;display:block}.defensePlatformShowcase small{color:var(--muted);font-size:9px}.defensePlatformShowcase strong{color:var(--green);margin-top:5px;font-size:14px}.defensePlatformShowcase p{color:#c9d9d4;margin-top:7px;font-size:9px;line-height:1.7}.platformBase{background:#123e36;border:2px solid #4db89a;width:78px;height:15px;position:absolute;bottom:17px;right:42px;box-shadow:0 0 0 3px #061313}.platformLauncher{clip-path:polygon(10% 100%,20% 42%,42% 22%,58% 22%,80% 42%,90% 100%);background:#173c3c;border:2px solid #94c8b8;width:46px;height:47px;position:absolute;bottom:32px;right:57px}.platformLauncher i{transform-origin:bottom;background:#ecf2db;border:1px solid #14f17a;width:6px;height:37px;position:absolute;bottom:20px}.platformLauncher i:first-child{right:8px;transform:rotate(18deg)}.platformLauncher i:nth-child(2){right:19px}.platformLauncher i:nth-child(3){right:30px;transform:rotate(-18deg)}.platformRadar{border:2px dotted #2b91d7;border-radius:50%;width:33px;height:33px;animation:3s linear infinite platform-radar;position:absolute;bottom:50px;right:18px}.platformRadar:after{content:"";transform-origin:bottom;background:#73c9ff;width:2px;height:14px;position:absolute;top:2px;left:15px}.platformRadar i{background:#50736e;width:5px;height:24px;position:absolute;bottom:-24px;left:14px}@keyframes platform-radar{to{transform:rotate(360deg)}}.upgradeCatalog{padding-bottom:12px}.upgradeCard{border-color:#177b62;min-height:176px}.upgradeCard small{min-height:31px;line-height:1.55}.upgradePips{direction:ltr;gap:3px;margin:7px 0 4px;display:flex!important}.upgradePips i{background:#041313;border:1px solid #1f6a5a;width:15px;height:5px}.upgradePips i.filled{border-color:var(--green);background:var(--green);box-shadow:0 0 5px #14f17a80}.economyBuyButton:disabled{color:#668078;cursor:not-allowed;background:#071211;border-color:#29453f}@media (prefers-reduced-motion:reduce){.platformRadar{animation:none}}.attemptCountdownLabel{text-align:center;color:var(--muted)}.attemptCountdownLabel strong{color:var(--amber);margin:8px;font-size:28px;display:block}.compactModal .modalContent{width:min(100%,390px)}.resumeRunCard{text-align:center}.resumeRunIcon{width:48px;height:48px;margin:0 auto 4px}.resumeRunCard h2{color:var(--amber)}#resumeRunSummary{color:var(--green);font-size:16px}.resumeRunHint{color:var(--muted);font-size:11px}.panelHeading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.panelHeading h2{color:var(--green);margin:0;font-size:22px;font-weight:400}.closeButton{color:var(--red);font-size:25px;line-height:1}.settingsList{gap:7px;display:grid}.settingRow{border:1px solid var(--line);background:#061213;grid-template-rows:auto auto;grid-template-columns:34px 1fr auto;align-items:center;gap:3px 8px;min-height:59px;padding:7px;display:grid}.settingRow .pixelIcon{grid-row:1/3;width:31px;height:31px}.settingRow label{color:var(--white);font-size:13px}.settingToggle{min-height:34px;color:var(--green);padding:4px 8px;font-size:11px}.settingRow input[type=range]{width:100%;accent-color:var(--green);grid-column:2/4}.switchRow{cursor:pointer;grid-template-rows:1fr;grid-template-columns:34px 1fr auto}.switchRow .pixelIcon{grid-row:1}.switchRow input{width:42px;height:22px;accent-color:var(--green)}#settingsGameActions{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:7px;margin-top:12px;padding-top:12px;display:grid}#settingsGameActions button{justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:12px;display:flex}#settingsGameActions .restartGlyph{width:17px;height:17px}.tutorialModal .modalContent{border:1px solid var(--green-dim);background:radial-gradient(circle at 50% 0,#0a382d73,#030e10fa 70%);width:min(100%,420px);padding:16px;box-shadow:0 0 0 3px #02090b,0 0 30px #0a604e66}.tutorialHeader{border-bottom:1px solid var(--line);margin-bottom:10px;padding-bottom:8px}.tutorialHeaderTitle{align-items:center;gap:8px;display:flex}.tutorialHeaderTitle h2{color:var(--green);margin:0;font-size:20px}.tutorialProgress{background:#03151499;border:1px solid #113632;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;padding:4px 6px;display:flex}.tutorialStepPips{align-items:center;gap:6px;display:flex}.tutorialPip{cursor:pointer;background:#041615;border:1px solid #165243;width:22px;height:6px;padding:0;transition:all .2s}.tutorialPip.active{background:var(--green);border-color:#2efda1;box-shadow:0 0 8px #2efda199}.tutorialStepCounter{color:var(--amber);font-family:Vazirmatn,Tahoma,sans-serif;font-size:11px;font-weight:500}.tutorialSlide{flex-direction:column;gap:8px;min-height:285px;display:flex}.tutorialBadge{color:var(--green);letter-spacing:.5px;background:#14f17a1f;border:1px solid #14f17a59;align-self:flex-start;padding:2px 8px;font-size:10px;display:inline-block}.tutorialSlideTitle{color:var(--white);margin:0;font-family:Vazirmatn,Tahoma,sans-serif;font-size:17px;font-weight:600}.tutorialVisualArea{background:#020d0f;border:1px solid #164a3e;width:100%;height:150px;margin:2px 0 6px;position:relative;overflow:hidden;box-shadow:inset 0 0 15px #000c}.tutorialVisualArea canvas{width:100%;height:100%;display:block}.tutorialSlideDesc{color:#c5dcd5;min-height:44px;margin:0;font-family:Vazirmatn,Tahoma,sans-serif;font-size:13px;line-height:1.65}.tutorialTacticalNote{border-right:3px solid var(--amber);color:var(--amber);background:linear-gradient(90deg,#082c23b3,#041213cc);border-block:1px solid #133c33;align-items:flex-start;gap:8px;padding:8px 10px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:11px;line-height:1.55;display:flex}.tutorialTacticalNote .pixelIcon{flex-shrink:0;width:18px;height:18px;margin-top:1px}.tutorialActions{border-top:1px solid var(--line);grid-template-rows:auto auto;grid-template-columns:1fr 1.3fr;gap:8px;margin-top:12px;padding-top:10px;display:grid}.tutorialNavBtn{min-height:44px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:13px}.tutorialFinishBtn{color:#fff;background:#0e4b39;border-color:#2efda1;font-weight:700;box-shadow:0 0 12px #2efda159}.tutorialSkipBtn{color:var(--muted);text-align:center;grid-column:1/-1;min-height:32px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:12px}.tutorialSkipBtn:hover{color:var(--white)}.tacticalPanel{width:var(--frame-width);max-width:100%;height:var(--surface-height);z-index:60;padding:max(58px, calc(env(safe-area-inset-top) + 48px)) 18px max(22px, env(safe-area-inset-bottom));border:1px solid var(--line);background:#020e10fc;position:fixed;top:0;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 0 30px #000}#leaderboardContainer{box-sizing:border-box;width:min(580px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));height:min(720px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));border:1px solid var(--green-dim);max-width:none;max-height:none;color:var(--white);direction:rtl;background:#041416;border-radius:12px;margin:auto;padding:16px;font-family:Vazirmatn,Tahoma,sans-serif;position:fixed;inset:0;overflow:hidden}#leaderboardContainer:not([open]){display:none}#leaderboardContainer{top:calc(16px + env(safe-area-inset-top));bottom:calc(16px + env(safe-area-inset-bottom))}#leaderboardContainer[open]{flex-direction:column;display:flex}#leaderboardContainer::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000508db}.leaderboardHeader{flex-shrink:0;justify-content:space-between;align-items:start;gap:12px;padding-bottom:12px;display:flex}.leaderboardHeader small{color:var(--amber);font-size:11px}.leaderboardHeader h2{color:var(--green);margin:4px 0;font-size:22px}.leaderboardHeader p{color:var(--muted);margin:0;font-size:12px}#leaderboardCloseButton{flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;font-size:24px;position:static}.leaderboardColumns,.leaderboardRow{grid-template-columns:48px minmax(0,1fr) minmax(80px,auto);align-items:center;gap:4px 10px;display:grid}.leaderboardColumns{border-block:1px solid var(--line);color:var(--muted);flex-shrink:0;padding:9px 10px;font-size:11px}.leaderboardColumns>:last-child{text-align:end}#leaderboardStatus{color:var(--muted);flex-shrink:0;margin:0;padding:8px 0;font-size:12px}#leaderboardStatus:empty{padding:0}#leaderboardStatus button{min-height:44px;margin:8px}#leaderboardList{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;margin:0;padding:4px 0;list-style:none;overflow-y:auto}.leaderboardRow{border-bottom:1px solid var(--line);min-height:64px;padding:10px;font-size:13px}.leaderboardRow:nth-child(2n){background:#ffffff06}.leaderboardRow .rank{color:var(--muted);text-align:center;font-variant-numeric:tabular-nums;grid-area:1/1/3}.leaderboardRow .name{text-overflow:ellipsis;white-space:nowrap;grid-area:1/2;min-width:0;font-weight:600;overflow:hidden}.leaderboardRow .wave{color:var(--muted);grid-area:2/2;font-size:11px}.leaderboardRow .score{text-align:end;color:var(--amber);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;grid-area:1/3/3;font-weight:700}.leaderboardRow.podium .rank{color:var(--amber);font-weight:800}.leaderboardRow.is-self{box-shadow:inset -3px 0 var(--green);background:#10382a}.leaderboardFooter{border-top:1px solid var(--green-dim);flex-shrink:0;margin-top:8px;padding-top:10px}.leaderboardFooter h3{color:var(--green);margin:0 0 6px;font-size:12px}#leaderboardOwnRecord{color:var(--muted);font-size:12px}#leaderboardOwnRecord .leaderboardRow{border-bottom:0}#leaderboardContainer :focus-visible{outline:2px solid var(--amber);outline-offset:-2px}@media (width<=380px){#leaderboardContainer{padding:12px}.leaderboardHeader h2{font-size:18px}.leaderboardColumns,.leaderboardRow{grid-template-columns:34px minmax(0,1fr) 76px;gap:4px 6px}.leaderboardRow{padding-inline:6px;font-size:12px}}@media (height<=450px){.leaderboardHeader{padding-bottom:4px}.leaderboardHeader small,.leaderboardHeader p{display:none}.leaderboardFooter{margin-top:4px;padding-top:4px}.leaderboardRow{min-height:48px;padding-block:6px}}.pwa-install-instructions{z-index:200;inset:auto 10px max(10px, env(safe-area-inset-bottom));border:1px solid var(--line);max-width:400px;color:var(--white);background:#071414;margin:auto;padding:13px;font-family:Vazirmatn,Tahoma,sans-serif;font-size:12px;display:none;position:fixed}.pwa-install-instructions button{border:1px solid var(--green);min-height:36px;color:var(--green);background:#08221b}#playerStatsModal{box-sizing:border-box!important;border:1px solid var(--green-dim)!important;background:#030f11fa!important;border-radius:0!important;font-family:Vazirmatn,Tahoma,sans-serif!important;box-shadow:0 0 24px #000!important}#closeStatsButton{border:1px solid var(--green);min-height:44px;color:var(--green);background:#08251c;font-family:Vazirmatn,Tahoma,sans-serif}@keyframes screen-shake{0%,to{transform:translate(0)}25%{transform:translate(3px,-2px)}50%{transform:translate(-2px,2px)}75%{transform:translate(2px,1px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important}.scanlines{display:none}}@media (width<=370px){:root{--frame-width:min(100vw, calc((100dvh - 116px) * .5625))}.homeTopBar{gap:4px;padding:3px 4px;padding-inline-end:48px}body:not(.game-active):not(.duel-active) #settingsButton{width:38px;min-width:38px;height:38px;min-height:38px;inset-inline-end:12px}.resourceChip{height:38px;padding:2px 5px}.coinChip{gap:4px;min-width:52px;padding:2px 5px}.coinChip small{font-size:8.5px}.coinChip strong{font-size:12px}.attemptBattery{gap:5px;padding:2px 5px}.batteryGauge{gap:1.5px;width:38px;height:18px;padding:2px}.attemptMeta strong{font-size:11.5px}.attemptMeta .attemptTimer{font-size:9px}.homeTopBar .profilePanel summary{gap:5px;height:38px;padding:2px 4px}.homeTopBar .profilePanel summary .profileAvatarIcon{width:24px;height:24px}.homeTopBar .profilePanel summary small{font-size:9px}.homeTopBar .profilePanel summary strong{font-size:11.5px}#uiContainer{gap:0;min-height:56px;padding-inline-start:4px}.hudItem .pixelIcon{width:21px;height:21px}.hudItem strong{font-size:13px}.hudItem small{font-size:9px}#mobileCommandBar{min-height:59px;padding-inline:4px}.weaponControl{min-width:59px;padding-inline:4px}.weaponLabel{font-size:8px}#controlsContainer .iconButton{min-width:45px}.controlLabel{display:none}.difficulty-button strong{font-size:14px}.difficulty-button small{font-size:11px}.bottomNavItem .pixelIcon{width:28px;height:28px}.bottomNavItem small{font-size:11px}.storeItem{grid-template-columns:35px 1fr;min-height:111px;padding:6px}.storeItemIcon{width:34px;height:34px}.economyCard{min-height:137px;padding:6px}.economyCard>.pixelIcon{width:34px;height:34px}.duelMetric .pixelIcon{display:none}.duelHp{width:58px}}@media (width>=700px){:root{--surface-height:min(calc(100dvh - 24px), 960px)}body{place-items:center;padding-block:12px}#gameShell{min-height:var(--surface-height);height:var(--surface-height);border:1px solid #183b3b;border-radius:8px;overflow:hidden}#startMenuContainer{min-height:100%}.modalPanel,.tacticalPanel{top:50%;transform:translate(-50%,-50%)}}@media (orientation:landscape) and (height<=600px){body:before{content:"برای بهترین تجربه، گوشی را عمودی نگه دارید";z-index:999;color:var(--amber);text-align:center;background:#02080b;place-items:center;padding:30px;font-size:22px;display:grid;position:fixed;inset:0}}#duelResultTitle.defeat{color:var(--red)}.homeHero{min-height:clamp(280px,39dvh,370px)}#homeBattleVideo{object-fit:fill;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.heroTitleLockup{width:86%;margin:14px auto 0}.homeHero #mainTitle{font-size:clamp(32px,8vw,46px)}.homeHero .startBrief{color:#aec6c6;text-shadow:0 2px 3px #02090e;background:0 0;margin-top:5px}@media (height<=740px){.homeHero{min-height:250px}.heroTitleLockup{margin-top:10px}}.menuInfoDialog{border:1px solid var(--green);width:min(92vw,460px);max-height:90dvh;color:var(--white);direction:rtl;background:#06191c;padding:22px;font-family:inherit;overflow:auto;box-shadow:0 18px 60px #000b}.menuInfoDialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000b}.stageSelectionDialog{width:min(94vw,540px);max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:18px;overflow:hidden}.stageSelectionDialog[open]{flex-direction:column;display:flex}.stageSelectionDialog>:not(.stageSelectionGrid){flex-shrink:0}.stageSelectionDialog .panelHeading{margin-bottom:4px}.stageSelectionDialog .panelHeading h2{margin:0}.stageSelectionDialog .closeButton{min-width:44px;min-height:44px}.stageSelectionDialog p{margin:5px 0;font-size:12px;line-height:1.8}.stageDifficultyFilters{overscroll-behavior-x:contain;gap:6px;padding:6px 2px 10px;display:flex;overflow-x:auto}.stageModeFilter{border:1px solid var(--line);min-height:44px;color:var(--muted);background:#051b1a;flex:none;padding:8px 12px;font:12px Vazirmatn,Tahoma,sans-serif}.stageModeFilter[aria-pressed=true]{color:var(--green);border-color:var(--green);background:#10382a}.stageModeFilter:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}.stageDifficultyNote{color:var(--muted);font-size:11px;line-height:1.8}.stageSelectionGrid{overscroll-behavior:contain;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0;max-height:45dvh;margin:12px 0;padding:4px;display:grid;overflow-y:auto}.stageChoice{min-height:88px;color:var(--white);border:1px solid var(--line);background:#082421;gap:4px;padding:8px 4px;font-family:inherit;display:grid}.stageChoice strong{color:var(--green);font-size:14px}.stageChoice span{font-size:13px}.stageChoice small{color:var(--muted);font-size:10px}.stageChoice[aria-pressed=true]{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:#123c30}.stageChoice:disabled{opacity:.45;cursor:not-allowed}.stageChoice:focus-visible{outline:2px solid var(--amber);outline-offset:2px}@media (width<=360px){.stageSelectionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}.menuInfoDialog h2{color:var(--green);margin:0 0 12px;font-size:22px}.menuInfoDialog p{color:var(--muted);font:14px/1.9 Vazirmatn,Tahoma,sans-serif}.menuInfoDialog>button{width:100%;min-height:44px}.menuInfoDialog:not([open]){display:none}#batteryInfoButton{cursor:pointer;color:inherit}.duelRecord{white-space:nowrap;direction:rtl}.duelRecord b{font-weight:inherit}#startMultiplayerLosses{color:var(--red)}.itemHelpTitle{font:inherit;color:var(--white);text-align:right;cursor:pointer;background:0 0;border:0;min-height:36px;padding:0;font-size:13px}.itemHelpTitle:hover{color:var(--green)}.itemHelp{border-top:1px solid var(--line);grid-column:1/-1;font:12px/1.8 Vazirmatn,Tahoma,sans-serif}.itemHelp summary{cursor:pointer;color:var(--green);min-height:40px;padding:8px 0}.itemHelp p{color:var(--white);margin:6px 0}.itemHelp .itemUsage{color:var(--muted)}.economyCard:has(details[open]){border-color:var(--green)}.economyCatalog{align-items:start}.demoCaption{text-align:center;display:block}#equipmentGuide h3{color:var(--amber);margin-bottom:0;font-size:15px}#equipmentGuide .itemHelp{margin-bottom:12px}#startMenuContainer{grid-template-rows:auto minmax(230px,1fr) auto auto auto}.difficultyDialog #difficultySelection{background:0 0;border:0;padding:0}.difficultyDialog .sectionHeading{display:none}.difficultyDialog .difficultyGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 20px;display:grid}.difficultyDialog .difficultyCard{--rank:#63edac;border:1px solid var(--rank);background:#061619;flex-direction:column;align-items:center;min-height:165px;padding:9px 4px;display:flex}.difficultyDialog .difficultyCard:nth-child(2){--rank:#e4c875}.difficultyDialog .difficultyCard:nth-child(3){--rank:#e98b4b}.difficultyDialog .difficultyCard:nth-child(4){--rank:#f05865}.difficultyDialog .difficultyCard strong{color:var(--rank)}.difficultyDialog .difficultyCard.selected{outline:2px solid var(--rank);outline-offset:2px;background:#14302c}.difficultyPortrait{width:110px;height:110px;image-rendering:pixelated;background-image:url(./difficulty-portraits-BdgRXTCr.png);background-size:400% 100%;display:block}.portrait0{background-position:0 0}.portrait1{background-position:33.333% 0}.portrait2{background-position:66.666% 0}.portrait3{background-position:100% 0}@media (height<=740px){#startMenuContainer{grid-template-rows:auto minmax(154px,1fr) auto auto auto}.difficultyPortrait{width:90px;height:90px}.difficultyDialog .difficultyCard{min-height:140px}}#upgradeCatalog,#warehouseCatalog{grid-template-columns:minmax(0,1fr);gap:10px}.economyCard.helpCard{perspective:900px;min-height:0;padding:0;transition:border-color .3s,background .3s;display:block;overflow:hidden}.helpCard.is-expanded{border-color:var(--green);background:#0a2424}.helpCard .cardTurn{height:118px;transition:height .45s;display:block}.helpCard.is-expanded .cardTurn{height:66px}.helpCard .cardFaces{height:100%;transform-style:preserve-3d;transition:transform .48s cubic-bezier(.2,.7,.2,1);display:block;position:relative}.helpCard.is-expanded .cardFaces{transform:rotateY(180deg)}.helpCard .cardFront,.helpCard .cardBack{text-align:right;width:100%;height:100%;color:var(--white);font:inherit;backface-visibility:hidden;cursor:pointer;background:#071d20;border:0;align-items:center;gap:12px;padding:12px;display:flex;position:absolute;inset:0}.helpCard .cardBack{background:#0b2928;flex-wrap:wrap;align-content:center;transform:rotateY(180deg)}.helpCard .cardBack>span:last-child{color:var(--green);margin-inline-start:auto;font-size:11px}.helpCard .pixelIcon{flex-shrink:0;width:40px;height:40px}.helpCard .cardSummary{flex:1;min-width:0}.helpCard .cardSummary>*{display:block}.helpCard strong{font-size:14px}.helpCard small{min-height:0;font-size:11px;line-height:1.8}.helpCard em{font-size:11px}.helpCard .cardHint{color:var(--green);white-space:nowrap;align-self:flex-end;font-size:10px}.helpCard .cardReveal{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .45s,opacity .3s;display:grid}.helpCard.is-expanded .cardReveal{opacity:1;grid-template-rows:1fr}.helpCard .cardRevealClip{min-height:0;display:block;overflow:hidden}.helpCard .cardExplanation{padding:0 12px 8px;font:12px/1.9 Vazirmatn,Tahoma,sans-serif;display:block}.helpCard .cardExplanation p{color:var(--white);margin:10px 0}.helpCard .cardExplanation .itemUsage{color:var(--muted)}.itemPreview{aspect-ratio:480/250;width:100%;height:auto;image-rendering:pixelated;background:#020a0f;border:1px solid #245453;display:block!important}.helpCard .economyBuyButton{justify-content:center;align-items:center;gap:7px;width:calc(100% - 20px);margin:0 10px 10px;display:flex}.helpBattery{justify-content:center;align-items:center;gap:22px;padding:22px 0;display:flex!important}.helpBattery .batteryGauge{display:flex!important}.helpBattery .batteryGauge i{display:block}.itemHelp:not([open])>:not(summary){display:none!important}@media (width<=370px){.helpCard .cardHint{display:none}.helpCard .cardFront{gap:8px}}@media (prefers-reduced-motion:reduce){.helpCard .cardFaces,.helpCard .cardReveal,.helpCard .cardTurn{transition:none}}#upgradeCatalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.componentCard{text-align:center;flex-direction:column;align-items:stretch;gap:8px;min-height:0;padding:10px;display:flex}.componentCard .upgradePart{object-fit:contain;width:100%;height:84px;image-rendering:pixelated;background:radial-gradient(#183036,#051013);border:1px solid #24413f;display:block}.componentCard strong{font-size:13px}.componentCard em{font-size:10px;line-height:1.8}.componentCard .upgradePips{justify-content:center}.componentCard .economyBuyButton{justify-content:center;align-items:center;gap:5px;width:100%;min-height:42px;margin-top:auto;display:flex}.defensePlatformShowcase{text-align:center;flex-direction:column;align-items:center;min-height:0;padding:12px;display:flex}.defensePlatformShowcase:after{display:none}.defensePlatformShowcase #platformLiveArt{width:100%;max-width:320px;height:auto;image-rendering:pixelated;display:block}.defensePlatformShowcase>div:last-child{margin-top:-6px}#messageBox[data-mode=wave-complete] .modalContent{background:radial-gradient(at top,#113c32,#051215 65%);border-color:#2ba97b;animation:.45s ease-out wave-report-in}#messageBox[data-mode=wave-complete] h2{color:#90ffc9;margin-bottom:8px;font-size:24px}#messageBox[data-mode=wave-complete] .finalScore{font-size:27px}.waveReport{margin:12px 0}.savedBuildings{border-block:1px solid #255043;justify-content:center;align-items:center;gap:12px;padding:10px;display:flex}.savedBuildings .pixelIcon{width:34px;height:34px}.savedBuildings strong,.savedBuildings small{display:block}.savedBuildings small{color:var(--muted);margin-top:4px;font-size:10px}.salvoReward{background:#09251f;border:1px solid #367357;margin-top:12px;padding:12px}.salvoReward>strong{color:#bfffcf;font-size:15px}.salvoReward p{color:#cbdfd5;margin:7px 0;font-size:12px;line-height:1.9}.salvoReward .salvoHint{color:var(--muted);margin-bottom:0;font-size:11px}.salvoVisual{justify-content:center;align-items:center;gap:5px;height:42px;display:flex;overflow:hidden}.rewardMissile{width:36px;height:36px;image-rendering:pixelated;animation:2.4s ease-in-out infinite reward-salvo;animation-delay:calc(var(--shot)*60ms);background:url(data:image/png;base64,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) 50%/contain no-repeat}.salvoNumbers{grid-template-columns:1fr 1fr;gap:8px;display:grid}.salvoNumbers>span{color:var(--muted);background:#031611;padding:7px;font-size:11px}.salvoNumbers strong{color:#f3cd74;margin-top:2px;font-size:19px;display:block}#messageBox[data-mode=wave-complete] #messageBonusText{border-inline-start:2px solid var(--amber);text-align:right;color:var(--amber);padding:8px;font:11px/1.9 Vazirmatn,Tahoma,sans-serif}@keyframes wave-report-in{0%{opacity:0;translate:0 12px}to{opacity:1;translate:0}}@keyframes reward-salvo{0%,25%,to{opacity:.65;transform:translateY(4px)}55%{opacity:1;transform:translateY(-6px)}}.localTestNotice{z-index:500;bottom:0;text-align:center;color:#ffdfa0;pointer-events:none;background:#603f08;padding:3px;font:10px/1.6 Vazirmatn,Tahoma,sans-serif;position:fixed;inset-inline:0}.tutorialSpotlightOverlay{z-index:1200;pointer-events:auto;background:0 0;transition:background-color .22s;position:fixed;inset:0;overflow:hidden}.tutorialSpotlightOverlay[hidden]{display:none!important}.tutorialSpotlightBox{box-shadow:0 0 0 9999px #020608d6, 0 0 16px var(--green), inset 0 0 12px #14f17a59;border:2px solid var(--green);pointer-events:auto;cursor:default;border-radius:8px;transition:all .35s cubic-bezier(.2,.8,.2,1);position:absolute}.tutorialSpotlightBox.circleBox{border-radius:50%}.tutorialSpotlightBox.pulseTarget{cursor:crosshair;animation:1.4s ease-in-out infinite spotlight-pulse}.tutorialSpotlightReticle{border:1px dashed var(--green);pointer-events:none;border-radius:50%;animation:6s linear infinite reticle-spin;display:none;position:absolute;inset:-6px}.tutorialSpotlightBox.pulseTarget .tutorialSpotlightReticle{display:block}.tutorialSpotlightCard{background:var(--panel);border:1px solid var(--green);width:min(100vw - 24px,360px);max-height:calc(100dvh - 24px);color:var(--white);text-align:right;z-index:1202;pointer-events:auto;direction:rtl;border-radius:6px;padding:14px 16px;transition:top .38s,left .38s,opacity .22s,transform .22s;position:absolute;overflow-y:auto;box-shadow:0 12px 35px #000000e6,0 0 12px #14f17a33}.spotlightCardHeader{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.spotlightTitle{color:var(--green);margin:0 0 6px;font-size:15px;font-weight:700}.spotlightText{color:#d2e4df;margin:0 0 12px;font-size:13px;line-height:1.85}.spotlightActions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.spotlightActions button{min-height:44px;padding:6px 14px;font-size:13px}.tutorialSpotlightOverlay.is-transitioning{background-color:#020c0e}.tutorialSpotlightOverlay.is-transitioning .tutorialSpotlightCard,.tutorialSpotlightOverlay.is-transitioning .tutorialSpotlightBox{opacity:0;pointer-events:none}.tutorialSpotlightOverlay.is-transitioning .tutorialSpotlightCard{transform:translateY(8px)}#guestCommanderIdentity{overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;color:var(--muted);font-size:12px}@media (prefers-reduced-motion:reduce){.tutorialSpotlightOverlay,.tutorialSpotlightBox,.tutorialSpotlightCard{transition:none!important}.tutorialSpotlightBox.pulseTarget,.tutorialSpotlightReticle{animation:none!important}}@keyframes spotlight-pulse{0%,to{box-shadow:0 0 0 9999px #020608d6, 0 0 12px var(--green), inset 0 0 8px #14f17a4d}50%{box-shadow:0 0 0 9999px #020608d6, 0 0 24px var(--green), inset 0 0 18px #14f17a80}}@keyframes reticle-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.componentCard{background:linear-gradient(145deg,#1a2a32,#0a161e 65%);border:1px solid #3b535b;border-radius:8px;gap:7px;padding:10px;position:relative;box-shadow:inset 0 1px #8ba3a51c}.componentCard .upgradePart{border:0;background:radial-gradient(at 50% 68%,#62797e30,#0000 62%);border-bottom:1px solid #78929430;height:106px;margin-top:8px}.componentCard .componentLevel{color:#b3c4c7;background:#10202a;border:1px solid #50646b;border-radius:3px;padding:0 6px;font:9px/1.6 Vazirmatn,Tahoma,sans-serif;position:absolute;top:7px;right:9px}.componentCard strong{color:#ecede0;font-size:12px}.componentCard .upgradePips{gap:4px;margin:6px 0}.componentCard .upgradePips i{border-color:#4b6068;border-radius:1px;width:18px;height:4px}.componentCard .upgradePips i.filled{box-shadow:none;background:#9dccbb;border-color:#b2e4cf}.componentCard[data-level="5"]{border-color:#ba9957}.componentCard[data-level="5"] .componentLevel{color:#f3cf83;border-color:#9f824b}.componentCard[data-level="5"] .upgradePips i.filled{background:#e1ba69;border-color:#f4d69a}.componentCard .economyBuyButton{background:#203a3f;border-color:#577c79;border-radius:4px;font-size:11px}.componentCard em{color:#a9bfc1}@media (width<=370px){.componentCard{padding:7px}.componentCard .upgradePart{height:91px}.componentCard strong{font-size:11px}}.componentFinish{color:#9daeb3;margin:3px 0 0;font:9px/1.5 Vazirmatn,Tahoma,sans-serif;display:block}.componentCard .upgradePart{background:radial-gradient(at 50% 75%,#5d6c6d22,#0000 65%);height:115px}.componentCard[data-level="2"] .componentLevel{color:#a6c2dd;border-color:#62788e}.componentCard[data-level="3"] .componentLevel{color:#d9bd8b;border-color:#927948}.componentCard[data-level="4"] .componentLevel{color:#b1c498;border-color:#64754e}.cityProgress{direction:rtl;grid-area:3/1/auto/-1;gap:3px;height:6px;margin:2px 0 1px;display:flex}.cityProgress span{background:#0b191c;border:1px solid #344849;border-radius:1px;flex:1;min-width:0;transition:background-color .3s,border-color .3s}.cityProgress .saved{background:#48d49e;border-color:#80e8be}.cityProgress .current{border-color:#d5aa56}@media (prefers-reduced-motion:reduce){.cityProgress span{transition:none}}
