/* Coque Manoux légère — la cartographie et son moteur restent inchangés. */
.manoux-map-nav {
  position: fixed;
  z-index: 2100;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  gap: 8px;
  max-width: calc(100vw - 120px);
  transform: translateX(-50%);
}

.manoux-map-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(35, 35, 33, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  color: #f7f4ea;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.manoux-map-nav a:hover {
  border-color: rgba(192, 211, 75, 0.82);
  background: rgba(43, 44, 39, 0.96);
}

.manoux-map-nav a:focus-visible,
body :where(a, button, select, input):focus-visible {
  outline: 3px solid #c0d34b;
  outline-offset: 3px;
}

.manoux-map-nav img {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .manoux-map-nav {
    right: 10px;
    left: auto;
    max-width: calc(100vw - 68px);
    transform: none;
  }

  .manoux-map-nav a {
    min-height: 36px;
    padding: 6px 9px;
    font-size: 0.7rem;
  }
}

@media (max-width: 420px) {
  .manoux-map-nav a:last-child span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manoux-map-nav *,
  .manoux-map-nav *::before,
  .manoux-map-nav *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
