/* ==========================================================================
   ETHNOS R259 — 1536x864 UNIQUEMENT — TCHAT — ESPACEMENTS VISUELS
   CIBLE :
   Rechercher -> 4 px VIDES -> trait 1 px -> 4 px VIDES -> titre visible.

   PÉRIMÈTRE STRICT :
   - 1536x864 uniquement.
   - Aucun changement 1280, 1366, 1707, 1920 ou autres formats.
   - Aucun changement JS, structure, boutons, continents, CENTRAL ou charte.
   ========================================================================== */

@media (width:1536px) and (height:864px){

  /* Rechercher -> trait :
     5 px de padding = 4 px vides + séparateur 1 px positionné au bord bas. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonQuickSearch{
    position:relative !important;
    margin-bottom:0 !important;
    padding-bottom:5px !important;
    border-bottom:0 !important;
  }

  /* Le séparateur est rendu explicitement.
     Cela remplace localement les anciennes règles qui pouvaient masquer ::after. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonQuickSearch::after{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:auto !important;
    height:1px !important;
    margin:0 !important;
    background:rgba(149,205,218,.38) !important;
  }

  /* Empêche un second séparateur historique sur ::before. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonQuickSearch::before{
    content:none !important;
    display:none !important;
  }

  /* Trait -> titre :
     on retire le padding historique de la section pour que l'espace visible
     soit porté uniquement par le premier titre. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonDeepSearch{
    margin-top:0 !important;
    padding-top:0 !important;
    border-top:0 !important;
  }

  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonDeepSearch > .salonExplorerSectionHead{
    position:relative !important;
    top:0 !important;
    transform:none !important;
    margin-top:4px !important;
  }
}
