/* Asterion HUD tooltips — matches User/Ship window chrome */
#wu-hud-tip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483600;
  max-width: min(280px, calc(100vw - 24px));
  padding: 8px 11px 9px;
  border-radius: 8px;
  border: 1px solid rgba(120, 200, 255, 0.48);
  background:
    linear-gradient(165deg, rgba(18, 48, 78, 0.97) 0%, rgba(8, 20, 38, 0.98) 55%, rgba(6, 14, 28, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(40, 140, 220, 0.18);
  color: #e8f4ff;
  font: 650 12px/1.35 "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0.15px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#wu-hud-tip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#wu-hud-tip .wu-tip-title {
  display: block;
  color: #9fd8ff;
  font: 750 12px/1.25 "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.3px;
  margin: 0 0 3px;
}
#wu-hud-tip .wu-tip-body {
  display: block;
  color: #d5e6f5;
  font: 550 11px/1.4 "Segoe UI", Tahoma, sans-serif;
  white-space: pre-line;
  opacity: 0.95;
}
#wu-hud-tip.has-only-title .wu-tip-title {
  margin: 0;
  color: #e8f4ff;
}
#wu-hud-tip.has-only-title .wu-tip-body {
  display: none;
}

/* Hide native browser tooltips while custom tip is active (title restored on leave) */
#game .wu-tip-native-suppressed[title] {
  /* attribute cleared in JS */
}
