/* ==========================================================================
   ETHNOS R267 — 1280x720 UNIQUEMENT — RESTAURATION F12 VALIDÉE R258

   Audit historique :
   R253 : bouton -> trait = 4 px VISUELS, déjà validé.
   R256 : F12 utilisateur :
          espaceBoutonTrait = 4 px
          espaceTraitTitre = 5.00001258 px
   R258 : solution finale basée sur ces mesures.

   R267 restaure strictement ce mécanisme en dernier dans la cascade :
   - séparateur UNIQUE sur .salonQuickSearch::after
   - 4 px vides avant le trait (padding-bottom 5 = 4 + trait 1)
   - aucun padding historique sur .salonDeepSearch
   - 4 px dédiés sur le premier titre
   - neutralisation du faux séparateur .salonDeepSearch::before introduit après R258

   1366x768 / 1536x864 / autres formats : NON TOUCHÉS.
   ========================================================================== */

@media (width:1280px) and (height:720px){

  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;
  }

  /* Séparateur unique : mécanisme R258. */
  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;
    top:auto !important;
    width:auto !important;
    height:1px !important;
    margin:0 !important;
    background:rgba(149,205,218,.38) !important;
    pointer-events:none !important;
  }

  html[data-ethnos-ui="discord-r111"]
  body.isTchatDrawerOpen .memberExplorerPanel .salonQuickSearch::before{
    content:none !important;
    display:none !important;
  }

  html[data-ethnos-ui="discord-r111"]
  body.isTchatDrawerOpen .memberExplorerPanel .salonDeepSearch{
    position:relative !important;
    margin-top:0 !important;
    padding-top:0 !important;
    border-top:0 !important;
  }

  /* Neutralise explicitement le séparateur déplacé en R265/R266. */
  html[data-ethnos-ui="discord-r111"]
  body.isTchatDrawerOpen .memberExplorerPanel .salonDeepSearch::before,
  html[data-ethnos-ui="discord-r111"]
  body.isTchatDrawerOpen .memberExplorerPanel .salonDeepSearch::after{
    content:none !important;
    display:none !important;
    width:0 !important;
    height:0 !important;
    margin:0 !important;
  }

  /* R258 : espace dédié au premier titre, sans déplacement artificiel. */
  html[data-ethnos-ui="discord-r111"]
  body.isTchatDrawerOpen .memberExplorerPanel
  .salonDeepSearch > .salonExplorerSectionHead{
    position:relative !important;
    top:0 !important;
    margin-top:4px !important;
    transform:none !important;
  }
}

/* Même restauration avec les deux marqueurs réellement posés par le HTML 1280. */
html[data-ethnos-format-1280="1"][data-ethnos-r234-1280="1"][data-ethnos-ui="discord-r111"]
body.isTchatDrawerOpen .memberExplorerPanel .salonQuickSearch{
  position:relative !important;
  margin-bottom:0 !important;
  padding-bottom:5px !important;
  border-bottom:0 !important;
}

html[data-ethnos-format-1280="1"][data-ethnos-r234-1280="1"][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;
  top:auto !important;
  width:auto !important;
  height:1px !important;
  margin:0 !important;
  background:rgba(149,205,218,.38) !important;
  pointer-events:none !important;
}

html[data-ethnos-format-1280="1"][data-ethnos-r234-1280="1"][data-ethnos-ui="discord-r111"]
body.isTchatDrawerOpen .memberExplorerPanel .salonQuickSearch::before,
html[data-ethnos-format-1280="1"][data-ethnos-r234-1280="1"][data-ethnos-ui="discord-r111"]
body.isTchatDrawerOpen .memberExplorerPanel .salonDeepSearch::before,
html[data-ethnos-format-1280="1"][data-ethnos-r234-1280="1"][data-ethnos-ui="discord-r111"]
body.isTchatDrawerOpen .memberExplorerPanel .salonDeepSearch::after{
  content:none !important;
  display:none !important;
}

html[data-ethnos-format-1280="1"][data-ethnos-r234-1280="1"][data-ethnos-ui="discord-r111"]
body.isTchatDrawerOpen .memberExplorerPanel .salonDeepSearch{
  position:relative !important;
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:0 !important;
}

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