/* Strike Force Ultra 9.0.0 */
html body{background:#020504}
html body #gameWrapper{background:#030706}
html body #gameWrapper::before{content:"";position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(180deg,rgba(164,220,189,.018),transparent 23%,transparent 72%,rgba(0,0,0,.12))}
html body #hud{box-shadow:0 12px 42px rgba(0,0,0,.25)!important}
html body .hud-cell{min-width:0!important}
html body #aimInfo{z-index:36!important}
#guidanceHint{position:absolute;z-index:38;left:50%;bottom:max(62px,calc(var(--tg-content-safe-area-inset-bottom,0px) + 54px));transform:translate(-50%,12px);display:flex;align-items:center;gap:9px;max-width:min(440px,calc(100vw - 30px));padding:8px 11px;border:1px solid rgba(119,219,164,.18);border-radius:12px;background:linear-gradient(135deg,rgba(6,22,15,.84),rgba(4,13,9,.74));box-shadow:0 12px 35px rgba(0,0,0,.28);backdrop-filter:blur(10px);opacity:0;visibility:hidden;transition:opacity .2s ease,transform .2s ease;pointer-events:none;font-family:Tahoma,"Segoe UI",Arial,sans-serif;direction:rtl;color:#cbdad1}
#guidanceHint.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
#guidanceHint b{white-space:nowrap;font-size:10px;color:#82d9aa;font-weight:800}
#guidanceHint span{font-size:9px;line-height:1.45;color:#9fb1a6}
#guidanceHint.used{border-color:rgba(221,172,104,.18)}
#guidanceHint.used b{color:#dfb174}
#upgradeHud{position:absolute;z-index:37;top:max(50px,calc(var(--tg-content-safe-area-inset-top,0px) + 48px));left:50%;transform:translateX(-50%);display:flex;gap:8px;pointer-events:none}
#upgradeHud .up-chip{min-width:120px;display:flex;flex-direction:column;gap:1px;padding:7px 10px;border-radius:12px;border:1px solid rgba(132,209,232,.18);box-shadow:0 10px 28px rgba(0,0,0,.24);background:linear-gradient(180deg,rgba(5,19,30,.88),rgba(5,13,21,.78));backdrop-filter:blur(10px);font-family:Tahoma,"Segoe UI",Arial,sans-serif;text-align:right;direction:rtl}
#upgradeHud .up-chip small{font-size:8px;letter-spacing:.04em;color:#7e98a8}
#upgradeHud .up-chip b{font-size:11px;color:#eef6f8;line-height:1.2}
#upgradeHud .up-chip span{font-size:8px;color:#c8d6df;line-height:1.25;max-width:148px}
#upgradeHud .up-chip.shell{border-color:rgba(255,181,110,.22)}
#upgradeHud .up-chip.tank{border-color:rgba(132,209,232,.18)}
html body .result-panel{overflow:hidden;position:relative}
html body .result-panel::before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(132,225,173,.55),transparent)}
html body .btn{will-change:transform}
html body .btn:focus-visible{outline:2px solid rgba(126,222,170,.65);outline-offset:2px}
@media(max-width:720px){html body #hud{width:calc(100vw - 10px)!important;max-width:none!important;gap:2px!important;padding:4px 5px!important;top:max(4px,var(--tg-content-safe-area-inset-top,0px))!important}html body .hud-cell{padding:3px!important;border-radius:8px!important}html body .hud-label{font-size:6.5px!important;letter-spacing:0!important}html body .hud-value,html body .level-tag{font-size:12px!important}html body #hudAmmo{gap:2px!important;max-width:70px!important;overflow:hidden!important}html body .ammo-dot{width:5px!important;height:12px!important}html body #hud .btn{min-width:36px!important;width:36px!important;height:34px!important;min-height:34px!important;border-radius:9px!important}html body #aimInfo{top:max(84px,calc(var(--tg-content-safe-area-inset-top,0px) + 82px))!important;font-size:9px!important;padding:6px 9px!important}html body #mobileHint{bottom:max(12px,calc(var(--tg-content-safe-area-inset-bottom,0px) + 8px))!important;max-width:calc(100vw - 76px)!important;white-space:normal!important;line-height:1.45!important;text-align:center!important}html body #musicBtn{width:34px!important;height:34px!important;border-radius:10px!important}#guidanceHint{bottom:max(54px,calc(var(--tg-content-safe-area-inset-bottom,0px) + 48px));padding:7px 9px;gap:7px}#guidanceHint b{font-size:9px}#guidanceHint span{font-size:8px}#upgradeHud{top:max(48px,calc(var(--tg-content-safe-area-inset-top,0px) + 46px));gap:6px}#upgradeHud .up-chip{min-width:98px;padding:6px 8px;border-radius:10px}#upgradeHud .up-chip b{font-size:10px}#upgradeHud .up-chip span{font-size:7px;max-width:110px}}
@media(max-width:420px){html body .hud-cell:nth-of-type(4){display:none!important}html body #hudAmmo{max-width:54px!important}html body .ammo-dot:nth-child(n+11){display:none!important}html body #mobileHint{font-size:8px!important}#upgradeHud{top:max(44px,calc(var(--tg-content-safe-area-inset-top,0px) + 42px));gap:5px}#upgradeHud .up-chip{min-width:88px;padding:5px 7px}#upgradeHud .up-chip small{font-size:7px}#upgradeHud .up-chip b{font-size:9px}#upgradeHud .up-chip span{font-size:6.5px}}
@media(max-height:520px) and (orientation:landscape){#guidanceHint{bottom:12px;left:52%}html body #mobileHint{display:none!important}#upgradeHud{top:42px;left:58%}}
@media(prefers-reduced-motion:reduce){#guidanceHint{transition:none}}


/* v8 portrait target visibility / playfield clearance */
@media (orientation:portrait) and (max-width:760px){
 html body #upgradeHud{left:50%!important;right:auto!important;max-width:74vw!important;transform:translateX(-50%) scale(.88)!important;transform-origin:center top!important;opacity:.88}
 html body #aimInfo{max-width:58vw!important;white-space:normal!important;text-align:center!important}
 html body #mobileHint{max-width:58vw!important;opacity:.72!important}
}
