/* Bottom nav — Operator / Voice / Collab */

.hud-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  display: flex;
  gap: 0;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(6, 6, 11, 0) 0%, rgba(6, 6, 11, 0.92) 28%, rgba(3, 3, 8, 0.98) 100%);
  border-top: 1px solid rgba(66, 232, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hud-nav-btn {
  flex: 1;
  min-height: 44px;
  border: 1px solid rgba(66, 232, 255, 0.22);
  border-radius: 12px;
  background: rgba(14, 14, 22, 0.85);
  color: var(--muted);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.hud-nav-btn + .hud-nav-btn {
  margin-left: 8px;
}

.hud-nav-btn.active {
  color: var(--text);
  border-color: rgba(66, 232, 255, 0.5);
  background: linear-gradient(135deg, rgba(66, 232, 255, 0.16), rgba(91, 140, 255, 0.12));
  box-shadow: 0 0 18px rgba(66, 232, 255, 0.12);
}

.hud-view.hidden {
  display: none !important;
}

body.hud-nav-active {
  padding-bottom: 72px;
}

body.hud-view-voice #voiceSettingsPanel {
  display: block !important;
}

body.hud-view-operator #voiceSettingsPanel,
body.hud-view-collab #voiceSettingsPanel {
  display: none !important;
}

body.hud-nav-active .team-call-btn {
  display: none !important;
}

.collab-hub {
  margin: 12px 16px 80px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(66, 232, 255, 0.22);
}

.collab-hub h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #42e8ff;
}

.collab-hub p {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #8a9bb5;
  line-height: 1.45;
}

.collab-hub-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collab-hub-actions button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(66, 232, 255, 0.35);
  background: rgba(8, 20, 32, 0.9);
  color: #b8ecff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.collab-hub-actions button.primary {
  background: linear-gradient(135deg, #1a5a66, #0d3a44);
  color: #7ee8fa;
}

.collab-hub-note {
  margin-top: 12px;
  font-size: 0.72rem;
  color: #6a7a8f;
  line-height: 1.4;
}
