/* The SVG keeps both supplied pixel images aligned at every saved HUD size. */
#gameScreen #abilityHud .energy-bar.energy-tank {
  width: 90px;
  height: 90px;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.energy-tank-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  image-rendering: pixelated;
}
#gameScreen #abilityHud .energy-tank .energy-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  order: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

/* Keep the tank beside movement controls and above the attributes panel.
   The eight skill positions occupy the right side; saved editor styles win. */
@media (orientation: landscape) and (max-height: 500px) {
  #gameScreen #abilityHud .energy-bar.energy-tank {
    left: 130px;
    bottom: 64px;
  }
}
