/* ========================================================================== */
/* ETHNOS R566 — finitions ciblées Univers / Cultures / Solidarité / Entraide */
/* Base : R565. Aucun changement hors périmètre demandé.                       */
/* ========================================================================== */

/* 1) UNIVERS + CULTURES : reprendre EXACTEMENT le sélecteur visuel validé     */
/*    dans Événements (flèche + pavé droit sombre).                            */
html body .bodyView-houses.r554UniverseHub .r554UniverseFeed .r554UniverseFilters select,
html body .bodyView-familyDiscovery--culture.r556FamilyHub .r556FamilyFeed .r554UniverseFilters select{
  -webkit-appearance:none !important;
  appearance:none !important;
  padding-right:42px !important;
  background-color:#092535 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23f7f2e9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),linear-gradient(180deg,#0b3143 0%,#082536 100%) !important;
  background-repeat:no-repeat,no-repeat !important;
  background-position:right 14px center,right center !important;
  background-size:12px 8px,40px 100% !important;
}
html body .bodyView-houses.r554UniverseHub .r554UniverseFeed .r554UniverseFilters select:disabled,
html body .bodyView-familyDiscovery--culture.r556FamilyHub .r556FamilyFeed .r554UniverseFilters select:disabled{
  opacity:.62 !important;
}

/* 2) UNIVERS + SOLIDARITÉ + CULTURES : +5 px entre les filtres et la première */
/*    rangée de cartes d'Univers, sur tous les formats.                        */
html body .bodyView-houses.r554UniverseHub .r554UniverseFeed .r492UniverseStrip,
html body .bodyView-familyDiscovery--solidarity.r556FamilyHub .r556FamilyFeed .r497FamilyOfficialSection .r492UniverseStrip,
html body .bodyView-familyDiscovery--culture.r556FamilyHub .r556FamilyFeed .r497FamilyOfficialSection .r492UniverseStrip{
  margin-top:5px !important;
}

/* 3) ENTRAIDE -> TCHAT : correction de la cause du blocage des volets.        */
/* R562 force la vue Entraide en une seule colonne avec !important.            */
/* Quand Tchat s'ouvre depuis Entraide, cette règle écrasait la géométrie      */
/* normale du Tchat (colonne Tchat + zone des volets de recherche).            */
@media (min-width:901px){
  html.ethnosConnectedUnified body.isR562HelpView.isTchatDrawerOpen .memberLayout{
    grid-template-columns:var(--ethnos-search-width) minmax(0,1fr) !important;
    column-gap:0 !important;
    row-gap:0 !important;
    padding:0 !important;
  }
  html.ethnosConnectedUnified body.isR562HelpView.isTchatDrawerOpen .memberWorkspace.hasBodyView[data-body-view="help"]{
    grid-column:2 !important;
    width:auto !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }
}

/* Les résultats/volets créés pendant la recherche doivent rester au-dessus   */
/* de la page Entraide et recevoir les clics.                                 */
html body.isR562HelpView.isTchatDrawerOpen .memberWorkspace > .salonDrawerStage{
  z-index:120 !important;
  visibility:visible !important;
}
html body.isR562HelpView.isTchatDrawerOpen .memberWorkspace > .salonCentralResultsWindow{
  z-index:130 !important;
  visibility:visible !important;
}
html body.isR562HelpView.isTchatDrawerOpen .memberWorkspace > .salonDrawerStage .salonDrawerStack,
html body.isR562HelpView.isTchatDrawerOpen .memberWorkspace > .salonCentralResultsWindow{
  pointer-events:auto !important;
}
