/* Desktop + mobile — drawer-only nav (ir.spacex.com) */

#root nav.fixed {
  background: rgba(0, 0, 0, 0.95) !important;
  border-bottom-color: var(--hairline) !important;
  backdrop-filter: blur(8px);
}

/* Hide horizontal link row — all links live in the slide drawer */
#root nav.fixed .hidden.md\:flex,
#root nav.fixed [class*="hidden"][class*="md:flex"],
.ir-header .ir-nav {
  display: none !important;
  visibility: hidden !important;
}

#root nav.fixed .flex.items-center.gap-1,
#root nav.fixed .flex.items-center.gap-4,
.ir-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.ir-header-actions {
  margin-left: auto;
}

#root nav.fixed button.ir-react-menu-btn,
#root nav.fixed button.md\:hidden,
.ir-static-menu-btn,
.ir-translate-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent !important;
  color: var(--text-bright) !important;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer;
}

#root nav.fixed button.ir-react-menu-btn:hover,
#root nav.fixed button.ir-react-menu-btn[aria-expanded="true"],
.ir-static-menu-btn:hover,
.ir-static-menu-btn[aria-expanded="true"],
.ir-translate-btn:hover {
  border-color: var(--hairline-bright);
  background: var(--ghost-bg) !important;
}

.ir-translate-host,
#google_translate_element.ir-translate-host {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ir-header {
  gap: 0.75rem;
}

.ir-header .spcx-nav-brand {
  flex: 1;
  min-width: 0;
}
