/* ETHNOS R253 — 1280x720 UNIQUEMENT
   Audit visuel sur capture utilisateur :
   - bas visible bouton Rechercher : y=47
   - trait : y=52
   => 4 px vides (48..51) : NE PAS TOUCHER.
   - premier pixel visible "Recherche approfondie" : y=62
   => 9 px vides après le trait.
   Cause : padding-top 4px + ~5px de blanc interne de la line-box.
   Correction locale : retirer 5px visuels au-dessus du titre.
*/

/* Conserver strictement le premier espace déjà correct. */
html[data-ethnos-format-1280="1"][data-ethnos-ui]
body.isTchatDrawerOpen .salonQuickSearch,
html[data-ethnos-r234-1280="1"][data-ethnos-ui]
body.isTchatDrawerOpen .salonQuickSearch{
  padding-bottom:4px !important;
}

/* La boîte de section commence au trait ; plus de padding vertical artificiel. */
html[data-ethnos-format-1280="1"][data-ethnos-ui]
body.isTchatDrawerOpen .salonDeepSearch,
html[data-ethnos-r234-1280="1"][data-ethnos-ui]
body.isTchatDrawerOpen .salonDeepSearch{
  padding-top:0 !important;
}

/* Le premier glyph était encore ~5px sous le haut de sa line-box.
   -1px supplémentaire après suppression des 4px de padding = 5px retirés. */
html[data-ethnos-format-1280="1"][data-ethnos-ui]
body.isTchatDrawerOpen .salonDeepSearch > .salonExplorerSectionHead,
html[data-ethnos-r234-1280="1"][data-ethnos-ui]
body.isTchatDrawerOpen .salonDeepSearch > .salonExplorerSectionHead{
  margin-top:-1px !important;
}

/* Fallback strict 1280x720. */
@media (width:1280px) and (height:720px){
  html[data-ethnos-ui] body.isTchatDrawerOpen .salonQuickSearch{
    padding-bottom:4px !important;
  }
  html[data-ethnos-ui] body.isTchatDrawerOpen .salonDeepSearch{
    padding-top:0 !important;
  }
  html[data-ethnos-ui] body.isTchatDrawerOpen
  .salonDeepSearch > .salonExplorerSectionHead{
    margin-top:-1px !important;
  }
}
