/* ========================================================================== */
/* ETHNOS R541 — Accueil Découverte : lisibilité ciblée post-R540            */
/* Base physique : R540.                                                       */
/* Périmètre strict : demandes formulées après R540 uniquement.               */
/* ========================================================================== */

/* 1) Trois grands blocs centraux — tous formats desktop.                     */
/* On agrandit uniquement les paragraphes sous les titres.                    */
/* Les h3, dimensions, positions et images des cartes ne sont pas modifiés.   */
@media (min-width:901px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180Pillars > .r180Pillar > p{
    font-size:clamp(8.3px,.62vw,13px) !important;
  }
}

/* Valeurs exactes sur les six formats de contrôle.                           */
/* La hauteur de ligne est compensée pour conserver autant que possible       */
/* l'empreinte verticale existante et donc la position des titres.            */
@media (width:1280px) and (height:720px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180Pillars > .r180Pillar > p{
    font-size:8.3px !important;
    line-height:1.08 !important;
  }
}
@media (width:1366px) and (height:768px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180Pillars > .r180Pillar > p{
    font-size:8.5px !important;
    line-height:1.06 !important;
  }
}
@media (width:1536px) and (height:864px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180Pillars > .r180Pillar > p{
    font-size:9.5px !important;
    line-height:1.02 !important;
  }
}
@media (width:1707px) and (height:1067px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180Pillars > .r180Pillar > p{
    font-size:10.5px !important;
    line-height:1.27 !important;
  }
}
@media (width:1920px) and (height:1080px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180Pillars > .r180Pillar > p{
    font-size:10.5px !important;
    line-height:1.02 !important;
  }
}
@media (width:2560px) and (height:1440px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180Pillars > .r180Pillar > p{
    font-size:13px !important;
    line-height:1.20 !important;
  }
}

/* 2) 1920×1080 — Trajectoire : réduire uniquement les grands chiffres.       */
@media (width:1920px) and (height:1080px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r530Trajectory{
    --r531-target-number:31px;
  }

  /* Streaming : la carte conserve sa taille. On réduit uniquement sa        */
  /* réserve horizontale interne pour décaler le texte à gauche et redonner   */
  /* assez de largeur à PROCHAINEMENT, sans réduction typographique.          */
  html.ethnosGuestDiscovery body.isEthnosHomeView
  .r537MetricRow > .r185MetricStreaming{
    padding-left:7px !important;
    padding-right:2px !important;
    column-gap:1px !important;
  }
}

/* 3) Grands écrans — Trajectoire : texte des encoches plus lisible sans      */
/* agrandir les encoches. La hauteur de ligne compense l'augmentation.        */
@media (min-width:2200px) and (min-height:1200px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r530Trajectory{
    --r531-reward-font:15px;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r530Trajectory
  .r180MilestoneReward > span{
    line-height:1.02 !important;
  }
}

/* 4) 1280×720 — Trajectoire : lisibilité + alignement du palier 500 000.     */
@media (width:1280px) and (height:720px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r530Trajectory{
    --r531-reward-font:9px;
    --r531-target-label:7px;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r530Trajectory
  .r180MilestoneReward > span{
    line-height:1.05 !important;
  }

  /* Les deux coches du palier 500 000 partagent strictement le même axe.     */
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r530Trajectory .r180TrajectorySteps > li:nth-child(3) .r180MilestoneReward{
    grid-template-columns:var(--r531-check-size,16px) minmax(0,1fr) !important;
    column-gap:var(--r531-reward-gap,6px) !important;
    margin-left:0 !important;
    padding-left:0 !important;
    transform:none !important;
  }
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r530Trajectory .r180TrajectorySteps > li:nth-child(3) .r180MilestoneReward > b{
    position:static !important;
    left:auto !important;
    justify-self:start !important;
    margin-left:0 !important;
    transform:none !important;
  }
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r530Trajectory .r180TrajectorySteps > li:nth-child(3) .r180MilestoneReward > span{
    position:static !important;
    left:auto !important;
    margin-left:0 !important;
    transform:none !important;
  }
}
