@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Mono:wght@400;500&display=swap');
:root{--bg:#0d1530;--panel:#131f40;--line:#29395f;--cyan:#65e6ed;--orange:#ffb45e;--white:#f1f5ff;--muted:#8fa1c5}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--white);font-family:'DM Mono',monospace}body{background-image:linear-gradient(rgba(71,111,170,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(71,111,170,.045) 1px,transparent 1px);background-size:32px 32px}button{font:inherit;cursor:pointer;color:inherit}#app{max-width:1440px;margin:auto;min-height:100vh;padding:0 5.2%;display:flex;flex-direction:column}.topbar{height:78px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:22px}.brand{font:900 25px 'Barlow Condensed',sans-serif;letter-spacing:2px;display:flex;align-items:center;gap:9px}.brand>span:last-child>span{color:var(--cyan)}.brand-mark{color:var(--orange);font-size:25px}.top-tag{font-size:10px;color:var(--muted);letter-spacing:2px;border-left:1px solid var(--line);padding-left:22px}.icon-btn{margin-left:auto;border:1px solid var(--line);background:var(--panel);padding:9px 13px;color:var(--cyan);border-radius:3px}.icon-btn span{font-size:9px;color:var(--muted)}main.screen{display:grid;grid-template-columns:1fr 1fr;gap:28px 6%;padding:52px 0 40px;position:relative}.hero{padding:12px 0 0;z-index:1}.eyebrow,.panel-heading,.dialog>small{font-size:10px;letter-spacing:2.3px;color:var(--cyan)}h1{font:900 clamp(64px,8vw,112px)/.82 'Barlow Condensed',sans-serif;letter-spacing:-2px;margin:24px 0 20px}h1 em{font-style:normal;color:var(--orange)}.intro{max-width:410px;color:#a9b8d5;font-size:12px;line-height:1.9}.menu-actions{display:flex;gap:12px;margin:28px 0 35px;flex-wrap:wrap}.primary,.secondary{border:0;padding:15px 20px;font:800 14px 'Barlow Condensed',sans-serif;letter-spacing:1px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}.primary{background:var(--cyan);color:#0a1830;min-width:190px}.primary b{float:right;margin-left:25px}.secondary{background:#1b2b50;border:1px solid #40547c;color:var(--white)}button:hover{filter:brightness(1.12);transform:translateY(-1px)}.best-score{font-size:9px;letter-spacing:1.5px;color:var(--muted)}.best-score strong{color:var(--orange);margin-left:12px;font-size:12px}.preview{height:300px;position:relative;overflow:hidden;border:1px solid #34496f;background:linear-gradient(180deg,#162b53 0%,#28517b 62%,#b47b57 100%);align-self:center;box-shadow:0 18px 50px #03091680}.sun{position:absolute;width:110px;height:110px;border-radius:50%;background:#ffc77c;right:16%;top:16%;box-shadow:0 0 55px #ffbd7166}.cloud{position:absolute;width:130px;height:12px;background:#9db8c8;opacity:.35;box-shadow:22px -8px 0 -2px #9db8c8,58px 0 0 -1px #9db8c8}.cloud-a{top:75px;left:10%}.cloud-b{top:145px;right:12%;transform:scale(.7)}.pixel-plane{position:absolute;width:96px;height:36px;image-rendering:pixelated}
.pixel-plane:before{content:"";position:absolute;left:22px;top:14px;width:51px;height:13px;background:#d7f5ef;clip-path:polygon(0 25%,78% 25%,100% 50%,78% 75%,0 75%)}
.pixel-plane:after{content:"";position:absolute;left:35px;top:4px;width:24px;height:12px;background:#58d9df;clip-path:polygon(15% 0,85% 0,100% 100%,0 100%)}
.pixel-plane i{position:absolute;left:39px;top:0;width:52px;height:3px;background:#d7f5ef;box-shadow:25px -2px 0 -1px #d7f5ef,-24px 1px 0 -1px #d7f5ef}
.pixel-plane i:after{content:"";position:absolute;left:-18px;top:12px;width:13px;height:3px;background:#ffb45e}
.hero-plane{left:22%;top:42%;transform:scale(1.25)}
.enemy-plane{right:13%;top:27%;transform:scale(.8) rotate(180deg)}
.pixel-bullet{position:absolute;left:53%;top:40%;width:25px;height:4px;background:var(--orange);box-shadow:0 0 12px var(--orange)}.ground{position:absolute;bottom:0;height:16px;width:100%;background:#182b38;border-top:5px solid #d49b64}.preview-hud{position:absolute;bottom:25px;left:15px;right:15px;font-size:8px;letter-spacing:1px;color:#e4edf4}.preview-hud span{float:right;color:var(--cyan)}.mode-panel{grid-column:1/-1;border:1px solid var(--line);background:#111d39;padding:20px 22px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.panel-heading small{color:var(--muted);font-size:9px}.modes{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.mode{display:flex;align-items:center;gap:12px;text-align:left;background:#172647;border:1px solid #2b3d63;padding:14px 12px;min-height:68px}.mode.selected{border-color:var(--cyan);background:#1a3550}.mode>b{font-size:10px;color:var(--orange)}.mode span{display:flex;flex-direction:column;gap:5px}.mode strong{font:800 15px 'Barlow Condensed',sans-serif;letter-spacing:.7px}.mode small{font-size:8px;color:var(--muted)}.mode i{margin-left:auto;color:var(--cyan);font-style:normal}.hangar{grid-column:1/-1;padding:20px;background:#152343;border:1px solid var(--line)}.hidden{display:none!important}.text-btn{border:0;background:none;color:var(--muted)}.plane-choice{display:flex;align-items:center;gap:20px;padding:18px;background:#0e1933}.mini-plane{width:75px;height:26px;background:#5cdae1;clip-path:polygon(10% 38%,42% 38%,48% 0,54% 0,60% 38%,90% 38%,100% 50%,90% 62%,60% 62%,54% 100%,48% 100%,42% 62%,10% 62%);position:relative}
.mini-plane:after{content:"";position:absolute;left:28px;top:2px;width:45px;height:3px;background:#dffcff;box-shadow:20px -3px 0 -1px #dffcff}.plane-choice strong,.plane-choice small{display:block}.plane-choice strong{font:800 18px 'Barlow Condensed',sans-serif}.plane-choice small,.hangar-note{font-size:10px;color:var(--muted);margin-top:5px}.equipped{margin-left:auto;font-size:9px;color:var(--cyan)}footer{margin-top:auto;border-top:1px solid var(--line);padding:17px 0;display:flex;justify-content:space-between;color:#65799e;font-size:9px;letter-spacing:1px}footer b{color:#9eb0d0;font-weight:400}.game-screen{position:relative;padding:22px 0 25px}.game-hud{display:flex;gap:28px;align-items:center;padding:0 0 15px}.hud-block{display:flex;flex-direction:column;gap:5px}.hud-block small{font-size:8px;color:var(--muted);letter-spacing:1.5px}.hud-block strong{font-size:14px;color:var(--cyan)}.hud-block:nth-child(2) strong{font:800 17px 'Barlow Condensed',sans-serif;color:var(--white)}.health-wrap{flex:1;max-width:210px}.health-track{height:7px;background:#293858;overflow:hidden}.health-track i{display:block;height:100%;width:100%;background:var(--cyan);transition:width .2s}.pause-btn{margin-left:auto;background:#172747;border:1px solid var(--line);padding:10px 15px}.game-screen canvas{width:100%;height:auto;display:block;border:1px solid #405477;background:#142b4d;image-rendering:pixelated;touch-action:none}.game-bottom{display:flex;justify-content:center;gap:30px;padding:13px;color:#8294b7;font-size:9px}.game-bottom b{color:var(--cyan);margin-left:5px}.overlay{position:absolute;inset:22px 0 25px;background:#071126d9;display:grid;place-items:center;z-index:5}.dialog{width:min(390px,90%);padding:30px;background:#142344;border:1px solid #3c527b;text-align:center;box-shadow:0 20px 70px #0009}.dialog h2{font:900 42px 'Barlow Condensed',sans-serif;margin:12px 0 20px}.dialog .primary,.dialog .secondary{width:100%;margin-top:9px}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.result-grid>div{background:#0c1933;padding:13px}.result-grid small,.result-grid strong{display:block}.result-grid small{font-size:8px;color:var(--muted)}.result-grid strong{font-size:19px;color:var(--orange);margin-top:7px}.dialog p{color:#aab9d4;font-size:11px}.touch-controls{display:none;justify-content:space-between;padding:10px 0}.touch-controls button{background:#1a2e50cc;border:1px solid #587092;border-radius:8px;padding:12px 15px;min-width:42px;touch-action:none}.dpad>div{display:flex;gap:4px}.dpad>button{margin-left:48px;margin-bottom:4px}.action-pad{display:flex;gap:7px;align-items:end}.action-pad button{font-size:9px}.action-pad .fire-touch{background:#1a6972}.game-screen.active{min-height:70vh}
@media(max-width:760px){#app{padding:0 4%}.topbar{height:62px}.top-tag{display:none}main.screen{grid-template-columns:1fr;padding:30px 0;gap:20px}.hero{padding:0}.preview{grid-row:2;height:220px;width:100%}.mode-panel{grid-column:1}.modes{grid-template-columns:1fr 1fr}.mode{padding:10px 8px;gap:8px}.mode small{font-size:7px}h1{font-size:76px;margin:18px 0}.intro{font-size:11px}.game-hud{gap:12px;flex-wrap:wrap}.health-wrap{max-width:120px}.game-bottom{display:none}.touch-controls{display:flex}.overlay{inset:22px 0 20px}.game-screen{padding-top:15px}.hud-block small{font-size:7px}.hud-block strong{font-size:12px}}
@media(max-width:390px){.modes{grid-template-columns:1fr}.mode{min-height:55px}.menu-actions>*{flex:1}.primary,.secondary{padding:13px 12px;min-width:0}.preview{height:185px}.game-hud{gap:9px}}

/* Embedded-game layout: keep the HUD and control footer inside the 16:9 game frame.
   This prevents host pages/iframes with a canvas-sized viewport from clipping them. */
.game-screen{position:relative;padding:0!important;overflow:hidden;line-height:normal}
.game-screen canvas{width:100%;height:auto;display:block;aspect-ratio:16/9;border:1px solid #405477;box-sizing:border-box}
.game-hud{
 position:absolute;z-index:4;top:12px;left:12px;right:12px;
 display:flex;align-items:center;gap:clamp(8px,1.8vw,22px);
 padding:9px 12px;border:1px solid rgba(107,204,255,.5);border-radius:8px;
 background:linear-gradient(90deg,rgba(5,18,43,.94),rgba(8,31,62,.82));
 box-shadow:0 5px 18px rgba(0,0,0,.28);backdrop-filter:blur(5px);
}
.game-brand{display:flex;align-items:center;gap:7px;flex:0 0 auto;
 font:900 17px/1 'Barlow Condensed',sans-serif;letter-spacing:1px;color:#f4f8ff;white-space:nowrap}
.game-brand-mark{font-size:22px;color:var(--orange)}
.game-brand b{color:var(--cyan)}
.game-brand small{display:block;margin-top:4px;font:7px/1 'DM Mono',monospace;letter-spacing:1px;color:#9bb5d8}
.game-hud .hud-block{gap:3px;min-width:54px}
.game-hud .hud-block small{font-size:7px;letter-spacing:1px}
.game-hud .hud-block strong{font-size:12px}
.game-hud .health-wrap{max-width:150px;min-width:75px}
.game-hud .pause-btn{padding:7px 11px;border-color:#5b83b4;border-radius:5px}
.game-bottom{
 position:absolute;z-index:4;left:12px;right:12px;bottom:12px;
 display:flex;align-items:center;justify-content:space-between;gap:14px;
 padding:9px 13px;border:1px solid rgba(107,204,255,.38);border-radius:7px;
 background:rgba(5,18,43,.88);box-shadow:0 4px 16px rgba(0,0,0,.25);
 font-size:8px;color:#b9cbe6;letter-spacing:.6px
}
.control-legend{display:flex;gap:clamp(10px,2vw,25px);align-items:center;flex-wrap:wrap}
.game-bottom b{color:var(--cyan);margin-left:4px}
.game-footer-label{font-size:7px;letter-spacing:1px;color:#8ca6cb;white-space:nowrap}
.game-footer-label b{color:var(--orange)}
.game-screen .overlay{z-index:8;inset:0}
.game-screen .touch-controls{position:absolute;z-index:6;left:12px;right:12px;bottom:58px}
@media(max-width:760px){
 .game-hud{top:6px;left:6px;right:6px;padding:7px;gap:8px;flex-wrap:nowrap}
 .game-brand{font-size:13px;gap:4px}
 .game-brand-mark{font-size:16px}
 .game-brand small{font-size:5px}
 .game-hud .hud-block{min-width:35px}
 .game-hud .hud-block small{font-size:6px}
 .game-hud .hud-block strong{font-size:10px}
 .game-hud .health-wrap{min-width:55px;max-width:85px}
 .game-hud .pause-btn{padding:5px 8px}
 .game-bottom{left:6px;right:6px;bottom:6px;padding:7px}
 .game-footer-label{display:none}
 .control-legend{justify-content:center;width:100%;gap:10px;font-size:7px}
 .game-screen .touch-controls{bottom:48px;left:6px;right:6px}
}
@media(max-width:430px){
 .game-brand small{display:none}
 .game-brand{font-size:11px}
 .game-hud{gap:5px}
 .game-hud .hud-block:nth-of-type(3){display:none}
 .game-hud .health-wrap{max-width:65px}
 .control-legend{gap:7px;font-size:6px}
}


/* V11: fullscreen-first standalone game layout */
html,body{width:100%;height:100%;min-height:100%;margin:0;overflow:hidden;background:#071329}
body{padding:0}
#app{width:100%;height:100%;min-height:100%;max-width:none;margin:0;padding:0;display:block;overflow:hidden}
#app>.topbar,#app>footer,#menu{display:none!important}
.game-screen,
.game-screen.active{
 position:fixed!important;inset:0!important;
 width:100vw!important;height:100vh!important;height:100dvh!important;
 max-width:none!important;margin:0!important;padding:0!important;
 overflow:hidden!important;background:#071329!important;
 display:block!important;z-index:1;
}
.game-screen.hidden{display:block!important}
.game-screen canvas{
 position:absolute;inset:0;
 display:block;width:100%!important;height:100%!important;
 aspect-ratio:auto!important;object-fit:fill;
 border:0!important;box-sizing:border-box;
 background:#071329;image-rendering:pixelated;touch-action:none;
}
.game-screen .game-hud{
 position:absolute;z-index:4;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));
}
.game-screen .game-bottom{
 position:absolute;z-index:4;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));
}
.game-screen .overlay{position:absolute;inset:0!important;z-index:10}
.game-screen .touch-controls{z-index:7;bottom:max(58px,env(safe-area-inset-bottom) + 48px)}
@media(max-width:760px){
 .game-screen .game-hud{top:max(5px,env(safe-area-inset-top));left:5px;right:5px;padding:6px;gap:6px}
 .game-screen .game-bottom{left:5px;right:5px;bottom:max(5px,env(safe-area-inset-bottom));padding:6px}
 .game-screen .touch-controls{left:5px;right:5px;bottom:max(48px,env(safe-area-inset-bottom) + 42px)}
 .game-screen .overlay{inset:0!important}
}
@media(max-width:430px){
 .game-screen .game-hud{gap:4px}
 .game-screen .game-hud .hud-block:nth-of-type(3){display:none}
 .game-screen .game-hud .health-wrap{max-width:58px;min-width:48px}
 .game-screen .game-brand{font-size:10px}
 .game-screen .game-brand small{display:none}
 .game-screen .game-bottom{font-size:6px}
}

/* V13 persistent pilot progression */
.profile-block{min-width:82px;gap:4px}
.profile-block strong{font-size:14px!important;color:#ffd36e!important;font-variant-numeric:tabular-nums}
.xp-track{height:4px;width:100%;background:#263b5d;overflow:hidden;border-radius:3px}
.xp-track i{display:block;height:100%;width:0;background:linear-gradient(90deg,#55dce8,#ffe07b);transition:width .2s}
.progress-reward{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 8px}
.progress-reward>div{padding:10px 6px;background:#0b1932;border:1px solid #2b4268}
.progress-reward small,.progress-reward strong{display:block}
.progress-reward small{font-size:8px;letter-spacing:1px;color:#8da5c8}
.progress-reward strong{font-size:18px;color:#ffe07b;margin-top:4px}
.level-result{display:block;color:#8feaf0;letter-spacing:1px;margin:8px 0 12px}
@media(max-width:760px){
 .game-screen .profile-block{min-width:58px}
 .game-screen .profile-block small{font-size:6px;letter-spacing:.4px}
 .game-screen .profile-block strong{font-size:11px!important}
}

.profile-block{flex:0 0 88px}
@media(max-width:980px){.game-screen .game-hud{gap:12px}.game-screen .profile-block{flex-basis:72px}}
@media(max-width:620px){.game-screen .game-hud{gap:5px}.game-screen .profile-block{flex-basis:54px}.progress-reward strong{font-size:15px}}
.dialog{max-height:calc(100% - 24px);overflow-y:auto}

/* V14 helicopter collection hangar */
.hangar-btn{font-size:10px;font-weight:900;letter-spacing:1px;padding:10px 12px;color:#ffe08a;border-color:#8b713c}
.hangar-dialog{width:min(760px,94%);max-height:calc(100% - 18px);overflow-y:auto}
.hangar-dialog h2{font-size:34px;margin:6px 0 8px}
.hangar-wallet{color:#b9c9e3;font-size:11px;letter-spacing:1px;margin:5px 0 14px}
.hangar-wallet strong{color:#ffd36e;font-size:16px}
.helicopter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;text-align:left}
.heli-card{display:flex;flex-direction:column;align-items:center;gap:6px;padding:11px 8px;background:#0b1932;border:1px solid #2d456c;color:#eaf4ff;min-width:0;cursor:pointer}
.heli-card.selected{border-color:#63e2ec;box-shadow:inset 0 0 0 1px #63e2ec;background:#102747}
.heli-preview{display:grid;place-items:center;width:100%;height:48px;background:linear-gradient(135deg,#132c4e,#0a1429);font-size:30px;filter:drop-shadow(0 4px 4px #0008)}
.heli-card b{font-size:11px;letter-spacing:.7px}
.heli-card small{font-size:9px;color:#9eb2d1;text-align:center;min-height:24px}
.heli-stats{font-size:8px;color:#80e5ec;letter-spacing:.3px;text-align:center}
.heli-card strong{font-size:9px;color:#ffd36e;text-align:center}
.hangar-status{font-size:11px;color:#a9c6e9;min-height:16px}
@media(max-width:620px){
 .hangar-dialog{padding:16px 12px;width:96%}
 .hangar-dialog h2{font-size:25px}
 .helicopter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .heli-card{padding:8px 5px}
 .heli-card small{font-size:8px}
 .heli-stats{font-size:7px}
}

.heli-preview img{width:76px;height:42px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 3px #0008)}

/* V14.2 — premium rectangular helicopter hangar */
.game-screen .hangar-overlay{position:fixed!important;inset:0!important;z-index:999!important;display:grid!important;place-items:center!important;padding:24px!important;background:rgba(3,9,22,.78)!important;-webkit-backdrop-filter:blur(9px) saturate(.8)!important;backdrop-filter:blur(9px) saturate(.8)!important}
.game-screen .hangar-overlay.hidden{display:none!important}
.game-screen .hangar-dialog{position:relative!important;width:min(920px,calc(100vw - 48px))!important;max-width:920px!important;max-height:min(86vh,780px)!important;overflow:auto!important;padding:25px 28px 20px!important;text-align:left!important;border:1px solid #38577d!important;border-radius:14px!important;background:linear-gradient(145deg,#142b4b 0%,#0d1c35 58%,#101a30 100%)!important;box-shadow:0 28px 100px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.07)!important;scrollbar-width:thin;scrollbar-color:#42648b #0b172b}
.hangar-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.hangar-kicker{display:flex;align-items:center;gap:9px;color:#65e8ee;font-size:10px;font-weight:900;letter-spacing:2.6px}.hangar-kicker i{width:7px;height:7px;border-radius:50%;background:#65e8ee;box-shadow:0 0 12px #65e8ee}.hangar-live{font-size:9px;letter-spacing:1.5px;color:#8ba4c5;border:1px solid #304b6c;border-radius:30px;padding:7px 11px}
.hangar-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.hangar-heading h2{margin:0!important;font:900 clamp(28px,4vw,42px)/1 'Barlow Condensed',sans-serif!important;letter-spacing:.3px;color:#f4f8ff}.hangar-heading h2 em{font-style:normal;color:#64dfe9}.hangar-heading p{margin:8px 0 0!important;color:#91a9c8!important;font-size:11px!important}.hangar-wallet{margin:0!important;min-width:170px;padding:10px 14px;border:1px solid #3a5273;border-radius:9px;background:#0a1830;color:#8fa8c9!important}.hangar-wallet span{display:block;font-size:8px;letter-spacing:1.4px}.hangar-wallet strong{display:block;margin-top:4px;color:#ffd777!important;font-size:20px!important}.hangar-wallet strong b{color:#ffd777}.hangar-wallet strong i{font-style:normal}.hangar-divider{height:1px;margin:18px 0;background:linear-gradient(90deg,#4a7c9a,rgba(74,124,154,.08))}
.game-screen .helicopter-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;text-align:left!important}.game-screen .heli-card{position:relative!important;display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;align-items:center!important;column-gap:13px!important;row-gap:5px!important;min-height:112px!important;padding:12px 14px!important;overflow:hidden!important;color:#eaf4ff!important;text-align:left!important;background:linear-gradient(125deg,#172f50,#0d1d35)!important;border:1px solid #304b6b!important;border-radius:10px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important}.game-screen .heli-card:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:4px;background:#4b718f}.game-screen .heli-card.selected{border-color:#56dbe5!important;background:linear-gradient(125deg,#173c58,#102b43)!important;box-shadow:0 0 0 1px rgba(86,219,229,.18),0 8px 24px #02091455!important}.game-screen .heli-card.selected:before{background:#5be3e8;box-shadow:0 0 12px #5be3e8}
.game-screen .heli-preview{grid-column:1;grid-row:1/4;display:grid!important;place-items:center!important;width:118px!important;height:82px!important;border-radius:8px!important;background:radial-gradient(ellipse at center,#294b70 0%,#142b49 64%,#10213a 100%)!important;filter:none!important}.game-screen .heli-preview img{display:block!important;width:112px!important;height:76px!important;max-width:100%!important;object-fit:contain!important;image-rendering:pixelated!important;filter:drop-shadow(0 5px 5px #0009)!important}.game-screen .heli-card b{grid-column:2;grid-row:1;font:900 17px 'Barlow Condensed',sans-serif!important;letter-spacing:.8px!important;color:#f4f8ff!important}.game-screen .heli-card small{grid-column:2;grid-row:2;min-height:0!important;font-size:9px!important;line-height:1.4!important;color:#9eb5d1!important;text-align:left!important}.game-screen .heli-stats{grid-column:2;grid-row:3;font-size:8px!important;line-height:1.5!important;color:#71dce5!important;text-align:left!important;letter-spacing:.2px!important}.game-screen .heli-card strong{position:absolute!important;right:10px!important;top:9px!important;font-size:8px!important;letter-spacing:.6px!important;color:#ffd777!important;text-align:right!important}
.game-screen .hangar-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;padding-top:13px;border-top:1px solid #2b4261}.game-screen .hangar-status{margin:0!important;min-height:0!important;color:#91a9c8!important;font-size:10px!important;line-height:1.5!important}.game-screen .hangar-dialog .primary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:25px!important;width:auto!important;min-width:190px!important;margin:0!important;padding:12px 15px!important;border-radius:7px!important;clip-path:none!important;background:linear-gradient(100deg,#62e1e8,#78c9ed)!important;color:#09213a!important;font-size:11px!important}.game-screen .hangar-dialog .primary b{font-size:16px}
@media(max-width:700px){.game-screen .hangar-overlay{padding:10px!important}.game-screen .hangar-dialog{width:calc(100vw - 20px)!important;max-height:92vh!important;padding:17px 13px 13px!important}.hangar-heading{align-items:flex-start;flex-direction:column;gap:12px}.hangar-wallet{width:100%;min-width:0;padding:8px 11px}.game-screen .helicopter-grid{grid-template-columns:1fr!important;gap:8px!important}.game-screen .heli-card{grid-template-columns:94px minmax(0,1fr)!important;min-height:96px!important;padding:9px!important;column-gap:10px!important}.game-screen .heli-preview{width:94px!important;height:72px!important}.game-screen .heli-preview img{width:90px!important;height:66px!important}.game-screen .heli-card b{font-size:15px!important}.game-screen .heli-card strong{font-size:7px!important;top:7px!important;right:7px!important}.game-screen .hangar-bottom{align-items:stretch;flex-direction:column}.game-screen .hangar-dialog .primary{width:100%!important}}

/* V15 — permanent pilot upgrade bay */
.hangar-tabs{display:flex;gap:8px;margin:-2px 0 15px;padding-bottom:12px;border-bottom:1px solid #2b4261}
.hangar-tab{padding:9px 15px!important;border:1px solid #304b6b!important;border-radius:7px!important;background:#0b1b32!important;color:#9bb2ce!important;font-size:9px!important;font-weight:900!important;letter-spacing:1.2px!important}
.hangar-tab.active{border-color:#55dce5!important;background:linear-gradient(100deg,#17465d,#173451)!important;color:#72edf0!important}
.hangar-tab span{margin-left:5px;color:#ffd777;font-size:8px}
.upgrade-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.upgrade-grid.hidden{display:none!important}
.upgrade-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:104px;padding:12px;border:1px solid #304b6b;border-radius:9px;background:linear-gradient(130deg,#172f50,#0d1d35)}
.upgrade-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#1b4560;border:1px solid #39718a;color:#71e3e9;font-size:22px}
.upgrade-copy{min-width:0}
.upgrade-copy>b{display:block;color:#f3f7ff;font:900 15px 'Barlow Condensed',sans-serif;letter-spacing:.6px}
.upgrade-copy small{display:block;margin-top:4px;color:#9eb5d1;font-size:9px;line-height:1.35}
.upgrade-level{display:flex;align-items:center;gap:8px;margin-top:8px;color:#70dce5;font-size:8px;letter-spacing:.7px}
.upgrade-bars{display:flex;gap:3px}
.upgrade-bars i{width:12px;height:4px;border-radius:2px;background:#344b67}
.upgrade-bars i.filled{background:#64e3e8;box-shadow:0 0 6px #64e3e855}
.upgrade-buy{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:82px;padding:9px 7px!important;border:1px solid #3d7890!important;border-radius:7px!important;background:#12344c!important;color:#70e4e9!important;font-size:8px!important;font-weight:900!important;letter-spacing:.5px!important}
.upgrade-buy strong{color:#ffd777;font-size:10px}
.upgrade-buy:disabled{border-color:#3c5369!important;background:#1a2b40!important;color:#83a0bd!important;opacity:.75}
@media(max-width:700px){.upgrade-grid{grid-template-columns:1fr}.upgrade-card{grid-template-columns:42px minmax(0,1fr) 76px;gap:8px;padding:9px}.upgrade-icon{width:39px;height:39px}.upgrade-copy>b{font-size:13px}.upgrade-buy{min-width:72px}}

/* V17 — boss defeat cinematic and victory presentation */
.boss-cine-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at center,rgba(20,42,68,.42),rgba(2,8,19,.88));opacity:1}
.boss-cine-overlay.hidden{display:none!important}
.boss-cine-flash{position:absolute;inset:0;background:linear-gradient(115deg,transparent 20%,rgba(111,226,255,.18) 48%,transparent 75%);opacity:0}
.boss-cine-content{position:relative;width:min(760px,calc(100vw - 38px));padding:34px 24px 30px;text-align:center;border-top:1px solid rgba(112,230,245,.75);border-bottom:1px solid rgba(112,230,245,.75);background:linear-gradient(90deg,transparent,rgba(6,18,35,.94) 14%,rgba(6,18,35,.94) 86%,transparent);transform:scale(.86);opacity:0}
.boss-cine-content:before,.boss-cine-content:after{content:"";position:absolute;left:10%;right:10%;height:2px;background:linear-gradient(90deg,transparent,#68e8ee,transparent)}
.boss-cine-content:before{top:-2px}.boss-cine-content:after{bottom:-2px}
.boss-cine-content span{display:block;color:#73e7ed;font:900 10px monospace;letter-spacing:4px}
.boss-cine-content strong{display:block;margin:12px 0 9px;color:#f5f8ff;font:900 clamp(30px,6vw,62px)/.98 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px;text-shadow:0 0 24px rgba(91,220,241,.32)}
.boss-cine-content i{display:block;color:#b2c7df;font:700 10px monospace;font-style:normal;letter-spacing:2px}
.boss-cine-overlay.cine-play .boss-cine-content{animation:bossCineEnter 2.65s cubic-bezier(.2,.7,.2,1) both}
.boss-cine-overlay.cine-play .boss-cine-flash{animation:bossCineFlash .65s ease-out both}
@keyframes bossCineEnter{0%{opacity:0;transform:scale(.72) translateY(20px);filter:blur(8px)}12%{opacity:1;transform:scale(1.03) translateY(0);filter:blur(0)}22%,78%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.08) translateY(-10px)}}
@keyframes bossCineFlash{0%{opacity:0}12%{opacity:1}100%{opacity:0}}


/* V23 — Premium Bit Copters mission-complete presentation (popup only) */
.mission-end-overlay{
  background:
    radial-gradient(ellipse at 50% 34%,rgba(27,75,112,.46),transparent 48%),
    linear-gradient(135deg,rgba(3,10,25,.94),rgba(5,19,42,.91) 52%,rgba(3,10,25,.96));
  backdrop-filter:blur(5px);
}
.mission-dialog{
  position:relative;width:min(510px,92%);max-height:calc(100% - 18px);
  overflow-y:auto;overflow-x:hidden;padding:22px 27px 17px;
  color:#eef7ff;text-align:center;border:1px solid rgba(103,222,239,.52);
  border-radius:5px;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(49,121,164,.25),transparent 47%),
    linear-gradient(155deg,#172c50 0%,#101e3a 52%,#0b1831 100%);
  box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 0 5px rgba(76,202,220,.055),inset 0 1px rgba(255,255,255,.09);
}
.mission-dialog:before,.mission-dialog:after{content:"";position:absolute;width:78px;height:78px;pointer-events:none;opacity:.42}
.mission-dialog:before{top:8px;left:8px;border-top:1px solid #62e4eb;border-left:1px solid #62e4eb}
.mission-dialog:after{right:8px;bottom:8px;border-right:1px solid #62e4eb;border-bottom:1px solid #62e4eb}
.mission-topline{display:flex;align-items:center;justify-content:center;gap:13px;color:#72edf0;font-size:9px;font-weight:900;letter-spacing:3px}
.mission-wing{color:#f8c96c;font-size:15px;text-shadow:0 0 13px #e7ad4d}
.mission-medal{height:83px;width:100px;margin:11px auto 4px;position:relative;display:grid;place-items:center}
.medal-ring{width:67px;height:67px;border-radius:50%;display:grid;place-items:center;position:relative;
  background:radial-gradient(circle at 35% 28%,#fff2bd 0,#f4c65f 23%,#bd792b 56%,#70441f 100%);
  border:3px solid #ffe7a0;box-shadow:0 0 0 4px rgba(255,211,115,.12),0 0 26px rgba(255,190,78,.28),inset 0 0 0 3px rgba(111,65,22,.42)}
.medal-ring:before{content:"";position:absolute;inset:7px;border:1px solid rgba(255,248,211,.7);border-radius:50%}
.medal-ring span{font-size:30px;color:#fff4c9;text-shadow:0 2px 3px #75451d,0 0 12px #fff}
.medal-ribbon{position:absolute;top:52px;width:19px;height:29px;background:linear-gradient(90deg,#a94c45,#ed8870,#a94c45);z-index:0;clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%)}
.ribbon-left{left:29px;transform:rotate(13deg)}.ribbon-right{right:29px;transform:rotate(-13deg);background:linear-gradient(90deg,#176d9a,#56c7d6,#176d9a)}
.mission-title-wrap{position:relative;z-index:1}
.mission-overline{font-size:8px;letter-spacing:2.5px;color:#8ba6c9;font-weight:800}
.mission-dialog h2{font:900 clamp(36px,7vw,49px)/.98 'Barlow Condensed',sans-serif;letter-spacing:.4px;margin:7px 0 5px;color:#fff;text-shadow:0 3px 0 #172a4b,0 0 22px rgba(100,217,237,.19)}
.mission-subtitle{margin:0!important;color:#f4c76c!important;font-size:8px!important;font-weight:900;letter-spacing:3px}
.mission-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:17px 0 10px}
.mission-stat{position:relative;min-width:0;padding:12px 8px 10px;border:1px solid rgba(116,151,194,.25);background:linear-gradient(145deg,rgba(8,23,48,.96),rgba(15,35,65,.9));box-shadow:inset 0 1px rgba(255,255,255,.035)}
.mission-stat:after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#5fe1e9,transparent);opacity:.65}
.mission-stat .stat-icon{display:block;color:#73e8ec;font-size:13px;margin-bottom:3px}
.mission-stat small{display:block;color:#9eb4d3;font-size:8px;letter-spacing:1.8px;font-weight:800}
.mission-stat strong{display:block;margin:5px 0 1px;font:900 clamp(25px,5vw,32px)/1 'Barlow Condensed',sans-serif;color:#ffd078;text-shadow:0 0 17px rgba(255,186,83,.18);font-variant-numeric:tabular-nums}
.mission-stat em{font-style:normal;font-size:7px;letter-spacing:1.7px;color:#718bad}
.kill-stat strong{color:#ff9c76}
.mission-message{margin:10px auto 13px!important;max-width:390px;color:#c1cfe2!important;font-size:10px!important;line-height:1.5}
.mission-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mission-rewards>div{min-width:0;padding:9px 5px 8px;border:1px solid rgba(105,143,186,.25);background:rgba(7,19,40,.64)}
.reward-symbol{display:block;color:#6de4e8;font-size:13px;margin-bottom:3px}
.mission-rewards small{display:block;color:#829bbb;font-size:7px;letter-spacing:1.2px;font-weight:800}
.mission-rewards strong{display:block;color:#ffe08a;font:900 18px 'Barlow Condensed',sans-serif;margin-top:4px;overflow-wrap:anywhere}
.mission-level{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 0 10px;padding:8px 10px;border-top:1px solid rgba(105,143,186,.2);border-bottom:1px solid rgba(105,143,186,.2)}
.mission-level .level-result{margin:0;color:#73e8ec;font-size:8px;font-weight:900;letter-spacing:1.7px}
.level-shine{color:#f6c86e;font-size:12px}
.mission-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.mission-actions .primary,.mission-actions .secondary{width:100%;min-width:0;margin:0;padding:13px 8px;font-size:10px;letter-spacing:1px}
.mission-actions .primary{background:linear-gradient(110deg,#55dce4,#77f0e7);color:#092039;border:1px solid #a0ffff;box-shadow:0 5px 20px rgba(57,218,226,.18)}
.mission-actions .primary b{margin-left:5px}
.mission-actions .secondary{background:rgba(255,255,255,.035);border:1px solid #496487;color:#eaf4ff}
.mission-actions button{transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.mission-actions button:hover{transform:translateY(-2px);filter:brightness(1.12);box-shadow:0 7px 20px rgba(0,0,0,.2)}
.mission-footer{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:13px;color:#617b9e;font-size:6px;letter-spacing:1.8px;font-weight:900}
.mission-footer i{width:22px;height:1px;background:#476487}
@media(max-width:520px){
  .mission-dialog{width:min(440px,94%);padding:17px 15px 13px}
  .mission-medal{height:72px;margin:7px auto 2px}
  .medal-ring{width:59px;height:59px}
  .medal-ribbon{top:47px}
  .mission-stat-grid{gap:7px;margin:13px 0 8px}
  .mission-stat{padding:10px 5px 8px}
  .mission-rewards{gap:5px}
  .mission-rewards>div{padding:8px 3px}
  .mission-rewards strong{font-size:16px}
  .mission-level{margin:9px 0;padding:7px 5px}
  .mission-actions{gap:7px}
  .mission-actions .primary,.mission-actions .secondary{font-size:9px;padding:12px 5px}
}
@media(max-height:650px){
  .mission-dialog{padding-top:12px;padding-bottom:10px}
  .mission-medal{height:59px;margin:4px auto 0}
  .medal-ring{width:51px;height:51px}
  .medal-ring span{font-size:24px}
  .medal-ribbon{top:39px;height:23px}
  .mission-stat-grid{margin:10px 0 7px}
  .mission-message{margin:7px auto 9px!important}
  .mission-level{margin:8px 0}
  .mission-footer{margin-top:9px}
}
@media(prefers-reduced-motion:no-preference){
  .mission-medal{animation:missionMedalRise .65s cubic-bezier(.2,.8,.2,1) both}
  .mission-dialog{animation:missionPopupIn .38s ease-out both}
  @keyframes missionMedalRise{from{opacity:0;transform:translateY(9px) scale(.82)}to{opacity:1;transform:translateY(0) scale(1)}}
  @keyframes missionPopupIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
}


/* V25 — Pixel-art Bit Copters brand mark and wordmark only */
.brand{gap:10px}
.brand-mark-img{display:block;width:43px;height:34px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 7px rgba(73,218,237,.28))}
.brand-wordmark{display:flex;align-items:baseline;gap:5px;font-family:'DM Mono',ui-monospace,monospace;font-size:18px;font-weight:1000;letter-spacing:1.1px;line-height:1;color:#f4fbff;text-shadow:2px 2px 0 #123c5c,0 0 12px rgba(72,205,231,.14)}
.brand-wordmark b{font-weight:1000;color:#69e6ee;text-shadow:2px 2px 0 #12516a,0 0 10px rgba(75,222,235,.28)}
.game-brand{gap:7px}
.game-brand-img{display:block;width:35px;height:29px;flex:0 0 auto;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 5px rgba(75,216,235,.24))}
.game-brand-copy{display:block;min-width:0}
.game-brand-copy>span{display:block;font:900 15px/1 'DM Mono',ui-monospace,monospace;letter-spacing:.2px;color:#f4f8ff;text-shadow:1px 1px 0 #153b5d}
.game-brand-copy b{color:#6ce7ed;font-weight:1000;text-shadow:1px 1px 0 #12516a}
.game-brand-copy small{display:block;margin-top:4px;font:7px/1 'DM Mono',monospace;letter-spacing:1px;color:#9bb5d8}
@media(max-width:560px){
 .brand-mark-img{width:36px;height:29px}
 .brand-wordmark{font-size:15px;letter-spacing:.5px;gap:3px}
 .game-brand-img{width:29px;height:25px}
 .game-brand-copy>span{font-size:12px}
}

/* V26 — supplied helicopter image replaces the previous logo symbol */
.brand-mark-img{
  width:54px;height:30px;object-fit:contain;image-rendering:pixelated;
  filter:drop-shadow(0 0 5px rgba(66,211,239,.28));
}
.game-brand-img{
  width:40px;height:23px;object-fit:contain;image-rendering:pixelated;
  filter:drop-shadow(0 0 4px rgba(66,211,239,.24));
}
@media(max-width:560px){
  .brand-mark-img{width:46px;height:26px}
  .game-brand-img{width:34px;height:20px}
}
