/* ========================================
   HUD Container & Crosshair
   ======================================== */
#hud {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  display: none;
}

#crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--cyan);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* ========================================
   Minimap
   ======================================== */
#minimap {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(5, 5, 10, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

#minimap-canvas {
  width: 100%;
  height: 100%;
}

/* ========================================
   Compass
   ======================================== */
#compass {
  position: absolute;
  bottom: 40px;
  right: 70px;
  width: 200px;
  height: auto;
  border-radius: 8px;
  background: rgba(5, 5, 10, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  gap: 10px;
  overflow: hidden;
}

#compass-strip {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0;
  height: 22px;
  line-height: 22px;
  position: absolute;
  left: 0;
}

#compass-strip .cardinal {
  color: #ffcc00;
  font-weight: 700;
  font-size: 14px;
}

#compass-strip .tick {
  display: inline-block;
  width: 1px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 3px;
  vertical-align: middle;
}

.compass-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.compass-arrow-down {
  border-top: 6px solid var(--orange);
  margin-bottom: 4px;
}

.compass-arrow-up {
  border-bottom: 6px solid var(--orange);
  margin-top: 4px;
}

/* ========================================
   Control Hints (ESC / Q)
   ======================================== */
#control-hints {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 200px;
  height: auto;
  border-radius: 8px;
  background: rgba(5, 5, 10, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px 0;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

#control-hints .hint-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
  line-height: 1.4;
  padding: 10px 20px;
  width: 100%;
}

#control-hints .hint-row:first-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#control-hints .hint-key {
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid rgba(255, 204, 0, 0.3);
  color: #ffcc00;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
  min-width: 32px;
  text-align: center;
  flex-shrink: 0;
}
