.hg-arena[data-game="skyguard-tank"]{background:#172b3f}.hg-arena[data-game="skyguard-tank"] .hg-stage{background:transparent;border:0;margin:0}.hg-arena[data-game="skyguard-tank"] .hg-play{height:100%;display:block}.hg-arena[data-game="skyguard-tank"] .hg-players,.hg-arena[data-game="skyguard-tank"] .hg-status{display:none!important}.sg-game{height:100%;width:100%}.sg-field{height:100%;width:100%;position:relative;overflow:hidden}.sg-field>canvas{width:100%;height:100%;display:block;touch-action:none}.sg-hud{position:absolute;top:12px;left:14px;right:14px;display:flex;align-items:center;gap:12px;color:#fff4d6;font-size:12px;pointer-events:none}.sg-hud b,.sg-hud span{padding:10px 14px;background:#173341c9;border:1px solid #ffffff30;border-radius:14px}.sg-hud span{margin-right:auto}.sg-game .sg-hud button{pointer-events:auto;background:linear-gradient(#eea845,#bc6738);border:2px solid #ffe18c;border-radius:50%;box-shadow:0 4px 0 #774321;color:#fff4ca;padding:9px 12px;min-height:42px}.sg-controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none}.sg-controls>div{display:flex;align-items:flex-end;gap:12px}.sg-game .sg-controls button{width:65px;height:65px;border-radius:50%;border:2px solid #fff3af;background:#194b6088;box-shadow:0 5px 0 #09202a77;color:#fff4d7;font-size:24px;pointer-events:auto;touch-action:none;user-select:none}.sg-game .sg-controls [data-auto]{width:78px;height:78px;background:linear-gradient(#efbe67,#cf783dcc);font-size:26px;color:#4f2f19}.sg-controls small{display:block;font-size:9px;letter-spacing:2px}.sg-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#0e283157;padding:20px;overflow:auto}.sg-card{width:min(410px,100%);padding:28px 24px;background:linear-gradient(145deg,#123b4cf5,#142f3bf9);border:2px solid #a8e3d380;border-radius:26px;text-align:center;box-shadow:0 20px 70px #051c3388;color:#e3f4ee}.sg-card h1{font-size:clamp(30px,5vw,48px);letter-spacing:-1px;color:#ffd786;margin:14px 0;text-shadow:0 4px 0 #825136}.sg-kicker{font-size:9px!important;letter-spacing:2px;color:#8ccdbf}.sg-card h2{font-size:26px;color:#ffe2a0;margin:10px}.sg-card p{font-size:13px;line-height:1.6}.sg-game .sg-card button{display:block;width:100%;margin-top:12px;background:linear-gradient(#ffe194,#e6b052);border:1px solid #fff0b5;box-shadow:0 5px 0 #946430;border-radius:16px;min-height:46px;color:#51351b;font-weight:850}.sg-levels{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.sg-game .sg-levels button{margin:0;min-height:50px}.sg-game [hidden]{display:none!important}@media(max-width:600px){.sg-hud{top:8px;left:8px;right:8px;gap:5px;font-size:9px;flex-wrap:wrap}.sg-hud b,.sg-hud span{padding:8px}.sg-game .sg-hud button{font-size:10px;padding:6px 8px;min-height:34px}.sg-controls{left:10px;right:10px;bottom:15px}.sg-controls>div{gap:8px}.sg-game .sg-controls button{width:49px;height:49px;font-size:18px}.sg-game .sg-controls [data-auto]{width:60px;height:60px}.sg-card{padding:22px 18px}.sg-card h1{font-size:32px}}@media(orientation:landscape) and (max-height:600px){.sg-card{padding:16px;width:360px}.sg-card h1{font-size:28px;margin:5px}.sg-card p{font-size:11px;margin:7px}.sg-game .sg-card button{min-height:38px;margin-top:8px}.sg-game .sg-controls button{width:48px;height:48px}.sg-game .sg-controls [data-auto]{width:58px;height:58px}.sg-hud{top:8px;font-size:10px}}

.sg-game .sg-controls [data-auto]{font-size:20px}.sg-game .sg-controls [data-auto][aria-pressed="false"]{filter:grayscale(1)}

@media(orientation:portrait) and (max-width:950px){.hg-arena[data-game="skyguard-tank"] .hg-rotate{display:flex}}
/* v181: a restrained combat HUD, no backdrop filters over the moving canvas. */
body .hg-arena[data-game="skyguard-tank"] .hg-top{background:#0d1721!important;border-bottom:1px solid #d7e8f51a;box-shadow:none}
body .hg-arena[data-game="skyguard-tank"] .hg-top button{background:#182530;border:1px solid #bbd3e52b;box-shadow:none;border-radius:10px;color:#e4edf5}
body .hg-arena[data-game="skyguard-tank"] .sg-hud{top:max(14px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));gap:8px;color:#e7edf3;font:600 11px system-ui;letter-spacing:.5px}
body .hg-arena[data-game="skyguard-tank"] .sg-hud b{background:#101d2bea;color:#f4cd84;border:1px solid #f6cc7540;border-left:3px solid #f4cd84;border-radius:5px;padding:12px 14px}
body .hg-arena[data-game="skyguard-tank"] .sg-hud span{background:#101d2bde;border:1px solid #adc4d02b;border-radius:5px;padding:12px 14px;font-variant-numeric:tabular-nums}
body .hg-arena[data-game="skyguard-tank"] .sg-hud [data-pause]{background:#101d2bde;border:1px solid #adc4d03b;border-radius:8px;box-shadow:none;color:#edf5f9;min-height:44px;width:44px}
body .hg-arena[data-game="skyguard-tank"] .sg-controls{left:max(20px,env(safe-area-inset-left));right:max(20px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));padding:0}
body .hg-arena[data-game="skyguard-tank"] .sg-controls button{background:linear-gradient(145deg,#263e4dbb,#111e29d9);border:1px solid #d1e8f54d;border-radius:18px;width:62px;height:62px;box-shadow:inset 0 1px 0 #ffffff26,0 4px 12px #0003;color:#eff7fb;transition:transform .08s;backdrop-filter:none;-webkit-backdrop-filter:none}
body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-fire]{width:76px;height:76px;border-radius:50%!important;border:2px solid #f2bc6d99;background:radial-gradient(circle at 30% 20%,#956e35ce,#382d20e8);font-size:30px;color:#fff0c7;box-shadow:inset 0 0 0 5px #fff0c70b,0 4px 14px #0004}
body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto]{width:58px;height:58px;background:#142431bf;border:1px solid #80c3c977;color:#bdedf0;border-radius:13px;box-shadow:none;font-size:20px}
body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto][aria-pressed="false"]{filter:none;color:#9ca7b0;border-color:#a3b3bf40}
body .hg-arena[data-game="skyguard-tank"] .sg-controls small{font-size:8px;letter-spacing:1px}
body .hg-arena[data-game="skyguard-tank"] .sg-overlay{background:#06101a66}
body .hg-arena[data-game="skyguard-tank"] .sg-card{background:linear-gradient(145deg,#182633f5,#09131ef5);border:1px solid #afc5d43b;border-radius:16px;box-shadow:0 24px 80px #0007;color:#b7c8d5}
body .hg-arena[data-game="skyguard-tank"] .sg-card h1,body .hg-arena[data-game="skyguard-tank"] .sg-card h2{color:#edf4f9;text-shadow:none;font-weight:750}
body .hg-arena[data-game="skyguard-tank"] .sg-kicker{color:#dfb575;font-size:10px!important}
body .hg-arena[data-game="skyguard-tank"] .sg-card button{border-radius:9px;background:linear-gradient(#e5bd7b,#c69450);border:1px solid #f5d79980;box-shadow:none;color:#15212b}
body .hg-arena[data-game="skyguard-tank"] .sg-card button:not(:first-of-type){background:#253643;border:1px solid #b3c9da30;color:#e1ecf3}
@media(max-height:500px){body .hg-arena[data-game="skyguard-tank"] .sg-controls button{width:48px;height:48px}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-fire]{width:60px;height:60px}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto]{width:48px;height:48px}body .hg-arena[data-game="skyguard-tank"] .sg-hud{top:10px;font-size:10px}body .hg-arena[data-game="skyguard-tank"] .sg-hud b,body .hg-arena[data-game="skyguard-tank"] .sg-hud span{padding:9px 10px}}
/* v183 illustrated arcade HUD — original brass/teal styling. */
body .hg-arena[data-game="skyguard-tank"] .sg-hud{top:max(12px,env(safe-area-inset-top));left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));display:flex;flex-wrap:nowrap;gap:clamp(8px,2vw,30px);align-items:start;color:#23444a}
.sg-metric{display:flex;align-items:center;gap:6px;background:linear-gradient(#fff1cb,#efd59e);border:2px solid #ba924f;border-radius:13px;padding:5px 13px 5px 5px;box-shadow:inset 0 2px 0 #fff9,0 4px 0 #79664966;min-width:108px}
.sg-metric-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:9px;background:linear-gradient(#b6e8cb,#61b4a6);border:2px solid #326b66;box-shadow:inset 0 2px 0 #ffffed80;flex-shrink:0}
.sg-metric-icon svg{width:100%;height:100%}.sg-metric small{display:block;font-size:9px;letter-spacing:1.4px;font-weight:850;color:#6e744f;line-height:1.2}.sg-metric strong{font-size:clamp(18px,2.2vw,30px);font-weight:900;line-height:1.2;font-variant-numeric:tabular-nums;color:#21454b;text-shadow:0 1px #fff5}
body .hg-arena[data-game="skyguard-tank"] .sg-hud .sg-wave{margin-left:auto;padding:10px 12px;background:#2c6867e3;color:#fff2c8;border:2px solid #c8d7ad;border-radius:10px;letter-spacing:1px;white-space:nowrap;box-shadow:0 3px 0 #274b4b44}
body .hg-arena[data-game="skyguard-tank"] .sg-hud [data-pause]{width:50px;min-width:50px;height:50px;min-height:50px;border-radius:50%;background:linear-gradient(#a7d2b0,#4f9c8c);border:3px solid #fff0c3;color:#234a4f;box-shadow:inset 0 0 0 2px #38786d,0 4px 0 #224b4940;font-size:25px;font-weight:900;pointer-events:auto}
body .hg-arena[data-game="skyguard-tank"] .sg-sr{position:absolute;width:1px;height:1px;padding:0!important;clip:rect(0,0,0,0);overflow:hidden}
body .hg-arena[data-game="skyguard-tank"] .sg-controls{inset:auto 0 0;height:88px;display:block;pointer-events:none;padding:0}
body .hg-arena[data-game="skyguard-tank"] .sg-controls button{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));pointer-events:auto;background:linear-gradient(#ffffff20,#173e4760);border:3px solid #fff7db;border-radius:50%!important;width:68px;height:68px;min-width:44px;min-height:44px;box-shadow:inset 0 0 0 2px #31565c55,0 3px 0 #283e4140;color:#fff9e9;font-size:30px;text-shadow:0 2px 0 #35545b;touch-action:none}
body .hg-arena[data-game="skyguard-tank"] [data-hold="left"]{left:max(18px,env(safe-area-inset-left))}
body .hg-arena[data-game="skyguard-tank"] [data-hold="right"]{right:max(18px,env(safe-area-inset-right))}
body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-fire]{right:100px;width:58px;height:58px;background:linear-gradient(#efc383,#ae7646);border-color:#fff0c2;font-size:26px;box-shadow:inset 0 0 0 3px #91653988,0 3px 0 #644d3644}
body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto]{left:50%;transform:translateX(-50%);bottom:max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:12px;width:182px;height:44px;background:linear-gradient(#3f7c76e8,#215459e8);border:2px solid #ffebbf;border-radius:24px!important;box-shadow:inset 0 1px 0 #b0efcd70,0 3px 0 #18383d44;color:#fff0ba;font-size:14px;font-weight:900;letter-spacing:1px;text-shadow:none}
body .hg-arena[data-game="skyguard-tank"] .sg-switch{display:grid;place-items:center;min-width:34px;height:29px;border-radius:50%;background:linear-gradient(#d4e7a1,#93bc68);border:2px solid #e8f0c3;color:#315a46;font-size:10px;letter-spacing:0}
body .hg-arena[data-game="skyguard-tank"] [data-auto][aria-pressed="false"] .sg-switch{background:#d2b090;color:#6c4f3e}
body .hg-arena[data-game="skyguard-tank"] .sg-card{background:linear-gradient(145deg,#fff4d7,#e8d3aa);border:3px solid #4b8d81;color:#466462;box-shadow:0 8px 0 #315a5855,0 18px 40px #14383d55;border-radius:22px}
body .hg-arena[data-game="skyguard-tank"] .sg-card h1,body .hg-arena[data-game="skyguard-tank"] .sg-card h2{color:#235258;text-shadow:0 2px #fff8}
body .hg-arena[data-game="skyguard-tank"] .sg-kicker{color:#a5783b;font-weight:800}
body .hg-arena[data-game="skyguard-tank"] .sg-card button{background:linear-gradient(#97cfa9,#4c9c8c);border:2px solid #2f716c;box-shadow:0 3px 0 #2d585355;color:#fff4cc;border-radius:12px}
@media(max-width:950px){body .hg-arena[data-game="skyguard-tank"] .sg-hud{gap:10px}.sg-metric{min-width:84px;padding:3px 9px 3px 3px;gap:5px}.sg-metric-icon{width:34px;height:34px}.sg-metric strong{font-size:19px}.sg-metric small{font-size:7px;letter-spacing:1px}body .hg-arena[data-game="skyguard-tank"] .sg-hud .sg-wave{font-size:9px;padding:10px 8px}body .hg-arena[data-game="skyguard-tank"] .sg-hud [data-pause]{width:42px;height:42px;min-width:42px;min-height:42px;font-size:20px}}
@media(max-height:500px){body .hg-arena[data-game="skyguard-tank"] .sg-controls button{width:56px;height:56px;font-size:24px;bottom:max(12px,env(safe-area-inset-bottom))}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-fire]{right:86px;width:49px;height:49px}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto]{width:158px;height:40px;font-size:12px;bottom:max(14px,env(safe-area-inset-bottom))}body .hg-arena[data-game="skyguard-tank"] .sg-hud{top:8px}.sg-metric{box-shadow:inset 0 2px 0 #fff9,0 2px 0 #79664955}}
@media(max-width:650px){body .hg-arena[data-game="skyguard-tank"] .sg-hud{gap:5px;left:8px;right:8px}.sg-metric{min-width:64px;padding-right:5px}.sg-metric-icon{width:27px;height:27px}.sg-metric strong{font-size:15px}.sg-metric small{font-size:6px}body .hg-arena[data-game="skyguard-tank"] .sg-hud .sg-wave{font-size:8px;padding:9px 5px}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto]{width:138px;font-size:10px;gap:7px}}
body .hg-arena[data-game="skyguard-tank"] .sg-hud .sg-metric-icon{margin:0;padding:0;flex-shrink:0;background:linear-gradient(#b6e8cb,#61b4a6);border:2px solid #326b66;border-radius:9px;box-shadow:inset 0 2px 0 #ffffed80}
body .hg-arena[data-game="skyguard-tank"] .sg-controls button>svg{display:block;width:80%;height:80%;margin:auto;pointer-events:none}
body .hg-arena[data-game="skyguard-tank"] .sg-metric.sg-coins.pulse{animation:sg-coin-pulse .3s ease-out}@keyframes sg-coin-pulse{50%{transform:translateY(-3px) scale(1.05)}}
body .hg-arena[data-game="skyguard-tank"] .sg-controls button{padding:5px!important}
body .hg-arena[data-game="skyguard-tank"] .sg-controls button>svg{width:100%;height:100%}
@media(prefers-reduced-motion:reduce){body .hg-arena[data-game="skyguard-tank"] .sg-metric.sg-coins.pulse{animation:none}}
/* v184: fixed pause slot, responsive large touch targets, reserved safe-area gutters. */
body .hg-arena[data-game="skyguard-tank"] .sg-field{max-width:100%;min-width:0;box-sizing:border-box}
body .hg-arena[data-game="skyguard-tank"] .sg-hud{box-sizing:border-box;align-items:center;padding:0 68px 0 0;right:max(20px,env(safe-area-inset-right));width:auto!important}
body .hg-arena[data-game="skyguard-tank"] .sg-hud [data-pause]{position:absolute;right:2px;top:50%;transform:translateY(-50%);flex:none;box-sizing:border-box;margin:0;padding:0!important;display:grid;place-items:center;line-height:1;font-size:24px;letter-spacing:-3px;padding-right:3px!important}
body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-hold="right"]{right:max(24px,env(safe-area-inset-right))}
@media(pointer:coarse),(max-width:950px){body .hg-arena[data-game="skyguard-tank"] .sg-controls button{width:clamp(64px,9vw,80px);height:clamp(64px,9vw,80px);min-height:64px;min-width:64px;bottom:max(14px,env(safe-area-inset-bottom))}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-fire]{width:64px;height:64px;right:calc(max(24px,env(safe-area-inset-right)) + clamp(64px,9vw,80px) + 12px)}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto]{width:160px;height:48px;min-width:0;min-height:48px;font-size:12px;bottom:max(16px,env(safe-area-inset-bottom))}}
@media(max-width:700px){body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-fire]{width:60px;height:60px;min-height:60px;min-width:60px}body .hg-arena[data-game="skyguard-tank"] .sg-controls [data-auto]{width:146px;font-size:11px}body .hg-arena[data-game="skyguard-tank"] .sg-hud{padding-right:53px;right:12px}}
