/* R1235: original cascade order, same inline/script boundaries. */
/* SOURCE css/espace-membre-r287-v1-4.css SHA256 747489e8369695fe4f89a65ee5f90bb13ab9b6d5ca4d3b34fe8748da84716d3b */
/* ==========================================================================
   ETHNOS R287 V1.4 — REPARATION STRUCTURELLE PROPRE
   Base : R286 validée. Aucune couche R287 V1/V1.1/V1.2/V1.3 n'est chargée.

   A MODIFIER
   - Tchat multi-onglets (6 max) ;
   - accès par vrai chemin historique et Favoris ;
   - salon central arrêté AVANT la colonne droite ;
   - membres intégrés entre Profil et Maps ;
   - onglets persistants pendant la session ;
   - F5 = Accueil intact ;
   - ancien fond de parcours Tchat supprimé ;
   - bouton "Entrer dans le salon" orange standard ;
   - charte crème/ardoise validée ;
   - messages petits et blancs, titres crème.

   A NE PAS TOUCHER
   - Annuaire ;
   - Photos/Documents ;
   - Profil/Ville R286 ;
   - Maps ;
   - navigation générale ;
   - chevauchement gauche explicitement validé.
   ========================================================================== */

:root{
  --r287-cream:#f3ead9;
  --r287-cream-2:#eadfcd;
  --r287-slate:#061c29;
  --r287-slate-2:#082737;
  --r287-orange:#f28a45;
  --r287-line:rgba(243,234,217,.16);
  --r287-right-gap:14px;
}

/* --------------------------------------------------------------------------
   SECURITE LIFECYCLE
   Rien de R287 n'est visible hors d'un salon effectivement actif.
   -------------------------------------------------------------------------- */
.r287v14Left,
.r287v14Chat,
.r287v14Online{
  display:none !important;
}

body.r287v14Active .r287v14Left,
body.r287v14Active .r287v14Chat{
  display:flex !important;
}

body.r287v14Active .r287v14Online{
  display:flex !important;
}

/* Le volet Tchat historique reste totalement visible tant qu'aucun salon
   R287 n'est ouvert. */
body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel > .memberExplorerHead{
  display:flex !important;
}
body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel > .memberExplorerBody{
  display:flex !important;
}
body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel > .r186TchatClose{
  display:flex !important;
}

/* --------------------------------------------------------------------------
   PARCOURS HISTORIQUE TCHAT : même chemin, sans vieux fond graphique.
   -------------------------------------------------------------------------- */
html body.isTchatDrawerOpen:not(.r287v14Active)
.memberWorkspace.hasSalonContent:not(.isSalonOpen){
  background-color:var(--r287-slate) !important;
  background-image:none !important;
}

/* Bouton final du parcours : standard orange lisible. */
html body.isTchatDrawerOpen .salonOpenButton{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:34px !important;
  padding:0 16px !important;
  border:1px solid rgba(6,28,41,.16) !important;
  border-radius:10px !important;
  background:var(--r287-orange) !important;
  color:var(--r287-slate) !important;
  box-shadow:0 3px 0 rgba(6,28,41,.26) !important;
  font-weight:800 !important;
  text-decoration:none !important;
  opacity:1 !important;
}

/* --------------------------------------------------------------------------
   LARGEUR DU SALON : arrêt avant la colonne droite existante.
   Aucun changement de moteur global de .memberLayout.
   -------------------------------------------------------------------------- */
body.r287v14Active .memberWorkspace{
  margin-right:calc(var(--ethnos-context-width) + var(--r287-right-gap)) !important;
  min-width:0 !important;
  overflow:hidden !important;
}

/* R185 masque les enfants du workspace en mode Tchat :
   whitelist locale du seul shell R287 actif. */
html body.isTchatDrawerOpen.r287v14Active
.memberWorkspace > .r287v14Chat{
  visibility:visible !important;
  pointer-events:auto !important;
}

/* --------------------------------------------------------------------------
   VOLET GAUCHE CONTEXTUEL — crème validé
   -------------------------------------------------------------------------- */
body.r287v14Active .memberExplorerPanel{
  background:linear-gradient(180deg,#f6edde,#eadfcd) !important;
  color:var(--r287-slate) !important;
  overflow:visible !important;
}

body.r287v14Active .memberExplorerPanel > .memberExplorerHead,
body.r287v14Active .memberExplorerPanel > .memberExplorerBody,
body.r287v14Active .memberExplorerPanel > .r186TchatClose{
  display:none !important;
}

.r287v14Left{
  position:absolute;
  inset:0;
  z-index:20;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border-radius:inherit;
  background:linear-gradient(180deg,#f6edde,#eadfcd);
  color:var(--r287-slate);
}

.r287v14ContextHead{
  flex:none;
  padding:14px 14px 11px;
  border-bottom:1px solid rgba(6,28,41,.13);
}

.r287v14Eyebrow{
  display:block;
  color:var(--r287-orange);
  font:800 9px/1.2 Inter,Arial,sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.r287v14ContextHead h2{
  margin:4px 0 0 !important;
  color:var(--r287-slate) !important;
  font:800 17px/1.1 Inter,Arial,sans-serif !important;
}

.r287v14ContextHead p{
  margin:4px 0 0 !important;
  color:#75695c !important;
  font:600 10px/1.25 Inter,Arial,sans-serif !important;
}

.r287v14ContextList{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  padding:9px;
}

.r287v14SectionTitle{
  margin:8px 5px 5px;
  color:#776a5d;
  font:800 9px/1.2 Inter,Arial,sans-serif;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.r287v14Channel{
  width:100%;
  display:grid;
  grid-template-columns:18px minmax(0,1fr) auto;
  align-items:center;
  gap:6px;
  margin:2px 0;
  padding:8px 8px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#263c48;
  cursor:pointer;
  text-align:left;
  font:700 10px/1.2 Inter,Arial,sans-serif;
}

.r287v14Channel:hover{
  background:rgba(6,28,41,.07);
}

.r287v14Channel.isActive{
  background:var(--r287-slate);
  color:var(--r287-cream);
}

.r287v14Badge{
  min-width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 5px;
  border-radius:9px;
  background:var(--r287-orange);
  color:#fff;
  font:800 8px/1 Inter,Arial,sans-serif;
}

.r287v14Explore{
  flex:none;
  margin:8px 10px 10px;
  min-height:32px;
  border:1px solid rgba(6,28,41,.18);
  border-radius:9px;
  background:var(--r287-slate);
  color:var(--r287-cream);
  cursor:pointer;
  font:800 10px/1 Inter,Arial,sans-serif;
}

/* --------------------------------------------------------------------------
   EXPLORATEUR GLOBAL COULISSANT
   -------------------------------------------------------------------------- */
.r287v14Explorer{
  position:absolute;
  z-index:40;
  inset:0;
  display:flex;
  flex-direction:column;
  transform:translateX(-102%);
  transition:transform .2s ease;
  border-radius:inherit;
  background:var(--r287-cream);
  color:var(--r287-slate);
  box-shadow:16px 0 38px rgba(0,0,0,.26);
}

.r287v14Explorer.isOpen{transform:translateX(0)}

.r287v14ExplorerHead{
  flex:none;
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px;
  border-bottom:1px solid rgba(6,28,41,.14);
}

.r287v14ExplorerHead strong{
  flex:1;
  font:800 13px/1.2 Inter,Arial,sans-serif;
}

.r287v14ExplorerClose{
  width:28px;
  height:28px;
  border:0;
  border-radius:8px;
  background:var(--r287-slate);
  color:var(--r287-cream);
  cursor:pointer;
}

.r287v14Search{
  margin:10px 12px 6px;
  height:34px;
  border:1px solid rgba(6,28,41,.2);
  border-radius:9px;
  background:#fffaf2;
  color:var(--r287-slate);
  padding:0 10px;
  font:600 10px/1 Inter,Arial,sans-serif;
}

.r287v14Filters{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  padding:0 12px 8px;
}

.r287v14Filters button{
  border:1px solid rgba(6,28,41,.18);
  border-radius:14px;
  background:transparent;
  color:var(--r287-slate);
  padding:5px 8px;
  cursor:pointer;
  font:700 9px/1 Inter,Arial,sans-serif;
}

.r287v14Filters button.isActive{
  background:var(--r287-slate);
  color:var(--r287-cream);
}

.r287v14Results{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:6px 10px 12px;
}

.r287v14Result{
  width:100%;
  margin:4px 0;
  padding:8px 9px;
  border:1px solid rgba(6,28,41,.12);
  border-radius:8px;
  background:rgba(255,255,255,.32);
  color:var(--r287-slate);
  cursor:pointer;
  text-align:left;
}

.r287v14Result strong,
.r287v14Result small{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.r287v14Result strong{font:800 10px/1.2 Inter,Arial,sans-serif}
.r287v14Result small{margin-top:3px;opacity:.66;font:600 8.5px/1.2 Inter,Arial,sans-serif}

/* --------------------------------------------------------------------------
   CHAT CENTRAL
   -------------------------------------------------------------------------- */
.r287v14Chat{
  position:absolute;
  inset:0;
  z-index:80;
  flex-direction:column;
  min-width:0;
  min-height:0;
  overflow:hidden;
  background:var(--r287-slate-2);
  color:white;
}

.r287v14Tabs{
  flex:none;
  height:36px;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:3px;
  padding:4px 5px 0;
  border-bottom:1px solid var(--r287-line);
  background:var(--r287-slate);
}

.r287v14Tab{
  min-width:0;
  height:28px;
  display:flex;
  align-items:center;
  gap:5px;
  border:1px solid transparent;
  border-radius:7px 7px 0 0;
  padding:0 6px;
  background:rgba(243,234,217,.05);
  color:rgba(243,234,217,.68);
  cursor:pointer;
  font:700 9px/1 Inter,Arial,sans-serif;
}

.r287v14Tab.isActive{
  border-color:rgba(243,234,217,.16);
  border-bottom-color:var(--r287-slate-2);
  background:var(--r287-slate-2);
  color:var(--r287-cream);
}

.r287v14TabLabel{
  flex:1;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.r287v14TabClose{
  width:15px;
  height:15px;
  border:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
  padding:0;
}

.r287v14Room{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.r287v14RoomHead{
  flex:none;
  min-height:43px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 11px;
  border-bottom:1px solid var(--r287-line);
  background:var(--r287-slate-2);
}

.r287v14RoomTitle{
  flex:1;
  min-width:0;
}

.r287v14RoomTitle strong{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:var(--r287-cream);
  font:800 12px/1.15 Inter,Arial,sans-serif;
}

.r287v14RoomTitle small{
  display:block;
  margin-top:2px;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:rgba(243,234,217,.65);
  font:600 8px/1.2 Inter,Arial,sans-serif;
}

.r287v14Tools{
  flex:none;
  display:flex;
  gap:4px;
}

.r287v14Tool{
  width:30px;
  height:29px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(243,234,217,.14);
  border-radius:7px;
  background:rgba(243,234,217,.05);
  color:var(--r287-cream);
  cursor:pointer;
  font-size:12px;
}

.r287v14Tool.isActive,
.r287v14Tool:hover{
  background:var(--r287-cream);
  color:var(--r287-slate);
}

.r287v14Unread{
  flex:none;
  width:100%;
  min-height:27px;
  border:0;
  border-bottom:1px solid rgba(6,28,41,.15);
  background:var(--r287-orange);
  color:var(--r287-slate);
  cursor:pointer;
  padding:0 12px;
  text-align:right;
  font:800 8.5px/1 Inter,Arial,sans-serif;
}
.r287v14Unread[hidden]{display:none !important}

.r287v14SearchBar{
  flex:none;
  display:none;
  gap:6px;
  padding:6px 9px;
  border-bottom:1px solid var(--r287-line);
  background:#0a2230;
}
.r287v14SearchBar.isOpen{display:flex}
.r287v14SearchBar input{
  flex:1;
  min-width:0;
  height:29px;
  border:1px solid rgba(243,234,217,.18);
  border-radius:7px;
  background:#fffaf2;
  color:var(--r287-slate);
  padding:0 8px;
  font:600 9px/1 Inter,Arial,sans-serif;
}
.r287v14SearchBar span{
  align-self:center;
  color:rgba(243,234,217,.62);
  font:700 8px/1 Inter,Arial,sans-serif;
}

.r287v14Pinned{
  flex:none;
  display:none;
  padding:6px 9px;
  border-bottom:1px solid var(--r287-line);
  background:#102f3f;
  color:var(--r287-cream);
  font:700 8.5px/1.3 Inter,Arial,sans-serif;
}
.r287v14Pinned.isOpen{display:block}

.r287v14Messages{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:9px 12px 7px;
  scrollbar-width:thin;
}

.r287v14Day{
  display:flex;
  align-items:center;
  gap:8px;
  margin:3px 0 10px;
  color:rgba(243,234,217,.66);
  font:700 8px/1 Inter,Arial,sans-serif;
}
.r287v14Day::before,.r287v14Day::after{
  content:"";
  flex:1;
  height:1px;
  background:var(--r287-line);
}

.r287v14Message{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:8px;
  margin:0 0 6px;
  padding:4px 5px;
  border-radius:8px;
}
.r287v14Message:hover{background:rgba(243,234,217,.035)}
.r287v14Message.isSearchMiss{display:none}

.r287v14Avatar{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:50%;
  background:var(--r287-cream);
  color:var(--r287-slate);
  font:800 9px/1 Inter,Arial,sans-serif;
}
.r287v14Avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.r287v14MessageBody{min-width:0}
.r287v14Meta{
  display:flex;
  align-items:baseline;
  gap:6px;
  margin-bottom:2px;
}
.r287v14Meta strong{
  color:var(--r287-cream);
  font:800 9.5px/1 Inter,Arial,sans-serif;
}
.r287v14Meta time{
  color:rgba(255,255,255,.52);
  font:600 7px/1 Inter,Arial,sans-serif;
}

.r287v14ReplyRef{
  margin:0 0 3px;
  padding-left:6px;
  border-left:2px solid var(--r287-orange);
  color:rgba(255,255,255,.64);
  font:600 7.5px/1.25 Inter,Arial,sans-serif;
}

.r287v14Text{
  margin:0;
  color:#fff;
  font:500 9px/1.38 Inter,Arial,sans-serif;
  overflow-wrap:anywhere;
}

.r287v14Attachment{
  display:inline-flex;
  margin-top:5px;
  max-width:100%;
  padding:5px 7px;
  border:1px solid var(--r287-line);
  border-radius:7px;
  color:var(--r287-cream);
  font:700 8px/1 Inter,Arial,sans-serif;
}

.r287v14Actions{
  display:flex;
  flex-wrap:wrap;
  gap:3px;
  margin-top:4px;
}

.r287v14Actions button{
  border:1px solid rgba(243,234,217,.12);
  border-radius:11px;
  padding:3px 6px;
  background:rgba(243,234,217,.04);
  color:rgba(255,255,255,.64);
  cursor:pointer;
  font:700 7px/1 Inter,Arial,sans-serif;
}
.r287v14Actions button:hover,
.r287v14Actions button.isActive{
  background:var(--r287-cream);
  color:var(--r287-slate);
}

/* Compositeur */
.r287v14Composer{
  flex:none;
  padding:7px 9px 8px;
  border-top:1px solid var(--r287-line);
  background:var(--r287-slate);
}

.r287v14ReplyDraft{
  display:none;
  align-items:center;
  gap:7px;
  margin-bottom:5px;
  padding:5px 7px;
  border-radius:6px;
  background:rgba(243,234,217,.06);
  color:rgba(243,234,217,.68);
  font:600 8px/1.2 Inter,Arial,sans-serif;
}
.r287v14ReplyDraft.isOpen{display:flex}
.r287v14ReplyDraft span{
  flex:1;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.r287v14ReplyDraft button{
  border:0;
  background:transparent;
  color:var(--r287-cream);
  cursor:pointer;
}

.r287v14ComposerRow{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto 62px;
  gap:5px;
  align-items:center;
}

.r287v14ComposerRow textarea{
  min-width:0;
  width:100%;
  min-height:34px;
  max-height:74px;
  box-sizing:border-box;
  resize:vertical;
  border:1px solid rgba(243,234,217,.16);
  border-radius:8px;
  background:#102d3d;
  color:#fff;
  padding:8px 9px;
  outline:none;
  font:500 9px/1.35 Inter,Arial,sans-serif;
}

.r287v14ComposerRow > button,
.r287v14ComposerTools button{
  height:32px;
  border:1px solid rgba(243,234,217,.14);
  border-radius:7px;
  background:rgba(243,234,217,.05);
  color:var(--r287-cream);
  cursor:pointer;
  font:800 8px/1 Inter,Arial,sans-serif;
}

.r287v14ComposerTools{
  display:flex;
  align-items:center;
  gap:3px;
}

.r287v14ComposerTools button{
  min-width:29px;
  padding:0 5px;
}

.r287v14Send{
  background:var(--r287-cream) !important;
  color:var(--r287-slate) !important;
}

.r287v14Hint{
  margin-top:4px;
  color:rgba(243,234,217,.52);
  font:600 7px/1.2 Inter,Arial,sans-serif;
}

/* --------------------------------------------------------------------------
   COLONNE DROITE : Profil / Membres / Maps
   On utilise la colonne fixe historique ; on ne change son positionnement.
   -------------------------------------------------------------------------- */
body.r287v14Active .memberRightRail{
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) auto !important;
  align-content:stretch !important;
  gap:8px !important;
  overflow:hidden !important;
  pointer-events:none !important;
}

body.r287v14Active .memberRightRail > .memberProfileCompact{
  grid-row:1 !important;
  pointer-events:auto !important;
}
body.r287v14Active .memberRightRail > .r287v14Online{
  grid-row:2 !important;
  pointer-events:auto !important;
}
body.r287v14Active .memberRightRail > .memberMapCard{
  grid-row:3 !important;
  pointer-events:auto !important;
}

.r287v14Online{
  min-height:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(6,28,41,.12);
  border-radius:12px;
  background:linear-gradient(180deg,#f5ecdc,#eadfcd);
  color:var(--r287-slate);
}

.r287v14Online.isUserHidden{display:none !important}

.r287v14OnlineHead{
  flex:none;
  padding:9px 10px 7px;
  border-bottom:1px solid rgba(6,28,41,.12);
}
.r287v14OnlineHead span{
  display:block;
  color:#786b5d;
  font:800 8px/1 Inter,Arial,sans-serif;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.r287v14OnlineHead strong{
  display:block;
  margin-top:3px;
  font:800 11px/1.15 Inter,Arial,sans-serif;
}

.r287v14OnlineList{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:6px;
}

.r287v14Member{
  width:100%;
  display:grid;
  grid-template-columns:8px 27px minmax(0,1fr);
  align-items:center;
  gap:6px;
  padding:5px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--r287-slate);
  cursor:pointer;
  text-align:left;
}
.r287v14Member:hover{background:rgba(6,28,41,.06)}

.r287v14Presence{
  width:7px;height:7px;border-radius:50%;background:#65927a;
}
.r287v14MemberAvatar{
  width:27px;height:27px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--r287-slate);color:var(--r287-cream);
  font:800 8px/1 Inter,Arial,sans-serif;
}
.r287v14MemberCopy{min-width:0}
.r287v14MemberCopy strong,.r287v14MemberCopy small{
  display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
.r287v14MemberCopy strong{font:800 8.5px/1.2 Inter,Arial,sans-serif}
.r287v14MemberCopy small{margin-top:2px;opacity:.6;font:600 7px/1.2 Inter,Arial,sans-serif}

/* --------------------------------------------------------------------------
   Onglets ouverts accessibles depuis le vrai volet Tchat
   -------------------------------------------------------------------------- */
.r287v14Resume{
  margin:0 0 10px;
  padding:8px;
  border:1px solid rgba(6,28,41,.16);
  border-radius:9px;
  background:rgba(243,234,217,.94);
}
.r287v14ResumeTitle{
  margin-bottom:5px;
  color:var(--r287-slate);
  font:800 9px/1.2 Inter,Arial,sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.r287v14ResumeButtons{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}
.r287v14ResumeButtons button{
  border:1px solid rgba(6,28,41,.14);
  border-radius:12px;
  background:#fffaf2;
  color:var(--r287-slate);
  padding:5px 7px;
  cursor:pointer;
  font:700 8px/1 Inter,Arial,sans-serif;
}

/* Toast limite / fonctions à venir */
.r287v14Toast{
  position:absolute;
  z-index:120;
  left:50%;
  bottom:54px;
  transform:translateX(-50%);
  max-width:min(90%,420px);
  padding:8px 11px;
  border-radius:8px;
  background:var(--r287-cream);
  color:var(--r287-slate);
  box-shadow:0 10px 26px rgba(0,0,0,.28);
  font:800 9px/1.3 Inter,Arial,sans-serif;
}

@media (width:1280px) and (height:720px){
  body.r287v14Active .memberWorkspace{
    margin-right:calc(var(--ethnos-context-width) + 10px) !important;
  }
  .r287v14Tabs{height:34px}
  .r287v14Tab{height:26px;font-size:8px}
  .r287v14RoomHead{min-height:40px}
  .r287v14Messages{padding:7px 9px 5px}
  .r287v14Text{font-size:8.5px}
  .r287v14Composer{padding:5px 7px 6px}
  .r287v14ComposerTools button{min-width:27px;padding:0 4px}
  .r287v14Hint{display:none}
}

/* SOURCE css/espace-membre-r287-v1-5.css SHA256 1f1182fbda6e1befc78f115f933ddee1e3a52b00288b939743e6e84e6bec9339 */
/* ETHNOS R287 V1.5 — verrouillage local du shell central actif */
html body.isTchatDrawerOpen.r287v14Active
.memberWorkspace > .r287v14Chat{
  display:flex !important;
  visibility:visible !important;
  pointer-events:auto !important;
  opacity:1 !important;
}

/* SOURCE css/espace-membre-r287-v1-6.css SHA256 42674f80812e15777c4cf33e219fd6ba23b0fe06f7ac95c7e913cb9c7158a24a */
/* ETHNOS R287 V1.6 — préserver intégralement le volet Tchat historique */
.memberExplorerBody > .r287v14Resume{
  display:none !important;
}

/* SOURCE css/espace-membre-r287-v1-7.css SHA256 ebd3752634ce8b5b779813e6f285d50e79841d9530d1390dbc44201675dfb2bb */
/* ==========================================================================
   ETHNOS R287 V1.7 — correction locale mode salon
   A MODIFIER :
   - bouton "Explorer tous les salons" : orange standard + placé avant
     la liste "Dans ce contexte" ;
   - salon central : haut juste sous l'onglet Profil ;
   - bord droit du salon : aligné sur le bord gauche de l'onglet Profil.

   A NE PAS TOUCHER :
   - Profil ;
   - Tchat hors mode salon ;
   - navigation ;
   - Annuaire / Médias / Maps ;
   - structure fonctionnelle R287.
   ========================================================================== */

@media (min-width:901px){

  /* Bouton remonté : avant la liste contextuelle, sans toucher au DOM. */
  body.r287v14Active .r287v14ContextHead{
    order:0 !important;
  }

  body.r287v14Active .r287v14Explore{
    order:1 !important;
    margin:10px 10px 4px !important;
    min-height:34px !important;
    border:1px solid rgba(6,28,41,.16) !important;
    background:var(--r287-orange) !important;
    color:var(--r287-slate) !important;
    box-shadow:0 3px 0 rgba(6,28,41,.20) !important;
  }

  body.r287v14Active .r287v14ContextList{
    order:2 !important;
  }

  /* Salon actif uniquement.
     Le Profil reste inchangé : on cale le salon sur ses dimensions existantes. */
  html[data-ethnos-ui="discord-r111"] body.r287v14Active .r287v14Chat{
    position:fixed !important;
    top:var(--ethnos-card-height) !important;
    right:var(--ethnos-context-width) !important;
    bottom:calc(var(--footer-legal,22px) + var(--r110-dock-height,54px) + var(--r185-edge-gap,10px)) !important;
    left:var(--ethnos-search-width) !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
  }
}

/* SOURCE css/espace-membre-r287-v1-12.css SHA256 44f1611722ba4288544ac96a4b5967372cef655e39ae115505c2833cbf16d504 */
/* ETHNOS R287 V1.12 — reprise propre depuis V1.7.
   Correction limitée au volet Membres.
   Le salon et son moteur de layout ne sont pas modifiés. */

@media (min-width:901px){
  body.r287v14Active .memberRightRail > .r287v14Online{
    position:fixed !important;
    top:calc(var(--ethnos-card-height) + 8px) !important;
    right:0 !important;
    bottom:calc(var(--ethnos-card-height) + 8px) !important;
    left:auto !important;
    display:flex !important;
    flex-direction:column !important;
    width:var(--ethnos-context-width) !important;
    min-width:var(--ethnos-context-width) !important;
    max-width:var(--ethnos-context-width) !important;
    height:auto !important;
    min-height:0 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    z-index:119 !important;
    pointer-events:auto !important;
    border:1px solid rgba(6,28,41,.12) !important;
    border-radius:12px 0 0 12px !important;
    background:linear-gradient(180deg,#f5ecdc,#eadfcd) !important;
    color:var(--r287-slate) !important;
  }

  body.r287v14Active .memberRightRail > .r287v14Online.isUserHidden{
    display:none !important;
  }

  .r287v14OnlineHead{
    flex:none !important;
    min-height:58px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    padding:10px 12px 9px !important;
    box-sizing:border-box !important;
    border-bottom:1px solid rgba(6,28,41,.18) !important;
  }

  .r287v14OnlineHead span{display:block !important;font-size:10px !important;}
  .r287v14OnlineHead strong{display:block !important;margin-top:4px !important;font-size:14px !important;}

  .r287v14OnlineClose{
    width:30px !important;height:30px !important;flex:0 0 30px !important;
    border:1px solid rgba(6,28,41,.15) !important;border-radius:8px !important;
    background:#fffaf2 !important;color:var(--r287-slate) !important;
    cursor:pointer !important;font:800 18px/1 Arial,sans-serif !important;
  }

  .r287v14MemberSearch{
    flex:none !important;padding:9px 10px !important;
    border-bottom:1px solid rgba(6,28,41,.18) !important;
    background:rgba(255,250,242,.48) !important;
  }

  .r287v14MemberSearch input{
    width:100% !important;height:36px !important;box-sizing:border-box !important;
    border:1px solid rgba(6,28,41,.20) !important;border-radius:9px !important;
    background:#fffaf2 !important;color:var(--r287-slate) !important;
    padding:0 11px !important;outline:none !important;
    font:600 12px/1 Inter,Arial,sans-serif !important;
  }

  .r287v14OnlineList{
    flex:1 1 auto !important;min-height:0 !important;
    overflow-y:auto !important;overflow-x:hidden !important;
    padding:0 10px !important;scrollbar-width:thin !important;
  }

  .r287v14Member{
    min-height:62px !important;
    grid-template-columns:9px 42px minmax(0,1fr) !important;
    gap:10px !important;padding:9px 4px !important;
    border:0 !important;border-bottom:1px solid rgba(6,28,41,.16) !important;
    border-radius:0 !important;
  }

  .r287v14Member:last-child{border-bottom:0 !important;}
  .r287v14Member.isSelf{background:rgba(247,136,67,.10) !important;}
  .r287v14Presence{width:8px !important;height:8px !important;}
  .r287v14MemberAvatar{width:42px !important;height:42px !important;font-size:12px !important;}
  .r287v14MemberCopy strong{font-size:13px !important;line-height:1.2 !important;}
  .r287v14MemberCopy small{margin-top:3px !important;font-size:10px !important;line-height:1.2 !important;}

  .r287v14MemberCard{
    position:absolute !important;z-index:3 !important;
    top:68px !important;right:10px !important;left:10px !important;
    max-height:calc(100% - 78px) !important;overflow:auto !important;
    padding:14px !important;box-sizing:border-box !important;
    border:1px solid rgba(6,28,41,.22) !important;border-radius:12px !important;
    background:#fffaf2 !important;box-shadow:0 14px 34px rgba(0,0,0,.24) !important;
    color:var(--r287-slate) !important;
  }

  .r287v14MemberCardClose{
    position:absolute !important;top:8px !important;right:8px !important;
    width:28px !important;height:28px !important;border:0 !important;
    background:transparent !important;cursor:pointer !important;font-size:20px !important;
  }

  .r287v14MemberCardIdentity{
    display:flex !important;align-items:center !important;gap:11px !important;
    padding-right:28px !important;margin-bottom:12px !important;
  }

  .r287v14MemberCardAvatar{
    width:48px !important;height:48px !important;flex:0 0 48px !important;
    display:flex !important;align-items:center !important;justify-content:center !important;
    border-radius:50% !important;background:var(--r287-slate) !important;
    color:var(--r287-cream) !important;font:800 13px/1 Inter,Arial,sans-serif !important;
  }

  .r287v14MemberCardIdentity strong{display:block !important;font:800 14px/1.2 Inter,Arial,sans-serif !important;}
  .r287v14MemberCardIdentity small{display:block !important;margin-top:3px !important;opacity:.68 !important;font:600 10px/1.2 Inter,Arial,sans-serif !important;}
  .r287v14MemberCardActions{display:grid !important;gap:7px !important;}

  .r287v14MemberCardActions button{
    min-height:34px !important;border:1px solid rgba(6,28,41,.16) !important;
    border-radius:8px !important;background:#f6edde !important;color:var(--r287-slate) !important;
    cursor:pointer !important;padding:7px 9px !important;text-align:left !important;
    font:700 11px/1.2 Inter,Arial,sans-serif !important;
  }

  .r287v14MemberCardActions button.isPrimary{background:var(--r287-orange) !important;font-weight:800 !important;}
  .r287v14MemberCardActions button.isDanger{border-color:rgba(138,35,35,.28) !important;}
}

/* SOURCE css/espace-membre-r293-help-offer.css SHA256 41f1138a8b6f56e37bac32a07c30e416ac63d58e645aa12cbc6f7408a63b3dbf */
/* ETHNOS R293 — proposition d’aide.
   Périmètre strict : modale .salonHelpOfferDialog uniquement. */

.salonHelpOfferDialog{
  position:absolute;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:24px;
}
.salonHelpOfferDialogBackdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(3,25,37,.58);
  cursor:default;
}
.salonHelpOfferDialogCard{
  position:relative;
  z-index:1;
  width:min(560px,calc(100vw - 48px));
  max-height:calc(100vh - 64px);
  overflow:auto;
  box-sizing:border-box;
  border-radius:18px;
  padding:24px;
  background:#fff1df;
  color:#092838;
  box-shadow:0 22px 58px rgba(0,0,0,.28);
}
.salonHelpOfferDialogClose{
  position:absolute;
  top:10px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:inherit;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.salonHelpOfferDialogCard h2{
  margin:0 42px 8px 0;
}
.salonHelpOfferIntro{
  margin:0 0 18px;
}
.salonHelpOfferForm{
  display:grid;
  gap:14px;
}
.salonHelpOfferField{
  display:grid;
  gap:6px;
}
.salonHelpOfferField > span{
  font-weight:700;
}
.salonHelpOfferField input,
.salonHelpOfferField textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(9,40,56,.25);
  border-radius:10px;
  padding:11px 12px;
  background:#fff;
  color:#092838;
  font:inherit;
  resize:vertical;
}
.salonHelpOfferActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:2px;
}
.salonHelpOfferSend,
.salonHelpOfferDonate{
  border:0;
  border-radius:10px;
  padding:11px 16px;
  background:#ff9457;
  color:#071d29;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.salonHelpOfferDonate{
  opacity:.58;
}
.salonHelpOfferSend:disabled{
  opacity:.55;
  cursor:default;
}
.salonHelpOfferFeedback{
  margin:0;
  padding:11px 12px;
  border-radius:10px;
  background:rgba(9,40,56,.08);
  font-weight:700;
}
.salonHelpOfferDonationInfo{
  margin:0;
  font-size:.92rem;
  line-height:1.45;
  transition:box-shadow .18s ease,background .18s ease;
}
.salonHelpOfferDonationInfo.isHighlighted{
  background:rgba(255,148,87,.18);
  box-shadow:0 0 0 4px rgba(255,148,87,.13);
  border-radius:8px;
}
@media (max-width:700px){
  .salonHelpOfferDialog{
    padding:14px;
  }
  .salonHelpOfferDialogCard{
    width:min(100%,560px);
    max-height:calc(100vh - 28px);
    padding:20px;
  }
}

/* SOURCE css/espace-membre-r294-group-invite-fix.css SHA256 66b727551f5a8f5ad2b1d3c5675cec083bd11bc0e001ee5f88933ee0d5f792e0 */
/* ETHNOS R294 — invitation discussion de groupe.
   Périmètre strict : modale .salonGroupInviteDialog uniquement. */
.salonGroupInviteDialog{
  position:absolute;
  inset:0;
  z-index:82;
  display:grid;
  place-items:center;
  padding:24px;
}
.salonGroupInviteDialogBackdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(3,25,37,.58);
  cursor:default;
}
.salonGroupInviteDialogCard{
  position:relative;
  z-index:1;
  width:min(600px,calc(100vw - 48px));
  max-height:calc(100vh - 64px);
  overflow:auto;
  box-sizing:border-box;
  border-radius:18px;
  padding:24px;
  background:#fff1df;
  color:#092838;
  box-shadow:0 22px 58px rgba(0,0,0,.28);
}
.salonGroupInviteDialogClose{
  position:absolute;
  top:10px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:inherit;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.salonGroupInviteDialogCard h2{
  margin:0 42px 8px 0;
}
.salonGroupInviteIntro{
  margin:0 0 18px;
}
.salonGroupInviteForm{
  display:grid;
  gap:14px;
}
.salonGroupInviteField{
  display:grid;
  gap:6px;
}
.salonGroupInviteField > span,
.salonGroupInviteMembersTitle{
  font-weight:800;
}
.salonGroupInviteField input{
  width:100%;
  box-sizing:border-box;
  border:1px solid rgba(9,40,56,.25);
  border-radius:10px;
  padding:11px 12px;
  background:#fff;
  color:#092838;
  font:inherit;
}
.salonGroupInviteChoices{
  display:grid;
  gap:8px;
  max-height:260px;
  overflow:auto;
  padding:10px;
  border:1px solid rgba(9,40,56,.16);
  border-radius:10px;
  background:rgba(255,255,255,.58);
}
.salonGroupInviteChoice{
  display:flex;
  align-items:center;
  gap:8px;
}
.salonGroupInviteSubmit{
  justify-self:start;
  border:0;
  border-radius:10px;
  padding:11px 16px;
  background:#ff9457;
  color:#071d29;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.salonGroupInviteFeedback{
  margin:0;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(9,40,56,.08);
  font-weight:700;
}
@media (max-width:700px){
  .salonGroupInviteDialog{
    padding:14px;
  }
  .salonGroupInviteDialogCard{
    width:min(100%,600px);
    max-height:calc(100vh - 28px);
    padding:20px;
  }
}

/* SOURCE css/ethnos-r299-member-actions-profile-button-reference.css SHA256 f09ef98edc8f097253729b7e57e277a01ba3d37904d5b29a836a961001c8cd02 */
/* R295 — actions de la fiche membre active uniquement */
.r295ActionOverlay{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:20px;background:rgba(3,25,37,.58)}
.r295ActionCard{position:relative;width:min(560px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;box-sizing:border-box;padding:24px;border-radius:18px;background:#fff1df;color:#092838;box-shadow:0 22px 58px rgba(0,0,0,.28);display:grid;gap:13px}
.r295ActionCard h2,.r295ActionCard p{margin:0}.r295ActionCard input[type=text],.r295ActionCard textarea{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid rgba(9,40,56,.25);border-radius:10px;background:#fff;color:#092838;font:inherit}
.r295ActionClose{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:28px;cursor:pointer}
.r295GroupChoices{display:grid;gap:8px;max-height:240px;overflow:auto;padding:10px;border:1px solid rgba(9,40,56,.15);border-radius:10px;background:rgba(255,255,255,.55)}
.r295OrangeButton{justify-self:start}

.r295DonateButton{opacity:.58}.r295HelpFeedback{padding:10px 12px;border-radius:9px;background:rgba(9,40,56,.08);font-weight:700}.r295DonationInfo{font-size:.92rem;line-height:1.45;text-align:justify}

/* SOURCE reports/reports-r692.css SHA256 386b301d169593b7b7f229a28a618651e54a94afbb2c6a369bc6d0e87fd0128a */
/* ============================================================
   ETHNOS_LOCK:REPORTS:R692
   Styles strictement limités à la fenêtre et au volet Signalements.
   ============================================================ */
.r305ReportOverlay{position:fixed;inset:0;z-index:10040;display:grid;place-items:center;padding:20px;background:rgba(3,25,37,.58)}
.r305ReportCard{position:relative;width:min(620px,calc(100vw - 40px));max-height:calc(100vh - 40px);overflow:auto;box-sizing:border-box;padding:24px;border-radius:18px;background:#fff1df;color:#092838;box-shadow:0 22px 58px rgba(0,0,0,.28)}
.r305ReportCard h2{margin:0 42px 10px 0}
.r305ReportIntro{margin:0 0 18px;line-height:1.5;text-align:justify}
.r305ReportClose{position:absolute;top:8px;right:10px;border:0;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer}
.r305ReportForm{display:grid;gap:14px}
.r305ReportField{display:grid;gap:6px}
.r305ReportField>span{font-weight:800}
.r305ReportField select,.r305ReportField input,.r305ReportField textarea{box-sizing:border-box;width:100%;border:1px solid rgba(9,40,56,.25);border-radius:10px;padding:11px 12px;background:#fff;color:#092838;font:inherit}
.r305ReportField textarea{resize:vertical}
.r305ReportDates{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.r305ReportNotice{margin:0;font-size:.92rem;line-height:1.45;text-align:justify}
.r305ReportSubmit{justify-self:start}
.r305ReportFeedback{margin:0;padding:10px 12px;border-radius:9px;background:rgba(9,40,56,.08);font-weight:700}
.r305ReportsDrawer .r305ReportsBody{display:grid;gap:24px}
.r305ReportsDrawer .r305ReportsBody section{display:grid;gap:10px}
.r305ReportsList{display:grid;gap:8px}
.r305ReportsList article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid rgba(7,26,57,.12);border-radius:10px;background:rgba(255,255,255,.45)}
.r305ReportsList article div{display:grid;gap:3px}
.r305ReportsList article span{font-size:.86em;color:#627782}
@media(max-width:700px){.r305ReportOverlay{padding:14px}.r305ReportCard{width:min(100%,620px);max-height:calc(100vh - 28px);padding:20px}.r305ReportDates{grid-template-columns:1fr}}


/* ============================================================
   R306 — Ajustements visuels Signalement uniquement.
   Aucun changement fonctionnel.
   ============================================================ */

.r305ReportsDrawer > header{
  text-align:center;
}

.r305ReportsDrawer > header p{
  margin-left:auto;
  margin-right:auto;
  max-width:42rem;
  text-align:center;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.r305ReportCard h2,
.r305ReportIntro{
  text-align:center;
}

.r305ReportIntro{
  max-width:50rem;
  margin-left:auto;
  margin-right:auto;
}

/* Le contenu reste lisible sans déborder, quel que soit le viewport. */
.r305ReportCard,
.r305ReportsDrawer{
  min-width:0;
}

.r305ReportForm,
.r305ReportField,
.r305ReportDates,
.r305ReportsBody,
.r305ReportsList{
  min-width:0;
}

.r305ReportField > span{
  overflow-wrap:anywhere;
}

.r306ReportHint{
  display:block;
  margin-top:-2px;
  color:#627782;
  font-size:.82rem;
  line-height:1.35;
  font-weight:500;
}

/* Flèche de select : zone dédiée à droite, centrée verticalement.
   On retire la flèche native et on utilise un chevron CSS stable. */
.r305ReportField select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right:3.25rem;
  background-color:#fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #092838 50%),
    linear-gradient(135deg, #092838 50%, transparent 50%);
  background-position:
    calc(100% - 1.20rem) 50%,
    calc(100% - .90rem) 50%;
  background-size:.34rem .34rem,.34rem .34rem;
  background-repeat:no-repeat;
}

.r305ReportField select:focus{
  background-position:
    calc(100% - 1.20rem) 50%,
    calc(100% - .90rem) 50%;
}

/* Volet barre de navigation : largeur robuste et texte centré. */
[data-member-drawer-panel="reports"] .bodyDrawerShell{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

[data-member-drawer-panel="reports"] .bodyDrawerShell header{
  text-align:center;
}

[data-member-drawer-panel="reports"] .bodyDrawerShell header h2{
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
  overflow-wrap:anywhere;
}

[data-member-drawer-panel="reports"] .bodyDrawerShell header p{
  max-width:38rem;
  margin-left:auto;
  margin-right:auto;
  overflow-wrap:anywhere;
}

/* Tests de largeur : desktop étroit / tablette / mobile.
   Retour à la ligne autorisé, aucun texte forcé hors cadre. */
@media (max-width:1100px){
  .r305ReportCard{
    width:min(620px,calc(100vw - 32px));
  }

  .r305ReportsDrawer > header h2{
    font-size:clamp(2rem,5vw,3rem);
    line-height:1.02;
  }
}

@media (max-width:760px){
  .r305ReportOverlay{
    padding:12px;
  }

  .r305ReportCard{
    width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
    padding:18px;
    border-radius:16px;
  }

  .r305ReportCard h2{
    padding-right:34px;
    font-size:clamp(1.55rem,7vw,2.15rem);
    line-height:1.08;
  }

  .r305ReportIntro{
    font-size:.98rem;
  }

  .r305ReportDates{
    grid-template-columns:1fr;
  }

  .r305ReportField select,
  .r305ReportField input,
  .r305ReportField textarea{
    font-size:1rem;
  }
}

@media (max-width:480px){
  .r305ReportCard{
    padding:16px;
  }

  .r305ReportField > span{
    font-size:1rem;
  }

  .r305ReportsDrawer > header h2{
    font-size:clamp(1.85rem,10vw,2.5rem);
  }

  .r305ReportsList article{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* ============================================================
   R307 — centrage complet du volet Signalements uniquement.
   Corrige les sections de contenu restées alignées à gauche.
   ============================================================ */

[data-member-drawer-panel="reports"] .r305ReportsBody,
[data-member-drawer-panel="reports"] .r305ReportsBody section,
[data-member-drawer-panel="reports"] .r305ReportsList,
[data-member-drawer-panel="reports"] .r305ReportsList p{
  text-align:center;
}

[data-member-drawer-panel="reports"] .r305ReportsBody section > h3{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
  max-width:100%;
  overflow-wrap:anywhere;
}

[data-member-drawer-panel="reports"] .r305ReportsList p{
  margin-left:auto;
  margin-right:auto;
  max-width:100%;
  overflow-wrap:anywhere;
}

/* Si des signalements apparaissent plus tard, leurs cartes restent lisibles.
   Les textes internes reviennent naturellement à gauche dans les cartes,
   mais la structure générale du volet reste centrée. */
[data-member-drawer-panel="reports"] .r305ReportsList article{
  text-align:left;
}

@media (max-width:760px){
  [data-member-drawer-panel="reports"] .r305ReportsBody section > h3,
  [data-member-drawer-panel="reports"] .r305ReportsList p{
    padding-left:12px;
    padding-right:12px;
  }
}


/* ============================================================
   R308 — correction stricte du centrage du volet à 1200x720.
   Cible uniquement le contenu généré de Signalements.
   ============================================================ */

[data-member-drawer-panel="reports"] .r305ReportsBody{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  display:grid !important;
  justify-items:center !important;
  text-align:center !important;
}

[data-member-drawer-panel="reports"] .r305ReportsBody > section{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  display:grid !important;
  justify-items:center !important;
  text-align:center !important;
}

[data-member-drawer-panel="reports"] .r305ReportsBody > section > h3{
  width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
  overflow-wrap:anywhere !important;
}

[data-member-drawer-panel="reports"] .r305ReportsList{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  display:grid !important;
  justify-items:center !important;
  text-align:center !important;
}

[data-member-drawer-panel="reports"] .r305ReportsList > p{
  width:100% !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
  overflow-wrap:anywhere !important;
}

/* Les futures cartes gardent leur présentation interne lisible. */
[data-member-drawer-panel="reports"] .r305ReportsList > article{
  width:min(100%, 34rem) !important;
  justify-self:center !important;
  text-align:left !important;
}

@media (max-width:1200px){
  [data-member-drawer-panel="reports"] .r305ReportsBody > section > h3,
  [data-member-drawer-panel="reports"] .r305ReportsList > p{
    padding-left:14px !important;
    padding-right:14px !important;
    box-sizing:border-box !important;
  }
}

/* ============================================================
   ETHNOS_LOCK:REPORTS:R590 — centre Signalements dédié.
   ============================================================ */
[data-member-drawer-panel="reports"] .r590ReportsBody{
  box-sizing:border-box;width:100%;display:grid;gap:0;text-align:center;
}
[data-member-drawer-panel="reports"] .r590ReportsSection{
  box-sizing:border-box;width:100%;padding:18px 14px 16px;border-top:10px solid #fff1df;background:#fff8ee;
}
[data-member-drawer-panel="reports"] .r590ReportsSection h3{margin:0 0 12px;color:#071a39;text-align:center;font-size:clamp(16px,1.05vw,20px);font-weight:800}
[data-member-drawer-panel="reports"] .r590ReportsList{width:100%;display:grid;gap:0}
[data-member-drawer-panel="reports"] .r590ReportRow{
  box-sizing:border-box;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;
  margin:0;padding:12px 14px;border:0;border-bottom:1px solid rgba(7,26,57,.13);border-radius:0;background:#fffaf4;text-align:left;
}
[data-member-drawer-panel="reports"] .r590ReportRow:nth-child(even){background:#fff1df}
[data-member-drawer-panel="reports"] .r590ReportCopy{min-width:0;display:grid;gap:4px}
[data-member-drawer-panel="reports"] .r590ReportCopy strong{color:#071a39;font-size:12px;font-weight:800;overflow-wrap:anywhere}
[data-member-drawer-panel="reports"] .r590ReportCopy span,
[data-member-drawer-panel="reports"] .r590ReportCopy time{color:#617886;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
[data-member-drawer-panel="reports"] .r590ReportSide{display:grid;justify-items:end;gap:6px;min-width:84px}
[data-member-drawer-panel="reports"] .r590ReportStatus{color:#0b6b70;font-size:9px;font-weight:800;text-align:right}
[data-member-drawer-panel="reports"] .r590ReportDelete{appearance:none;border:0;background:transparent;color:#f26722;font:700 9px/1.2 Manrope,Inter,sans-serif;cursor:pointer;padding:3px 0}
[data-member-drawer-panel="reports"] .r590ReportDelete:hover,[data-member-drawer-panel="reports"] .r590ReportDelete:focus-visible{text-decoration:underline;outline:none}
[data-member-drawer-panel="reports"] .r590ReportEmpty{margin:0;padding:18px;color:#617886;font-size:10px;text-align:center}
.r305ReportField input[type="datetime-local"]{min-height:44px}
.r590ReportContextProof{margin:0;padding:9px 11px;border:1px solid rgba(7,26,57,.12);border-radius:9px;background:#fffaf4;color:#617886;font-size:.82rem;line-height:1.4}
.r590ReportContextProof strong{color:#071a39}
@media(max-width:620px){[data-member-drawer-panel="reports"] .r590ReportRow{grid-template-columns:1fr}.r590ReportSide{justify-items:start!important;min-width:0!important}}


/* ========================================================================== */
/* ETHNOS R691 — compteur cumulatif des signalements reçus                    */
/* ========================================================================== */
.memberTopNavButton[data-member-drawer="reports"]{position:relative}
.memberTopNavButton[data-member-drawer="reports"] [data-reports-received-count]{
  flex:0 0 auto;
  margin-left:auto;
  padding-left:.35rem;
  color:#c62828;
  font-size:.72rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
  font-variant-numeric:tabular-nums;
}
.memberTopNavButton[data-member-drawer="reports"] [data-reports-received-count][hidden]{display:none!important}

/* SOURCE css/ethnos-r342-1280-drawers-10pct.css SHA256 226918ebd5425c2178f2b13391dd802f89195de069d30dec001c6ca2c5a54448 */
/* ============================================================
   R310 — Tchat central : correction visuelle exacte.
   Cible réelle auditée : moteur r287v14.
   Aucun changement fonctionnel.
   ============================================================ */

/* Onglets : plus aucun vide au-dessus. */
html body.r287v14Active .r287v14Tabs{
  height:28px !important;
  padding:0 5px !important;
  align-items:start !important;
  background:var(--r287-slate) !important;
}

/* Tous les onglets utilisent la palette crème officielle R287. */
html body.r287v14Active .r287v14Tab{
  height:28px !important;
  margin:0 !important;
  border:1px solid rgba(6,28,41,.18) !important;
  border-bottom:0 !important;
  border-radius:7px 7px 0 0 !important;
  background:var(--r287-cream-2) !important;
  color:var(--r287-slate) !important;
  font:700 9px/1 Inter,Arial,sans-serif !important;
}

/* Onglet actif = crème officiel clair. */
html body.r287v14Active .r287v14Tab.isActive{
  background:var(--r287-cream) !important;
  color:var(--r287-slate) !important;
  border-color:rgba(6,28,41,.18) !important;
}

/* Onglets non actifs = crème officiel plus foncé. */
html body.r287v14Active .r287v14Tab:not(.isActive){
  background:var(--r287-cream-2) !important;
  color:rgba(6,28,41,.88) !important;
}

/* Le bloc salon commence immédiatement sous les onglets. */


/* Textes des messages : plus petits et blancs. */
html body.r287v14Active .r287v14Text{
  color:#fff !important;
  font-size:7.5px !important;
  line-height:1.34 !important;
}

html body.r287v14Active .r287v14Meta strong{
  color:#fff !important;
  font-size:8.5px !important;
}

html body.r287v14Active .r287v14Meta time{
  color:rgba(255,255,255,.66) !important;
  font-size:6.5px !important;
}

html body.r287v14Active .r287v14Actions button{
  font-size:6.5px !important;
}

/* Bouton Envoyer : copie exacte de la référence officielle
   "Modifier mon profil" (R208), appliquée au composant du salon. */
html[data-ethnos-ui] body.r287v14Active
.r287v14ComposerRow > button.ethnosR310SendOfficial.memberEdit.ethnosActionOrange{
  appearance:none !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  height:32px !important;
  min-height:32px !important;
  max-height:32px !important;
  padding:0 12px !important;
  border:1px solid rgba(255,188,139,.78) !important;
  border-radius:9px !important;
  background:linear-gradient(180deg,#ff9655 0%,#f47f3c 100%) !important;
  color:#071826 !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:10px !important;
  font-weight:500 !important;
  font-style:normal !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-align:center !important;
  text-decoration:none !important;
  text-transform:none !important;
  text-shadow:none !important;
  white-space:nowrap !important;
  box-shadow:0 3px 0 #cf5d25,0 6px 10px rgba(0,0,0,.20) !important;
}

html[data-ethnos-ui] body.r287v14Active
.r287v14ComposerRow > button.ethnosR310SendOfficial.memberEdit.ethnosActionOrange:hover,
html[data-ethnos-ui] body.r287v14Active
.r287v14ComposerRow > button.ethnosR310SendOfficial.memberEdit.ethnosActionOrange:focus-visible{
  filter:brightness(1.06) !important;
  transform:translateY(-1px) !important;
  outline:none !important;
}

html[data-ethnos-ui] body.r287v14Active
.r287v14ComposerRow > button.ethnosR310SendOfficial.memberEdit.ethnosActionOrange:active{
  transform:translateY(1px) !important;
  box-shadow:0 1px 0 #cf5d25,0 3px 5px rgba(0,0,0,.14) !important;
}

/* Sécurité tailles étroites : onglets sans débordement. */
@media (max-width:900px){
  html body.r287v14Active .r287v14Tabs{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    height:auto !important;
  }
  html body.r287v14Active .r287v14Tab{
    min-width:0 !important;
  }
}


/* ============================================================
   R311 — suppression du grand vide au-dessus des onglets Tchat.
   Cible réelle : workspace + shell central r287v14.
   Aucun autre composant n'est modifié.
   ============================================================ */

/* Le workspace Tchat ne réserve plus d'espace haut avant le shell central. */
html body.isTchatDrawerOpen.r287v14Active .memberWorkspace{
  padding-top:0 !important;
  margin-top:0 !important;
}

/* Le shell central commence exactement en haut du workspace. */
html body.isTchatDrawerOpen.r287v14Active
.memberWorkspace > .r287v14Chat{
  top:0 !important;
  inset-block-start:0 !important;
  margin-top:0 !important;
  padding-top:0 !important;
  transform:none !important;
}

/* Les onglets restent collés au sommet du shell. */
html body.r287v14Active .r287v14Tabs{
  margin-top:0 !important;
  padding-top:0 !important;
  align-self:stretch !important;
}

/* Aucun espace intermédiaire entre onglets et salle. */
html body.r287v14Active .r287v14Room{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* Sécurité formats étroits : même comportement, sans recréer de vide. */
@media (max-width:1200px){
  html body.isTchatDrawerOpen.r287v14Active .memberWorkspace,
  html body.isTchatDrawerOpen.r287v14Active
  .memberWorkspace > .r287v14Chat{
    padding-top:0 !important;
    margin-top:0 !important;
    top:0 !important;
    transform:none !important;
  }
}


/* ============================================================
   R312 — équilibre typographique du salon uniquement.
   Comparaison vérifiée avec R305.
   ============================================================ */

/* Texte principal : compromis demandé entre R305 (8.5px) et R310/R311 (7.5px). */
html body.r287v14Active .r287v14Text{
  font-size:8px !important;
  line-height:1.38 !important;
  color:#fff !important;
}

/* Restaurer les tailles R305 des éléments secondaires :
   leur réduction simultanée amplifiait artificiellement l'impression de miniaturisation. */
html body.r287v14Active .r287v14Meta strong{
  font-size:9.5px !important;
  color:#fff !important;
}

html body.r287v14Active .r287v14Meta time{
  font-size:7px !important;
  color:rgba(255,255,255,.52) !important;
}

html body.r287v14Active .r287v14Actions button{
  font-size:inherit !important;
}


/* ============================================================
   R313 — Ajustement complet demandé du salon central.
   1) texte du Tchat plus grand
   2) boutons d'action plus petits
   3) onglets positionnés juste sous la barre de navigation
   ============================================================ */

/* 1) TEXTE DU TCHAT
   R305 était 8.5px et restait visuellement trop petit.
   On augmente le texte principal sans grossir les contrôles. */
html body.r287v14Active .r287v14Text{
  font-size:11px !important;
  line-height:1.42 !important;
  color:#fff !important;
}

/* Auteur et heure restent compacts, mais proportionnés au texte. */
html body.r287v14Active .r287v14Meta strong{
  font-size:10px !important;
  line-height:1.15 !important;
  color:#fff !important;
}

html body.r287v14Active .r287v14Meta time{
  font-size:7px !important;
  line-height:1 !important;
  color:rgba(255,255,255,.58) !important;
}

/* 2) BOUTONS SOUS LES MESSAGES
   Ils étaient devenus visuellement trop gros.
   Réduction locale stricte : Répondre / réaction / Épingler / Modifier / Supprimer. */
html body.r287v14Active .r287v14Actions{
  gap:4px !important;
  margin-top:4px !important;
}

html body.r287v14Active .r287v14Actions button{
  min-height:20px !important;
  height:20px !important;
  padding:0 7px !important;
  border-radius:6px !important;
  font:700 7px/1 Inter,Arial,sans-serif !important;
  line-height:1 !important;
}

/* 3) POSITION SOUS LA BARRE DE NAVIGATION
   Ne jamais passer sous la barre.
   On rétablit le point de départ vertical du moteur R287 sur la hauteur
   officielle prévue par le layout, au lieu de top:0. */
html[data-ethnos-ui="discord-r111"] body.r287v14Active .r287v14Chat,
html body.isTchatDrawerOpen.r287v14Active
.memberWorkspace > .r287v14Chat{
  top:var(--ethnos-card-height) !important;
  inset-block-start:var(--ethnos-card-height) !important;
}

/* Le shell reste collé à ce point, sans vide additionnel. */


/* Annule explicitement le forçage R311 qui plaçait le salon tout en haut. */
html body.isTchatDrawerOpen.r287v14Active .memberWorkspace,
html body.isTchatDrawerOpen.r287v14Active
.memberWorkspace > .r287v14Chat{
  margin-top:0 !important;
  padding-top:0 !important;
  transform:none !important;
}

/* Formats étroits : même ancrage sous la navigation. */
@media (max-width:1200px){
  html[data-ethnos-ui="discord-r111"] body.r287v14Active .r287v14Chat,
  html body.isTchatDrawerOpen.r287v14Active
  .memberWorkspace > .r287v14Chat{
    top:var(--ethnos-card-height) !important;
    inset-block-start:var(--ethnos-card-height) !important;
  }
}


/* ============================================================
   R314 — Correction complète Tchat : navigation + épinglés.
   Texte du Tchat R313 conservé tel quel.
   ============================================================ */

/* ------------------------------------------------------------
   1. ONGLETS JUSTE SOUS LA BARRE DE NAVIGATION
   Audit : la barre réelle est .memberTopbar et sa hauteur officielle
   est --topbar (56px dans le layout actif).
   --ethnos-card-height concerne les cartes latérales (132–168px) :
   l'utiliser en R313 créait précisément le grand vide observé.
   ------------------------------------------------------------ */
html[data-ethnos-ui="discord-r111"] body.r287v14Active .r287v14Chat,
html body.isTchatDrawerOpen.r287v14Active
.memberWorkspace > .r287v14Chat{
  top:var(--topbar) !important;
  inset-block-start:var(--topbar) !important;
  margin-top:0 !important;
  padding-top:0 !important;
  transform:none !important;
}

/* Les onglets commencent au premier pixel disponible sous la navigation. */
html body.r287v14Active .r287v14Tabs{
  margin-top:0 !important;
  padding-top:0 !important;
}

/* ------------------------------------------------------------
   2. EPINGLES : un élément par message, cliquable.
   ------------------------------------------------------------ */
html body.r287v14Active .r287v14Pinned{
  padding:7px 9px !important;
}

html body.r287v14Active .r314PinnedList{
  display:grid !important;
  gap:5px !important;
  width:100% !important;
}

html body.r287v14Active .r314PinnedItem{
  display:grid !important;
  grid-template-columns:auto minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:6px 8px !important;
  border:1px solid rgba(243,234,217,.14) !important;
  border-radius:7px !important;
  background:rgba(243,234,217,.045) !important;
  color:#fff !important;
  cursor:pointer !important;
  text-align:left !important;
  font-family:Inter,Arial,sans-serif !important;
}

html body.r287v14Active .r314PinnedItem:hover,
html body.r287v14Active .r314PinnedItem:focus-visible{
  background:rgba(243,234,217,.10) !important;
  border-color:rgba(243,234,217,.26) !important;
  outline:none !important;
}

html body.r287v14Active .r314PinnedItem strong{
  color:var(--r287-cream) !important;
  font-size:8px !important;
  white-space:nowrap !important;
}

html body.r287v14Active .r314PinnedItem span{
  min-width:0 !important;
  color:#fff !important;
  font-size:8px !important;
  line-height:1.3 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

html body.r287v14Active .r314PinnedItem small{
  color:rgba(255,255,255,.58) !important;
  font-size:6.5px !important;
  white-space:nowrap !important;
}

html body.r287v14Active .r314PinnedEmpty{
  margin:0 !important;
  color:rgba(243,234,217,.72) !important;
  font-size:8px !important;
}

/* Retour visuel bref sur le message rejoint. */
html body.r287v14Active .r287v14Message.r314PinnedTarget{
  background:rgba(242,138,69,.16) !important;
  box-shadow:inset 3px 0 0 var(--r287-orange) !important;
}

/* Formats étroits : le texte épinglé revient à la ligne sans se mélanger. */
@media (max-width:900px){
  html body.r287v14Active .r314PinnedItem{
    grid-template-columns:1fr auto !important;
  }
  html body.r287v14Active .r314PinnedItem strong{
    grid-column:1 !important;
  }
  html body.r287v14Active .r314PinnedItem small{
    grid-column:2 !important;
    grid-row:1 !important;
  }
  html body.r287v14Active .r314PinnedItem span{
    grid-column:1 / -1 !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }
}


/* ============================================================
   R315 — onglets Tchat : crème officiel / actif plus foncé.
   Aucun autre composant n'est modifié.
   ============================================================ */

/* Tous les onglets = crème officiel clair. */
html body.r287v14Active .r287v14Tab{
  background:var(--r287-cream) !important;
  color:var(--r287-slate) !important;
  border-color:rgba(6,28,41,.18) !important;
}

/* Onglet sélectionné = crème officiel plus foncé. */
html body.r287v14Active .r287v14Tab.isActive{
  background:var(--r287-cream-2) !important;
  color:var(--r287-slate) !important;
  border-color:rgba(6,28,41,.24) !important;
}

/* Fermeture et libellé gardent la même encre. */



/* ============================================================
   R316 — alignement du bord haut des onglets avec le volet Tchat/Salon.
   Aucun changement fonctionnel.
   ============================================================ */

/* Le shell central reste ancré juste sous la navigation. */


/* Le conteneur d'onglets commence exactement au bord haut du shell. */
html body.r287v14Active .r287v14Tabs{
  position:relative !important;
  top:0 !important;
  margin-top:0 !important;
  padding-top:0 !important;
  align-self:stretch !important;
}

/* Aucun onglet individuel ne descend sous la ligne supérieure. */
html body.r287v14Active .r287v14Tab{
  margin-top:0 !important;
  transform:none !important;
  align-self:start !important;
}

/* Même comportement sur formats étroits. */
@media (max-width:1200px){
  html body.r287v14Active .r287v14Tabs,
  html body.r287v14Active .r287v14Tab{
    top:0 !important;
    margin-top:0 !important;
    transform:none !important;
  }
}


/* ============================================================
   R317 — correction finale des onglets Tchat.
   - crème clair explicite
   - sélectionné crème plus foncé explicite
   - alignement bord haut avec le volet Salon/Tchat visible
   ============================================================ */

/* Le shell reste juste sous la barre de navigation. */
html[data-ethnos-ui="discord-r111"] body.r287v14Active .r287v14Chat,
html body.isTchatDrawerOpen.r287v14Active
.memberWorkspace > .r287v14Chat{
  top:var(--topbar) !important;
  inset-block-start:var(--topbar) !important;
}

/* Le bandeau d'onglets descend de 14px pour s'aligner avec le bord haut
   du volet Salon/Tchat visible à gauche. */
html body.r287v14Active .r287v14Tabs{
  position:relative !important;
  top:14px !important;
  margin-top:0 !important;
  padding:0 5px !important;
  height:28px !important;
  align-items:start !important;
}

/* Tous les onglets = crème officiel clair, valeur explicite. */
html body.r287v14Active .r287v14Tab{
  margin:0 !important;
  transform:none !important;
  height:28px !important;
  background:#F6EDDE !important;
  color:#071A39 !important;
  border:1px solid rgba(7,26,57,.16) !important;
  border-bottom:0 !important;
  border-radius:7px 7px 0 0 !important;
}

/* Onglet sélectionné = crème officiel nettement plus foncé. */
html body.r287v14Active .r287v14Tab.isActive{
  background:#E7D7BF !important;
  color:#071A39 !important;
  border-color:rgba(7,26,57,.26) !important;
  box-shadow:inset 0 -2px 0 rgba(7,26,57,.08) !important;
}

/* Libellé et croix gardent l'encre officielle. */
html body.r287v14Active .r287v14TabLabel,
html body.r287v14Active .r287v14TabClose{
  color:inherit !important;
}

/* Le contenu du salon suit le bandeau abaissé, sans chevauchement. */
html body.r287v14Active .r287v14Room{
  padding-top:14px !important;
}

/* Même géométrie sur formats étroits. */
@media (max-width:1200px){
  html body.r287v14Active .r287v14Tabs{
    top:14px !important;
  }
  html body.r287v14Active .r287v14Room{
    padding-top:14px !important;
  }
}


/* ============================================================
   R318 — MEDIA / EMOJIS / GIFS / GIFTS
   ETHNOS_LOCK:EMOJI_CATALOG:001
   ============================================================ */

html body.r287v14Active .r287v14Unread,
html body.r287v14Active .r287v14UnreadState{
  display:none !important;
}

html body.r287v14Active .r318MediaPopover{
  position:absolute !important;
  right:10px !important;
  bottom:58px !important;
  z-index:40 !important;
  width:min(560px,calc(100vw - 32px)) !important;
  max-height:min(560px,70vh) !important;
  overflow:auto !important;
  padding:12px !important;
  border:1px solid rgba(7,26,57,.18) !important;
  border-radius:16px !important;
  background:#F6EDDE !important;
  color:#071A39 !important;
  box-shadow:0 16px 38px rgba(0,0,0,.28) !important;
}
html body.r287v14Active .r318MediaPopover[hidden]{display:none !important}

html body.r287v14Active .r318PopoverHead{
  display:flex !important; align-items:center !important;
  justify-content:space-between !important; gap:12px !important;
  margin-bottom:10px !important;
}
html body.r287v14Active .r318PopoverHead strong{font-size:15px !important}
html body.r287v14Active .r318PopoverHead button{
  width:34px !important;height:34px !important;border-radius:10px !important;
}
html body.r287v14Active .r318MediaPopover input{
  width:100% !important; min-height:38px !important;
  border:1px solid rgba(7,26,57,.20) !important;
  border-radius:10px !important; padding:8px 10px !important;
  background:#fff !important; color:#071A39 !important;
}
html body.r287v14Active .r318EmojiGrid{margin-top:10px !important}
html body.r287v14Active .r318EmojiGrid section{margin:0 0 12px !important}
html body.r287v14Active .r318EmojiGrid h4{margin:0 0 6px !important;font-size:12px !important}
html body.r287v14Active .r318EmojiItems{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(38px,1fr)) !important;
  gap:4px !important;
}
html body.r287v14Active .r318Emoji{
  min-width:38px !important;height:38px !important;
  padding:0 !important;border-radius:8px !important;
  background:#fff !important;border:1px solid rgba(7,26,57,.10) !important;
  font-size:21px !important;
}
html body.r287v14Active .r318GifSearch{
  display:grid !important;grid-template-columns:1fr auto !important;gap:8px !important;
}
html body.r287v14Active .r318GifGrid{
  display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:8px !important;margin-top:8px !important;
}
html body.r287v14Active .r318GifItem{
  overflow:hidden !important;padding:0 !important;border-radius:10px !important;
  background:#fff !important;border:1px solid rgba(7,26,57,.12) !important;
  color:#071A39 !important;
}
html body.r287v14Active .r318GifItem img{
  display:block !important;width:100% !important;height:110px !important;object-fit:cover !important;
}
html body.r287v14Active .r318GifItem span{
  display:block !important;padding:5px 7px !important;font-size:9px !important;
  overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;
}
html body.r287v14Active .r318MediaStatus{font-size:10px !important;margin:8px 0 !important}
html body.r287v14Active .r318GiftCopy{
  margin:0 !important;padding:4px 2px 2px !important;
  font-size:14px !important;line-height:1.55 !important;text-align:left !important;
}
@media(max-width:720px){
  html body.r287v14Active .r318MediaPopover{
    left:8px !important;right:8px !important;width:auto !important;
  }
  html body.r287v14Active .r318GifGrid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}


/* ============================================================
   R319 — finition commerciale / boutons officiels / GIF
   ============================================================ */

/* Onglet actif : contraste plus marqué, sans modifier les onglets inactifs. */
html body.r287v14Active .r287v14Tab.isActive{
  background:#CDB48F !important;
  color:#071A39 !important;
  border-color:rgba(7,26,57,.30) !important;
}

/* Boutons de fermeture des popovers :
   aucune nouvelle peau. On laisse la référence .r287v14OnlineClose gagner. */
html body.r287v14Active .r318PopoverHead > .r287v14OnlineClose{
  flex:0 0 auto !important;
}

/* GIF : navigation rapide façon picker moderne, source ouverte conservée. */
html body.r287v14Active .r319GifQuick{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  margin:8px 0 2px !important;
}
html body.r287v14Active .r319GifQuickButton{
  min-height:30px !important;
  padding:0 10px !important;
  border:1px solid rgba(7,26,57,.14) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#071A39 !important;
  font-size:10px !important;
  font-weight:700 !important;
}
html body.r287v14Active .r319GifSource{
  margin:8px 0 0 !important;
  color:#526775 !important;
  font-size:9px !important;
}

/* Gifts : vrai bloc commercial lisible. */
html body.r287v14Active .r319GiftCommercial{
  display:grid !important;
  gap:12px !important;
  padding:2px 2px 4px !important;
}
html body.r287v14Active .r319GiftComing{
  display:block !important;
  color:#F47F3C !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:clamp(22px,2vw,34px) !important;
  font-weight:800 !important;
  line-height:1.05 !important;
  letter-spacing:-.02em !important;
}
html body.r287v14Active .r319GiftTarget{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:max-content !important;
  max-width:100% !important;
  padding:9px 12px !important;
  border:1px solid rgba(7,26,57,.14) !important;
  border-radius:12px !important;
  background:#FFF7EA !important;
  color:#071A39 !important;
  font-size:13px !important;
  font-weight:800 !important;
}
html body.r287v14Active .r319GiftTarget > span:first-child{
  font-size:22px !important;
}
html body.r287v14Active .r318GiftCopy{
  margin:0 !important;
  color:#071A39 !important;
  opacity:1 !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.55 !important;
  text-align:left !important;
}


/* ============================================================
   R320 — GIF picker façon Discord, fournisseur inchangé.
   ============================================================ */

html body.r287v14Active .r318MediaPopover.r320GifPopover{
  width:min(720px,calc(100vw - 32px)) !important;
  max-height:min(650px,78vh) !important;
  padding:14px !important;
  overflow:hidden !important;
  display:grid !important;
  grid-template-rows:auto auto auto auto minmax(180px,1fr) auto !important;
  gap:10px !important;
}

html body.r287v14Active .r320GifHead{
  margin:0 !important;
}

html body.r287v14Active .r320GifHeadCopy{
  display:grid !important;
  gap:2px !important;
}

html body.r287v14Active .r320GifHeadCopy > strong{
  font-size:17px !important;
  line-height:1 !important;
}

html body.r287v14Active .r320GifHeadCopy > span{
  color:#6A7880 !important;
  font-size:9px !important;
  font-weight:600 !important;
}

html body.r287v14Active .r320GifSearchWrap{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
}

html body.r287v14Active .r320GifSearchIcon{
  position:absolute !important;
  left:12px !important;
  z-index:1 !important;
  color:#61717A !important;
  font-size:18px !important;
  line-height:1 !important;
  pointer-events:none !important;
}

html body.r287v14Active .r320GifSearchInput{
  height:42px !important;
  min-height:42px !important;
  padding:0 12px 0 38px !important;
  border:1px solid rgba(7,26,57,.16) !important;
  border-radius:11px !important;
  background:#fff !important;
  color:#071A39 !important;
  font-size:12px !important;
  font-weight:600 !important;
  box-shadow:inset 0 1px 2px rgba(7,26,57,.04) !important;
}

html body.r287v14Active .r320GifCategories{
  display:flex !important;
  gap:6px !important;
  overflow-x:auto !important;
  padding:1px 1px 4px !important;
  scrollbar-width:thin !important;
}

html body.r287v14Active .r320GifCategory{
  flex:0 0 auto !important;
  min-height:30px !important;
  padding:0 10px !important;
  border:1px solid rgba(7,26,57,.13) !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#071A39 !important;
  font-size:9px !important;
  font-weight:800 !important;
  white-space:nowrap !important;
}

html body.r287v14Active .r320GifCategory.isActive{
  background:#CDB48F !important;
  border-color:rgba(7,26,57,.24) !important;
}

html body.r287v14Active .r320GifStatus{
  min-height:14px !important;
  margin:0 !important;
  color:#5C6D76 !important;
  font-size:9px !important;
}

html body.r287v14Active .r320GifStatus.isLoading::before{
  content:"";
  display:inline-block !important;
  width:8px !important;
  height:8px !important;
  margin-right:5px !important;
  border:1px solid rgba(7,26,57,.18) !important;
  border-top-color:#F47F3C !important;
  border-radius:50% !important;
  animation:r320GifSpin .7s linear infinite !important;
}

@keyframes r320GifSpin{
  to{transform:rotate(360deg)}
}

html body.r287v14Active .r320GifGrid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-auto-rows:116px !important;
  gap:6px !important;
  margin:0 !important;
  padding-right:3px !important;
  overflow-y:auto !important;
  min-height:180px !important;
  align-content:start !important;
}

html body.r287v14Active .r320GifCard{
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:116px !important;
  overflow:hidden !important;
  padding:0 !important;
  border:0 !important;
  border-radius:9px !important;
  background:#D9CFBF !important;
  box-shadow:none !important;
}

html body.r287v14Active .r320GifImageWrap{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
}

html body.r287v14Active .r320GifCard img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  transition:transform .16s ease,filter .16s ease !important;
}

html body.r287v14Active .r320GifCardOverlay{
  position:absolute !important;
  inset:auto 6px 6px auto !important;
  padding:4px 6px !important;
  border-radius:6px !important;
  background:rgba(7,26,57,.82) !important;
  color:#fff !important;
  font-size:8px !important;
  font-weight:800 !important;
  opacity:0 !important;
  transform:translateY(3px) !important;
  transition:opacity .15s ease,transform .15s ease !important;
}

html body.r287v14Active .r320GifCard:hover img,
html body.r287v14Active .r320GifCard:focus-visible img{
  transform:scale(1.035) !important;
  filter:brightness(.90) !important;
}

html body.r287v14Active .r320GifCard:hover .r320GifCardOverlay,
html body.r287v14Active .r320GifCard:focus-visible .r320GifCardOverlay{
  opacity:1 !important;
  transform:none !important;
}

html body.r287v14Active .r320GifPreview{
  position:absolute !important;
  left:16px !important;
  bottom:48px !important;
  z-index:5 !important;
  width:220px !important;
  overflow:hidden !important;
  border:1px solid rgba(7,26,57,.18) !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(0,0,0,.24) !important;
  pointer-events:none !important;
}

html body.r287v14Active .r320GifPreview[hidden]{
  display:none !important;
}

html body.r287v14Active .r320GifPreview img{
  display:block !important;
  width:100% !important;
  max-height:180px !important;
  object-fit:contain !important;
  background:#071A39 !important;
}

html body.r287v14Active .r320GifPreviewMeta{
  display:grid !important;
  gap:2px !important;
  padding:8px 9px !important;
}

html body.r287v14Active .r320GifPreviewMeta strong{
  overflow:hidden !important;
  color:#071A39 !important;
  font-size:9px !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

html body.r287v14Active .r320GifPreviewMeta span{
  color:#697981 !important;
  font-size:8px !important;
}

html body.r287v14Active .r320GifSource{
  margin:0 !important;
  color:#708087 !important;
  font-size:8px !important;
  text-align:right !important;
}

@media(max-width:900px){
  html body.r287v14Active .r320GifGrid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    grid-auto-rows:108px !important;
  }
  html body.r287v14Active .r320GifCard{
    height:108px !important;
  }
}

@media(max-width:620px){
  html body.r287v14Active .r318MediaPopover.r320GifPopover{
    left:8px !important;
    right:8px !important;
    width:auto !important;
    max-height:75vh !important;
  }
  html body.r287v14Active .r320GifGrid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows:104px !important;
  }
  html body.r287v14Active .r320GifCard{
    height:104px !important;
  }
  html body.r287v14Active .r320GifPreview{
    display:none !important;
  }
}


/* ============================================================
   R321 — KLIPY + correctifs GIF
   ============================================================ */
html body.r287v14Active .r318MediaPopover.r321GifPopover[hidden],
html body.r287v14Active .r318MediaPopover.r320GifPopover[hidden]{
  display:none !important;
}
html body.r287v14Active .r318MediaPopover.r321GifPopover{
  width:min(720px,calc(100vw - 32px)) !important;
  max-height:min(650px,78vh) !important;
  padding:14px !important;
  overflow:hidden !important;
  display:grid !important;
  grid-template-rows:auto auto auto auto minmax(180px,1fr) auto !important;
  gap:10px !important;
}
html body.r287v14Active
.r318MediaPopover.r321GifPopover
input.r320GifSearchInput{
  box-sizing:border-box !important;
  width:100% !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 12px 0 46px !important;
  text-indent:0 !important;
  border:1px solid rgba(7,26,57,.16) !important;
  border-radius:11px !important;
  background:#fff !important;
  color:#071A39 !important;
  font-size:12px !important;
  font-weight:600 !important;
}
html body.r287v14Active .r321GifPopover .r320GifSearchIcon{
  left:14px !important;
  width:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  pointer-events:none !important;
}
html body.r287v14Active .r321MessageGif{
  display:block !important;
  width:min(420px,72vw) !important;
  margin:7px 0 2px !important;
  overflow:hidden !important;
  border-radius:10px !important;
  background:rgba(0,0,0,.12) !important;
}
html body.r287v14Active .r321MessageGif img{
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  max-height:360px !important;
  object-fit:contain !important;
}
html body.r287v14Active .r321MessageGif figcaption{
  padding:4px 7px !important;
  color:rgba(255,255,255,.54) !important;
  font-size:7px !important;
}
html body.r287v14Active .r320GifStatus.isConfigRequired{
  padding:10px !important;
  border:1px solid rgba(244,127,60,.28) !important;
  border-radius:9px !important;
  background:#FFF7EA !important;
  color:#071A39 !important;
  font-size:10px !important;
  font-weight:700 !important;
}
@media(max-width:620px){
  html body.r287v14Active .r318MediaPopover.r321GifPopover{
    left:8px !important;
    right:8px !important;
    width:auto !important;
    max-height:75vh !important;
  }
  html body.r287v14Active .r321MessageGif{
    width:min(100%,320px) !important;
  }
}


/* ============================================================
   R322 — upload image + GIF/Stickers
   ============================================================ */

html body.r287v14Active .r322MediaTabs{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:6px !important;
  padding:2px !important;
  border-radius:11px !important;
  background:rgba(7,26,57,.06) !important;
}
html body.r287v14Active .r322MediaTab{
  min-height:34px !important;
  border:1px solid transparent !important;
  border-radius:9px !important;
  background:transparent !important;
  color:#071A39 !important;
  font-size:10px !important;
  font-weight:800 !important;
}
html body.r287v14Active .r322MediaTab.isActive{
  background:#CDB48F !important;
  border-color:rgba(7,26,57,.18) !important;
}
html body.r287v14Active .r322UploadedImage{
  display:block !important;
  width:min(440px,72vw) !important;
  margin:7px 0 2px !important;
  overflow:hidden !important;
  border-radius:10px !important;
  background:rgba(0,0,0,.10) !important;
}
html body.r287v14Active .r322UploadedImage img{
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  max-height:420px !important;
  object-fit:contain !important;
}
html body.r287v14Active .r287v14Hint.isFileReady{
  color:rgba(255,255,255,.72) !important;
}


/* ============================================================
   R323 — picker compact + visionneuse image
   ============================================================ */

/* Supprime la grande réserve verticale créée par R320/R321. */
html body.r287v14Active .r318MediaPopover.r321GifPopover.r322MediaPicker{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  overflow:hidden !important;
}

html body.r287v14Active .r322MediaPicker .r320GifGrid{
  flex:1 1 auto !important;
  min-height:180px !important;
  margin-top:0 !important;
  align-content:start !important;
}

html body.r287v14Active .r322MediaPicker .r320GifStatus{
  flex:0 0 auto !important;
  margin-bottom:0 !important;
}

/* Image dans le message = bouton neutre, image inchangée. */
html body.r287v14Active .r323ImageZoom{
  display:block !important;
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  border-radius:10px !important;
  overflow:hidden !important;
  background:transparent !important;
  cursor:zoom-in !important;
}

html body.r287v14Active .r323ImageZoom img{
  display:block !important;
  width:auto !important;
  max-width:100% !important;
  max-height:420px !important;
  object-fit:contain !important;
}

/* Visionneuse */
.r323ImageViewer{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:24px !important;
  background:rgba(4,18,27,.88) !important;
}

.r323ImageViewerPanel{
  display:grid !important;
  grid-template-rows:auto minmax(0,1fr) !important;
  width:min(1200px,96vw) !important;
  height:min(860px,94vh) !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:16px !important;
  background:#F6EDDE !important;
  box-shadow:0 24px 80px rgba(0,0,0,.44) !important;
}

.r323ImageViewerHead{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:12px 14px !important;
  border-bottom:1px solid rgba(7,26,57,.12) !important;
  color:#071A39 !important;
}

.r323ImageViewerHead > strong{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:14px !important;
}

.r323ImageViewerControls{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex:0 0 auto !important;
}

.r323ImageDownload{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:38px !important;
  padding:0 14px !important;
  border:1px solid rgba(7,26,57,.18) !important;
  border-radius:10px !important;
  background:#F47F3C !important;
  color:#071A39 !important;
  text-decoration:none !important;
  font-size:11px !important;
  font-weight:800 !important;
}

.r323ImageViewerCanvas{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:0 !important;
  padding:16px !important;
  overflow:auto !important;
  background:#0B2C3A !important;
}

.r323ImageViewerCanvas img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
}

@media(max-width:700px){
  .r323ImageViewer{
    padding:8px !important;
  }
  .r323ImageViewerPanel{
    width:100% !important;
    height:92vh !important;
  }
  .r323ImageViewerHead{
    padding:9px 10px !important;
  }
  .r323ImageDownload{
    min-height:34px !important;
    padding:0 10px !important;
    font-size:10px !important;
  }
}

/* ============================================================
   R325 — finitions locales du composeur Tchat
   - bouton + : géométrie historique 32px, seul le glyphe + est agrandi
   - Traduction : même popover que Gifts, contrôles compacts
   Aucun autre composant n'est ciblé.
   ============================================================ */
html[data-ethnos-ui] body.r287v14Active .r287v14ComposerRow{
  grid-template-columns:32px minmax(0,1fr) auto 62px;
}

html[data-ethnos-ui] body.r287v14Active .r287v14ComposerRow > button:first-child{
  width:auto;
  min-width:0;
  height:32px;
  min-height:32px;
  max-height:32px;
  padding:0;
  font-size:24px;
  line-height:1;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationPanel{
  display:grid;
  gap:10px;
  padding:2px 0 0;
  color:#071A39;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationToggle{
  display:inline-flex;
  align-items:center;
  justify-self:start;
  gap:7px;
  color:#071A39;
  font:700 10px/1.3 Inter,Arial,sans-serif;
  cursor:pointer;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationToggle input{
  appearance:auto !important;
  width:16px !important;
  min-width:16px !important;
  height:16px !important;
  min-height:16px !important;
  margin:0 !important;
  padding:0 !important;
  accent-color:#F47F3C;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationLanguage{
  display:flex;
  align-items:stretch;
  flex-direction:column;
  gap:6px;
  color:#071A39;
  font:700 10px/1.3 Inter,Arial,sans-serif;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationSelectWrap{
  position:relative;
  width:100%;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationLanguage select{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-height:38px;
  box-sizing:border-box;
  border:1px solid rgba(7,26,57,.20);
  border-radius:10px;
  background:#fff;
  color:#071A39;
  padding:8px 36px 8px 10px;
  font:600 10px/1.3 Inter,Arial,sans-serif;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationSelectArrow{
  position:absolute;
  right:12px;
  top:50%;
  width:8px;
  height:8px;
  border-right:2px solid #071A39;
  border-bottom:2px solid #071A39;
  transform:translateY(-65%) rotate(45deg);
  pointer-events:none;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationLanguage select:disabled{
  opacity:.52;
  cursor:not-allowed;
}

html[data-ethnos-ui] body.r287v14Active .r324TranslationStatus{
  margin:0;
  color:rgba(7,26,57,.58);
  font:600 9px/1.35 Inter,Arial,sans-serif;
}


/* ============================================================
   R326 — fonctions supplémentaires du Tchat
   Intégration locale au moteur R287/R325 existant.
   ============================================================ */

/* Aide contextuelle du compositeur : mentions @ et commandes /. */
html[data-ethnos-ui] body.r287v14Active .r326ComposerAssist{
  position:absolute;
  right:82px;
  bottom:58px;
  z-index:42;
  width:min(320px,calc(100vw - 36px));
  max-height:240px;
  overflow:auto;
  padding:8px;
  border:1px solid rgba(7,26,57,.18);
  border-radius:12px;
  background:#F6EDDE;
  color:#071A39;
  box-shadow:0 12px 28px rgba(0,0,0,.24);
}
html[data-ethnos-ui] body.r287v14Active .r326ComposerAssist[hidden]{display:none}
html[data-ethnos-ui] body.r287v14Active .r326ComposerAssist > strong{
  display:block;
  margin:1px 4px 6px;
  font:800 10px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326AssistItem{
  display:flex;
  width:100%;
  min-height:32px;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:2px 0;
  padding:6px 8px;
  border:1px solid rgba(7,26,57,.10);
  border-radius:8px;
  background:#fff;
  color:#071A39;
  text-align:left;
  cursor:pointer;
  font:700 9px/1.25 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326AssistItem:hover{
  background:#E7D7BF;
}
html[data-ethnos-ui] body.r287v14Active .r326AssistItem small{
  color:rgba(7,26,57,.58);
  font-size:8px;
  font-weight:600;
}

/* Mentions, Markdown et spoilers dans les messages. */
html[data-ethnos-ui] body.r287v14Active .r326Mention{
  display:inline-block;
  padding:1px 4px;
  border-radius:4px;
  background:rgba(244,127,60,.20);
  color:#ffd7bd;
  font-weight:800;
}
html[data-ethnos-ui] body.r287v14Active .r287v14Text code{
  padding:1px 4px;
  border-radius:4px;
  background:rgba(0,0,0,.28);
  color:#fff;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
}
html[data-ethnos-ui] body.r287v14Active .r326Spoiler{
  display:inline-block;
  width:auto;
  height:auto;
  min-height:0;
  padding:1px 5px;
  border:0;
  border-radius:4px;
  background:#061720;
  color:transparent;
  cursor:pointer;
  font:inherit;
}
html[data-ethnos-ui] body.r287v14Active .r326Spoiler.isRevealed{
  color:#fff;
  background:rgba(243,234,217,.10);
}

/* Message vocal. */
html[data-ethnos-ui] body.r287v14Active .r287v14ComposerTools button.isActive[title="Message vocal"]{
  background:#F47F3C;
  color:#071A39;
}
html[data-ethnos-ui] body.r287v14Active .r326VoiceMessage{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
  max-width:420px;
}
html[data-ethnos-ui] body.r287v14Active .r326VoiceMessage audio{
  width:min(330px,60vw);
  height:34px;
}
html[data-ethnos-ui] body.r287v14Active .r326VoiceMessage small{
  color:rgba(255,255,255,.54);
  font:600 7px/1.2 Inter,Arial,sans-serif;
}

/* Transfert. */
html[data-ethnos-ui] body.r287v14Active .r326Forwarded{
  margin-bottom:3px;
  color:rgba(255,255,255,.50);
  font:700 7px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326ForwardMenu select{
  min-height:24px;
  border:1px solid rgba(243,234,217,.16);
  border-radius:8px;
  background:#102d3d;
  color:#fff;
  padding:2px 24px 2px 7px;
  font:700 7px/1.1 Inter,Arial,sans-serif;
}

/* Fil de discussion : panneau local inséré au-dessus du compositeur. */
html[data-ethnos-ui] body.r287v14Active .r326ThreadPanel{
  flex:0 0 auto;
  max-height:260px;
  display:grid;
  grid-template-rows:auto auto minmax(60px,1fr) auto;
  gap:7px;
  padding:9px;
  border-top:1px solid var(--r287-line);
  background:#0d2735;
  color:#fff;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadHead strong{
  font:800 10px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadSource{
  margin:0;
  padding:6px 8px;
  border-left:2px solid #F47F3C;
  background:rgba(243,234,217,.05);
  color:rgba(255,255,255,.68);
  font:600 8px/1.3 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadList{
  min-height:0;
  overflow:auto;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadEmpty{
  margin:4px 0;
  color:rgba(255,255,255,.45);
  font:600 8px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadReply{
  padding:5px 0;
  border-bottom:1px solid rgba(243,234,217,.08);
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadReply strong{
  display:block;
  color:#F6EDDE;
  font:800 8px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadReply p{
  margin:2px 0 0;
  color:rgba(255,255,255,.76);
  font:500 8px/1.35 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadComposer{
  display:grid;
  grid-template-columns:minmax(0,1fr) 62px;
  gap:5px;
}
html[data-ethnos-ui] body.r287v14Active .r326ThreadComposer textarea{
  min-height:34px;
  resize:none;
  box-sizing:border-box;
  border:1px solid rgba(243,234,217,.16);
  border-radius:8px;
  background:#102d3d;
  color:#fff;
  padding:7px 8px;
  font:500 8px/1.3 Inter,Arial,sans-serif;
}

/* Mode lent : même popover que les autres outils du composeur. */
html[data-ethnos-ui] body.r287v14Active .r326SlowPanel{
  display:grid;
  gap:8px;
  color:#071A39;
}
html[data-ethnos-ui] body.r287v14Active .r326SlowPanel label{
  display:grid;
  gap:5px;
  font:800 10px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326SlowPanel select{
  min-height:38px;
  border:1px solid rgba(7,26,57,.20);
  border-radius:10px;
  background:#fff;
  color:#071A39;
  padding:8px 10px;
  font:600 10px/1.2 Inter,Arial,sans-serif;
}
html[data-ethnos-ui] body.r287v14Active .r326SlowPanel p{
  margin:0;
  color:rgba(7,26,57,.58);
  font:600 9px/1.35 Inter,Arial,sans-serif;
}

@media(max-width:720px){
  html[data-ethnos-ui] body.r287v14Active .r326ComposerAssist{
    left:8px;
    right:8px;
    width:auto;
  }
  html[data-ethnos-ui] body.r287v14Active .r326ThreadPanel{
    max-height:220px;
  }
}


/* ============================================================
   R327 — barre d'actions contextuelle au survol des messages
   Correction locale : présentation des actions déjà disponibles.
   Aucun moteur global ni changement du layout du salon.
   ============================================================ */
html body.r287v14Active .r287v14Message{
  position:relative !important;
}

html body.r287v14Active .r327MessageToolbar{
  position:absolute !important;
  top:-12px !important;
  right:8px !important;
  z-index:8 !important;
  display:flex !important;
  align-items:center !important;
  gap:2px !important;
  min-height:30px !important;
  padding:3px !important;
  border:1px solid rgba(243,234,217,.14) !important;
  border-radius:9px !important;
  background:#173543 !important;
  box-shadow:0 8px 20px rgba(0,0,0,.28) !important;
  opacity:0 !important;
  visibility:hidden !important;
  transform:translateY(3px) !important;
  transition:opacity .12s ease,transform .12s ease,visibility .12s ease !important;
}

html body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar{
  opacity:1 !important;
  visibility:visible !important;
  transform:translateY(0) !important;
}

html body.r287v14Active .r327MessageToolbar > button,
html body.r287v14Active .r327MoreWrap > button{
  width:28px !important;
  min-width:28px !important;
  height:26px !important;
  min-height:26px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  color:#F6EDDE !important;
  font:700 14px/1 Arial,sans-serif !important;
  cursor:pointer !important;
}

html body.r287v14Active .r327MessageToolbar > button:hover,
html body.r287v14Active .r327MoreWrap > button:hover,
html body.r287v14Active .r327MessageToolbar > button.isActive{
  background:rgba(246,237,222,.10) !important;
}

html body.r287v14Active .r327QuickReaction{
  font-size:16px !important;
}

html body.r287v14Active .r327MoreWrap{
  position:relative !important;
  display:flex !important;
}

html body.r287v14Active .r327ReactionPicker,
html body.r287v14Active .r327MoreMenu{
  position:absolute !important;
  z-index:12 !important;
  right:0 !important;
  top:34px !important;
  padding:5px !important;
  border:1px solid rgba(243,234,217,.14) !important;
  border-radius:9px !important;
  background:#173543 !important;
  box-shadow:0 10px 24px rgba(0,0,0,.32) !important;
}

html body.r287v14Active .r327ReactionPicker[hidden],
html body.r287v14Active .r327MoreMenu[hidden]{
  display:none !important;
}

html body.r287v14Active .r327ReactionPicker{
  display:grid !important;
  grid-template-columns:repeat(4,30px) !important;
  gap:3px !important;
}

html body.r287v14Active .r327ReactionPicker button{
  width:30px !important;
  height:28px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  font-size:16px !important;
  cursor:pointer !important;
}

html body.r287v14Active .r327ReactionPicker button:hover{
  background:rgba(246,237,222,.10) !important;
}

html body.r287v14Active .r327MoreMenu{
  display:flex !important;
  flex-direction:column !important;
  min-width:130px !important;
  gap:2px !important;
}

html body.r287v14Active .r327MoreMenu button{
  min-height:28px !important;
  padding:0 9px !important;
  border:0 !important;
  border-radius:6px !important;
  background:transparent !important;
  color:#F6EDDE !important;
  text-align:left !important;
  font:700 8px/1 Inter,Arial,sans-serif !important;
  cursor:pointer !important;
}

html body.r287v14Active .r327MoreMenu button:hover{
  background:rgba(246,237,222,.10) !important;
}

html body.r287v14Active .r327MoreMenu button.isDanger{
  color:#ffb7ad !important;
}

html body.r287v14Active .r327ReactionBar{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:4px !important;
  min-height:24px !important;
  margin-top:5px !important;
}

html body.r287v14Active .r327ReactionChip,
html body.r287v14Active .r327ReactionAdd{
  min-width:28px !important;
  height:24px !important;
  min-height:24px !important;
  padding:0 7px !important;
  border:1px solid rgba(243,234,217,.13) !important;
  border-radius:7px !important;
  background:rgba(243,234,217,.06) !important;
  color:#F6EDDE !important;
  font:700 9px/1 Inter,Arial,sans-serif !important;
  cursor:pointer !important;
}

html body.r287v14Active .r327ReactionChip.isActive{
  border-color:rgba(244,127,60,.65) !important;
  background:rgba(244,127,60,.18) !important;
}

html body.r287v14Active .r327ReactionAdd{
  width:28px !important;
  padding:0 !important;
  font-size:13px !important;
}

@media (hover:none){
  html body.r287v14Active .r327MessageToolbar{
    position:static !important;
    width:max-content !important;
    margin:4px 0 0 auto !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    box-shadow:none !important;
  }
}


/* ============================================================
   R328 — volet gauche Tchat
   1) Accueil Tchat : fond crème.
   2) Salon ouvert : volet contextuel crème existant + Récents repliable.
   3) Aucun changement de largeur, de layout global ni de navigation.
   ============================================================ */

/* Accueil / volet Tchat historique : même géométrie, nouvelle teinte crème. */
html body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel{
  background:#F6EDDE !important;
  background-image:none !important;
  color:#071A39 !important;
}

html body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel > .memberExplorerHead,
html body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel > .memberExplorerBody{
  background:transparent !important;
  color:#071A39 !important;
}

/* Adaptation locale des textes qui étaient explicitement blancs sur l'ancien fond sombre. */
html body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel .memberExplorerHead h2,
html body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel .salonExplorerLabel,
html body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel .salonQuickSearch label > span,
html body.isTchatDrawerOpen:not(.r287v14Active) .memberExplorerPanel .salonDeepSearchTagline{
  color:#071A39 !important;
  text-shadow:none !important;
}

/* Salon ouvert : Récents compact et repliable. */
html body.r287v14Active .r328RecentBlock{
  margin:9px 0 0 !important;
  border-top:1px solid rgba(6,28,41,.12) !important;
  padding-top:7px !important;
}

html body.r287v14Active .r328RecentToggle{
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto 14px !important;
  align-items:center !important;
  gap:7px !important;
  width:100% !important;
  min-height:31px !important;
  padding:0 8px !important;
  border:0 !important;
  border-radius:8px !important;
  background:transparent !important;
  color:#776A5D !important;
  text-align:left !important;
  font:800 9px/1.2 Inter,Arial,sans-serif !important;
  letter-spacing:.11em !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
}

html body.r287v14Active .r328RecentToggle:hover{
  background:rgba(6,28,41,.06) !important;
}

html body.r287v14Active .r328RecentCount{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:18px !important;
  height:18px !important;
  padding:0 5px !important;
  border-radius:9px !important;
  background:rgba(6,28,41,.08) !important;
  color:#263C48 !important;
  font:800 8px/1 Inter,Arial,sans-serif !important;
  letter-spacing:0 !important;
}

html body.r287v14Active .r328RecentArrow{
  width:7px !important;
  height:7px !important;
  justify-self:center !important;
  border-right:2px solid #776A5D !important;
  border-bottom:2px solid #776A5D !important;
  transform:rotate(45deg) translate(-1px,-1px) !important;
  transition:transform .12s ease !important;
}

html body.r287v14Active .r328RecentToggle.isOpen .r328RecentArrow{
  transform:rotate(225deg) translate(-1px,-1px) !important;
}

html body.r287v14Active .r328RecentList[hidden]{
  display:none !important;
}

html body.r287v14Active .r328RecentList{
  padding:3px 0 0 !important;
}


/* ============================================================
   R329 — navigation du volet gauche Tchat
   - Salon ouvert : Contexte -> Explorer -> Récents.
   - Explorer réutilise le vrai volet Tchat historique.
   - Une seule croix bleue commune aux deux états.
   ============================================================ */

/* Ordre local exact du volet salon ouvert. */
html body.r287v14Active .r287v14ContextList > .r287v14Explore{
  width:calc(100% - 10px) !important;
  margin:8px 5px 5px !important;
  min-height:34px !important;
  padding:0 14px !important;
  border:1px solid rgba(6,28,41,.16) !important;
  border-radius:9px !important;
  background:#F47F3C !important;
  color:#071A39 !important;
  box-shadow:0 3px 0 rgba(6,28,41,.20) !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:10px !important;
  font-weight:700 !important;
  line-height:1 !important;
  cursor:pointer !important;
}

/* Le vieux mini-explorateur R287 reste dans le DOM mais n'est plus utilisé. */
html body.r287v14Active .r287v14Explorer{
  display:none !important;
}

/* Croix unique : visible sur le volet Tchat d'accueil et sur sa version coulissante. */
/* En salon, le contenu historique conserve sa géométrie native et coulisse au-dessus du contexte. */
html body.r287v14Active .memberExplorerPanel > .memberExplorerHead,
html body.r287v14Active .memberExplorerPanel > .memberExplorerBody{
  position:relative !important;
  z-index:70 !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  background:#F6EDDE !important;
  color:#071A39 !important;
  transform:translateX(-104%) !important;
  transition:transform .22s ease !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

/* L'état ouvert réaffiche le vrai volet historique avec son flux flex existant. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerHead,
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerBody{
  display:flex !important;
  transform:translateX(0) !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerHead{
  flex:0 0 auto !important;
  z-index:72 !important;
}

html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerBody{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
}

/* Le panneau contextuel reste dessous et ne reçoit pas de clic pendant l'exploration. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .r287v14Left{
  pointer-events:none !important;
}

/* La croix reste au-dessus du panneau coulissant. */
/* ============================================================
   R330 — correctif volet Tchat réutilisé depuis un salon
   Cause prouvée : les titres historiques étaient explicitement blancs
   (R118) et devenaient invisibles sur le fond crème ; le bouton Rechercher
   n'était pas forcé dans l'état r329HomeTchatOpen.
   ============================================================ */

/* Croix : même esprit bleu clair que le volet salon, mais plus petite. */
/* Le vrai titre Tchat du volet historique doit rester visible sur crème. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerHead{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  min-height:42px !important;
  padding:6px 32px 8px 8px !important;
  border-bottom:1px solid rgba(7,26,57,.10) !important;
  background:#F6EDDE !important;
}

html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerHead h2{
  display:block !important;
  margin:0 !important;
  color:#071A39 !important;
  text-shadow:none !important;
}

/* Les titres Recherche rapide / approfondie et la baseline étaient blancs. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen
:is(.salonExplorerLabel,.salonQuickSearch label > span,.salonDeepSearchTagline){
  display:block !important;
  color:#071A39 !important;
  text-shadow:none !important;
}

/* Le vrai bouton Recherche du volet d'origine reste présent et au standard. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen
.salonQuickSearch > button.ethnosActionOrange{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:72% !important;
  min-width:0 !important;
  min-height:32px !important;
  height:32px !important;
  margin:2px auto 0 !important;
  padding:0 12px !important;
  border:1px solid rgba(255,188,139,.78) !important;
  border-radius:9px !important;
  background:linear-gradient(180deg,#ff9655 0%,#f47f3c 100%) !important;
  color:#071826 !important;
  box-shadow:0 3px 0 #cf5d25,0 6px 10px rgba(0,0,0,.14) !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:10px !important;
  font-weight:600 !important;
}

/* Corps historique : conserver ses sections et son flux entier. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerBody{
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  min-height:0 !important;
  padding:8px 10px 10px !important;
  background:#F6EDDE !important;
  color:#071A39 !important;
  overflow-y:auto !important;
}


/* ============================================================
   R331 — raccord recherche Tchat depuis un salon
   Cause démontrée :
   - .r287v14Chat = z-index 80
   - .salonDrawerStage historique = z-index 4/12
   - .salonCentralResultsWindow = z-index 12
   Les clics fonctionnaient, mais les volets étaient rendus derrière le Tchat.
   ============================================================ */

/* Croix demandée : standard bleu foncé historique, simplement réduite. */
/* Uniquement lorsque le vrai volet Tchat est ouvert depuis un salon :
   faire passer les volets historiques AU-DESSUS du moteur R287 (z=80). */
html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace > .salonDrawerStage{
  z-index:120 !important;
  visibility:visible !important;
}

html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace > .salonCentralResultsWindow{
  z-index:130 !important;
  visibility:visible !important;
}

/* Les panneaux de recherche doivent recevoir les clics, pas le Tchat dessous. */
html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace > .salonDrawerStage .salonDrawerStack,
html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace > .salonCentralResultsWindow{
  pointer-events:auto !important;
}


/* ============================================================
   R332 — fermeture des volets Tchat
   - aucune petite croix ajoutée ;
   - réutilisation du bouton historique "Fermer".
   ============================================================ */

/* Le titre n'a plus à réserver de place pour une croix. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .memberExplorerHead{
  padding:6px 8px 8px !important;
}

/* Le bouton historique Fermer redevient visible dans le volet Tchat salon. */
html body.r287v14Active .memberExplorerPanel.r329HomeTchatOpen > .r186TchatClose{
  display:flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  justify-content:center !important;
  width:calc(100% - 28px) !important;
  min-width:0 !important;
  min-height:38px !important;
  margin:10px 14px 14px !important;
  padding:0 14px !important;
  border:1px solid rgba(255,211,183,.92) !important;
  border-radius:10px !important;
  background:linear-gradient(180deg,#ffad7a 0%,#ee8d55 100%) !important;
  color:#071826 !important;
  box-shadow:0 1px 0 #c96d3d,0 3px 5px rgba(0,0,0,.11) !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-weight:700 !important;
  cursor:pointer !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

/* Sur le volet Tchat d'origine, on garde également uniquement ce bouton existant. */
html body.isTchatDrawerOpen:not(.r287v14Active)
.memberExplorerPanel > .r186TchatClose{
  display:flex !important;
}


/* ============================================================
   R333 — affichage réel des volets de recherche depuis Tchat salon
   Diagnostic final :
   - le moteur historique crée bien .salonDrawerStage / .salonCentralResultsWindow ;
   - ces éléments vivent dans .memberWorkspace en même temps que .r287v14Chat ;
   - le simple relèvement de z-index R331 ne suffit pas contre les contextes
     d'empilement actifs du shell Tchat.
   Correction locale : le shell R287 est masqué UNIQUEMENT tant qu'un vrai
   volet historique de recherche existe. Aucun moteur de recherche dupliqué.
   ============================================================ */

/* Un niveau de recherche historique existe : il devient la vue centrale active. */
html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace:has(> .salonDrawerStage) > .r287v14Chat,
html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace:has(> .salonCentralResultsWindow) > .r287v14Chat{
  visibility:hidden !important;
  pointer-events:none !important;
}

/* Le vrai volet historique prend alors la main dans le workspace. */
html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace > .salonDrawerStage{
  z-index:200 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace > .salonDrawerStage > .salonDrawerStack{
  z-index:201 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

html body.r331HomeTchatSearchOpen.r287v14Active
.memberWorkspace > .salonCentralResultsWindow{
  z-index:210 !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

/* Quand le dernier volet est fermé, :has() devient faux :
   le shell Tchat réapparaît automatiquement, sans observer le DOM. */


/* ============================================================
   R336 — finitions responsive ciblées
   Base fonctionnelle : R333.
   Formats : 1280×720, 1336/1366×768, 1536×864, 1707×1067, 1920×1080.
   Aucun changement de moteur.
   ============================================================ */

/* ------------------------------------------------------------
   1920×1080 : barre d'actions messages cachée par défaut.
   Le fallback tactile @media(hover:none) de R327 pouvait la rendre visible.
   Sur ce format desktop, on restaure explicitement le comportement souris.
   ------------------------------------------------------------ */
@media (min-width:1850px) and (max-width:1950px) and
       (min-height:1020px) and (max-height:1120px){
  html body.r287v14Active .r327MessageToolbar{
    position:absolute !important;
    width:auto !important;
    margin:0 !important;
    opacity:0 !important;
    visibility:hidden !important;
    transform:translateY(3px) !important;
    box-shadow:0 8px 20px rgba(0,0,0,.28) !important;
  }

  html body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
  html body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar{
    opacity:1 !important;
    visibility:visible !important;
    transform:translateY(0) !important;
  }
}

/* ------------------------------------------------------------
   Formats compacts communs :
   1280×720 / 1336-1366×768 / 1536×864
   ------------------------------------------------------------ */
@media (min-width:1240px) and (max-width:1580px) and
       (min-height:690px) and (max-height:900px){

  /* Profil compact : pseudonyme réellement plus petit.
     Valeur prioritaire précédente : jusqu'à 18px. */
  html[data-ethnos-ui="discord-r111"] body
  .memberRightRail .memberProfile.memberProfileCompact:not(.isExpanded)
  .memberIdentityText > h2[data-member-name],
  html body .memberRightRail .memberProfileCompact
  .memberIdentity h2[data-member-name]{
    font-size:12px !important;
    line-height:.98 !important;
    letter-spacing:-.01em !important;
  }

  /* Gifts + Emojis uniquement.
     Base : 560px × max 560px.
     Cible : largeur -25% = 420px ; hauteur /2 = 280px. */
  html body.r287v14Active .r318MediaPopover[data-mode="gifts"],
  html body.r287v14Active .r318MediaPopover[data-mode="emoji"]{
    width:min(420px,calc(100vw - 32px)) !important;
    max-height:280px !important;
    padding:9px !important;
    border-radius:12px !important;
    overflow:auto !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r318PopoverHead,
  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318PopoverHead{
    margin-bottom:6px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r318PopoverHead strong,
  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318PopoverHead strong{
    font-size:12px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftCommercial{
    gap:7px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftComing{
    font-size:18px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftTarget{
    padding:6px 9px !important;
    font-size:10px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftTarget > span:first-child{
    font-size:16px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r318GiftCopy{
    font-size:10px !important;
    line-height:1.35 !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] input{
    min-height:30px !important;
    height:30px !important;
    padding:5px 8px !important;
    font-size:10px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiGrid{
    margin-top:6px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiGrid section{
    margin-bottom:7px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiGrid h4{
    margin-bottom:4px !important;
    font-size:9px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiItems{
    grid-template-columns:repeat(auto-fill,minmax(30px,1fr)) !important;
    gap:3px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318Emoji{
    min-width:30px !important;
    height:30px !important;
    font-size:17px !important;
  }

  /* Volets Afrique → pays → thèmes → catégories :
     ciblage par TYPE, pas par position DOM, pour ne pas reproduire R334. */
  html body.isTchatDrawerOpen .salonDrawerPanel--continent,
  html body.isTchatDrawerOpen .salonDrawerPanel--countries{
    flex:0 0 190px !important;
    width:190px !important;
    max-width:190px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel--themes,
  html body.isTchatDrawerOpen .salonDrawerPanel--topics,
  html body.isTchatDrawerOpen .salonDrawerPanel--detail{
    flex:0 0 210px !important;
    width:210px !important;
    max-width:210px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel--final{
    flex:0 0 210px !important;
    width:210px !important;
    max-width:210px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerHead{
    padding:10px 10px 8px !important;
  }

  html body.isTchatDrawerOpen .salonDrawerHead h2{
    font-size:15px !important;
    line-height:1.05 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerDescription{
    margin-top:4px !important;
    font-size:8.5px !important;
    line-height:1.32 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel
  .salonDrawerListButton strong{
    font-size:10px !important;
    line-height:1.15 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel
  .salonDrawerListButton small{
    font-size:7.5px !important;
    line-height:1.15 !important;
  }
}

/* ------------------------------------------------------------
   1707×1067 : ouvrir le Tchat depuis l'Accueil ne doit pas
   effacer le contenu central R204.
   R185 masque génériquement tous les enfants du workspace quand
   isTchatDrawerOpen est actif. On restitue UNIQUEMENT bodyView-home.
   ------------------------------------------------------------ */
@media (min-width:1685px) and (max-width:1725px) and
       (min-height:1040px) and (max-height:1090px){
  html body.isEthnosHomeView.isTchatDrawerOpen:not(.r287v14Active)
  .memberWorkspace > .bodyView-home{
    visibility:visible !important;
    pointer-events:auto !important;
    opacity:1 !important;
  }
}


/* ============================================================
   R337 — bouton historique Fermer réellement intégré au Tchat salon
   Cause : R332 forçait son affichage comme enfant direct du panneau,
   mais le corps coulissant occupait toute la hauteur disponible.
   Le bouton restait donc hors du flux visible.
   R337 déplace LE MÊME bouton dans .memberExplorerBody pendant l'ouverture.
   ============================================================ */

html body.r287v14Active
.memberExplorerPanel.r329HomeTchatOpen
.memberExplorerBody > .r186TchatClose.r337TchatCloseInBody{
  position:sticky !important;
  z-index:76 !important;
  left:auto !important;
  right:auto !important;
  bottom:0 !important;
  display:flex !important;
  flex:0 0 38px !important;
  align-items:center !important;
  justify-content:center !important;
  width:calc(100% - 8px) !important;
  min-width:0 !important;
  height:38px !important;
  min-height:38px !important;
  max-height:38px !important;
  margin:12px 4px 4px !important;
  padding:0 14px !important;
  visibility:visible !important;
  pointer-events:auto !important;
}

/* En dehors du mode coulissant, aucun changement au bouton historique. */


/* ============================================================
   R338 — audit responsive corrigé
   IMPORTANT : les règles utilisent la LARGEUR CSS uniquement.
   Les hauteurs écran 720/768/864 ne sont pas des hauteurs viewport fiables.
   ============================================================ */

/* ------------------------------------------------------------
   Desktop souris : les actions message ne sont JAMAIS visibles au repos.
   Corrige le fallback @media(hover:none) qui peut être déclenché à tort
   sur certains environnements desktop / écrans tactiles hybrides.
   ------------------------------------------------------------ */
@media (pointer:fine){
  html body.r287v14Active .r327MessageToolbar{
    position:absolute !important;
    width:auto !important;
    margin:0 !important;
    opacity:0 !important;
    visibility:hidden !important;
    transform:translateY(3px) !important;
    box-shadow:0 8px 20px rgba(0,0,0,.28) !important;
  }

  html body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
  html body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar{
    opacity:1 !important;
    visibility:visible !important;
    transform:translateY(0) !important;
  }
}

/* ------------------------------------------------------------
   1280 / 1336-1366 / 1536 : plage commune basée sur largeur seule.
   ------------------------------------------------------------ */
@media (min-width:1200px) and (max-width:1580px){

  /* Pseudonymes : profil compact + liste des membres en ligne du salon. */
  html body .memberProfileCompact:not(.isExpanded) .memberIdentity h2,
  html body .memberProfileCompact:not(.isExpanded) .memberIdentity h2[data-member-name]{
    font-size:12px !important;
    line-height:.98 !important;
  }

  html body.r287v14Active .r287v14MemberCopy strong{
    font-size:10px !important;
    line-height:1.15 !important;
  }

  html body.r287v14Active .r287v14MemberCopy small{
    font-size:8px !important;
    line-height:1.15 !important;
  }

  /* Gifts / Emojis : largeur -25 % et hauteur cible divisée par 2.
     La base active est 560 px, cible 420 × 280. */
  html body.r287v14Active .r318MediaPopover[data-mode="gifts"],
  html body.r287v14Active .r318MediaPopover[data-mode="emoji"]{
    width:min(420px,calc(100vw - 24px)) !important;
    max-width:420px !important;
    height:min(280px,calc(100vh - 90px)) !important;
    max-height:280px !important;
    min-height:0 !important;
    padding:8px !important;
    overflow:auto !important;
    border-radius:12px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r318PopoverHead,
  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318PopoverHead{
    margin-bottom:5px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r318PopoverHead strong,
  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318PopoverHead strong{
    font-size:11px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftCommercial{
    gap:6px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftComing{
    font-size:16px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftTarget{
    padding:5px 8px !important;
    font-size:9px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r319GiftTarget > span:first-child{
    font-size:15px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="gifts"] .r318GiftCopy{
    font-size:9px !important;
    line-height:1.28 !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] input{
    min-height:28px !important;
    height:28px !important;
    padding:4px 7px !important;
    font-size:9px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiGrid{
    margin-top:5px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiGrid section{
    margin-bottom:5px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiGrid h4{
    margin-bottom:3px !important;
    font-size:8px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318EmojiItems{
    grid-template-columns:repeat(auto-fill,minmax(27px,1fr)) !important;
    gap:2px !important;
  }

  html body.r287v14Active
  .r318MediaPopover[data-mode="emoji"] .r318Emoji{
    min-width:27px !important;
    width:auto !important;
    height:27px !important;
    min-height:27px !important;
    font-size:15px !important;
  }

  /* Volets Afrique / pays / thèmes / catégories :
     ciblage sémantique uniquement, jamais first/last-child. */
  html body.isTchatDrawerOpen
  :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries){
    flex:0 0 180px !important;
    width:180px !important;
    max-width:180px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen
  :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail){
    flex:0 0 198px !important;
    width:198px !important;
    max-width:198px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel--final{
    flex:0 0 200px !important;
    width:200px !important;
    max-width:200px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerHead{
    padding:8px 8px 7px !important;
  }

  html body.isTchatDrawerOpen .salonDrawerHead h2{
    font-size:14px !important;
    line-height:1.04 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerDescription{
    margin-top:3px !important;
    font-size:7.5px !important;
    line-height:1.28 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerListButton{
    min-height:40px !important;
    padding:5px 6px !important;
  }

  html body.isTchatDrawerOpen .salonDrawerListCopy strong,
  html body.isTchatDrawerOpen .salonDrawerPanel .salonDrawerListButton strong{
    font-size:9px !important;
    line-height:1.12 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerListCopy small,
  html body.isTchatDrawerOpen .salonDrawerPanel .salonDrawerListButton small{
    font-size:7px !important;
    line-height:1.12 !important;
  }
}

/* ------------------------------------------------------------
   1707 : la largeur seule suffit ; ne pas dépendre de la hauteur CSS.
   ------------------------------------------------------------ */
@media (min-width:1685px) and (max-width:1725px){
  html body.isEthnosHomeView.isTchatDrawerOpen:not(.r287v14Active)
  .memberWorkspace > .bodyView-home{
    display:block !important;
    visibility:visible !important;
    pointer-events:auto !important;
    opacity:1 !important;
  }
}


/* ============================================================
   R339 — responsive piloté par les formats physiques du projet
   Audit : les @media viewport R336/R338 pouvaient ne pas matcher
   la résolution écran réellement testée (zoom / scaling / barres navigateur).
   R339 réutilise les marqueurs data-ethnos-format-* déjà prévus par Ethnos.
   ============================================================ */

/* ---------- 1280 / 1336 / 1366 / 1536 : PSEUDONYMES ---------- */
html[data-ethnos-format-1280="1"] body .memberProfileCompact:not(.isExpanded) .memberIdentity h2,
html[data-ethnos-r234-1280="1"] body .memberProfileCompact:not(.isExpanded) .memberIdentity h2,
html[data-ethnos-format-1336="1"] body .memberProfileCompact:not(.isExpanded) .memberIdentity h2,
html[data-ethnos-format-1366="1"] body .memberProfileCompact:not(.isExpanded) .memberIdentity h2,
html[data-ethnos-r234-1366="1"] body .memberProfileCompact:not(.isExpanded) .memberIdentity h2,
html[data-ethnos-format-1536="1"] body .memberProfileCompact:not(.isExpanded) .memberIdentity h2{
  font-size:12px !important;
  line-height:.98 !important;
}

html[data-ethnos-format-1280="1"] body.r287v14Active .r287v14MemberCopy strong,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r287v14MemberCopy strong,
html[data-ethnos-format-1336="1"] body.r287v14Active .r287v14MemberCopy strong,
html[data-ethnos-format-1366="1"] body.r287v14Active .r287v14MemberCopy strong,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r287v14MemberCopy strong,
html[data-ethnos-format-1536="1"] body.r287v14Active .r287v14MemberCopy strong{
  font-size:10px !important;
  line-height:1.14 !important;
}

html[data-ethnos-format-1280="1"] body.r287v14Active .r287v14MemberCopy small,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r287v14MemberCopy small,
html[data-ethnos-format-1336="1"] body.r287v14Active .r287v14MemberCopy small,
html[data-ethnos-format-1366="1"] body.r287v14Active .r287v14MemberCopy small,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r287v14MemberCopy small,
html[data-ethnos-format-1536="1"] body.r287v14Active .r287v14MemberCopy small{
  font-size:7.5px !important;
}

/* ---------- 1280 / 1336 / 1366 / 1536 : GIF + GIFTS + EMOJIS ---------- */
/* GIF réel observé sur capture : R320/R321 = 720 × 650.
   Cible demandée : largeur -25 %, hauteur /2 => 540 × 325. */
html[data-ethnos-format-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"],
html[data-ethnos-r234-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"],
html[data-ethnos-format-1336="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"],
html[data-ethnos-format-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"],
html[data-ethnos-r234-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"],
html[data-ethnos-format-1536="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"]{
  left:auto !important;
  right:8px !important;
  width:min(540px,calc(100vw - 24px)) !important;
  max-width:540px !important;
  height:min(325px,calc(100vh - 90px)) !important;
  max-height:325px !important;
  min-height:0 !important;
  padding:9px !important;
  overflow:hidden !important;
  gap:6px !important;
}

/* Gifts/Emoji base = 560 × 560 => 420 × 280. */
html[data-ethnos-format-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gifts"],
html[data-ethnos-r234-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gifts"],
html[data-ethnos-format-1336="1"] body.r287v14Active .r318MediaPopover[data-mode="gifts"],
html[data-ethnos-format-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gifts"],
html[data-ethnos-r234-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gifts"],
html[data-ethnos-format-1536="1"] body.r287v14Active .r318MediaPopover[data-mode="gifts"],
html[data-ethnos-format-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"],
html[data-ethnos-r234-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"],
html[data-ethnos-format-1336="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"],
html[data-ethnos-format-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"],
html[data-ethnos-r234-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"],
html[data-ethnos-format-1536="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"]{
  left:auto !important;
  right:8px !important;
  width:min(420px,calc(100vw - 24px)) !important;
  max-width:420px !important;
  height:min(280px,calc(100vh - 90px)) !important;
  max-height:280px !important;
  min-height:0 !important;
  padding:8px !important;
  overflow:auto !important;
}

/* GIF : compacter aussi le contenu interne pour que la moitié de hauteur soit utile. */
html[data-ethnos-format-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifSearchInput,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifSearchInput,
html[data-ethnos-format-1336="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifSearchInput,
html[data-ethnos-format-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifSearchInput,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifSearchInput,
html[data-ethnos-format-1536="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifSearchInput{
  height:32px !important;
  min-height:32px !important;
  font-size:9px !important;
}

html[data-ethnos-format-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifGrid,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifGrid,
html[data-ethnos-format-1336="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifGrid,
html[data-ethnos-format-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifGrid,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifGrid,
html[data-ethnos-format-1536="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifGrid{
  gap:5px !important;
  overflow:auto !important;
}

html[data-ethnos-format-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifCard img,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifCard img,
html[data-ethnos-format-1336="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifCard img,
html[data-ethnos-format-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifCard img,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifCard img,
html[data-ethnos-format-1536="1"] body.r287v14Active .r318MediaPopover[data-mode="gif"] .r320GifCard img{
  max-height:86px !important;
}

/* Emoji compact. */
html[data-ethnos-format-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"] .r318Emoji,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"] .r318Emoji,
html[data-ethnos-format-1336="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"] .r318Emoji,
html[data-ethnos-format-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"] .r318Emoji,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"] .r318Emoji,
html[data-ethnos-format-1536="1"] body.r287v14Active .r318MediaPopover[data-mode="emoji"] .r318Emoji{
  min-width:27px !important;
  height:27px !important;
  min-height:27px !important;
  font-size:15px !important;
}

/* ---------- 1280 / 1336 / 1366 / 1536 : VOLETS RECHERCHE ---------- */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries),
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries),
html[data-ethnos-format-1336="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries),
html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries),
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries),
html[data-ethnos-format-1536="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries){
  flex:0 0 180px !important;
  width:180px !important;
  max-width:180px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-format-1336="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-format-1536="1"] body.isTchatDrawerOpen :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail){
  flex:0 0 198px !important;
  width:198px !important;
  max-width:198px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-format-1336="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-format-1536="1"] body.isTchatDrawerOpen .salonDrawerPanel--final{
  flex:0 0 200px !important;
  width:200px !important;
  max-width:200px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen .salonDrawerHead h2,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen .salonDrawerHead h2,
html[data-ethnos-format-1336="1"] body.isTchatDrawerOpen .salonDrawerHead h2,
html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen .salonDrawerHead h2,
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen .salonDrawerHead h2,
html[data-ethnos-format-1536="1"] body.isTchatDrawerOpen .salonDrawerHead h2{
  font-size:14px !important;
  line-height:1.04 !important;
}

html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen .salonDrawerDescription,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen .salonDrawerDescription,
html[data-ethnos-format-1336="1"] body.isTchatDrawerOpen .salonDrawerDescription,
html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen .salonDrawerDescription,
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen .salonDrawerDescription,
html[data-ethnos-format-1536="1"] body.isTchatDrawerOpen .salonDrawerDescription{
  font-size:7.5px !important;
  line-height:1.28 !important;
}

/* ---------- TOOLBAR MESSAGES : cachée au repos sur formats desktop testés ---------- */
html[data-ethnos-format-1280="1"] body.r287v14Active .r327MessageToolbar,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r327MessageToolbar,
html[data-ethnos-format-1336="1"] body.r287v14Active .r327MessageToolbar,
html[data-ethnos-format-1366="1"] body.r287v14Active .r327MessageToolbar,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r327MessageToolbar,
html[data-ethnos-format-1536="1"] body.r287v14Active .r327MessageToolbar,
html[data-ethnos-format-1920="1"] body.r287v14Active .r327MessageToolbar{
  position:absolute !important;
  width:auto !important;
  margin:0 !important;
  opacity:0 !important;
  visibility:hidden !important;
  transform:translateY(3px) !important;
  box-shadow:0 8px 20px rgba(0,0,0,.28) !important;
}

html[data-ethnos-format-1280="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-format-1336="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-format-1366="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-format-1536="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-format-1920="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-format-1280="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar,
html[data-ethnos-r234-1280="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar,
html[data-ethnos-format-1336="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar,
html[data-ethnos-format-1366="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar,
html[data-ethnos-r234-1366="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar,
html[data-ethnos-format-1536="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar,
html[data-ethnos-format-1920="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar{
  opacity:1 !important;
  visibility:visible !important;
  transform:translateY(0) !important;
}

/* ---------- 1707 : accueil central ne disparaît plus ---------- */
html[data-ethnos-format-1707="1"] body.isEthnosHomeView.isTchatDrawerOpen:not(.r287v14Active)
.memberWorkspace > .bodyView-home,
html[data-ethnos-r234-1707="1"] body.isEthnosHomeView.isTchatDrawerOpen:not(.r287v14Active)
.memberWorkspace > .bodyView-home{
  display:block !important;
  visibility:visible !important;
  pointer-events:auto !important;
  opacity:1 !important;
}

/* ---------- R347 : largeurs 1707x1067 ----------
   Modification directe du moteur responsive déjà chargé.
   continent : 172 -> 120.400px (-30 %)
   Europe/pays : 307.26 -> 215.082px (-30 %)
   final : 290.19 -> 174.114px (-40 %)
   thèmes/topics/detail : inchangés.
*/
html[data-ethnos-format-1707="1"] body.isTchatDrawerOpen .salonDrawerPanel--continent,
html[data-ethnos-r234-1707="1"] body.isTchatDrawerOpen .salonDrawerPanel--continent{
  flex:0 0 120.400px !important;
  width:120.400px !important;
  max-width:120.400px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1707="1"] body.isTchatDrawerOpen .salonDrawerPanel--countries,
html[data-ethnos-r234-1707="1"] body.isTchatDrawerOpen .salonDrawerPanel--countries{
  flex:0 0 215.082px !important;
  width:215.082px !important;
  max-width:215.082px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1707="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-r234-1707="1"] body.isTchatDrawerOpen .salonDrawerPanel--final{
  flex:0 0 174.114px !important;
  width:174.114px !important;
  max-width:174.114px !important;
  min-width:0 !important;
}

/* ---------- 1920 : premier + dernier volets plus étroits, titre final réduit ---------- */
html[data-ethnos-format-1920="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--continent,.salonDrawerPanel--countries){
  flex:0 0 210px !important;
  width:210px !important;
  max-width:210px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1920="1"] body.isTchatDrawerOpen .salonDrawerPanel--final{
  flex:0 0 215px !important;
  width:215px !important;
  max-width:215px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1920="1"] body.isTchatDrawerOpen
.salonDrawerPanel--final .salonDrawerHead h2{
  font-size:17px !important;
  line-height:1.04 !important;
}


/* ============================================================
   R341 — 1280x720 uniquement — correction stricte de R340
   Base : R339.
   Seuls changements autorisés :
   1) largeur premier volet ;
   2) largeur intermédiaires ;
   3) largeur dernier volet ;
   4) texte des 3 contrôles pays uniquement.
   AUCUNE autre typographie modifiée.
   ============================================================ */

/* Premier volet : R339 = 180px -> R341 = 158px. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--continent,.salonDrawerPanel--countries),
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--continent,.salonDrawerPanel--countries){
  flex:0 0 158px !important;
  width:158px !important;
  max-width:158px !important;
  min-width:0 !important;
}

/* Intermédiaires : R339 = 198px -> R341 = 184px.
   AUCUN font-size, line-height ou padding texte ici. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail){
  flex:0 0 184px !important;
  width:184px !important;
  max-width:184px !important;
  min-width:0 !important;
}

/* Dernier volet : R339 = 200px -> R341 = 170px. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen .salonDrawerPanel--final{
  flex:0 0 170px !important;
  width:170px !important;
  max-width:170px !important;
  min-width:0 !important;
}

/* SEULS TEXTES réduits dans R341 :
   - Salons nationaux
   - Nos créateurs
   Les deux sont les <span> de .salonCountryActionButton. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryActionButton > span,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryActionButton > span{
  font-size:8px !important;
  line-height:1.08 !important;
  letter-spacing:-.01em !important;
  white-space:nowrap !important;
}

/* Explorer par ville est un <select>, pas un bouton/list-copy. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryAccordionCitySelect,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryAccordionCitySelect{
  font-size:8px !important;
  line-height:1.08 !important;
}

/* Aucun autre texte n'est modifié par R341. */


/* ============================================================
   R342 — 1280x720 uniquement
   - finition contrôles pays ;
   - tous les autres volets du parcours : -10 %.
   ============================================================ */

/* Intermédiaires : R341 184px -> R342 166px (~ -10 %).
   AUCUNE typographie modifiée. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail){
  flex:0 0 166px !important;
  width:166px !important;
  max-width:166px !important;
  min-width:0 !important;
}

/* Dernier volet : R341 170px -> R342 153px (-10 %).
   AUCUNE typographie modifiée. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen .salonDrawerPanel--final{
  flex:0 0 153px !important;
  width:153px !important;
  max-width:153px !important;
  min-width:0 !important;
}

/* Deux actions pays : texte réellement centré dans la zone blanche. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryActionButton > span,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryActionButton > span{
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-width:0 !important;
  padding:0 2px !important;
  margin:0 !important;
  overflow:hidden !important;
  text-overflow:clip !important;
  white-space:nowrap !important;
  text-align:center !important;
  font-size:7px !important;
  line-height:1 !important;
  letter-spacing:-.015em !important;
}

/* Le select affiche désormais "Par ville" et reste compact. */
html[data-ethnos-format-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryAccordionCitySelect,
html[data-ethnos-r234-1280="1"] body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryAccordionCitySelect{
  font-size:8px !important;
  line-height:1.08 !important;
  text-align:center !important;
  text-align-last:center !important;
  padding-left:6px !important;
  padding-right:28px !important;
}

/* SOURCE css/ethnos-r343-country-fields-edge.css SHA256 e5fae5deed3cf262ca4bd1721a9a190d87654da1eff12467c054bc4c2b234016 */
/* ============================================================
   R343 — Volet pays : champs bord à bord + zone orange réduite.
   Périmètre strict : uniquement les 3 champs d'actions du pays.
   ============================================================ */

/* Tous formats : les champs occupent toute la largeur du volet. */
html body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryAccordionActions{
  box-sizing:border-box !important;
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* Tous formats : partie orange plus étroite sur les deux boutons. */
html body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryActionButton{
  width:100% !important;
  grid-template-columns:minmax(0,1fr) 30px !important;
}

/* Le troisième champ (<select>) reste lui aussi bord à bord. */
html body.isTchatDrawerOpen
.salonDrawerPanel--countries .salonCountryAccordionCitySelect{
  box-sizing:border-box !important;
  width:100% !important;
}

/* Uniquement 1280x720 et en dessous : texte des 3 champs agrandi. */
@media (max-width:1280px) and (max-height:720px){
  html body.isTchatDrawerOpen
  .salonDrawerPanel--countries .salonCountryActionButton > span,
  html body.isTchatDrawerOpen
  .salonDrawerPanel--countries .salonCountryAccordionCitySelect{
    font-size:10px !important;
    line-height:1.12 !important;
    letter-spacing:0 !important;
  }
}

/* SOURCE css/ethnos-r344-drawer-widths-targeted.css SHA256 6b3765b93e26d4fe237e6ac53f81528f3560692062375b9fa4b8fd4c8fe0946e */
/* ============================================================
   R344 — Réduction ciblée des largeurs de volets.
   Périmètre strict :
   - 1366x768 : premier volet -10 %, suivants -25 %
   - 1070x1067 : premier volet -40 %, suivants -10 %
   Aucun autre style ni comportement modifié.
   ============================================================ */

/* 1366x768
   Références actives R339/R342 :
   premier 180px -> 162px (-10 %)
   thèmes/topics/detail 198px -> 148.5px (-25 %)
   final 200px -> 150px (-25 %)
*/
@media (width:1366px) and (height:768px){
  html body.isTchatDrawerOpen
  :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries){
    flex:0 0 162px !important;
    width:162px !important;
    max-width:162px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen
  :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail){
    flex:0 0 148.5px !important;
    width:148.5px !important;
    max-width:148.5px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel--final{
    flex:0 0 150px !important;
    width:150px !important;
    max-width:150px !important;
    min-width:0 !important;
  }
}

/* 1070x1067
   Références compactes existantes :
   premier 270px -> 162px (-40 %)
   thèmes/topics 295px -> 265.5px (-10 %)
   detail 285px -> 256.5px (-10 %)
   final 310px -> 279px (-10 %)
*/
@media (width:1070px) and (height:1067px){
  html body.isTchatDrawerOpen
  :is(.salonDrawerPanel--continent,.salonDrawerPanel--countries){
    flex:0 0 162px !important;
    width:162px !important;
    max-width:162px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen
  :is(.salonDrawerPanel--themes,.salonDrawerPanel--topics){
    flex:0 0 265.5px !important;
    width:265.5px !important;
    max-width:265.5px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel--detail{
    flex:0 0 256.5px !important;
    width:256.5px !important;
    max-width:256.5px !important;
    min-width:0 !important;
  }

  html body.isTchatDrawerOpen .salonDrawerPanel--final{
    flex:0 0 279px !important;
    width:279px !important;
    max-width:279px !important;
    min-width:0 !important;
  }
}

/* SOURCE css/ethnos-r345-drawer-widths-format-markers.css SHA256 edd7b0777636bf1f5a3d8923434eb02e4f13e9de8bd9eaf7b4f1992b3d0e7ed6 */
/* ============================================================
   R345 — Correction du ciblage R344 après audit.
   Les formats physiques sont pilotés par marqueurs, sans dépendre
   de la hauteur CSS du viewport.
   ============================================================ */

/* 1366x768 — base active R339/R342
   premier : 180 -> 162 (-10 %)
   suivants : 198 -> 148.5 (-25 %)
   final : 200 -> 150 (-25 %)
*/
html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--continent,.salonDrawerPanel--countries),
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--continent,.salonDrawerPanel--countries){
  flex:0 0 162px !important;
  width:162px !important;
  max-width:162px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail),
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail){
  flex:0 0 148.5px !important;
  width:148.5px !important;
  max-width:148.5px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1366="1"] body.isTchatDrawerOpen .salonDrawerPanel--final,
html[data-ethnos-r234-1366="1"] body.isTchatDrawerOpen .salonDrawerPanel--final{
  flex:0 0 150px !important;
  width:150px !important;
  max-width:150px !important;
  min-width:0 !important;
}

/* 1070x1067 — valeurs réellement actives avant R344 :
   continent 165 -> 99 (-40 %)
   pays 292 -> 175.2 (-40 %)
   thèmes/topics/detail 255 -> 229.5 (-10 %)
   final 270 -> 243 (-10 %)
*/
html[data-ethnos-format-1070="1"] body.isTchatDrawerOpen .salonDrawerPanel--continent{
  flex:0 0 99px !important;
  width:99px !important;
  max-width:99px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1070="1"] body.isTchatDrawerOpen .salonDrawerPanel--countries{
  flex:0 0 175.2px !important;
  width:175.2px !important;
  max-width:175.2px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1070="1"] body.isTchatDrawerOpen
:is(.salonDrawerPanel--themes,.salonDrawerPanel--topics,.salonDrawerPanel--detail){
  flex:0 0 229.5px !important;
  width:229.5px !important;
  max-width:229.5px !important;
  min-width:0 !important;
}

html[data-ethnos-format-1070="1"] body.isTchatDrawerOpen .salonDrawerPanel--final{
  flex:0 0 243px !important;
  width:243px !important;
  max-width:243px !important;
  min-width:0 !important;
}

/* SOURCE css/ethnos-r346-1707-message-toolbar-fix.css SHA256 08511859576bf6acbedbd770e913fe9fc830326504201fab53821a971028dfe1 */
/* ============================================================
   R346 — 1707x1067 : barres d'actions messages au repos.
   Cause prouvée : R339 excluait 1707 des sélecteurs qui annulent
   le fallback @media(hover:none) de R327.
   Périmètre strict : r327MessageToolbar uniquement.
   ============================================================ */

html[data-ethnos-format-1707="1"] body.r287v14Active .r327MessageToolbar,
html[data-ethnos-r234-1707="1"] body.r287v14Active .r327MessageToolbar{
  position:absolute !important;
  width:auto !important;
  margin:0 !important;
  opacity:0 !important;
  visibility:hidden !important;
  transform:translateY(3px) !important;
  box-shadow:0 8px 20px rgba(0,0,0,.28) !important;
}

html[data-ethnos-format-1707="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-r234-1707="1"] body.r287v14Active .r287v14Message:hover .r327MessageToolbar,
html[data-ethnos-format-1707="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar,
html[data-ethnos-r234-1707="1"] body.r287v14Active .r287v14Message:focus-within .r327MessageToolbar{
  opacity:1 !important;
  visibility:visible !important;
  transform:translateY(0) !important;
}

/* SOURCE css/espace-membre-r352.css SHA256 e8d9fff609fa22fda8098ed64cc4837b2c98c202e907da26e3668a900b0b9213 */
/* R352 — correction locale cartes salons : favori en bas à droite + titres multilignes. */
html body .salonDrawerPanel--final .salonResultCard{
  position:relative !important;
}

html body .salonDrawerPanel--final .salonResultCard h3{
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}

html body .salonDrawerPanel--final .salonFavoriteButton{
  position:absolute !important;
  right:11px !important;
  bottom:10px !important;
  margin:0 !important;
  z-index:2 !important;
}

html body .salonDrawerPanel--final .salonResultMeta{
  padding-right:38px !important;
}

/* SOURCE css/ethnos-r382-guest-discovery.css SHA256 aef5aeadf37f8a7925682e9d3096f4243d96112ab1e15d77ea0406a18d4f9ab3 */

/* R382 — mode découverte non connecté. Aucun impact hors ?decouverte=1. */
html.ethnosGuestDiscovery body{background:#071a39 !important}
html.ethnosGuestDiscovery .memberLayout{
  isolation:isolate !important;
  background:none !important;
}
html.ethnosGuestDiscovery .memberLayout::before{
  content:"" !important;
  position:absolute !important;
  inset:-12px !important;
  z-index:0 !important;
  background:
    linear-gradient(rgba(7,26,57,.16),rgba(7,26,57,.16)),
    url("/assets/images/commercial-home-hero-r355.jpg") center/cover no-repeat !important;
  filter:blur(6px) saturate(.90) !important;
  transform:scale(1.018) !important;
  pointer-events:none !important;
}
html.ethnosGuestDiscovery .memberLayout>*{
  position:relative !important;
  z-index:1 !important;
}
html.ethnosGuestDiscovery .guestSignupProfileCard{
  cursor:pointer !important;
  background:linear-gradient(145deg,rgba(255,249,240,.985),#f8efe3) !important;
  color:#071826 !important;
  border:1px solid rgba(7,24,38,.14) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
html.ethnosGuestDiscovery .guestSignupProfileInner{
  padding:18px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:7px !important;
}
html.ethnosGuestDiscovery .guestSignupEyebrow{
  color:#176b4c !important;
  font-size:10px !important;
  font-weight:700 !important;
  letter-spacing:.12em !important;
}
html.ethnosGuestDiscovery .guestSignupProfileInner strong{
  color:#071826 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(25px,1.6vw,32px) !important;
  font-weight:400 !important;
}
html.ethnosGuestDiscovery .guestSignupProfileInner small{
  color:#4f6073 !important;
  font-size:12px !important;
  line-height:1.35 !important;
}
html.ethnosGuestDiscovery .memberTopNavButton:hover,
html.ethnosGuestDiscovery #memberWorldDock button:hover{
  background:#f8efe3 !important;
}
.guestMemberModal{
  position:fixed !important;
  inset:0 !important;
  z-index:10050 !important;
  display:grid !important;
  place-items:center !important;
  padding:24px !important;
  background:rgba(7,24,38,.34) !important;
  backdrop-filter:blur(6px) !important;
}
.guestMemberModal[hidden]{display:none !important}
.guestMemberDialog{
  width:min(640px,92vw) !important;
  padding:30px !important;
  border:1px solid rgba(7,24,38,.14) !important;
  border-radius:16px !important;
  background:linear-gradient(145deg,#fff9f0,#f8efe3) !important;
  color:#071826 !important;
  box-shadow:0 24px 70px rgba(7,24,38,.24) !important;
}
.guestMemberEyebrow{
  margin:0 0 8px !important;
  color:#176b4c !important;
  font-size:11px !important;
  font-weight:700 !important;
  letter-spacing:.12em !important;
}
.guestMemberDialog h2{
  margin:0 0 12px !important;
  color:#071826 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(27px,2.3vw,38px) !important;
  font-weight:400 !important;
  line-height:1.08 !important;
}
.guestMemberDialog p{
  margin:0 0 10px !important;
  color:#4f6073 !important;
  font-size:14px !important;
  line-height:1.55 !important;
}
.guestMemberActions{
  margin-top:24px !important;
  display:flex !important;
  justify-content:flex-end !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}
.guestMemberActions a,.guestMemberActions button{
  box-sizing:border-box !important;
  height:38px !important;
  min-height:38px !important;
  padding:0 16px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:9px !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:13px !important;
  font-weight:500 !important;
  text-decoration:none !important;
}
.guestMemberActions [data-guest-close]{
  border:1px solid rgba(7,24,38,.18) !important;
  background:#fffdf9 !important;
  color:#071826 !important;
}
.guestMemberActions [data-guest-join]{
  border:1px solid rgba(255,211,183,.92) !important;
  background:linear-gradient(180deg,#ffad7a 0%,#ee8d55 100%) !important;
  color:#071826 !important;
  box-shadow:0 1px 0 #c96d3d,0 3px 5px rgba(0,0,0,.11) !important;
}

/* SOURCE css/ethnos-r422-guest-dashboard.css SHA256 0c88b1cc5046decc63a5c5756d4f2b3d68fe3ae01ea5cdb36f40cd30e273b0d5 */
/* ETHNOS R422 — mode découverte : tableau de bord uniquement.
   Aucun impact hors html.ethnosGuestDiscovery. */

/* 1. Navigation basse : toujours visible au-dessus du footer en découverte. */
html.ethnosGuestDiscovery #memberWorldDock{
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  position:fixed !important;
  z-index:1000 !important;
}

/* 2. Essai demandé : le grand bloc supérieur conserve sa géométrie et son texte,
      mais n'affiche plus son fond, son illustration ni son cadre visuel. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}


/* Les boutons du tableau de bord restent visuellement des boutons. */
html.ethnosGuestDiscovery .bodyView-home button{
  cursor:pointer !important;
}

/* SOURCE css/ethnos-r442-guest-discovery-fixes.css SHA256 b0e07f13f20fc5d09e50f64a5179a998721ed9ee9f80ad996e5868f916912e32 */
/* R432 — ACCUEIL DÉCOUVERTE / ONGLET GAUCHE UNIQUEMENT

But :
- reproduire visuellement la méthode de l'accueil commercial ;
- conserver une vraie couche verre rgba(255,251,244,.77) ;
- faire voir dessous LA MÊME image commerciale non filtrée, localement ;
- ne pas modifier le fond général découverte ;
- -10px visuels en largeur et -40px visuels en hauteur.

Source commerciale active : site/index.html
.hero__image :
  object-fit: cover;
  object-position: center center;

.hero::before :
  background: rgba(255, 251, 244, 0.77);
  border-bottom-right-radius: 46% 48%;
*/

html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero{
  overflow:visible !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  isolation:isolate !important;
}

/* Les anciens pseudo-éléments du hero restent désactivés en découverte. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero::before,
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero::after{
  content:none !important;
  display:none !important;
  background:none !important;
}

/* Conteneur de l'onglet : aucune couleur propre. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r432CommercialHomeTab{
  position:absolute !important;
  z-index:1 !important;
  pointer-events:none !important;
  overflow:hidden !important;

  left:calc(-1 * clamp(24px,1.9vw,38px)) !important;
  top:calc(
    -1 * (
      var(--r185-edge-gap,10px)
      + clamp(22px,2.5vw,48px)
      + clamp(20px,1.55vw,30px)
      + 2px
    )
  ) !important;

  width:min(calc(45vw - 50px),770px) !important;
  height:calc(100% - 40px) !important;

  background:transparent !important;
  border:0 !important;
  border-bottom-right-radius:46% 48% !important;
  box-shadow:none !important;
}

/* SOUS-COUCHE : même photo active que l'accueil commercial.
   background-attachment:fixed aligne le crop sur le viewport au lieu
   de refaire un crop propre à la petite carte. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r432CommercialHomeTabBackdrop{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none !important;
  background-image:url("/assets/images/commercial-home-hero-r355.jpg") !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-attachment:fixed !important;
  filter:none !important;
  opacity:1 !important;
}

/* VERRE : copie littérale de la surface commerciale active. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r432CommercialHomeTabGlass{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
  background:rgba(255, 251, 244, 0.65) !important;
  border:0 !important;
  border-bottom-right-radius:46% 48% !important;
  box-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
}

/* Texte au-dessus ; aucun fond ni pseudo-élément propre. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy{
  box-sizing:border-box !important;
  position:relative !important;
  z-index:2 !important;
  margin-left:calc(-1 * clamp(24px,1.9vw,38px)) !important;
  width:min(calc(45vw - 40px),780px) !important;
  max-width:none !important;
  top:calc(
    -1 * (
      var(--r185-edge-gap,10px)
      + clamp(22px,2.5vw,48px)
      + clamp(20px,1.55vw,30px)
      + 2px
    )
  ) !important;
  padding:clamp(14px,1.2vw,22px) clamp(20px,1.55vw,30px) clamp(17px,1.45vw,26px) !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy::before,
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy::after{
  content:none !important;
  display:none !important;
  background:none !important;
}

/* Typographie gauche conservée. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeEyebrow{
  display:none !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy h1,
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomePromise{
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  font-size:clamp(1.48rem,2.22vw,2.95rem) !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
  font-weight:850 !important;
  text-wrap:balance !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy h1{
  margin:0 !important;
  color:#071a39 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomePromise{
  margin:0 !important;
  color:#f26722 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeIntro{
  max-width:610px !important;
  margin:clamp(10px,1.1vh,16px) 0 0 !important;
  color:#26354b !important;
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  font-size:clamp(11px,.72vw,14px) !important;
  line-height:1.34 !important;
  font-weight:500 !important;
}

/* PARTIE DROITE : état précédent conservé strictement. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r180Trajectory{
  display:grid !important;
  grid-template-columns:1fr !important;
  grid-template-rows:auto auto auto auto !important;
  row-gap:0 !important;
  align-content:start !important;
  overflow:hidden !important;
  background:rgba(255, 249, 240, 0.65) !important;
  border:1px solid rgba(236,169,105,.48) !important;
  border-radius:clamp(20px,1.45vw,29px) !important;
  box-shadow:0 18px 55px rgba(28,20,12,.20) !important;
  backdrop-filter:blur(10px) !important;
  -webkit-backdrop-filter:blur(10px) !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryEyebrow{
  box-sizing:border-box !important;margin:0 !important;padding:10px 14px 4px !important;
  color:#f26722 !important;background:transparent !important;border:0 !important;border-radius:0 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180MembersLine{
  box-sizing:border-box !important;margin:0 !important;padding:4px 14px 10px !important;
  background:transparent !important;border:0 !important;
  border-bottom:1px solid rgba(7,26,57,.13) !important;border-radius:0 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180MembersValue strong,
html.ethnosGuestDiscovery body.isEthnosHomeView .r180ProgressMeta b{color:#071a39 !important}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180MembersValue span,
html.ethnosGuestDiscovery body.isEthnosHomeView .r180ProgressMeta span{color:#4f6073 !important}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryHead{
  margin:0 !important;padding:12px 14px !important;background:transparent !important;border:0 !important;
  border-bottom:1px solid rgba(7,26,57,.13) !important;border-radius:0 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryManifesto{
  margin:0 !important;color:#26354b !important;font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  font-size:clamp(11px,.74vw,14px) !important;line-height:1.34 !important;font-weight:500 !important;letter-spacing:0 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps{
  display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:0 !important;
  margin:0 !important;padding:0 !important;background:transparent !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps::before{display:none !important;content:none !important}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li{
  box-sizing:border-box !important;min-width:0 !important;margin:0 !important;padding:12px !important;
  background:transparent !important;border:0 !important;border-radius:0 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li + li{
  border-left:1px solid rgba(7,26,57,.13) !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180MilestoneTarget{
  width:auto !important;max-width:100% !important;margin:0 0 8px !important;padding:0 !important;
  background:transparent !important;box-shadow:none !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180MilestoneTarget strong{color:#071a39 !important}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180MilestoneReward span{color:#26354b !important}

/* R433 — correctifs strictement ciblés demandés. */

html.ethnosGuestDiscovery body.isEthnosHomeView .r180MilestoneTarget i{
  background:transparent !important;
  box-shadow:none !important;
}

html.ethnosGuestDiscovery body.isEthnosHomeView .r180ProgressRail{
  height:4px !important;
  overflow:visible !important;
  border-radius:999px !important;
  background:rgba(7,26,57,.12) !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180ProgressRail > span{
  display:block !important;
  min-width:1px !important;
  height:100% !important;
  border-radius:inherit !important;
  background:#43df9b !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180ProgressRail > span::after{
  content:"" !important;
  position:absolute !important;
  right:-4px !important;
  top:50% !important;
  width:9px !important;
  height:9px !important;
  transform:translateY(-50%) !important;
  border-radius:50% !important;
  background:#43df9b !important;
  box-shadow:0 0 0 5px rgba(67,223,155,.10) !important;
}


/* ==========================================================================
   R434 — ACCUEIL DÉCOUVERTE / BLOC TRAJECTOIRE DROIT
   - bord droit prolongé jusqu'à la limite droite du workspace
     (même axe que le bord gauche de la carte Inscription du rail droit) ;
   - suppression du vide vertical : la carte épouse son contenu.
   Aucun changement du contenu ni de la transparence R433.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Trajectory{
    box-sizing:border-box !important;
    align-self:start !important;
    justify-self:stretch !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin-right:calc(-1 * clamp(24px,1.9vw,38px)) !important;
    align-content:start !important;
    justify-content:start !important;
  }
}


/* ==========================================================================
   R435 — 1) ACCUEIL DÉCOUVERTE : RÉPARTITION VERTICALE ÉGALE
   Cascade active :
   gap grille = 10px ; marge basse hero = 14px ; marge haute métriques = 0px.
   Vide total = 34px ; répartition = 17px / 17px.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180MainColumn{
    row-gap:17px !important;
    gap:17px !important;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomeHero{
    margin-bottom:0 !important;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Pillars{
    margin-top:0 !important;
    margin-bottom:0 !important;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{
    margin-top:0 !important;
    margin-bottom:0 !important;
  }
}

/* ==========================================================================
   R435 — 2) MAPS : suppression du carré bleu à droite
   Le fond découverte est étendu au viewport UNIQUEMENT quand Maps est ouverte.
   ========================================================================== */
@media (min-width:901px){
  
}


/* ==========================================================================
   R436 — DEMANDE VISUELLE VALIDÉE SUR CAPTURE
   Deux espaces verticaux à 53 px :
   1) entre le hero et les deux grandes cartes ;
   2) entre les grandes cartes et la rangée métriques.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180MainColumn{
    row-gap:53px !important;
    gap:53px !important;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomeHero,
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Pillars,
  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{
    margin-top:0 !important;
    margin-bottom:0 !important;
  }
}

/* ==========================================================================
   R436 — MAPS / ROUTE ACCUEIL -> MONDE
   Le rendu correct obtenu après passage par Tchat prouve que la carte elle-même
   est saine. Le défaut vient de l'état de layout conservé depuis l'accueil.
   En vue Monde, on neutralise explicitement l'état accueil sur le conteneur
   principal et on remet la surface droite au fond transparent.
   ========================================================================== */
html.ethnosGuestDiscovery body.r190WorldViewOpen .memberMain,
html.ethnosGuestDiscovery body.r190WorldViewOpen .memberMainColumn,
html.ethnosGuestDiscovery body.r190WorldViewOpen .memberMainContent{
  background:transparent !important;
  box-shadow:none !important;
}

@media (min-width:901px){
  html.ethnosGuestDiscovery body.r190WorldViewOpen .memberLayout{
    background:transparent !important;
  }
  html.ethnosGuestDiscovery body.r190WorldViewOpen .memberLayout::before{
    position:fixed !important;
    inset:-12px !important;
    width:auto !important;
    height:auto !important;
  }
}


/* ==========================================================================
   R437 — ACCUEIL DÉCOUVERTE
   Demande : remonter uniquement la rangée centrale de 40px.
   Aucun changement de taille, de contenu ou des autres rangées.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Pillars{
    transform:translateY(-40px) !important;
  }
}


/* ==========================================================================
   R438 — ACCUEIL DÉCOUVERTE
   1) Rangée centrale : encore -40px par rapport à R437 => total -80px.
   2) Rangée du bas : cartes agrandies de 50% sans changer leur contenu.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Pillars{
    transform:translateY(-80px) !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{
    transform:scale(1.5) !important;
    transform-origin:center top !important;
    width:66.6666667% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* ==========================================================================
   R439 — ACCUEIL DÉCOUVERTE
   Demandes supplémentaires par rapport à R438 :
   - blocs centraux : +10px vers le haut => total -90px vs base ;
   - blocs du bas : +40px visuels vers le haut ;
   - agrandissement 150% de R438 conservé.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Pillars{
    transform:translateY(-90px) !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{
    position:relative !important;
    top:-40px !important;
    transform:scale(1.5) !important;
    transform-origin:center top !important;
    width:66.6666667% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* ==========================================================================
   R440 — ACCUEIL DÉCOUVERTE
   Demande supplémentaire par rapport à R439 :
   - blocs centraux : encore -15px => total -105px vs base ;
   - blocs du bas : encore -15px => top total -55px ;
   - échelle 150% conservée, aucun autre changement.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Pillars{
    transform:translateY(-105px) !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{
    position:relative !important;
    top:-55px !important;
    transform:scale(1.5) !important;
    transform-origin:center top !important;
    width:66.6666667% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* ==========================================================================
   R441 — ACCUEIL DÉCOUVERTE
   Demande : uniquement les blocs du bas, -15px visuels supplémentaires.
   Position centrale R440 conservée strictement.
   R440 bas = top:-55px ; R441 bas = top:-70px.
   ========================================================================== */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{
    position:relative !important;
    top:-70px !important;
    transform:scale(1.5) !important;
    transform-origin:center top !important;
    width:66.6666667% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* ==========================================================================
   R442 — ACCUEIL DÉCOUVERTE
   Demande : bloc droit "Notre trajectoire" = même couleur de base que le bloc gauche.
   Transparence conservée à 0.65.
   Aucun autre changement.
   ========================================================================== */
html.ethnosGuestDiscovery body.isEthnosHomeView .r180Trajectory{
  background:rgba(255, 251, 244, 0.65) !important;
}

/* SOURCE css/ethnos-r444-guest-discovery.css SHA256 adf9fea5baef59bfeb2ed027fe7d850f46e4f8fd60c1a8d3761b3256e1f1a564 */
/* ========================================================================== */
/* ETHNOS R444 — ACCUEIL DÉCOUVERTE : ONGLET / CONNEXION / TRAJECTOIRE          */
/*                                                                            */
/* Cause corrigée : en R435 l'onglet invité conservait les classes            */
/* memberProfile + memberProfileCompact du composant connecté. R443 retire    */
/* ces marqueurs en JS avant le démarrage des contrôleurs différés, puis       */
/* reconstruit ici uniquement la géométrie nécessaire au rail droit.           */
/*                                                                            */
/* Références couleurs actives : site/index.html                              */
/* .header-button--login  : #071a39 / rgba(255,252,247,.78)                   */
/* .header-button--signup : #f26722 / linear-gradient(#f27825,#f45d16)        */
/* ========================================================================== */

html.ethnosGuestDiscovery [data-guest-signup-card].guestSignupProfileCard{
  box-sizing:border-box !important;
  position:fixed !important;
  top:0 !important;
  right:0 !important;
  z-index:120 !important;
  width:var(--ethnos-context-width) !important;
  height:auto !important;
  min-height:var(--ethnos-card-height) !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  display:flex !important;
  align-items:stretch !important;
  justify-content:stretch !important;
  pointer-events:auto !important;
  cursor:default !important;

  border:1px solid rgba(7,26,57,.14) !important;
  border-top:0 !important;
  border-right:0 !important;
  border-radius:0 0 0 14px !important;
  background:rgba(255,251,244,.94) !important;
  background-image:none !important;
  box-shadow:0 12px 30px rgba(7,26,57,.16) !important;
  color:#071a39 !important;
  isolation:isolate !important;
}

/* Verrou explicite : aucune peau décorative du profil connecté ne survit. */
html.ethnosGuestDiscovery [data-guest-signup-card].guestSignupProfileCard::before,
html.ethnosGuestDiscovery [data-guest-signup-card].guestSignupProfileCard::after{
  content:none !important;
  display:none !important;
}

html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupProfileInner{
  box-sizing:border-box !important;
  width:100% !important;
  height:auto !important;
  padding:10px 12px !important;
  display:grid !important;
  /* R1199: translated copy and enlarged buttons each keep their own row. */
  grid-template-rows:repeat(4,auto) !important;
  align-content:center !important;
  gap:2px !important;
}

html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupEyebrow{
  margin:0 !important;
  color:#071a39 !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:clamp(7px,.48vw,9px) !important;
  font-weight:750 !important;
  line-height:1.1 !important;
  letter-spacing:.11em !important;
  text-transform:uppercase !important;
}

html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupTitle{
  min-width:0 !important;
  display:flex !important;
  align-items:baseline !important;
  flex-wrap:wrap !important;
  gap:6px !important;
  white-space:nowrap !important;
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupTitle strong,
html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupTitle span{
  margin:0 !important;
  font-family:var(--font-title,"Fraunces",Georgia,"Times New Roman",serif) !important;
  font-size:clamp(17px,1.22vw,23px) !important;
  font-weight:500 !important;
  line-height:1 !important;
  letter-spacing:-.025em !important;
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupTitle strong{
  color:#f26722 !important;
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupTitle span{
  color:#071a39 !important;
}

html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupProfileInner > small{
  min-width:0 !important;
  margin:1px 0 0 !important;
  color:#4f6073 !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:clamp(7.5px,.52vw,10px) !important;
  font-weight:500 !important;
  line-height:1.15 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  overflow:visible !important;
  text-overflow:clip !important;
}

html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupActions{
  align-self:start !important;
  width:100% !important;
  margin-top:6px !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:7px !important;
}

html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton{
  box-sizing:border-box !important;
  min-width:0 !important;
  height:30px !important;
  min-height:30px !important;
  padding:0 9px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:10px !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:clamp(8.5px,.58vw,11px) !important;
  font-weight:750 !important;
  line-height:1 !important;
  text-align:center !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease !important;
}

/* Peau reprise du bouton d'inscription actif de l'accueil commercial. */
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--signup{
  color:#fff !important;
  border:1px solid #f26722 !important;
  background:linear-gradient(135deg,#f27825,#f45d16) !important;
  box-shadow:0 7px 18px rgba(242,103,34,.22) !important;
}

/* Peau reprise du bouton Connexion actif de l'accueil commercial. */
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--login{
  color:#071a39 !important;
  border:1px solid rgba(7,26,57,.52) !important;
  background:rgba(255,252,247,.78) !important;
  box-shadow:none !important;
}

@media (hover:hover){
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton:hover{
    transform:translateY(-1px) !important;
  }
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--signup:hover{
    filter:saturate(1.08) brightness(1.035) !important;
    box-shadow:0 10px 22px rgba(242,103,34,.28) !important;
  }
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--login:hover{
    box-shadow:0 7px 16px rgba(7,26,57,.10) !important;
  }
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton:focus-visible{
  outline:2px solid rgba(242,103,34,.52) !important;
  outline-offset:2px !important;
}

/* Formats où la carte historique descend à 108px : contenu resserré sans
   changer la largeur ni la position du rail. */
@media (max-width:1700px), (max-height:900px){
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupProfileInner{
    padding:8px 10px !important;
    gap:1px !important;
  }
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupActions{
    margin-top:4px !important;
    gap:6px !important;
  }
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton{
    height:27px !important;
    min-height:27px !important;
    border-radius:9px !important;
  }
}

@media (max-width:900px){
  html.ethnosGuestDiscovery [data-guest-signup-card].guestSignupProfileCard{
    width:min(280px,44vw) !important;
  }
}

/* ========================================================================== */
/* ETHNOS R444 — AJUSTEMENTS CIBLÉS ACCUEIL DÉCOUVERTE                       */
/* Références actives prouvées :                                               */
/* - titre gauche R442 : Inter, 850, -0.045em, #071a39 / #f26722              */
/* - volet Connexion : index.html, composant .login-drawer actif              */
/* - visuel exact : assets/images/rejoindre-visages-filigrane.jpg             */
/* ========================================================================== */

/* "Inscription Ethnos" reprend la typographie active de "Bienvenue au cœur".
   La taille reste adaptée au rail droit, mais famille/graisse/interlettrage/
   rythme typographique sont identiques à la référence. */
html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupTitle strong,
html.ethnosGuestDiscovery [data-guest-signup-card] .guestSignupTitle span{
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  font-size:clamp(16px,1.15vw,22px) !important;
  font-weight:850 !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
}

/* Le bouton Connexion est désormais un vrai bouton local ; neutralisation
   uniquement des apparences natives qui n'existent pas sur le lien R443. */
html.ethnosGuestDiscovery [data-guest-signup-card] button.guestAccessButton{
  appearance:none !important;
  -webkit-appearance:none !important;
}

/* Texte entre jauge et cibles : même système typographique que le bloc gauche,
   sans changer un mot du contenu. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryManifesto{
  margin:0 !important;
  color:#071a39 !important;
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  font-size:clamp(11.5px,.80vw,15.5px) !important;
  font-weight:850 !important;
  line-height:1.10 !important;
  letter-spacing:-.045em !important;
  text-wrap:balance !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryManifesto .guestTrajectoryLine{
  display:block !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryManifesto .guestTrajectoryLine + .guestTrajectoryLine{
  margin-top:4px !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryManifesto .guestTrajectoryLine--blue{
  color:#071a39 !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryManifesto .guestTrajectoryLine--orange{
  color:#f26722 !important;
}

/* -------------------------------------------------------------------------- */
/* VOLET CONNEXION — peau reprise du composant actif de site/index.html.      */
/* Seul le point d'ancrage vertical est adapté à --topbar de l'espace membre. */
/* -------------------------------------------------------------------------- */
html.ethnosGuestDiscovery .guestLoginDrawerOverlay{
  position:fixed !important;
  z-index:310 !important;
  top:var(--topbar,56px) !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  background:rgba(4,18,33,.24) !important;
  opacity:0 !important;
  visibility:hidden !important;
  transition:opacity 280ms ease,visibility 280ms ease !important;
  backdrop-filter:blur(2px) !important;
  -webkit-backdrop-filter:blur(2px) !important;
}
html.ethnosGuestDiscovery .guestLoginDrawerOverlay.is-open{
  opacity:1 !important;
  visibility:visible !important;
}

html.ethnosGuestDiscovery .guestLoginDrawer{
  position:fixed !important;
  z-index:311 !important;
  top:var(--topbar,56px) !important;
  right:0 !important;
  width:clamp(410px,27vw,520px) !important;
  height:calc(100vh - var(--topbar,56px)) !important;
  overflow:hidden !important;
  color:#071a39 !important;
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  background:linear-gradient(180deg,rgba(255,252,247,.99),rgba(255,247,237,.985)) !important;
  border-left:1px solid rgba(242,103,34,.28) !important;
  border-bottom:1px solid rgba(242,103,34,.22) !important;
  border-bottom-left-radius:30px !important;
  box-shadow:-22px 24px 58px rgba(5,22,39,.24) !important;
  transform:translateX(104%) !important;
  transition:transform 420ms cubic-bezier(.2,.78,.24,1) !important;
  overscroll-behavior:contain !important;
}
html.ethnosGuestDiscovery .guestLoginDrawer.is-open{
  transform:translateX(0) !important;
}
html.ethnosGuestDiscovery .guestLoginDrawerVisual{
  position:relative !important;
  height:clamp(132px,13.5vh,178px) !important;
  overflow:hidden !important;
  background-image:
    linear-gradient(rgba(255,250,242,.30),rgba(255,250,242,.42)),
    url("/assets/images/rejoindre-visages-filigrane.jpg") !important;
  background-size:cover !important;
  background-position:center center !important;
}
html.ethnosGuestDiscovery .guestLoginDrawerVisual::after{
  content:"" !important;
  position:absolute !important;
  inset:auto 0 0 !important;
  height:52% !important;
  background:linear-gradient(180deg,transparent,rgba(255,250,242,.82)) !important;
  pointer-events:none !important;
}
html.ethnosGuestDiscovery .guestLoginDrawerVisualLabel{
  position:absolute !important;
  z-index:1 !important;
  left:26px !important;
  bottom:18px !important;
  color:#071a39 !important;
  font-size:.78rem !important;
  font-weight:750 !important;
  letter-spacing:.035em !important;
  text-transform:uppercase !important;
}
html.ethnosGuestDiscovery .guestLoginDrawerClose{
  position:absolute !important;
  z-index:3 !important;
  top:16px !important;
  right:17px !important;
  width:38px !important;
  height:38px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  color:#071a39 !important;
  font-family:Arial,sans-serif !important;
  font-size:1.55rem !important;
  line-height:1 !important;
  text-align:center !important;
  cursor:pointer !important;
  border:1px solid rgba(7,26,57,.16) !important;
  border-radius:999px !important;
  background:rgba(255,252,247,.92) !important;
  box-shadow:0 8px 20px rgba(7,26,57,.12) !important;
  transition:transform 180ms ease,border-color 180ms ease !important;
}
html.ethnosGuestDiscovery .guestLoginDrawerClose span{
  display:block !important;
  width:1em !important;
  height:1em !important;
  line-height:.92em !important;
  text-align:center !important;
  transform:translateY(-.5px) !important;
}
@media (hover:hover){
  html.ethnosGuestDiscovery .guestLoginDrawerClose:hover{
    transform:rotate(5deg) scale(1.05) !important;
    border-color:rgba(242,103,34,.58) !important;
  }
}
html.ethnosGuestDiscovery .guestLoginDrawerContent{
  padding:clamp(22px,2vw,34px) clamp(26px,2.4vw,42px) 34px !important;
}
html.ethnosGuestDiscovery .guestLoginDrawer h2{
  margin:0 !important;
  color:#071a39 !important;
  font-size:clamp(2rem,2.35vw,2.9rem) !important;
  line-height:.98 !important;
  letter-spacing:-.045em !important;
  font-weight:850 !important;
}
html.ethnosGuestDiscovery .guestLoginDrawer h2 span{
  color:#f26722 !important;
}
html.ethnosGuestDiscovery .guestLoginDrawerIntro{
  margin:14px 0 22px !important;
  max-width:390px !important;
  color:#445066 !important;
  font-size:clamp(.92rem,.98vw,1.08rem) !important;
  line-height:1.5 !important;
}
html.ethnosGuestDiscovery .guestLoginForm{
  display:grid !important;
  gap:15px !important;
}
html.ethnosGuestDiscovery .guestLoginForm label{
  display:grid !important;
  gap:7px !important;
  color:#071a39 !important;
  font-size:.86rem !important;
  font-weight:750 !important;
}
html.ethnosGuestDiscovery .guestLoginForm input{
  box-sizing:border-box !important;
  width:100% !important;
  height:49px !important;
  padding:0 15px !important;
  color:#071a39 !important;
  font:inherit !important;
  border:1px solid rgba(7,26,57,.17) !important;
  border-radius:12px !important;
  outline:none !important;
  background:rgba(255,255,255,.88) !important;
  transition:border-color 180ms ease,box-shadow 180ms ease !important;
}
html.ethnosGuestDiscovery .guestLoginForm input:focus{
  border-color:rgba(242,103,34,.72) !important;
  box-shadow:0 0 0 4px rgba(242,103,34,.10) !important;
}
html.ethnosGuestDiscovery .guestLoginPasswordField{
  position:relative !important;
  display:block !important;
}
html.ethnosGuestDiscovery .guestLoginPasswordField input{
  padding-right:86px !important;
}
html.ethnosGuestDiscovery .guestLoginPasswordToggle{
  position:absolute !important;
  top:50% !important;
  right:8px !important;
  transform:translateY(-50%) !important;
  height:34px !important;
  padding:0 11px !important;
  color:#071a39 !important;
  font-size:.72rem !important;
  font-weight:750 !important;
  cursor:pointer !important;
  border:0 !important;
  border-radius:8px !important;
  background:rgba(7,26,57,.07) !important;
}
html.ethnosGuestDiscovery .guestLoginFormError{
  min-height:18px !important;
  margin:-3px 0 0 !important;
  color:#b63a28 !important;
  font-size:.76rem !important;
  line-height:1.35 !important;
}
html.ethnosGuestDiscovery .guestLoginFormSubmit{
  height:50px !important;
  color:#fff !important;
  font-family:Inter,"Segoe UI",Arial,sans-serif !important;
  font-weight:800 !important;
  cursor:pointer !important;
  border:1px solid #f26722 !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#f27825,#f45d16) !important;
  box-shadow:0 12px 26px rgba(242,103,34,.24) !important;
  transition:transform 180ms ease,box-shadow 180ms ease !important;
}
@media (hover:hover){
  html.ethnosGuestDiscovery .guestLoginFormSubmit:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 16px 32px rgba(242,103,34,.30) !important;
  }
}

/* Pendant l'ouverture du volet, l'onglet invité ne reste pas superposé au
   volet : il est masqué sans modifier sa géométrie fermée. */
html.ethnosGuestDiscovery body.hasGuestLoginDrawer [data-guest-signup-card]{
  visibility:hidden !important;
  pointer-events:none !important;
}

@media (prefers-reduced-motion:reduce){
  html.ethnosGuestDiscovery .guestLoginDrawer,
  html.ethnosGuestDiscovery .guestLoginDrawerOverlay{
    transition:none !important;
  }
}

@media (width:1280px) and (height:720px){
  html.ethnosGuestDiscovery .guestLoginForm{gap:7.5px !important}
  html.ethnosGuestDiscovery .guestLoginFormError{
    min-height:9px !important;
    margin:-1.5px 0 0 !important;
    font-size:.72rem !important;
    line-height:1.2 !important;
  }
}

@media (max-width:900px){
  html.ethnosGuestDiscovery .guestLoginDrawer{
    width:100% !important;
    border-left:0 !important;
    border-radius:0 !important;
  }
}

/* Repli sans dépendance à la décoration JS : si le moteur central tarde à
   reconstruire le texte, l'orange et le bleu restent visibles immédiatement. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectoryManifesto:not([data-guest-trajectory-decorated="1"]){
  background:linear-gradient(90deg,#071a39 0 36%,#f26722 48% 68%,#071a39 82% 100%) !important;
  background-clip:text !important;
  -webkit-background-clip:text !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
}

/* SOURCE css/ethnos-r445-guest-ui-normalization.css SHA256 9cfbe0861cc2a9118a4d03714d5b1403dd14b0120c053da8a95718be7c032ab5 */
/* ========================================================================== */
/* ETHNOS R445 — DÉCOUVERTE : ACTIONS OFFICIELLES + FOND MAPS/TCHAT          */
/*                                                                            */
/* Bouton orange : source active espace-membre-r216.css / ethnosOfficialAction. */
/* Bouton blanc  : source active espace-membre-r208.css / memberLogout.       */
/* Les règles ci-dessous sont limitées au mode découverte.                    */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. Géométrie et typographie communes aux actions Inscription / Connexion.  */
/* -------------------------------------------------------------------------- */
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton,
html.ethnosGuestDiscovery .guestLoginFormSubmit{
  appearance:none !important;
  -webkit-appearance:none !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-width:0 !important;
  height:38px !important;
  min-height:38px !important;
  max-height:38px !important;
  padding:0 12px !important;
  border-radius:9px !important;
  font-family:var(--font-interface,Manrope,"Segoe UI",Arial,sans-serif) !important;
  font-size:clamp(10px,.72vw,13px) !important;
  font-weight:500 !important;
  font-style:normal !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-align:center !important;
  text-decoration:none !important;
  text-transform:none !important;
  text-shadow:none !important;
  white-space:nowrap !important;
  cursor:pointer !important;
}

/* Orange officiel R216 : S'inscrire + validation Connexion. */
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--signup,
html.ethnosGuestDiscovery .guestLoginFormSubmit{
  border:1px solid rgba(255,211,183,.92) !important;
  background:linear-gradient(180deg,#ffad7a 0%,#ee8d55 100%) !important;
  color:#071826 !important;
  box-shadow:0 1px 0 #c96d3d,0 3px 5px rgba(0,0,0,.11) !important;
  filter:none !important;
  transform:translateY(0) !important;
  transition:transform .12s ease,filter .12s ease,box-shadow .12s ease !important;
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--signup:hover,
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--signup:focus-visible,
html.ethnosGuestDiscovery .guestLoginFormSubmit:hover,
html.ethnosGuestDiscovery .guestLoginFormSubmit:focus-visible{
  filter:brightness(1.025) !important;
  transform:translateY(-1px) !important;
  outline:none !important;
  box-shadow:0 2px 0 #c96d3d,0 4px 6px rgba(0,0,0,.12) !important;
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--signup:active,
html.ethnosGuestDiscovery .guestLoginFormSubmit:active{
  filter:brightness(.995) !important;
  transform:translateY(1px) !important;
  box-shadow:0 0 0 #c96d3d,0 2px 3px rgba(0,0,0,.09) !important;
}
html.ethnosGuestDiscovery .guestLoginFormSubmit:disabled{
  opacity:.45 !important;
  cursor:not-allowed !important;
  filter:none !important;
  transform:none !important;
}

/* Blanc officiel de la paire Profil R208 : Connexion de l'onglet. */
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--login{
  border:1px solid rgba(7,26,57,.34) !important;
  background:#fffdf9 !important;
  color:#071a39 !important;
  box-shadow:none !important;
  filter:none !important;
  transform:none !important;
  transition:border-color .12s ease !important;
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--login:hover,
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--login:focus-visible{
  border-color:rgba(7,26,57,.48) !important;
  background:#fffdf9 !important;
  color:#071a39 !important;
  box-shadow:none !important;
  filter:none !important;
  transform:none !important;
  outline:none !important;
}
html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton--login:active{
  background:#fffdf9 !important;
  color:#071a39 !important;
  box-shadow:none !important;
  filter:none !important;
  transform:none !important;
}

/* Échelle responsive exacte du bouton orange officiel R216. */
@media (max-height:820px) and (min-width:901px){
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton,
  html.ethnosGuestDiscovery .guestLoginFormSubmit{
    height:33px !important;
    min-height:33px !important;
    max-height:33px !important;
  }
}
@media (min-width:1340px) and (max-width:1392px){
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton,
  html.ethnosGuestDiscovery .guestLoginFormSubmit{
    height:29px !important;
    min-height:29px !important;
    max-height:29px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    font-size:9px !important;
  }
}
@media (min-width:1510px) and (max-width:1562px){
  html.ethnosGuestDiscovery [data-guest-signup-card] .guestAccessButton,
  html.ethnosGuestDiscovery .guestLoginFormSubmit{
    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    font-size:10px !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 2. Maps / Tchat : le décor découverte reste l'unique fond de page visible. */
/* Source du décor : ethnos-r382-guest-discovery.css.                         */
/* -------------------------------------------------------------------------- */
html.ethnosGuestDiscovery 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;
}
html.ethnosGuestDiscovery body .memberApp{
  background-color:transparent !important;
  background-image:none !important;
}
html.ethnosGuestDiscovery body .memberLayout,
html.ethnosGuestDiscovery body .memberWelcome,
html.ethnosGuestDiscovery body .memberWorkspace,
html.ethnosGuestDiscovery body .memberWorkspace.hasSalonContent,
html.ethnosGuestDiscovery body .memberWorkspace.hasBodyView,
html.ethnosGuestDiscovery body .memberWorkspace.hasSalonContent.hasBodyView{
  background-color:transparent !important;
  background-image:none !important;
}

html.ethnosGuestDiscovery body.r190WorldViewOpen .memberLayout,
html.ethnosGuestDiscovery body.isTchatDrawerOpen .memberLayout,
html.ethnosGuestDiscovery body.isTchatDrawerClosing .memberLayout,
html.ethnosGuestDiscovery body.isTchatDrawerClosingActive .memberLayout{
  background:none !important;
  background-color:transparent !important;
}

html.ethnosGuestDiscovery body.r190WorldViewOpen .memberLayout::before,
html.ethnosGuestDiscovery body.isTchatDrawerOpen .memberLayout::before,
html.ethnosGuestDiscovery body.isTchatDrawerClosing .memberLayout::before,
html.ethnosGuestDiscovery body.isTchatDrawerClosingActive .memberLayout::before{
  content:"" !important;
  position:fixed !important;
  inset:-12px !important;
  width:auto !important;
  height:auto !important;
  z-index:0 !important;
  background:
    linear-gradient(rgba(7,26,57,.16),rgba(7,26,57,.16)),
    url("/assets/images/commercial-home-hero-r355.jpg") center/cover no-repeat !important;
  filter:blur(6px) saturate(.90) !important;
  transform:scale(1.018) !important;
  pointer-events:none !important;
}

html.ethnosGuestDiscovery body.r190WorldViewOpen .memberWorkspace,
html.ethnosGuestDiscovery body.isTchatDrawerOpen .memberWorkspace,
html.ethnosGuestDiscovery body.isTchatDrawerClosing .memberWorkspace,
html.ethnosGuestDiscovery body.isTchatDrawerClosingActive .memberWorkspace{
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}

/* Les enveloppes centrales historiques ne doivent pas réintroduire le bleu. */
html.ethnosGuestDiscovery body.r190WorldViewOpen .memberMain,
html.ethnosGuestDiscovery body.r190WorldViewOpen .memberMainColumn,
html.ethnosGuestDiscovery body.r190WorldViewOpen .memberMainContent,
html.ethnosGuestDiscovery body.isTchatDrawerOpen .memberMain,
html.ethnosGuestDiscovery body.isTchatDrawerOpen .memberMainColumn,
html.ethnosGuestDiscovery body.isTchatDrawerOpen .memberMainContent,
html.ethnosGuestDiscovery body.isTchatDrawerClosing .memberMain,
html.ethnosGuestDiscovery body.isTchatDrawerClosing .memberMainColumn,
html.ethnosGuestDiscovery body.isTchatDrawerClosing .memberMainContent,
html.ethnosGuestDiscovery body.isTchatDrawerClosingActive .memberMain,
html.ethnosGuestDiscovery body.isTchatDrawerClosingActive .memberMainColumn,
html.ethnosGuestDiscovery body.isTchatDrawerClosingActive .memberMainContent{
  background:transparent !important;
  box-shadow:none !important;
}

/* SOURCE css/ethnos-r446-guest-polish.css SHA256 08c9e9ca793e31797a420236c552c22959171771813b3ac093d9c6df49403be2 */
/* ==========================================================================
   ETHNOS R446 — accueil découverte : langue + relief des cartes basses
   Base : R445. Périmètre découverte uniquement.
   ========================================================================== */

/* Bouton planète : injecté uniquement en mode découverte par le moteur R446. */
html.ethnosGuestDiscovery .guestLanguageSwitcher{
  position:absolute;
  top:50%;
  z-index:88;
  transform:translateY(-50%);
}
html.ethnosGuestDiscovery .guestLanguageButton{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(7,26,57,.16);
  border-radius:50%;
  background:linear-gradient(180deg,#fffdf9 0%,#eee1d0 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 2px 0 rgba(7,26,57,.12),0 6px 12px rgba(7,26,57,.12);
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease;
}
html.ethnosGuestDiscovery .guestLanguageButton img{
  width:24px;
  height:24px;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 2px 3px rgba(7,26,57,.16));
  pointer-events:none;
}
html.ethnosGuestDiscovery .guestLanguageButton:hover,
html.ethnosGuestDiscovery .guestLanguageButton:focus-visible{
  outline:0;
  transform:translateY(-2px);
  background:rgba(255,255,255,.96);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 3px 0 rgba(7,26,57,.13),0 9px 18px rgba(7,26,57,.16);
}
html.ethnosGuestDiscovery .guestLanguageButton:active{
  transform:translateY(1px);
  box-shadow:inset 0 2px 4px rgba(7,26,57,.10),0 1px 0 rgba(7,26,57,.12);
}
html.ethnosGuestDiscovery .guestLanguagePanel{
  position:absolute;
  top:calc(100% + 9px);
  left:0;
  width:232px;
  box-sizing:border-box;
  padding:12px;
  border:1px solid rgba(7,26,57,.16);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,253,249,.99),rgba(255,247,236,.99));
  box-shadow:0 18px 38px rgba(7,26,57,.18),inset 0 1px 0 rgba(255,255,255,.92);
}
html.ethnosGuestDiscovery .guestLanguagePanel[hidden]{display:none !important}
html.ethnosGuestDiscovery .guestLanguagePanel label{
  display:block;
  margin:0 0 7px;
  color:#071a39;
  font-family:Manrope,"Segoe UI",Arial,sans-serif;
  font-size:11px;
  font-weight:700;
}
html.ethnosGuestDiscovery .guestLanguageSelect{
  width:100%;
  min-height:34px;
  padding:0 9px;
  border:1px solid rgba(7,26,57,.20);
  border-radius:8px;
  background:#fff;
  color:#071a39;
  font-family:Manrope,"Segoe UI",Arial,sans-serif;
  font-size:11px;
  font-weight:600;
  outline:none;
}
html.ethnosGuestDiscovery .guestLanguageSelect:focus{
  border-color:#ee8d55;
  box-shadow:0 0 0 3px rgba(238,141,85,.14);
}
html.ethnosGuestDiscovery .guestLanguageStatus{
  display:block;
  min-height:1.25em;
  margin-top:7px;
  color:#59697a;
  font-family:Manrope,"Segoe UI",Arial,sans-serif;
  font-size:9px;
  line-height:1.25;
}

/* Rangée du bas : reprise exacte du relief/élévation des blocs centraux R180. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricCard{
  transform:translateY(0) !important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease !important;
}
html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricCard:hover{
  transform:translateY(-4px) !important;
  border-color:rgba(49,209,207,.58) !important;
  box-shadow:0 22px 44px rgba(0,0,0,.30),0 0 0 1px rgba(49,209,207,.12) !important;
}

@media(max-width:900px){
  html.ethnosGuestDiscovery .guestLanguageSwitcher{display:none !important}
}

/* SOURCE css/ethnos-r449-discovery-stabilization.css SHA256 e56621366d829aaa131172764dec9b3646e4c37e7923520e58435897a6d744b1 */
/* ========================================================================== */
/* ETHNOS R449 — DÉCOUVERTE : STABILISATION CIBLÉE                           */
/* Base figée : R448.                                                         */
/* Périmètre : texte Trajectoire, sélecteur de langue, Maps/Tchat découverte. */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1. Bloc droit : même sous-couche + même verre que le bloc gauche R442.     */
/* -------------------------------------------------------------------------- */
html.ethnosGuestDiscovery body.isEthnosHomeView .r180Trajectory{
  background-color:transparent !important;
  background-image:
    linear-gradient(rgba(255,251,244,.65),rgba(255,251,244,.65)),
    url("/assets/images/commercial-home-hero-r355.jpg") !important;
  background-position:center center,center center !important;
  background-size:auto,cover !important;
  background-repeat:no-repeat,no-repeat !important;
  background-attachment:scroll,fixed !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* R204 laisse text-align-last:left sur ce texte. R448 ne l'annulait pas :
   les lignes restaient donc visuellement alignées à gauche malgré text-align:center. */
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180TrajectoryHead{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180TrajectoryManifesto{
  position:relative !important;
  left:0 !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  font-size:clamp(14px,1vw,19px) !important;
  line-height:1.12 !important;
  text-align:center !important;
  text-align-last:center !important;
  hyphens:none !important;
  -webkit-hyphens:none !important;
  text-wrap:balance !important;
}
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180TrajectoryManifesto .guestTrajectoryLine{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  text-align-last:center !important;
  hyphens:none !important;
  -webkit-hyphens:none !important;
}

/* -------------------------------------------------------------------------- */
/* 2. Langues : icône globe simple dans un carré + panneau hors topbar.       */
/*    Le panneau est porté par body afin qu'aucun contexte de pile/overflow   */
/*    historique de la barre ne puisse le masquer.                            */
/* -------------------------------------------------------------------------- */
html.ethnosGuestDiscovery .guestLanguageSwitcher{
  position:absolute !important;
  top:50% !important;
  z-index:88 !important;
  transform:translateY(-50%) !important;
}
html.ethnosGuestDiscovery .guestLanguageButton{
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  border:1px solid rgba(7,26,57,.22) !important;
  border-radius:8px !important;
  background:#fffdf9 !important;
  color:#071a39 !important;
  box-shadow:0 1px 0 rgba(7,26,57,.14),0 3px 5px rgba(0,0,0,.08) !important;
  cursor:pointer !important;
  transform:translateY(0) !important;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease !important;
}
html.ethnosGuestDiscovery .guestLanguageButton svg{
  width:18px !important;
  height:18px !important;
  display:block !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:1.7 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
  pointer-events:none !important;
}
html.ethnosGuestDiscovery .guestLanguageButton:hover,
html.ethnosGuestDiscovery .guestLanguageButton:focus-visible{
  border-color:rgba(7,26,57,.38) !important;
  background:#fffdf9 !important;
  color:#071a39 !important;
  transform:translateY(-1px) !important;
  box-shadow:0 2px 0 rgba(7,26,57,.15),0 4px 7px rgba(0,0,0,.10) !important;
}
html.ethnosGuestDiscovery .guestLanguageButton:active{
  transform:translateY(1px) !important;
  box-shadow:0 0 0 rgba(7,26,57,.12),0 2px 3px rgba(0,0,0,.07) !important;
}
html.ethnosGuestDiscovery .guestLanguagePanel.guestLanguagePanel--portal{
  position:fixed !important;
  z-index:400 !important;
  top:auto;
  left:auto;
  width:240px !important;
  margin:0 !important;
  transform:none !important;
}
html.ethnosGuestDiscovery .guestLanguagePanel.guestLanguagePanel--portal[hidden]{
  display:none !important;
}
html.ethnosGuestDiscovery .guestLanguagePanel.guestLanguagePanel--portal .guestLanguageSelect{
  display:block !important;
  width:100% !important;
  min-height:38px !important;
  cursor:pointer !important;
}

/* -------------------------------------------------------------------------- */
/* 3. Fond découverte : R117 possède un sélecteur plus spécifique que R448.   */
/*    On le dépasse volontairement UNIQUEMENT dans Maps/Tchat découverte.     */
/* -------------------------------------------------------------------------- */
html.ethnosGuestDiscovery{
  background-color:#071a39 !important;
  background-image:url("/assets/images/commercial-home-hero-r355.jpg") !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-attachment:fixed !important;
}

html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen,
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen{
  background-color:transparent !important;
  background-image:url("/assets/images/commercial-home-hero-r355.jpg") !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-attachment:fixed !important;
}

html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen .memberLayout::before,
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberLayout::before{
  content:"" !important;
  display:block !important;
  opacity:1 !important;
  background-color:transparent !important;
  background-image:url("/assets/images/commercial-home-hero-r355.jpg") !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
}

/* R117 : .memberWorkspace.memberWelcome.hasSalonContent.hasBodyView:not(.isSalonOpen)
   était plus spécifique que le correctif R448 et repeignait le centre en bleu. */
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen .memberLayout .memberWelcome.memberWorkspace.hasSalonContent.hasBodyView:not(.isSalonOpen),
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen .memberLayout .memberWelcome.memberWorkspace.hasSalonContent.hasBodyView,
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberLayout .memberWelcome.memberWorkspace.hasSalonContent.hasBodyView:not(.isSalonOpen),
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberLayout .memberWelcome.memberWorkspace.hasSalonContent.hasBodyView,
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen .memberLayout .memberWorkspace,
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberLayout .memberWorkspace{
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen .memberWorkspace::before,
html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberWorkspace::before{
  content:none !important;
  display:none !important;
  background:none !important;
  background-image:none !important;
}

/* -------------------------------------------------------------------------- */
/* 4. Maps : position viewport explicite. Aucun calcul relatif au workspace.  */
/*    Marges gauche/droite strictement identiques = onglet Maps + 4 px.       */
/* -------------------------------------------------------------------------- */
@media (min-width:901px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen:not(.isTchatDrawerOpen) .memberWorkspace.hasBodyView > .bodyView-world{
    box-sizing:border-box !important;
    position:fixed !important;
    left:calc(var(--r190-map-tab-width,var(--ethnos-context-width)) + 4px) !important;
    right:calc(var(--r190-map-tab-width,var(--ethnos-context-width)) + 4px) !important;
    top:calc(var(--topbar,54px) + 10px) !important;
    bottom:calc(var(--r190-map-tab-bottom,var(--footer-legal,22px)) + var(--r190-map-tab-height,var(--ethnos-card-height)) + 4px) !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:4px 0 0 !important;
    transform:none !important;
    overflow:hidden !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    z-index:3 !important;
  }

  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen:not(.isTchatDrawerOpen) .bodyView-world > .bodyViewContent,
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen:not(.isTchatDrawerOpen) .bodyView-world .r182LegacyMapCard{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  /* La vue Monde reste dans le DOM pendant le Tchat. Elle ne doit jamais
     conserver une géométrie fixe ou une couche fantôme pendant cet état. */
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen.isTchatDrawerOpen .memberWorkspace.hasBodyView > .bodyView-world{
    position:relative !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    bottom:auto !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    margin:0 !important;
    transform:none !important;
  }
}

/* Les barres haute/basse et le footer sont volontairement hors périmètre. */

/* SOURCE css/ethnos-r450-discovery-polish.css SHA256 ee75306797913dd3f1c108ec5df26ba814f9556e0c750fa13777844cdf278da9 */
/* ETHNOS R450 — corrections ciblées accueil découverte. Base R449. */

/* Footer légal visible au-dessus des couches Maps/Tchat, sans toucher à leur géométrie. */
html.ethnosGuestDiscovery body.r190WorldViewOpen #memberFooter,
html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter{
  z-index:120 !important;
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  transform:none !important;
  pointer-events:auto !important;
}
html.ethnosGuestDiscovery body.r190WorldViewOpen #memberFooter .memberFooterLegal,
html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter .memberFooterLegal{
  display:grid !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* Onglet gauche : garder uniquement les deux titres bleu et orange. */
html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomeIntro{
  display:none !important;
}

/* Sur desktop, les deux grands onglets sont côte à côte. */
@media (min-width:901px){
  /* Neutraliser le décalage historique du texte gauche. */
  html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy{
    top:0 !important;
  }

  /* Le verre gauche reprend exactement le top et la hauteur du bloc Trajectoire. */
  html.ethnosGuestDiscovery body.isEthnosHomeView .r432CommercialHomeTab{
    top:var(--r450-trajectory-top,0px) !important;
    height:var(--r450-trajectory-height,100%) !important;
  }
}

/* SOURCE css/ethnos-r454-home-tab-vertical-center.css SHA256 29490fc5078dfb7b49b5f2b0508b70936fbbd610dcf4d38604fa858eef250644 */
/* ETHNOS R454 — correction strictement ciblée.
   Accueil découverte : centrer verticalement les deux titres du grand onglet blanc gauche.
   Aucun changement de largeur, position, forme, couleurs, typographie ou contenu. */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy{
    box-sizing:border-box !important;
    height:var(--r450-trajectory-height, auto) !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
  }
}

/* SOURCE css/ethnos-r455-tchat-bars-stability.css SHA256 5f188f51eeec2a90d10e167cc78fded304cadb68f1ed642800f250a89b829a90 */
/* ========================================================================== */
/* ETHNOS R455 — correction ciblée des barres en état Tchat découverte.       */
/* Base figée : R454.                                                         */
/* Périmètre : fond Tchat, barre haute, footer légal.                         */
/* Aucune modification Maps, Tchat, dock, accueil ou géométrie des onglets.  */
/* ========================================================================== */

@media (min-width:901px){
  /* Cause prouvée : le fond découverte R445 est position:fixed avec inset:-12,
     dans le contexte .memberLayout. En état Tchat il déborde de la zone utile.
     Le remettre en absolute le borne au layout réel (déjà overflow:hidden),
     donc il ne peut plus recouvrir la barre haute ni le footer. */
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberLayout::before{
    position:absolute !important;
    inset:0 !important;
    width:auto !important;
    height:auto !important;
  }

  /* Restaurer strictement l'apparence active du footer (R109) en Tchat. */
  html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter{
    background:#03111b !important;
    border-top:1px solid var(--line) !important;
  }

  /* Cause prouvée du décentrage : R450 force display:grid et R453 retire les
     paddings. On rétablit les valeurs normales actives de R188/R109. */
  html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter .memberFooterLegal{
    display:block !important;
    padding-left:calc(var(--ethnos-search-width) + 16px) !important;
    padding-right:calc(var(--ethnos-context-width) + 12px) !important;
  }
  html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter .memberFooterLegal nav{
    width:100% !important;
    height:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    margin:0 auto !important;
  }
}

/* SOURCE css/ethnos-r668-tchat-compat.css SHA256 ac78afb8787b98e667eacbba092777be8583b6655b005ab8327fc65afc195e0b */
/* ETHNOS R668 — seules protections Tchat conservées après retrait R453/R456 Maps. */
@media (min-width:901px){
  html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter{z-index:77 !important;}
  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{bottom:var(--footer-legal,22px) !important;}
  html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter .memberFooterLegal{padding-left:0 !important;padding-right:0 !important;}
  html.ethnosGuestDiscovery body.isTchatDrawerOpen #memberFooter .memberFooterLegal nav{width:100% !important;margin-left:auto !important;margin-right:auto !important;justify-content:center !important;}
}

/* SOURCE css/ethnos-r457-discovery-responsive-matrix.css SHA256 717c666c7211d1ce13f2d7672223c09945e0ffd44d7bcf393402f4663252951b */
/* ========================================================================== */
/* ETHNOS R457 — MATRICE RESPONSIVE ACCUEIL DÉCOUVERTE + MAPS                */
/* Base figée : R456.                                                         */
/* Référence visuelle : 2560x1440 strictement inchangée.                     */
/* Formats contrôlés : 1280x720, 1366x768, 1536x864, 1707x1067,              */
/*                     1920x1080, 2560x1440.                                  */
/* Périmètre : géométrie responsive locale, aucun changement fonctionnel.    */
/* ========================================================================== */

/* -------------------------------------------------------------------------- */
/* 1) ACCUEIL — sous 2200px, remplacer les translations/scale historiques    */
/* par une grille locale bornée : bloc titre à gauche, Trajectoire à droite. */
/* -------------------------------------------------------------------------- */
@media (min-width:901px) and (max-width:2199px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomeHero{
    grid-template-columns:minmax(0,42fr) minmax(0,58fr) !important;
    column-gap:clamp(18px,1.5vw,28px) !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r432CommercialHomeTab{
    position:relative !important;
    grid-column:1 !important;
    grid-row:1 !important;
    left:calc(-1 * clamp(18px,1.45vw,28px)) !important;
    top:0 !important;
    width:calc(100% + clamp(18px,1.45vw,28px)) !important;
    height:var(--r450-trajectory-height,100%) !important;
    align-self:start !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy{
    grid-column:1 !important;
    grid-row:1 !important;
    width:auto !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    left:0 !important;
    right:auto !important;
    padding-left:clamp(14px,1.2vw,22px) !important;
    padding-right:clamp(10px,1vw,18px) !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomeHeroCopy h1,
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomePromise{
    font-size:clamp(24px,2.22vw,39px) !important;
    line-height:1.02 !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Trajectory{
    grid-column:2 !important;
    grid-row:1 !important;
    width:auto !important;
    max-width:none !important;
    margin-left:0 !important;
  }

  /* Les -105px / scale(1.5) validés à 2560 deviennent trop agressifs sur   */
  /* les viewports plus petits. Le flux naturel garde ici chaque rangée.    */
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180Pillars{
    transform:none !important;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{
    position:relative !important;
    top:0 !important;
    transform:none !important;
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  html.ethnosGuestDiscovery #memberWorldDock button{
    min-width:0 !important;
  }
}

/* Espaces verticaux mesurés pour préserver le dock sans collision. */
@media (min-width:1600px) and (max-width:2199px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180MainColumn{gap:48px !important;row-gap:48px !important;}
}
@media (min-width:1400px) and (max-width:1599px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180MainColumn{gap:44px !important;row-gap:44px !important;}
}
@media (min-width:1320px) and (max-width:1399px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180MainColumn{gap:32px !important;row-gap:32px !important;}
}
@media (min-width:901px) and (max-width:1319px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180MainColumn{gap:25px !important;row-gap:25px !important;}
  html.ethnosGuestDiscovery body.isEthnosHomeView .r183MetricRow{top:-14px !important;}
}

/* 1280/1366 : compacter uniquement les cibles internes de Trajectoire. */
@media (min-width:901px) and (max-width:1366px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li{
    padding:8px !important;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps .r180MilestoneTarget strong{
    font-size:10px !important;
    line-height:1 !important;
  }
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps .r180MilestoneTarget small{
    font-size:5px !important;
    line-height:1 !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 2) DOCK — conserver les 7 libellés sans rognage sur les petits laptops.   */
/* -------------------------------------------------------------------------- */
@media (min-width:1367px) and (max-width:1536px){
  html.ethnosGuestDiscovery #memberWorldDock button{
    font-size:clamp(9px,.65vw,10px) !important;
    padding-left:3px !important;
    padding-right:3px !important;
  }
  html.ethnosGuestDiscovery #memberWorldDock button i{margin-right:3px !important;}
}
@media (min-width:901px) and (max-width:1366px){
  html.ethnosGuestDiscovery #memberWorldDock button{
    font-size:8px !important;
    padding-left:2px !important;
    padding-right:2px !important;
  }
  html.ethnosGuestDiscovery #memberWorldDock button i{margin-right:2px !important;}
  html.ethnosGuestDiscovery #memberWorldDock button:nth-child(3) span,
  html.ethnosGuestDiscovery #memberWorldDock button:nth-child(4) span{
    max-width:82px !important;
    white-space:normal !important;
    line-height:1.05 !important;
    text-align:center !important;
  }
}

/* -------------------------------------------------------------------------- */
/* 3) MAPS — 1280x720 : compacter le volet Pouls pour éviter son scroll.     */
/* La géométrie de la carte R449/R456 reste strictement intacte.             */
/* -------------------------------------------------------------------------- */
@media (min-width:901px) and (max-height:740px){
  html.ethnosGuestDiscovery body.r190WorldViewOpen:not(.isTchatDrawerOpen) .r453MapPulsePanel{
    padding:9px 9px 8px !important;
  }
  .r453MapPulseHead{padding-bottom:6px !important;}
  .r453MapPulseHead h2{font-size:18px !important;margin:3px 0 1px !important;}
  .r453MapPulseHead p{display:none !important;}
  .r453MapPulseList{gap:3px !important;margin:5px 0 !important;}
  .r453MapPulseItem{
    grid-template-columns:21px minmax(0,1fr) auto !important;
    gap:5px !important;
    padding:3px 5px !important;
  }
  .r453MapPulseIcon{width:21px !important;height:21px !important;font-size:11px !important;}
  .r453MapPulseItem b{font-size:8px !important;}
  .r453MapPulseItem small,
  .r453MapPulseState{font-size:6.5px !important;}
  .r453MapCountries{padding-top:5px !important;}
  .r453MapCountriesHead{margin-bottom:4px !important;}
  .r453MapCountryChip{font-size:6.5px !important;padding:2px 4px !important;}
}

/* SOURCE css/ethnos-r458-discovery-two-fixes.css SHA256 8ce896f528fa94d09fe79c47ab5a6e4722d990dfc033b9c8e2b1d3b65237e0b6 */
/* ========================================================================== */
/* 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;
  }
}

/* SOURCE css/ethnos-r459-discovery-metric-spacing.css SHA256 3fab8ff2653b567d82de3f5d957106a62a1f050c209792b7b07f75ceed4c7b51 */
/* ========================================================================== */
/* ETHNOS R459 — ajustement ciblé trajectoire 1536 compact                    */
/* Base : R458 validée visuellement.                                          */
/* Objectif : récupérer l'espace inutile entre le séparateur vertical et      */
/* la cible, sans réduire davantage chiffre, "MEMBRES" ou texte descriptif.   */
/* ========================================================================== */

@media (min-width:1367px) and (max-width:1536px) and (max-height:820px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li{
    padding-left:4px !important;   /* R458 : 10px => R459 : 4px (-6px) */
    padding-right:10px !important; /* inchangé */
  }
}

/* SOURCE css/ethnos-r460-discovery-last-metric-width.css SHA256 31b6389444461511058d22055d25f381e62c2ae9272cd415bb75d5a3283ca49b */
/* ========================================================================== */
/* ETHNOS R460 — 1536 compact : largeur utile du dernier palier               */
/* Base : R459.                                                               */
/* Objectif : donner quelques pixels au palier 1 000 000 sans réduire         */
/* davantage les chiffres, "MEMBRES", la cible ou les textes descriptifs.    */
/* Correction structurelle : redistribution légère des 4 colonnes de la grille.*/
/* ========================================================================== */

@media (min-width:1367px) and (max-width:1536px) and (max-height:820px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps{
    grid-template-columns:0.98fr 0.98fr 0.99fr 1.05fr !important;
  }
}

/* SOURCE css/ethnos-r461-1536x864-metric-spacing.css SHA256 53bfbfe87c258a4ae580c2e262b38832c686196e9ecd1cd4e11925f83d139dea */
/* ========================================================================== */
/* ETHNOS R461 — 1536 x 864 : respiration du dernier palier                  */
/* Base : R460.                                                               */
/* Cause prouvée : R459/R460 étaient limités à max-height:820px et ne        */
/* pouvaient donc pas s'appliquer au viewport réel 1536x864.                 */
/* Périmètre : uniquement la géométrie horizontale des 4 paliers.            */
/* Aucun changement de taille de police, cible, texte descriptif ou contenu. */
/* ========================================================================== */

@media (width:1536px) and (height:864px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps{
    grid-template-columns:0.98fr 0.98fr 0.99fr 1.05fr !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li{
    padding-left:4px !important;
    padding-right:10px !important;
  }
}

/* SOURCE css/ethnos-r462-1366x768-home-spacing.css SHA256 84a9aac6b7e679968cba4fbedbaacbab2bd5e9e95ad7a1260d50ef6c174e94ae */
/* ========================================================================== */
/* ETHNOS R462 — 1366 x 768 : respiration accueil découverte                 */
/* Base : R461 validée.                                                       */
/* Périmètre strict : accueil découverte, viewport 1366x768 uniquement.       */
/* 1) Réduire légèrement le volet gauche et sa typographie pour créer         */
/*    davantage d'espace visuel avec Trajectoire.                             */
/* 2) Redonner de la largeur utile aux paliers 500 000 / 1 000 000 sans       */
/*    réduire davantage leurs chiffres ni le libellé MEMBRES.                 */
/* ========================================================================== */

@media (width:1366px) and (height:768px){
  /* ------------------------------------------------------------------------ */
  /* 1) VOLET GAUCHE : -24px visuels en largeur ; titres ~ -10 %.            */
  /* R457 : le fond allait jusqu'à la limite de sa colonne. Ici son bord      */
  /* droit s'arrête 24px plus tôt, ce qui crée une respiration supplémentaire */
  /* sans déplacer le bloc Trajectoire.                                       */
  /* ------------------------------------------------------------------------ */
  html.ethnosGuestDiscovery body.isEthnosHomeView .r432CommercialHomeTab{
    width:calc(100% + clamp(18px,1.45vw,28px) - 24px) !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r179HomeHero .r178HomeHeroCopy{
    width:calc(100% - 24px) !important;
    padding-right:12px !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomeHeroCopy h1,
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180HomePromise{
    font-size:27px !important;
    line-height:1.02 !important;
  }

  /* ------------------------------------------------------------------------ */
  /* 2) TRAJECTOIRE : réduire les pertes horizontales et favoriser les deux   */
  /* derniers paliers. Somme des fractions = 4 : largeur totale inchangée.    */
  /* ------------------------------------------------------------------------ */
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps{
    grid-template-columns:0.96fr 0.96fr 1.02fr 1.06fr !important;
    column-gap:8px !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li{
    padding-left:4px !important;
    padding-right:5px !important;
  }

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

/* SOURCE css/ethnos-r463-1366-target-compact.css SHA256 ce31a8dae839cecf7e964ef185e7ba5eabde14b4c2918170b828b2df3aa6ae5e */
/* ========================================================================== */
/* ETHNOS R463 — 1366 x 768 : cible métrique compacte                         */
/* Base : R462 validée.                                                       */
/* Périmètre strict : accueil découverte, viewport 1366x768 uniquement.       */
/* - Supprime le disque/halo visuel derrière les quatre cibles.               */
/* - Réduit uniquement l'emprise de leur conteneur de 30px à 18px afin de    */
/*   récupérer 12px utiles par ligne, notamment pour "1 000 000 MEMBRES".    */
/* - Aucun changement de taille des chiffres, du libellé MEMBRES ou des      */
/*   textes descriptifs.                                                      */
/* ========================================================================== */

@media (width:1366px) and (height:768px){
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps .r180MilestoneTarget i{
    width:18px !important;
    min-width:18px !important;
    height:18px !important;
    min-height:18px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    outline:0 !important;
    font-size:16px !important;
    line-height:18px !important;
  }
}

/* SOURCE css/ethnos-r464-1280-compact-and-target-cleanup.css SHA256 7274f1fe65ced0196881086a94d186b94b729747b25ee59d6bb98de1b50cf3cf */
/* ========================================================================== */
/* ETHNOS R464 — 1280x720 compact + nettoyage cible 1366                    */
/* Base : R463.                                                               */
/* Périmètre strict : accueil découverte uniquement.                         */
/* 1) 1280x720 : compacter les deux volets supérieurs sur l'axe vertical.    */
/* 2) 1280x720 : redonner de l'air à cible + chiffre + MEMBRES.              */
/* 3) 1280x720 : masquer le 2e avantage du palier 500 000 sur ce viewport.   */
/* 4) 1366x768 : supprimer définitivement le décor résiduel du 1er 🎯.       */
/* Aucun changement Maps, Tchat, backend ou autre résolution.                */
/* ========================================================================== */

@media (width:1280px) and (height:720px){
  /* Réduire la hauteur réelle de Trajectoire. Le verre gauche reprend cette
     hauteur via la synchronisation R450 déjà active : les deux volets restent
     donc parfaitement alignés sans modifier leur moteur de layout. */
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180TrajectoryEyebrow{
    padding:6px 12px 2px !important;
  }

  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180MembersLine{
    padding:2px 12px 6px !important;
  }

  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180TrajectoryHead{
    padding:7px 12px !important;
  }

  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180TrajectorySteps{
    grid-template-columns:.94fr .96fr 1.02fr 1.08fr !important;
    column-gap:0 !important;
    row-gap:0 !important;
    padding-top:0 !important;
  }

  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180TrajectorySteps > li{
    padding:5px 4px !important;
  }

  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView .r180MilestoneTarget{
    gap:4px !important;
    margin-bottom:4px !important;
    white-space:nowrap !important;
    overflow:visible !important;
  }

  /* Même principe que le correctif 1366, avec une emprise réellement compacte.
     Sélecteurs à spécificité suffisante pour neutraliser les anciennes règles
     R245 qui remettaient un halo sur le premier palier. */
  html.ethnosGuestDiscovery[data-ethnos-format-1280="1"][data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps .r180MilestoneTarget > i,
  html.ethnosGuestDiscovery[data-ethnos-r234-1280="1"][data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps .r180MilestoneTarget > i{
    flex:0 0 18px !important;
    width:18px !important;
    min-width:18px !important;
    height:18px !important;
    min-height:18px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    outline:0 !important;
    font-size:15px !important;
    line-height:18px !important;
  }

  html.ethnosGuestDiscovery[data-ethnos-format-1280="1"][data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps li.isNext .r180MilestoneTarget > i,
  html.ethnosGuestDiscovery[data-ethnos-r234-1280="1"][data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps li.isNext .r180MilestoneTarget > i{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    outline:0 !important;
  }

  /* Le palier 500 000 est le seul à posséder deux avantages dans le HTML.
     Sur 1280x720, masquer le second évite une ligne surnuméraire et réduit la
     hauteur du volet sans supprimer le contenu des autres résolutions. */
  html.ethnosGuestDiscovery body.isEthnosHomeView
  .r180TrajectorySteps > li:nth-child(3) .r180MilestoneReward:last-child{
    display:none !important;
  }

  /* Neutralisation défensive de tout marqueur de timeline ancien. */
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li::before,
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li::after{
    content:none !important;
    display:none !important;
  }
}

@media (width:1366px) and (height:768px){
  /* R245/R246 avaient un sélecteur plus spécifique que R463 sur le premier
     palier isNext. On reprend exactement cette cible, plus tard dans la cascade,
     afin d'éliminer le carré/halo résiduel sans toucher au 🎯 lui-même. */
  html.ethnosGuestDiscovery[data-ethnos-format-1366="1"][data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps li.isNext .r180MilestoneTarget > i,
  html.ethnosGuestDiscovery[data-ethnos-r234-1366="1"][data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps li.isNext .r180MilestoneTarget > i{
    background:transparent !important;
    box-shadow:none !important;
    border:0 !important;
    outline:0 !important;
  }

  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li::before,
  html.ethnosGuestDiscovery body.isEthnosHomeView .r180TrajectorySteps > li::after{
    content:none !important;
    display:none !important;
  }
}

/* SOURCE css/ethnos-r466-1280-target-spacing.css SHA256 bb7df3dbc42b0b46f9aed04f6f5b4158f42c6e781df075bdd3ce34a204096c76 */
/* ========================================================================== */
/* ETHNOS R466 — 1280x720 — respiration cible / chiffre                      */
/* Base : R465.                                                               */
/* Périmètre strict : accueil découverte, viewport 1280x720 uniquement.      */
/* But : éloigner visuellement le 🎯 du chiffre sans déplacer le chiffre,    */
/*       MEMBRES, les colonnes, les textes ou les autres résolutions.         */
/* Delta : icône seule décalée de 4px vers la gauche (0px -> -4px).          */
/* ========================================================================== */

@media (width:1280px) and (height:720px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps .r180MilestoneTarget > i{
    transform:translateX(-4px) !important;
  }
}

/* SOURCE css/ethnos-r467-1280-number-spacing.css SHA256 09f506180b540469a5e6947a5009263a82b604b9782baac1a9d9c954afaf00bd */
/* ========================================================================== */
/* ETHNOS R467 — 1280x720 — respiration cible / chiffre                      */
/* Base : R466 validée.                                                       */
/* Périmètre strict : accueil découverte, viewport 1280x720 uniquement.      */
/* But : augmenter légèrement l'espace entre le 🎯 et le chiffre sans        */
/*       modifier la cible, la taille des textes, les colonnes ou les autres */
/*       résolutions.                                                         */
/* Delta : +3px de marge avant le chiffre (0px -> 3px).                      */
/* ========================================================================== */

@media (width:1280px) and (height:720px){
  html.ethnosGuestDiscovery[data-ethnos-ui="discord-r111"] body.isEthnosHomeView
  .r180TrajectorySteps .r180MilestoneTarget > strong{
    margin-left:3px !important;
  }
}

/* SOURCE css/ethnos-r472-full-background-blur.css SHA256 6817b26ef845783908bdbcb0a5ef374e351dc89d8dacdf27a9076f6b63209456 */
/* ========================================================================== */
/* ETHNOS R472 — BUG 02 : flou du fond sur toute la largeur                  */
/* Base : R471. Périmètre strict : décor de fond connecté uniquement.        */
/* Cause prouvée : R470 tronquait le pseudo-fond à droite de la largeur du   */
/* rail contexte (--ethnos-context-width), laissant cette bande non floutée. */
/* Cette feuille restaure les bornes originales de R468 (Home) et R469       */
/* (Maps/Tchat), sans toucher aux composants, dimensions ni interactions.    */
/* ========================================================================== */

/* Accueil connecté : R468 utilisait inset:-12px. R470 avait remplacé le
   bord droit par calc(var(--ethnos-context-width) - 12px). */
html.ethnosConnectedDiscoveryHome .memberLayout::before{
  right:-12px !important;
}

/* Maps / Tchat connectés : R469 utilisait inset:0. R470 avait remplacé le
   bord droit par var(--ethnos-context-width). */
html.ethnosConnectedDiscoveryShell[data-ethnos-ui="discord-r111"] body.r190WorldViewOpen .memberLayout::before,
html.ethnosConnectedDiscoveryShell[data-ethnos-ui="discord-r111"] body.isTchatDrawerOpen .memberLayout::before,
html.ethnosConnectedDiscoveryShell[data-ethnos-ui="discord-r111"] body.isTchatDrawerClosing .memberLayout::before,
html.ethnosConnectedDiscoveryShell[data-ethnos-ui="discord-r111"] body.isTchatDrawerClosingActive .memberLayout::before{
  right:0 !important;
}

/* SOURCE css/ethnos-r473-profile-shadow-cleanup.css SHA256 ba4a807a2c72ce23d3b347fdf5d8bba6cbe2243ff9b97405562485552ffef3b8 */
/* ========================================================================== */
/* ETHNOS R473 — BUG 03 : faux « double onglet » sous le profil connecté     */
/* Base : R472. Périmètre strict : ombre 3D du profil compact uniquement.    */
/* Cause : R191 ajoute une marche opaque 4px sous le profil (7px au hover),   */
/* qui se lit comme un second onglet sur le nouveau fond flouté.              */
/* Conserve le léger relief interne + l'ombre diffuse, retire la marche dure. */
/* ========================================================================== */

html body .memberProfileCompact:not(.isExpanded){
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 22px rgba(0,0,0,.24) !important;
}

html body .memberProfileCompact:not(.isExpanded):hover,
html body .memberProfileCompact:not(.isExpanded):focus-visible{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.13),
    0 17px 30px rgba(0,0,0,.32) !important;
}

html body .memberProfileCompact:not(.isExpanded):active{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 7px 15px rgba(0,0,0,.26) !important;
}

/* SOURCE css/ethnos-r482-backoffice-entry.css SHA256 0577c2d38edc8dee8a273cb9064e02db78cd92244caccbe1e96b5ab7e3ef2fb8 */
.memberTopNavigation .ethnosBackofficeEntry{display:flex;text-decoration:none;color:inherit}.memberTopNavigation .ethnosBackofficeEntry svg{fill:none;stroke:currentColor;stroke-width:1.7}.memberTopNavigation .ethnosBackofficeEntry span{white-space:nowrap}

