/* ========================================================================== */
/* ETHNOS R786 — correctif de cascade Maps + lisibilité/centrage Profil       */
/* 14 septembre 2026 — CSS uniquement, aucune logique métier.                 */
/* ========================================================================== */
:root{
  --r786-charcoal:#1f1f1f;
  --r786-white:#fffaf3;
  --r786-orange:#f26722;
}

/* -------------------------------------------------------------------------- */
/* 1. MAPS — correction de spécificité.                                       */
/* R453 possède des règles !important plus spécifiques que R782/R783/R785.    */
/* Ces sélecteurs reprennent/ dépassent volontairement cette spécificité.      */
/* -------------------------------------------------------------------------- */
html.ethnosGuestDiscovery body.r190WorldViewOpen .bodyView-world > .bodyViewHeader.bodyViewHeader{
  background-color:var(--r786-charcoal) !important;
  background-image:none !important;
  color:var(--r786-white) !important;
  border-color:rgba(255,255,255,.14) !important;
}
html.ethnosGuestDiscovery body.r190WorldViewOpen .bodyView-world > .bodyViewHeader.bodyViewHeader :is(h1,h2,p,span,.bodyViewEyebrow){
  color:var(--r786-white) !important;
  text-shadow:none !important;
}
html.ethnosGuestDiscovery body.r190WorldViewOpen .bodyView-world > .bodyViewHeader.bodyViewHeader .bodyHeaderMark{
  color:var(--r786-white) !important;
}
html.ethnosGuestDiscovery body.r190WorldViewOpen .bodyView-world > .bodyViewHeader.bodyViewHeader .bodyHeaderMark strong{
  color:var(--r786-orange) !important;
}

/* Le panneau lui-même devient anthracite. Les boutons statistiques ne sont
   volontairement jamais ciblés afin de garder exactement leur palette claire. */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.r190WorldViewOpen:not(.isTchatDrawerOpen) .r453MapPulsePanel[data-r603-map-pulse]{
    background-color:var(--r786-charcoal) !important;
    background-image:none !important;
    border-color:rgba(255,255,255,.16) !important;
    box-shadow:0 15px 38px rgba(0,0,0,.24) !important;
  }
}
html.ethnosGuestDiscovery body.r190WorldViewOpen .r453MapPulsePanel[data-r603-map-pulse] .r453MapPulseHead{
  border-bottom-color:rgba(255,255,255,.14) !important;
}
html.ethnosGuestDiscovery body.r190WorldViewOpen .r453MapPulsePanel[data-r603-map-pulse] .r453MapPulseHead > span{
  color:var(--r786-orange) !important;
}
html.ethnosGuestDiscovery body.r190WorldViewOpen .r453MapPulsePanel[data-r603-map-pulse] .r453MapPulseHead h2,
html.ethnosGuestDiscovery body.r190WorldViewOpen .r453MapPulsePanel[data-r603-map-pulse] .r453MapPulseHead p{
  color:var(--r786-white) !important;
}

/* -------------------------------------------------------------------------- */
/* 2. PROFIL — centres d’intérêt lisibles sur le nouveau fond anthracite.      */
/* Les fonds, bordures et dimensions des pastilles restent inchangés.          */
/* -------------------------------------------------------------------------- */
html body [data-member-drawer-panel="profile"] .ethnosProfileR576Interests.memberInterests [data-interests] > span{
  color:var(--r786-white) !important;
}

/* 3. PROFIL — présentation centrée dans son volume crème.                    */
html body [data-member-drawer-panel="profile"] .ethnosProfileR576DescriptionText{
  text-align:center !important;
}
