/* ========================================================================== */
/* ETHNOS R458 — 2 correctifs ciblés accueil découverte                       */
/* Base figée : R457.                                                         */
/* 1) Volet Connexion : aucune collision avec le dock inférieur.              */
/* 2) 1536 compact : ligne cible/chiffre/membres rendue plus compacte.         */
/* Aucun changement 2560x1440, Maps, Tchat, backend ou contenu fonctionnel.   */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1) VOLET CONNEXION — desktop                                               */
/* R444 lui donnait une hauteur jusqu'au bas du viewport. Le dock canonique   */
/* occupe var(--r110-dock-height) au-dessus du footer légal. Le volet s'arrête*/
/* désormais 8px avant le bord supérieur du dock, sans modifier son contenu. */
/* -------------------------------------------------------------------------- */
@media (min-width:901px){
  html.ethnosGuestDiscovery .guestLoginDrawer{
    bottom:calc(var(--footer-legal,22px) + var(--r110-dock-height,54px) + 8px) !important;
    height:auto !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 2) TRAJECTOIRE — 1536 compact / hauteurs laptop réduites                   */
/* Valeurs avant : icône 30px, gap 5px, chiffre ≈22px à 1536, membres ≈5.4px.*/
/* Valeurs R458 : icône 27px (-10%), gap 4px, chiffre 19px (~-15%),            */
/* membres 5px (~-7%). Les textes descriptifs ne changent pas.                */
/* Le calibrage historique 1536x864 de R225 reste intact (max-height:820px). */
/* -------------------------------------------------------------------------- */
@media (min-width:1367px) and (max-width:1536px) and (max-height:820px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps .r180MilestoneTarget{
    gap:4px !important;
    white-space:nowrap !important;
    overflow:visible !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps .r180MilestoneTarget > i{
    flex:0 0 27px !important;
    width:27px !important;
    height:27px !important;
    min-width:27px !important;
    min-height:27px !important;
    font-size:15px !important;
    margin:0 !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps .r180MilestoneTarget strong{
    font-size:19px !important;
    line-height:1 !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps .r180MilestoneTarget small{
    font-size:5px !important;
    line-height:1 !important;
  }
}
