/* ==========================================================================
   ETHNOS R265 — TCHAT — 1280x720 + 1536x864
   Reprise du MECANISME réellement utilisé en 1366x768.

   Principe :
   - PAS de trait sur .salonQuickSearch
   - UN SEUL trait : .salonDeepSearch::before (séparateur historique)
   - respirations réglées uniquement par padding-bottom / padding-top
   - neutralisation des anciens pseudo-traits R258/R259/R263/R264

   1366x768 : NON TOUCHÉ.
   ========================================================================== */

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

  /* Même respiration finale que la règle 1366 validée. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonQuickSearch{
    margin-bottom:0 !important;
    padding-bottom:8px !important;
    border-bottom:0 !important;
  }

  /* Supprime les faux séparateurs ajoutés dans les tentatives 1280/1536. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonQuickSearch::before,
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonQuickSearch::after{
    content:none !important;
    display:none !important;
    margin:0 !important;
  }

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

  /* Restaure l'unique séparateur historique, identique au mécanisme 1366. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonDeepSearch::before{
    content:"" !important;
    display:block !important;
    position:absolute !important;
    top:0 !important;
    left:8% !important;
    right:8% !important;
    width:auto !important;
    height:1px !important;
    margin:0 !important;
    background:rgba(149,205,218,.24) !important;
    pointer-events:none !important;
  }

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

  /* Annule les déplacements artificiels du titre des essais précédents. */
  html[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen
  .memberExplorerPanel .salonDeepSearch > .salonExplorerSectionHead{
    position:relative !important;
    top:0 !important;
    margin-top:0 !important;
    transform:none !important;
  }
}
