/* R576 — palette partagée demandée, reprise exactement du moteur Messages R575. */
:root{
  --r576-drawer-cream:#f6f0e4;
  --r576-drawer-cream-2:#eee4d3;
  --r576-drawer-ink:#17333f;
  --r576-drawer-line:rgba(35,64,75,.15);
}

/* Salons favoris */
html body #memberDrawer-favorites .memberFavoritesShell{
  background:var(--r576-drawer-cream-2) !important;
  background-image:none !important;
}
html body #memberDrawer-favorites .memberFavoritesShell>header{
  width:100% !important;
  margin:0 !important;
  background:var(--r576-drawer-cream) !important;
  background-image:none !important;
  border-bottom:1px solid var(--r576-drawer-line) !important;
}
html body #memberDrawer-favorites .memberFavoritesList{
  background:var(--r576-drawer-cream-2) !important;
  background-image:none !important;
}
html body #memberDrawer-favorites .memberFavoriteSalonRow:nth-child(odd),
html body #memberDrawer-favorites .memberFavoritesEmpty{background:var(--r576-drawer-cream) !important;}
html body #memberDrawer-favorites .memberFavoriteSalonRow:nth-child(even){background:var(--r576-drawer-cream-2) !important;}

/* Contacts */
html body #memberDrawer-contacts .bodyContactsDrawer{
  background:var(--r576-drawer-cream-2) !important;
  background-image:none !important;
}
html body #memberDrawer-contacts .bodyContactsDrawer>header{
  width:100% !important;
  margin:0 !important;
  background:var(--r576-drawer-cream) !important;
  background-image:none !important;
  border-bottom:1px solid var(--r576-drawer-line) !important;
}
html body #memberDrawer-contacts .bodyContactSearch,
html body #memberDrawer-contacts .bodyContactGrid{background:var(--r576-drawer-cream-2) !important;}
html body #memberDrawer-contacts .bodyContactGrid>.memberDirectoryResult:nth-child(odd),
html body #memberDrawer-contacts .bodyContactEmpty{background:var(--r576-drawer-cream) !important;}
html body #memberDrawer-contacts .bodyContactGrid>.memberDirectoryResult:nth-child(even){background:var(--r576-drawer-cream-2) !important;}

/* Mes trophées */
html body #memberDrawer-trophies .memberTrophiesShell{
  background:var(--r576-drawer-cream-2) !important;
  background-image:none !important;
}
html body #memberDrawer-trophies .memberTrophiesHeader{
  width:100% !important;
  margin:0 !important;
  background:var(--r576-drawer-cream) !important;
  background-image:none !important;
  border-bottom:1px solid var(--r576-drawer-line) !important;
}
html body #memberDrawer-trophies .memberChosenShield,
html body #memberDrawer-trophies .memberTrophyCategory:nth-child(odd){background:var(--r576-drawer-cream) !important;background-image:none !important;}
html body #memberDrawer-trophies .memberTrophyCategory:nth-child(even),
html body #memberDrawer-trophies .memberTrophyPages{background:var(--r576-drawer-cream-2) !important;background-image:none !important;}

/* Photos et documents */
html body #memberDrawer-media .memberMediaShell{
  background:var(--r576-drawer-cream-2) !important;
  background-image:none !important;
}
html body #memberDrawer-media .memberMediaHeader{
  width:100% !important;
  margin:0 !important;
  background:var(--r576-drawer-cream) !important;
  background-image:none !important;
  border-bottom:1px solid var(--r576-drawer-line) !important;
}
html body #memberDrawer-media .memberMediaScroll{background:var(--r576-drawer-cream-2) !important;background-image:none !important;}
html body #memberDrawer-media .memberMediaPhotosSection{background:var(--r576-drawer-cream) !important;background-image:none !important;}
html body #memberDrawer-media .memberMediaDocumentsSection{background:var(--r576-drawer-cream-2) !important;background-image:none !important;}
html body #memberDrawer-media .memberMediaList>article:nth-child(odd){background:var(--r576-drawer-cream) !important;}
html body #memberDrawer-media .memberMediaList>article:nth-child(even){background:var(--r576-drawer-cream-2) !important;}

/* Signalements / avertissements */
html body #memberDrawer-reports .bodyReportsDrawer{
  background:var(--r576-drawer-cream-2) !important;
  background-image:none !important;
}
html body #memberDrawer-reports .bodyReportsDrawer>header{
  width:100% !important;
  margin:0 !important;
  background:var(--r576-drawer-cream) !important;
  background-image:none !important;
  border-bottom:1px solid var(--r576-drawer-line) !important;
}
html body #memberDrawer-reports .bodyDrawerStats,
html body #memberDrawer-reports .bodyReportsDrawer>section{background:var(--r576-drawer-cream-2) !important;background-image:none !important;}
html body #memberDrawer-reports .bodyReportList>article:nth-child(odd){background:var(--r576-drawer-cream) !important;}
html body #memberDrawer-reports .bodyReportList>article:nth-child(even){background:var(--r576-drawer-cream-2) !important;}

/* Annuaire */
html body #memberDrawer-directory .memberDirectoryShell{
  background:var(--r576-drawer-cream-2) !important;
  background-image:none !important;
}
html body #memberDrawer-directory .memberDirectoryHeader{
  width:100% !important;
  margin:0 !important;
  background:var(--r576-drawer-cream) !important;
  background-image:none !important;
  border-bottom:1px solid var(--r576-drawer-line) !important;
}
html body #memberDrawer-directory .memberDirectoryContent,
html body #memberDrawer-directory .memberDirectoryResults{background:var(--r576-drawer-cream-2) !important;background-image:none !important;}
html body #memberDrawer-directory .memberDirectorySection:nth-child(odd),
html body #memberDrawer-directory .memberDirectoryResults>.memberDirectoryResult:nth-child(odd){background:var(--r576-drawer-cream) !important;}
html body #memberDrawer-directory .memberDirectorySection:nth-child(even),
html body #memberDrawer-directory .memberDirectoryResults>.memberDirectoryResult:nth-child(even){background:var(--r576-drawer-cream-2) !important;}

/* R584 — Favoris : rendu compact centré, ouverture sans libellé orange et suppression dédiée. */
html body #memberDrawer-favorites .memberFavoriteSalonRow{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  min-height:76px !important;
  padding:9px 14px !important;
  text-align:center !important;
  cursor:default !important;
}
html body #memberDrawer-favorites .memberFavoriteSalonOpen{
  box-sizing:border-box !important;
  display:flex !important;
  width:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:2px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  color:inherit !important;
  font:inherit !important;
  text-align:center !important;
  cursor:pointer !important;
}
html body #memberDrawer-favorites .memberFavoriteSalonOpen h3{
  width:100% !important;
  margin:0 !important;
  color:#071a39 !important;
  font-size:clamp(14px,.86vw,17px) !important;
  line-height:1.12 !important;
  font-weight:800 !important;
  text-align:center !important;
  overflow-wrap:anywhere !important;
}
html body #memberDrawer-favorites .memberFavoriteSalonOpen p{
  width:100% !important;
  margin:0 !important;
  color:#617886 !important;
  font-size:clamp(10px,.66vw,12px) !important;
  line-height:1.25 !important;
  text-align:center !important;
}
html body #memberDrawer-favorites .memberFavoriteSalonRemove{
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  color:#f26722 !important;
  font-family:Manrope,Inter,"Segoe UI",Arial,sans-serif !important;
  font-size:clamp(9px,.6vw,11px) !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  text-align:center !important;
  cursor:pointer !important;
}
html body #memberDrawer-favorites .memberFavoriteSalonRemove:hover,
html body #memberDrawer-favorites .memberFavoriteSalonRemove:focus-visible{
  text-decoration:underline !important;
}
html body #memberDrawer-favorites .memberFavoriteSalonRemove:disabled{
  opacity:.5 !important;
  cursor:wait !important;
}
html body #memberDrawer-favorites .memberFavoritesEmpty{
  text-align:center !important;
}
