/* === SHIP STATUS HUD — top-right indicator === */

.ship-hud {
  position: fixed;
  top: 100px;
  right: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 6, 4, 0.78);
  border: 1px solid rgba(255, 140, 60, 0.28);
  border-radius: 8px;
  padding: 8px 14px 8px 10px;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(3px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.5),
    inset 0 0 12px rgba(255, 120, 40, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ship-hud:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 140, 60, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 6px 18px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(255, 140, 60, 0.25),
    inset 0 0 14px rgba(255, 140, 60, 0.12);
}

.ship-hud-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 140, 60, 0.4));
}

.ship-hud-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ship-hud-state {
  font-size: 11px;
  color: #ffe7b3;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(255, 140, 60, 0.45);
}

.ship-hud-detail {
  font-size: 9px;
  color: rgba(255, 200, 140, 0.55);
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

/* ============================================ */
/*  STATE VARIANTS                                */
/* ============================================ */
.ship-hud[data-state="away"] {
  border-color: rgba(80, 180, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(80, 180, 255, 0.2),
    inset 0 0 12px rgba(80, 180, 255, 0.08);
}
.ship-hud[data-state="away"] .ship-hud-state {
  color: #b8e0ff;
  text-shadow: 0 0 6px rgba(80, 180, 255, 0.5);
}
.ship-hud[data-state="away"] .ship-hud-detail {
  color: #9bf0ff;
}
.ship-hud[data-state="away"] .ship-hud-icon {
  animation: hudShipAway 1.4s ease-in-out infinite;
}
@keyframes hudShipAway {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

.ship-hud[data-state="landed"] {
  border-color: rgba(120, 220, 100, 0.7);
  animation: hudShipReady 1.6s ease-in-out infinite;
}
.ship-hud[data-state="landed"] .ship-hud-state {
  color: #d8ffa8;
  text-shadow: 0 0 8px rgba(120, 220, 100, 0.6);
}
@keyframes hudShipReady {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.4),
      0 4px 14px rgba(0, 0, 0, 0.5),
      0 0 18px rgba(120, 220, 100, 0.3),
      inset 0 0 12px rgba(120, 220, 100, 0.1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.4),
      0 4px 14px rgba(0, 0, 0, 0.5),
      0 0 30px rgba(120, 220, 100, 0.6),
      inset 0 0 18px rgba(120, 220, 100, 0.2);
  }
}
