.web-hud {
  position: fixed;
  top: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1000;
  font-size: 14px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: flex-start;
  padding: 10px;
  gap: 22px;
  font-weight: 200;
}

.playerList,
.enemyList {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.enemyList .ship-row-root > * {
  flex: 0;
}

.ship-row-root .name {
  white-space: nowrap;
  flex: 1;
}

.score {
  white-space: nowrap;
}

.enemyList .ship-row-root .distance {
  flex: 1;
  min-width: 80px;
}

.healthContainer {
  min-width: 100px;
}

.hud-center-panel {
  text-align: center;
}

.hud-right-panel {
  text-align: right;
}

.playerList .ship-row-root {
  display: grid;
  grid-template-columns: 20px 1fr 30px 30px 30px 50px 1fr;
}

.playerList .headerRowCell {
  font-weight: bold;
}

.playerList .headerRowCell,
.ship-row-root .color,
.ship-row-root .name,
.ship-row-root .score,
.ship-row-root .kdr,
.ship-row-root .distance,
.ship-row-root .lives {
  width: 100%;
  text-align: center;
}

.ship-row-root .color {
  height: 12px;
  width: 12px;
  border: 1px solid white;
  border-radius: 100%;
  aspect-ratio: 1 / 1;
  flex-grow: 0;
}

.ship-row-root {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 6px 10px;
  border-left: 3px solid transparent;
}

.ship-row-root.deadPlayer {
  opacity: 0.3;
}

.ship-row-root .lives {
  flex: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
}

.ship-row-root > * {
  text-align: left;
  flex: 1;
  white-space: nowrap;
}

.ship-row-root .lives .heart {
  width: 12px;
  height: 12px;
  position: relative;
}

.ship-row-root .lives .heart img {
  position: absolute;
  width: 12px;
}

.ship-row-root.isPlayer {
  background: rgba(0, 0, 0, 0.6);
  border-color: white;
}

.visibleContainer {
  background: rgba(0 0 0 / 0.3);
  border-radius: 4px;
  border: none;
}

.ship-row-root:first-of-type {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

.ship-row-root:last-of-type {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.hud-right-panel {
  padding: 6px 10px;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.healthContainer {
  width: 100%;
  max-width: 100px;
  height: 15px;
  background: transparent;
  border: 1px solid black;
  border-radius: 8px;
  overflow: hidden;
}

.healthBar {
  height: 100%;
  background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00);
}

.wave {
  text-align: left;
}

.web-hud {
  font-size: 10px;
  padding: 8px;
  gap: 11px;
}

.healthContainer {
  height: 10px;
}

.ship-row-root {
  gap: 16px;
  padding: 4px 8px;
}

.hud-right-panel {
  padding: 4px 8px;
}
