/* ========================================================================== */
/* ETHNOS R543 — stabilité visuelle Découverte / Maps / Tchat                */
/* Base figée : R542.                                                        */
/* Périmètre strict : accueil Découverte non connecté uniquement.            */
/* - supprime le flash de l'ancien shell au premier rendu ;                  */
/* - conserve le même cadrage du décor entre Accueil, Maps et Tchat.         */
/* ========================================================================== */

/* Le mode Découverte est déterminé dans <head>, avant le premier rendu.      */
/* Tant que la vue centrale n'est pas construite, l'ancien shell statique     */
/* n'est pas peint. Le décor correct reste disponible derrière.               */
html.ethnosGuestDiscovery.ethnosDiscoveryBooting .memberApp{
  visibility:hidden !important;
}
html.ethnosGuestDiscovery.ethnosDiscoveryBooting body{
  background:
    linear-gradient(rgba(7,26,57,.16),rgba(7,26,57,.16)),
    url("../assets/images/commercial-home-hero-r355.jpg") center/cover fixed no-repeat !important;
}

/* Preuve R542 : l'accueil utilise le pseudo-fond avec inset:-12px, tandis   */
/* que R455/R456 forcent Maps/Tchat à inset:0. Avec background-size:cover,    */
/* cette différence change le rectangle de calcul et donc le recadrage.       */
/* .memberLayout est overflow:hidden : on peut garder la géométrie Accueil    */
/* sans laisser le pseudo-fond recouvrir les barres hors du layout.           */
@media (min-width:901px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen .memberLayout::before,
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberLayout::before,
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerClosing .memberLayout::before,
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerClosingActive .memberLayout::before{
    position:absolute !important;
    inset:-12px !important;
    width:auto !important;
    height:auto !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
  }
}
