.hud{position:fixed;z-index:8;left:50%;transform:translate(-50%);bottom:calc(var(--safe-b) + 10px);display:flex;gap:6px;align-items:stretch;padding:6px;border-radius:16px;background:var(--glass);color:#fff;backdrop-filter:blur(4px);max-width:calc(100vw - 20px);flex-wrap:wrap;justify-content:center;pointer-events:none}.hud .g{min-width:74px;display:grid;justify-items:center;padding:4px 8px;border-radius:10px;background:#ffffff14}.hud .g b{font-size:21px;direction:ltr;font-variant-numeric:tabular-nums;line-height:1.1}.hud .g small{font-size:14px;opacity:.9}.hud .g small b{unicode-bidi:isolate;direction:ltr;display:inline-block;font-size:14px}.hud .thr{min-width:96px}.hud .bar{display:block;width:80px;height:10px;border-radius:6px;background:#fff3;overflow:hidden;margin:6px 0 3px;direction:ltr}.hud .bar i{display:block;height:100%;width:0;background:var(--gold)}.hud .bar i.ab{background:linear-gradient(90deg,var(--gold),#ff5a2a)}.chips{display:flex;flex-wrap:wrap;gap:4px;align-content:center;max-width:340px}.chip{font-size:13px;padding:3px 8px;border-radius:8px;background:#ffffff1a;color:#ffffffb3;white-space:nowrap}.chip.on{background:#e8b25cf2;color:var(--ink)}.chip.hot{background:#e2551f;color:#fff}.testbanner{position:fixed;z-index:9;top:calc(var(--safe-t) + 56px);left:50%;transform:translate(-50%);background:#ffe1b3;color:#6b3900;padding:4px 14px;border-radius:12px;font-size:14px;box-shadow:0 4px 12px #00000026;white-space:nowrap;pointer-events:none}.horizon{position:fixed;z-index:8;left:calc(var(--safe-l) + 14px);top:calc(var(--safe-t) + 60px);width:92px;height:92px;border-radius:50%;overflow:hidden;border:3px solid rgba(253,248,238,.85);box-shadow:0 6px 16px #0000004d;pointer-events:none}.hzn{position:absolute;left:-50%;top:-50%;width:200%;height:200%;background:linear-gradient(180deg,#4f8fd0 50%,#9a6a3c 50%)}.hzn i{position:absolute;left:0;right:0;top:50%;height:2px;background:#fff}.horizon .ac{position:absolute;left:22px;right:22px;top:44px;height:4px;border-radius:2px;background:var(--gold);box-shadow:0 0 0 1px #000}.horizon .ac:after{content:"";position:absolute;left:50%;top:-4px;width:6px;height:12px;margin-left:-3px;background:var(--gold);border-radius:2px}.horizon b{position:absolute;bottom:6px;left:0;right:0;text-align:center;color:#fff;font-size:14px;direction:ltr;text-shadow:0 1px 2px #000}.warn{position:fixed;z-index:9;top:38%;left:50%;transform:translate(-50%);background:#c23a22;color:#fff;padding:8px 18px;border-radius:14px;font-size:17px;animation:blink .8s infinite;white-space:nowrap;pointer-events:none}@keyframes blink{50%{opacity:.6}}.msg{position:fixed;z-index:12;top:45%;left:50%;transform:translate(-50%,-50%);background:#fdf8eef7;padding:14px 22px;border-radius:18px;font-size:19px;text-align:center;box-shadow:0 16px 40px #0000004d;max-width:90vw;line-height:1.5;display:grid;gap:10px;justify-items:center}.msg small{font-size:15px;color:var(--ink-soft)}.tgt{position:fixed;z-index:8;bottom:calc(var(--safe-b) + 104px);left:50%;transform:translate(-50%);background:#b2341ef0;color:#fff;padding:5px 14px;border-radius:12px;font-size:15px;display:flex;gap:8px;align-items:center;white-space:nowrap;pointer-events:none}.tgt.home{background:#2b2118d1}.tgt.home b{color:#ffd98f}.tgt .arrow{display:inline-block;font-size:18px;transition:transform .1s}.cross{position:fixed;z-index:7;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border:2px solid rgba(255,90,60,.85);border-radius:50%;pointer-events:none}.cross:before,.cross:after{content:"";position:absolute;background:#ff5a3cd9}.cross:before{left:50%;top:-8px;bottom:-8px;width:2px;margin-left:-1px}.cross:after{top:50%;left:-8px;right:-8px;height:2px;margin-top:-1px}.keys .ft{color:#7a4d27}body.hashud .toasts{top:calc(var(--safe-t) + 58px)}.slider{right:calc(var(--safe-r) + 16px);bottom:calc(var(--safe-b) + 30px);height:168px}.slider .slbl{position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:1px;font-size:14px;color:#fff;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.9),0 0 6px rgba(0,0,0,.6);white-space:nowrap}.touch .tbtn{--c1: calc(var(--safe-r) + 88px);--c2: calc(var(--safe-r) + 150px);--c3: calc(var(--safe-r) + 212px);--c4: calc(var(--safe-r) + 274px);--r1: calc(var(--safe-b) + 30px);--r2: calc(var(--safe-b) + 108px)}.touch [data-act=gear]{right:var(--c1);bottom:var(--r2)}.touch [data-act=brake]{right:var(--c1);bottom:var(--r1)}.touch [data-act=flaps]{right:var(--c2);bottom:var(--r2)}.touch [data-act=ap]{right:var(--c2);bottom:var(--r1)}.touch [data-act=cam]{right:var(--c3);bottom:var(--r1)}.touch [data-act=bomb]{right:var(--c3);bottom:var(--r2)}.touch [data-act=missile]{right:var(--c4);bottom:var(--r2)}.touch [data-act=ab]{right:var(--c4);bottom:var(--r1)}.touch .tbtn.pulse{box-shadow:0 0 0 4px var(--gold),0 6px 16px #00000040}.slider.pulse{box-shadow:0 0 0 4px var(--gold)}body.touchui .hud{bottom:auto;top:calc(var(--safe-t) + 56px);padding:4px;gap:4px}body.touchui .hud .g{min-width:62px;padding:2px 6px}body.touchui .hud .g b{font-size:18px}body.touchui .hud .thr,body.touchui .hud .chips{display:none}body.touchui .horizon{top:calc(var(--safe-t) + 58px);width:72px;height:72px}body.touchui .horizon .ac{top:34px;left:16px;right:16px}body.touchui.hashud .toasts{top:calc(var(--safe-t) + 112px);width:min(56vw,460px)}body.touchui .testbanner{left:auto;right:calc(var(--safe-r) + 10px);transform:none}body.touchui .tgt{top:auto;bottom:calc(var(--safe-b) + 40px);font-size:14px}@media (max-height: 420px){body.touchui .hud .vs,body.touchui .hud .hdg{display:none}}@media (max-height: 480px) and (pointer: fine){.hud .g{min-width:60px;padding:2px 6px}.hud .g b{font-size:17px}.chips{max-width:260px}.horizon{width:70px;height:70px}.horizon .ac{top:33px;left:16px;right:16px}}@media (prefers-reduced-motion: reduce){.warn{animation:none}}body:not(.touchui) .chips{pointer-events:auto}body:not(.touchui) .chip[data-act]{cursor:pointer;border:0;font:inherit;font-size:13px}body:not(.touchui) .chip[data-act]:hover{background:#ffffff40;color:#fff}body:not(.touchui) .chip.on[data-act]:hover{background:var(--gold);color:var(--ink)}body:not(.touchui) .chip[data-key]:after{content:attr(data-key);display:inline-block;margin-inline-start:6px;padding:0 5px;border-radius:5px;background:#ffffffd9;color:var(--ink);font-size:12px;font-weight:600;direction:ltr}
