/* ETHNOS R175 — navigation haute et basse blanches.
   Seul le bouton actif passe en crème. Aucun liseré coloré. */

:root{
  --r175-nav-white:#fffdf9;
  --r175-nav-cream:#fff4e4;
  --r175-nav-navy:#071a39;
}

/* Typographie commune conservée sur les deux barres. */
html body .memberTopNavButton,
html body .memberTopNavButton span,
html body #memberWorldDock button,
html body #memberWorldDock button span{
  color:var(--r175-nav-navy) !important;
}

/* Barre haute : tous les boutons blancs, actif crème. */
html body .memberTopNavButton,
html body .memberTopNavButton:nth-child(odd),
html body .memberTopNavButton:nth-child(even){
  background:var(--r175-nav-white) !important;
  border-color:transparent !important;
  filter:none !important;
  text-shadow:none !important;
}
html body .memberTopNavButton:hover,
html body .memberTopNavButton:focus-visible{
  background:var(--r175-nav-white) !important;
  transform:translateY(-2px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 3px 0 rgba(7,26,57,.12),
    0 8px 15px rgba(7,26,57,.14) !important;
}
html body .memberTopNavButton.isActive,
html body .memberTopNavButton.isActive:nth-child(odd),
html body .memberTopNavButton.isActive:nth-child(even){
  background:var(--r175-nav-cream) !important;
  transform:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95) !important;
}

/* Suppression totale de tout ancien liseré actif, y compris Messages. */
html body .memberTopNavButton::after,
html body .memberTopNavButton.isActive::after{
  content:none !important;
  display:none !important;
  background:none !important;
  box-shadow:none !important;
}

/* Barre basse : même règle, sans alternance ni liseré. */
html body #memberWorldDock button,
html body #memberWorldDock button:nth-child(odd),
html body #memberWorldDock button:nth-child(even){
  background:var(--r175-nav-white) !important;
  border-color:transparent !important;
  filter:none !important;
  text-shadow:none !important;
}
html body #memberWorldDock button:hover,
html body #memberWorldDock button:focus-visible{
  background:var(--r175-nav-white) !important;
  transform:translateY(-2px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.98),
    0 3px 0 rgba(7,26,57,.12),
    0 8px 15px rgba(7,26,57,.14) !important;
}
html body #memberWorldDock button.isActive,
html body #memberWorldDock button.isActive:nth-child(odd),
html body #memberWorldDock button.isActive:nth-child(even){
  background:var(--r175-nav-cream) !important;
  transform:none !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95) !important;
}
html body #memberWorldDock button::after,
html body #memberWorldDock button.isActive::after{
  content:none !important;
  display:none !important;
  background:none !important;
  box-shadow:none !important;
}

@media (prefers-reduced-motion:reduce){
  html body .memberTopNavButton,
  html body #memberWorldDock button{transition:none !important;}
}
