/* Keep combat geometry independent of changing counters and canvas backing size. */
main>header,main>.stats,main>.xp,main>nav,main>footer{flex-shrink:0}
#arena{flex:1 1 0;min-width:0;contain:layout paint}
#game{position:absolute;inset:0;width:100%;height:100%;display:block}
.stats>div{flex:1 1 0;min-width:0;height:79px;overflow:hidden}
.stats strong{display:block;margin:0;height:27px;min-height:27px;line-height:27px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stats small,#levelTitle,#sectorTitle,#threat{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#levelTitle,#sectorTitle{display:block;height:13px;line-height:13px}
#levelBox.prestigeReady strong{height:27px;min-height:27px;line-height:13px;white-space:normal;display:flex;align-items:center;font-size:clamp(10px,2.8vw,14px)}
#levelBox.prestigeReady #levelTitle{height:13px}
header b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#rank{height:12px;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
main>footer{height:14px;line-height:14px;min-width:0;gap:8px;overflow:hidden}
#shipLabel,#kills{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shipLabel{flex:1}
#kills{flex:0 1 auto;max-width:55%;text-align:right;font-variant-numeric:tabular-nums}
#bossHud>div:first-child{height:24px;align-items:center;margin-bottom:3px}
#bossName{min-width:0;max-height:24px;overflow:hidden;line-height:12px}
#bossLife{flex-shrink:0;max-width:56%;overflow:hidden;text-overflow:ellipsis}
@supports(height:100svh){main{height:100svh}}
