/* Modular instrument cluster. Corners remain fixed; no panoramic stretched HUD artwork. */
#hud{border:0;border-image:none;background:#151c21 url('assets/ui/metal-tile.webp') repeat;background-size:128px 128px;grid-template-columns:1fr .9fr 2.7fr .9fr 1.25fr;gap:3px;padding:3px;margin:0;overflow:hidden;align-items:stretch}
#hud>div{min-width:0;position:relative;border:8px solid transparent;border-image:url('assets/ui/monitor-teal.webp') 34 fill round;border-image-width:8px;padding:4px 9px!important;background:none;overflow:hidden}
#hud>div:last-child{border:8px solid transparent;border-image:url('assets/ui/monitor-teal.webp') 34 fill round;border-image-width:8px}
#hud>.weaponInfo{border-image-source:url('assets/ui/monitor-amber.webp');padding-left:73px!important}
#hud #portrait{display:block;width:58px;height:58px;left:3px;top:0;object-fit:contain;border:3px solid transparent;border-image:url('assets/ui/portrait-bezel.webp') 27 fill round;border-image-width:3px;background:#0a1114;image-rendering:pixelated}
#hud label,#hud #weaponLabel{font:7px Station,sans-serif!important;letter-spacing:1px!important;color:#a7b4ad;margin:0 0 4px;white-space:nowrap}
#hud strong{font:28px/1 Terminal,'Courier New',monospace;color:#ece5c4}
#hud strong span{font-size:11px}#hud .hudIcon{display:none}#hud .meter{margin-top:4px;height:3px;background:#17251f}#hud #weaponHint{font-size:7px;letter-spacing:.3px;color:#b6c4b1;margin:0}
#hud #slots{margin:5px 0 0;gap:6px}#hud #slots span{padding:2px 8px;font:10px Terminal,monospace;border:1px solid #555548;border-radius:0}
#hud .statusBlock{display:block}#hud .statusBlock span{font-size:9px;color:#b8beaf}#hud .statusBlock small{font-size:8px;margin-top:8px;white-space:nowrap;color:#9eaaa6}
@media(max-width:760px),(max-height:520px){#hud{padding:2px;gap:2px;grid-template-columns:.9fr .8fr 2.3fr .8fr 1.2fr}#hud>div,#hud>div:last-child{border-width:6px;border-image-width:6px;padding:2px 5px!important}#hud>.weaponInfo{padding-left:48px!important}#hud #portrait{width:40px;height:40px;left:0;top:0}#hud label,#hud #weaponLabel{font-size:6px!important;letter-spacing:.25px!important;margin-bottom:2px}#hud strong{font-size:21px}#hud #weaponHint{font-size:5px;letter-spacing:0}#hud #slots{gap:3px;margin-top:3px}#hud #slots span{padding:1px 4px;font-size:8px}#hud .statusBlock span{font-size:6px}#hud .statusBlock small{font-size:5px;margin-top:5px}}
@media(max-width:600px){#hud{grid-template-columns:.8fr .8fr 2.1fr .8fr 1.2fr}#hud #portrait{display:none}#hud>.weaponInfo{padding-left:4px!important}#hud>div,#hud>div:last-child{padding-left:3px!important;padding-right:3px!important}#hud strong{font-size:18px}#hud #weaponLabel{font-size:5px!important}#hud label{font-size:5px!important}#hud #slots span{padding:1px 3px}#hud .statusBlock span{font-size:5px}}
