/* HUD overlays extracted for modularity */

#crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  pointer-events: none;
}
#crosshair::before,
#crosshair::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
#crosshair::before {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.8);
}
#crosshair::after {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(0, 255, 200, 0.5);
  box-shadow: 0 0 10px rgba(0, 255, 200, 0.3) inset;
}

#hitMarker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 26px;
  height: 26px;
  opacity: 0;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transition: opacity 80ms ease, transform 80ms ease;
  z-index: 1002;
}

#screenFlash {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 9999;
  transition: background 180ms ease;
}

/* Ensure HUD canvases never steal clicks */
#shieldArc, #weaponArc, #velocityVector { pointer-events: none; }

#targetBracket {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  font-family: "Orbitron", monospace;
  z-index: 1002;
}
#targetBracket .box {
  position: absolute;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  border: 1px solid rgba(0, 255, 150, 0.8);
  box-shadow: 0 0 10px rgba(0, 255, 150, 0.4);
  z-index: 1001;
  pointer-events: none;
}
#targetBracket .dist {
  position: absolute;
  transform: translate(-50%, 0);
  top: calc(50% + 38px);
  left: 50%;
  font-size: 10px;
  font-family: "Orbitron", monospace;
  color: #aaffff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.7);
  z-index: 1001;
  pointer-events: none;
}

#leadIndicator {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: none;
  z-index: 1002;
}
