/* ETHNOS R676 — finitions Solidarité, Entraide et Brutaliste Jeux.
   Couche géométrique uniquement : aucune donnée utilisateur/officielle n'est modifiée. */

/* SOLIDARITÉ — Pays / Ville / Thème strictement sur une seule ligne desktop. */
@media (min-width:901px){
  html body .bodyView-familyDiscovery--solidarity .r675SolidarityDiscoveryFilters{
    display:flex !important;
    flex-flow:row nowrap !important;
    align-items:flex-end !important;
    justify-content:flex-start !important;
    gap:14px !important;
    width:100% !important;
    max-width:none !important;
  }
  html body .bodyView-familyDiscovery--solidarity .r675SolidarityDiscoveryFilters > label{
    flex:0 1 286px !important;
    width:min(286px,31%) !important;
    min-width:190px !important;
  }
  html body .bodyView-familyDiscovery--solidarity .r675SolidarityDiscoveryFilters .realFlagSelect,
  html body .bodyView-familyDiscovery--solidarity .r675SolidarityDiscoveryFilters select{width:100% !important;min-width:0 !important;}
}
@media (max-width:900px){
  html body .bodyView-familyDiscovery--solidarity .r675SolidarityDiscoveryFilters{display:grid !important;grid-template-columns:1fr !important;width:100% !important;}
}

/* SOLIDARITÉ — cartes plus compactes, hauteur commune, réserve de 2 lignes pour le titre. */
@media (min-width:901px){
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r492UniverseStrip{align-items:stretch !important;}
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r492UniverseCard.r551UniverseCard{
    height:190px !important;min-height:190px !important;max-height:190px !important;
  }
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r551UniverseCardVisual{
    height:190px !important;min-height:190px !important;max-height:190px !important;
  }
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r551UniverseCardBody{
    min-height:0 !important;overflow:hidden !important;
  }
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r554UniverseNameLine{
    align-items:flex-start !important;min-height:40px !important;max-height:40px !important;overflow:hidden !important;
  }
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r551UniverseCardBody h3{
    display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important;
    white-space:normal !important;overflow:hidden !important;text-overflow:clip !important;
    line-height:1.08 !important;max-height:2.16em !important;min-height:2.16em !important;
  }
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r551UniverseCardBody .r492UniverseDescription{
    -webkit-line-clamp:1 !important;margin:4px 0 4px !important;
  }
  html body .bodyView-familyDiscovery--solidarity [data-r556-family-section="popular"] .r551UniverseCardBody footer{margin-top:auto !important;}
}

/* ENTRAIDE — champs fixes et action ~40 % moins larges. Le pseudo reste complet tant que possible. */
@media (min-width:901px){
  html body .bodyView-help.r562HelpHub .bodySolidarityCard > dl{width:60% !important;max-width:760px !important;}
  html body .bodyView-help.r562HelpHub .bodySolidarityCard > [data-r569-help-action]{width:60% !important;max-width:760px !important;}
  html body .bodyView-help.r562HelpHub .bodySolidarityCard .r569CommunityCreatorLink{
    width:auto !important;max-width:none !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;overflow-wrap:normal !important;
  }
}
@media (max-width:900px){
  html body .bodyView-help.r562HelpHub .bodySolidarityCard > dl,
  html body .bodyView-help.r562HelpHub .bodySolidarityCard > [data-r569-help-action]{width:100% !important;max-width:none !important;}
  html body .bodyView-help.r562HelpHub .bodySolidarityCard .r569CommunityCreatorLink{
    display:block !important;max-width:100% !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;
  }
}

/* ENTRAIDE R677 — la carte elle-même suit maintenant la réduction de largeur. */
@media (min-width:901px){
  html body .bodyView-help.r562HelpHub .bodySolidarityCard{
    width:60% !important;max-width:920px !important;min-width:0 !important;margin-right:auto !important;
  }
}
@media (max-width:900px){html body .bodyView-help.r562HelpHub .bodySolidarityCard{width:100% !important;max-width:none !important;}}

/* JEUX R679 — composition calée sur la maquette validée : bandeau compact, jeux dans le bandeau amis,
   typographies Solidarité (Fraunces / Manrope), quatre jeux réellement jouables. */
html body.ethnosGamesOpenR681 .memberLayout{
  grid-template-columns:minmax(0,1fr) !important;grid-template-rows:minmax(0,1fr) !important;
  gap:0 !important;padding:0 !important;overflow:hidden !important;background:#061822 !important;
}
html body.ethnosGamesOpenR681[data-ethnos-games-active="1"] .memberLayout > .memberSidePanel{display:none !important;visibility:hidden !important;pointer-events:none !important;}
html body.ethnosGamesOpenR681[data-ethnos-games-active="1"] .memberRightRail{display:block !important;visibility:visible !important;opacity:1 !important;pointer-events:none !important;overflow:visible !important;}
html body.ethnosGamesOpenR681[data-ethnos-games-active="1"] .memberRightRail > .memberProfileCompact,
html body.ethnosGamesOpenR681[data-ethnos-games-active="1"] .memberRightRail > .memberMapCard{display:flex !important;visibility:visible !important;opacity:1 !important;pointer-events:auto !important;z-index:1220 !important;}
html body.ethnosGamesOpenR681 .memberWorkspace{
  grid-column:1/-1 !important;grid-row:1/-1 !important;width:100% !important;height:100% !important;min-width:0 !important;min-height:0 !important;
  margin:0 !important;border:0 !important;border-radius:0 !important;background:#061822 !important;box-shadow:none !important;overflow:hidden !important;
}
html body.ethnosGamesOpenR681 .memberWorkspace::after{display:none !important;}
html body .memberWorkspace.ethnosGamesWorkspaceOpenR679{position:relative !important;overflow:hidden !important;background:#061822 !important;}

html body .ethnosGamesR679{
  --games-r679-head-h:clamp(114px,12vh,142px);
  position:absolute !important;inset:0 !important;z-index:180 !important;width:100% !important;height:100% !important;min-width:0 !important;min-height:0 !important;
  overflow:auto !important;overscroll-behavior:contain !important;background:#061822 !important;color:#f8fbff !important;padding:0 !important;
  font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;box-sizing:border-box !important;
}
html body .ethnosGamesR679 *{box-sizing:border-box !important;}
html body .ethnosGamesR679 button{font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;}

/* Bandeau principal : réduit, typographie et couleurs du hub Solidarité. */
html body .ethnosGamesTopBandR679{
  position:relative !important;z-index:30 !important;height:var(--games-r679-head-h) !important;min-height:0 !important;
  padding:clamp(10px,.85vw,14px) calc(var(--ethnos-context-width,280px) + clamp(26px,2vw,40px)) clamp(9px,.72vw,12px) clamp(24px,3.2vw,54px) !important;background:#061822 !important;
  border-bottom:1px solid rgba(149,205,218,.12) !important;overflow:hidden !important;
}
html body .ethnosGamesTopLineR679{display:grid !important;grid-template-columns:minmax(0,1fr) auto auto !important;align-items:start !important;gap:clamp(18px,2vw,34px) !important;min-width:0 !important;}
html body .ethnosGamesTitleBoxR679{min-width:0 !important;max-width:1180px !important;}
html body .ethnosGamesKickerR679{margin:0 0 5px !important;color:#a9bdc8 !important;font-size:clamp(10px,.66vw,13px) !important;font-weight:800 !important;letter-spacing:.16em !important;text-transform:uppercase !important;}
html body .ethnosGamesTitleR679{margin:0 !important;color:#fff9ef !important;font-family:var(--font-title,"Fraunces",Georgia,serif) !important;font-size:clamp(34px,3vw,58px) !important;font-weight:400 !important;line-height:1 !important;letter-spacing:-.035em !important;}
html body .ethnosGamesIntroR679{max-width:1180px !important;margin:5px 0 0 !important;color:#b9c9cd !important;font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;font-size:clamp(12px,.86vw,16px) !important;font-weight:500 !important;line-height:1.5 !important;}
html body .ethnosGamesUtilityR679{display:flex !important;gap:8px !important;align-items:center !important;justify-content:center !important;margin-top:2px !important;}
html body .ethnosGamesUtilityR679 button{height:38px !important;border:1px solid rgba(255,255,255,.22) !important;border-radius:999px !important;background:rgba(255,255,255,.07) !important;color:#f8fbff !important;padding:0 15px !important;font-weight:800 !important;cursor:pointer !important;white-space:nowrap !important;}
html body .ethnosGamesUtilityR679 button:hover,html body .ethnosGamesUtilityR679 button.isActive{background:#f7f4ec !important;color:#08213a !important;border-color:#f7f4ec !important;}
html body .ethnosGamesBadgesR679{display:flex !important;justify-content:flex-end !important;align-items:flex-start !important;gap:7px !important;margin-left:auto !important;}
html body .ethnosGamesBadgesR679 img{width:clamp(40px,3.1vw,58px) !important;height:clamp(40px,3.1vw,58px) !important;object-fit:contain !important;filter:drop-shadow(0 7px 10px rgba(0,0,0,.2)) !important;}

/* Volets Mes parties / Classements : descendent du bandeau principal. */
html body .ethnosGamesDrawerLayerR679{position:absolute !important;z-index:24 !important;top:var(--games-r679-head-h) !important;left:0 !important;right:0 !important;pointer-events:none !important;}
html body .ethnosGamesDrawerR679{position:absolute !important;top:0 !important;left:0 !important;right:0 !important;max-height:clamp(360px,58vh,680px) !important;overflow:auto !important;padding:22px clamp(24px,3.2vw,54px) 28px !important;background:linear-gradient(180deg,#0b2634 0%,#071e2a 100%) !important;border-bottom:1px solid rgba(255,255,255,.15) !important;box-shadow:0 22px 45px rgba(0,0,0,.35) !important;transform:translateY(-104%) !important;opacity:0 !important;transition:transform .27s cubic-bezier(.22,.72,.25,1),opacity .2s ease !important;pointer-events:none !important;}
html body .ethnosGamesDrawerR679.isOpen{transform:translateY(0) !important;opacity:1 !important;pointer-events:auto !important;}
html body .ethnosGamesDrawerHeadR677{display:flex !important;align-items:flex-start !important;justify-content:space-between !important;gap:20px !important;margin-bottom:18px !important;}
html body .ethnosGamesDrawerHeadR677 h2{margin:0 !important;color:#fff9ef !important;font-family:var(--font-title,"Fraunces",Georgia,serif) !important;font-size:clamp(25px,2vw,38px) !important;font-weight:400 !important;}
html body .ethnosGamesDrawerHeadR677 p{margin:5px 0 0 !important;color:#a9bdc8 !important;}
html body .ethnosGamesDrawerCloseR677{border:1px solid rgba(255,255,255,.2) !important;border-radius:10px !important;background:rgba(255,255,255,.07) !important;color:#fff !important;padding:9px 13px !important;font-weight:800 !important;cursor:pointer !important;}
html body .ethnosGamesStatusR679{position:relative !important;z-index:10 !important;margin:0 !important;border-radius:0 !important;padding:10px clamp(24px,3.2vw,54px) !important;}

/* Bandeau amis = la maquette de référence : image à gauche, texte + 4 jeux à droite en 2x2. */
html body .ethnosGamesVisualBandR679{display:grid !important;grid-template-columns:minmax(300px,36%) minmax(0,1fr) !important;width:100% !important;}
html body .ethnosGamesVisualBandR679.isFriends{height:clamp(286px,31vh,340px) !important;min-height:286px !important;background:#0a202b !important;}
html body .ethnosGamesVisualBandR679.isGameOver{min-height:210px !important;background:#061822 !important;border-top:1px solid rgba(149,205,218,.08) !important;}
html body .ethnosGamesBandImageR679{margin:0 !important;min-height:0 !important;overflow:hidden !important;}
html body .ethnosGamesBandImageR679 img{display:block !important;width:100% !important;height:100% !important;min-height:100% !important;object-fit:cover !important;}
html body .ethnosGamesFriendsContentR679{min-width:0 !important;display:grid !important;grid-template-rows:auto minmax(0,1fr) !important;align-content:center !important;gap:12px !important;padding:clamp(18px,2.25vw,38px) !important;}
html body .ethnosGamesBandCopyR679{display:flex !important;flex-direction:column !important;justify-content:center !important;align-items:flex-start !important;min-width:0 !important;}
html body .ethnosGamesVisualBandR679.isGameOver .ethnosGamesBandCopyR679{padding:clamp(24px,3vw,52px) !important;}
html body .ethnosGamesBandCopyR679>span{color:#5ee8e3 !important;font-size:9px !important;font-weight:900 !important;letter-spacing:.12em !important;}
html body .ethnosGamesBandCopyR679 h2{margin:6px 0 6px !important;color:#fff9ef !important;font-family:var(--font-title,"Fraunces",Georgia,serif) !important;font-size:clamp(25px,2.1vw,40px) !important;font-weight:400 !important;line-height:1.05 !important;}
html body .ethnosGamesBandCopyR679 p{max-width:780px !important;margin:0 !important;color:#a9bdc8 !important;font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;font-size:clamp(11px,.78vw,15px) !important;line-height:1.48 !important;}
html body .ethnosGamesGameGridR679{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-template-rows:repeat(2,minmax(0,1fr)) !important;gap:10px !important;min-height:0 !important;}
html body .ethnosGameActionCardR679{position:relative !important;min-width:0 !important;min-height:70px !important;border:1px solid rgba(255,255,255,.15) !important;border-radius:13px !important;background:linear-gradient(135deg,#0d3443,#0a2634) !important;overflow:hidden !important;box-shadow:0 8px 18px rgba(0,0,0,.13) !important;transition:transform .16s ease,border-color .16s ease !important;}
html body .ethnosGameActionCardR679:hover{border-color:rgba(240,139,80,.58) !important;transform:translateY(-1px) !important;}
html body .ethnosGameActionMainR679{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;border:0 !important;background:transparent !important;color:#fff9ef !important;text-align:left !important;padding:9px 58px 9px 11px !important;display:flex !important;align-items:center !important;gap:10px !important;cursor:pointer !important;}
html body .ethnosGameVisualR677{flex:0 0 44px !important;width:44px !important;height:44px !important;border-radius:10px !important;background:#f7f4ec !important;color:#08263e !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:2px !important;font-size:25px !important;font-weight:900 !important;line-height:1 !important;overflow:hidden !important;}
html body .ethnosGameVisualR677.is-tic_tac_toe i{font-style:normal !important;font-size:16px !important;}
html body .ethnosGameVisualR677.is-connect_four{display:grid !important;grid-template-columns:repeat(2,9px) !important;grid-template-rows:repeat(2,9px) !important;place-content:center !important;place-items:center !important;gap:4px !important;padding:0 !important;background:#0b5c8a !important;}
html body .ethnosGameVisualR677.is-connect_four i{display:block !important;width:9px !important;height:9px !important;margin:0 !important;border-radius:50% !important;background:#f0b943 !important;}
html body .ethnosGameVisualR677.is-connect_four i:nth-child(even){background:#dc5f55 !important;}
html body .ethnosGameActionCopyR679{min-width:0 !important;display:block !important;}
html body .ethnosGameActionCopyR679 strong{display:block !important;font-family:var(--font-title,"Fraunces",Georgia,serif) !important;font-size:clamp(16px,1vw,20px) !important;font-weight:500 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
html body .ethnosGameActionCopyR679 small{display:block !important;margin-top:2px !important;color:#9fb5bd !important;font-size:9px !important;font-weight:700 !important;}

/* Plateaux Échecs et Dames. */
html body .ethnosGamesBoardShellR679{grid-template-columns:minmax(300px,620px) minmax(210px,1fr) !important;}
html body .ethnosGamesBoardAreaR679{width:100% !important;}
html body .ethnosChessBoardR679{display:grid !important;grid-template-columns:repeat(8,1fr) !important;aspect-ratio:1 !important;width:min(100%,590px) !important;margin:auto !important;border:2px solid #573c29 !important;background:#ead9bd !important;box-shadow:0 8px 22px rgba(0,0,0,.18) !important;}
html body .ethnosChessCellR679{position:relative !important;display:grid !important;place-items:center !important;aspect-ratio:1 !important;border:0 !important;border-radius:0 !important;padding:0 !important;font-family:"Segoe UI Symbol","Noto Sans Symbols 2",serif !important;font-size:clamp(28px,4.4vw,58px) !important;line-height:1 !important;cursor:pointer !important;}
html body .ethnosChessCellR679.isLight{background:#ead9bd !important;}html body .ethnosChessCellR679.isDark{background:#8d684b !important;}
html body .ethnosChessCellR679.isSelected{outline:4px solid #f58a4b !important;outline-offset:-4px !important;z-index:2 !important;}
html body .ethnosChessCellR679:disabled{cursor:default !important;opacity:1 !important;}
html body .ethnosCheckersBoardR679{display:grid !important;grid-template-columns:repeat(10,1fr) !important;aspect-ratio:1 !important;width:min(100%,590px) !important;margin:auto !important;border:2px solid #4b3424 !important;background:#ead9bd !important;box-shadow:0 8px 22px rgba(0,0,0,.18) !important;}
html body .ethnosCheckersCellR679{display:grid !important;place-items:center !important;aspect-ratio:1 !important;border:0 !important;border-radius:0 !important;padding:0 !important;cursor:pointer !important;}
html body .ethnosCheckersCellR679.isLight{background:#ead9bd !important;}html body .ethnosCheckersCellR679.isDark{background:#79573f !important;}
html body .ethnosCheckersCellR679.isSelected{box-shadow:inset 0 0 0 4px #f58a4b !important;}
html body .ethnosCheckersCellR679:disabled{cursor:default !important;opacity:1 !important;}
html body .ethnosCheckersPieceR679{display:grid !important;place-items:center !important;width:76% !important;height:76% !important;border-radius:50% !important;box-shadow:inset 0 3px 0 rgba(255,255,255,.3),0 3px 7px rgba(0,0,0,.35) !important;font-size:clamp(15px,2vw,28px) !important;font-family:Georgia,serif !important;}
html body .ethnosCheckersPieceR679.isP1,html body .ethnosCheckersPieceR679.isP3{background:#f2eee5 !important;color:#775127 !important;border:2px solid #c9b890 !important;}
html body .ethnosCheckersPieceR679.isP2,html body .ethnosCheckersPieceR679.isP4{background:#263949 !important;color:#f5d9a4 !important;border:2px solid #0b1e2d !important;}

@media(max-width:1050px){
  html body .ethnosGamesR679{--games-r679-head-h:auto;}
  html body .ethnosGamesTopBandR679{height:auto !important;min-height:0 !important;}
  html body .ethnosGamesTopLineR679{grid-template-columns:minmax(0,1fr) auto !important;}
  html body .ethnosGamesUtilityR679{grid-column:1/-1 !important;justify-content:flex-start !important;order:3 !important;}
  html body .ethnosGamesDrawerLayerR679{position:relative !important;top:auto !important;}
  html body .ethnosGamesDrawerR679{position:relative !important;display:none !important;transform:none !important;opacity:1 !important;max-height:none !important;}
  html body .ethnosGamesDrawerR679.isOpen{display:block !important;}
  html body .ethnosGamesVisualBandR679{grid-template-columns:1fr !important;height:auto !important;}
  html body .ethnosGamesBandImageR679{height:230px !important;}
  html body .ethnosGamesFriendsContentR679{padding:22px !important;}
}
@media(max-width:700px){
  html body .ethnosGamesTopLineR679{grid-template-columns:1fr !important;gap:10px !important;}
  html body .ethnosGamesBadgesR679{position:absolute !important;right:16px !important;top:14px !important;}
  html body .ethnosGamesBadgesR679 img{width:34px !important;height:34px !important;}
  html body .ethnosGamesTitleBoxR679{padding-right:118px !important;}
  html body .ethnosGamesGameGridR679{grid-template-columns:1fr !important;grid-template-rows:none !important;}
  html body .ethnosGamesVisualBandR679.isFriends{min-height:0 !important;}
  html body .ethnosGamesBandImageR679{height:190px !important;}
  html body .ethnosGamesBoardShellR679{grid-template-columns:1fr !important;}
}


/* ========================================================================== */
/* R679 — corrections finales demandées : typo exacte Solidarité, Entraide   */
/* centrée, dock 8/9 accès sans disparition Maps, classements fiables, arcade */
/* solo à score.                                                              */
/* ========================================================================== */

/* R717 Entraide : la carte réduite est calée à gauche et son contenu utilise sa largeur. */
@media (min-width:901px){
  html body .bodyView-help.r562HelpHub .bodySolidarityCard{
    width:60% !important;max-width:920px !important;margin-left:0 !important;margin-right:auto !important;
  }
  html body .bodyView-help.r562HelpHub .bodySolidarityCard > dl,
  html body .bodyView-help.r562HelpHub .bodySolidarityCard > [data-r569-help-action]{
    width:100% !important;max-width:none !important;
  }
}

/* Dock principal : Jouer ajoute un 9e accès éventuel, donc plus de grille 8   */
/* colonnes. Tous les boutons présents partagent la largeur et restent sur une */
/* seule ligne. Maps/Monde reste visible en environnement connecté.            */
html body #memberWorldDock{
  display:flex !important;flex-flow:row nowrap !important;align-items:stretch !important;overflow:hidden !important;
  grid-template-columns:none !important;
}
html body #memberWorldDock > button{
  flex:1 1 0 !important;width:0 !important;min-width:0 !important;max-width:none !important;
  padding-left:clamp(2px,.32vw,6px) !important;padding-right:clamp(2px,.32vw,6px) !important;
}
html body #memberWorldDock > button span{
  display:block !important;min-width:0 !important;white-space:normal !important;overflow:hidden !important;
  text-overflow:clip !important;text-align:center !important;line-height:1.05 !important;
}
html.ethnosConnectedDiscoveryShell body #memberWorldDock [data-body-view="world"],
html.ethnosConnectedDiscoveryHome body #memberWorldDock [data-body-view="world"]{display:flex !important;}
@media (max-width:1707px){html body #memberWorldDock > button,html body #memberWorldDock > button span{font-size:clamp(8px,.62vw,10px) !important;}}
@media (max-width:1366px){html body #memberWorldDock > button,html body #memberWorldDock > button span{font-size:8px !important;letter-spacing:-.02em !important;}}

/* Jeux : dimensions EXACTES du bandeau Solidarité selon les formats cibles. */
html body .ethnosGamesR679{--games-r679-head-h:clamp(112px,8.8vw,158px) !important;}
html[data-ethnos-format-1920="1"] body .ethnosGamesR679{--games-r679-head-h:126px !important;}
html:is([data-ethnos-format-1536="1"],[data-ethnos-format-1707="1"]) body .ethnosGamesR679{--games-r679-head-h:124px !important;}
html:is([data-ethnos-format-1280="1"],[data-ethnos-format-1366="1"]) body .ethnosGamesR679{--games-r679-head-h:112px !important;}
@media (min-width:1850px) and (max-width:2000px){html body .ethnosGamesR679{--games-r679-head-h:126px !important;}}
@media (min-width:1500px) and (max-width:1750px){html body .ethnosGamesR679{--games-r679-head-h:124px !important;}}
@media (min-width:1240px) and (max-width:1400px){html body .ethnosGamesR679{--games-r679-head-h:112px !important;}}

/* Typographie : copie des règles du hero Solidarité, pas une approximation. */
html body .ethnosGamesKickerR679{
  color:#33d0cf !important;font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;
  font-size:clamp(10px,.66vw,13px) !important;font-weight:800 !important;letter-spacing:.16em !important;text-transform:uppercase !important;
}
html body .ethnosGamesTitleR679{
  margin:8px 0 7px !important;color:#fff9ef !important;font-family:var(--font-title,"Fraunces",Georgia,serif) !important;
  font-size:clamp(28px,2vw,43px) !important;font-weight:400 !important;line-height:1 !important;letter-spacing:-.025em !important;
}
html body .ethnosGamesIntroR679{
  max-width:760px !important;margin:0 !important;color:#d8e3e2 !important;font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;
  font-size:clamp(12px,.82vw,15px) !important;font-weight:500 !important;line-height:1.55 !important;
}
html body .ethnosGamesBandCopyR679 > span{font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;}
html body .ethnosGamesBandCopyR679 h2{
  color:#fff9ef !important;font-family:var(--font-title,"Fraunces",Georgia,serif) !important;font-weight:400 !important;
  font-size:clamp(28px,2vw,43px) !important;line-height:1 !important;letter-spacing:-.025em !important;
}
html body .ethnosGamesBandCopyR679 p,
html body .ethnosGameActionCopyR679 small,
html body .ethnosSoloGameCardR679 small{font-family:var(--font-interface,"Manrope","Segoe UI",Arial,sans-serif) !important;}
html body .ethnosGameActionCopyR679 strong,
html body .ethnosSoloGameCardR679 strong{font-family:var(--font-title,"Fraunces",Georgia,serif) !important;font-weight:400 !important;}

/* Puissance 4 : pictogramme géométriquement centré. */
html body .ethnosGameVisualR677.is-connect_four{
  display:grid !important;grid-template-columns:repeat(2,8px) !important;grid-template-rows:repeat(2,8px) !important;
  place-content:center !important;place-items:center !important;gap:3px !important;padding:0 !important;
}
html body .ethnosGameVisualR677.is-connect_four i{width:8px !important;height:8px !important;margin:0 !important;border-radius:50% !important;}

/* Classements : select avec la flèche Ethnos standard et boutons d'état. */
html body .ethnosGamesLeaderboardToolsR679 .ethnosStandardSelectR679{
  appearance:none !important;-webkit-appearance:none !important;min-width:235px !important;padding:0 44px 0 16px !important;
  background-color:#f7f4ec !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25 6 6.25 11 1.25' fill='none' stroke='%23071a39' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;background-position:right 16px center !important;background-size:12px 8px !important;
}
html body .ethnosGamesLeaderboardToolsR679 button.isActive{background:#ff8b43 !important;color:#071a39 !important;border-color:#ff8b43 !important;}

/* GAME OVER : 6 jeux solo à score dans le second bandeau. */
html body .ethnosGamesVisualBandR679.isGameOver{min-height:clamp(360px,44vh,520px) !important;background:#061822 !important;}
html body .ethnosGamesSoloContentR679{display:flex !important;flex-direction:column !important;justify-content:center !important;min-width:0 !important;padding:clamp(24px,3vw,54px) !important;}
html body .ethnosSoloGameGridR679{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:10px !important;margin-top:18px !important;}
html body .ethnosSoloGameCardR679{
  min-height:78px !important;display:flex !important;align-items:center !important;gap:12px !important;text-align:left !important;
  border:1px solid rgba(149,205,218,.18) !important;border-radius:14px !important;background:#0b2b3a !important;color:#f8fbff !important;padding:12px !important;cursor:pointer !important;
}
html body .ethnosSoloGameCardR679:hover{transform:translateY(-2px) !important;border-color:rgba(51,208,207,.55) !important;}
html body .ethnosSoloGameCardR679 i{width:46px !important;height:46px !important;display:grid !important;place-items:center !important;flex:0 0 46px !important;border-radius:11px !important;background:#f7f4ec !important;color:#071a39 !important;font-style:normal !important;font-weight:900 !important;font-size:16px !important;}
html body .ethnosSoloGameCardR679 strong{display:block !important;font-size:18px !important;color:#fff9ef !important;}
html body .ethnosSoloGameCardR679 small{display:block !important;margin-top:3px !important;color:#9fb5bd !important;font-size:10px !important;}

/* Arcade solo modal/canvas. */
.ethnosSoloOverlayR679{position:fixed;inset:0;z-index:12050;display:grid;place-items:center;padding:20px;background:rgba(1,12,19,.78);}
.ethnosSoloCardR679{width:min(980px,96vw);max-height:94vh;overflow:auto;border:1px solid rgba(149,205,218,.2);border-radius:18px;background:#071f2c;color:#f8fbff;box-shadow:0 30px 90px rgba(0,0,0,.45);font-family:var(--font-interface,"Manrope",Arial,sans-serif);}
.ethnosSoloCardR679 header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:18px;padding:18px 20px;border-bottom:1px solid rgba(149,205,218,.15);}
.ethnosSoloCardR679 header span{color:#33d0cf;font-size:10px;font-weight:800;letter-spacing:.14em;}
.ethnosSoloCardR679 header h2{margin:5px 0;color:#fff9ef;font-family:var(--font-title,"Fraunces",Georgia,serif);font-size:32px;font-weight:400;}
.ethnosSoloCardR679 header p{margin:0;color:#a9bec5;font-size:12px;}
.ethnosSoloCardR679 header>button{border:1px solid rgba(255,255,255,.2);border-radius:10px;background:#102f3e;color:#fff;padding:9px 12px;font-weight:800;cursor:pointer;}
.ethnosSoloScoreR679{text-align:right}.ethnosSoloScoreR679 small{display:block;color:#91a8af;font-size:9px}.ethnosSoloScoreR679 strong{display:block;color:#ff8b43;font-size:28px;}
.ethnosSoloStageR679{display:grid;place-items:center;padding:14px;background:#04151e;}.ethnosSoloStageR679 canvas{display:block;width:min(100%,720px);height:auto;aspect-ratio:3/2;border-radius:10px;background:#061822;touch-action:none;}
.ethnosSoloCardR679 footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:13px 18px 17px}.ethnosSoloCardR679 footer p{flex:1 1 240px;margin:0;color:#acc2c8;font-size:11px}.ethnosSoloCardR679 footer p.isError{color:#ffb2b2}.ethnosSoloControlsR679{display:flex;gap:6px;flex-wrap:wrap}.ethnosSoloControlsR679 button,.ethnosSoloStartR679{min-width:42px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#123546;color:#fff;padding:0 11px;font-weight:900;cursor:pointer}.ethnosSoloStartR679{background:#ff8b43;color:#071a39;border-color:#ff8b43;min-width:100px;}

@media (max-width:900px){
  html body .ethnosSoloGameGridR679{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .ethnosSoloCardR679 header{grid-template-columns:1fr auto}.ethnosSoloScoreR679{grid-row:2;grid-column:1;text-align:left}
}
@media (max-width:620px){html body .ethnosSoloGameGridR679{grid-template-columns:1fr !important;}.ethnosSoloOverlayR679{padding:8px}.ethnosSoloCardR679 header{padding:14px}.ethnosSoloCardR679 header h2{font-size:26px}}

/* ========================================================================== */
/* ETHNOS R680 — CORRECTION CANONIQUE TYPO JEUX + DOCK RESPONSIVE CONNECTÉ   */
/*                                                                            */
/* Cause prouvée R679 :                                                       */
/* 1) Jeux utilisait explicitement --font-title/Fraunces alors que le bandeau */
/*    de référence demandé par l'utilisateur est la typo officielle sans-serif*/
/*    de l'interface (Inter).                                                 */
/* 2) Le dock connecté porte AUSSI la classe ethnosGuestDiscovery. Les règles */
/*    R525/R675, plus spécifiques, continuaient donc d'imposer une grille 7   */
/*    colonnes et de masquer [data-body-view="world"]. R679 ciblait des       */
/*    classes ConnectedDiscovery retirées par R668 : son correctif ne pouvait */
/*    donc pas gagner la cascade.                                             */
/* ========================================================================== */

/* JEUX — typo officielle sans-serif, comme le bandeau principal Solidarité. */
html body .ethnosGamesR679,
html body .ethnosGamesR679 button,
html body .ethnosGamesKickerR679,
html body .ethnosGamesTitleR679,
html body .ethnosGamesIntroR679,
html body .ethnosGamesBandCopyR679,
html body .ethnosGamesBandCopyR679 > span,
html body .ethnosGamesBandCopyR679 h2,
html body .ethnosGamesBandCopyR679 p,
html body .ethnosGameActionCopyR679 strong,
html body .ethnosGameActionCopyR679 small,
html body .ethnosSoloGameCardR679 strong,
html body .ethnosSoloGameCardR679 small,
html body .ethnosGamesDrawerR679,
html body .ethnosGamesDrawerR679 :is(h1,h2,h3,h4,p,span,small,strong,b,label,button,select,option),
.ethnosSoloCardR679,
.ethnosSoloCardR679 :is(h1,h2,h3,h4,p,span,small,strong,b,label,button,select,option){
  font-family:var(--ethnos-official-title,"Inter","Segoe UI",Arial,sans-serif) !important;
}
html body .ethnosGamesTitleR679{
  font-size:clamp(29px,2vw,43px) !important;
  font-weight:800 !important;
  line-height:.98 !important;
  letter-spacing:-.045em !important;
}
html body .ethnosGamesIntroR679{
  font-weight:500 !important;
  letter-spacing:-.012em !important;
}
html body .ethnosGamesBandCopyR679 h2{
  font-weight:800 !important;
  letter-spacing:-.04em !important;
}
html body .ethnosGameActionCopyR679 strong,
html body .ethnosSoloGameCardR679 strong{font-weight:800 !important;letter-spacing:-.025em !important;}
.ethnosSoloCardR679 header h2{font-weight:800 !important;letter-spacing:-.035em !important;}

/* DOCK CONNECTÉ — 8 accès visibles : Accueil, Univers, Solidarité, Entraide, */
/* Cultures, Jouer, Événements, Ethnos V1. Monde reste porté par l'onglet     */
/* Maps séparé, comme avant Jouer.                                            */
@media (min-width:901px){
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock{
    display:grid !important;
    grid-template-columns:repeat(8,minmax(0,1fr)) !important;
    grid-template-rows:1fr !important;
    grid-auto-flow:column !important;
    grid-auto-columns:minmax(0,1fr) !important;
    flex-flow:unset !important;
    align-items:stretch !important;
    gap:0 !important;
    height:var(--r110-dock-height,54px) !important;
    min-height:var(--r110-dock-height,54px) !important;
    max-height:var(--r110-dock-height,54px) !important;
    overflow:hidden !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock [data-body-view="world"]{
    display:none !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button{
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:calc(var(--r110-dock-height,54px) - 10px) !important;
    min-height:calc(var(--r110-dock-height,54px) - 10px) !important;
    padding-inline:clamp(2px,.4vw,7px) !important;
    overflow:hidden !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button span{
    min-width:0 !important;
    display:block !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    line-height:1 !important;
    text-align:center !important;
  }

  /* Maps est l'onglet latéral canonique ; il ne doit pas disparaître quand   */
  /* Jouer est simplement présent dans le dock. Il reste masqué uniquement    */
  /* pendant que la page Jeux possède le workspace.                           */
  html.ethnosGuestDiscovery.ethnosConnectedUnified body:not(.ethnosGamesOpenR679) .memberRightRail .memberMapCard.r183MapCard,
  html.ethnosGuestDiscovery.ethnosConnectedUnified body:not(.ethnosGamesOpenR679) .memberRightRail .memberMapCard.r193MapTitleOnly{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }
}

/* Matrice responsive verrouillée sur les six formats produit. */
html[data-ethnos-format-2560="1"].ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button,
html[data-ethnos-format-1920="1"].ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button{font-size:clamp(10px,.62vw,12px) !important;}
html[data-ethnos-format-1707="1"].ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button{font-size:10px !important;}
html[data-ethnos-format-1536="1"].ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button{font-size:9.4px !important;}
html[data-ethnos-format-1366="1"].ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button{font-size:8.6px !important;padding-inline:2px !important;}
html[data-ethnos-format-1280="1"].ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button{font-size:8px !important;padding-inline:1px !important;}

@media (min-width:901px) and (max-width:1400px){
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button i{display:none !important;}
}


/* ========================================================================== */
/* ETHNOS R681 — FINALISATION JEUX + RESTAURATION PROFIL/MAPS + RESPONSIVE    */
/* ========================================================================== */

/* Hors page Jeux, les deux accès latéraux historiques restent toujours       */
/* disponibles. R681 verrouille cette invariant sur tous les grands formats.  */
@media (min-width:901px){
  html.ethnosGuestDiscovery.ethnosConnectedUnified body:not(.ethnosGamesOpenR681) .memberRightRail{
    display:block !important;visibility:visible !important;opacity:1 !important;pointer-events:none !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body:not(.ethnosGamesOpenR681) .memberRightRail > .memberProfileCompact,
  html.ethnosGuestDiscovery.ethnosConnectedUnified body:not(.ethnosGamesOpenR681) .memberRightRail > .memberMapCard{
    display:flex !important;visibility:visible !important;opacity:1 !important;pointer-events:auto !important;
  }
}

/* Dock monde : 8 accès connectés, une seule ligne de 1280 à 2560. */
@media (min-width:901px){
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock{
    display:grid !important;grid-template-columns:repeat(8,minmax(0,1fr)) !important;grid-template-rows:1fr !important;
    grid-auto-flow:column !important;gap:0 !important;overflow:hidden !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock [data-body-view="world"]{display:none !important;}
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button{
    width:auto !important;min-width:0 !important;max-width:none !important;overflow:hidden !important;
    padding-inline:clamp(2px,.42vw,8px) !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button span{
    display:block !important;min-width:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;
  }
}
@media (min-width:901px) and (max-width:1400px){
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button i{display:none !important;}
  html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button span{font-size:8px !important;letter-spacing:-.02em !important;}
}
@media (min-width:1401px) and (max-width:1750px){html.ethnosGuestDiscovery.ethnosConnectedUnified body #memberWorldDock > button span{font-size:9.5px !important;}}

/* Duels : ils restent compacts même sur 1920/2560 et ne s'étirent plus       */
/* verticalement avec le bandeau.                                             */
html body .ethnosGamesFriendsContentR679{grid-template-rows:auto auto !important;align-content:start !important;justify-content:stretch !important;}
html body .ethnosGamesGameGridR679{
  width:min(100%,920px) !important;max-width:920px !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-template-rows:repeat(2,64px) !important;
  gap:10px !important;align-self:start !important;
}
html body .ethnosGameActionCardR679{height:64px !important;min-height:64px !important;max-height:64px !important;}
html body .ethnosGameActionMainR679{padding:7px 10px !important;gap:9px !important;}
html body .ethnosGameVisualR677{width:42px !important;height:42px !important;flex-basis:42px !important;}
html body .ethnosGameActionCopyR679 strong{font-size:clamp(15px,.9vw,18px) !important;}
html body .ethnosGameActionCopyR679 small{font-size:9px !important;}
html body .ethnosGamesVisualBandR679.isFriends{height:auto !important;min-height:286px !important;}

/* Game Over passe officiellement à cinq jeux : pas de Shooter. */
html body .ethnosSoloGameGridR679{grid-template-columns:repeat(2,minmax(0,1fr)) !important;max-width:760px !important;}

/* Nouveau bandeau sous Game Over : image console + sélection fournie. */
html body .ethnosGamesCommunityBandR681{
  min-height:clamp(300px,34vh,430px) !important;background:#0a202b !important;border-top:1px solid rgba(149,205,218,.10) !important;
}
html body .ethnosGamesCommunityContentR681{padding:clamp(22px,2.3vw,38px) clamp(24px,3vw,54px) !important;justify-content:flex-start !important;align-self:stretch !important;}
html body .ethnosCommunityGameGridR681{
  display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;margin-top:12px !important;width:min(100%,980px) !important;
}
html body .ethnosCommunityGameCardR681{
  min-height:88px !important;display:grid !important;grid-template-columns:116px minmax(0,1fr) !important;align-items:center !important;gap:14px !important;
  border:1px solid rgba(149,205,218,.22) !important;border-radius:15px !important;overflow:hidden !important;background:linear-gradient(135deg,#103545,#0b2836) !important;color:#fff !important;
  padding:0 !important;text-align:left !important;cursor:pointer !important;box-shadow:0 10px 24px rgba(0,0,0,.16) !important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease !important;
}
html body .ethnosCommunityGameCardR681:not(:disabled):hover{transform:translateY(-2px) !important;border-color:#33d0cf !important;box-shadow:0 15px 30px rgba(0,0,0,.24) !important;}
html body .ethnosCommunityGameCardR681 img{display:block !important;width:116px !important;height:88px !important;object-fit:cover !important;}
html body .ethnosCommunityGameCardR681 span{display:block !important;min-width:0 !important;padding-right:12px !important;}
html body .ethnosCommunityGameCardR681 strong{display:block !important;font-family:var(--ethnos-official-title,"Inter","Segoe UI",Arial,sans-serif) !important;font-size:17px !important;font-weight:800 !important;color:#fff9ef !important;}
html body .ethnosCommunityGameCardR681 small{display:block !important;margin-top:4px !important;font-size:10px !important;font-weight:700 !important;color:#9fb5bd !important;}
html body .ethnosCommunityGameCardR681:disabled{cursor:not-allowed !important;opacity:.58 !important;filter:saturate(.55) !important;}

/* Iframe des jeux fournis : isolé du DOM Ethnos et fermé sans résidu. */
.ethnosCommunityArcadeOverlayR681{position:fixed;inset:0;z-index:13000;display:grid;place-items:center;padding:18px;background:rgba(1,10,16,.84);backdrop-filter:blur(4px);}
.ethnosCommunityArcadeCardR681{width:min(1180px,97vw);height:min(860px,94vh);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(149,205,218,.25);border-radius:18px;background:#071f2c;color:#fff;box-shadow:0 32px 100px rgba(0,0,0,.55);font-family:var(--ethnos-official-title,"Inter","Segoe UI",Arial,sans-serif);}
.ethnosCommunityArcadeCardR681>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 16px;border-bottom:1px solid rgba(149,205,218,.15);background:#0a2634;}
.ethnosCommunityArcadeCardR681>header span{color:#33d0cf;font-size:9px;font-weight:900;letter-spacing:.14em;}
.ethnosCommunityArcadeCardR681>header h2{margin:3px 0 1px;font-size:22px;font-weight:800;color:#fff9ef;}
.ethnosCommunityArcadeCardR681>header p{margin:0;color:#9fb5bd;font-size:10px;font-weight:600;}
.ethnosCommunityArcadeCardR681>header button{height:36px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:#143848;color:#fff;padding:0 13px;font-weight:800;cursor:pointer;}
.ethnosCommunityArcadeFrameR681{min-height:0;background:#000;}
.ethnosCommunityArcadeFrameR681 iframe{display:block;width:100%;height:100%;border:0;background:#000;}

@media (max-width:1050px){
  html body .ethnosGamesGameGridR679{grid-template-rows:repeat(2,62px) !important;}
  html body .ethnosCommunityGameGridR681{grid-template-columns:1fr !important;}
  html body .ethnosGamesCommunityBandR681{grid-template-columns:minmax(250px,36%) minmax(0,1fr) !important;}
}
@media (max-width:760px){
  html body .ethnosGamesGameGridR679{grid-template-columns:1fr !important;grid-template-rows:repeat(4,60px) !important;}
  html body .ethnosGamesVisualBandR679,html body .ethnosGamesCommunityBandR681{grid-template-columns:1fr !important;}
  html body .ethnosCommunityGameCardR681{grid-template-columns:96px minmax(0,1fr) !important;min-height:76px !important;}
  html body .ethnosCommunityGameCardR681 img{width:96px !important;height:76px !important;}
  .ethnosCommunityArcadeOverlayR681{padding:6px;}.ethnosCommunityArcadeCardR681{width:100%;height:96vh;border-radius:12px;}
}

/* R681 — crédits auteurs visibles sous les deux boutons de la sélection. */
html body .ethnosCommunityGameEntryR681{display:grid !important;grid-template-rows:auto auto !important;gap:7px !important;min-width:0 !important;}
html body .ethnosCommunityGameEntryR681 .ethnosCommunityGameCardR681{width:100% !important;}
html body .ethnosCommunityGameCreditR681{display:block !important;width:max-content !important;max-width:100% !important;color:#8fded9 !important;font-size:9px !important;font-weight:750 !important;line-height:1.35 !important;text-decoration:none !important;white-space:normal !important;}
html body .ethnosCommunityGameCreditR681:hover{text-decoration:underline !important;color:#c6fffb !important;}
.ethnosCommunityArcadeCreditR681{margin-top:4px !important;color:#86a8b3 !important;font-size:9px !important;font-weight:650 !important;}
.ethnosCommunityArcadeCreditR681 a{color:#65dfd8 !important;text-decoration:none !important;}
.ethnosCommunityArcadeCreditR681 a:hover{text-decoration:underline !important;}


/* ========================================================================== */
/* ETHNOS R682 — verrou final Jeux / Profil / Maps / F12                      */
/* ========================================================================== */
@media (min-width:901px){
  html body.ethnosGamesOpenR681[data-ethnos-games-active="1"] .memberProfileCompact:not(.isExpanded){
    position:fixed !important;top:0 !important;right:0 !important;display:flex !important;z-index:1220 !important;
  }
  html body.ethnosGamesOpenR681[data-ethnos-games-active="1"] .memberMapCard{
    position:fixed !important;right:0 !important;bottom:var(--footer-legal) !important;display:flex !important;z-index:1220 !important;
  }
  html body.ethnosGamesOpenR681 .ethnosGamesTopLineR679{
    grid-template-columns:minmax(0,1fr) auto auto !important;
  }
  html body.ethnosGamesOpenR681 .ethnosGamesUtilityR679{margin-top:0 !important;}
  html body.ethnosGamesOpenR681 .ethnosGamesBadgesR679 img{width:clamp(34px,2.55vw,48px) !important;height:clamp(34px,2.55vw,48px) !important;}
}

/* DevTools/F12 : quand le viewport n'est plus un format produit exact, aucune
   géométrie issue d'un ancien marqueur écran ne doit imposer une largeur fixe. */
@media (min-width:901px){
  html:not([data-ethnos-format-1280="1"]):not([data-ethnos-format-1336="1"]):not([data-ethnos-format-1366="1"]):not([data-ethnos-format-1536="1"]):not([data-ethnos-format-1707="1"]):not([data-ethnos-format-1920="1"]):not([data-ethnos-format-2560="1"]) body .memberLayout{
    min-width:0 !important;max-width:100vw !important;width:100% !important;overflow:hidden !important;
  }
  html:not([data-ethnos-format-1280="1"]):not([data-ethnos-format-1336="1"]):not([data-ethnos-format-1366="1"]):not([data-ethnos-format-1536="1"]):not([data-ethnos-format-1707="1"]):not([data-ethnos-format-1920="1"]):not([data-ethnos-format-2560="1"]) body .memberWorkspace{
    min-width:0 !important;max-width:100% !important;overflow:hidden !important;
  }
}

/* R528 restauré pour Maps connecté : le script R682 retire r529MapSplit,
   ces règles sécurisent le dessin historique sans changer son intitulé. */
@media (min-width:901px){
  html.ethnosGuestDiscovery.ethnosConnectedUnified body .memberMapCard:not(.r529MapSplit){
    display:flex !important;align-items:center !important;justify-content:flex-start !important;padding:0 !important;border-radius:0 !important;
    background-image:linear-gradient(90deg,rgba(3,20,31,.99) 0%,rgba(4,28,40,.94) 52%,rgba(3,18,28,.46) 100%),url('../assets/images/home-r183/map-tab-earth-right.webp') !important;
    background-position:left center,right center !important;background-size:100% 100%,auto 92px !important;background-repeat:no-repeat !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body .memberMapCard:not(.r529MapSplit)>h2{
    position:relative !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
    width:57% !important;max-width:57% !important;min-width:0 !important;height:100% !important;margin:0 !important;padding:0 !important;
    box-sizing:border-box !important;color:#fff9ef !important;font-family:var(--font-title,"Fraunces",Georgia,"Times New Roman",serif) !important;font-size:clamp(13px,.94vw,18px) !important;font-weight:400 !important;line-height:1.03 !important;text-align:center !important;overflow:hidden !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body .memberMapCard:not(.r529MapSplit)>h2 .r528MapLine{
    position:relative !important;display:block !important;width:max-content !important;max-width:calc(100% - 28px) !important;margin:0 auto !important;padding:0 !important;box-sizing:border-box !important;color:inherit !important;font-family:var(--font-title,"Fraunces",Georgia,"Times New Roman",serif) !important;font-size:inherit !important;font-weight:400 !important;line-height:inherit !important;letter-spacing:inherit !important;text-align:center !important;white-space:nowrap !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body .memberMapCard:not(.r529MapSplit)>h2::after{content:none !important;display:none !important;}
  html.ethnosGuestDiscovery.ethnosConnectedUnified body .memberMapCard:not(.r529MapSplit)>h2 .r528MapLineLast::after{
    content:"›" !important;position:absolute !important;left:100% !important;top:50% !important;display:inline-block !important;margin-left:7px !important;color:#31d1cf !important;
    font-family:Arial,sans-serif !important;font-size:.82em !important;font-weight:700 !important;line-height:1 !important;vertical-align:.04em !important;transform:translateY(-50%) rotate(-90deg) !important;transform-origin:center !important;transition:transform .16s ease !important;
  }
  html.ethnosGuestDiscovery.ethnosConnectedUnified body .memberMapCard:not(.r529MapSplit):hover>h2 .r528MapLineLast::after,
  html.ethnosGuestDiscovery.ethnosConnectedUnified body .memberMapCard:not(.r529MapSplit):focus-visible>h2 .r528MapLineLast::after{
    transform:translateY(calc(-50% - 2px)) rotate(-90deg) !important;
  }
}

/* ========================================================================== */
/* ETHNOS R683 — BANDEAU JEUX CANONIQUE + ANCRAGE DECORATIF                  */
/* ========================================================================== */
/* Le bandeau reste compact sans rogner son texte. Les 3 distinctions Gamer
   restent décoratives et sont ancrées au bord droit du bandeau, indépendantes
   des boutons Mes parties / Classements. */
html body .ethnosGamesR679{
  --games-r679-head-h:clamp(116px,6.6vw,132px) !important;
}
html[data-ethnos-format-2560="1"] body .ethnosGamesR679{--games-r679-head-h:132px !important;}
html[data-ethnos-format-1920="1"] body .ethnosGamesR679{--games-r679-head-h:126px !important;}
html:is([data-ethnos-format-1707="1"],[data-ethnos-format-1536="1"]) body .ethnosGamesR679{--games-r679-head-h:122px !important;}
html:is([data-ethnos-format-1366="1"],[data-ethnos-format-1280="1"]) body .ethnosGamesR679{--games-r679-head-h:116px !important;}

html body .ethnosGamesTopBandR679{
  height:var(--games-r679-head-h) !important;
  min-height:var(--games-r679-head-h) !important;
  max-height:var(--games-r679-head-h) !important;
  padding:clamp(8px,.65vw,12px) clamp(22px,2.2vw,44px) clamp(8px,.58vw,11px) clamp(24px,3.2vw,54px) !important;
  overflow:hidden !important;
}
html body .ethnosGamesTopLineR679{
  width:100% !important;height:100% !important;min-width:0 !important;
  display:grid !important;grid-template-columns:minmax(0,1fr) auto auto !important;
  align-items:start !important;column-gap:clamp(14px,1.45vw,28px) !important;
}
html body .ethnosGamesTitleBoxR679{min-width:0 !important;max-width:760px !important;align-self:start !important;}
html body .ethnosGamesKickerR679{
  margin:0 0 3px !important;font-size:clamp(9px,.58vw,12px) !important;line-height:1.1 !important;
}
html body .ethnosGamesTitleR679{
  margin:4px 0 4px !important;font-size:clamp(28px,1.85vw,40px) !important;line-height:.94 !important;
}
html body .ethnosGamesIntroR679{
  margin:0 !important;max-width:760px !important;font-size:clamp(11px,.72vw,14px) !important;line-height:1.32 !important;
}
html body .ethnosGamesUtilityR679{
  align-self:start !important;justify-self:end !important;margin-top:0 !important;gap:8px !important;
}
html body .ethnosGamesUtilityR679 button{
  height:36px !important;padding:0 14px !important;font-size:clamp(11px,.7vw,14px) !important;
}
html body .ethnosGamesBadgesR679{
  align-self:start !important;justify-self:end !important;margin-left:0 !important;
  display:flex !important;align-items:flex-start !important;justify-content:flex-end !important;gap:6px !important;
}
html body .ethnosGamesBadgesR679 img{
  width:clamp(34px,2.25vw,46px) !important;height:clamp(34px,2.25vw,46px) !important;
}
@media (min-width:901px) and (max-width:1400px){
  html body .ethnosGamesTopLineR679{column-gap:10px !important;}
  html body .ethnosGamesTitleBoxR679{max-width:650px !important;}
  html body .ethnosGamesUtilityR679 button{height:34px !important;padding:0 11px !important;font-size:11px !important;}
  html body .ethnosGamesBadgesR679 img{width:34px !important;height:34px !important;}
}
@media (max-width:900px){
  html body .ethnosGamesTopBandR679{height:auto !important;min-height:0 !important;max-height:none !important;padding:14px 16px !important;overflow:visible !important;}
  html body .ethnosGamesTopLineR679{height:auto !important;grid-template-columns:1fr !important;row-gap:10px !important;}
  html body .ethnosGamesTitleBoxR679{max-width:none !important;padding-right:118px !important;}
  html body .ethnosGamesBadgesR679{position:absolute !important;right:16px !important;top:14px !important;}
  html body .ethnosGamesUtilityR679{justify-self:start !important;}
}
