/* Les Essentiels Community 1.2 — chaleureux, lisible, engagé */
:root{--lec-green:#0B3F3C;--lec-deep:#062f2d;--lec-ivory:#FFFFFF;--lec-gold:#D9AE37;--lec-gold-light:#F6E39A;--lec-gold-dark:#A9780B}
body.directory.groups #buddypress{width:min(1320px,calc(100vw - 48px));max-width:none;margin-left:50%;transform:translateX(-50%);color:var(--lec-ivory)}
body.directory.groups #buddypress *{box-sizing:border-box}

.lec-hero{position:relative;display:flex;align-items:center;min-height:280px;margin:20px 0 22px;padding:54px 58px;border:1px solid rgba(217,174,55,.28);border-radius:26px;background:radial-gradient(circle at 90% 20%,rgba(217,174,55,.12),transparent 32%),linear-gradient(120deg,#123f3c 0%,#0b3f3c 65%,#073633 100%);overflow:hidden;box-shadow:0 18px 55px rgba(0,0,0,.08)}
.lec-hero:after{content:"";position:absolute;right:-90px;bottom:-190px;width:430px;height:430px;border:1px solid rgba(217,174,55,.13);border-radius:50%}.lec-hero-copy{position:relative;z-index:2;max-width:850px}.lec-eyebrow,.lec-section-kicker{font-size:11px;font-weight:800;letter-spacing:.22em;color:var(--lec-gold-light)}
.lec-hero h1{margin:12px 0 10px!important;font-size:clamp(38px,4vw,62px)!important;line-height:1!important;font-weight:400!important;color:#fff!important}.lec-hero h1 span{background:linear-gradient(90deg,var(--lec-gold-light),var(--lec-gold),var(--lec-gold-dark));-webkit-background-clip:text;background-clip:text;color:transparent}.lec-lead{margin:0 0 14px!important;font-size:21px!important;font-weight:600;color:#fff}.lec-copy{max-width:760px;margin:0!important;font-size:15px!important;line-height:1.7!important;color:rgba(255,255,255,.78)}.lec-hero-mark{position:absolute;right:55px;font-size:120px;font-weight:900;letter-spacing:-.08em;color:rgba(246,227,154,.045)}

.lec-france{display:grid;grid-template-columns:72px 1fr auto;gap:26px;align-items:center;margin:0 0 28px;padding:28px 32px;border:1px solid rgba(217,174,55,.55);border-radius:20px;background:linear-gradient(105deg,rgba(255,255,255,.10),rgba(217,174,55,.055));box-shadow:inset 4px 0 0 var(--lec-gold)}.lec-france-flag{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;border:1px solid rgba(246,227,154,.45);font-size:17px;font-weight:900;letter-spacing:.08em;color:var(--lec-gold-light)}.lec-france-kicker{margin-bottom:5px;font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--lec-gold)}.lec-france h2{margin:0 0 8px!important;font-size:25px!important;color:#fff!important}.lec-france h2 span{font-size:16px;font-weight:400;color:rgba(255,255,255,.72)}.lec-france p{max-width:760px;margin:0!important;font-size:13px!important;line-height:1.55!important;color:rgba(255,255,255,.76)}.lec-france-meta{margin-top:8px;font-size:11px;color:var(--lec-gold-light)}.lec-france-cta{white-space:nowrap;padding:14px 18px;border-radius:9px;background:linear-gradient(90deg,var(--lec-gold-light),var(--lec-gold));color:var(--lec-deep)!important;font-size:11px;font-weight:900;letter-spacing:.04em;text-decoration:none!important;box-shadow:0 8px 22px rgba(0,0,0,.12)}

.lec-regions-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:36px 0 16px}.lec-regions-head h2{margin:5px 0 0!important;font-size:27px!important;color:#fff!important}.lec-regions-head>a{padding-bottom:3px;border-bottom:1px solid rgba(217,174,55,.5);font-size:12px;font-weight:700;color:var(--lec-gold-light)!important;text-decoration:none!important}

body.directory.groups #buddypress .subnav-filters{display:flex!important;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px!important;padding:16px 18px!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important}
body.directory.groups #buddypress .subnav-filters input[type=search],body.directory.groups #buddypress .subnav-filters select{min-height:44px!important;border:1px solid rgba(246,227,154,.38)!important;border-radius:9px!important;background:rgba(0,0,0,.10)!important;color:#fff!important;padding:0 14px!important;font-size:13px!important}body.directory.groups #buddypress .subnav-filters input::placeholder{color:rgba(255,255,255,.65)}
body.directory.groups #buddypress .bp-pagination{display:flex!important;align-items:center;justify-content:space-between;min-height:40px;margin:10px 0 16px!important;color:rgba(255,255,255,.65)!important;font-size:11px!important}body.directory.groups #buddypress .bp-pagination-links a,body.directory.groups #buddypress .bp-pagination-links span{display:inline-grid!important;place-items:center;min-width:34px;height:34px;margin-left:4px!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:8px!important;background:rgba(0,0,0,.12)!important;color:#fff!important}.bp-pagination-links .current{background:linear-gradient(90deg,var(--lec-gold-light),var(--lec-gold))!important;color:var(--lec-deep)!important}

body.directory.groups #groups-dir-list{min-height:0!important}.lec-groups-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;margin:0!important;padding:0!important;border:0!important;list-style:none!important}.lec-groups-grid:before,.lec-groups-grid:after{display:none!important}.lec-groups-grid>li.lec-group-card{width:auto!important;min-height:310px;margin:0!important;padding:0!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;overflow:hidden!important;transition:transform .2s ease,border-color .2s ease,background .2s ease}.lec-groups-grid>li.lec-group-card:hover{transform:translateY(-3px);border-color:rgba(217,174,55,.55)!important;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035))!important}
.lec-card-inner{display:grid;grid-template-columns:155px 1fr;gap:28px;align-items:center;height:100%;min-height:310px;padding:30px}.lec-avatar{display:flex;align-items:center;justify-content:center;min-height:155px;border-radius:16px;background:rgba(0,0,0,.08)}.lec-avatar img{display:block!important;width:135px!important;height:135px!important;max-width:135px!important;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.lec-card-content{min-width:0}.lec-type{margin-bottom:8px;font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--lec-gold)}.lec-title{margin:0 0 9px!important;font-size:23px!important;line-height:1.12!important;font-weight:700!important}.lec-title a{color:#fff!important;text-decoration:none!important}.lec-meta{margin:0 0 4px!important;font-size:11px!important;line-height:1.4!important;color:rgba(255,255,255,.72)!important}.lec-meta *{color:inherit!important}.lec-activity{margin:0!important;font-size:10px!important;color:rgba(255,255,255,.52)!important}.lec-activity strong{font-weight:600;color:rgba(255,255,255,.72)}.lec-desc{margin:16px 0 18px!important;font-size:13px!important;line-height:1.55!important;color:rgba(255,255,255,.76)!important}.lec-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lec-primary,.lec-native-primary a,.lec-native-primary button{display:inline-flex!important;align-items:center!important;gap:9px!important;padding:12px 16px!important;border:0!important;border-radius:8px!important;background:linear-gradient(90deg,var(--lec-gold-light),var(--lec-gold))!important;color:var(--lec-deep)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.045em!important;text-decoration:none!important;box-shadow:none!important}.lec-native-actions:not(.lec-native-primary) a,.lec-native-actions:not(.lec-native-primary) button{padding:6px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:9px!important;color:rgba(255,255,255,.38)!important;text-decoration:none!important}.lec-native-actions:not(.lec-native-primary) a:hover,.lec-native-actions:not(.lec-native-primary) button:hover{color:rgba(255,255,255,.75)!important}.lec-national-link{display:inline-flex;align-items:center;gap:7px;margin-top:17px;font-size:10px;font-weight:700;color:rgba(246,227,154,.78)!important;text-decoration:none!important}.lec-national-link span{display:grid;place-items:center;width:23px;height:23px;border:1px solid rgba(217,174,55,.35);border-radius:50%;font-size:8px}

/* Neutralise le loader Nouveau sans lui laisser une cellule dans la grille */
body.directory.groups #buddypress .bp-feedback.loading,body.directory.groups #buddypress .bp-icon.loader,body.directory.groups #buddypress .loading:not(button):not(a){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}




/* === V1.3 — alignement graphique avec Les Essentiels === */
:root{--lec-green:#0B3F3C;--lec-ivory:#FFFFFF;--lec-gold-1:#FFF0AD;--lec-gold-2:#E5BE55;--lec-gold-3:#B17A09}

/* Navigation BuddyPress : vraie barre communautaire */
body.directory.groups #buddypress .groups-type-navs{margin:18px 0 14px!important;padding:7px!important;border:1px solid rgba(229,190,85,.24)!important;border-radius:15px!important;background:rgba(255,255,255,.035)!important;overflow:visible!important}
body.directory.groups #buddypress .groups-type-navs ul{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important;list-style:none!important}
body.directory.groups #buddypress .groups-type-navs li{margin:0!important;padding:0!important;border:0!important}
body.directory.groups #buddypress .groups-type-navs li a{display:flex!important;align-items:center!important;gap:7px!important;min-height:38px!important;padding:0 15px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:rgba(255,255,255,.74)!important;font-size:10px!important;font-weight:700!important;letter-spacing:.035em!important;text-decoration:none!important;transition:.18s ease!important}
body.directory.groups #buddypress .groups-type-navs li a:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}
body.directory.groups #buddypress .groups-type-navs li.selected a,body.directory.groups #buddypress .groups-type-navs li.current a{border-color:rgba(229,190,85,.36)!important;background:linear-gradient(135deg,rgba(255,240,173,.15),rgba(177,122,9,.08))!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important}
body.directory.groups #buddypress .groups-type-navs .count{display:inline-grid!important;place-items:center!important;min-width:21px!important;height:21px!important;padding:0 5px!important;border:1px solid rgba(229,190,85,.3)!important;border-radius:20px!important;background:rgba(229,190,85,.12)!important;color:var(--lec-gold-1)!important;font-size:8px!important;font-weight:800!important}

/* Cartouche de présentation — plus proche du langage visuel du site */
.lec-hero{min-height:250px;margin:16px 0 18px;padding:46px 52px;border-radius:20px;background:radial-gradient(circle at 88% 16%,rgba(255,240,173,.10),transparent 30%),linear-gradient(118deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),var(--lec-green);box-shadow:none}
.lec-hero h1{font-size:clamp(35px,3.6vw,54px)!important}.lec-hero h1 span{background:linear-gradient(100deg,var(--lec-gold-1) 0%,var(--lec-gold-2) 48%,var(--lec-gold-3) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}

/* Groupe France : point de convergence clairement distinct */
.lec-france{background:linear-gradient(110deg,rgba(255,255,255,.055),rgba(255,240,173,.045)),var(--lec-green);border-color:rgba(229,190,85,.42);box-shadow:inset 3px 0 0 rgba(229,190,85,.85)}
.lec-france-cta,.lec-primary,.lec-native-primary a,.lec-native-primary button{background:linear-gradient(105deg,var(--lec-gold-1) 0%,var(--lec-gold-2) 52%,var(--lec-gold-3) 100%)!important;color:#fff!important;border-radius:10px!important;text-shadow:0 1px 1px rgba(69,45,0,.28)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 5px 14px rgba(0,0,0,.10)!important}
.lec-france-cta:hover,.lec-primary:hover,.lec-native-primary a:hover,.lec-native-primary button:hover{filter:brightness(1.06);transform:translateY(-1px)}

/* Cartes et écrins des logos : même vert exact que la charte */
.lec-groups-grid>li.lec-group-card{background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.018)),var(--lec-green)!important;border-color:rgba(229,190,85,.22)!important}
.lec-groups-grid>li.lec-group-card:hover{background:linear-gradient(145deg,rgba(255,255,255,.072),rgba(255,255,255,.025)),var(--lec-green)!important;border-color:rgba(229,190,85,.48)!important}
.lec-avatar{background:var(--lec-green)!important;border:1px solid rgba(255,255,255,.035)!important}
.lec-avatar img{background:var(--lec-green)!important}

/* Filtres cohérents avec la nouvelle navigation */
body.directory.groups #buddypress .subnav-filters{border-color:rgba(229,190,85,.18)!important;background:rgba(255,255,255,.028)!important}
body.directory.groups #buddypress .subnav-filters input[type=search],body.directory.groups #buddypress .subnav-filters select{background:var(--lec-green)!important;border-color:rgba(255,240,173,.30)!important}



/* === V1.4 — finition des titres, liens nationaux et logos régionaux === */
/* CTA France : proportions plus proches des boutons principaux du site */
.lec-france-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:48px!important;padding:0 28px!important;border-radius:11px!important;font-size:11px!important;line-height:1.15!important}

/* Noms des territoires : aucun aplat/surlignage sombre */
.lec-title,.lec-title a{display:inline!important;background:transparent!important;background-color:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;color:var(--lec-ivory)!important;text-decoration:none!important;text-shadow:none!important}
.lec-title a:hover{color:var(--lec-gold-1)!important}

/* Accès national : lien secondaire léger, sans cartouche sombre */
.lec-national-link,.lec-regions-head>a{background:transparent!important;background-color:transparent!important;box-shadow:none!important;border:0!important;text-transform:none!important;color:var(--lec-gold-2)!important;text-decoration:none!important;transition:color .18s ease,transform .18s ease!important}
.lec-national-link{padding:0!important;margin-top:17px!important;letter-spacing:.025em!important}
.lec-national-link span{background:transparent!important;color:var(--lec-gold-1)!important}
.lec-national-link:hover,.lec-regions-head>a:hover{color:var(--lec-gold-1)!important;transform:translateX(2px)}
.lec-regions-head>a{padding:0 0 3px!important;border-bottom:1px solid rgba(229,190,85,.35)!important}

/* Logos régionaux : N&B au repos, couleurs originales au survol de la carte */
.lec-avatar img{filter:grayscale(1) saturate(0)!important;transition:filter .32s ease,transform .32s ease!important}
.lec-group-card:hover .lec-avatar img,.lec-group-card:focus-within .lec-avatar img{filter:grayscale(0) saturate(1)!important;transform:scale(1.035)}



/* v1.5 — lisibilité des cartes + pagination premium */
body.directory.groups #buddypress .lec-type{font-size:14px!important;line-height:1.35!important;letter-spacing:.12em!important}
body.directory.groups #buddypress .lec-title{font-size:18px!important;line-height:1.25!important}
body.directory.groups #buddypress .lec-meta{font-size:14px!important;line-height:1.5!important}
body.directory.groups #buddypress .lec-activity{font-size:14px!important;line-height:1.5!important}
body.directory.groups #buddypress .lec-desc{font-size:15px!important;line-height:1.65!important}
body.directory.groups #buddypress .lec-primary,
body.directory.groups #buddypress .lec-native-primary a,
body.directory.groups #buddypress .lec-native-primary button{font-size:14px!important;line-height:1.2!important}
body.directory.groups #buddypress .lec-national-link{font-size:14px!important;line-height:1.35!important}
body.directory.groups #buddypress .lec-national-link span{font-size:10px!important}
body.directory.groups #buddypress .lec-native-actions:not(.lec-native-primary) a,
body.directory.groups #buddypress .lec-native-actions:not(.lec-native-primary) button{font-size:12px!important}
body.directory.groups #buddypress .lec-card-inner{min-height:345px!important}

/* Pagination allégée : plus de gros boutons techniques */
body.directory.groups #buddypress .bp-pagination{font-size:14px!important}
body.directory.groups #buddypress .bp-pagination-links{display:flex!important;align-items:center!important;gap:14px!important}
body.directory.groups #buddypress .bp-pagination-links a,
body.directory.groups #buddypress .bp-pagination-links span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:4px 2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:rgba(255,255,255,.72)!important;font-size:14px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important;transition:color .18s ease,transform .18s ease!important}
body.directory.groups #buddypress .bp-pagination-links a:hover{color:var(--lec-gold-light)!important;transform:translateY(-1px)}
body.directory.groups #buddypress .bp-pagination-links .current{position:relative!important;background:transparent!important;color:var(--lec-gold-light)!important;font-weight:900!important}
body.directory.groups #buddypress .bp-pagination-links .current:after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--lec-gold-light),var(--lec-gold))}
body.directory.groups #buddypress .bp-pagination-links .next,
body.directory.groups #buddypress .bp-pagination-links .prev{font-size:18px!important;color:var(--lec-gold-light)!important}

/* v1.6 — intérieur des groupes : continuité Les Essentiels */
body.groups.single-item #buddypress{--lec-deep:#0B3F3C;--lec-ivory:#FFFFFF;--lec-gold:#D9AE37;--lec-gold-light:#F6E39A;--lec-gold-dark:#A9780B;width:min(1180px,calc(100vw - 40px))!important;max-width:none!important;margin:0 auto!important;color:var(--lec-ivory)!important}
body.groups.single-item #buddypress .bp-wrap{background:transparent!important}
body.groups.single-item #buddypress #item-header{margin:18px 0 0!important;border:1px solid rgba(217,174,55,.30)!important;border-radius:22px!important;overflow:hidden!important;background:rgba(255,255,255,.025)!important;box-shadow:0 18px 50px rgba(0,0,0,.08)!important}
body.groups.single-item #buddypress #header-cover-image{height:255px!important;border:0!important;background-position:center!important;background-size:cover!important;position:relative!important}
body.groups.single-item #buddypress #header-cover-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,28,27,.04),rgba(3,28,27,.68));pointer-events:none}
body.groups.single-item #buddypress #item-header-cover-image{min-height:150px!important;margin:0!important;padding:0 30px 25px!important;display:flex!important;align-items:flex-end!important;gap:24px!important;position:relative!important}
body.groups.single-item #buddypress #item-header-avatar{float:none!important;margin:-72px 0 0!important;position:relative!important;z-index:3!important}
body.groups.single-item #buddypress #item-header-avatar img{width:128px!important;height:128px!important;object-fit:contain!important;padding:10px!important;border-radius:18px!important;border:1px solid rgba(246,227,154,.65)!important;background:#0B3F3C!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important}
body.groups.single-item #buddypress #item-header-content{float:none!important;margin:0!important;padding:0 0 2px!important;min-width:0!important;flex:1!important;color:var(--lec-ivory)!important}
body.groups.single-item #buddypress #item-header-content h2,body.groups.single-item #buddypress #item-header-content h2 a{font-size:30px!important;line-height:1.12!important;font-weight:700!important;color:#fff!important;text-decoration:none!important;letter-spacing:-.02em!important}
body.groups.single-item #buddypress #item-header-content .highlight,body.groups.single-item #buddypress #item-header-content .activity{font-size:14px!important;line-height:1.5!important;color:rgba(255,255,255,.78)!important;background:transparent!important;padding:0!important}
body.groups.single-item #buddypress #item-actions{float:none!important;margin:0 0 2px auto!important;min-width:150px!important;text-align:right!important;color:rgba(255,255,255,.72)!important;font-size:12px!important}
body.groups.single-item #buddypress #item-actions h2{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.1em!important;color:var(--lec-gold-light)!important}
body.groups.single-item #buddypress #item-actions img.avatar{width:34px!important;height:34px!important;border-radius:50%!important;border:1px solid rgba(246,227,154,.45)!important}

/* navigation du groupe */
body.groups.single-item #buddypress #item-nav{margin:18px 0 0!important;border:1px solid rgba(217,174,55,.25)!important;border-radius:16px!important;background:rgba(255,255,255,.035)!important;padding:7px!important;overflow:visible!important}
body.groups.single-item #buddypress #item-nav .item-list-tabs,body.groups.single-item #buddypress #item-nav .main-navs{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.groups.single-item #buddypress #item-nav ul{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;margin:0!important;padding:0!important}
body.groups.single-item #buddypress #item-nav li{float:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.groups.single-item #buddypress #item-nav li a{display:flex!important;align-items:center!important;min-height:42px!important;padding:0 17px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:rgba(255,255,255,.78)!important;font-size:14px!important;font-weight:600!important;letter-spacing:.01em!important;text-decoration:none!important;transition:.2s ease!important}
body.groups.single-item #buddypress #item-nav li a:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}
body.groups.single-item #buddypress #item-nav li.current a,body.groups.single-item #buddypress #item-nav li.selected a{background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#fff!important;box-shadow:0 8px 22px rgba(169,120,11,.18)!important}
body.groups.single-item #buddypress #item-nav .count{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;height:22px!important;margin-left:7px!important;padding:0 6px!important;border:1px solid rgba(246,227,154,.32)!important;border-radius:999px!important;background:transparent!important;color:inherit!important;font-size:11px!important}

/* contenu */
body.groups.single-item #buddypress #item-body{margin:14px 0 60px!important;padding:28px 32px!important;border:1px solid rgba(217,174,55,.20)!important;border-radius:20px!important;background:rgba(255,255,255,.025)!important;color:var(--lec-ivory)!important}
body.groups.single-item #buddypress #item-body p,body.groups.single-item #buddypress #item-body li,body.groups.single-item #buddypress #item-body label{font-size:14px!important;line-height:1.65!important;color:rgba(255,255,255,.90)!important}
body.groups.single-item #buddypress #item-body h1{font-size:28px!important;line-height:1.2!important;color:#fff!important}
body.groups.single-item #buddypress #item-body h2{font-size:21px!important;line-height:1.3!important;color:#fff!important}
body.groups.single-item #buddypress #item-body h3{font-size:17px!important;line-height:1.35!important;color:#fff!important}
body.groups.single-item #buddypress #item-body a{color:var(--lec-gold-light)!important}
body.groups.single-item #buddypress #item-body .bp-feedback,body.groups.single-item #buddypress #item-body .bp-template-notice{border:1px solid rgba(217,174,55,.24)!important;border-radius:12px!important;background:rgba(255,255,255,.035)!important;color:rgba(255,255,255,.88)!important;box-shadow:none!important}
body.groups.single-item #buddypress #item-body input[type=text],body.groups.single-item #buddypress #item-body input[type=search],body.groups.single-item #buddypress #item-body textarea,body.groups.single-item #buddypress #item-body select{border:1px solid rgba(255,255,255,.26)!important;border-radius:10px!important;background:#0B3F3C!important;color:#fff!important;font-size:14px!important}
body.groups.single-item #buddypress #item-body button,body.groups.single-item #buddypress #item-body input[type=submit],body.groups.single-item #buddypress #item-body .button{border:0!important;border-radius:11px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#fff!important;font-size:14px!important;font-weight:700!important;padding:11px 18px!important;box-shadow:none!important}

/* ancien texte d'accueil : plus compact et lisible */
body.groups.single-item #buddypress .group-front-page,body.groups.single-item #buddypress .bp-group-home-content{max-width:820px!important}
body.groups.single-item #buddypress .group-front-page p,body.groups.single-item #buddypress .bp-group-home-content p{margin:0 0 14px!important;font-size:14px!important;line-height:1.65!important}



/* v1.7 — navigation de groupe et administration épurées */
body.groups.single-item #buddypress #item-nav{margin:20px 0 0!important;padding:0 20px!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:18px!important;background:rgba(255,255,255,.025)!important;box-shadow:none!important}
body.groups.single-item #buddypress #item-nav ul{min-height:62px!important;gap:28px!important;flex-wrap:nowrap!important}
body.groups.single-item #buddypress #item-nav li{position:relative!important}
body.groups.single-item #buddypress #item-nav li a{min-height:62px!important;padding:0 2px!important;border-radius:0!important;background:transparent!important;color:rgba(255,255,255,.72)!important;font-size:14px!important;font-weight:600!important;letter-spacing:.015em!important;box-shadow:none!important;white-space:nowrap!important}
body.groups.single-item #buddypress #item-nav li a:hover{background:transparent!important;color:#F6E39A!important}
body.groups.single-item #buddypress #item-nav li.current a,body.groups.single-item #buddypress #item-nav li.selected a{background:transparent!important;color:#fff!important;box-shadow:none!important}
body.groups.single-item #buddypress #item-nav li.current:after,body.groups.single-item #buddypress #item-nav li.selected:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:linear-gradient(90deg,#F6E39A,#D9AE37,#A9780B)}
body.groups.single-item #buddypress #item-nav .count{min-width:22px!important;height:22px!important;margin-left:7px!important;padding:0 6px!important;border:0!important;border-radius:999px!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 60%,#A9780B)!important;color:#0B3F3C!important;font-size:11px!important;font-weight:800!important}
body.groups.single-item #buddypress #item-nav li#invite-groups-li,body.groups.single-item #buddypress #item-nav li#admin-groups-li{margin-left:auto!important}
body.groups.single-item #buddypress #item-nav li#invite-groups-li + li#admin-groups-li{margin-left:0!important}
body.groups.single-item #buddypress #item-nav li#invite-groups-li a,body.groups.single-item #buddypress #item-nav li#admin-groups-li a{color:rgba(255,255,255,.52)!important;font-size:13px!important}
body.groups.single-item #buddypress #item-nav li#invite-groups-li a:hover,body.groups.single-item #buddypress #item-nav li#admin-groups-li a:hover{color:#F6E39A!important}

/* Les administrateurs ne concurrencent plus l'identité du groupe */
body.groups.single-item #buddypress #item-actions{align-self:center!important;min-width:0!important;margin:0 0 0 auto!important;padding:0!important;text-align:right!important;opacity:.78!important}
body.groups.single-item #buddypress #item-actions h2{margin:0 0 8px!important;font-size:10px!important;line-height:1.2!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.13em!important;color:rgba(246,227,154,.68)!important}
body.groups.single-item #buddypress #item-actions ul{display:flex!important;justify-content:flex-end!important;gap:6px!important;margin:0!important;padding:0!important;list-style:none!important}
body.groups.single-item #buddypress #item-actions li{margin:0!important;padding:0!important}
body.groups.single-item #buddypress #item-actions img.avatar{width:27px!important;height:27px!important;margin:0!important;padding:0!important;object-fit:cover!important;border:1px solid rgba(246,227,154,.25)!important;border-radius:50%!important;filter:grayscale(100%)!important;opacity:.78!important;transition:.2s ease!important}
body.groups.single-item #buddypress #item-actions a:hover img.avatar{filter:grayscale(0)!important;opacity:1!important;border-color:rgba(246,227,154,.7)!important}

/* Masque l'aide technique BuddyPress sur l'accueil du groupe */
body.groups.single-item #buddypress #item-body .bp-feedback.info:has(a[href*="settings"]),body.groups.single-item #buddypress #item-body .bp-template-notice:has(a[href*="settings"]){display:none!important}




/* v1.8 — Événements & Échappées */
body.groups.single-item #buddypress #item-nav li#evenements-groups-li a,
body.groups.single-item #buddypress #item-nav li#echappees-groups-li a{color:rgba(246,227,154,.92)!important}
.lec-tool-page{width:100%;color:#FFFFFF}
.lec-tool-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 28px;padding:6px 0 24px;border-bottom:1px solid rgba(217,174,55,.18)}
.lec-tool-head span{display:block;margin-bottom:6px;color:#D9AE37;font-size:12px;font-weight:800;letter-spacing:.13em}
.lec-tool-head h2{margin:0 0 8px!important;font-size:28px!important}.lec-tool-head p{margin:0!important;max-width:650px;font-size:15px!important;color:rgba(255,255,255,.76)!important}
.lec-tool-create{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:13px!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 55%,#A9780B)!important;color:#fff!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap;box-shadow:0 10px 28px rgba(169,120,11,.15)}
.lec-tool-empty{grid-column:1/-1;padding:32px;border:1px solid rgba(217,174,55,.18);border-radius:16px;background:rgba(255,255,255,.025);font-size:15px;color:rgba(255,255,255,.76)}
.lec-escape-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.lec-escape-card{overflow:hidden;border:1px solid rgba(217,174,55,.18);border-radius:18px;background:rgba(255,255,255,.025);transition:.2s ease}.lec-escape-card:hover{transform:translateY(-3px);border-color:rgba(217,174,55,.42)}
.lec-escape-card>a{display:block!important;color:inherit!important;text-decoration:none!important}.lec-escape-img{height:180px;background-size:cover;background-position:center}.lec-no-img{display:flex;align-items:center;justify-content:center;background:#0B3F3C;border-bottom:1px solid rgba(217,174,55,.16)}.lec-no-img span{color:#D9AE37;font-size:13px;font-weight:800;letter-spacing:.15em}.lec-escape-copy{padding:20px}.lec-escape-copy>span{color:#D9AE37;font-size:11px;font-weight:800;letter-spacing:.12em}.lec-escape-copy h3{margin:6px 0 8px!important;font-size:18px!important}.lec-escape-copy p{min-height:46px;margin:0 0 16px!important;font-size:14px!important;color:rgba(255,255,255,.72)!important}.lec-escape-copy b{font-size:14px;color:#F6E39A}.lec-escape-copy i{font-style:normal;margin-left:4px}


/* v1.9 — Forum bbPress intégré : interface communautaire moderne */
body.groups.single-item #buddypress #item-body #bbpress-forums{font-size:14px!important;color:#FFFFFF!important}
body.groups.single-item #buddypress #item-body #bbpress-forums>h3,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-template-notice.info,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-template-notice.warning{display:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-pagination{margin:0 0 18px!important;color:rgba(255,255,255,.62)!important;font-size:13px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-pagination-links{display:flex!important;gap:10px!important;align-items:center!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-pagination-links a,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-pagination-links span{border:0!important;background:transparent!important;color:rgba(255,255,255,.66)!important;padding:4px 2px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-pagination-links .current{color:#F6E39A!important;border-bottom:2px solid #D9AE37!important}

/* En-tête forum : neutralise l'ancien titre sans masquer le contenu */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-info .bbp-forum-title{color:#fff!important}
body.groups.single-item #buddypress #item-body #bbpress-forums ul.bbp-forums,
body.groups.single-item #buddypress #item-body #bbpress-forums ul.bbp-topics{margin:0!important;border:0!important;background:transparent!important;font-size:14px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-header{padding:13px 18px!important;border:1px solid rgba(217,174,55,.16)!important;border-radius:14px 14px 0 0!important;background:rgba(255,255,255,.035)!important;color:rgba(255,255,255,.58)!important;font-size:12px!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body{border:1px solid rgba(217,174,55,.16)!important;border-top:0!important;border-radius:0 0 16px 16px!important;overflow:hidden!important;background:rgba(255,255,255,.015)!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.forum,
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.topic{min-height:86px!important;padding:18px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.07)!important;background:transparent!important;transition:background .2s ease,border-color .2s ease!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul:last-child{border-bottom:0!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul:hover{background:rgba(255,255,255,.028)!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-title{width:58%!important;padding-right:28px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-voice-count,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-reply-count{width:9%!important;color:rgba(255,255,255,.76)!important;text-align:center!important;font-size:14px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness{width:24%!important;color:rgba(255,255,255,.66)!important;font-size:13px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-permalink{display:inline-block!important;margin:0 0 8px!important;color:#F6E39A!important;font-size:15px!important;font-weight:700!important;line-height:1.4!important;text-transform:none!important;text-decoration:none!important;letter-spacing:0!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-permalink:hover{color:#fff!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-meta{margin:0!important;color:rgba(255,255,255,.50)!important;font-size:12px!important;line-height:1.5!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-meta a{color:rgba(255,255,255,.72)!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness a{color:#F6E39A!important;font-weight:600!important;text-decoration:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness-author{display:block!important;margin-top:6px!important;color:rgba(255,255,255,.52)!important;font-size:12px!important}

/* Abonnement : lien secondaire, pas un gros cartouche */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-subscription-link,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-subscription-link{float:none!important;display:flex!important;justify-content:flex-end!important;margin:0 0 14px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-subscription-link a,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-subscription-link a{background:transparent!important;color:#D9AE37!important;border:0!important;padding:0!important;font-size:13px!important;font-weight:700!important;text-decoration:none!important}

/* Formulaire nouveau sujet : carte claire et cohérente */
body.groups.single-item #buddypress #item-body #bbpress-forums form#new-post,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form{margin-top:30px!important;padding:24px!important;border:1px solid rgba(217,174,55,.20)!important;border-radius:18px!important;background:rgba(255,255,255,.025)!important}
body.groups.single-item #buddypress #item-body #bbpress-forums fieldset.bbp-form{margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.groups.single-item #buddypress #item-body #bbpress-forums fieldset.bbp-form legend{width:100%!important;margin:0 0 20px!important;padding:0!important;color:#fff!important;font-size:18px!important;font-weight:700!important;line-height:1.35!important}
body.groups.single-item #buddypress #item-body #bbpress-forums fieldset.bbp-form label{color:rgba(255,255,255,.82)!important;font-size:14px!important;font-weight:600!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-the-content-wrapper{margin-top:8px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums input[type=text],
body.groups.single-item #buddypress #item-body #bbpress-forums textarea,
body.groups.single-item #buddypress #item-body #bbpress-forums select{width:100%!important;border:1px solid rgba(255,255,255,.20)!important;border-radius:11px!important;background:#0B3F3C!important;color:#fff!important;font-size:14px!important;padding:12px 14px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .quicktags-toolbar{border:1px solid rgba(255,255,255,.14)!important;border-bottom:0!important;background:rgba(255,255,255,.04)!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .wp-editor-container{border:1px solid rgba(255,255,255,.14)!important;background:#0B3F3C!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-submit-wrapper{float:none!important;text-align:left!important;margin-top:18px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums button.button.submit{min-height:46px!important;padding:0 24px!important;border-radius:12px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#fff!important;font-size:14px!important;font-weight:800!important}

/* Le message de capacité HTML est purement technique */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-template-notice:has(p:first-child:last-child){border-color:rgba(217,174,55,.14)!important;background:rgba(255,255,255,.02)!important;color:rgba(255,255,255,.58)!important;font-size:12px!important}



/* v2.0 — Groupe + Forum : continuité visuelle avec l’annuaire territorial */
body.groups.single-item #buddypress #item-nav,
body.groups.single-item #buddypress .item-list-tabs#object-nav,
body.groups.single-item #buddypress .main-navs#object-nav{display:block!important;width:100%!important;margin:22px 0 16px!important;padding:0 22px!important;border:1px solid rgba(217,174,55,.20)!important;border-radius:18px!important;background:linear-gradient(110deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;box-shadow:none!important;overflow:hidden!important}
body.groups.single-item #buddypress #item-nav ul,
body.groups.single-item #buddypress #item-nav .bp-navs ul{display:flex!important;align-items:center!important;gap:30px!important;min-height:64px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;list-style:none!important}
body.groups.single-item #buddypress #item-nav ul li{float:none!important;position:relative!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.groups.single-item #buddypress #item-nav ul li a,
body.groups.single-item #buddypress #item-nav ul li a:hover,
body.groups.single-item #buddypress #item-nav ul li.current a,
body.groups.single-item #buddypress #item-nav ul li.selected a{display:flex!important;align-items:center!important;min-height:64px!important;margin:0!important;padding:0 1px!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:rgba(255,255,255,.74)!important;font-size:14px!important;font-weight:650!important;line-height:1!important;text-decoration:none!important;text-transform:none!important;white-space:nowrap!important}
body.groups.single-item #buddypress #item-nav ul li a:hover{color:#F6E39A!important}
body.groups.single-item #buddypress #item-nav ul li.current a,
body.groups.single-item #buddypress #item-nav ul li.selected a{color:#fff!important}
body.groups.single-item #buddypress #item-nav ul li.current:after,
body.groups.single-item #buddypress #item-nav ul li.selected:after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:3px!important;border-radius:4px 4px 0 0!important;background:linear-gradient(90deg,#F6E39A,#D9AE37 58%,#A9780B)!important}
body.groups.single-item #buddypress #item-nav ul li#invite-groups-li{margin-left:auto!important}
body.groups.single-item #buddypress #item-nav ul li#admin-groups-li{margin-left:-14px!important}
body.groups.single-item #buddypress #item-nav ul li#invite-groups-li a,
body.groups.single-item #buddypress #item-nav ul li#admin-groups-li a{font-size:13px!important;color:rgba(255,255,255,.50)!important}

/* En-tête éditorial du forum */
.lec-forum-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:0 0 24px;padding:6px 2px 22px;border-bottom:1px solid rgba(217,174,55,.20)}
.lec-forum-kicker{margin:0 0 7px;color:#D9AE37;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.lec-forum-intro h2{margin:0 0 7px!important;color:#fff!important;font-size:30px!important;font-weight:650!important;line-height:1.1!important;letter-spacing:-.02em!important}
.lec-forum-intro p{max-width:720px;margin:0!important;color:rgba(255,255,255,.72)!important;font-size:14px!important;line-height:1.6!important}
.lec-forum-new{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border:0;border-radius:13px;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 58%,#A9780B 100%);box-shadow:0 10px 28px rgba(169,120,11,.16);color:#fff!important;font-size:14px;font-weight:800;text-decoration:none!important;cursor:pointer}
.lec-forum-new:hover{transform:translateY(-1px);filter:brightness(1.04)}

/* Le forum devient un flux de discussions, pas un tableau */
body.groups.single-item #buddypress #item-body #bbpress-forums>h2,
body.groups.single-item #buddypress #item-body #bbpress-forums>h3,
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-header,
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-footer{display:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums ul.bbp-topics{border:0!important;background:transparent!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body{display:grid!important;gap:12px!important;border:0!important;background:transparent!important;overflow:visible!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.topic{display:grid!important;grid-template-columns:minmax(0,1fr) 92px 190px!important;grid-template-areas:"title replies freshness"!important;align-items:center!important;gap:18px!important;min-height:108px!important;margin:0!important;padding:20px 22px!important;border:1px solid rgba(217,174,55,.15)!important;border-radius:16px!important;background:linear-gradient(115deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;box-shadow:none!important;transition:transform .18s ease,border-color .18s ease,background .18s ease!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.topic:hover{transform:translateY(-2px)!important;border-color:rgba(217,174,55,.38)!important;background:linear-gradient(115deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-title{grid-area:title!important;width:auto!important;padding:0!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-permalink{display:block!important;margin:0 0 8px!important;padding:0!important;background:transparent!important;color:#fff!important;font-size:16px!important;font-weight:700!important;line-height:1.35!important;text-decoration:none!important;text-transform:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-permalink:hover{color:#F6E39A!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-meta{display:flex!important;align-items:center!important;gap:5px!important;margin:0!important;padding:0!important;background:transparent!important;color:rgba(255,255,255,.52)!important;font-size:13px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-meta a{background:transparent!important;color:rgba(255,255,255,.72)!important;font-size:13px!important;text-decoration:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-voice-count{display:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-reply-count{grid-area:replies!important;width:auto!important;padding:0!important;background:transparent!important;color:#fff!important;text-align:center!important;font-size:15px!important;font-weight:700!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-reply-count:after{content:" réponses";display:block;margin-top:4px;color:rgba(255,255,255,.48);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.06em}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness{grid-area:freshness!important;width:auto!important;padding:0!important;background:transparent!important;text-align:right!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness>a{display:block!important;padding:0!important;background:transparent!important;color:#F6E39A!important;font-size:13px!important;font-weight:650!important;text-decoration:none!important;text-transform:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness-author{display:block!important;margin-top:5px!important;padding:0!important;background:transparent!important;color:rgba(255,255,255,.48)!important;font-size:12px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness-author a{background:transparent!important;color:rgba(255,255,255,.60)!important;text-decoration:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-pagination{margin:14px 2px 18px!important;color:rgba(255,255,255,.58)!important;font-size:13px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-subscription-link{margin:0 2px 16px!important}

/* Création : fermée par défaut, ouverte par le CTA */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form{display:none!important;margin:24px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form.lec-open{display:block!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form fieldset.bbp-form{padding:26px!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:18px!important;background:linear-gradient(120deg,rgba(255,255,255,.05),rgba(255,255,255,.02))!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form legend{margin:0 0 22px!important;color:#fff!important;font-size:20px!important;font-weight:700!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form .bbp-template-notice{display:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form p{margin:0 0 17px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form label{display:block!important;margin:0 0 7px!important;color:rgba(255,255,255,.82)!important;font-size:14px!important;font-weight:650!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form input[type=text],
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form select,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form textarea{border:1px solid rgba(255,255,255,.18)!important;border-radius:12px!important;background:#0B3F3C!important;color:#fff!important;box-shadow:none!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form .quicktags-toolbar{padding:8px!important;border:1px solid rgba(255,255,255,.13)!important;border-bottom:0!important;border-radius:12px 12px 0 0!important;background:rgba(255,255,255,.035)!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form .quicktags-toolbar input.button{min-height:32px!important;margin:2px!important;padding:0 11px!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:8px!important;background:transparent!important;color:#F6E39A!important;font-size:12px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form .wp-editor-container{border:1px solid rgba(255,255,255,.13)!important;border-radius:0 0 12px 12px!important;overflow:hidden!important;background:#0B3F3C!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form .bbp-submit-wrapper{margin-top:20px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-form button.submit{min-height:48px!important;padding:0 26px!important;border-radius:13px!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 58%,#A9780B)!important;color:#fff!important;font-size:14px!important;font-weight:800!important}



/* v2.1 — cohérence typographique + vraie navigation premium */
body.groups.single-item #buddypress #item-header-content .group-description,
body.groups.single-item #buddypress #item-header-content .group-description p,
body.groups.single-item #buddypress #item-header-content .desc-wrap,
body.groups.single-item #buddypress #item-header-content .desc-wrap p,
body.groups.single-item #buddypress #item-header-content > p,
body.groups.single-item #buddypress #item-header-content .activity,
body.groups.single-item #buddypress #item-header-content .highlight{
  font-size:15px!important;
  line-height:1.62!important;
  font-weight:400!important;
  color:rgba(255,255,255,.90)!important;
}
body.groups.single-item #buddypress #item-header-content .group-description,
body.groups.single-item #buddypress #item-header-content .desc-wrap{
  max-width:920px!important;
  margin-top:18px!important;
}
body.groups.single-item #buddypress #item-header-content .group-description p,
body.groups.single-item #buddypress #item-header-content .desc-wrap p{margin:0 0 12px!important}

/* BuddyPress Nouveau utilise selon les écrans #object-nav au lieu de #item-nav : on couvre les deux. */
body.groups.single-item #buddypress #item-nav,
body.groups.single-item #buddypress #object-nav,
body.groups.single-item #buddypress nav#object-nav{
  display:block!important;
  width:100%!important;
  margin:22px 0 18px!important;
  padding:0 26px!important;
  border:1px solid rgba(217,174,55,.20)!important;
  border-radius:18px!important;
  background:linear-gradient(110deg,rgba(255,255,255,.050),rgba(255,255,255,.018))!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
body.groups.single-item #buddypress #item-nav ul,
body.groups.single-item #buddypress #object-nav ul,
body.groups.single-item #buddypress nav#object-nav ul{
  display:flex!important;
  align-items:center!important;
  gap:30px!important;
  min-height:66px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  list-style:none!important;
}
body.groups.single-item #buddypress #item-nav li,
body.groups.single-item #buddypress #object-nav li,
body.groups.single-item #buddypress nav#object-nav li{
  float:none!important;
  position:relative!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.groups.single-item #buddypress #item-nav li a,
body.groups.single-item #buddypress #object-nav li a,
body.groups.single-item #buddypress nav#object-nav li a{
  display:flex!important;
  align-items:center!important;
  min-height:66px!important;
  margin:0!important;
  padding:0 1px!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:rgba(255,255,255,.76)!important;
  font-size:15px!important;
  font-weight:600!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.groups.single-item #buddypress #item-nav li a:hover,
body.groups.single-item #buddypress #object-nav li a:hover{color:#F6E39A!important;background:transparent!important}
body.groups.single-item #buddypress #item-nav li.current a,
body.groups.single-item #buddypress #item-nav li.selected a,
body.groups.single-item #buddypress #object-nav li.current a,
body.groups.single-item #buddypress #object-nav li.selected a{
  color:#fff!important;background:transparent!important;box-shadow:none!important
}
body.groups.single-item #buddypress #item-nav li.current:after,
body.groups.single-item #buddypress #item-nav li.selected:after,
body.groups.single-item #buddypress #object-nav li.current:after,
body.groups.single-item #buddypress #object-nav li.selected:after{
  content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:3px!important;
  border-radius:4px 4px 0 0!important;background:linear-gradient(90deg,#F6E39A,#D9AE37 58%,#A9780B)!important
}
body.groups.single-item #buddypress #item-nav .count,
body.groups.single-item #buddypress #object-nav .count{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:23px!important;height:23px!important;
  margin-left:7px!important;padding:0 6px!important;border:0!important;border-radius:999px!important;
  background:linear-gradient(100deg,#F6E39A,#D9AE37 60%,#A9780B)!important;color:#0B3F3C!important;font-size:12px!important;font-weight:800!important
}
body.groups.single-item #buddypress #item-nav li#invite-groups-li,
body.groups.single-item #buddypress #object-nav li#invite-groups-li{margin-left:auto!important}
body.groups.single-item #buddypress #item-nav li#admin-groups-li,
body.groups.single-item #buddypress #object-nav li#admin-groups-li{margin-left:-14px!important}
body.groups.single-item #buddypress #item-nav li#invite-groups-li a,
body.groups.single-item #buddypress #item-nav li#admin-groups-li a,
body.groups.single-item #buddypress #object-nav li#invite-groups-li a,
body.groups.single-item #buddypress #object-nav li#admin-groups-li a{font-size:14px!important;color:rgba(255,255,255,.52)!important}

/* Même échelle de lecture que l'annuaire : aucune information principale microscopique. */
body.groups.single-item #buddypress #item-body p,
body.groups.single-item #buddypress #item-body li,
body.groups.single-item #buddypress #item-body label{font-size:15px!important;line-height:1.62!important}
body.groups.single-item #buddypress #item-body #bbpress-forums{font-size:15px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-permalink{font-size:16px!important;line-height:1.4!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-meta,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-meta a,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness>a,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness-author,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-pagination{font-size:14px!important}
.lec-forum-kicker{font-size:14px!important;line-height:1.35!important}
.lec-forum-intro h2{font-size:28px!important;line-height:1.18!important}
.lec-forum-intro p{font-size:15px!important;line-height:1.62!important}
.lec-forum-new{font-size:14px!important;min-height:50px!important;padding:0 27px!important}



/* v2.2 — Navigation interne calée sur le menu premium de l'annuaire */
body.groups.single-item #buddypress #item-nav,
body.groups.single-item #buddypress .item-list-tabs#object-nav,
body.groups.single-item #buddypress .main-navs#object-nav{
  width:100%!important;margin:20px 0 16px!important;padding:7px!important;
  border:1px solid rgba(229,190,85,.24)!important;border-radius:15px!important;
  background:rgba(255,255,255,.035)!important;box-shadow:none!important;overflow:visible!important;
}
body.groups.single-item #buddypress #item-nav ul,
body.groups.single-item #buddypress #item-nav .bp-navs ul,
body.groups.single-item #buddypress #object-nav ul{
  display:flex!important;align-items:center!important;gap:7px!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;list-style:none!important;
}
body.groups.single-item #buddypress #item-nav ul li,
body.groups.single-item #buddypress #object-nav ul li{
  float:none!important;position:relative!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body.groups.single-item #buddypress #item-nav ul li a,
body.groups.single-item #buddypress #object-nav ul li a{
  display:flex!important;align-items:center!important;gap:7px!important;min-height:42px!important;
  margin:0!important;padding:0 16px!important;border:1px solid transparent!important;border-radius:10px!important;
  background:transparent!important;box-shadow:none!important;color:rgba(255,255,255,.78)!important;
  font-size:14px!important;line-height:1!important;font-weight:700!important;letter-spacing:.025em!important;text-decoration:none!important;
  transition:.18s ease!important;white-space:nowrap!important;
}
body.groups.single-item #buddypress #item-nav ul li a:hover,
body.groups.single-item #buddypress #object-nav ul li a:hover{
  border-color:transparent!important;background:rgba(255,255,255,.055)!important;color:#fff!important;
}
body.groups.single-item #buddypress #item-nav ul li.current a,
body.groups.single-item #buddypress #item-nav ul li.selected a,
body.groups.single-item #buddypress #object-nav ul li.current a,
body.groups.single-item #buddypress #object-nav ul li.selected a{
  border-color:rgba(229,190,85,.38)!important;
  background:linear-gradient(135deg,rgba(255,240,173,.15),rgba(177,122,9,.08))!important;
  color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
body.groups.single-item #buddypress #item-nav ul li.current:after,
body.groups.single-item #buddypress #item-nav ul li.selected:after,
body.groups.single-item #buddypress #object-nav ul li.current:after,
body.groups.single-item #buddypress #object-nav ul li.selected:after{display:none!important;content:none!important}
body.groups.single-item #buddypress #item-nav .count,
body.groups.single-item #buddypress #object-nav .count{
  display:inline-grid!important;place-items:center!important;min-width:22px!important;height:22px!important;margin:0!important;padding:0 6px!important;
  border:1px solid rgba(229,190,85,.30)!important;border-radius:999px!important;background:rgba(229,190,85,.12)!important;
  color:#F6E39A!important;font-size:12px!important;line-height:1!important;font-weight:800!important;
}
body.groups.single-item #buddypress #item-nav li#invite-groups-li,
body.groups.single-item #buddypress #object-nav li#invite-groups-li{margin-left:auto!important}
body.groups.single-item #buddypress #item-nav li#admin-groups-li,
body.groups.single-item #buddypress #object-nav li#admin-groups-li{margin-left:0!important}
body.groups.single-item #buddypress #item-nav li#invite-groups-li a,
body.groups.single-item #buddypress #item-nav li#admin-groups-li a,
body.groups.single-item #buddypress #object-nav li#invite-groups-li a,
body.groups.single-item #buddypress #object-nav li#admin-groups-li a{color:rgba(255,255,255,.62)!important}

/* La présentation longue du groupe appartient uniquement à l'onglet Accueil. */
body.lec-group-subpage.groups.single-item #buddypress #item-header-content .group-description,
body.lec-group-subpage.groups.single-item #buddypress #item-header-content .group-description-wrap,
body.lec-group-subpage.groups.single-item #buddypress #item-header-content .bp-group-description,
body.lec-group-subpage.groups.single-item #buddypress #item-header-content > p:not(.activity):not(.highlight),
body.lec-group-subpage.groups.single-item #buddypress #item-header-content .group-description p{display:none!important}
body.lec-group-subpage.groups.single-item #buddypress #item-header-content{padding-bottom:20px!important}



/* ==========================================================
   v2.3 — DESIGN SYSTEM UNIQUE : ANNUAIRE = GROUPE = FORUM
   La navigation reprend volontairement le composant validé
   sur l'annuaire territorial.
   ========================================================== */
body.groups.single-item #buddypress #item-nav,
body.groups.single-item #buddypress #object-nav,
body.groups.single-item #buddypress .item-list-tabs#object-nav,
body.groups.single-item #buddypress .main-navs#object-nav{
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  margin:18px 0 14px!important;padding:7px!important;
  border:1px solid rgba(229,190,85,.24)!important;border-radius:15px!important;
  background:rgba(255,255,255,.035)!important;box-shadow:none!important;overflow:visible!important;
}
body.groups.single-item #buddypress #item-nav ul,
body.groups.single-item #buddypress #object-nav ul,
body.groups.single-item #buddypress #item-nav .bp-navs ul,
body.groups.single-item #buddypress #object-nav .bp-navs ul{
  display:flex!important;align-items:center!important;gap:7px!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;list-style:none!important;
}
body.groups.single-item #buddypress #item-nav li,
body.groups.single-item #buddypress #object-nav li{
  float:none!important;position:relative!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body.groups.single-item #buddypress #item-nav li a,
body.groups.single-item #buddypress #object-nav li a,
body.groups.single-item #buddypress #item-nav li a:hover,
body.groups.single-item #buddypress #object-nav li a:hover{
  display:flex!important;align-items:center!important;gap:7px!important;min-height:42px!important;
  margin:0!important;padding:0 16px!important;border:1px solid transparent!important;border-radius:10px!important;
  background:transparent!important;box-shadow:none!important;color:rgba(255,255,255,.76)!important;
  font-size:14px!important;line-height:1!important;font-weight:700!important;letter-spacing:.015em!important;
  text-decoration:none!important;text-transform:none!important;white-space:nowrap!important;transition:.18s ease!important;
}
body.groups.single-item #buddypress #item-nav li a:hover,
body.groups.single-item #buddypress #object-nav li a:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}
body.groups.single-item #buddypress #item-nav li.current a,
body.groups.single-item #buddypress #item-nav li.selected a,
body.groups.single-item #buddypress #object-nav li.current a,
body.groups.single-item #buddypress #object-nav li.selected a{
  border-color:rgba(229,190,85,.36)!important;
  background:linear-gradient(135deg,rgba(255,240,173,.15),rgba(177,122,9,.08))!important;
  color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
}
body.groups.single-item #buddypress #item-nav li.current:after,
body.groups.single-item #buddypress #item-nav li.selected:after,
body.groups.single-item #buddypress #object-nav li.current:after,
body.groups.single-item #buddypress #object-nav li.selected:after{display:none!important;content:none!important}
body.groups.single-item #buddypress #item-nav .count,
body.groups.single-item #buddypress #object-nav .count{
  display:inline-grid!important;place-items:center!important;min-width:22px!important;height:22px!important;margin:0!important;padding:0 6px!important;
  border:1px solid rgba(229,190,85,.30)!important;border-radius:999px!important;background:rgba(229,190,85,.12)!important;
  color:#F6E39A!important;font-size:12px!important;line-height:1!important;font-weight:800!important;
}
body.groups.single-item #buddypress #item-nav li#invite-groups-li,
body.groups.single-item #buddypress #object-nav li#invite-groups-li{margin-left:auto!important}
body.groups.single-item #buddypress #item-nav li#admin-groups-li,
body.groups.single-item #buddypress #object-nav li#admin-groups-li{margin-left:0!important}
body.groups.single-item #buddypress #item-nav li#invite-groups-li a,
body.groups.single-item #buddypress #item-nav li#admin-groups-li a,
body.groups.single-item #buddypress #object-nav li#invite-groups-li a,
body.groups.single-item #buddypress #object-nav li#admin-groups-li a{color:rgba(255,255,255,.60)!important}

/* Sur les rubriques autres qu'Accueil, la présentation éditoriale ne se répète plus. */
body.lec-group-subpage .lec-hide-on-subpage{display:none!important}
body.lec-group-subpage.groups.single-item #buddypress #item-header-cover-image{min-height:118px!important;padding-bottom:20px!important}
body.lec-group-subpage.groups.single-item #buddypress #item-header-content{padding-bottom:0!important}

/* Le forum emploie les mêmes surfaces, bordures et rayons que les cartes territoriales. */
body.groups.single-item #buddypress #item-body{border:1px solid rgba(229,190,85,.22)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.018)),#0B3F3C!important;padding:30px!important}
.lec-forum-intro{margin:-4px 0 24px!important;padding:0 0 24px!important;border-bottom:1px solid rgba(229,190,85,.20)!important}
.lec-forum-kicker{color:#D9AE37!important;font-size:14px!important;font-weight:800!important;letter-spacing:.14em!important}
.lec-forum-intro h2{margin:7px 0 6px!important;color:#fff!important;font-size:24px!important;font-weight:700!important;line-height:1.2!important}
.lec-forum-intro p{font-size:15px!important;line-height:1.6!important;color:rgba(255,255,255,.82)!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body{gap:14px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.topic{
  min-height:112px!important;padding:22px!important;border:1px solid rgba(229,190,85,.22)!important;border-radius:20px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.018)),#0B3F3C!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.topic:hover{border-color:rgba(229,190,85,.48)!important;background:linear-gradient(145deg,rgba(255,255,255,.072),rgba(255,255,255,.025)),#0B3F3C!important}



/* v2.4 — actions secondaires cohérentes avec l'annuaire territorial */
/* Quitter le groupe n'est jamais un CTA principal. */
body.groups.single-item #buddypress #item-header-content .generic-button a,
body.groups.single-item #buddypress #item-header-content .generic-button button,
body.groups.single-item #buddypress #item-header-content .group-button a,
body.groups.single-item #buddypress #item-header-content .group-button button{
  display:inline-flex!important;align-items:center!important;min-height:0!important;margin:8px 0 0!important;padding:4px 0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important;
  color:rgba(255,255,255,.48)!important;font-size:13px!important;line-height:1.35!important;font-weight:600!important;letter-spacing:.01em!important;
  text-decoration:none!important;text-transform:none!important;transition:color .18s ease!important;
}
body.groups.single-item #buddypress #item-header-content .generic-button a:hover,
body.groups.single-item #buddypress #item-header-content .generic-button button:hover,
body.groups.single-item #buddypress #item-header-content .group-button a:hover,
body.groups.single-item #buddypress #item-header-content .group-button button:hover{color:#F6E39A!important;background:transparent!important;transform:none!important}

/* Abonnement bbPress : lien secondaire or, sans cartouche sombre. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-subscription-link,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-subscription-link{
  float:none!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:0 0 18px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-subscription-link a,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-subscription-link a{
  display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0!important;padding:3px 0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;text-shadow:none!important;color:#D9AE37!important;font-size:14px!important;line-height:1.35!important;font-weight:700!important;
  text-decoration:none!important;text-transform:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-subscription-link a:hover,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-subscription-link a:hover{color:#F6E39A!important;background:transparent!important;text-decoration:none!important}

/* =========================================================
   v2.5 — ACTIVITÉ : continuité visuelle avec Régions / Discussions
   Présentation uniquement, aucune donnée BuddyPress modifiée.
   ========================================================= */
body.groups.single-item.activity #buddypress #item-body,
body.groups.single-item #buddypress #item-body:has(#activity-stream){
  padding:28px!important;
  border:1px solid rgba(229,190,85,.22)!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.018)),#0B3F3C!important;
  box-shadow:none!important;
}
/* zone de publication */
body.groups.single-item #buddypress #whats-new-form{
  margin:0 0 22px!important;padding:18px!important;border:1px solid rgba(229,190,85,.22)!important;border-radius:16px!important;
  background:rgba(255,255,255,.035)!important;box-shadow:none!important;
}
body.groups.single-item #buddypress #whats-new-avatar{margin:0 14px 0 0!important}
body.groups.single-item #buddypress #whats-new-avatar img{width:48px!important;height:48px!important;border-radius:12px!important;object-fit:cover!important;border:1px solid rgba(229,190,85,.30)!important;box-shadow:none!important}
body.groups.single-item #buddypress #whats-new-content{margin-left:62px!important;padding:0!important}
body.groups.single-item #buddypress #whats-new-textarea textarea,
body.groups.single-item #buddypress #whats-new-textarea #whats-new{
  min-height:52px!important;padding:14px 16px!important;border:1px solid rgba(229,190,85,.24)!important;border-radius:12px!important;
  background:#0B3F3C!important;color:#fff!important;box-shadow:none!important;font-size:14px!important;line-height:1.5!important;resize:vertical!important;
}
body.groups.single-item #buddypress #whats-new-textarea textarea::placeholder{color:rgba(255,255,255,.58)!important}
body.groups.single-item #buddypress #whats-new-options{margin-top:12px!important}
body.groups.single-item #buddypress #aw-whats-new-submit,
body.groups.single-item #buddypress #whats-new-submit input,
body.groups.single-item #buddypress #whats-new-submit button{
  min-height:44px!important;padding:0 22px!important;border:0!important;border-radius:10px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 58%,#A9780B 100%)!important;
  color:#0B3F3C!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important;text-transform:none!important;
}
/* recherche et filtre */
body.groups.single-item #buddypress .activity-type-tabs + .subnav-filters,
body.groups.single-item #buddypress #activity-stream + .subnav-filters,
body.groups.single-item #buddypress .subnav-filters{
  margin:0 0 22px!important;padding:14px!important;border:1px solid rgba(229,190,85,.18)!important;border-radius:14px!important;background:rgba(255,255,255,.025)!important;
}
body.groups.single-item #buddypress .subnav-filters input[type=search],
body.groups.single-item #buddypress .subnav-filters input[type=text],
body.groups.single-item #buddypress .subnav-filters select{
  min-height:44px!important;padding:0 14px!important;border:1px solid rgba(229,190,85,.26)!important;border-radius:10px!important;background:#0B3F3C!important;color:#fff!important;font-size:14px!important;box-shadow:none!important;
}
body.groups.single-item #buddypress .subnav-filters button,
body.groups.single-item #buddypress .subnav-filters input[type=submit]{
  min-width:44px!important;min-height:44px!important;border:0!important;border-radius:10px!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 60%,#A9780B)!important;color:#0B3F3C!important;box-shadow:none!important;
}
/* flux */
body.groups.single-item #buddypress ul#activity-stream,
body.groups.single-item #buddypress .activity-list{margin:0!important;padding:0!important;background:transparent!important;border:0!important;list-style:none!important}
body.groups.single-item #buddypress ul#activity-stream > li,
body.groups.single-item #buddypress .activity-list > li{
  position:relative!important;margin:0 0 14px!important;padding:20px!important;border:1px solid rgba(229,190,85,.20)!important;border-radius:18px!important;
  background:rgba(255,255,255,.035)!important;box-shadow:none!important;color:#FFFFFF!important;overflow:hidden!important;
}
body.groups.single-item #buddypress ul#activity-stream > li:hover,
body.groups.single-item #buddypress .activity-list > li:hover{border-color:rgba(229,190,85,.38)!important;background:rgba(255,255,255,.048)!important}
body.groups.single-item #buddypress .activity-avatar{margin:0!important;float:left!important}
body.groups.single-item #buddypress .activity-avatar img.avatar{width:58px!important;height:58px!important;margin:0!important;border:1px solid rgba(229,190,85,.26)!important;border-radius:14px!important;object-fit:cover!important;box-shadow:none!important}
body.groups.single-item #buddypress .activity-content{margin:0 0 0 76px!important;padding:0!important;background:transparent!important;color:#FFFFFF!important}
body.groups.single-item #buddypress .activity-header{margin:1px 0 10px!important;color:rgba(255,255,255,.68)!important;font-size:14px!important;line-height:1.55!important}
body.groups.single-item #buddypress .activity-header a{padding:0!important;background:transparent!important;color:#F6E39A!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important}
body.groups.single-item #buddypress .activity-header .time-since,
body.groups.single-item #buddypress .activity-time-since{color:rgba(255,255,255,.46)!important;font-size:14px!important;font-weight:500!important}
body.groups.single-item #buddypress .activity-inner{
  margin:0 0 14px!important;padding:14px 0 0!important;border-top:1px solid rgba(229,190,85,.12)!important;background:transparent!important;color:rgba(255,255,255,.88)!important;font-size:14px!important;line-height:1.65!important;
}
body.groups.single-item #buddypress .activity-inner p,
body.groups.single-item #buddypress .activity-inner div{color:inherit!important;font-size:14px!important;line-height:1.65!important}
body.groups.single-item #buddypress .activity-inner a{background:transparent!important;color:#F6E39A!important;text-decoration:none!important;font-weight:650!important}
body.groups.single-item #buddypress .activity-inner img{max-width:100%!important;height:auto!important;border-radius:12px!important}
/* actions secondaires, sans gros pavés dorés */
body.groups.single-item #buddypress .activity-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:12px 0 0!important;padding:0!important;background:transparent!important}
body.groups.single-item #buddypress .activity-meta a,
body.groups.single-item #buddypress .activity-meta button{
  display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:6px 10px!important;border:1px solid rgba(229,190,85,.18)!important;border-radius:8px!important;
  background:transparent!important;color:rgba(255,255,255,.68)!important;box-shadow:none!important;font-size:14px!important;font-weight:650!important;text-decoration:none!important;text-transform:none!important;
}
body.groups.single-item #buddypress .activity-meta a:hover,
body.groups.single-item #buddypress .activity-meta button:hover{border-color:rgba(229,190,85,.38)!important;color:#F6E39A!important;background:rgba(229,190,85,.06)!important}
body.groups.single-item #buddypress .activity-meta .delete-activity,
body.groups.single-item #buddypress .activity-meta .acomment-delete{opacity:.58!important}
/* commentaires */
body.groups.single-item #buddypress .activity-comments{margin:14px 0 0!important;padding:0!important;background:transparent!important}
body.groups.single-item #buddypress .activity-comments > ul{margin:0!important;padding:0!important}
body.groups.single-item #buddypress .activity-comments li{margin:8px 0 0!important;padding:12px!important;border:1px solid rgba(229,190,85,.12)!important;border-radius:12px!important;background:rgba(0,0,0,.08)!important;color:#FFFFFF!important}
body.groups.single-item #buddypress .ac-form{margin:12px 0 0!important;padding:12px!important;border:1px solid rgba(229,190,85,.16)!important;border-radius:12px!important;background:rgba(0,0,0,.07)!important}
body.groups.single-item #buddypress .ac-form textarea{min-height:74px!important;border:1px solid rgba(229,190,85,.22)!important;border-radius:10px!important;background:#0B3F3C!important;color:#fff!important;font-size:14px!important;box-shadow:none!important}
/* neutralise les anciens aplats blancs / cartouches noirs dans l'activité */
body.groups.single-item #buddypress #activity-stream .activity-item,
body.groups.single-item #buddypress #activity-stream .activity-content,
body.groups.single-item #buddypress #activity-stream .activity-header,
body.groups.single-item #buddypress #activity-stream .activity-inner,
body.groups.single-item #buddypress #activity-stream .activity-meta{box-shadow:none!important}
body.groups.single-item #buddypress #activity-stream .activity-header > p,
body.groups.single-item #buddypress #activity-stream .activity-header p{background:transparent!important;color:rgba(255,255,255,.68)!important}


/* =========================================================
   v2.6 — ACTIVITÉ : flux social privé, plus compact et vivant
   ========================================================= */
body.groups.single-item #buddypress #whats-new-form{padding:12px 14px!important;margin-bottom:14px!important;border-radius:18px!important;background:rgba(255,255,255,.025)!important}
body.groups.single-item #buddypress #whats-new-avatar img{width:44px!important;height:44px!important;border-radius:50%!important}
body.groups.single-item #buddypress #whats-new-content{margin-left:58px!important}
body.groups.single-item #buddypress #whats-new-textarea textarea,body.groups.single-item #buddypress #whats-new-textarea #whats-new{min-height:46px!important;border-color:rgba(229,190,85,.16)!important;border-radius:23px!important;background:rgba(0,0,0,.10)!important;padding:12px 18px!important}
body.groups.single-item #buddypress .subnav-filters{padding:10px 12px!important;margin-bottom:16px!important;border-radius:16px!important;background:rgba(255,255,255,.018)!important}
body.groups.single-item #buddypress ul#activity-stream > li,body.groups.single-item #buddypress .activity-list > li{min-height:0!important;margin:0!important;padding:16px 18px!important;border-width:0 0 1px!important;border-color:rgba(229,190,85,.13)!important;border-radius:0!important;background:transparent!important;overflow:visible!important;transition:background .18s ease!important}
body.groups.single-item #buddypress ul#activity-stream > li:first-child{border-top:1px solid rgba(229,190,85,.13)!important}
body.groups.single-item #buddypress ul#activity-stream > li:hover,body.groups.single-item #buddypress .activity-list > li:hover{border-color:rgba(229,190,85,.18)!important;background:rgba(255,255,255,.025)!important}
body.groups.single-item #buddypress .activity-avatar img.avatar{width:46px!important;height:46px!important;border-radius:50%!important;border:1px solid rgba(229,190,85,.24)!important}
body.groups.single-item #buddypress .activity-content{margin-left:62px!important;min-height:46px!important}
body.groups.single-item #buddypress .activity-header{position:relative!important;margin:0 0 6px!important;padding-right:115px!important;font-size:14px!important;line-height:1.45!important;color:rgba(255,255,255,.68)!important}
body.groups.single-item #buddypress .activity-header a{font-size:14px!important;font-weight:700!important;color:#FFFFFF!important}
body.groups.single-item #buddypress .activity-header a:first-child{color:#F6E39A!important}
body.groups.single-item #buddypress .activity-header .time-since,body.groups.single-item #buddypress .activity-time-since{position:absolute!important;right:0!important;top:1px!important;font-size:12px!important;color:rgba(255,255,255,.42)!important;white-space:nowrap!important;text-transform:none!important}
body.groups.single-item #buddypress .activity-inner{margin:7px 0 0!important;padding:0!important;border:0!important;font-size:14px!important;line-height:1.55!important;color:rgba(255,255,255,.88)!important;max-width:850px!important}
body.groups.single-item #buddypress .activity-meta{gap:18px!important;margin:8px 0 0!important;align-items:center!important}
body.groups.single-item #buddypress .activity-meta a,body.groups.single-item #buddypress .activity-meta button{min-height:0!important;padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:rgba(255,255,255,.52)!important;font-size:13px!important;font-weight:600!important}
body.groups.single-item #buddypress .activity-meta a:hover,body.groups.single-item #buddypress .activity-meta button:hover{border:0!important;background:transparent!important;color:#F6E39A!important}
body.groups.single-item #buddypress .activity-meta .delete-activity,body.groups.single-item #buddypress .activity-meta .acomment-delete{margin-left:auto!important;opacity:.32!important;font-size:12px!important}
body.groups.single-item #buddypress .activity-comments{margin-left:62px!important;margin-top:8px!important}
body.groups.single-item #buddypress .activity-comments li{padding:10px 12px!important;border-radius:14px!important;background:rgba(0,0,0,.075)!important}
/* les activités purement système restent volontairement compactes */
body.groups.single-item #buddypress #activity-stream > li.lec-system-activity{padding-top:12px!important;padding-bottom:12px!important}
body.groups.single-item #buddypress #activity-stream > li.lec-system-activity .activity-meta{margin-top:5px!important}
/* contenu riche = vraie publication sociale */
body.groups.single-item #buddypress #activity-stream > li.lec-rich-activity{margin:12px 0!important;padding:18px!important;border:1px solid rgba(229,190,85,.18)!important;border-radius:18px!important;background:rgba(255,255,255,.025)!important}
body.groups.single-item #buddypress #activity-stream > li.lec-rich-activity .activity-inner{padding-top:10px!important}


/* =========================================================
   v2.7 — ACTIVITÉ : flux social privé, fin et parfaitement aligné
   ========================================================= */
body.groups.single-item #buddypress #activity-stream{margin:0!important;padding:0!important}
body.groups.single-item #buddypress #activity-stream>li,
body.groups.single-item #buddypress #activity-stream>li.lec-system-activity,
body.groups.single-item #buddypress #activity-stream>li.lec-rich-activity{
  position:relative!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;column-gap:14px!important;
  margin:0!important;padding:15px 4px!important;border:0!important;border-bottom:1px solid rgba(229,190,85,.14)!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;
}
body.groups.single-item #buddypress #activity-stream>li:last-child{border-bottom:0!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar{grid-column:1!important;grid-row:1 / span 4!important;float:none!important;margin:0!important;padding:0!important;width:42px!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{width:42px!important;height:42px!important;margin:0!important;border:1px solid rgba(229,190,85,.20)!important;border-radius:50%!important;object-fit:cover!important;box-shadow:none!important}
body.groups.single-item #buddypress #activity-stream .activity-content{grid-column:2!important;float:none!important;width:auto!important;margin:0!important;padding:0 112px 0 0!important;min-height:42px!important}
body.groups.single-item #buddypress #activity-stream .activity-header{margin:0!important;padding:1px 0!important;color:rgba(255,255,255,.70)!important;font-size:14px!important;line-height:1.45!important;font-weight:400!important}
body.groups.single-item #buddypress #activity-stream .activity-header p{margin:0!important;font-size:14px!important;line-height:1.45!important}
body.groups.single-item #buddypress #activity-stream .activity-header a{font-size:14px!important;line-height:1.45!important;text-decoration:none!important}
body.groups.single-item #buddypress #activity-stream .activity-header>a:first-child,
body.groups.single-item #buddypress #activity-stream .activity-header p>a:first-child{color:#F6E39A!important;font-weight:700!important}
body.groups.single-item #buddypress #activity-stream .activity-header .time-since,
body.groups.single-item #buddypress #activity-stream .activity-time-since{position:absolute!important;right:4px!important;top:17px!important;margin:0!important;color:rgba(255,255,255,.42)!important;font-size:14px!important;line-height:1.4!important;font-weight:400!important;text-transform:none!important;white-space:nowrap!important}
body.groups.single-item #buddypress #activity-stream .activity-inner{margin:7px 0 0!important;padding:0!important;border:0!important;background:transparent!important;color:rgba(255,255,255,.90)!important;font-size:14px!important;line-height:1.55!important}
body.groups.single-item #buddypress #activity-stream .activity-inner p{margin:0 0 5px!important;font-size:14px!important;line-height:1.55!important}
body.groups.single-item #buddypress #activity-stream .activity-inner p:last-child{margin-bottom:0!important}
body.groups.single-item #buddypress #activity-stream .activity-meta{display:flex!important;align-items:center!important;gap:15px!important;min-height:22px!important;margin:8px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
body.groups.single-item #buddypress #activity-stream .activity-meta a,
body.groups.single-item #buddypress #activity-stream .activity-meta button,
body.groups.single-item #buddypress #activity-stream .activity-meta .button{
  display:inline-flex!important;align-items:center!important;gap:5px!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:2px 0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important;color:rgba(255,255,255,.54)!important;
  font-size:14px!important;line-height:1.35!important;font-weight:500!important;text-transform:none!important;text-decoration:none!important;
}
body.groups.single-item #buddypress #activity-stream .activity-meta a:hover,
body.groups.single-item #buddypress #activity-stream .activity-meta button:hover{color:#F6E39A!important;background:transparent!important}
body.groups.single-item #buddypress #activity-stream .activity-meta .delete-activity,
body.groups.single-item #buddypress #activity-stream .activity-meta .acomment-delete{margin-left:auto!important;opacity:.38!important;color:rgba(255,255,255,.48)!important}
body.groups.single-item #buddypress #activity-stream .activity-meta .delete-activity:hover,
body.groups.single-item #buddypress #activity-stream .activity-meta .acomment-delete:hover{opacity:1!important;color:#F6E39A!important}
/* Un événement système n'a pas besoin d'une barre d'actions imposante. */
body.groups.single-item #buddypress #activity-stream>li.lec-system-activity .activity-meta{margin-top:4px!important;opacity:.78!important}
body.groups.single-item #buddypress #activity-stream>li.lec-system-activity{padding-top:13px!important;padding-bottom:13px!important}
/* Une vraie publication reste légèrement matérialisée, sans devenir une grosse carte. */
body.groups.single-item #buddypress #activity-stream>li.lec-rich-activity{margin:5px 0!important;padding:16px 12px!important;border:1px solid rgba(229,190,85,.13)!important;border-radius:14px!important;background:rgba(255,255,255,.018)!important}
body.groups.single-item #buddypress #activity-stream>li.lec-rich-activity .activity-content{padding-right:112px!important}
/* commentaires */
body.groups.single-item #buddypress #activity-stream .activity-comments{grid-column:2!important;margin:9px 0 0!important;padding:0!important}
body.groups.single-item #buddypress #activity-stream .activity-comments li{margin:5px 0!important;padding:10px 12px!important;border:1px solid rgba(229,190,85,.10)!important;border-radius:12px!important;background:rgba(0,0,0,.07)!important;font-size:14px!important}
/* recherche : plus fine et moins 'formulaire WordPress' */
body.groups.single-item #buddypress .subnav-filters{min-height:0!important;padding:10px 14px!important;border-radius:14px!important}
body.groups.single-item #buddypress .subnav-filters input[type=search],
body.groups.single-item #buddypress .subnav-filters input[type=text],
body.groups.single-item #buddypress .subnav-filters select{min-height:40px!important;height:40px!important;font-size:14px!important}
body.groups.single-item #buddypress .subnav-filters button,
body.groups.single-item #buddypress .subnav-filters input[type=submit]{min-width:40px!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:9px!important}
/* composer plus léger */
body.groups.single-item #buddypress #whats-new-form{padding:14px!important;border-radius:15px!important}
body.groups.single-item #buddypress #whats-new-avatar img{width:42px!important;height:42px!important;border-radius:50%!important}
body.groups.single-item #buddypress #whats-new-content{margin-left:56px!important}
body.groups.single-item #buddypress #whats-new-textarea textarea,
body.groups.single-item #buddypress #whats-new-textarea #whats-new{min-height:46px!important;padding:11px 14px!important;font-size:14px!important;border-radius:11px!important}


/* v2.8 — finition du flux social privé */
body.groups.single-item #buddypress #activity-stream>li,
body.groups.single-item #buddypress #activity-stream>li.lec-system-activity,
body.groups.single-item #buddypress #activity-stream>li.lec-rich-activity{grid-template-columns:40px minmax(0,1fr)!important;column-gap:14px!important;padding:12px 14px!important;min-height:0!important;border-bottom:1px solid rgba(229,190,85,.09)!important;background:transparent!important}
body.groups.single-item #buddypress #activity-stream>li.lec-rich-activity{margin:4px 0!important;border:1px solid rgba(229,190,85,.11)!important;border-radius:14px!important;background:rgba(255,255,255,.015)!important;padding:14px!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar{width:40px!important;align-self:start!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{width:40px!important;height:40px!important}
body.groups.single-item #buddypress #activity-stream .activity-content{margin:0!important;padding:0 104px 0 0!important;min-height:40px!important}
body.groups.single-item #buddypress #activity-stream .activity-header,
body.groups.single-item #buddypress #activity-stream .activity-header p,
body.groups.single-item #buddypress #activity-stream .activity-header a{font-size:14px!important;line-height:1.4!important}
body.groups.single-item #buddypress #activity-stream .activity-header>a:first-child,
body.groups.single-item #buddypress #activity-stream .activity-header p>a:first-child{color:#FFFFFF!important;font-weight:700!important}
body.groups.single-item #buddypress #activity-stream .activity-header .lec-territory-name{color:#F6E39A!important;font-weight:650!important}
body.groups.single-item #buddypress #activity-stream .activity-header .time-since,
body.groups.single-item #buddypress #activity-stream .activity-time-since{top:13px!important;right:14px!important;font-size:14px!important;color:rgba(255,255,255,.40)!important}
body.groups.single-item #buddypress #activity-stream .activity-inner{margin-top:5px!important;max-width:780px!important;font-size:14px!important;line-height:1.5!important;color:rgba(255,255,255,.86)!important}
body.groups.single-item #buddypress #activity-stream .activity-inner p,
body.groups.single-item #buddypress #activity-stream .activity-inner div{font-size:14px!important;line-height:1.5!important}
body.groups.single-item #buddypress #activity-stream .activity-meta{gap:14px!important;margin-top:6px!important;min-height:18px!important}
body.groups.single-item #buddypress #activity-stream .activity-meta a,
body.groups.single-item #buddypress #activity-stream .activity-meta button,
body.groups.single-item #buddypress #activity-stream .activity-meta .button{font-size:14px!important;line-height:1.25!important;padding:0!important;min-width:0!important;min-height:0!important;color:rgba(255,255,255,.50)!important}
body.groups.single-item #buddypress #activity-stream>li.lec-system-activity .activity-meta{margin-top:4px!important}
body.groups.single-item #buddypress #activity-stream .activity-read-more a,
body.groups.single-item #buddypress #activity-stream a.lec-read-more{display:inline!important;padding:0!important;border:0!important;background:transparent!important;color:#E5BE55!important;font-size:14px!important;font-weight:650!important;text-transform:none!important;box-shadow:none!important}
body.groups.single-item #buddypress .subnav-filters .feed{opacity:.6!important}
body.groups.single-item #buddypress .subnav-filters input[type="search"],
body.groups.single-item #buddypress .subnav-filters input[type="text"]{min-width:280px!important;font-size:14px!important}
body.groups.single-item #buddypress .subnav-filters select{font-size:14px!important}


/* v2.9 — Flux Activité : composition réseau social privé, nette et éditoriale. */
body.groups.single-item #buddypress #activity-stream{margin-top:12px!important}
body.groups.single-item #buddypress #activity-stream>li,
body.groups.single-item #buddypress #activity-stream>li.lec-rich-activity,
body.groups.single-item #buddypress #activity-stream>li.lec-system-activity{
 display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:0 14px!important;
 margin:0!important;padding:18px 10px!important;border:0!important;border-bottom:1px solid rgba(229,190,85,.10)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important
}
body.groups.single-item #buddypress #activity-stream>li.lec-social-event{padding-top:14px!important;padding-bottom:14px!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar{grid-column:1!important;grid-row:1!important;width:42px!important;margin:0!important;padding:0!important;align-self:start!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{display:block!important;width:42px!important;height:42px!important;margin:0!important;border-radius:50%!important;object-fit:cover!important}
body.groups.single-item #buddypress #activity-stream .activity-content{grid-column:2!important;grid-row:1!important;margin:0!important;padding:0!important;min-width:0!important;min-height:42px!important}
body.groups.single-item #buddypress #activity-stream .activity-header{margin:0!important;padding:0!important;min-height:0!important}
body.groups.single-item #buddypress #activity-stream .lec-social-head{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:18px!important;width:100%!important;margin:0!important;padding:0!important}
body.groups.single-item #buddypress #activity-stream .lec-social-main{display:flex!important;align-items:baseline!important;gap:4px!important;min-width:0!important;flex-wrap:wrap!important;font-size:14px!important;line-height:1.45!important}
body.groups.single-item #buddypress #activity-stream .lec-social-author{color:#FFFFFF!important;font-size:14px!important;font-weight:700!important;text-transform:none!important;text-decoration:none!important}
body.groups.single-item #buddypress #activity-stream .lec-social-action{color:rgba(255,255,255,.66)!important;font-size:14px!important;font-weight:400!important}
body.groups.single-item #buddypress #activity-stream .lec-social-territory{color:#E5BE55!important;font-size:14px!important;font-weight:650!important;text-decoration:none!important}
body.groups.single-item #buddypress #activity-stream .lec-social-date{flex:0 0 auto!important;color:rgba(255,255,255,.38)!important;font-size:14px!important;font-weight:400!important;white-space:nowrap!important}
body.groups.single-item #buddypress #activity-stream .activity-inner{margin:7px 0 0!important;padding:0!important;max-width:760px!important;color:rgba(255,255,255,.86)!important;font-size:14px!important;line-height:1.55!important}
body.groups.single-item #buddypress #activity-stream .activity-inner p,
body.groups.single-item #buddypress #activity-stream .activity-inner div{font-size:14px!important;line-height:1.55!important}
body.groups.single-item #buddypress #activity-stream .lec-social-topic{display:block!important;margin:0 0 5px!important;color:#FFFFFF!important;font-size:15px!important;line-height:1.4!important;font-weight:700!important;text-decoration:none!important}
body.groups.single-item #buddypress #activity-stream .lec-social-topic:hover{color:#F6E39A!important}
body.groups.single-item #buddypress #activity-stream .activity-meta{display:flex!important;align-items:center!important;gap:14px!important;margin:8px 0 0!important;padding:0!important;min-height:0!important;background:transparent!important;border:0!important}
body.groups.single-item #buddypress #activity-stream .activity-meta a,
body.groups.single-item #buddypress #activity-stream .activity-meta button,
body.groups.single-item #buddypress #activity-stream .activity-meta .button{padding:0!important;margin:0!important;min-width:0!important;width:auto!important;height:auto!important;min-height:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:rgba(255,255,255,.45)!important;font-size:14px!important;font-weight:500!important;line-height:1.35!important}
body.groups.single-item #buddypress #activity-stream .activity-meta a:hover{color:#E5BE55!important}
body.groups.single-item #buddypress #activity-stream>li.lec-social-event .activity-meta{display:none!important}
body.groups.single-item #buddypress #activity-stream>li.lec-social-event .activity-content{display:flex!important;align-items:center!important;min-height:42px!important}
body.groups.single-item #buddypress #activity-stream>li.lec-social-event .activity-header{width:100%!important}
body.groups.single-item #buddypress #activity-stream .activity-read-more a,
body.groups.single-item #buddypress #activity-stream a.lec-read-more{display:inline!important;margin-left:4px!important;padding:0!important;border:0!important;background:transparent!important;color:#E5BE55!important;font-size:14px!important;font-weight:600!important;text-decoration:none!important;box-shadow:none!important}
/* Barre de recherche : même finesse que le reste de l'interface. */
body.groups.single-item #buddypress .subnav-filters{padding:9px 12px!important;min-height:0!important;border:1px solid rgba(229,190,85,.18)!important;border-radius:14px!important;background:rgba(255,255,255,.018)!important}
body.groups.single-item #buddypress .subnav-filters input[type=search],body.groups.single-item #buddypress .subnav-filters input[type=text]{width:310px!important;min-width:310px!important;height:38px!important;min-height:38px!important;font-size:14px!important}
body.groups.single-item #buddypress .subnav-filters select{height:38px!important;min-height:38px!important;font-size:14px!important}
body.groups.single-item #buddypress .subnav-filters button,body.groups.single-item #buddypress .subnav-filters input[type=submit]{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important}



/* =========================================================
   v3.0 — ACTIVITÉ / RESET FINAL : réseau social privé
   ========================================================= */
body.groups.single-item #buddypress #activity-stream{margin:10px 0 0!important;padding:0!important;background:transparent!important}
body.groups.single-item #buddypress #activity-stream>li{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;column-gap:13px!important;position:relative!important;margin:0!important;padding:14px 10px!important;min-height:66px!important;border:0!important;border-bottom:1px solid rgba(229,190,85,.10)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.groups.single-item #buddypress #activity-stream>li:hover{background:rgba(255,255,255,.018)!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar{grid-column:1!important;width:38px!important;margin:0!important;padding:0!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{width:38px!important;height:38px!important;margin:0!important;border:1px solid rgba(229,190,85,.18)!important;border-radius:50%!important;object-fit:cover!important}
body.groups.single-item #buddypress #activity-stream .activity-content{grid-column:2!important;margin:0!important;padding:0!important;min-width:0!important;min-height:38px!important}
body.groups.single-item #buddypress #activity-stream .activity-header{margin:0!important;padding:0!important;background:none!important;border:0!important;line-height:1.35!important}
body.groups.single-item #buddypress #activity-stream .lec30-head{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:18px!important;width:100%!important}
body.groups.single-item #buddypress #activity-stream .lec30-line{display:flex!important;align-items:baseline!important;gap:4px!important;flex-wrap:wrap!important;min-width:0!important}
body.groups.single-item #buddypress #activity-stream .lec30-author,body.groups.single-item #buddypress #activity-stream .lec30-action,body.groups.single-item #buddypress #activity-stream .lec30-territory,body.groups.single-item #buddypress #activity-stream .lec30-date{font-size:13px!important;line-height:1.4!important;text-transform:none!important;background:none!important;padding:0!important;border:0!important}
body.groups.single-item #buddypress #activity-stream .lec30-author{font-weight:700!important;color:#FFFFFF!important}
body.groups.single-item #buddypress #activity-stream .lec30-action{font-weight:400!important;color:rgba(255,255,255,.62)!important}
body.groups.single-item #buddypress #activity-stream .lec30-territory{font-weight:650!important;color:#E5BE55!important;text-decoration:none!important}
body.groups.single-item #buddypress #activity-stream .lec30-date{margin-left:auto!important;flex:0 0 auto!important;color:rgba(255,255,255,.38)!important;white-space:nowrap!important}
body.groups.single-item #buddypress #activity-stream .activity-inner{max-width:760px!important;margin:5px 0 0!important;padding:0!important;border:0!important;background:none!important;color:rgba(255,255,255,.82)!important;font-size:13px!important;line-height:1.48!important}
body.groups.single-item #buddypress #activity-stream .activity-inner p,body.groups.single-item #buddypress #activity-stream .activity-inner div{margin:0 0 3px!important;font-size:13px!important;line-height:1.48!important}
body.groups.single-item #buddypress #activity-stream .activity-meta{display:flex!important;gap:12px!important;margin:6px 0 0!important;padding:0!important;border:0!important;background:none!important}
body.groups.single-item #buddypress #activity-stream .activity-meta a,body.groups.single-item #buddypress #activity-stream .activity-meta button,body.groups.single-item #buddypress #activity-stream .activity-meta .button{width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:rgba(255,255,255,.42)!important;font-size:12px!important;line-height:1.3!important}
body.groups.single-item #buddypress #activity-stream>li.lec-event{min-height:58px!important;padding-top:10px!important;padding-bottom:10px!important}
body.groups.single-item #buddypress #activity-stream>li.lec-event .activity-content{display:flex!important;align-items:center!important}
body.groups.single-item #buddypress #activity-stream>li.lec-event .activity-meta,body.groups.single-item #buddypress #activity-stream>li.lec-event .activity-inner{display:none!important}
/* compositeur et filtres : moins "formulaire WordPress" */
body.groups.single-item #buddypress #whats-new-form{margin:0 0 10px!important;padding:10px 12px!important;border:1px solid rgba(229,190,85,.15)!important;border-radius:15px!important;background:rgba(255,255,255,.018)!important;box-shadow:none!important}
body.groups.single-item #buddypress #whats-new-avatar img{width:38px!important;height:38px!important;border-radius:50%!important}
body.groups.single-item #buddypress #whats-new-content{margin-left:50px!important}
body.groups.single-item #buddypress #whats-new-textarea textarea,body.groups.single-item #buddypress #whats-new-textarea #whats-new{min-height:40px!important;padding:10px 14px!important;border:1px solid rgba(229,190,85,.15)!important;border-radius:20px!important;background:rgba(0,0,0,.10)!important;color:#FFFFFF!important;font-size:13px!important;box-shadow:none!important}
body.groups.single-item #buddypress .subnav-filters{margin:0 0 10px!important;padding:7px 9px!important;border:1px solid rgba(229,190,85,.13)!important;border-radius:13px!important;background:rgba(255,255,255,.012)!important;box-shadow:none!important}
body.groups.single-item #buddypress .subnav-filters input[type=search],body.groups.single-item #buddypress .subnav-filters input[type=text],body.groups.single-item #buddypress .subnav-filters select{height:34px!important;min-height:34px!important;font-size:13px!important}
body.groups.single-item #buddypress .subnav-filters button,body.groups.single-item #buddypress .subnav-filters input[type=submit]{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important}



/* v3.1 — finition flux social, priorité maximale */
body.groups.single-item #buddypress #activity-stream>li{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;gap:0 12px!important;margin:0!important;padding:13px 14px!important;min-height:62px!important;border:0!important;border-bottom:1px solid rgba(229,190,85,.10)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.groups.single-item #buddypress #activity-stream>li:hover{background:rgba(255,255,255,.018)!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar,body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{width:36px!important;height:36px!important;margin:0!important;padding:0!important;border-radius:50%!important;object-fit:cover!important}
body.groups.single-item #buddypress #activity-stream .activity-content{margin:0!important;padding:0!important;min-width:0!important}
body.groups.single-item #buddypress #activity-stream .activity-header{margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.groups.single-item #buddypress #activity-stream .lec31-head{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:20px!important;width:100%!important}
body.groups.single-item #buddypress #activity-stream .lec31-main{display:flex!important;align-items:baseline!important;gap:4px!important;flex-wrap:wrap!important;min-width:0!important}
body.groups.single-item #buddypress #activity-stream .lec31-author,body.groups.single-item #buddypress #activity-stream .lec31-action,body.groups.single-item #buddypress #activity-stream .lec31-topic,body.groups.single-item #buddypress #activity-stream .lec31-territory,body.groups.single-item #buddypress #activity-stream .lec31-date{font-size:12.5px!important;line-height:1.4!important;margin:0!important;padding:0!important;border:0!important;background:none!important;text-transform:none!important;box-shadow:none!important}
body.groups.single-item #buddypress #activity-stream .lec31-author{font-weight:700!important;color:#FFFFFF!important}
body.groups.single-item #buddypress #activity-stream .lec31-action{font-weight:400!important;color:rgba(255,255,255,.62)!important}
body.groups.single-item #buddypress #activity-stream .lec31-topic{font-weight:650!important;color:#F6E39A!important;text-decoration:none!important}
body.groups.single-item #buddypress #activity-stream .lec31-territory{font-weight:650!important;color:#E5BE55!important;text-decoration:none!important}
body.groups.single-item #buddypress #activity-stream .lec31-date{margin-left:auto!important;flex:0 0 auto!important;color:rgba(255,255,255,.38)!important;white-space:nowrap!important}
body.groups.single-item #buddypress #activity-stream .activity-inner{max-width:720px!important;margin:5px 0 0!important;padding:0!important;color:rgba(255,255,255,.82)!important;font-size:12.5px!important;line-height:1.48!important;background:none!important;border:0!important}
body.groups.single-item #buddypress #activity-stream .activity-inner p,body.groups.single-item #buddypress #activity-stream .activity-inner div{font-size:12.5px!important;line-height:1.48!important;margin:0 0 2px!important}
body.groups.single-item #buddypress #activity-stream .activity-meta{display:flex!important;align-items:center!important;gap:11px!important;margin:6px 0 0!important;padding:0!important;border:0!important;background:none!important}
body.groups.single-item #buddypress #activity-stream .activity-meta a,body.groups.single-item #buddypress #activity-stream .activity-meta button,body.groups.single-item #buddypress #activity-stream .activity-meta .button{width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:rgba(255,255,255,.42)!important;font-size:11.5px!important;line-height:1.25!important}
body.groups.single-item #buddypress #activity-stream>li.lec31-join{padding-top:10px!important;padding-bottom:10px!important;min-height:54px!important}
body.groups.single-item #buddypress #activity-stream>li.lec31-join .activity-content{display:flex!important;align-items:center!important;min-height:36px!important}
body.groups.single-item #buddypress #activity-stream>li.lec31-join .activity-meta,body.groups.single-item #buddypress #activity-stream>li.lec31-join .activity-inner{display:none!important}
body.groups.single-item #buddypress #activity-stream .activity-read-more a{font-size:11.5px!important;color:#E5BE55!important;background:none!important;border:0!important;padding:0!important}


/* v3.2 — Avatars activité : proportions verrouillées */
body.groups.single-item #buddypress #activity-stream .activity-avatar img,
body.groups.single-item #buddypress #activity-stream img.avatar,
body.groups.single-item #buddypress .activity-list .activity-avatar img.avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    display: block !important;
    flex: 0 0 38px !important;
}

body.groups.single-item #buddypress #activity-stream .activity-comments .acomment-avatar img,
body.groups.single-item #buddypress #activity-stream .activity-comments img.avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    display: block !important;
    flex: 0 0 30px !important;
}

/* =========================================================
   v3.3 — ACTIVITÉ : respiration + répartition éditoriale
   Avatar | contenu | date, sans écrasement vertical
   ========================================================= */
body.groups.single-item #buddypress #activity-stream > li,
body.groups.single-item #buddypress #activity-stream > li.lec31-join,
body.groups.single-item #buddypress #activity-stream > li.lec31-content{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    column-gap:18px!important;
    align-items:start!important;
    margin:0!important;
    padding:20px 18px!important;
    min-height:82px!important;
    border:0!important;
    border-bottom:1px solid rgba(229,190,85,.12)!important;
    background:transparent!important;
}
body.groups.single-item #buddypress #activity-stream > li:hover{background:rgba(255,255,255,.022)!important}
body.groups.single-item #buddypress #activity-stream .activity-avatar{
    grid-column:1!important;
    grid-row:1!important;
    width:42px!important;
    margin:0!important;
    padding:0!important;
}
body.groups.single-item #buddypress #activity-stream .activity-avatar img,
body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{
    width:42px!important;height:42px!important;min-width:42px!important;max-width:42px!important;
    min-height:42px!important;max-height:42px!important;aspect-ratio:1/1!important;object-fit:cover!important;
    border-radius:50%!important;
}
body.groups.single-item #buddypress #activity-stream .activity-content{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
}
body.groups.single-item #buddypress #activity-stream .lec31-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 125px!important;
    align-items:start!important;
    gap:20px!important;
    width:100%!important;
    min-height:22px!important;
}
body.groups.single-item #buddypress #activity-stream .lec31-main{
    display:flex!important;
    align-items:baseline!important;
    flex-wrap:wrap!important;
    column-gap:4px!important;
    row-gap:3px!important;
    min-width:0!important;
}
body.groups.single-item #buddypress #activity-stream .lec31-date{
    grid-column:2!important;
    justify-self:end!important;
    margin:1px 0 0!important;
    text-align:right!important;
    white-space:nowrap!important;
    font-size:12px!important;
    color:rgba(255,255,255,.46)!important;
}
body.groups.single-item #buddypress #activity-stream .lec31-author,
body.groups.single-item #buddypress #activity-stream .lec31-action,
body.groups.single-item #buddypress #activity-stream .lec31-topic,
body.groups.single-item #buddypress #activity-stream .lec31-territory{
    font-size:13px!important;
    line-height:1.45!important;
}
body.groups.single-item #buddypress #activity-stream .lec31-author{font-weight:700!important;color:#FFFFFF!important}
body.groups.single-item #buddypress #activity-stream .lec31-action{font-weight:400!important;color:rgba(255,255,255,.67)!important}
body.groups.single-item #buddypress #activity-stream .lec31-topic,
body.groups.single-item #buddypress #activity-stream .lec31-territory{font-weight:650!important;color:#F6D96A!important}
/* Les petits logos de groupe injectés par BuddyPress n'ont pas leur place dans la phrase d'activité. */
body.groups.single-item #buddypress #activity-stream .activity-header img{display:none!important}
body.groups.single-item #buddypress #activity-stream .activity-inner{
    max-width:790px!important;
    margin:9px 0 0!important;
    padding:0!important;
    font-size:13px!important;
    line-height:1.58!important;
    color:rgba(255,255,255,.88)!important;
}
body.groups.single-item #buddypress #activity-stream .activity-inner p,
body.groups.single-item #buddypress #activity-stream .activity-inner div{
    margin:0 0 5px!important;
    font-size:13px!important;
    line-height:1.58!important;
}
body.groups.single-item #buddypress #activity-stream .activity-meta{
    display:flex!important;
    align-items:center!important;
    gap:15px!important;
    margin:10px 0 0!important;
    min-height:20px!important;
}
body.groups.single-item #buddypress #activity-stream .activity-meta a,
body.groups.single-item #buddypress #activity-stream .activity-meta button,
body.groups.single-item #buddypress #activity-stream .activity-meta .button{
    font-size:12px!important;
    line-height:1.3!important;
    color:rgba(255,255,255,.48)!important;
}
/* Adhésions : une vraie ligne sociale, mais avec de l'air. */
body.groups.single-item #buddypress #activity-stream > li.lec31-join{
    padding-top:17px!important;
    padding-bottom:17px!important;
    min-height:76px!important;
}
body.groups.single-item #buddypress #activity-stream > li.lec31-join .activity-content{
    display:block!important;
    min-height:42px!important;
    padding-top:9px!important;
}
body.groups.single-item #buddypress #activity-stream > li.lec31-join .lec31-main{flex-wrap:nowrap!important;overflow:hidden!important}
body.groups.single-item #buddypress #activity-stream > li.lec31-join .lec31-author,
body.groups.single-item #buddypress #activity-stream > li.lec31-join .lec31-action,
body.groups.single-item #buddypress #activity-stream > li.lec31-join .lec31-territory{white-space:nowrap!important}
/* Les publications ont davantage de respiration que les événements système. */
body.groups.single-item #buddypress #activity-stream > li.lec31-content{padding-top:21px!important;padding-bottom:21px!important}
body.groups.single-item #buddypress #activity-stream > li.lec31-content .activity-content{padding-top:1px!important}
body.groups.single-item #buddypress #activity-stream .activity-read-more a{font-size:12px!important;margin-left:6px!important;color:#E5BE55!important}


/* =========================================================
   v3.4 — correction structure flux + navigation resserrée
   ========================================================= */
/* Le texte ne doit jamais passer sous/devant l'avatar. */
body.groups.single-item #buddypress #activity-stream > li,
body.groups.single-item #buddypress #activity-stream > li.lec31-join,
body.groups.single-item #buddypress #activity-stream > li.lec31-content{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  column-gap:16px!important;
  align-items:start!important;
  padding:18px 18px!important;
}
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar{
  position:static!important;float:none!important;
  grid-column:1!important;grid-row:1!important;
  width:44px!important;height:44px!important;
  margin:0!important;padding:0!important;
  align-self:start!important;z-index:1!important;
}
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar a{display:block!important;width:44px!important;height:44px!important}
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar img,
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar img.avatar{
  width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;
  min-height:44px!important;max-height:44px!important;display:block!important;margin:0!important;
  aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;border-radius:50%!important;
}
body.groups.single-item #buddypress #activity-stream > li > .activity-content{
  position:static!important;float:none!important;
  grid-column:2!important;grid-row:1!important;
  width:auto!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;
}
body.groups.single-item #buddypress #activity-stream .activity-header,
body.groups.single-item #buddypress #activity-stream .lec31-head,
body.groups.single-item #buddypress #activity-stream .lec31-main{min-width:0!important}
body.groups.single-item #buddypress #activity-stream .lec31-head{grid-template-columns:minmax(0,1fr) 110px!important;gap:14px!important}
body.groups.single-item #buddypress #activity-stream .activity-inner{max-width:760px!important}

/* Navigation : même langage visuel partout, mais beaucoup moins étalée. */
body.groups.single-item #buddypress #item-nav,
body.groups.single-item #buddypress #object-nav,
body.groups.single-item #buddypress .item-list-tabs#object-nav,
body.groups.single-item #buddypress .main-navs#object-nav{
  margin:16px 0 14px!important;padding:6px 8px!important;border-radius:14px!important;
}
body.groups.single-item #buddypress #item-nav ul,
body.groups.single-item #buddypress #object-nav ul,
body.groups.single-item #buddypress #item-nav .bp-navs ul,
body.groups.single-item #buddypress #object-nav .bp-navs ul{
  justify-content:flex-start!important;gap:3px!important;flex-wrap:nowrap!important;
}
body.groups.single-item #buddypress #item-nav li,
body.groups.single-item #buddypress #object-nav li{flex:0 0 auto!important}
body.groups.single-item #buddypress #item-nav li a,
body.groups.single-item #buddypress #object-nav li a,
body.groups.single-item #buddypress #item-nav li a:hover,
body.groups.single-item #buddypress #object-nav li a:hover{
  min-height:36px!important;padding:0 13px!important;border-radius:9px!important;
  font-size:13px!important;letter-spacing:.005em!important;gap:6px!important;
}
body.groups.single-item #buddypress #item-nav .count,
body.groups.single-item #buddypress #object-nav .count{
  min-width:19px!important;height:19px!important;padding:0 5px!important;font-size:11px!important;
}
/* Inviter/Gérer ne sont plus repoussés aux deux extrémités. */
body.groups.single-item #buddypress #item-nav li#invite-groups-li,
body.groups.single-item #buddypress #object-nav li#invite-groups-li,
body.groups.single-item #buddypress #item-nav li#admin-groups-li,
body.groups.single-item #buddypress #object-nav li#admin-groups-li{margin-left:0!important}



/* =========================================================
   v3.5 — compositeur social + barre outils compacte + menu resserré
   ========================================================= */
/* Navigation de groupe : groupe compact, même rythme partout. */
body.groups.single-item #buddypress #item-nav,
body.groups.single-item #buddypress #object-nav,
body.groups.single-item #buddypress .item-list-tabs#object-nav,
body.groups.single-item #buddypress .main-navs#object-nav{
  padding:5px 10px!important;
  margin:14px 0 14px!important;
  border-radius:14px!important;
}
body.groups.single-item #buddypress #item-nav ul,
body.groups.single-item #buddypress #object-nav ul,
body.groups.single-item #buddypress #item-nav .bp-navs ul,
body.groups.single-item #buddypress #object-nav .bp-navs ul{
  min-height:46px!important;
  justify-content:center!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}
body.groups.single-item #buddypress #item-nav li,
body.groups.single-item #buddypress #object-nav li,
body.groups.single-item #buddypress #item-nav li#invite-groups-li,
body.groups.single-item #buddypress #object-nav li#invite-groups-li,
body.groups.single-item #buddypress #item-nav li#admin-groups-li,
body.groups.single-item #buddypress #object-nav li#admin-groups-li{margin:0!important;flex:0 0 auto!important}
body.groups.single-item #buddypress #item-nav li a,
body.groups.single-item #buddypress #object-nav li a,
body.groups.single-item #buddypress #item-nav li a:hover,
body.groups.single-item #buddypress #object-nav li a:hover,
body.groups.single-item #buddypress #item-nav li.current a,
body.groups.single-item #buddypress #object-nav li.current a,
body.groups.single-item #buddypress #item-nav li.selected a,
body.groups.single-item #buddypress #object-nav li.selected a{
  min-height:34px!important;
  padding:0 11px!important;
  border-radius:9px!important;
  font-size:13px!important;
  line-height:1!important;
}
body.groups.single-item #buddypress #item-nav .count,
body.groups.single-item #buddypress #object-nav .count{min-width:18px!important;height:18px!important;margin-left:5px!important;padding:0 5px!important;font-size:10px!important}

/* Compositeur : une seule carte, avatar + invitation sur la même ligne. */
body.groups.single-item #buddypress #whats-new-form{
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:12px!important;
  min-height:64px!important;
  margin:0 0 10px!important;
  padding:10px 12px!important;
  border:1px solid rgba(229,190,85,.18)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.025)!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #whats-new-avatar{
  grid-column:1!important;
  position:static!important;
  float:none!important;
  width:32px!important;
  height:32px!important;
  margin:0!important;
  padding:0!important;
}
body.groups.single-item #buddypress #whats-new-avatar img,
body.groups.single-item #buddypress #whats-new-avatar img.avatar{
  display:block!important;
  width:32px!important;height:32px!important;
  min-width:32px!important;max-width:32px!important;
  min-height:32px!important;max-height:32px!important;
  aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important;
  border:1px solid rgba(229,190,85,.25)!important;border-radius:50%!important;box-shadow:none!important;
}
body.groups.single-item #buddypress #whats-new-content{
  grid-column:2!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.groups.single-item #buddypress #whats-new-textarea{margin:0!important;padding:0!important}
body.groups.single-item #buddypress #whats-new-textarea textarea,
body.groups.single-item #buddypress #whats-new-textarea #whats-new{
  display:block!important;
  width:100%!important;
  min-height:44px!important;
  height:44px!important;
  margin:0!important;
  padding:11px 16px!important;
  overflow:hidden!important;
  resize:none!important;
  border:1px solid rgba(229,190,85,.16)!important;
  border-radius:22px!important;
  background:rgba(0,0,0,.10)!important;
  color:#FFFFFF!important;
  font-size:13px!important;
  line-height:20px!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #whats-new-options{grid-column:2!important;margin:8px 0 0!important;padding:0!important}

/* Recherche / filtre : simple barre secondaire, plus de boîte massive. */
body.groups.single-item #buddypress .subnav-filters{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:48px!important;
  margin:0 0 12px!important;
  padding:6px 10px!important;
  border:1px solid rgba(229,190,85,.14)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.014)!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress .subnav-filters .feed,
body.groups.single-item #buddypress .subnav-filters .feed a{opacity:.42!important}
body.groups.single-item #buddypress .subnav-filters .feed{margin:0 2px 0 0!important}
body.groups.single-item #buddypress .subnav-filters .feed a{width:28px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.groups.single-item #buddypress .subnav-filters .search-form,
body.groups.single-item #buddypress .subnav-filters .bp-search,
body.groups.single-item #buddypress .subnav-filters .dir-search{margin:0!important}
body.groups.single-item #buddypress .subnav-filters input[type=search],
body.groups.single-item #buddypress .subnav-filters input[type=text]{
  width:250px!important;min-width:0!important;
  height:34px!important;min-height:34px!important;
  padding:0 12px!important;
  border-radius:9px!important;
  font-size:12.5px!important;
}
body.groups.single-item #buddypress .subnav-filters button,
body.groups.single-item #buddypress .subnav-filters input[type=submit]{
  width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;
  margin-left:-8px!important;padding:0!important;border-radius:0 9px 9px 0!important;
}
body.groups.single-item #buddypress .subnav-filters .last,
body.groups.single-item #buddypress .subnav-filters .filter{margin-left:auto!important}
body.groups.single-item #buddypress .subnav-filters select{
  width:auto!important;min-width:150px!important;max-width:190px!important;
  height:34px!important;min-height:34px!important;
  padding:0 30px 0 11px!important;
  border-radius:9px!important;font-size:12.5px!important;
}

/* Flux : référence validée 22 px, avec une vraie colonne réservée. */
body.groups.single-item #buddypress #activity-stream > li,
body.groups.single-item #buddypress #activity-stream > li.lec31-join,
body.groups.single-item #buddypress #activity-stream > li.lec31-content{
  grid-template-columns:30px minmax(0,1fr)!important;
  column-gap:10px!important;
}
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar,
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar a{
  width:22px!important;height:22px!important;
}
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar img,
body.groups.single-item #buddypress #activity-stream > li > .activity-avatar img.avatar,
body.groups.single-item #buddypress #activity-stream .activity-avatar img,
body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{
  width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;
  min-height:22px!important;max-height:22px!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:50%!important;
}



/* =========================================================
   v3.6 — finition navigation + recherche
   ========================================================= */
/* Menu : compact, propre et volontairement aligné à gauche. */
body.groups.single-item #buddypress #item-nav,
body.groups.single-item #buddypress #object-nav,
body.groups.single-item #buddypress .item-list-tabs#object-nav,
body.groups.single-item #buddypress .main-navs#object-nav{
  padding:5px 12px!important;
}
body.groups.single-item #buddypress #item-nav ul,
body.groups.single-item #buddypress #object-nav ul,
body.groups.single-item #buddypress #item-nav .bp-navs ul,
body.groups.single-item #buddypress #object-nav .bp-navs ul{
  justify-content:flex-start!important;
  gap:4px!important;
  padding:0!important;
  margin:0!important;
}
body.groups.single-item #buddypress #item-nav li a,
body.groups.single-item #buddypress #object-nav li a,
body.groups.single-item #buddypress #item-nav li a:hover,
body.groups.single-item #buddypress #object-nav li a:hover,
body.groups.single-item #buddypress #item-nav li.current a,
body.groups.single-item #buddypress #object-nav li.current a,
body.groups.single-item #buddypress #item-nav li.selected a,
body.groups.single-item #buddypress #object-nav li.selected a{
  min-height:34px!important;
  padding:0 12px!important;
  margin:0!important;
}

/* Barre outils : tous les contrôles sur le même axe. */
body.groups.single-item #buddypress .subnav-filters{
  gap:6px!important;
  min-height:46px!important;
  padding:6px 10px!important;
}
body.groups.single-item #buddypress .subnav-filters .feed{
  flex:0 0 28px!important;
  width:28px!important;
}
body.groups.single-item #buddypress .subnav-filters .feed a{
  width:28px!important;
  height:34px!important;
  padding:0!important;
}
body.groups.single-item #buddypress .subnav-filters .search-form,
body.groups.single-item #buddypress .subnav-filters .bp-search,
body.groups.single-item #buddypress .subnav-filters .dir-search,
body.groups.single-item #buddypress .subnav-filters form{
  display:flex!important;
  align-items:stretch!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
}
body.groups.single-item #buddypress .subnav-filters input[type=search],
body.groups.single-item #buddypress .subnav-filters input[type=text]{
  width:245px!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0 12px!important;
  border-radius:8px 0 0 8px!important;
  line-height:34px!important;
  box-sizing:border-box!important;
}
body.groups.single-item #buddypress .subnav-filters button,
body.groups.single-item #buddypress .subnav-filters input[type=submit]{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 36px!important;
  width:36px!important;
  min-width:36px!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  line-height:1!important;
  text-align:center!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
}
body.groups.single-item #buddypress .subnav-filters button span,
body.groups.single-item #buddypress .subnav-filters button:before,
body.groups.single-item #buddypress .subnav-filters button:after{
  position:static!important;
  inset:auto!important;
  margin:0!important;
  transform:none!important;
  line-height:1!important;
}
body.groups.single-item #buddypress .subnav-filters .last,
body.groups.single-item #buddypress .subnav-filters .filter{
  margin-left:2px!important;
}
body.groups.single-item #buddypress .subnav-filters select{
  min-width:150px!important;
  max-width:175px!important;
  height:34px!important;
  margin:0!important;
  border-radius:8px!important;
  box-sizing:border-box!important;
}



/* ==========================================================
   v3.7 — Ajustements validés interface groupes
   ========================================================== */
body.groups.single-item #buddypress #item-body button {
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(100deg, #F6E39A 0%, #D9AE37 55%, #A9780B 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 11px 18px !important;
  box-shadow: none !important;
}

.buddypress-wrap .subnav-filters div {
  margin: 8px !important;
}

body.groups.single-item #buddypress #object-nav ul,
body.groups.single-item #buddypress nav#object-nav ul {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
}

/* ==========================================================
   v3.8 — Discussions : cohérence visuelle avec l'espace groupe
   ========================================================== */
body.groups.single-item #buddypress #item-body #bbpress-forums{
  color:#FFFFFF!important;
}

/* En-tête éditorial : même rythme que les autres rubriques. */
body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-intro{
  align-items:flex-end!important;
  margin:0 0 18px!important;
  padding:2px 0 18px!important;
  border-bottom:1px solid rgba(217,174,55,.22)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-intro h2{
  margin:0 0 6px!important;
  color:#fff!important;
  font-size:20px!important;
  font-weight:700!important;
  line-height:1.25!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-intro p{
  margin:0!important;
  max-width:760px!important;
  color:rgba(255,255,255,.78)!important;
  font-size:14px!important;
  line-height:1.55!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-kicker{
  margin-bottom:6px!important;
  color:#D9AE37!important;
  font-size:12px!important;
  font-weight:800!important;
  letter-spacing:.14em!important;
}

/* Tags, abonnement et actions : secondaires, lisibles, sans cartouches noirs. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-tags,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-tags p{
  color:rgba(255,255,255,.72)!important;
  font-size:13px!important;
  line-height:1.7!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-tags a,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-forum-subscription-link a,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-subscription-link a{
  display:inline!important;
  margin:0 3px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#F6E39A!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:700!important;
  text-decoration:none!important;
}

/* Sujet / réponses : suppression du grand panneau blanc bbPress. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies,
body.groups.single-item #buddypress #item-body #bbpress-forums ul.bbp-replies{
  margin:14px 0 0!important;
  border:1px solid rgba(217,174,55,.20)!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.018)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies li.bbp-header,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies li.bbp-footer{
  display:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies .bbp-body{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-header{
  min-height:38px!important;
  padding:9px 12px!important;
  border:0!important;
  border-bottom:1px solid rgba(217,174,55,.15)!important;
  background:rgba(255,255,255,.035)!important;
  color:rgba(255,255,255,.68)!important;
  font-size:12px!important;
  line-height:20px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-header a{
  color:#F6E39A!important;
  text-decoration:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-admin-links{
  float:right!important;
  color:rgba(255,255,255,.28)!important;
  font-size:11px!important;
  white-space:normal!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-admin-links a{
  display:inline!important;
  margin:0 0 0 8px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:rgba(246,227,154,.82)!important;
  font-size:11px!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .topic,
body.groups.single-item #buddypress #item-body #bbpress-forums .reply,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content{
  background:transparent!important;
  color:#FFFFFF!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-author,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-author{
  width:112px!important;
  padding:18px 10px 18px 14px!important;
  color:rgba(255,255,255,.68)!important;
  font-size:11px!important;
  text-align:left!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-author img.avatar,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-author img.avatar{
  display:block!important;
  width:44px!important;
  height:44px!important;
  margin:0 0 8px!important;
  border:1px solid rgba(217,174,55,.28)!important;
  border-radius:50%!important;
  object-fit:cover!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-author .bbp-author-name,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-author .bbp-author-name{
  display:block!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.35!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content{
  margin-left:112px!important;
  min-height:120px!important;
  padding:20px 22px!important;
  border-left:1px solid rgba(255,255,255,.07)!important;
  color:#FFFFFF!important;
  font-size:14px!important;
  line-height:1.7!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content p,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content p,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content li,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content li{
  color:#FFFFFF!important;
  font-size:14px!important;
  line-height:1.7!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content a,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content a{
  color:#F6E39A!important;
}

/* Formulaire de réponse : une seule carte, moins de cadres imbriqués. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form,
body.groups.single-item #buddypress #item-body #bbpress-forums form#new-post.bbp-reply-form{
  margin-top:22px!important;
  padding:20px!important;
  border:1px solid rgba(217,174,55,.20)!important;
  border-radius:0!important;
  background:rgba(255,255,255,.025)!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form fieldset.bbp-form{
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form legend{
  margin:0 0 16px!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:700!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-template-notice{
  margin:0 0 14px!important;
  padding:9px 11px!important;
  border:1px solid rgba(217,174,55,.35)!important;
  border-radius:0!important;
  background:rgba(217,174,55,.04)!important;
  color:rgba(255,255,255,.72)!important;
  font-size:12px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .quicktags-toolbar{
  padding:6px!important;
  border:1px solid rgba(217,174,55,.18)!important;
  border-bottom:0!important;
  border-radius:0!important;
  background:rgba(255,255,255,.025)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .quicktags-toolbar input.button{
  min-height:28px!important;
  margin:2px!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:700!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .wp-editor-container,
body.groups.single-item #buddypress #item-body #bbpress-forums textarea.bbp-the-content{
  border-radius:0!important;
  background:#0B3F3C!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form input[type=text],
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form input[type=password],
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form select{
  border-radius:0!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-submit-wrapper button.submit,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-submit-wrapper input[type=submit]{
  min-height:40px!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:800!important;
}



/* ==========================================================
   v3.9 — Discussions : sujet continu, lisible, sans héritage blanc bbPress
   ========================================================== */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies .bbp-body > div,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies .bbp-body > div.topic,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies .bbp-body > div.reply{
  margin:0!important;
  border:0!important;
  border-bottom:1px solid rgba(217,174,55,.12)!important;
  background:#164f4b!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-replies .bbp-body > div:last-child{border-bottom:0!important}

/* Colonne auteur et contenu appartiennent désormais à une même carte. */
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-author,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-author{
  background:transparent!important;
  color:rgba(255,255,255,.66)!important;
  border:0!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-author .bbp-author-role,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-author .bbp-author-role{
  color:rgba(246,227,154,.62)!important;
  font-size:10px!important;
  font-style:normal!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-author-ip{display:none!important}

/* Neutralise les fonds blancs hérités du thème dans le corps des messages. */
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content > *,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content > *,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content p,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content p,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content ul,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content ul,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content ol,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content ol{
  background:transparent!important;
  background-color:transparent!important;
  color:#FFFFFF!important;
  border:0!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content p,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content p{
  margin:0 0 14px!important;
  padding:0!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-reply-content p:last-child,
body.groups.single-item #buddypress #item-body #bbpress-forums div.bbp-topic-content p:last-child{margin-bottom:0!important}

/* Barre du message : plus légère et réellement secondaire. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-header{
  background:#124743!important;
  padding:8px 12px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-admin-links a{
  margin-left:7px!important;
  color:rgba(246,227,154,.78)!important;
  font-size:10px!important;
  letter-spacing:.01em!important;
}

/* Réponse : un seul niveau visuel, pas de double/triple cadre. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form,
body.groups.single-item #buddypress #item-body #bbpress-forums form#new-post.bbp-reply-form{
  margin:22px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-form fieldset.bbp-form{
  margin:0!important;
  padding:22px!important;
  border:1px solid rgba(217,174,55,.20)!important;
  border-radius:0!important;
  background:rgba(255,255,255,.025)!important;
  box-shadow:none!important;
}



/* ==========================================================
   v4.0 — Discussions : auteur propre + éditeur riche mobile
   ========================================================== */
/* Neutralise définitivement les reliquats blancs du thème sous l'avatar. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-author,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-author,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-reply-author > *,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-author > *,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-author-role,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-author-name,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-author-link{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-author-role{
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:5px 0 0!important;
  padding:0!important;
  color:rgba(246,227,154,.72)!important;
  line-height:1.35!important;
}

/* TinyMCE / éditeur visuel : une vraie barre d'écriture, plus calme que Quicktags. */
body.groups.single-item #buddypress #item-body #bbpress-forums .wp-editor-wrap{
  border:1px solid rgba(217,174,55,.22)!important;
  background:#0B3F3C!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .wp-editor-tools{
  padding:0!important;
  background:transparent!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .wp-editor-tabs{
  display:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-tinymce,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-container,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-panel{
  border:0!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-toolbar-grp,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-top-part,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-menubar{
  background:#164f4b!important;
  border:0!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-toolbar-grp{
  padding:6px 7px!important;
  border-bottom:1px solid rgba(217,174,55,.18)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn{
  margin:2px!important;
  border:1px solid rgba(246,227,154,.16)!important;
  border-radius:5px!important;
  background:rgba(255,255,255,.035)!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:hover,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn.mce-active{
  border-color:rgba(217,174,55,.55)!important;
  background:rgba(217,174,55,.13)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn button,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn i,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn .mce-txt{
  color:#FFFFFF!important;
  text-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn i{opacity:.9!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-edit-area{
  border-top:0!important;
  background:#0B3F3C!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .quicktags-toolbar{
  padding:5px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .quicktags-toolbar input.button{
  min-height:26px!important;
  margin:2px!important;
  padding:0 8px!important;
  border:1px solid rgba(246,227,154,.16)!important;
  border-radius:4px!important;
  background:rgba(255,255,255,.035)!important;
  color:rgba(255,255,255,.82)!important;
  font-size:10px!important;
  font-weight:700!important;
}

/* CTA Envoyer : gradient de marque + finition du site. */
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-submit-wrapper button.submit,
body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-submit-wrapper input[type=submit]{
  min-height:42px!important;
  padding:0 22px!important;
  border:1px solid rgba(246,227,154,.35)!important;
  border-radius:7px!important;
  background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
}



/* v4.1 — barre d'édition plus sobre et compacte */
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-toolbar-grp{
  padding:4px 5px!important;
  background:#123f3c!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-toolbar{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:2px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn button{
  min-width:0!important;
  min-height:30px!important;
  height:30px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:3px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn button{
  padding:0 8px!important;
  color:rgba(255,255,255,.86)!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:30px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn i,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn .mce-txt{
  color:rgba(255,255,255,.86)!important;
  font-size:12px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:hover,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn.mce-active,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:focus{
  background:rgba(246,227,154,.10)!important;
  background-image:none!important;
  box-shadow:inset 0 0 0 1px rgba(217,174,55,.30)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:hover button,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn.mce-active button{
  color:#F6E39A!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn-group{
  margin:0 2px 0 0!important;
  padding:0 2px 0 0!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn-group:last-child{border-right:0!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-listbox button{padding:0 7px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-listbox .mce-txt{font-size:11px!important}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-caret{border-top-color:rgba(255,255,255,.70)!important}



/* v4.2 — barre d'édition plus lisible, icônes parfaitement centrées */
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-toolbar-grp{
  padding:6px 8px!important;
  background:#123f3c!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-toolbar{
  gap:4px!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn{
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  border:1px solid rgba(246,227,154,.18)!important;
  border-radius:4px!important;
  background:rgba(255,255,255,.045)!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn > button{
  width:100%!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 9px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  line-height:1!important;
  text-align:center!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn i{
  display:block!important;
  float:none!important;
  margin:0!important;
  position:static!important;
  transform:none!important;
  color:#FFFFFF!important;
  opacity:1!important;
  font-size:14px!important;
  line-height:1!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn .mce-txt{
  display:block!important;
  float:none!important;
  margin:0!important;
  color:#FFFFFF!important;
  font-size:12px!important;
  line-height:1!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn .mce-caret{
  position:static!important;
  margin:0 0 0 2px!important;
  align-self:center!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:hover,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn.mce-active,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:focus{
  border-color:rgba(246,227,154,.62)!important;
  background:rgba(217,174,55,.16)!important;
  box-shadow:none!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:hover i,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn:hover .mce-txt,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn.mce-active i,
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-btn.mce-active .mce-txt{
  color:#F6E39A!important;
}
/* Les listes (Paragraphe / taille) gardent un volume utile sans dominer la barre. */
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-listbox{
  min-width:auto!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-listbox > button{
  min-width:86px!important;
  justify-content:space-between!important;
}
body.groups.single-item #buddypress #item-body #bbpress-forums .mce-listbox:nth-of-type(2) > button{
  min-width:64px!important;
}


/* v4.3 — menus déroulants TinyMCE : contraste et lisibilité.
   TinyMCE injecte ses menus directement sous <body>, donc ces règles ne doivent pas être limitées à #bbpress-forums. */
body.groups.single-item .mce-menu,
body.groups.single-item .mce-menu .mce-container-body,
body.groups.single-item .mce-menu .mce-menu-item,
body.groups.single-item .mce-floatpanel,
body.groups.single-item .mce-floatpanel .mce-container-body {
  background:#123f3c!important;
  border-color:rgba(217,174,55,.28)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.24)!important;
}
body.groups.single-item .mce-menu-item {
  min-height:34px!important;
  margin:0!important;
  padding:0 12px!important;
  border:0!important;
}
body.groups.single-item .mce-menu-item .mce-text,
body.groups.single-item .mce-menu-item .mce-ico,
body.groups.single-item .mce-menu-item span,
body.groups.single-item .mce-menu-item i {
  color:#FFFFFF!important;
  text-shadow:none!important;
}
body.groups.single-item .mce-menu-item:hover,
body.groups.single-item .mce-menu-item.mce-selected,
body.groups.single-item .mce-menu-item.mce-active,
body.groups.single-item .mce-menu-item:focus {
  background:rgba(217,174,55,.16)!important;
}
body.groups.single-item .mce-menu-item:hover .mce-text,
body.groups.single-item .mce-menu-item.mce-selected .mce-text,
body.groups.single-item .mce-menu-item.mce-active .mce-text {
  color:#F6E39A!important;
}
body.groups.single-item .mce-menu-item.mce-disabled .mce-text {
  color:rgba(255,255,255,.38)!important;
}
body.groups.single-item .mce-menu .mce-menu-item-sep,
body.groups.single-item .mce-menu-item-sep {
  border-color:rgba(255,255,255,.10)!important;
  background:transparent!important;
}
/* Les aperçus Titre 1…6 restent lisibles mais ne prennent pas des tailles démesurées. */
body.groups.single-item .mce-menu-item .mce-text h1,
body.groups.single-item .mce-menu-item .mce-text h2,
body.groups.single-item .mce-menu-item .mce-text h3,
body.groups.single-item .mce-menu-item .mce-text h4,
body.groups.single-item .mce-menu-item .mce-text h5,
body.groups.single-item .mce-menu-item .mce-text h6,
body.groups.single-item .mce-menu-item .mce-text p {
  margin:0!important;
  color:inherit!important;
  line-height:1.2!important;
}

/* ==========================================================
   v4.4 — Membres : un trombinoscope qui crée du lien
   ========================================================== */
body.groups.single-item.members #buddypress #members-group-list,
body.groups.single-item #buddypress #members-group-list{
  margin-top:18px!important;
}
body.groups.single-item #buddypress #members-group-list ul#member-list,
body.groups.single-item #buddypress #members-group-list ul.item-list{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.groups.single-item #buddypress #members-group-list li.item-entry,
body.groups.single-item #buddypress #members-group-list ul.item-list>li{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:330px!important;
  margin:0!important;
  padding:24px!important;
  border:1px solid rgba(217,174,55,.22)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.035)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease!important;
}
body.groups.single-item #buddypress #members-group-list ul.item-list>li:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(217,174,55,.48)!important;
  background:rgba(255,255,255,.052)!important;
}
body.groups.single-item #buddypress #members-group-list .item-avatar{
  float:none!important;width:auto!important;margin:0 0 15px!important;text-align:left!important;
}
body.groups.single-item #buddypress #members-group-list .item-avatar img.avatar{
  width:76px!important;height:76px!important;min-width:76px!important;max-width:76px!important;
  min-height:76px!important;max-height:76px!important;object-fit:cover!important;border-radius:50%!important;
  border:2px solid rgba(246,227,154,.55)!important;background:#0B3F3C!important;
}
body.groups.single-item #buddypress #members-group-list .item{
  float:none!important;width:100%!important;margin:0!important;padding:0!important;
}
body.groups.single-item #buddypress #members-group-list .item-title,
body.groups.single-item #buddypress #members-group-list .list-title{
  margin:0 0 5px!important;font-size:17px!important;line-height:1.2!important;font-weight:800!important;
}
body.groups.single-item #buddypress #members-group-list .item-title a,
body.groups.single-item #buddypress #members-group-list .list-title a{
  color:#fff!important;background:none!important;text-transform:none!important;
}
body.groups.single-item #buddypress #members-group-list .item-meta,
body.groups.single-item #buddypress #members-group-list .activity{
  margin:0 0 13px!important;color:rgba(255,255,255,.62)!important;font-size:12.5px!important;line-height:1.4!important;
}
body.groups.single-item #buddypress .lec-member-human{margin:2px 0 16px!important;display:grid!important;gap:8px!important}
body.groups.single-item #buddypress .lec-member-location{color:#F6E39A!important;font-size:13px!important;font-weight:700!important}
body.groups.single-item #buddypress .lec-member-location span{margin-right:6px!important}
body.groups.single-item #buddypress .lec-member-bio{margin:0!important;color:rgba(255,255,255,.82)!important;font-size:13px!important;line-height:1.5!important}
body.groups.single-item #buddypress .lec-member-signal{display:grid!important;gap:2px!important;padding:8px 10px!important;border-left:2px solid #D9AE37!important;background:rgba(11,63,60,.45)!important}
body.groups.single-item #buddypress .lec-member-signal b{color:#F6E39A!important;font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body.groups.single-item #buddypress .lec-member-signal span{color:#FFFFFF!important;font-size:12.5px!important;line-height:1.35!important}
body.groups.single-item #buddypress #members-group-list .action{
  position:static!important;display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:auto!important;padding-top:14px!important;
}
body.groups.single-item #buddypress #members-group-list .action a,
body.groups.single-item #buddypress #members-group-list .action button{
  min-height:34px!important;margin:0!important;padding:8px 11px!important;border:1px solid rgba(217,174,55,.35)!important;
  border-radius:8px!important;background:transparent!important;color:#FFFFFF!important;font-size:11.5px!important;font-weight:700!important;box-shadow:none!important;
}
body.groups.single-item #buddypress #members-group-list .action a:hover,
body.groups.single-item #buddypress #members-group-list .action button:hover{
  background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;border-color:transparent!important;
}
body.groups.single-item #buddypress #members-group-list ul.item-list>li:before{display:none!important}

/* Barre recherche membres : plus éditoriale et compacte. */
body.groups.single-item #buddypress #members-group-list .item-list-tabs,
body.groups.single-item #buddypress .members-type-navs{border:0!important}
body.groups.single-item #buddypress #group-members-search input[type="search"],
body.groups.single-item #buddypress #group-members-search input[type="text"]{min-height:40px!important;font-size:13px!important}

/* Lien permanent vers l'annuaire régional. */
body.groups.single-item #buddypress #object-nav li.lec-regions-nav{margin-left:8px!important;padding-left:8px!important;border-left:1px solid rgba(217,174,55,.22)!important}
body.groups.single-item #buddypress #object-nav li.lec-regions-nav a{color:#F6E39A!important;font-weight:700!important}
body.groups.single-item #buddypress #object-nav li.lec-regions-nav a:hover{color:#fff!important;background:rgba(217,174,55,.10)!important}




/* ==========================================================
   v4.5 — Membres : identité locale + porte d'entrée vers le chat
   ========================================================== */
body.groups.single-item #buddypress #members-group-list .lec45-identity{order:-1;margin:0 0 10px;display:grid;gap:3px}
body.groups.single-item #buddypress #members-group-list .lec45-realname{font-size:16px;font-weight:800;line-height:1.2;color:#fff}
body.groups.single-item #buddypress #members-group-list .lec45-place{font-size:12.5px;font-weight:650;color:#F6E39A}
body.groups.single-item #buddypress #members-group-list .lec45-place span{margin-right:5px}
body.groups.single-item #buddypress #members-group-list .lec45-chat-open{margin-top:10px!important;width:max-content!important;padding:8px 13px!important;border:1px solid rgba(246,227,154,.55)!important;border-radius:8px!important;background:transparent!important;color:#FFFFFF!important;font-size:12px!important;font-weight:800!important}
body.groups.single-item #buddypress #members-group-list .lec45-chat-open:hover{background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important}

/* ==========================================================
   v5.15 — Messagerie Community unifiée
   Une seule géométrie desktop, une seule géométrie mobile.
   ========================================================== */
.lec45-chat,.lec45-chat.lec50-inbox-mode{
  position:fixed;left:22px;right:auto;bottom:80px;z-index:999999;
  display:flex;flex-direction:column;width:min(780px,calc(100vw - 44px));height:650px;
  max-height:calc(100dvh - 104px);overflow:hidden;box-sizing:border-box;
  border:1px solid rgba(217,174,55,.42);border-radius:14px;background:#0B3F3C;
  box-shadow:0 22px 65px rgba(0,0,0,.36);color:#FFFFFF;font-family:Roboto,Arial,sans-serif
}
.lec45-chat[hidden]{display:none!important}
.lec45-chat *{box-sizing:border-box}
.lec45-chat-head{display:flex;flex:0 0 auto;align-items:center;gap:9px;min-height:58px;padding:9px 11px;border-bottom:1px solid rgba(217,174,55,.20);background:#123f3c}
.lec45-chat-head:before{content:'MESSAGERIE';flex:0 0 auto;margin-right:2px;color:#D9AE37;font-size:9px;font-weight:800;letter-spacing:1.25px}
.lec45-chat-person{min-width:0;flex:1}.lec45-chat-name{overflow:hidden;color:#fff;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.lec45-chat-state{color:rgba(255,255,255,.58);font-size:10px}
.lec45-chat-tools{display:flex;flex:0 0 auto;gap:4px}.lec45-chat-tools button,.lec47-status-btn{display:grid!important;place-items:center!important;width:31px!important;height:31px!important;min-width:31px!important;padding:0!important;border:1px solid rgba(246,227,154,.25)!important;border-radius:6px!important;background:transparent!important;color:#FFFFFF!important;font-size:13px!important;box-shadow:none!important}
.lec45-chat-tools button:hover,.lec47-status-btn:hover{border-color:#D9AE37!important;color:#F6E39A!important}
.lec45-chat-messages{flex:1;min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.lec45-msg{align-self:flex-start;max-width:min(82%,620px);overflow-wrap:anywhere;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.065);font-size:12px;line-height:1.45}
.lec45-msg.me{align-self:flex-end;border:1px solid rgba(217,174,55,.20);background:rgba(217,174,55,.16)}.lec45-msg small{display:block;margin-top:3px;color:rgba(255,255,255,.48);font-size:8.5px}
.lec45-chat-compose{display:flex;flex:0 0 auto;align-items:flex-end;gap:7px;padding:9px;border-top:1px solid rgba(217,174,55,.18);background:#123f3c}
.lec45-chat-compose textarea{flex:1;width:auto!important;min-width:0!important;min-height:40px!important;max-height:104px!important;margin:0!important;resize:none!important;padding:9px 11px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:8px!important;background:#083532!important;color:#fff!important;font-size:12px!important;line-height:1.4!important;box-shadow:none!important}
.lec45-chat-send{flex:0 0 42px;width:42px!important;height:40px!important;min-width:42px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:7px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;font-weight:900!important}
.lec45-invite-panel{flex:0 0 auto;padding:8px 10px;border-bottom:1px solid rgba(217,174,55,.18);background:#103b38}.lec45-invite-panel[hidden]{display:none!important}.lec45-invite-panel input{width:100%;min-width:0;padding:8px 9px;border:1px solid rgba(246,227,154,.25);border-radius:6px;background:#083532;color:#fff;font-size:11px}.lec45-invite-results{max-height:130px;overflow:auto;margin-top:5px}.lec45-invite-person{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;padding:5px 2px;border-bottom:1px solid rgba(217,174,55,.10);font-size:11px}.lec45-invite-person>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lec45-invite-person>button{flex:0 0 72px;width:72px!important;height:28px!important;min-height:28px!important;padding:0 8px!important;border:1px solid rgba(217,174,55,.72)!important;border-radius:5px!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 55%,#A9780B)!important;color:#0B3F3C!important;font-size:10px!important;font-weight:700!important}

/* Audio / visio */
.lec46-stage{position:relative;flex:0 0 auto;padding:7px 7px 0;border-bottom:1px solid rgba(217,174,55,.2);background:#062f2d}.lec46-stage[hidden]{display:none!important}.lec46-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:265px;overflow:auto}.lec46-tile{position:relative;min-height:105px;margin:0!important;overflow:hidden;border:1px solid rgba(246,227,154,.2);border-radius:8px;background:#031f1e}.lec46-tile video{display:block;width:100%;height:100%;min-height:105px;max-height:180px;object-fit:cover}.lec46-tile figcaption{position:absolute;left:6px;bottom:5px;padding:3px 5px;border-radius:4px;background:rgba(0,0,0,.48);color:#fff;font-size:9px}.lec46-callbar{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px}.lec46-callbar button{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;padding:0!important;border:1px solid rgba(246,227,154,.3)!important;border-radius:50%!important;background:#0B3F3C!important;color:#FFFFFF!important;box-shadow:none!important}.lec46-callbar .lec46-hang{background:#7b2929!important;border-color:#a44!important;color:#fff!important}.lec46-incoming{display:grid;grid-template-columns:1fr auto;gap:2px 9px;align-items:center;padding:10px 12px;border-bottom:1px solid rgba(217,174,55,.25);background:linear-gradient(100deg,rgba(246,227,154,.14),rgba(217,174,55,.05))}.lec46-incoming strong{font-size:12px}.lec46-incoming span{grid-column:1;color:rgba(255,255,255,.7);font-size:10px}.lec46-incoming>div{grid-column:2;grid-row:1/3;display:flex;gap:5px}

/* Présence */
.lec45-realname{display:flex!important;align-items:center!important;gap:7px!important}.lec47-presence{display:inline-block;width:8px;height:8px;min-width:8px;border-radius:50%;box-shadow:0 0 0 2px #0B3F3C}.lec47-presence.online,.lec47-avatar-status.online,.lec47-chat-dot.online,.lec47-self-dot.online,.lec47-status-menu i.online,.lec53-dot.online{background:#42d66b}.lec47-presence.offline,.lec47-avatar-status.offline,.lec47-chat-dot.offline,.lec53-dot.offline{background:#d94b4b}.lec47-presence.dnd,.lec47-avatar-status.dnd,.lec47-chat-dot.dnd,.lec47-self-dot.dnd,.lec47-status-menu i.dnd,.lec53-dot.dnd{background:#e69b32}.lec47-avatar-wrap{position:relative!important;display:inline-block!important}.lec47-avatar-status{position:absolute!important;right:1px!important;bottom:3px!important;width:11px!important;height:11px!important;border:2px solid #0B3F3C!important;border-radius:50%!important;z-index:5!important}.lec47-chat-dot{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%}.lec47-my-status{position:relative}.lec47-self-dot{display:block;width:9px;height:9px;border-radius:50%}.lec47-status-menu{position:absolute;right:0;top:36px;z-index:30;width:155px;padding:4px;border:1px solid rgba(217,174,55,.3);border-radius:7px;background:#083532;box-shadow:0 10px 28px rgba(0,0,0,.3)}.lec47-status-menu[hidden]{display:none!important}.lec47-status-menu button{width:100%!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;padding:7px 8px!important;border:0!important;background:transparent!important;color:#FFFFFF!important;font-size:10.5px!important}.lec47-status-menu i{display:block;flex:0 0 7px;width:7px;height:7px;border-radius:50%}

/* Hub conversations + membres France */
.lec53-hub{display:grid;grid-template-columns:238px minmax(0,1fr);flex:1;min-width:0;min-height:0;overflow:hidden}.lec53-sidebar{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid rgba(217,174,55,.18);background:#082f2d}.lec53-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:7px;border-bottom:1px solid rgba(217,174,55,.15)}.lec53-tabs button{min-width:0!important;min-height:32px!important;padding:6px!important;border:1px solid rgba(246,227,154,.16)!important;border-radius:5px!important;background:transparent!important;color:rgba(255,255,255,.72)!important;font-size:10px!important;font-weight:700!important;white-space:nowrap!important}.lec53-tabs button.active{border-color:rgba(217,174,55,.55)!important;background:rgba(217,174,55,.11)!important;color:#F6E39A!important}.lec53-search{padding:0 7px 7px}.lec53-search input{width:100%;height:32px!important;margin:0!important;padding:6px 9px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:6px!important;background:#062a28!important;color:#fff!important;font-size:10.5px!important}.lec53-sidebody{flex:1;min-height:0;overflow:auto;padding:4px 6px 8px}.lec53-members[hidden],.lec53-threadlist[hidden]{display:none!important}.lec53-member{width:100%!important;display:grid!important;grid-template-columns:36px minmax(0,1fr);gap:7px!important;align-items:center!important;margin:0!important;padding:6px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#FFFFFF!important;text-align:left!important;box-shadow:none!important}.lec53-member:hover{background:rgba(217,174,55,.09)!important}.lec53-member img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid rgba(246,227,154,.28)}.lec53-member-meta{min-width:0;display:grid;gap:1px}.lec53-member-meta strong,.lec53-member-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lec53-member-meta strong{font-size:10.5px}.lec53-member-meta span{color:rgba(255,255,255,.55);font-size:9px}.lec53-member-meta small{color:rgba(255,255,255,.45);font-size:8.5px}.lec53-dot{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%}.lec53-main{display:flex;flex-direction:column;min-width:0;min-height:0}.lec53-main>.lec45-chat-messages{min-height:0}
.lec50-conversations{display:flex;flex-direction:column!important;max-height:none!important;overflow:visible!important;gap:2px!important;padding:0!important;border:0!important;background:transparent!important}.lec50-conversation{position:relative;width:100%!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:6px!important;align-items:center!important;padding:6px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#FFFFFF!important;text-align:left!important;box-shadow:none!important}.lec50-conversation:hover,.lec50-conversation.active{background:rgba(217,174,55,.09)!important}.lec50-conversation img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:1px solid rgba(246,227,154,.28)}.lec50-conversation .meta{min-width:0;display:grid;gap:1px}.lec50-conversation strong,.lec50-conversation span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lec50-conversation strong{font-size:10.5px}.lec50-conversation span{color:rgba(255,255,255,.55);font-size:8.8px}.lec50-conversation small{color:rgba(255,255,255,.40);font-size:8px}.lec50-conversation b{position:absolute;right:4px;top:4px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#d94b4b;color:#fff;font:700 8px/16px Roboto,Arial,sans-serif;text-align:center}.lec50-empty{padding:10px;color:rgba(255,255,255,.65);font-size:10.5px}

/* Notifications de messages + bulle */
.lec48-inbox-stack{position:fixed;left:22px;right:auto;bottom:82px;z-index:999998;width:min(390px,calc(100vw - 24px));display:flex;flex-direction:column-reverse;gap:8px;pointer-events:none}.lec48-inbox-pop{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px;align-items:center;padding:11px;border:1px solid rgba(217,174,55,.45);border-radius:10px;background:#0B3F3C;color:#FFFFFF;box-shadow:0 14px 40px rgba(0,0,0,.30);pointer-events:auto}.lec48-inbox-pop img{width:42px;height:42px;border-radius:50%;object-fit:cover;border:1px solid rgba(246,227,154,.4)}.lec48-pop-body{min-width:0;display:grid;gap:2px}.lec48-pop-body strong{font-size:12px}.lec48-pop-body span{overflow:hidden;color:rgba(255,255,255,.82);font-size:10.5px;text-overflow:ellipsis;white-space:nowrap}.lec48-pop-body small{color:rgba(255,255,255,.46);font-size:9px}.lec48-pop-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:5px}.lec48-pop-reply,.lec48-pop-ignore{min-height:29px!important;padding:0 9px!important;border-radius:5px!important;font-size:9.5px!important;font-weight:700!important}.lec48-pop-reply{border:0!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 55%,#A9780B)!important;color:#0B3F3C!important}.lec48-pop-ignore{border:1px solid rgba(255,255,255,.25)!important;background:transparent!important;color:#FFFFFF!important}
.lec48-inbox-bubble{position:fixed;left:22px!important;right:auto!important;bottom:22px!important;z-index:999997;display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;padding:0!important;border:1px solid rgba(217,174,55,.58)!important;border-radius:13px!important;background:#0B3F3C!important;color:#FFFFFF!important;box-shadow:0 8px 22px rgba(0,0,0,.24)!important}.lec48-inbox-bubble .lec48-bubble-icon{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;width:100%;height:100%;font-size:0!important}.lec48-inbox-bubble .lec48-bubble-icon:before{content:'';display:block;width:20px;height:17px;border:1.7px solid #F6E39A;border-radius:6px;box-sizing:border-box}.lec48-inbox-bubble .lec48-bubble-icon:after{content:'';position:absolute;width:5px;height:5px;left:14px;bottom:11px;border-left:1.7px solid #F6E39A;border-bottom:1.7px solid #F6E39A;transform:skewY(-35deg);background:#0B3F3C}.lec48-inbox-bubble b{display:none;position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#d94b4b;color:#fff;font:700 9px/18px Roboto,Arial,sans-serif}.lec48-inbox-bubble.has-unread b{display:block}

/* Canal France */
.lec54-france-channel{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;margin:0 0 14px!important;padding:15px 17px!important;border:1px solid rgba(217,174,55,.38)!important;border-left:3px solid #D9AE37!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important;color:#FFFFFF!important}.lec54-france-flag{display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(246,227,154,.42);color:#F6E39A;font-size:14px;font-weight:800}.lec54-france-copy{min-width:0}.lec54-france-copy>span{display:block;margin-bottom:2px;color:#D9AE37;font-size:8.5px;font-weight:800;letter-spacing:.13em}.lec54-france-copy strong{display:block;color:#fff;font-size:14px}.lec54-france-copy strong em{font-style:normal;color:rgba(255,255,255,.72);font-size:11.5px;font-weight:400}.lec54-france-copy p{margin:4px 0 0!important;color:rgba(255,255,255,.72)!important;font-size:11px!important;line-height:1.45!important}.lec54-france-channel>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:36px!important;padding:0 13px!important;white-space:nowrap;border:0!important;border-radius:0!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 55%,#A9780B)!important;color:#0B3F3C!important;font-size:9.5px!important;font-weight:800!important;text-decoration:none!important}


/* ==========================================================
   v5.15 — Membres + espace compte unifiés
   ========================================================== */
body.groups.single-item #buddypress #members-group-list .lec45-chat-open,
body.groups.single-item #buddypress #members-list .lec45-chat-open,
body.groups.single-item #buddypress #members-group-list .friendship-button a,
body.groups.single-item #buddypress #members-list .friendship-button a{width:138px!important;min-width:138px!important;max-width:138px!important;height:31px!important;min-height:31px!important;margin:3px 0 0!important;padding:0 9px!important;border-radius:5px!important;font-size:10.8px!important}
body.groups.single-item #buddypress #members-group-list .item-action,
body.groups.single-item #buddypress #members-list .item-action{gap:1px!important;margin-top:0!important}

/* Tableau de bord Mon compte */
.lec56-account{width:min(100%,1080px);margin:16px auto 36px;padding:0 12px;color:#FFFFFF;font-family:Roboto,Arial,sans-serif;box-sizing:border-box}
.lec56-account>header{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid rgba(217,174,55,.30);border-radius:8px;background:rgba(255,255,255,.025)}
.lec56-account>header img{width:72px;height:72px;border:2px solid #D9AE37;border-radius:50%;object-fit:cover}.lec56-account>header span{color:#D9AE37;font-size:9px;font-weight:800;letter-spacing:.15em}.lec56-account>header h2{margin:2px 0!important;color:#FFFFFF!important;font:600 22px/1.15 Roboto,Arial,sans-serif!important}.lec56-account>header p{margin:0!important;color:rgba(255,255,255,.68)!important;font-size:11.5px!important}
.lec56-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.lec56-account-card{display:block;padding:16px;border:1px solid rgba(217,174,55,.18);border-radius:6px;background:rgba(255,255,255,.018);color:#FFFFFF!important;text-decoration:none!important}.lec56-account-card:hover{border-color:rgba(217,174,55,.48);background:rgba(217,174,55,.045)}.lec56-account-card strong{display:block;color:#F6E39A;font-size:13px}.lec56-account-card p{min-height:36px;margin:5px 0 9px!important;color:rgba(255,255,255,.62)!important;font-size:11px!important;line-height:1.45!important}.lec56-account-card b{color:#D9AE37;font-size:9.5px;letter-spacing:.04em}

/* =========================================================
   ESPACE MEMBRE / MON COMPTE — DESIGN SYSTEM UNIQUE v5.16
   Activités, Profil, Notifications, Messages, Amis, Groupes,
   Invitations, Forums et Réglages.
   ========================================================= */
body.bp-user #buddypress{
 --lec-ui-bg:#0B3F3C;--lec-ui-bg-deep:#082f2d;--lec-ui-bg-card:#0A3936;
 --lec-ui-ivory:#FFFFFF;--lec-ui-muted:rgba(255,255,255,.66);
 --lec-ui-gold:#D9AE37;--lec-ui-gold-light:#F6E39A;--lec-ui-line:rgba(217,174,55,.20);
 width:min(calc(100% - 24px),1080px)!important;max-width:1080px!important;margin:18px auto 38px!important;padding:0!important;
 box-sizing:border-box!important;color:var(--lec-ui-ivory)!important;font-family:Roboto,Arial,sans-serif!important;background:transparent!important
}
body.bp-user #buddypress *,body.bp-user #buddypress *:before,body.bp-user #buddypress *:after{box-sizing:border-box}
body.bp-user #buddypress a{transition:border-color .18s ease,background-color .18s ease,color .18s ease}

/* En-tête du compte */
body.bp-user #buddypress #item-header{position:relative!important;display:block!important;width:100%!important;min-height:280px!important;margin:0!important;overflow:hidden!important;border:1px solid rgba(217,174,55,.30)!important;border-radius:8px 8px 0 0!important;background:var(--lec-ui-bg-deep)!important}
body.bp-user #buddypress #header-cover-image,body.bp-user #buddypress #item-header-cover-image{position:absolute!important;inset:0!important;width:100%!important;height:280px!important;min-height:280px!important;margin:0!important;background-position:center!important;background-size:cover!important}
body.bp-user #buddypress #header-cover-image:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,22,21,.03) 24%,rgba(2,22,21,.80) 100%);pointer-events:none}
body.bp-user #buddypress #item-header-avatar{position:absolute!important;z-index:3!important;left:24px!important;bottom:20px!important;width:104px!important;height:104px!important;margin:0!important}
body.bp-user #buddypress #item-header-avatar a{display:block!important;width:104px!important;height:104px!important}
body.bp-user #buddypress #item-header-avatar img.avatar{display:block!important;width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important;max-width:104px!important;max-height:104px!important;margin:0!important;border:2px solid var(--lec-ui-gold)!important;border-radius:50%!important;object-fit:cover!important;box-shadow:none!important}
body.bp-user #buddypress #item-header-content{position:absolute!important;z-index:3!important;left:146px!important;right:22px!important;bottom:24px!important;margin:0!important;padding:0!important;color:#fff!important}
body.bp-user #buddypress #item-header-content h2,body.bp-user #buddypress #item-header-content h2 a{margin:0 0 5px!important;color:#fff!important;font:500 23px/1.15 Roboto,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
body.bp-user #buddypress #item-header-content .activity,body.bp-user #buddypress #item-header-content .user-nicename{color:rgba(255,255,255,.70)!important;font:400 10.5px/1.4 Roboto,Arial,sans-serif!important}

/* Navigation principale : composant unique */
body.bp-user #buddypress #item-nav,body.bp-user #buddypress nav#object-nav{position:relative!important;width:100%!important;margin:0!important;padding:0 10px!important;border:1px solid var(--lec-ui-line)!important;border-top:0!important;background:#0A3936!important;overflow:visible!important}
body.bp-user #buddypress #item-nav ul,body.bp-user #buddypress nav#object-nav ul{display:flex!important;align-items:center!important;gap:2px!important;min-height:48px!important;margin:0!important;padding:5px 0!important;list-style:none!important}
body.bp-user #buddypress #item-nav li,body.bp-user #buddypress nav#object-nav li{flex:0 0 auto!important;margin:0!important;padding:0!important}
body.bp-user #buddypress #item-nav li a,body.bp-user #buddypress nav#object-nav li a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:0 10px!important;border:1px solid transparent!important;border-radius:0!important;background:transparent!important;color:rgba(255,255,255,.78)!important;font:600 11px/1 Roboto,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important;text-decoration:none!important}
body.bp-user #buddypress #item-nav li.current a,body.bp-user #buddypress #item-nav li.selected a,body.bp-user #buddypress nav#object-nav li.current a,body.bp-user #buddypress nav#object-nav li.selected a{border-color:rgba(217,174,55,.52)!important;background:rgba(217,174,55,.08)!important;color:var(--lec-ui-gold-light)!important}
body.bp-user #buddypress #item-nav .count,body.bp-user #buddypress nav#object-nav .count{display:inline-grid!important;place-items:center!important;min-width:17px!important;height:17px!important;margin-left:5px!important;padding:0 4px!important;border:1px solid rgba(217,174,55,.36)!important;border-radius:9px!important;background:transparent!important;color:var(--lec-ui-gold-light)!important;font-size:8.5px!important}

/* Corps commun à TOUS les onglets */
body.bp-user #buddypress #item-body{width:100%!important;max-width:none!important;margin:0!important;padding:16px!important;border:1px solid var(--lec-ui-line)!important;border-top:0!important;border-radius:0 0 8px 8px!important;background:rgba(255,255,255,.012)!important;color:var(--lec-ui-ivory)!important;overflow:visible!important}
body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-body *{font-family:Roboto,Arial,sans-serif!important}
body.bp-user #buddypress #item-body h1,body.bp-user #buddypress #item-body h2,body.bp-user #buddypress #item-body h3,body.bp-user #buddypress #item-body h4{color:var(--lec-ui-ivory)!important;text-transform:none!important;letter-spacing:0!important}
body.bp-user #buddypress #item-body .screen-heading,body.bp-user #buddypress #item-body .entry-title{margin:8px 0 14px!important;font-size:17px!important;line-height:1.25!important;font-weight:600!important}
body.bp-user #buddypress #item-body .bp-widget h2,body.bp-user #buddypress #item-body .bp-widget h3{margin:14px 0 9px!important;padding-bottom:7px!important;border-bottom:1px solid rgba(217,174,55,.25)!important;font-size:14px!important;font-weight:600!important}

/* Sous-navigation */
body.bp-user #buddypress #subnav,body.bp-user #buddypress .item-list-tabs#subnav,body.bp-user #buddypress .bp-subnavs{width:100%!important;margin:0 0 14px!important;padding:0!important;border:0!important;background:transparent!important}
body.bp-user #buddypress #subnav ul,body.bp-user #buddypress .bp-subnavs ul{display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;padding:0!important;list-style:none!important}
body.bp-user #buddypress #subnav li{flex:0 0 auto!important;margin:0!important}
body.bp-user #buddypress #subnav li a{display:inline-flex!important;align-items:center!important;min-height:31px!important;padding:0 9px!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:0!important;background:transparent!important;color:rgba(255,255,255,.70)!important;font:600 10px/1 Roboto,Arial,sans-serif!important;white-space:nowrap!important;text-decoration:none!important}
body.bp-user #buddypress #subnav li.current a,body.bp-user #buddypress #subnav li.selected a{border-color:rgba(217,174,55,.50)!important;background:rgba(217,174,55,.07)!important;color:var(--lec-ui-gold-light)!important}

/* Surfaces BuddyPress : supprimer les fonds blancs hérités du thème */
body.bp-user #buddypress #item-body .activity,body.bp-user #buddypress #item-body .activity-list,body.bp-user #buddypress #item-body #activity-stream,
body.bp-user #buddypress #item-body .activity-list>li,body.bp-user #buddypress #item-body #activity-stream>li,
body.bp-user #buddypress #item-body .activity-content,body.bp-user #buddypress #item-body .activity-inner,
body.bp-user #buddypress #item-body .item-list,body.bp-user #buddypress #item-body .item-list>li,
body.bp-user #buddypress #item-body .notifications,body.bp-user #buddypress #item-body .messages,
body.bp-user #buddypress #item-body .members-list,body.bp-user #buddypress #item-body .groups-list{background:transparent!important;color:var(--lec-ui-ivory)!important;box-shadow:none!important}

/* Activités : une seule carte, pas de grand panneau blanc */
body.bp-user #buddypress #activity-stream{margin:0!important;padding:0!important;background:transparent!important;list-style:none!important}
body.bp-user #buddypress #activity-stream>li{position:relative!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;column-gap:10px!important;row-gap:0!important;margin:0 0 9px!important;padding:11px!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:5px!important;background:rgba(255,255,255,.018)!important;color:var(--lec-ui-ivory)!important;box-shadow:none!important;overflow:hidden!important}
body.bp-user #buddypress #activity-stream .activity-avatar{grid-column:1!important;width:34px!important;margin:0!important;float:none!important}
body.bp-user #buddypress #activity-stream .activity-avatar img.avatar{display:block!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;max-width:34px!important;max-height:34px!important;margin:0!important;border:1px solid rgba(217,174,55,.30)!important;border-radius:50%!important;object-fit:cover!important}
body.bp-user #buddypress #activity-stream .activity-content{grid-column:2!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--lec-ui-ivory)!important}
body.bp-user #buddypress #activity-stream .activity-header,body.bp-user #buddypress #activity-stream .activity-header p{margin:0 0 6px!important;color:var(--lec-ui-muted)!important;font-size:10.5px!important;line-height:1.45!important;background:transparent!important}
body.bp-user #buddypress #activity-stream .activity-header a{color:var(--lec-ui-gold-light)!important;font-weight:600!important}
body.bp-user #buddypress #activity-stream .activity-header .time-since{color:rgba(255,255,255,.42)!important}
body.bp-user #buddypress #activity-stream .activity-inner{min-width:0!important;margin:0!important;padding:9px!important;border:1px solid rgba(217,174,55,.11)!important;border-radius:4px!important;background:rgba(0,0,0,.055)!important;color:rgba(255,255,255,.84)!important;font-size:11px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
body.bp-user #buddypress #activity-stream .activity-inner p{margin:0 0 6px!important;color:inherit!important}
body.bp-user #buddypress #activity-stream .activity-inner p:last-child{margin-bottom:0!important}
body.bp-user #buddypress #activity-stream .activity-inner figure,body.bp-user #buddypress #activity-stream .activity-inner .wp-block-image{width:100%!important;max-width:760px!important;margin:7px auto!important}
body.bp-user #buddypress #activity-stream .activity-inner figure img,body.bp-user #buddypress #activity-stream .activity-inner .wp-block-image img,body.bp-user #buddypress #activity-stream .activity-inner img.wp-post-image,body.bp-user #buddypress #activity-stream .activity-inner img[class*="attachment-"]{display:block!important;width:auto!important;max-width:100%!important;max-height:480px!important;margin:6px auto!important;border-radius:3px!important;object-fit:contain!important}
body.bp-user #buddypress #activity-stream .activity-inner img.avatar{display:inline-block!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;border-radius:50%!important;object-fit:cover!important;vertical-align:middle!important}
body.bp-user #buddypress #activity-stream img.emoji,body.bp-user #buddypress #activity-stream img.wp-smiley{display:inline!important;width:1.05em!important;height:1.05em!important;min-width:0!important;min-height:0!important;max-width:1.05em!important;max-height:1.05em!important;margin:0 .08em!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:contain!important;vertical-align:-.14em!important}
body.bp-user #buddypress #activity-stream .activity-meta{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important;margin:8px 0 0!important;padding:0!important;background:transparent!important}
body.bp-user #buddypress #activity-stream .activity-meta a{min-height:28px!important;padding:0 9px!important;border:1px solid rgba(246,227,154,.32)!important;border-radius:0!important;background:transparent!important;color:var(--lec-ui-gold-light)!important;font-size:9.5px!important;text-decoration:none!important}
body.bp-user #buddypress #activity-stream .activity-meta a:hover{background:rgba(217,174,55,.08)!important;border-color:rgba(246,227,154,.60)!important}
body.bp-user #buddypress #activity-stream .activity-comments{grid-column:2!important;min-width:0!important;margin:8px 0 0!important;background:transparent!important}
body.bp-user #buddypress #activity-stream .load-more,body.bp-user #buddypress #activity-stream .load-newest{grid-template-columns:1fr!important;padding:6px!important;text-align:center!important}
body.bp-user #buddypress #activity-stream .load-more a,body.bp-user #buddypress #activity-stream .load-newest a{display:block!important;width:100%!important;padding:8px!important;border:1px solid rgba(217,174,55,.22)!important;background:#082f2d!important;color:var(--lec-ui-gold-light)!important;text-align:center!important}

/* Formulaire de publication + filtres */
body.bp-user #buddypress #whats-new-form,body.bp-user #buddypress .activity-type-tabs,body.bp-user #buddypress .subnav-filters{margin:0 0 12px!important;padding:10px!important;border:1px solid rgba(217,174,55,.16)!important;border-radius:4px!important;background:rgba(0,0,0,.05)!important;color:var(--lec-ui-ivory)!important}
body.bp-user #buddypress #whats-new-form #whats-new-avatar img{width:40px!important;height:40px!important;border-radius:50%!important;object-fit:cover!important}
body.bp-user #buddypress .subnav-filters{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important}
body.bp-user #buddypress .subnav-filters select{width:auto!important;min-width:180px!important;max-width:100%!important}

/* Tableaux / profil / notifications / messages */
body.bp-user #buddypress #item-body table,body.bp-user #buddypress #item-body .bp-tables-user{width:100%!important;margin:0 0 14px!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:5px!important;overflow:hidden!important;background:rgba(0,0,0,.07)!important;color:var(--lec-ui-ivory)!important;box-shadow:none!important}
body.bp-user #buddypress #item-body table th{padding:9px 10px!important;border:0!important;border-bottom:1px solid rgba(217,174,55,.18)!important;background:#082f2d!important;color:var(--lec-ui-gold-light)!important;font-size:10.5px!important;font-weight:600!important;text-align:left!important}
body.bp-user #buddypress #item-body table td{padding:10px!important;border:0!important;border-bottom:1px solid rgba(217,174,55,.11)!important;background:rgba(255,255,255,.015)!important;color:rgba(255,255,255,.84)!important;font-size:11.5px!important;line-height:1.45!important;vertical-align:middle!important}
body.bp-user #buddypress #item-body table tr:last-child td{border-bottom:0!important}
body.bp-user #buddypress #item-body table.profile-fields td.label{width:30%!important;min-width:160px!important;background:rgba(0,0,0,.08)!important;color:rgba(255,255,255,.62)!important;font-weight:500!important}
body.bp-user #buddypress #item-body table a{color:var(--lec-ui-gold-light)!important}
body.bp-user #buddypress #item-body .thread-from img.avatar,body.bp-user #buddypress #item-body .thread-info img.avatar{width:32px!important;height:32px!important;border-radius:50%!important;object-fit:cover!important}

/* Formulaires / réglages */
body.bp-user #buddypress #item-body .editfield,body.bp-user #buddypress #item-body fieldset{margin:0 0 9px!important;padding:11px!important;border:1px solid rgba(217,174,55,.14)!important;border-radius:4px!important;background:rgba(0,0,0,.045)!important}
body.bp-user #buddypress #item-body label,body.bp-user #buddypress #item-body legend{display:block!important;margin:0 0 5px!important;color:rgba(255,255,255,.82)!important;font-size:10.5px!important;font-weight:600!important}
body.bp-user #buddypress #item-body input[type=text],body.bp-user #buddypress #item-body input[type=email],body.bp-user #buddypress #item-body input[type=password],body.bp-user #buddypress #item-body input[type=url],body.bp-user #buddypress #item-body input[type=number],body.bp-user #buddypress #item-body input[type=search],body.bp-user #buddypress #item-body textarea,body.bp-user #buddypress #item-body select{width:100%!important;max-width:100%!important;min-width:0!important;padding:8px 9px!important;border:1px solid rgba(217,174,55,.23)!important;border-radius:3px!important;background:#062f2d!important;color:var(--lec-ui-ivory)!important;font-size:11.5px!important;box-shadow:none!important}
body.bp-user #buddypress #item-body input:focus,body.bp-user #buddypress #item-body textarea:focus,body.bp-user #buddypress #item-body select:focus{border-color:rgba(246,227,154,.68)!important;outline:0!important;box-shadow:0 0 0 2px rgba(217,174,55,.07)!important}
body.bp-user #buddypress #item-body .button,body.bp-user #buddypress #item-body a.button,body.bp-user #buddypress #item-body button,body.bp-user #buddypress #item-body input[type=submit],body.bp-user #buddypress #item-body input[type=button],body.bp-user #buddypress #item-body .generic-button a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;margin:0!important;padding:0 10px!important;border:1px solid rgba(246,227,154,.45)!important;border-radius:0!important;background:transparent!important;color:var(--lec-ui-gold-light)!important;font-size:10px!important;font-weight:600!important;text-decoration:none!important;box-shadow:none!important}
body.bp-user #buddypress #item-body .button:hover,body.bp-user #buddypress #item-body a.button:hover,body.bp-user #buddypress #item-body button:hover,body.bp-user #buddypress #item-body input[type=submit]:hover,body.bp-user #buddypress #item-body .generic-button a:hover{border-color:transparent!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 55%,#A9780B)!important;color:#0B3F3C!important}

/* Listes membres / amis / groupes / invitations */
body.bp-user #buddypress #item-body ul.item-list>li,body.bp-user #buddypress #item-body .members-list>li,body.bp-user #buddypress #item-body .groups-list>li{position:relative!important;min-width:0!important;margin:0 0 8px!important;padding:10px!important;border:1px solid rgba(217,174,55,.15)!important;border-radius:5px!important;background:rgba(255,255,255,.018)!important;color:var(--lec-ui-ivory)!important;overflow:hidden!important}
body.bp-user #buddypress #item-body ul.item-list .item-avatar{float:left!important;width:44px!important;height:44px!important;margin:0 9px 0 0!important}
body.bp-user #buddypress #item-body ul.item-list .item-avatar img.avatar{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;border:1px solid rgba(217,174,55,.28)!important;border-radius:50%!important;object-fit:cover!important}
body.bp-user #buddypress #item-body ul.item-list .item{min-width:0!important;margin-left:53px!important;padding:0!important}
body.bp-user #buddypress #item-body ul.item-list .item-title a{color:var(--lec-ui-gold-light)!important;font-size:11.5px!important;font-weight:600!important}
body.bp-user #buddypress #item-body ul.item-list .item-meta,body.bp-user #buddypress #item-body ul.item-list .item-desc{margin-top:3px!important;color:rgba(255,255,255,.56)!important;font-size:10px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
body.bp-user #buddypress #item-body ul.item-list .action{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important;margin:6px 0 0 53px!important;position:static!important}

/* Retours système, pagination, forums du profil */
body.bp-user #buddypress #item-body .bp-feedback,body.bp-user #buddypress #item-body .bp-template-notice,body.bp-user #buddypress #item-body .bp-messages{margin:0 0 11px!important;padding:9px 10px!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:4px!important;background:rgba(0,0,0,.07)!important;color:rgba(255,255,255,.80)!important}
body.bp-user #buddypress #item-body .bp-pagination{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:9px 0 12px!important;color:rgba(255,255,255,.50)!important;font-size:10px!important}
body.bp-user #buddypress #item-body #bbpress-forums,body.bp-user #buddypress #item-body #bbpress-forums ul,body.bp-user #buddypress #item-body #bbpress-forums li{background:transparent!important;color:var(--lec-ui-ivory)!important}
body.bp-user #buddypress #item-body #bbpress-forums a{color:var(--lec-ui-gold-light)!important}

/* Redimensionnement desktop */
.lec59-resize-handle{position:absolute;right:0;bottom:0;z-index:50;width:20px;height:20px;cursor:nwse-resize;touch-action:none}.lec59-resize-handle:before,.lec59-resize-handle:after{content:'';position:absolute;right:4px;bottom:4px;border-right:1px solid rgba(246,227,154,.65);border-bottom:1px solid rgba(246,227,154,.65)}.lec59-resize-handle:before{width:9px;height:9px}.lec59-resize-handle:after{width:5px;height:5px;right:8px;bottom:8px}



/* ==========================================================
   v5.15 — Responsive consolidé
   Breakpoints uniques : 1100 / 900 / 780 / 600 / 430 / 360.
   ========================================================== */
@media (max-width:1100px){
  body.directory.groups #buddypress,body.groups.single-item #buddypress{width:calc(100% - 24px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
  .lec-escape-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.groups.single-item #buddypress #members-group-list ul#member-list,body.groups.single-item #buddypress #members-group-list ul.item-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:900px){
  .lec-hero{min-height:0;padding:38px 34px}.lec-hero h1{font-size:clamp(34px,7vw,50px)!important}.lec-france{grid-template-columns:58px minmax(0,1fr);gap:18px;padding:22px}.lec-france-flag{width:58px;height:58px}.lec-france-cta{grid-column:2;justify-self:start}
  .lec-card-inner{grid-template-columns:118px minmax(0,1fr);gap:20px;min-height:250px;padding:22px}.lec-avatar{min-height:118px}
  body.groups.single-item #buddypress #item-header{border-radius:12px!important}
  .lec54-france-channel{grid-template-columns:48px minmax(0,1fr)}.lec54-france-flag{width:48px;height:48px}.lec54-france-channel>a{grid-column:2;justify-self:start}
  .lec56-account{width:100%}
}
@media (max-width:780px){
  html,body{max-width:100%;overflow-x:clip}
  body.directory.groups #buddypress,body.groups.single-item #buddypress,body.bp-user #buddypress{width:calc(100% - 20px)!important;max-width:none!important;margin-left:10px!important;margin-right:10px!important}
  body.directory.groups #buddypress *,body.groups.single-item #buddypress *{min-width:0;box-sizing:border-box}
  .lec-groups-grid{grid-template-columns:1fr!important;gap:12px!important}.lec-escape-grid{grid-template-columns:1fr}
  .lec-regions-head{align-items:flex-start;gap:10px}
  body.groups.single-item #buddypress #members-group-list ul#member-list,body.groups.single-item #buddypress #members-group-list ul.item-list{grid-template-columns:1fr!important;gap:10px!important}

  /* Navigation BuddyPress : une seule ligne tactile partout. */
  body.groups.single-item #buddypress #item-nav,body.groups.single-item #buddypress #object-nav,
  body.bp-user #buddypress #item-nav,body.bp-user #buddypress nav#object-nav,
  body.groups.single-item #buddypress .main-navs#object-nav{position:relative!important;width:100%!important;padding:0 8px!important;overflow:hidden!important}
  body.groups.single-item #buddypress #item-nav ul,body.groups.single-item #buddypress #object-nav ul,
  body.bp-user #buddypress #item-nav ul,body.bp-user #buddypress nav#object-nav ul{
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:3px!important;width:100%!important;min-height:50px!important;margin:0!important;padding:5px 0!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none
  }
  body.groups.single-item #buddypress #item-nav ul::-webkit-scrollbar,body.groups.single-item #buddypress #object-nav ul::-webkit-scrollbar,
  body.bp-user #buddypress #item-nav ul::-webkit-scrollbar,body.bp-user #buddypress nav#object-nav ul::-webkit-scrollbar{display:none}
  body.groups.single-item #buddypress #item-nav li,body.groups.single-item #buddypress #object-nav li,
  body.bp-user #buddypress #item-nav li,body.bp-user #buddypress nav#object-nav li{flex:0 0 auto!important;scroll-snap-align:center}
  body.groups.single-item #buddypress #item-nav li a,body.groups.single-item #buddypress #object-nav li a,
  body.bp-user #buddypress #item-nav li a,body.bp-user #buddypress nav#object-nav li a{white-space:nowrap!important}
  body.groups.single-item #buddypress #item-nav.lec-nav-overflow:after,body.groups.single-item #buddypress #object-nav.lec-nav-overflow:after,
  body.bp-user #buddypress #item-nav.lec-nav-overflow:after,body.bp-user #buddypress nav#object-nav.lec-nav-overflow:after{content:'';position:absolute;z-index:5;right:0;top:0;bottom:0;width:28px;pointer-events:none;background:linear-gradient(90deg,rgba(10,57,54,0),#0A3936)}

  /* Sous-navigation tactile également, sans changer son esthétique. */
  body.bp-user #buddypress #subnav ul,body.bp-user #buddypress .bp-subnavs ul,
  body.groups.single-item #buddypress #subnav ul{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  body.bp-user #buddypress #subnav ul::-webkit-scrollbar,body.groups.single-item #buddypress #subnav ul::-webkit-scrollbar{display:none}

  /* Forum : les colonnes deviennent une carte lisible. */
  body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.topic{grid-template-columns:1fr auto!important;grid-template-areas:"title title" "replies freshness"!important;gap:10px!important}
  .lec-forum-intro{align-items:flex-start!important;gap:14px!important}.lec-forum-intro h2{font-size:24px!important}.lec-forum-new{min-height:42px!important;padding:0 16px!important}
}
@media (max-width:600px){
  body.directory.groups #buddypress,body.groups.single-item #buddypress,body.bp-user #buddypress{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
  .lec-hero{margin-top:10px;padding:28px 20px;border-radius:12px}.lec-hero:after{display:none}.lec-hero-mark{display:none}.lec-hero h1{font-size:34px!important}.lec-copy,.lec-lead{max-width:none}
  .lec-france{display:block;padding:18px;border-radius:10px}.lec-france-flag{margin-bottom:10px}.lec-france-cta{margin-top:12px;white-space:normal}
  .lec-regions-head{display:block}.lec-regions-head>a{display:inline-block;margin-top:8px}
  .lec-card-inner{grid-template-columns:84px minmax(0,1fr);gap:14px;min-height:0;padding:16px}.lec-avatar{min-height:84px}.lec-avatar img{max-width:84px!important;max-height:84px!important}

  /* Compte */
  body.bp-user #buddypress{margin-top:10px!important}
  body.bp-user #buddypress #item-header{min-height:220px!important}
  body.bp-user #buddypress #header-cover-image,body.bp-user #buddypress #item-header-cover-image{height:220px!important;min-height:220px!important}
  body.bp-user #buddypress #item-header-avatar{left:14px!important;bottom:14px!important;width:82px!important;height:82px!important}
  body.bp-user #buddypress #item-header-avatar a,body.bp-user #buddypress #item-header-avatar img.avatar{width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;max-width:82px!important;max-height:82px!important}
  body.bp-user #buddypress #item-header-content{left:108px!important;right:12px!important;bottom:18px!important}
  body.bp-user #buddypress #item-header-content h2,body.bp-user #buddypress #item-header-content h2 a{font-size:19px!important}
  body.bp-user #buddypress #item-body{padding:10px!important}
  body.bp-user #buddypress #item-body table.profile-fields{display:block!important;width:100%!important;overflow:visible!important}
  body.bp-user #buddypress #item-body table.profile-fields tbody,body.bp-user #buddypress #item-body table.profile-fields tr,body.bp-user #buddypress #item-body table.profile-fields td{display:block!important;width:100%!important;min-width:0!important}
  body.bp-user #buddypress #item-body table.profile-fields td.label{padding-bottom:4px!important;border-bottom:0!important}
  body.bp-user #buddypress #item-body table.profile-fields td.data{padding-top:4px!important}
  body.bp-user #buddypress #item-body table:not(.profile-fields){display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.bp-user #buddypress #item-body ul.item-list .action{clear:both;margin-left:0!important;padding-top:7px!important}
  .lec56-account{padding:0 10px}.lec56-account-grid{grid-template-columns:1fr}.lec56-account>header{padding:14px}.lec56-account>header img{width:60px;height:60px}

  /* Canal France */
  .lec54-france-channel{display:block;padding:14px!important}.lec54-france-flag{margin-bottom:9px}.lec54-france-channel>a{margin-top:10px;white-space:normal}

  /* Messagerie : vraie application mobile presque plein écran. */
  .lec45-chat,.lec45-chat.lec50-inbox-mode{
    inset:8px!important;width:auto!important;height:calc(var(--lec-vvh,100dvh) - 16px)!important;max-width:none!important;max-height:none!important;
    border:1px solid rgba(217,174,55,.42)!important;border-radius:10px!important;transform:none!important
  }
  .lec59-resize-handle{display:none!important}
  .lec45-chat-head{min-height:52px;padding:7px 8px;padding-top:max(7px,env(safe-area-inset-top))}
  .lec45-chat-head:before{display:none}.lec45-chat-tools{gap:3px}.lec45-chat-tools button,.lec47-status-btn{width:30px!important;height:30px!important;min-width:30px!important}
  .lec53-hub{display:flex!important;flex-direction:column!important;min-height:0!important}
  .lec53-sidebar{flex:0 0 auto;max-height:34%;border-right:0;border-bottom:1px solid rgba(217,174,55,.18)}
  .lec53-tabs{padding:6px}.lec53-sidebody{max-height:150px}
  .lec53-main{flex:1;min-height:0}.lec45-chat-messages{padding:9px}.lec45-msg{max-width:88%;font-size:11.5px}
  .lec45-chat-compose{padding:7px;padding-bottom:max(7px,env(safe-area-inset-bottom))}.lec45-chat-compose textarea{min-height:38px!important;font-size:16px!important}.lec45-chat-send{height:38px!important;min-height:38px!important}
  .lec46-video-grid{max-height:36dvh}.lec46-tile video{max-height:26dvh}.lec46-incoming{grid-template-columns:1fr}.lec46-incoming>div{grid-column:1;grid-row:auto;margin-top:6px}
  .lec48-inbox-stack{left:8px!important;right:8px!important;bottom:68px!important;width:auto!important}.lec48-inbox-pop{grid-template-columns:38px minmax(0,1fr);padding:9px}.lec48-inbox-pop img{width:38px;height:38px}.lec48-inbox-bubble{left:12px!important;bottom:12px!important}
}
@media (max-width:430px){
  body.directory.groups #buddypress,body.groups.single-item #buddypress,body.bp-user #buddypress{width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important}
  .lec-card-inner{grid-template-columns:70px minmax(0,1fr);gap:11px;padding:13px}.lec-avatar{min-height:70px}.lec-avatar img{max-width:70px!important;max-height:70px!important}
  body.groups.single-item #buddypress #members-group-list li.item-entry,body.groups.single-item #buddypress #members-list li.item-entry{padding:12px!important}
  body.bp-user #buddypress #item-nav li a,body.bp-user #buddypress nav#object-nav li a,
  body.groups.single-item #buddypress #item-nav li a,body.groups.single-item #buddypress #object-nav li a{padding-left:9px!important;padding-right:9px!important;font-size:10.5px!important}
  .lec45-chat,.lec45-chat.lec50-inbox-mode{inset:6px!important;height:calc(var(--lec-vvh,100dvh) - 12px)!important}
  .lec53-sidebar{max-height:31%}.lec53-sidebody{max-height:130px}.lec53-member{grid-template-columns:32px minmax(0,1fr)!important}.lec53-member img{width:32px;height:32px}
}
@media (max-width:360px){
  .lec-hero{padding:24px 16px}.lec-hero h1{font-size:30px!important}
  body.bp-user #buddypress #item-header-avatar{width:72px!important;height:72px!important}.bp-user #buddypress #item-header-avatar a,body.bp-user #buddypress #item-header-avatar img.avatar{width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;max-width:72px!important;max-height:72px!important}
  body.bp-user #buddypress #item-header-content{left:98px!important}
  .lec45-chat-tools button,.lec47-status-btn{width:28px!important;height:28px!important;min-width:28px!important}.lec45-chat-tools{gap:2px}
}

/* v5.16 — Responsive canonique de l'espace membre */
@media (max-width:780px){
 body.bp-user #buddypress{width:calc(100% - 20px)!important;max-width:none!important;margin:10px 10px 28px!important}
 body.bp-user #buddypress #item-body{padding:12px!important}
 body.bp-user #buddypress #activity-stream>li{grid-template-columns:32px minmax(0,1fr)!important;column-gap:8px!important;padding:9px!important}
 body.bp-user #buddypress #activity-stream .activity-avatar,body.bp-user #buddypress #activity-stream .activity-avatar img.avatar{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important}
 body.bp-user #buddypress #activity-stream .activity-inner figure,body.bp-user #buddypress #activity-stream .activity-inner .wp-block-image{max-width:100%!important}
 body.bp-user #buddypress #activity-stream .activity-inner figure img,body.bp-user #buddypress #activity-stream .activity-inner .wp-block-image img,body.bp-user #buddypress #activity-stream .activity-inner img.wp-post-image,body.bp-user #buddypress #activity-stream .activity-inner img[class*="attachment-"]{max-height:58dvh!important}
 body.bp-user #buddypress .subnav-filters{align-items:stretch!important}
 body.bp-user #buddypress .subnav-filters select{width:100%!important;min-width:0!important}
}
@media (max-width:600px){
 body.bp-user #buddypress #item-header{min-height:220px!important}
 body.bp-user #buddypress #header-cover-image,body.bp-user #buddypress #item-header-cover-image{height:220px!important;min-height:220px!important}
 body.bp-user #buddypress #item-header-avatar{left:14px!important;bottom:14px!important;width:82px!important;height:82px!important}
 body.bp-user #buddypress #item-header-avatar a,body.bp-user #buddypress #item-header-avatar img.avatar{width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;max-width:82px!important;max-height:82px!important}
 body.bp-user #buddypress #item-header-content{left:108px!important;right:12px!important;bottom:18px!important}
 body.bp-user #buddypress #item-header-content h2,body.bp-user #buddypress #item-header-content h2 a{font-size:19px!important}
 body.bp-user #buddypress #item-body{padding:10px!important}
 body.bp-user #buddypress #activity-stream>li{grid-template-columns:30px minmax(0,1fr)!important;column-gap:8px!important;padding:9px!important}
 body.bp-user #buddypress #activity-stream .activity-avatar,body.bp-user #buddypress #activity-stream .activity-avatar img.avatar{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;max-width:30px!important;max-height:30px!important}
 body.bp-user #buddypress #activity-stream .activity-inner{padding:8px!important;font-size:10.8px!important}
 body.bp-user #buddypress #activity-stream .activity-meta{gap:3px!important}
 body.bp-user #buddypress #activity-stream .activity-meta a{min-height:27px!important;padding:0 8px!important}
 body.bp-user #buddypress #item-body table.profile-fields{display:block!important;width:100%!important;overflow:visible!important}
 body.bp-user #buddypress #item-body table.profile-fields tbody,body.bp-user #buddypress #item-body table.profile-fields tr,body.bp-user #buddypress #item-body table.profile-fields td{display:block!important;width:100%!important;min-width:0!important}
 body.bp-user #buddypress #item-body table.profile-fields td.label{padding-bottom:4px!important;border-bottom:0!important}
 body.bp-user #buddypress #item-body table.profile-fields td.data{padding-top:4px!important}
 body.bp-user #buddypress #item-body table:not(.profile-fields){display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 body.bp-user #buddypress #item-body ul.item-list .action{clear:both;margin-left:0!important;padding-top:7px!important}
}
@media (max-width:430px){
 body.bp-user #buddypress #item-nav li a,body.bp-user #buddypress nav#object-nav li a{padding-left:9px!important;padding-right:9px!important;font-size:10.5px!important}
 body.bp-user #buddypress #activity-stream>li{grid-template-columns:28px minmax(0,1fr)!important;column-gap:7px!important;padding:8px!important}
 body.bp-user #buddypress #activity-stream .activity-avatar,body.bp-user #buddypress #activity-stream .activity-avatar img.avatar{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;max-width:28px!important;max-height:28px!important}
 body.bp-user #buddypress #activity-stream .activity-header,body.bp-user #buddypress #activity-stream .activity-header p{font-size:10px!important}
 body.bp-user #buddypress #activity-stream .activity-inner{font-size:10.5px!important;line-height:1.45!important}
}
@media (max-width:360px){
 body.bp-user #buddypress #item-header-avatar{width:72px!important;height:72px!important}
 body.bp-user #buddypress #item-header-avatar a,body.bp-user #buddypress #item-header-avatar img.avatar{width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;max-width:72px!important;max-height:72px!important}
 body.bp-user #buddypress #item-header-content{left:98px!important}
}

/* ==========================================================
   v5.17 — Correctif responsive structurel mobile/tablette
   Priorité absolue : aucun débordement horizontal, composants
   empilés proprement, navigation tactile conservée.
   ========================================================== */
@media (max-width:780px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.directory.groups #buddypress,
  body.groups.single-item #buddypress,
  body.bp-user #buddypress{
    width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important;
    margin-left:10px!important;margin-right:10px!important;transform:none!important;
  }
  body.directory.groups #buddypress *,body.groups.single-item #buddypress *,body.bp-user #buddypress *{box-sizing:border-box!important;min-width:0!important;max-width:100%}

  /* Annuaire */
  .lec-hero{width:100%!important;margin:10px 0 14px!important;padding:26px 18px!important;min-height:0!important}
  .lec-hero-copy{width:100%!important;max-width:100%!important}.lec-hero h1{font-size:clamp(30px,9vw,42px)!important;overflow-wrap:anywhere}.lec-lead{font-size:17px!important;line-height:1.35!important}.lec-copy{font-size:13px!important;line-height:1.6!important}
  body.directory.groups #buddypress .groups-type-navs{width:100%!important;overflow:hidden!important}
  body.directory.groups #buddypress .groups-type-navs ul{width:100%!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
  body.directory.groups #buddypress .groups-type-navs ul::-webkit-scrollbar{display:none}
  body.directory.groups #buddypress .groups-type-navs li{flex:0 0 auto!important}
  body.directory.groups #buddypress .subnav-filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;padding:10px!important}
  body.directory.groups #buddypress .subnav-filters>*,body.directory.groups #buddypress .subnav-filters input,body.directory.groups #buddypress .subnav-filters select{width:100%!important;max-width:100%!important;margin:0!important}
  body.directory.groups #buddypress .bp-pagination{width:100%!important;gap:10px!important;flex-wrap:wrap!important}
  .lec-groups-grid{width:100%!important;grid-template-columns:minmax(0,1fr)!important}
  .lec-groups-grid>li.lec-group-card{width:100%!important;min-height:0!important}
  .lec-card-inner{width:100%!important;grid-template-columns:76px minmax(0,1fr)!important;gap:12px!important;padding:14px!important;min-height:0!important}
  .lec-avatar{min-height:76px!important}.lec-avatar img{width:70px!important;height:70px!important;max-width:70px!important;max-height:70px!important}
  .lec-title{font-size:18px!important;overflow-wrap:anywhere!important}.lec-desc{font-size:12.5px!important;line-height:1.5!important}.lec-actions{width:100%!important}.lec-primary{white-space:normal!important;text-align:center!important}

  /* En-tête d'un groupe : le desktop ne doit plus comprimer le titre. */
  body.groups.single-item #buddypress #item-header{width:100%!important;margin-top:10px!important;border-radius:12px!important;overflow:hidden!important}
  body.groups.single-item #buddypress #header-cover-image{width:100%!important;height:190px!important;min-height:190px!important;background-size:cover!important;background-position:center!important}
  body.groups.single-item #buddypress #item-header-cover-image,
  body.lec-group-subpage.groups.single-item #buddypress #item-header-cover-image{
    display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;grid-template-areas:"avatar content" "actions actions"!important;
    align-items:center!important;gap:12px!important;width:100%!important;min-height:0!important;margin:0!important;padding:14px!important;
  }
  body.groups.single-item #buddypress #item-header-avatar{grid-area:avatar!important;position:static!important;float:none!important;width:86px!important;height:86px!important;margin:0!important;align-self:start!important}
  body.groups.single-item #buddypress #item-header-avatar a{display:block!important;width:86px!important;height:86px!important}
  body.groups.single-item #buddypress #item-header-avatar img{display:block!important;width:86px!important;height:86px!important;max-width:86px!important;max-height:86px!important;margin:0!important;padding:7px!important;border-radius:12px!important;object-fit:contain!important}
  body.groups.single-item #buddypress #item-header-content{grid-area:content!important;position:static!important;float:none!important;width:100%!important;margin:0!important;padding:0!important;align-self:center!important}
  body.groups.single-item #buddypress #item-header-content h2,body.groups.single-item #buddypress #item-header-content h2 a{width:auto!important;max-width:100%!important;margin:0 0 6px!important;font-size:20px!important;line-height:1.2!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
  body.groups.single-item #buddypress #item-header-content .activity,body.groups.single-item #buddypress #item-header-content .highlight{font-size:12px!important;line-height:1.45!important;word-break:normal!important}
  body.groups.single-item #buddypress #item-actions{grid-area:actions!important;position:static!important;float:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;margin:0!important;padding:8px 0 0!important;text-align:left!important}
  body.groups.single-item #buddypress #item-actions h2{margin:0!important;font-size:10px!important;white-space:nowrap!important}
  body.groups.single-item #buddypress #item-actions ul{justify-content:flex-start!important}
  body.groups.single-item #buddypress #item-actions img.avatar{width:28px!important;height:28px!important;max-width:28px!important}
  body.groups.single-item #buddypress #item-header-content .generic-button,body.groups.single-item #buddypress #item-header-content .group-button{display:inline-block!important;width:auto!important;max-width:100%!important}

  /* Navigation groupe/compte : rail horizontal, jamais coupé. */
  body.groups.single-item #buddypress #item-nav,body.groups.single-item #buddypress #object-nav,body.groups.single-item #buddypress .main-navs#object-nav,
  body.bp-user #buddypress #item-nav,body.bp-user #buddypress nav#object-nav{width:100%!important;margin:10px 0!important;padding:5px!important;border-radius:10px!important;overflow:hidden!important}
  body.groups.single-item #buddypress #item-nav ul,body.groups.single-item #buddypress #object-nav ul,body.groups.single-item #buddypress nav#object-nav ul,
  body.bp-user #buddypress #item-nav ul,body.bp-user #buddypress nav#object-nav ul{display:flex!important;flex-wrap:nowrap!important;width:100%!important;gap:3px!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
  body.groups.single-item #buddypress #item-nav ul::-webkit-scrollbar,body.groups.single-item #buddypress #object-nav ul::-webkit-scrollbar,body.bp-user #buddypress #item-nav ul::-webkit-scrollbar{display:none!important}
  body.groups.single-item #buddypress #item-nav li,body.groups.single-item #buddypress #object-nav li,body.bp-user #buddypress #item-nav li{flex:0 0 auto!important;margin:0!important}
  body.groups.single-item #buddypress #item-nav li#invite-groups-li,body.groups.single-item #buddypress #object-nav li#invite-groups-li{margin-left:0!important}
  body.groups.single-item #buddypress #item-nav li a,body.groups.single-item #buddypress #object-nav li a,body.bp-user #buddypress #item-nav li a{min-height:38px!important;padding:0 11px!important;font:600 11px/1 Roboto,Arial,sans-serif!important;white-space:nowrap!important}

  /* Corps groupe et activité */
  body.groups.single-item #buddypress #item-body{width:100%!important;margin:10px 0 34px!important;padding:12px!important;border-radius:12px!important;overflow:hidden!important}
  body.groups.single-item #buddypress #item-body p,body.groups.single-item #buddypress #item-body li,body.groups.single-item #buddypress #item-body label{font-size:13px!important;line-height:1.55!important;overflow-wrap:break-word!important}
  body.groups.single-item #buddypress #activity-stream>li{width:100%!important;grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important;padding:10px!important}
  body.groups.single-item #buddypress #activity-stream .activity-avatar,body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;border-radius:50%!important;object-fit:cover!important}
  body.groups.single-item #buddypress #activity-stream .activity-content,body.groups.single-item #buddypress #activity-stream .activity-inner{width:100%!important;max-width:100%!important;overflow:hidden!important}
  body.groups.single-item #buddypress #activity-stream .activity-inner img{height:auto!important;max-width:100%!important;object-fit:contain!important}
  body.groups.single-item #buddypress .subnav-filters{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
  body.groups.single-item #buddypress .subnav-filters>*{width:100%!important;margin:0!important}

  /* Espace membre */
  body.bp-user #buddypress #item-header{width:100%!important}
  body.bp-user #buddypress #item-body{width:100%!important;overflow:hidden!important}
  body.bp-user #buddypress #activity-stream .activity-content,body.bp-user #buddypress #activity-stream .activity-inner{width:100%!important;max-width:100%!important;overflow:hidden!important}
  body.bp-user #buddypress #activity-stream .activity-inner img{height:auto!important;max-width:100%!important;object-fit:contain!important}
}
@media (max-width:480px){
  body.directory.groups #buddypress,body.groups.single-item #buddypress,body.bp-user #buddypress{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin-left:8px!important;margin-right:8px!important}
  .lec-card-inner{grid-template-columns:64px minmax(0,1fr)!important;padding:12px!important}.lec-avatar{min-height:64px!important}.lec-avatar img{width:60px!important;height:60px!important;max-width:60px!important;max-height:60px!important}
  body.groups.single-item #buddypress #header-cover-image{height:170px!important;min-height:170px!important}
  body.groups.single-item #buddypress #item-header-cover-image,body.lec-group-subpage.groups.single-item #buddypress #item-header-cover-image{grid-template-columns:72px minmax(0,1fr)!important;padding:12px!important;gap:10px!important}
  body.groups.single-item #buddypress #item-header-avatar,body.groups.single-item #buddypress #item-header-avatar a,body.groups.single-item #buddypress #item-header-avatar img{width:72px!important;height:72px!important;max-width:72px!important;max-height:72px!important}
  body.groups.single-item #buddypress #item-header-content h2,body.groups.single-item #buddypress #item-header-content h2 a{font-size:18px!important}
  body.groups.single-item #buddypress #item-body{padding:10px!important}
  body.groups.single-item #buddypress #activity-stream>li{grid-template-columns:28px minmax(0,1fr)!important;padding:8px!important}
  body.groups.single-item #buddypress #activity-stream .activity-avatar,body.groups.single-item #buddypress #activity-stream .activity-avatar img.avatar{width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important}
}

/* ==========================================================
   v5.18 — Passe responsive mobile/tablette, composants groupe
   ========================================================== */
@media (max-width:780px){
  /* Le rail de navigation est autonome : il défile sans déplacer la page. */
  body.groups.single-item #buddypress #item-nav,
  body.groups.single-item #buddypress #object-nav,
  body.groups.single-item #buddypress nav#object-nav{
    position:relative!important;width:100%!important;max-width:100%!important;
    margin:10px 0!important;padding:6px 8px!important;overflow:hidden!important;
  }
  body.groups.single-item #buddypress #item-nav ul,
  body.groups.single-item #buddypress #object-nav ul,
  body.groups.single-item #buddypress nav#object-nav ul{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    flex-wrap:nowrap!important;gap:5px!important;width:auto!important;max-width:none!important;
    min-height:48px!important;margin:0!important;padding:0 2px!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;
    overscroll-behavior-inline:contain;touch-action:pan-x;-webkit-overflow-scrolling:touch!important;
  }
  body.groups.single-item #buddypress #item-nav li,
  body.groups.single-item #buddypress #object-nav li{flex:0 0 auto!important;max-width:none!important;scroll-snap-align:start}
  body.groups.single-item #buddypress #item-nav li a,
  body.groups.single-item #buddypress #object-nav li a{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:auto!important;max-width:none!important;min-height:40px!important;padding:0 12px!important;
    font:600 12px/1 Roboto,Arial,sans-serif!important;white-space:nowrap!important;
  }
  body.groups.single-item #buddypress #item-nav li#invite-groups-li,
  body.groups.single-item #buddypress #object-nav li#invite-groups-li,
  body.groups.single-item #buddypress #item-nav li#admin-groups-li,
  body.groups.single-item #buddypress #object-nav li#admin-groups-li{margin-left:0!important}

  /* En-tête : couverture puis identité. Aucun élément ne chevauche le menu. */
  body.groups.single-item #buddypress #item-header{overflow:hidden!important}
  body.groups.single-item #buddypress #header-cover-image{
    position:relative!important;inset:auto!important;height:170px!important;min-height:170px!important;
    margin:0!important;border:0!important;background-position:center!important;background-size:cover!important;
  }
  body.groups.single-item #buddypress #item-header-cover-image,
  body.lec-group-subpage.groups.single-item #buddypress #item-header-cover-image{
    display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;
    grid-template-areas:"avatar content" "actions actions"!important;
    gap:12px 14px!important;align-items:center!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding:14px 16px 16px!important;overflow:visible!important;
  }
  body.groups.single-item #buddypress #item-header-avatar,
  body.groups.single-item #buddypress #item-header-avatar a{grid-area:avatar!important;width:82px!important;height:82px!important}
  body.groups.single-item #buddypress #item-header-avatar img{width:82px!important;height:82px!important;max-width:82px!important;max-height:82px!important;padding:7px!important}
  body.groups.single-item #buddypress #item-header-content{grid-area:content!important;display:block!important;width:100%!important;max-width:100%!important;overflow:visible!important}
  body.groups.single-item #buddypress #item-header-content h2,
  body.groups.single-item #buddypress #item-header-content h2 a{
    display:block!important;width:100%!important;max-width:100%!important;margin:0 0 5px!important;
    color:#FFFFFF!important;font:600 18px/1.22 Roboto,Arial,sans-serif!important;
    word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important;
  }
  body.groups.single-item #buddypress #item-header-content .activity,
  body.groups.single-item #buddypress #item-header-content .highlight{font-size:11.5px!important;line-height:1.4!important}
  body.groups.single-item #buddypress #item-actions{
    grid-area:actions!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;justify-content:start!important;column-gap:10px!important;row-gap:5px!important;
    width:100%!important;max-width:100%!important;padding:4px 0 0!important;text-align:left!important;
  }
  body.groups.single-item #buddypress #item-actions h2{margin:0!important;font-size:10px!important;white-space:nowrap!important}
  body.groups.single-item #buddypress #item-actions ul{justify-content:flex-start!important}

  /* Canal France : carte compacte et totalement fluide. */
  body.groups.single-item .lec54-france-channel{
    display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:10px 12px!important;
    width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:14px!important;
  }
  body.groups.single-item .lec54-france-flag{grid-column:1;grid-row:1;width:52px!important;height:52px!important;margin:0!important}
  body.groups.single-item .lec54-france-copy{grid-column:2;grid-row:1;min-width:0!important}
  body.groups.single-item .lec54-france-copy strong{font-size:13px!important;line-height:1.35!important}
  body.groups.single-item .lec54-france-copy strong em{font-size:11px!important;line-height:1.4!important}
  body.groups.single-item .lec54-france-copy p{font-size:11px!important;line-height:1.5!important}
  body.groups.single-item .lec54-france-channel>a{
    grid-column:1/-1!important;grid-row:2;width:100%!important;max-width:100%!important;min-height:40px!important;
    margin:0!important;padding:0 12px!important;font-size:10px!important;white-space:normal!important;text-align:center!important;
  }

  /* Discussions/bbPress : suppression complète des largeurs/floats desktop. */
  body.groups.single-item #buddypress #item-body #bbpress-forums,
  body.groups.single-item #buddypress #item-body #bbpress-forums>*{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important}
  body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-intro{
    display:block!important;width:100%!important;max-width:100%!important;margin:0 0 14px!important;padding:2px 0 14px!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-intro>div{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-kicker{
    display:block!important;width:100%!important;max-width:100%!important;margin:0 0 6px!important;
    font-size:10px!important;line-height:1.35!important;letter-spacing:.12em!important;word-break:normal!important;overflow-wrap:normal!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-intro h2{
    display:block!important;width:100%!important;max-width:100%!important;margin:0 0 6px!important;
    font-size:20px!important;line-height:1.2!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-intro p{
    display:block!important;width:100%!important;max-width:100%!important;margin:0!important;
    font-size:12.5px!important;line-height:1.5!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .lec-forum-new{
    width:100%!important;max-width:100%!important;min-height:40px!important;margin:10px 0 0!important;padding:0 12px!important;font-size:11px!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-title,
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-voice-count,
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-reply-count,
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness{width:auto!important;max-width:100%!important;float:none!important}

  /* Activité : densité identique au reste du plugin. */
  body.groups.single-item #buddypress #activity-stream>li{border-radius:8px!important}
  body.groups.single-item #buddypress #activity-stream .activity-header,
  body.groups.single-item #buddypress #activity-stream .activity-header p{font-size:10.5px!important;line-height:1.45!important}
  body.groups.single-item #buddypress #activity-stream .activity-inner{font-size:11.5px!important;line-height:1.5!important}
  body.groups.single-item #buddypress #activity-stream .activity-meta{display:flex!important;flex-wrap:wrap!important;gap:4px!important}
  body.groups.single-item #buddypress #activity-stream .activity-meta a{min-height:28px!important;padding:0 8px!important;font-size:10px!important}

  /* Membres : cartes moins massives sur mobile. */
  body.groups.single-item #buddypress #members-group-list li.item-entry,
  body.groups.single-item #buddypress #members-list li.item-entry{
    width:100%!important;max-width:100%!important;min-height:0!important;padding:12px!important;border-radius:8px!important;
  }
  body.groups.single-item #buddypress #members-group-list li.item-entry .item-avatar img,
  body.groups.single-item #buddypress #members-list li.item-entry .item-avatar img{
    width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important;border-radius:50%!important;object-fit:cover!important;
  }
  body.groups.single-item #buddypress #members-group-list .item-title,
  body.groups.single-item #buddypress #members-list .item-title{font-size:14px!important;line-height:1.3!important}
  body.groups.single-item #buddypress #members-group-list .item-meta,
  body.groups.single-item #buddypress #members-list .item-meta{font-size:11px!important;line-height:1.4!important}
}

@media (max-width:480px){
  body.groups.single-item #buddypress #item-header-cover-image,
  body.lec-group-subpage.groups.single-item #buddypress #item-header-cover-image{
    grid-template-columns:70px minmax(0,1fr)!important;gap:10px 12px!important;padding:12px!important;
  }
  body.groups.single-item #buddypress #item-header-avatar,
  body.groups.single-item #buddypress #item-header-avatar a,
  body.groups.single-item #buddypress #item-header-avatar img{width:70px!important;height:70px!important;max-width:70px!important;max-height:70px!important}
  body.groups.single-item #buddypress #item-header-content h2,
  body.groups.single-item #buddypress #item-header-content h2 a{font-size:17px!important}
  body.groups.single-item #buddypress #item-nav li a,
  body.groups.single-item #buddypress #object-nav li a{min-height:38px!important;padding:0 10px!important;font-size:11px!important}
  body.groups.single-item #buddypress #item-body{padding:10px!important}
  body.groups.single-item .lec54-france-channel{grid-template-columns:46px minmax(0,1fr)!important;padding:12px!important}
  body.groups.single-item .lec54-france-flag{width:46px!important;height:46px!important}
  body.groups.single-item #buddypress #members-group-list li.item-entry .item-avatar img,
  body.groups.single-item #buddypress #members-list li.item-entry .item-avatar img{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important}
}

/* ==========================================================
   v5.19 — Responsive final : groupe + compte BuddyPress
   Corrige les derniers héritages desktop sans toucher aux rôles,
   capacités, wp-admin ni redirections de connexion.
   ========================================================== */
@media (max-width:780px){
  /* Garde-fou global : aucun enfant BuddyPress ne peut élargir la page. */
  body.directory.groups #buddypress,
  body.groups.single-item #buddypress,
  body.bp-user #buddypress{box-sizing:border-box!important;min-width:0!important;overflow:visible!important}
  body.directory.groups #buddypress *,
  body.groups.single-item #buddypress *,
  body.bp-user #buddypress *{box-sizing:border-box!important;min-width:0!important}
  body.directory.groups #buddypress img,
  body.groups.single-item #buddypress img,
  body.bp-user #buddypress img{max-width:100%!important;height:auto}

  /* Tous les rails BuddyPress : vraie navigation tactile, jamais de compression. */
  body.groups.single-item #buddypress .bp-navs,
  body.groups.single-item #buddypress .item-list-tabs,
  body.bp-user #buddypress .bp-navs,
  body.bp-user #buddypress .item-list-tabs{max-width:100%!important;overflow:hidden!important}
  body.groups.single-item #buddypress .bp-navs>ul,
  body.groups.single-item #buddypress .item-list-tabs>ul,
  body.bp-user #buddypress .bp-navs>ul,
  body.bp-user #buddypress .item-list-tabs>ul{
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;max-width:100%!important;margin:0!important;padding:5px 0!important;gap:4px!important;
    overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;
    scrollbar-width:none!important;scroll-snap-type:x proximity!important
  }
  body.groups.single-item #buddypress .bp-navs>ul::-webkit-scrollbar,
  body.groups.single-item #buddypress .item-list-tabs>ul::-webkit-scrollbar,
  body.bp-user #buddypress .bp-navs>ul::-webkit-scrollbar,
  body.bp-user #buddypress .item-list-tabs>ul::-webkit-scrollbar{display:none!important}
  body.groups.single-item #buddypress .bp-navs>ul>li,
  body.groups.single-item #buddypress .item-list-tabs>ul>li,
  body.bp-user #buddypress .bp-navs>ul>li,
  body.bp-user #buddypress .item-list-tabs>ul>li{flex:0 0 auto!important;width:auto!important;max-width:none!important;margin:0!important;float:none!important;scroll-snap-align:start!important}
  body.groups.single-item #buddypress .bp-navs>ul>li>a,
  body.groups.single-item #buddypress .item-list-tabs>ul>li>a,
  body.bp-user #buddypress .bp-navs>ul>li>a,
  body.bp-user #buddypress .item-list-tabs>ul>li>a{display:inline-flex!important;width:auto!important;max-width:none!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}

  /* En-tête groupe : structure stable, titre et métadonnées ne peuvent plus se mettre lettre par lettre. */
  body.groups.single-item #buddypress #item-header-cover-image,
  body.lec-group-subpage.groups.single-item #buddypress #item-header-cover-image{
    display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-areas:"avatar content" "actions actions"!important;
    align-items:center!important;gap:10px 14px!important;width:100%!important;max-width:100%!important;padding:14px!important
  }
  body.groups.single-item #buddypress #item-header-content{grid-area:content!important;position:static!important;display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
  body.groups.single-item #buddypress #item-header-content h2,
  body.groups.single-item #buddypress #item-header-content h2 a{display:block!important;width:100%!important;max-width:100%!important;font-size:18px!important;line-height:1.22!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  body.groups.single-item #buddypress #item-header-content .activity,
  body.groups.single-item #buddypress #item-header-content .highlight{display:block!important;width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  body.groups.single-item #buddypress #item-actions{grid-area:actions!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:7px 10px!important;width:100%!important;max-width:100%!important;padding-top:4px!important}
  body.groups.single-item #buddypress #item-actions h2{flex:0 0 100%!important;width:100%!important;font-size:12px!important;white-space:normal!important}

  /* Canal France : compact et identique dans tous les onglets. */
  body.groups.single-item .lec54-france-channel{
    display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-areas:"flag copy" "cta cta"!important;
    gap:10px 12px!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:13px!important
  }
  body.groups.single-item .lec54-france-flag{grid-area:flag!important;width:48px!important;height:48px!important;margin:0!important}
  body.groups.single-item .lec54-france-copy{grid-area:copy!important;width:100%!important;max-width:100%!important}
  body.groups.single-item .lec54-france-copy span{font-size:9.5px!important;line-height:1.3!important}
  body.groups.single-item .lec54-france-copy strong{font-size:13px!important;line-height:1.35!important}
  body.groups.single-item .lec54-france-copy strong em{font-size:11px!important;line-height:1.45!important}
  body.groups.single-item .lec54-france-copy p{margin-top:5px!important;font-size:11px!important;line-height:1.48!important}
  body.groups.single-item .lec54-france-channel>a{grid-area:cta!important;width:100%!important;min-height:40px!important;margin:0!important;padding:0 12px!important;justify-content:center!important;font-size:10.5px!important;text-align:center!important;white-space:normal!important}

  /* Activité : compositeur et filtres beaucoup moins massifs. */
  body.groups.single-item #buddypress #whats-new-form,
  body.bp-user #buddypress #whats-new-form{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0 0 10px!important;padding:10px!important;min-height:0!important}
  body.groups.single-item #buddypress #whats-new-avatar,
  body.bp-user #buddypress #whats-new-avatar{width:36px!important;margin:0!important;float:none!important}
  body.groups.single-item #buddypress #whats-new-avatar img,
  body.bp-user #buddypress #whats-new-avatar img{width:36px!important;height:36px!important;max-width:36px!important;border-radius:50%!important;object-fit:cover!important}
  body.groups.single-item #buddypress #whats-new-content,
  body.bp-user #buddypress #whats-new-content{width:100%!important;margin:0!important;padding:0!important;float:none!important}
  body.groups.single-item #buddypress #whats-new-textarea,
  body.bp-user #buddypress #whats-new-textarea{margin:0!important}
  body.groups.single-item #buddypress #whats-new-textarea textarea,
  body.bp-user #buddypress #whats-new-textarea textarea{width:100%!important;min-height:56px!important;height:56px!important;padding:11px!important;font-size:14px!important;line-height:1.4!important;resize:vertical!important}
  body.groups.single-item #buddypress .subnav-filters,
  body.bp-user #buddypress .subnav-filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:8px 0 12px!important;padding:10px!important}
  body.groups.single-item #buddypress .subnav-filters>*,body.bp-user #buddypress .subnav-filters>*{width:100%!important;max-width:100%!important;margin:0!important;float:none!important}
  body.groups.single-item #buddypress .subnav-filters select,body.bp-user #buddypress .subnav-filters select{width:100%!important;max-width:100%!important}

  /* Cartes activité : métadonnées et médias restent dans la carte. */
  body.groups.single-item #buddypress #activity-stream>li,
  body.bp-user #buddypress #activity-stream>li{width:100%!important;max-width:100%!important;overflow:hidden!important}
  body.groups.single-item #buddypress #activity-stream .activity-content,
  body.bp-user #buddypress #activity-stream .activity-content{min-width:0!important;width:100%!important;max-width:100%!important}
  body.groups.single-item #buddypress #activity-stream .activity-header,
  body.groups.single-item #buddypress #activity-stream .activity-header p,
  body.bp-user #buddypress #activity-stream .activity-header,
  body.bp-user #buddypress #activity-stream .activity-header p{white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  body.groups.single-item #buddypress #activity-stream .activity-inner,
  body.bp-user #buddypress #activity-stream .activity-inner{width:100%!important;max-width:100%!important;overflow:hidden!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}
  body.groups.single-item #buddypress #activity-stream .activity-inner img,
  body.bp-user #buddypress #activity-stream .activity-inner img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}

  /* Membres et invitations : une carte = une colonne, actions sous l'identité. */
  body.groups.single-item #buddypress ul#members-list,
  body.groups.single-item #buddypress #members-group-list ul,
  body.groups.single-item #buddypress ul#friend-list,
  body.groups.single-item #buddypress ul#invite-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;max-width:100%!important}
  body.groups.single-item #buddypress ul#members-list>li,
  body.groups.single-item #buddypress #members-group-list li,
  body.groups.single-item #buddypress ul#friend-list>li,
  body.groups.single-item #buddypress ul#invite-list>li{width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;padding:12px!important;overflow:hidden!important}
  body.groups.single-item #buddypress ul.item-list li .item-avatar{float:none!important;margin:0 0 8px!important}
  body.groups.single-item #buddypress ul.item-list li .item,
  body.groups.single-item #buddypress ul.item-list li .item-block{width:100%!important;max-width:100%!important;margin:0!important;float:none!important}
  body.groups.single-item #buddypress ul.item-list li .action{position:static!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:9px 0 0!important;padding:0!important;float:none!important;text-align:left!important}
  body.groups.single-item #buddypress ul.item-list li .action a,
  body.groups.single-item #buddypress ul.item-list li .action button{width:auto!important;max-width:100%!important;min-height:36px!important;margin:0!important;padding:0 12px!important;white-space:normal!important}

  /* Administration du groupe : l'ancien tableau horizontal devient un rail lisible. */
  body.groups.single-item #buddypress #group-settings-form,
  body.groups.single-item #buddypress form#group-settings-form,
  body.groups.single-item #buddypress .group-settings-selections,
  body.groups.single-item #buddypress .group-settings-selections fieldset{width:100%!important;max-width:100%!important;min-width:0!important}
  body.groups.single-item #buddypress #group-settings-form .bp-navs,
  body.groups.single-item #buddypress #group-settings-form .item-list-tabs,
  body.groups.single-item #buddypress .group-settings-selections .bp-navs{overflow:hidden!important}
  body.groups.single-item #buddypress #group-settings-form input[type=text],
  body.groups.single-item #buddypress #group-settings-form input[type=email],
  body.groups.single-item #buddypress #group-settings-form input[type=url],
  body.groups.single-item #buddypress #group-settings-form input[type=password],
  body.groups.single-item #buddypress #group-settings-form textarea,
  body.groups.single-item #buddypress #group-settings-form select{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;font-size:16px!important}
  body.groups.single-item #buddypress #group-settings-form textarea{min-height:140px!important}
  body.groups.single-item #buddypress #group-settings-form label{display:block!important;width:100%!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}

  /* Espace membre : sous-navigation, formulaires, listes et tables cohérents sur tous les onglets. */
  body.bp-user #buddypress #item-body{overflow:hidden!important}
  body.bp-user #buddypress #item-body form,
  body.bp-user #buddypress #item-body fieldset,
  body.bp-user #buddypress #item-body .standard-form{width:100%!important;max-width:100%!important;min-width:0!important}
  body.bp-user #buddypress #item-body input[type=text],
  body.bp-user #buddypress #item-body input[type=email],
  body.bp-user #buddypress #item-body input[type=url],
  body.bp-user #buddypress #item-body input[type=password],
  body.bp-user #buddypress #item-body textarea,
  body.bp-user #buddypress #item-body select{max-width:100%!important;min-width:0!important;font-size:16px!important}
  body.bp-user #buddypress #item-body .notifications-options-nav,
  body.bp-user #buddypress #item-body .messages-options-nav{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important}
}

@media (max-width:480px){
  body.directory.groups #buddypress,
  body.groups.single-item #buddypress,
  body.bp-user #buddypress{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin-left:8px!important;margin-right:8px!important}

  body.groups.single-item #buddypress #item-header-cover-image,
  body.lec-group-subpage.groups.single-item #buddypress #item-header-cover-image{grid-template-columns:68px minmax(0,1fr)!important;padding:11px!important;gap:9px 11px!important}
  body.groups.single-item #buddypress #item-header-avatar,
  body.groups.single-item #buddypress #item-header-avatar a,
  body.groups.single-item #buddypress #item-header-avatar img{width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important}
  body.groups.single-item #buddypress #item-header-content h2,
  body.groups.single-item #buddypress #item-header-content h2 a{font-size:16px!important;line-height:1.25!important}
  body.groups.single-item #buddypress #item-actions h2{font-size:11px!important}

  body.groups.single-item .lec54-france-channel{grid-template-columns:42px minmax(0,1fr)!important;padding:11px!important;gap:8px 10px!important}
  body.groups.single-item .lec54-france-flag{width:42px!important;height:42px!important;font-size:13px!important}
  body.groups.single-item .lec54-france-copy strong{font-size:12px!important}
  body.groups.single-item .lec54-france-copy strong em,
  body.groups.single-item .lec54-france-copy p{font-size:10.5px!important}

  body.groups.single-item #buddypress #item-body,
  body.bp-user #buddypress #item-body{padding:9px!important}
  body.groups.single-item #buddypress .bp-navs>ul>li>a,
  body.groups.single-item #buddypress .item-list-tabs>ul>li>a,
  body.bp-user #buddypress .bp-navs>ul>li>a,
  body.bp-user #buddypress .item-list-tabs>ul>li>a{min-height:38px!important;padding-left:10px!important;padding-right:10px!important;font-size:10.5px!important}
}


/* ==========================================================
   v5.20 — Finition espace membre + messagerie mobile
   Ne touche ni aux rôles WP, ni à wp-admin, ni aux redirections.
   ========================================================== */

/* Compositeur d'activité : supprimer les halos/fonds blancs hérités du thème. */
body.bp-user #buddypress #whats-new-form,
body.bp-user #buddypress #whats-new-form:before,
body.bp-user #buddypress #whats-new-form:after,
body.bp-user #buddypress #whats-new-content,
body.bp-user #buddypress #whats-new-textarea,
body.bp-user #buddypress #whats-new-textarea textarea{
  box-shadow:none!important;filter:none!important;
}
body.bp-user #buddypress #whats-new-form{
  border:1px solid rgba(217,174,55,.20)!important;
  background:rgba(255,255,255,.018)!important;
}
body.bp-user #buddypress #whats-new-textarea textarea{
  border:1px solid rgba(217,174,55,.22)!important;
  background:#062f2d!important;color:#FFFFFF!important;
}

/* Profil : aucune cellule blanche, y compris les styles très spécifiques du thème. */
body.bp-user #buddypress #item-body table.profile-fields,
body.bp-user #buddypress #item-body table.profile-fields tbody,
body.bp-user #buddypress #item-body table.profile-fields tr,
body.bp-user #buddypress #item-body table.profile-fields td,
body.bp-user #buddypress #item-body table.profile-fields td.label,
body.bp-user #buddypress #item-body table.profile-fields td.data{
  background:transparent!important;background-color:transparent!important;
  color:#FFFFFF!important;box-shadow:none!important;
}
body.bp-user #buddypress #item-body table.profile-fields tr{
  border-bottom:1px solid rgba(217,174,55,.16)!important;
}
body.bp-user #buddypress #item-body table.profile-fields td.label{
  color:#F6E39A!important;font-weight:700!important;
}
body.bp-user #buddypress #item-body table.profile-fields td.data{
  color:rgba(255,255,255,.88)!important;
}

/* Notifications et messages système : remplacer le bleu BuddyPress par la charte. */
body.bp-user #buddypress #item-body .bp-feedback,
body.bp-user #buddypress #item-body .bp-template-notice,
body.bp-user #buddypress #item-body .bp-messages,
body.bp-user #buddypress #item-body .bp-feedback .bp-icon,
body.bp-user #buddypress #item-body .bp-template-notice .bp-icon,
body.bp-user #buddypress #item-body .bp-messages .bp-icon{
  border-color:rgba(217,174,55,.22)!important;
  background:#083532!important;background-color:#083532!important;
  color:#FFFFFF!important;box-shadow:none!important;
}
body.bp-user #buddypress #item-body .bp-feedback .bp-icon,
body.bp-user #buddypress #item-body .bp-template-notice .bp-icon{
  color:#F6E39A!important;
}

/* Si la page Messages native reste visible en secours, elle reste sombre et lisible. */
body.bp-user #buddypress #item-body .message-box,
body.bp-user #buddypress #item-body .message-box .message-metadata,
body.bp-user #buddypress #item-body .message-box .message-content,
body.bp-user #buddypress #item-body .thread-content,
body.bp-user #buddypress #item-body .thread-messages,
body.bp-user #buddypress #item-body .message-action-star,
body.bp-user #buddypress #item-body table#message-threads,
body.bp-user #buddypress #item-body table#message-threads tr,
body.bp-user #buddypress #item-body table#message-threads td{
  background:#0B3F3C!important;background-color:#0B3F3C!important;
  color:#FFFFFF!important;box-shadow:none!important;
}

/* Fin de rail tactile : espace visuel après le dernier onglet. */
@media (max-width:780px){
  body.bp-user #buddypress .bp-navs>ul:after,
  body.bp-user #buddypress .item-list-tabs>ul:after,
  body.groups.single-item #buddypress .bp-navs>ul:after,
  body.groups.single-item #buddypress .item-list-tabs>ul:after{
    content:'';display:block;flex:0 0 14px;width:14px;height:1px;
  }

  /* Messagerie : fenêtre compacte, conversation prioritaire et saisie toujours accessible. */
  .lec45-chat,.lec45-chat.lec50-inbox-mode{
    left:8px!important;right:8px!important;top:auto!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:auto!important;height:min(78dvh,680px)!important;
    max-height:calc(var(--lec-vvh,100dvh) - 22px)!important;
    border-radius:12px!important;
  }
  .lec45-chat-head{min-height:48px!important;padding:6px 8px!important}
  .lec45-chat-name{font-size:12px!important}.lec45-chat-state{font-size:9px!important}
  .lec53-hub{flex:1!important;min-height:0!important;overflow:hidden!important}
  .lec53-sidebar{flex:0 0 auto!important;max-height:145px!important;min-height:0!important;overflow:hidden!important}
  .lec53-tabs{padding:5px!important}.lec53-tabs button{min-height:30px!important;font-size:9.5px!important}
  .lec53-sidebody{max-height:88px!important;overflow:auto!important}
  .lec50-conversation{grid-template-columns:30px minmax(0,1fr)!important;padding:4px 5px!important}
  .lec50-conversation img{width:30px!important;height:30px!important}
  .lec53-main{flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
  .lec53-main>.lec45-chat-messages{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding:8px!important}
  .lec45-msg{max-width:91%!important;padding:7px 9px!important;font-size:11.5px!important;line-height:1.42!important}
  .lec45-chat-compose{position:relative!important;z-index:5!important;flex:0 0 auto!important;padding:6px!important;padding-bottom:max(6px,env(safe-area-inset-bottom))!important}
  .lec45-chat-compose textarea{min-height:38px!important;max-height:78px!important;font-size:16px!important}
  .lec45-chat-send{width:40px!important;min-width:40px!important;height:38px!important;min-height:38px!important}
  .lec59-resize-handle{display:none!important}
}

@media (max-width:480px){
  /* Profil mobile : chaque champ devient une petite fiche sombre. */
  body.bp-user #buddypress #item-body table.profile-fields{border:0!important;background:transparent!important}
  body.bp-user #buddypress #item-body table.profile-fields tr{
    display:block!important;margin:0 0 7px!important;padding:9px 10px!important;
    border:1px solid rgba(217,174,55,.16)!important;border-radius:5px!important;
    background:rgba(255,255,255,.018)!important;
  }
  body.bp-user #buddypress #item-body table.profile-fields td.label,
  body.bp-user #buddypress #item-body table.profile-fields td.data{
    display:block!important;width:100%!important;min-width:0!important;padding:0!important;border:0!important;
  }
  body.bp-user #buddypress #item-body table.profile-fields td.label{margin-bottom:3px!important;font-size:10px!important;letter-spacing:.04em!important}
  body.bp-user #buddypress #item-body table.profile-fields td.data{font-size:12.5px!important;line-height:1.45!important}

  .lec45-chat,.lec45-chat.lec50-inbox-mode{height:min(76dvh,620px)!important}
  .lec53-sidebar{max-height:132px!important}.lec53-sidebody{max-height:78px!important}
}
.lec520-messages-bridge{max-width:560px;margin:10px auto;padding:22px;border:1px solid rgba(217,174,55,.24);background:rgba(255,255,255,.018);text-align:center}.lec520-messages-bridge>span{display:block;margin-bottom:7px;color:#D9AE37;font-size:10px;font-weight:800;letter-spacing:.16em}.lec520-messages-bridge h2{margin:0 0 7px!important}.lec520-messages-bridge p{margin:0 0 14px;color:rgba(255,255,255,.72)}.lec520-messages-bridge button{min-height:38px!important;border:0!important;background:linear-gradient(100deg,#F6E39A,#D9AE37 55%,#A9780B)!important;color:#0B3F3C!important;font-weight:800!important}

/* ==========================================================
   v5.21 — Correctifs ciblés mobile : activité, discussions,
   membres, filtres et médias. Aucun comportement WP/admin.
   ========================================================== */
@media (max-width:780px){
  /* Activité : la date ne flotte plus sur le texte. */
  body.groups.single-item #buddypress #activity-stream .lec31-head,
  body.bp-user #buddypress #activity-stream .lec31-head{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:flex-start!important;gap:3px!important;width:100%!important;min-width:0!important;
  }
  body.groups.single-item #buddypress #activity-stream .lec31-main,
  body.bp-user #buddypress #activity-stream .lec31-main{
    display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:2px 4px!important;
    width:100%!important;min-width:0!important;
  }
  body.groups.single-item #buddypress #activity-stream .lec31-date,
  body.bp-user #buddypress #activity-stream .lec31-date{
    position:static!important;display:block!important;align-self:flex-start!important;justify-self:auto!important;
    width:auto!important;max-width:100%!important;margin:1px 0 0!important;padding:0!important;
    white-space:normal!important;text-align:left!important;font-size:10px!important;line-height:1.35!important;
    color:rgba(255,255,255,.42)!important;
  }
  body.groups.single-item #buddypress #activity-stream .activity-header,
  body.groups.single-item #buddypress #activity-stream .activity-header p,
  body.bp-user #buddypress #activity-stream .activity-header,
  body.bp-user #buddypress #activity-stream .activity-header p{
    width:100%!important;max-width:100%!important;margin:0!important;overflow:visible!important;
  }

  /* Médias du flux : empêcher images/emoji de devenir gigantesques. */
  body.groups.single-item #buddypress #activity-stream .activity-inner img:not(.avatar):not(.emoji):not(.wp-smiley),
  body.bp-user #buddypress #activity-stream .activity-inner img:not(.avatar):not(.emoji):not(.wp-smiley){
    display:block!important;width:auto!important;max-width:min(100%,420px)!important;height:auto!important;
    max-height:52dvh!important;margin:10px auto!important;object-fit:contain!important;
  }
  body.groups.single-item #buddypress #activity-stream img.emoji,
  body.groups.single-item #buddypress #activity-stream img.wp-smiley,
  body.bp-user #buddypress #activity-stream img.emoji,
  body.bp-user #buddypress #activity-stream img.wp-smiley{
    display:inline!important;width:1.05em!important;height:1.05em!important;max-width:1.05em!important;max-height:1.05em!important;margin:0 .08em!important;
  }

  /* Filtres BuddyPress : champ et select réellement sur une seule ligne interne. */
  body.groups.single-item #buddypress .subnav-filters select,
  body.bp-user #buddypress .subnav-filters select{
    display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
    min-height:44px!important;height:44px!important;padding:0 42px 0 14px!important;line-height:44px!important;
    white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
    background-position:right 13px center!important;
  }
  body.groups.single-item #buddypress .subnav-filters .select-wrap,
  body.bp-user #buddypress .subnav-filters .select-wrap{
    display:block!important;position:relative!important;width:100%!important;min-width:0!important;height:44px!important;overflow:hidden!important;
  }
  body.groups.single-item #buddypress .subnav-filters .select-wrap select,
  body.bp-user #buddypress .subnav-filters .select-wrap select{height:44px!important;margin:0!important}
  body.groups.single-item #buddypress .subnav-filters .select-wrap span.select-arrow,
  body.bp-user #buddypress .subnav-filters .select-wrap span.select-arrow{
    position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;
    width:auto!important;height:auto!important;margin:0!important;padding:0!important;line-height:1!important;pointer-events:none!important;
  }

  /* Pagination membres : toujours horizontale. */
  body.groups.single-item #buddypress .bp-pagination,
  body.groups.single-item #buddypress .bp-pagination .bp-pagination-links,
  body.groups.single-item #buddypress .pagination-links,
  body.bp-user #buddypress .bp-pagination,
  body.bp-user #buddypress .bp-pagination .bp-pagination-links,
  body.bp-user #buddypress .pagination-links{
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;
    gap:5px!important;width:auto!important;max-width:100%!important;
  }
  body.groups.single-item #buddypress .bp-pagination{justify-content:space-between!important;width:100%!important}
  body.groups.single-item #buddypress .bp-pagination-links a,
  body.groups.single-item #buddypress .bp-pagination-links span,
  body.groups.single-item #buddypress .pagination-links a,
  body.groups.single-item #buddypress .pagination-links span{
    display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
    width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;
  }

  /* bbPress : sur téléphone un sujet est une carte, jamais un tableau compressé. */
  body.groups.single-item #buddypress #item-body #bbpress-forums ul.bbp-topics,
  body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums li.bbp-body ul.topic{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
    gap:9px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;
    margin:0 0 10px!important;padding:15px!important;border-radius:9px!important;overflow:hidden!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-title,
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-reply-count,
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness{
    display:block!important;position:static!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;text-align:left!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-permalink{
    display:block!important;width:100%!important;margin:0 0 5px!important;font-size:15px!important;line-height:1.35!important;
    white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-meta{
    display:flex!important;flex-wrap:wrap!important;gap:3px 5px!important;width:100%!important;font-size:10.5px!important;line-height:1.4!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-reply-count{
    color:rgba(255,255,255,.70)!important;font-size:11px!important;font-weight:600!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-reply-count:after{
    display:inline!important;margin:0 0 0 4px!important;font-size:9px!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness,
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness>a,
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness-author{
    text-align:left!important;font-size:10.5px!important;line-height:1.4!important;
  }
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-freshness-author{margin-top:2px!important}
  body.groups.single-item #buddypress #item-body #bbpress-forums .bbp-topic-voice-count{display:none!important}
}

@media (max-width:480px){
  /* Le compositeur doit se fondre dans l'interface, sans cadre lumineux. */
  body.groups.single-item #buddypress #whats-new-form,
  body.bp-user #buddypress #whats-new-form{
    border:1px solid rgba(217,174,55,.16)!important;background:rgba(255,255,255,.012)!important;
    box-shadow:none!important;filter:none!important;outline:0!important;
  }
  body.groups.single-item #buddypress #whats-new-form:before,
  body.groups.single-item #buddypress #whats-new-form:after,
  body.bp-user #buddypress #whats-new-form:before,
  body.bp-user #buddypress #whats-new-form:after{display:none!important;box-shadow:none!important;filter:none!important}
  body.groups.single-item #buddypress #whats-new-content,
  body.groups.single-item #buddypress #whats-new-textarea,
  body.groups.single-item #buddypress #whats-new-textarea textarea,
  body.bp-user #buddypress #whats-new-content,
  body.bp-user #buddypress #whats-new-textarea,
  body.bp-user #buddypress #whats-new-textarea textarea{box-shadow:none!important;filter:none!important;outline:0!important}
}

/* ==========================================================
   v5.22 — Finition mobile ciblée
   Navigation tactile, activité, accueil et cartes membres.
   Présentation uniquement : aucun rôle, capacité ou wp-admin.
   ========================================================== */
@media (max-width:780px){
  /* Navigation : rail tactile plus explicite, avec réserve à droite. */
  body.groups.single-item #buddypress #item-nav,
  body.groups.single-item #buddypress #object-nav,
  body.groups.single-item #buddypress .main-navs#object-nav{
    position:relative!important;overflow:hidden!important;padding-right:20px!important;
  }
  body.groups.single-item #buddypress #item-nav:after,
  body.groups.single-item #buddypress #object-nav:after,
  body.groups.single-item #buddypress .main-navs#object-nav:after{
    content:'›';position:absolute;z-index:8;right:3px;top:50%;transform:translateY(-50%);
    display:grid;place-items:center;width:18px;height:34px;pointer-events:none;
    color:#F6E39A;font:500 22px/1 Arial,sans-serif;
    background:linear-gradient(90deg,rgba(10,57,54,0),#0A3936 48%);
  }
  body.groups.single-item #buddypress #item-nav ul,
  body.groups.single-item #buddypress #object-nav ul,
  body.groups.single-item #buddypress nav#object-nav ul{
    padding-right:20px!important;scroll-padding-inline:8px!important;
  }

  /* Activité : aucune métadonnée ne peut sortir de la carte. */
  body.groups.single-item #buddypress #activity-stream .lec31-head,
  body.bp-user #buddypress #activity-stream .lec31-head,
  body.groups.single-item #buddypress #activity-stream .lec31-main,
  body.bp-user #buddypress #activity-stream .lec31-main{
    max-width:100%!important;overflow:hidden!important;
  }
  body.groups.single-item #buddypress #activity-stream .lec31-author,
  body.groups.single-item #buddypress #activity-stream .lec31-action,
  body.groups.single-item #buddypress #activity-stream .lec31-topic,
  body.groups.single-item #buddypress #activity-stream .lec31-territory,
  body.bp-user #buddypress #activity-stream .lec31-author,
  body.bp-user #buddypress #activity-stream .lec31-action,
  body.bp-user #buddypress #activity-stream .lec31-topic,
  body.bp-user #buddypress #activity-stream .lec31-territory{
    max-width:100%!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
  }
  body.groups.single-item #buddypress #activity-stream .lec31-date,
  body.bp-user #buddypress #activity-stream .lec31-date{
    display:block!important;position:static!important;float:none!important;clear:both!important;
    width:100%!important;max-width:100%!important;margin:3px 0 0!important;
    white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important;
  }

  /* Accueil BuddyPress vide : ne jamais montrer le panneau technique de configuration. */
  body.groups.single-item #buddypress .lec522-hide-bp-default-home{display:none!important}

  /* Membres : cartes compactes, identité et actions rapprochées. */
  body.groups.single-item #buddypress #members-group-list li.item-entry,
  body.groups.single-item #buddypress #members-group-list ul.item-list>li,
  body.groups.single-item #buddypress #members-list li.item-entry{
    min-height:0!important;padding:11px 12px!important;border-radius:9px!important;
  }
  body.groups.single-item #buddypress #members-group-list .item-avatar,
  body.groups.single-item #buddypress #members-list .item-avatar{margin:0 0 7px!important}
  body.groups.single-item #buddypress #members-group-list .item-avatar img.avatar,
  body.groups.single-item #buddypress #members-list .item-avatar img.avatar{
    width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;
    max-width:58px!important;max-height:58px!important;
  }
  body.groups.single-item #buddypress #members-group-list .item-meta,
  body.groups.single-item #buddypress #members-group-list .activity,
  body.groups.single-item #buddypress #members-list .item-meta,
  body.groups.single-item #buddypress #members-list .activity{margin:0 0 7px!important}
  body.groups.single-item #buddypress .lec-member-human{margin:0 0 8px!important;gap:5px!important}
  body.groups.single-item #buddypress #members-group-list .lec45-identity{margin:0 0 6px!important;gap:2px!important}
  body.groups.single-item #buddypress #members-group-list .lec45-chat-open{margin-top:5px!important}
  body.groups.single-item #buddypress #members-group-list .action,
  body.groups.single-item #buddypress #members-list .action{
    margin:7px 0 0!important;padding:0!important;gap:5px!important;
  }
  body.groups.single-item #buddypress #members-group-list .action a,
  body.groups.single-item #buddypress #members-group-list .action button,
  body.groups.single-item #buddypress #members-list .action a,
  body.groups.single-item #buddypress #members-list .action button,
  body.groups.single-item #buddypress #members-group-list .lec45-chat-open{
    min-height:32px!important;padding:6px 10px!important;font-size:10.5px!important;border-radius:6px!important;
  }
}

/* ==========================================================
   v5.23 — INSCRIPTION / ONBOARDING
   ========================================================== */
body.registration #buddypress .register-page,
body.buddypress.register #buddypress .register-page{max-width:1120px!important;margin:0 auto 70px!important;padding:0 18px!important;box-sizing:border-box!important}
.lec523-register-intro{max-width:1050px;margin:20px auto 22px;padding:30px 34px;border:1px solid rgba(217,174,55,.38);background:linear-gradient(135deg,rgba(11,63,60,.96),rgba(4,42,37,.94));box-shadow:0 18px 45px rgba(0,0,0,.12);color:#FFFFFF}
.lec523-register-kicker{display:block;margin-bottom:8px;color:#D9AE37;font-size:12px;font-weight:800;letter-spacing:.18em}
.lec523-register-intro h1{margin:0 0 10px!important;color:#fff!important;font-size:34px!important;line-height:1.08!important;font-weight:700!important}
.lec523-register-intro p{max-width:780px;margin:0!important;color:rgba(255,255,255,.82)!important;font-size:16px!important;line-height:1.6!important}
.lec523-register-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.lec523-register-points span{padding:7px 11px;border:1px solid rgba(217,174,55,.35);color:#F6E39A;font-size:12px;font-weight:700}
#buddypress #signup-form.standard-form{width:100%!important;max-width:1050px!important;margin:0 auto!important;padding:34px 38px 30px!important;box-sizing:border-box!important;background:rgba(4,42,37,.42)!important;border:1px solid rgba(217,174,55,.34)!important;border-radius:18px!important;box-shadow:0 16px 40px rgba(0,0,0,.10)!important;color:#fff!important}
#buddypress #signup-form .layout-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:50px!important;align-items:start!important}
#buddypress #signup-form .register-section{float:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
#buddypress #signup-form .register-section h2,#buddypress #signup-form .register-section h3{color:#fff!important;font:700 20px/1.3 Roboto,Arial,sans-serif!important;margin:0 0 14px!important}
.lec523-section-intro{display:flex;flex-direction:column;gap:4px;margin:0 0 22px;padding:13px 14px;border-left:3px solid #D9AE37;background:rgba(255,255,255,.045)}.lec523-section-intro strong{color:#F6E39A;font-size:13px}.lec523-section-intro span{color:rgba(255,255,255,.72);font-size:12px;line-height:1.45}
#buddypress #signup-form label,#buddypress #signup-form legend{display:block!important;color:#fff!important;font:600 15px/1.35 Roboto,Arial,sans-serif!important;margin:0 0 7px!important}
#buddypress #signup-form .editfield{margin:0 0 23px!important}
#buddypress #signup-form input[type=text],#buddypress #signup-form input[type=email],#buddypress #signup-form input[type=password],#buddypress #signup-form input[type=tel],#buddypress #signup-form input[type=url],#buddypress #signup-form select,#buddypress #signup-form textarea{display:block!important;width:100%!important;max-width:100%!important;min-height:52px!important;margin:0!important;padding:12px 14px!important;box-sizing:border-box!important;background:#FFFFFF!important;color:#123b34!important;border:1px solid rgba(217,174,55,.72)!important;border-radius:9px!important;outline:none!important;font:400 16px/1.35 Roboto,Arial,sans-serif!important;box-shadow:none!important;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease!important}
#buddypress #signup-form textarea{height:auto!important;min-height:112px!important;resize:vertical!important}
#buddypress #signup-form input:focus,#buddypress #signup-form select:focus,#buddypress #signup-form textarea:focus{background:#fffdf7!important;border-color:#F6E39A!important;box-shadow:0 0 0 3px rgba(217,174,55,.16)!important}
#buddypress #signup-form .description,#buddypress #signup-form .field-visibility-settings-toggle,#buddypress #signup-form .field-visibility-settings-notoggle,#buddypress #signup-form .field-visibility-settings{color:rgba(255,255,255,.58)!important;font-size:12px!important;line-height:1.45!important}
#buddypress #signup-form .password-input-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) 52px!important;gap:8px!important;align-items:center!important;width:100%!important}
#buddypress #signup-form .password-input-wrapper .wp-hide-pw,#buddypress #signup-form button.wp-hide-pw{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;margin:0!important;padding:0!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;border:0!important;border-radius:9px!important;box-shadow:none!important}
#buddypress #signup-form .caps-warning,#buddypress #signup-form .caps-icon{display:none!important}
#buddypress #signup-form #pass-strength-result{display:block!important;width:100%!important;min-height:38px!important;margin:10px 0 8px!important;padding:9px 12px!important;box-sizing:border-box!important;background:rgba(217,174,55,.08)!important;color:#F6E39A!important;border:1px solid rgba(217,174,55,.4)!important;border-radius:8px!important;font-size:13px!important;font-weight:700!important;text-align:center!important}
#buddypress #signup-form .indicator-hint{display:block!important;margin:8px 0 0!important;padding:12px 14px!important;background:rgba(255,255,255,.96)!important;color:#555!important;border:0!important;border-radius:8px!important;font-size:12px!important;line-height:1.5!important}
#buddypress #signup-form input[type=checkbox]{width:20px!important;height:20px!important;min-width:20px!important;accent-color:#D9AE37!important}
.lec523-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.lec523-commit{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:20px 0 0!important;padding:14px!important;border:1px solid rgba(217,174,55,.32)!important;background:rgba(255,255,255,.04)!important}.lec523-commit input{margin-top:2px!important}.lec523-commit span{color:rgba(255,255,255,.88)!important;font-size:13px!important;line-height:1.45!important}
#buddypress #signup-form #signup_submit{display:block!important;width:100%!important;min-height:52px!important;margin:20px 0 0!important;padding:14px 20px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#fff!important;border:0!important;border-radius:0!important;font:700 16px/1.2 Roboto,Arial,sans-serif!important;cursor:pointer!important;box-shadow:none!important}
#buddypress #signup-form .bp-feedback,#buddypress #signup-form .bp-messages{background:rgba(255,255,255,.055)!important;border:1px solid rgba(217,174,55,.55)!important;color:#fff!important}
@media(max-width:767px){body.registration #buddypress .register-page,body.buddypress.register #buddypress .register-page{padding:0 10px!important}.lec523-register-intro{margin:12px 0 14px;padding:22px 18px}.lec523-register-intro h1{font-size:27px!important}.lec523-register-intro p{font-size:14px!important}.lec523-register-points{gap:6px}.lec523-register-points span{font-size:11px;padding:6px 8px}#buddypress #signup-form.standard-form{max-width:100%!important;margin:0!important;padding:20px 14px!important;border-radius:12px!important}#buddypress #signup-form .layout-wrap{display:flex!important;flex-direction:column!important;gap:0!important}#buddypress #signup-form #basic-details-section{order:1!important}#buddypress #signup-form #profile-details-section{order:2!important}#buddypress #signup-form .register-section{margin:0 0 28px!important}#buddypress #signup-form input[type=text],#buddypress #signup-form input[type=email],#buddypress #signup-form input[type=password],#buddypress #signup-form input[type=tel],#buddypress #signup-form input[type=url],#buddypress #signup-form select{min-height:48px!important;height:48px!important}#buddypress #signup-form .password-input-wrapper{grid-template-columns:minmax(0,1fr) 48px!important}#buddypress #signup-form .password-input-wrapper .wp-hide-pw,#buddypress #signup-form button.wp-hide-pw{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}.lec523-section-intro{margin-bottom:18px}}

/* ==========================================================
   v5.24 — INSCRIPTION : CORRECTIFS DE MISE EN PAGE
   ========================================================== */
body.registration .site-main,
body.registration .entry-content,
body.registration .buddypress-wrap,
body.buddypress.register .site-main,
body.buddypress.register .entry-content,
body.buddypress.register .buddypress-wrap{
  width:100%!important;max-width:none!important;min-width:0!important;
}
body.registration #buddypress,
body.buddypress.register #buddypress{
  width:min(1180px,calc(100% - 40px))!important;max-width:1180px!important;
  margin:0 auto!important;box-sizing:border-box!important;
}
body.registration #buddypress .register-page,
body.buddypress.register #buddypress .register-page{
  width:100%!important;max-width:none!important;margin:0 auto 64px!important;padding:0!important;
}
body.registration .lec523-register-intro,
body.buddypress.register .lec523-register-intro{
  width:100%!important;max-width:none!important;margin:0 0 18px!important;padding:26px 30px!important;
  box-sizing:border-box!important;border-radius:14px!important;
}
body.registration #buddypress #signup-form.standard-form,
body.buddypress.register #buddypress #signup-form.standard-form{
  width:100%!important;max-width:none!important;margin:0!important;padding:30px!important;
  border-radius:14px!important;
}
body.registration #buddypress #signup-form .layout-wrap,
body.buddypress.register #buddypress #signup-form .layout-wrap{
  width:100%!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;gap:34px!important;
}
body.registration #buddypress #signup-form .register-section,
body.buddypress.register #buddypress #signup-form .register-section{min-width:0!important}
body.registration #buddypress #signup-form .lec523-hp,
body.buddypress.register #buddypress #signup-form .lec523-hp{display:none!important}
body.registration #buddypress #signup-form .caps-warning,
body.registration #buddypress #signup-form .caps-icon,
body.registration #buddypress #signup-form .caps-lock-indicator,
body.registration #buddypress #signup-form #caps-lock-indicator,
body.registration #buddypress #signup-form [class*="caps-lock"],
body.buddypress.register #buddypress #signup-form .caps-warning,
body.buddypress.register #buddypress #signup-form .caps-icon,
body.buddypress.register #buddypress #signup-form .caps-lock-indicator,
body.buddypress.register #buddypress #signup-form #caps-lock-indicator,
body.buddypress.register #buddypress #signup-form [class*="caps-lock"]{display:none!important}
body.registration #buddypress #signup-form input[aria-required=true],
body.registration #buddypress #signup-form input.required,
body.registration #buddypress #signup-form .required input,
body.registration #buddypress #signup-form select[aria-required=true],
body.registration #buddypress #signup-form textarea[aria-required=true],
body.buddypress.register #buddypress #signup-form input[aria-required=true],
body.buddypress.register #buddypress #signup-form input.required,
body.buddypress.register #buddypress #signup-form .required input,
body.buddypress.register #buddypress #signup-form select[aria-required=true],
body.buddypress.register #buddypress #signup-form textarea[aria-required=true]{border-color:rgba(217,174,55,.72)!important}
body.registration #buddypress #signup-form .field-visibility-settings-toggle,
body.registration #buddypress #signup-form .field-visibility-settings-notoggle,
body.buddypress.register #buddypress #signup-form .field-visibility-settings-toggle,
body.buddypress.register #buddypress #signup-form .field-visibility-settings-notoggle{display:none!important}
body.registration #buddypress #signup-form .lec523-section-intro,
body.buddypress.register #buddypress #signup-form .lec523-section-intro{display:grid!important;grid-template-columns:1fr!important;gap:3px!important}
body.registration #buddypress #signup-form .lec523-commit,
body.buddypress.register #buddypress #signup-form .lec523-commit{width:100%!important;box-sizing:border-box!important}

@media(max-width:767px){
 body.registration #buddypress,body.buddypress.register #buddypress{width:calc(100% - 20px)!important}
 body.registration .lec523-register-intro,body.buddypress.register .lec523-register-intro{padding:20px 17px!important;border-radius:10px!important}
 body.registration #buddypress #signup-form.standard-form,body.buddypress.register #buddypress #signup-form.standard-form{padding:18px 14px!important;border-radius:10px!important}
 body.registration #buddypress #signup-form .layout-wrap,body.buddypress.register #buddypress #signup-form .layout-wrap{display:flex!important;flex-direction:column!important;gap:0!important}
}

/* ==========================================================
 * v5.25 — INSCRIPTION PUBLIQUE / CORRECTIFS DE PRIORITÉ
 * Les assets sont maintenant chargés pour les visiteurs déconnectés.
 * ========================================================== */
body.registration #buddypress #signup-form .field-visibility-settings,
body.registration #buddypress #signup-form .field-visibility-settings-header,
body.registration #buddypress #signup-form .field-visibility-settings-toggle,
body.registration #buddypress #signup-form .field-visibility-settings-notoggle,
body.buddypress.register #buddypress #signup-form .field-visibility-settings,
body.buddypress.register #buddypress #signup-form .field-visibility-settings-header,
body.buddypress.register #buddypress #signup-form .field-visibility-settings-toggle,
body.buddypress.register #buddypress #signup-form .field-visibility-settings-notoggle{display:none!important}
body.registration #buddypress #signup-form .password-entry-hint,
body.registration #buddypress #signup-form .caps-lock-indicator,
body.registration #buddypress #signup-form .caps-lock-warning,
body.registration #buddypress #signup-form [class*="caps-lock"],
body.buddypress.register #buddypress #signup-form .password-entry-hint,
body.buddypress.register #buddypress #signup-form .caps-lock-indicator,
body.buddypress.register #buddypress #signup-form .caps-lock-warning,
body.buddypress.register #buddypress #signup-form [class*="caps-lock"]{display:none!important}
body.registration #buddypress #signup-form input:required,
body.registration #buddypress #signup-form select:required,
body.registration #buddypress #signup-form textarea:required,
body.buddypress.register #buddypress #signup-form input:required,
body.buddypress.register #buddypress #signup-form select:required,
body.buddypress.register #buddypress #signup-form textarea:required{border-color:rgba(217,174,55,.72)!important;box-shadow:none!important}

/* ==========================================================
   v5.26 — INSCRIPTION : HERO & FINITIONS PREMIUM COHÉRENTES
   Reprend le langage visuel du répertoire des territoires.
   ========================================================== */
body.registration .lec523-register-intro,
body.buddypress.register .lec523-register-intro{
  position:relative!important;overflow:hidden!important;
  min-height:260px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;
  padding:46px 52px!important;margin:16px 0 20px!important;
  border:1px solid rgba(229,190,85,.32)!important;border-radius:20px!important;
  background:radial-gradient(circle at 88% 16%,rgba(255,240,173,.10),transparent 30%),linear-gradient(118deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),#0B3F3C!important;
  box-shadow:none!important;
}
body.registration .lec523-register-intro:after,
body.buddypress.register .lec523-register-intro:after{
  content:'+';position:absolute;right:58px;top:40px;color:#D9AE37;font-size:28px;font-weight:300;opacity:.95
}
body.registration .lec523-register-kicker,
body.buddypress.register .lec523-register-kicker{
  margin:0 0 13px!important;color:#D9AE37!important;font-size:10px!important;font-weight:900!important;letter-spacing:.20em!important;text-transform:uppercase!important
}
body.registration .lec523-register-intro h1,
body.buddypress.register .lec523-register-intro h1{
  max-width:720px!important;margin:0 0 15px!important;color:#fff!important;
  font-family:Roboto,Arial,sans-serif!important;font-size:clamp(38px,4vw,58px)!important;line-height:1.02!important;font-weight:400!important;letter-spacing:-.035em!important
}
body.registration .lec523-register-intro h1 .lec526-gold,
body.buddypress.register .lec523-register-intro h1 .lec526-gold{
  background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 52%,#A9780B 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important
}
body.registration .lec523-register-intro p,
body.buddypress.register .lec523-register-intro p{
  max-width:790px!important;margin:0!important;color:rgba(255,255,255,.80)!important;font-size:15px!important;line-height:1.68!important
}
body.registration .lec523-register-points,
body.buddypress.register .lec523-register-points{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin-top:23px!important}
body.registration .lec523-register-points span,
body.buddypress.register .lec523-register-points span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:0 14px!important;
  border:1px solid rgba(229,190,85,.38)!important;border-radius:9px!important;background:rgba(255,255,255,.025)!important;
  color:#F6E39A!important;font-size:10px!important;font-weight:900!important;letter-spacing:.045em!important
}
body.registration .lec523-register-points span:last-child,
body.buddypress.register .lec523-register-points span:last-child{
  border-color:transparent!important;background:linear-gradient(105deg,#F6E39A 0%,#D9AE37 52%,#A9780B 100%)!important;color:#0B3F3C!important
}
/* Carte formulaire plus nette, sans effet "formulaire WordPress". */
body.registration #buddypress #signup-form.standard-form,
body.buddypress.register #buddypress #signup-form.standard-form{
  padding:34px 38px 36px!important;border:1px solid rgba(229,190,85,.26)!important;border-radius:18px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),#0B3F3C!important;box-shadow:none!important
}
body.registration #buddypress #signup-form .register-section h2,
body.registration #buddypress #signup-form .register-section h3,
body.buddypress.register #buddypress #signup-form .register-section h2,
body.buddypress.register #buddypress #signup-form .register-section h3{
  margin:0 0 20px!important;color:#fff!important;font-size:20px!important;font-weight:700!important;letter-spacing:-.015em!important
}
body.registration #buddypress #signup-form .lec523-section-intro,
body.buddypress.register #buddypress #signup-form .lec523-section-intro{
  margin:0 0 24px!important;padding:14px 16px!important;border:0!important;border-left:3px solid #D9AE37!important;border-radius:0 8px 8px 0!important;background:rgba(255,255,255,.025)!important
}
body.registration #buddypress #signup-form .lec523-section-intro strong,
body.buddypress.register #buddypress #signup-form .lec523-section-intro strong{color:#F6E39A!important;font-size:11px!important;font-weight:900!important;letter-spacing:.04em!important}
body.registration #buddypress #signup-form .lec523-section-intro span,
body.buddypress.register #buddypress #signup-form .lec523-section-intro span{color:rgba(255,255,255,.68)!important;font-size:11px!important;line-height:1.5!important}
body.registration #buddypress #signup-form input[type=text],body.registration #buddypress #signup-form input[type=email],body.registration #buddypress #signup-form input[type=password],body.registration #buddypress #signup-form input[type=tel],body.registration #buddypress #signup-form input[type=url],body.registration #buddypress #signup-form select,body.registration #buddypress #signup-form textarea,
body.buddypress.register #buddypress #signup-form input[type=text],body.buddypress.register #buddypress #signup-form input[type=email],body.buddypress.register #buddypress #signup-form input[type=password],body.buddypress.register #buddypress #signup-form input[type=tel],body.buddypress.register #buddypress #signup-form input[type=url],body.buddypress.register #buddypress #signup-form select,body.buddypress.register #buddypress #signup-form textarea{
  border:1px solid rgba(229,190,85,.42)!important;border-radius:9px!important;background:#FFFFFF!important;box-shadow:none!important
}
body.registration #buddypress #signup-form #signup_submit,
body.buddypress.register #buddypress #signup-form #signup_submit{
  min-height:48px!important;padding:0 22px!important;border:0!important;border-radius:10px!important;
  background:linear-gradient(105deg,#F6E39A 0%,#D9AE37 52%,#A9780B 100%)!important;color:#0B3F3C!important;
  font-size:11px!important;font-weight:900!important;letter-spacing:.045em!important;text-transform:uppercase!important;
  text-shadow:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 5px 14px rgba(0,0,0,.10)!important
}
body.registration #buddypress #signup-form #signup_submit:hover,
body.buddypress.register #buddypress #signup-form #signup_submit:hover{filter:brightness(1.05)!important;transform:translateY(-1px)!important}
body.registration #buddypress #signup-form .lec523-commit,
body.buddypress.register #buddypress #signup-form .lec523-commit{border-color:rgba(229,190,85,.24)!important;border-radius:9px!important;background:rgba(255,255,255,.022)!important}
@media(max-width:767px){
 body.registration .lec523-register-intro,body.buddypress.register .lec523-register-intro{min-height:0!important;padding:28px 20px!important;border-radius:14px!important}
 body.registration .lec523-register-intro:after,body.buddypress.register .lec523-register-intro:after{right:20px;top:18px;font-size:20px}
 body.registration .lec523-register-intro h1,body.buddypress.register .lec523-register-intro h1{font-size:34px!important;line-height:1.05!important;padding-right:16px!important}
 body.registration .lec523-register-intro p,body.buddypress.register .lec523-register-intro p{font-size:13px!important;line-height:1.58!important}
 body.registration .lec523-register-points,body.buddypress.register .lec523-register-points{gap:6px!important;margin-top:18px!important}
 body.registration .lec523-register-points span,body.buddypress.register .lec523-register-points span{min-height:32px!important;padding:0 10px!important;font-size:9px!important}
 body.registration #buddypress #signup-form.standard-form,body.buddypress.register #buddypress #signup-form.standard-form{padding:20px 15px 24px!important;border-radius:12px!important}
}


/* ==========================================================
   v5.27 — INSCRIPTION : PORTE D'ENTRÉE PREMIUM
   Alignement fin sur l'annuaire des territoires, sans effet décoratif superflu.
   ========================================================== */
body.registration #buddypress,body.buddypress.register #buddypress{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important}
body.registration .lec523-register-intro,body.buddypress.register .lec523-register-intro{
 min-height:238px!important;margin:18px 0 16px!important;padding:40px 48px!important;border-radius:18px!important;
 border:1px solid rgba(217,174,55,.30)!important;background:linear-gradient(112deg,rgba(255,255,255,.055),rgba(255,255,255,.018)),#0B3F3C!important
}
body.registration .lec523-register-intro:before,body.buddypress.register .lec523-register-intro:before{content:'LE';position:absolute;right:54px;bottom:-18px;font:700 104px/1 Roboto,Arial,sans-serif;color:rgba(255,255,255,.035);letter-spacing:-.08em}
body.registration .lec523-register-intro:after,body.buddypress.register .lec523-register-intro:after{content:'';position:absolute;right:0;bottom:-92px;width:260px;height:260px;border:1px solid rgba(217,174,55,.10);border-radius:50%}
body.registration .lec523-register-kicker,body.buddypress.register .lec523-register-kicker{font-size:10px!important;letter-spacing:.22em!important;margin-bottom:11px!important}
body.registration .lec523-register-intro h1,body.buddypress.register .lec523-register-intro h1{max-width:840px!important;font-size:clamp(36px,3.7vw,54px)!important;font-weight:400!important;letter-spacing:-.035em!important;margin-bottom:10px!important}
body.registration .lec527-register-lead,body.buddypress.register .lec527-register-lead{display:block;position:relative;z-index:1;max-width:760px;margin:0 0 10px;color:#FFFFFF;font:700 16px/1.4 Roboto,Arial,sans-serif}
body.registration .lec523-register-intro p,body.buddypress.register .lec523-register-intro p{position:relative;z-index:1;max-width:820px!important;font-size:14px!important;line-height:1.65!important}
body.registration .lec523-register-points,body.buddypress.register .lec523-register-points{position:relative;z-index:1;margin-top:18px!important;gap:7px!important}
body.registration .lec523-register-points span,body.buddypress.register .lec523-register-points span{min-height:30px!important;padding:0 11px!important;border-radius:5px!important;font-size:9px!important;background:transparent!important;color:#F6E39A!important}
body.registration .lec523-register-points span:last-child,body.buddypress.register .lec523-register-points span:last-child{border-color:rgba(229,190,85,.38)!important;background:transparent!important;color:#F6E39A!important}

body.registration #buddypress #signup-form.standard-form,body.buddypress.register #buddypress #signup-form.standard-form{padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
body.registration #buddypress #signup-form .lec527-registration-grid,body.buddypress.register #buddypress #signup-form .lec527-registration-grid{display:grid!important;grid-template-columns:minmax(300px,.82fr) minmax(0,1.48fr)!important;gap:16px!important;align-items:start!important}
body.registration #buddypress #signup-form .register-section,body.buddypress.register #buddypress #signup-form .register-section{padding:30px!important;border:1px solid rgba(217,174,55,.27)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(255,255,255,.034),rgba(255,255,255,.012)),#0B3F3C!important}
body.registration #buddypress #signup-form .register-section h2,body.registration #buddypress #signup-form .register-section h3,body.buddypress.register #buddypress #signup-form .register-section h2,body.buddypress.register #buddypress #signup-form .register-section h3{font-size:18px!important;font-weight:500!important;margin-bottom:18px!important}
body.registration #buddypress #signup-form .lec523-section-intro,body.buddypress.register #buddypress #signup-form .lec523-section-intro{margin:0 0 24px!important;padding:0 0 0 13px!important;background:transparent!important;border-left:2px solid #D9AE37!important}
body.registration #buddypress #signup-form .lec523-section-intro strong,body.buddypress.register #buddypress #signup-form .lec523-section-intro strong{font-size:9px!important;letter-spacing:.16em!important;color:#D9AE37!important}
body.registration #buddypress #signup-form .lec523-section-intro span,body.buddypress.register #buddypress #signup-form .lec523-section-intro span{max-width:620px;color:rgba(255,255,255,.68)!important;font-size:11px!important;line-height:1.55!important}
body.registration #buddypress #signup-form #profile-details-section,body.buddypress.register #buddypress #signup-form #profile-details-section{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:18px!important;align-items:start!important}
body.registration #buddypress #signup-form #profile-details-section>h2,body.registration #buddypress #signup-form #profile-details-section>h3,body.registration #buddypress #signup-form #profile-details-section>.lec523-section-intro,body.buddypress.register #buddypress #signup-form #profile-details-section>h2,body.buddypress.register #buddypress #signup-form #profile-details-section>h3,body.buddypress.register #buddypress #signup-form #profile-details-section>.lec523-section-intro{grid-column:1/-1!important}
body.registration #buddypress #signup-form #profile-details-section .lec527-wide,body.buddypress.register #buddypress #signup-form #profile-details-section .lec527-wide{grid-column:1/-1!important}
body.registration #buddypress #signup-form label,body.registration #buddypress #signup-form legend,body.buddypress.register #buddypress #signup-form label,body.buddypress.register #buddypress #signup-form legend{font-size:12px!important;font-weight:650!important;margin-bottom:7px!important;color:rgba(255,255,255,.94)!important}
body.registration #buddypress #signup-form .editfield,body.buddypress.register #buddypress #signup-form .editfield{margin:0 0 17px!important}
body.registration #buddypress #signup-form input[type=text],body.registration #buddypress #signup-form input[type=email],body.registration #buddypress #signup-form input[type=password],body.registration #buddypress #signup-form input[type=tel],body.registration #buddypress #signup-form input[type=url],body.registration #buddypress #signup-form select,body.registration #buddypress #signup-form textarea,body.buddypress.register #buddypress #signup-form input[type=text],body.buddypress.register #buddypress #signup-form input[type=email],body.buddypress.register #buddypress #signup-form input[type=password],body.buddypress.register #buddypress #signup-form input[type=tel],body.buddypress.register #buddypress #signup-form input[type=url],body.buddypress.register #buddypress #signup-form select,body.buddypress.register #buddypress #signup-form textarea{min-height:46px!important;padding:10px 12px!important;border-radius:6px!important;border:1px solid rgba(217,174,55,.54)!important;background:#FFFFFF!important;font-size:14px!important}
body.registration #buddypress #signup-form textarea,body.buddypress.register #buddypress #signup-form textarea{min-height:94px!important}
body.registration #buddypress #signup-form .password-input-wrapper,body.buddypress.register #buddypress #signup-form .password-input-wrapper{grid-template-columns:minmax(0,1fr) 46px!important;gap:7px!important}
body.registration #buddypress #signup-form .password-input-wrapper .wp-hide-pw,body.registration #buddypress #signup-form button.wp-hide-pw,body.buddypress.register #buddypress #signup-form .password-input-wrapper .wp-hide-pw,body.buddypress.register #buddypress #signup-form button.wp-hide-pw{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;border-radius:6px!important}
body.registration #buddypress #signup-form #pass-strength-result,body.buddypress.register #buddypress #signup-form #pass-strength-result{min-height:30px!important;margin:8px 0 6px!important;padding:6px 10px!important;border-radius:5px!important;font-size:10px!important}
body.registration #buddypress #signup-form .indicator-hint,body.buddypress.register #buddypress #signup-form .indicator-hint{margin-top:7px!important;padding:9px 11px!important;border-radius:5px!important;font-size:10px!important;line-height:1.45!important}
body.registration #buddypress #signup-form .description,body.buddypress.register #buddypress #signup-form .description{margin-top:5px!important;font-size:10px!important;line-height:1.45!important;color:rgba(255,255,255,.54)!important}
body.registration #buddypress #signup-form .field-visibility-settings,body.registration #buddypress #signup-form .field-visibility-settings-header,body.registration #buddypress #signup-form .field-visibility-settings-toggle,body.registration #buddypress #signup-form .field-visibility-settings-notoggle,body.buddypress.register #buddypress #signup-form .field-visibility-settings,body.buddypress.register #buddypress #signup-form .field-visibility-settings-header,body.buddypress.register #buddypress #signup-form .field-visibility-settings-toggle,body.buddypress.register #buddypress #signup-form .field-visibility-settings-notoggle{display:none!important}
body.registration #buddypress #signup-form .lec523-commit,body.buddypress.register #buddypress #signup-form .lec523-commit{margin:16px 0 0!important;padding:13px 15px!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important}
body.registration #buddypress #signup-form #signup_submit,body.buddypress.register #buddypress #signup-form #signup_submit{width:auto!important;min-width:250px!important;min-height:46px!important;margin:16px 0 0!important;padding:0 22px!important;border-radius:7px!important;font-size:12px!important;letter-spacing:.025em!important;text-transform:uppercase!important}
body.registration #buddypress #signup-form .lec527-after-grid,body.buddypress.register #buddypress #signup-form .lec527-after-grid{margin-top:16px;padding:22px 30px 26px;border:1px solid rgba(217,174,55,.27);border-radius:16px;background:rgba(255,255,255,.018)}
@media(max-width:900px){body.registration #buddypress #signup-form .lec527-registration-grid,body.buddypress.register #buddypress #signup-form .lec527-registration-grid{grid-template-columns:1fr!important}body.registration #buddypress #signup-form #profile-details-section,body.buddypress.register #buddypress #signup-form #profile-details-section{grid-template-columns:1fr 1fr!important}}
@media(max-width:620px){body.registration #buddypress,body.buddypress.register #buddypress{width:calc(100% - 20px)!important}body.registration .lec523-register-intro,body.buddypress.register .lec523-register-intro{min-height:auto!important;padding:25px 20px!important;border-radius:12px!important}body.registration .lec523-register-intro:before,body.buddypress.register .lec523-register-intro:before{font-size:70px;right:20px}body.registration .lec523-register-intro h1,body.buddypress.register .lec523-register-intro h1{font-size:31px!important}body.registration .lec527-register-lead,body.buddypress.register .lec527-register-lead{font-size:14px}body.registration #buddypress #signup-form .register-section,body.buddypress.register #buddypress #signup-form .register-section{padding:20px 16px!important;border-radius:11px!important}body.registration #buddypress #signup-form #profile-details-section,body.buddypress.register #buddypress #signup-form #profile-details-section{grid-template-columns:1fr!important}body.registration #buddypress #signup-form #profile-details-section .lec527-wide,body.buddypress.register #buddypress #signup-form #profile-details-section .lec527-wide{grid-column:auto!important}body.registration #buddypress #signup-form #signup_submit,body.buddypress.register #buddypress #signup-form #signup_submit{width:100%!important;min-width:0!important}}


/* ==========================================================
   v5.28 — INSCRIPTION : FINITION / HIÉRARCHIE
   Même présence typographique que les écrans principaux du plugin.
   ========================================================== */
body.registration .lec523-register-intro h1,
body.buddypress.register .lec523-register-intro h1{
  max-width:900px!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:clamp(40px,4vw,58px)!important;
  line-height:1.02!important;
  font-weight:800!important;
  letter-spacing:-.045em!important;
}
body.registration .lec523-register-intro h1 .lec526-gold,
body.buddypress.register .lec523-register-intro h1 .lec526-gold{
  font-weight:800!important;
  background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
}
/* Le formulaire reprend la largeur et la respiration du hero. */
body.registration #buddypress #signup-form .lec527-registration-grid,
body.buddypress.register #buddypress #signup-form .lec527-registration-grid{
  grid-template-columns:minmax(340px,.78fr) minmax(0,1.42fr)!important;
  gap:20px!important;
}
body.registration #buddypress #signup-form .register-section,
body.buddypress.register #buddypress #signup-form .register-section{
  padding:34px 36px!important;
}
body.registration #buddypress #signup-form .register-section h2,
body.registration #buddypress #signup-form .register-section h3,
body.buddypress.register #buddypress #signup-form .register-section h2,
body.buddypress.register #buddypress #signup-form .register-section h3{
  font-size:20px!important;font-weight:700!important;
}
body.registration #buddypress #signup-form label,
body.registration #buddypress #signup-form legend,
body.buddypress.register #buddypress #signup-form label,
body.buddypress.register #buddypress #signup-form legend{
  font-size:12.5px!important;font-weight:700!important;line-height:1.3!important;
}
body.registration #buddypress #signup-form input[type=text],body.registration #buddypress #signup-form input[type=email],body.registration #buddypress #signup-form input[type=password],body.registration #buddypress #signup-form input[type=tel],body.registration #buddypress #signup-form input[type=url],body.registration #buddypress #signup-form select,
body.buddypress.register #buddypress #signup-form input[type=text],body.buddypress.register #buddypress #signup-form input[type=email],body.buddypress.register #buddypress #signup-form input[type=password],body.buddypress.register #buddypress #signup-form input[type=tel],body.buddypress.register #buddypress #signup-form input[type=url],body.buddypress.register #buddypress #signup-form select{
  min-height:50px!important;height:50px!important;
}
body.registration #buddypress #signup-form textarea,
body.buddypress.register #buddypress #signup-form textarea{min-height:110px!important;}
body.registration #buddypress #signup-form #signup_submit,
body.buddypress.register #buddypress #signup-form #signup_submit{
  min-width:310px!important;min-height:52px!important;font-size:12px!important;font-weight:900!important;
}
@media(max-width:620px){
 body.registration .lec523-register-intro h1,body.buddypress.register .lec523-register-intro h1{font-size:34px!important;font-weight:800!important;letter-spacing:-.035em!important}
 body.registration #buddypress #signup-form .register-section,body.buddypress.register #buddypress #signup-form .register-section{padding:22px 18px!important}
 body.registration #buddypress #signup-form #signup_submit,body.buddypress.register #buddypress #signup-form #signup_submit{min-width:0!important}
}

/* ==========================================================
   v5.29 — INSCRIPTION : CTA ALIGNÉ SUR LA NORME DU PLUGIN
   Même langage que les CTA France / régions : ivoire→or,
   texte blanc, format ample, sans effet "petit bouton WP".
   ========================================================== */
body.registration #buddypress #signup-form #signup_submit,
body.buddypress.register #buddypress #signup-form #signup_submit{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:310px!important;
  min-height:52px!important;
  margin:18px 0 0!important;
  padding:0 30px!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(105deg,#F6E39A 0%,#D9AE37 52%,#A9780B 100%)!important;
  color:#fff!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  text-shadow:0 1px 1px rgba(69,45,0,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 5px 14px rgba(0,0,0,.10)!important;
  cursor:pointer!important;
  transition:filter .18s ease,transform .18s ease!important;
}
body.registration #buddypress #signup-form #signup_submit:hover,
body.registration #buddypress #signup-form #signup_submit:focus,
body.buddypress.register #buddypress #signup-form #signup_submit:hover,
body.buddypress.register #buddypress #signup-form #signup_submit:focus{
  filter:brightness(1.06)!important;
  transform:translateY(-1px)!important;
  color:#fff!important;
  outline:none!important;
}
body.registration #buddypress #signup-form #signup_submit:active,
body.buddypress.register #buddypress #signup-form #signup_submit:active{
  transform:translateY(0)!important;
}
@media(max-width:620px){
 body.registration #buddypress #signup-form #signup_submit,
 body.buddypress.register #buddypress #signup-form #signup_submit{
   width:100%!important;min-width:0!important;min-height:50px!important;padding:0 18px!important;font-size:11px!important;
 }
}

/* ==========================================================
   v5.30 — INSCRIPTION : CTA FINAL, PRIORITÉ BUDDYPRESS/THEME
   Ciblage indépendant des classes body pour garantir le rendu.
   ========================================================== */
#buddypress form#signup-form input#signup_submit,
#buddypress form#signup-form button#signup_submit,
#buddypress form#signup-form input[name="signup_submit"],
#buddypress form#signup-form button[name="signup_submit"],
#buddypress #signup-form .submit input[type="submit"],
#buddypress #signup-form .submit button[type="submit"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:clamp(310px,42%,430px)!important;
  max-width:100%!important;
  min-width:310px!important;
  height:56px!important;
  min-height:56px!important;
  margin:20px 0 4px!important;
  padding:0 32px!important;
  border:1px solid rgba(246,227,154,.30)!important;
  border-radius:10px!important;
  background:linear-gradient(105deg,#F6E39A 0%,#D9AE37 54%,#A9780B 100%)!important;
  color:#fff!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  text-align:center!important;
  text-decoration:none!important;
  text-shadow:0 1px 1px rgba(69,45,0,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),0 8px 20px rgba(0,0,0,.12)!important;
  cursor:pointer!important;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
#buddypress form#signup-form input#signup_submit:hover,
#buddypress form#signup-form button#signup_submit:hover,
#buddypress form#signup-form input[name="signup_submit"]:hover,
#buddypress form#signup-form button[name="signup_submit"]:hover,
#buddypress #signup-form .submit input[type="submit"]:hover,
#buddypress #signup-form .submit button[type="submit"]:hover,
#buddypress form#signup-form input#signup_submit:focus-visible,
#buddypress form#signup-form button#signup_submit:focus-visible{
  color:#fff!important;
  filter:brightness(1.055)!important;
  transform:translateY(-1px)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 10px 24px rgba(0,0,0,.15)!important;
  outline:1px solid rgba(246,227,154,.55)!important;
  outline-offset:2px!important;
}
@media(max-width:620px){
 #buddypress form#signup-form input#signup_submit,
 #buddypress form#signup-form button#signup_submit,
 #buddypress form#signup-form input[name="signup_submit"],
 #buddypress form#signup-form button[name="signup_submit"],
 #buddypress #signup-form .submit input[type="submit"],
 #buddypress #signup-form .submit button[type="submit"]{
   width:100%!important;min-width:0!important;height:54px!important;min-height:54px!important;padding:0 18px!important;font-size:12px!important;
 }
}

/* ==========================================================
   v5.32 — INSCRIPTION : RECONSTRUCTION VISUELLE 3 ÉTAPES
   ========================================================== */
body.registration #buddypress #signup-form.standard-form,
body.buddypress.register #buddypress #signup-form.standard-form{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
body.registration #buddypress #signup-form .lec527-registration-grid,
body.buddypress.register #buddypress #signup-form .lec527-registration-grid{display:contents!important}
.lec532-form-shell{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;width:100%!important;margin:0!important}
.lec532-step{min-width:0!important;padding:28px 30px!important;border:1px solid rgba(217,174,55,.30)!important;border-radius:15px!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012)),#0B3F3C!important;box-sizing:border-box!important}
.lec532-access{grid-column:1/-1!important}.lec532-territory,.lec532-know{grid-column:auto!important}
.lec532-step-head{display:grid!important;grid-template-columns:auto 1fr!important;gap:15px!important;align-items:start!important;margin:0 0 24px!important;padding:0 0 18px!important;border-bottom:1px solid rgba(217,174,55,.20)!important}
.lec532-step-head>span{display:flex!important;align-items:center!important;justify-content:center!important;min-width:46px!important;height:30px!important;padding:0 9px!important;border:1px solid rgba(217,174,55,.40)!important;border-radius:7px!important;color:#F6E39A!important;font:900 10px/1 Roboto,Arial,sans-serif!important;letter-spacing:.11em!important}
.lec532-step-head h2{margin:0 0 5px!important;color:#fff!important;font:800 19px/1.15 Roboto,Arial,sans-serif!important;letter-spacing:-.015em!important}
.lec532-step-head p{margin:0!important;max-width:720px!important;color:rgba(255,255,255,.68)!important;font:400 12px/1.5 Roboto,Arial,sans-serif!important}
.lec532-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important;align-items:start!important}
.lec532-access-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lec532-access-fields>*:nth-child(3){grid-column:1/-1!important;max-width:none!important}
.lec532-fields>.editfield,.lec532-access-fields>p,.lec532-access-fields>div{min-width:0!important;margin:0!important}
.lec532-fields .lec532-span-2{grid-column:1/-1!important}
.lec532-step label,.lec532-step legend{min-height:0!important;margin:0 0 7px!important;color:#FFFFFF!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important}
.lec532-step input[type=text],.lec532-step input[type=email],.lec532-step input[type=password],.lec532-step input[type=tel],.lec532-step input[type=url],.lec532-step select,.lec532-step textarea{width:100%!important;min-width:0!important;min-height:50px!important;padding:12px 14px!important;border:1px solid rgba(217,174,55,.58)!important;border-radius:8px!important;background:#FFFFFF!important;color:#123b34!important;font-size:15px!important;box-sizing:border-box!important}
.lec532-step textarea{min-height:105px!important;resize:vertical!important}
.lec532-step .description{margin:7px 0 0!important;color:rgba(255,255,255,.48)!important;font-size:10.5px!important;line-height:1.4!important}
.lec532-access .password-input-wrapper{width:100%!important}
.lec532-form-footer{width:100%!important;margin:18px 0 0!important;padding:22px 24px!important;border:1px solid rgba(217,174,55,.28)!important;border-radius:13px!important;background:rgba(255,255,255,.025)!important;box-sizing:border-box!important}
.lec532-form-footer .lec523-commit{margin:0 0 18px!important;padding:14px 16px!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important}
.lec532-form-footer .submit{width:100%!important;margin:0!important;padding:0!important}
.lec532-form-footer .submit>input[type=submit][name=signup_submit],.lec532-form-footer .submit>button[name=signup_submit]{width:100%!important;max-width:none!important;min-width:0!important;height:58px!important;min-height:58px!important;margin:0!important;border-radius:9px!important;font-size:12px!important;letter-spacing:.055em!important}
/* Le consentement confidentialité généré avant notre engagement reste aligné au formulaire. */
#buddypress #signup-form>.field-visibility-settings+*,#buddypress #signup-form>label{box-sizing:border-box!important}
@media(max-width:900px){.lec532-form-shell{grid-template-columns:1fr!important}.lec532-access,.lec532-territory,.lec532-know{grid-column:1!important}}
@media(max-width:620px){
 .lec532-form-shell{gap:12px!important}.lec532-step{padding:20px 16px!important;border-radius:11px!important}.lec532-step-head{grid-template-columns:1fr!important;gap:9px!important;margin-bottom:18px!important;padding-bottom:14px!important}.lec532-step-head>span{width:max-content!important}.lec532-step-head h2{font-size:17px!important}.lec532-fields,.lec532-access-fields{grid-template-columns:1fr!important;gap:15px!important}.lec532-access-fields>*:nth-child(3),.lec532-fields .lec532-span-2{grid-column:1!important}.lec532-form-footer{margin-top:12px!important;padding:16px 14px!important;border-radius:10px!important}.lec532-form-footer .submit>input[type=submit][name=signup_submit],.lec532-form-footer .submit>button[name=signup_submit]{height:54px!important;min-height:54px!important;font-size:11px!important}
}

/* ==========================================================
   v5.33 — INSCRIPTION : finition structurelle, desktop + mobile
   ========================================================== */
body.registration #buddypress #signup-form.standard-form,
body.buddypress.register #buddypress #signup-form.standard-form{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.lec533-form-shell{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;width:100%!important;margin:0!important}
.lec533-step{min-width:0!important;padding:30px!important;border:1px solid rgba(217,174,55,.28)!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.014))!important;box-sizing:border-box!important}
.lec533-access{grid-column:1/-1!important}.lec533-territory,.lec533-know{grid-column:auto!important}
.lec533-step-head{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:15px!important;align-items:start!important;margin:0 0 24px!important;padding:0 0 18px!important;border-bottom:1px solid rgba(217,174,55,.18)!important}
.lec533-step-head>span{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:30px!important;border:1px solid rgba(217,174,55,.42)!important;border-radius:6px!important;color:#F6E39A!important;font:900 10px/1 Roboto,Arial,sans-serif!important;letter-spacing:.12em!important}
.lec533-step-head h2{margin:0 0 5px!important;color:#FFFFFF!important;font:800 20px/1.12 Roboto,Arial,sans-serif!important;letter-spacing:-.025em!important}
.lec533-step-head p{margin:0!important;color:rgba(255,255,255,.68)!important;font:400 12px/1.5 Roboto,Arial,sans-serif!important}
.lec533-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important;align-items:start!important}
.lec533-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lec533-password{grid-column:1/-1!important}
.lec533-field,.lec533-grid>.editfield{min-width:0!important;margin:0!important}.lec533-grid>.lec533-wide{grid-column:1/-1!important}
.lec533-step label,.lec533-step legend{display:block!important;min-height:0!important;margin:0 0 7px!important;color:#FFFFFF!important;font:700 12px/1.35 Roboto,Arial,sans-serif!important}
.lec533-step input[type=text],.lec533-step input[type=email],.lec533-step input[type=password],.lec533-step input[type=tel],.lec533-step input[type=url],.lec533-step select,.lec533-step textarea{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:50px!important;margin:0!important;padding:12px 14px!important;border:1px solid rgba(217,174,55,.58)!important;border-radius:7px!important;background:#FFFFFF!important;color:#123b34!important;font:500 15px/1.35 Roboto,Arial,sans-serif!important;box-sizing:border-box!important}
.lec533-step textarea{min-height:112px!important;resize:vertical!important}.lec533-step .description{margin:7px 0 0!important;color:rgba(255,255,255,.52)!important;font:400 10.5px/1.45 Roboto,Arial,sans-serif!important}
.lec533-password .password-input-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) 50px!important;gap:8px!important;width:100%!important}.lec533-password .wp-hide-pw{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;margin:0!important;border-radius:7px!important}
.lec533-password #pass-strength-result{width:100%!important;box-sizing:border-box!important;margin:8px 0 0!important}
.lec533-footer{width:100%!important;margin:18px 0 0!important;padding:20px 22px!important;border:1px solid rgba(217,174,55,.27)!important;border-radius:13px!important;background:rgba(255,255,255,.022)!important;box-sizing:border-box!important}
.lec533-footer>label,.lec533-footer .lec523-commit{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;margin:0 0 12px!important;padding:13px 14px!important;border:1px solid rgba(217,174,55,.20)!important;border-radius:7px!important;background:rgba(255,255,255,.018)!important;color:#FFFFFF!important;box-sizing:border-box!important}
.lec533-footer input[type=checkbox]{flex:0 0 auto!important;width:18px!important;height:18px!important;margin:1px 0 0!important}.lec533-footer .submit{width:100%!important;margin:8px 0 0!important;padding:0!important}
.lec533-footer .submit>input[type=submit][name=signup_submit],.lec533-footer .submit>button[name=signup_submit]{width:100%!important;max-width:none!important;min-width:0!important;height:58px!important;margin:0!important;border-radius:8px!important;font-size:12px!important;font-weight:900!important;letter-spacing:.055em!important}
/* Neutralise les anciennes grilles d'inscription une fois la v5.33 montée. */
.lec533-form-shell .lec527-wide,.lec533-form-shell .lec532-span-2{grid-column:auto}.lec533-form-shell .lec533-wide{grid-column:1/-1!important}
@media(max-width:900px){.lec533-form-shell{grid-template-columns:1fr!important}.lec533-access,.lec533-territory,.lec533-know{grid-column:1!important}}
@media(max-width:620px){body.registration #buddypress,body.buddypress.register #buddypress{width:calc(100% - 20px)!important}.lec533-form-shell{gap:12px!important}.lec533-step{padding:20px 16px!important;border-radius:11px!important}.lec533-step-head{grid-template-columns:1fr!important;gap:9px!important;margin-bottom:18px!important;padding-bottom:14px!important}.lec533-step-head>span{width:46px!important}.lec533-step-head h2{font-size:18px!important}.lec533-grid,.lec533-access-grid{grid-template-columns:1fr!important;gap:15px!important}.lec533-password,.lec533-grid>.lec533-wide{grid-column:1!important}.lec533-footer{margin-top:12px!important;padding:14px!important;border-radius:10px!important}.lec533-footer>label,.lec533-footer .lec523-commit{padding:12px!important}.lec533-footer .submit>input[type=submit][name=signup_submit],.lec533-footer .submit>button[name=signup_submit]{height:54px!important;font-size:11px!important}}

/* ==========================================================
   v5.34 — INSCRIPTION : vraie largeur, structure native préservée
   ========================================================== */
body.registration #buddypress #signup-form.standard-form,
body.buddypress.register #buddypress #signup-form.standard-form{display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.lec534-form-shell{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}
.lec534-step{min-width:0!important;padding:28px 30px!important;border:1px solid rgba(217,174,55,.30)!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.014))!important;box-sizing:border-box!important}
.lec534-access{grid-column:1/-1!important}.lec534-territory,.lec534-know{grid-column:auto!important}
.lec534-step-head{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:15px!important;align-items:start!important;margin:0 0 22px!important;padding:0 0 17px!important;border-bottom:1px solid rgba(217,174,55,.18)!important}
.lec534-step-head>span{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:30px!important;border:1px solid rgba(217,174,55,.42)!important;border-radius:6px!important;color:#F6E39A!important;font:900 10px/1 Roboto,Arial,sans-serif!important;letter-spacing:.12em!important}
.lec534-step-head h2{margin:0 0 5px!important;color:#FFFFFF!important;font:800 20px/1.12 Roboto,Arial,sans-serif!important;letter-spacing:-.02em!important;overflow-wrap:normal!important;word-break:normal!important}
.lec534-step-head p{margin:0!important;max-width:700px!important;color:rgba(255,255,255,.68)!important;font:400 12px/1.5 Roboto,Arial,sans-serif!important}
.lec534-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important;align-items:start!important;min-width:0!important}
.lec534-access .lec534-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lec534-grid>*,.lec534-grid>.editfield{min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}.lec534-grid>.lec534-wide{grid-column:1/-1!important}
.lec534-step label,.lec534-step legend{display:block!important;min-height:0!important;margin:0 0 7px!important;color:#FFFFFF!important;font:700 12px/1.35 Roboto,Arial,sans-serif!important;overflow-wrap:normal!important;word-break:normal!important}
.lec534-step input[type=text],.lec534-step input[type=email],.lec534-step input[type=password],.lec534-step input[type=tel],.lec534-step input[type=url],.lec534-step select,.lec534-step textarea{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:50px!important;margin:0!important;padding:12px 14px!important;border:1px solid rgba(217,174,55,.58)!important;border-radius:7px!important;background:#FFFFFF!important;color:#123b34!important;font:500 15px/1.35 Roboto,Arial,sans-serif!important;box-sizing:border-box!important}
.lec534-step textarea{min-height:105px!important;resize:vertical!important}.lec534-step .description{margin:7px 0 0!important;color:rgba(255,255,255,.52)!important;font:400 10.5px/1.45 Roboto,Arial,sans-serif!important}
.lec534-access .password-input-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) 50px!important;gap:8px!important;width:100%!important;max-width:none!important}.lec534-access .wp-hide-pw{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;margin:0!important;border-radius:7px!important}.lec534-access #pass-strength-result,.lec534-access .indicator-hint{grid-column:1/-1!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
.lec534-footer{width:100%!important;margin:18px 0 0!important;padding:20px 22px!important;border:1px solid rgba(217,174,55,.27)!important;border-radius:13px!important;background:rgba(255,255,255,.022)!important;box-sizing:border-box!important}.lec534-footer>label,.lec534-footer .lec523-commit{display:flex!important;align-items:flex-start!important;gap:10px!important;width:100%!important;margin:0 0 12px!important;padding:13px 14px!important;border:1px solid rgba(217,174,55,.20)!important;border-radius:7px!important;background:rgba(255,255,255,.018)!important;color:#FFFFFF!important;box-sizing:border-box!important}.lec534-footer input[type=checkbox]{flex:0 0 auto!important;width:18px!important;height:18px!important;margin:1px 0 0!important}.lec534-footer .submit{width:100%!important;margin:8px 0 0!important;padding:0!important}.lec534-footer .submit>input[type=submit][name=signup_submit],.lec534-footer .submit>button[name=signup_submit]{width:100%!important;max-width:none!important;min-width:0!important;height:58px!important;margin:0!important;border-radius:8px!important;font-size:12px!important;font-weight:900!important;letter-spacing:.055em!important}
@media(max-width:900px){.lec534-form-shell{grid-template-columns:1fr!important}.lec534-access,.lec534-territory,.lec534-know{grid-column:1!important}}
@media(max-width:620px){.lec534-form-shell{gap:12px!important}.lec534-step{padding:20px 16px!important;border-radius:11px!important}.lec534-step-head{grid-template-columns:1fr!important;gap:9px!important;margin-bottom:18px!important;padding-bottom:14px!important}.lec534-step-head>span{width:46px!important}.lec534-step-head h2{font-size:18px!important}.lec534-grid,.lec534-access .lec534-grid{grid-template-columns:1fr!important;gap:15px!important}.lec534-grid>.lec534-wide{grid-column:1!important}.lec534-footer{margin-top:12px!important;padding:14px!important}.lec534-footer .submit>input[type=submit][name=signup_submit],.lec534-footer .submit>button[name=signup_submit]{height:54px!important;font-size:11px!important}}

/* ==========================================================
   v5.35 — INSCRIPTION : largeur réelle + finition premium
   ========================================================== */
body.registration #buddypress .register-page,
body.buddypress.register #buddypress .register-page{
  width:100%!important;max-width:1120px!important;margin:0 auto 70px!important;padding:0 18px!important;box-sizing:border-box!important;
}
body.registration #buddypress #signup-form.standard-form,
body.buddypress.register #buddypress #signup-form.standard-form{
  display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;
}
body.registration #buddypress #signup-form>.layout-wrap,
body.buddypress.register #buddypress #signup-form>.layout-wrap{display:contents!important}
.lec534-form-shell{width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important}
.lec534-access{grid-column:1/-1!important}
.lec534-territory,.lec534-know{grid-column:auto!important;min-width:0!important}
.lec534-step{width:100%!important;max-width:none!important;padding:30px!important}
.lec534-step-head h2{font-size:20px!important;font-weight:800!important;line-height:1.12!important;white-space:normal!important}
.lec534-grid{width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lec534-grid>.editfield{width:100%!important;max-width:none!important}
.lec534-grid>.lec534-wide{grid-column:1/-1!important}
.lec534-step input[type=text],.lec534-step input[type=email],.lec534-step input[type=password],.lec534-step select,.lec534-step textarea{width:100%!important;max-width:none!important}
.lec534-footer{clear:both!important;width:100%!important;max-width:100%!important}
@media(max-width:900px){
 .lec534-form-shell{grid-template-columns:1fr!important}
 .lec534-access,.lec534-territory,.lec534-know{grid-column:1!important}
}
@media(max-width:620px){
 body.registration #buddypress .register-page,body.buddypress.register #buddypress .register-page{padding:0 10px!important}
 .lec534-step{padding:20px 16px!important}
 .lec534-grid,.lec534-access .lec534-grid{grid-template-columns:1fr!important}
 .lec534-grid>.lec534-wide{grid-column:1!important}
}


/* ==========================================================
   v5.36 — Inscription desktop : champs complets + respiration
   ========================================================== */
body.registration #buddypress,body.buddypress.register #buddypress{max-width:1040px!important}
.lec534-form-shell{gap:20px!important}
.lec534-step{padding:30px 32px!important}
.lec534-access .lec534-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.lec536-account-field{min-width:0!important;width:100%!important;margin:0!important}
.lec536-account-field.lec534-wide{grid-column:1/-1!important}
.lec536-account-field label{margin-bottom:8px!important}
.lec536-account-field .password-input-wrapper{width:100%!important;max-width:none!important}
.lec536-extra-fields{display:contents!important}
.lec534-territory .lec534-grid,.lec534-know .lec534-grid{align-content:start!important}
.lec534-know .lec534-wide{grid-column:1/-1!important}
.lec534-know textarea{min-height:112px!important}
.lec534-step input::placeholder,.lec534-step textarea::placeholder{color:rgba(18,59,52,.52)!important;opacity:1!important}
.lec534-footer{margin-top:20px!important}
@media(min-width:901px){
 .lec534-territory,.lec534-know{min-height:100%!important}
 .lec534-step-head{min-height:70px!important}
}
@media(max-width:900px){body.registration #buddypress,body.buddypress.register #buddypress{max-width:760px!important}.lec536-account-field.lec534-wide{grid-column:1!important}}
\n\n/* ==========================================================\n   v5.37 — Inscription : passe de finition PC, sans changement métier\n   ========================================================== */\nbody.registration #buddypress .lec534-form-shell,body.buddypress.register #buddypress .lec534-form-shell{align-items:start!important}\nbody.registration #buddypress .lec534-territory,body.registration #buddypress .lec534-know,body.buddypress.register #buddypress .lec534-territory,body.buddypress.register #buddypress .lec534-know{align-self:start!important;min-height:0!important;height:auto!important}\nbody.registration #buddypress .lec534-step-head,body.buddypress.register #buddypress .lec534-step-head{min-height:0!important}\nbody.registration #buddypress .lec534-access .lec536-account-field.lec534-wide,body.buddypress.register #buddypress .lec534-access .lec536-account-field.lec534-wide{grid-column:1/-1!important}\nbody.registration #buddypress .lec534-access .lec536-account-field.lec534-wide>label,body.buddypress.register #buddypress .lec534-access .lec536-account-field.lec534-wide>label{display:block!important;margin:0 0 8px!important}\nbody.registration #buddypress .lec534-know .editfield:has(label[for]),body.buddypress.register #buddypress .lec534-know .editfield:has(label[for]){min-width:0!important}\nbody.registration #buddypress .lec534-know .lec536-extra:first-child,body.buddypress.register #buddypress .lec534-know .lec536-extra:first-child{grid-column:1/-1!important}\nbody.registration #buddypress .lec534-know .lec536-extra:first-child input,body.buddypress.register #buddypress .lec534-know .lec536-extra:first-child input{width:100%!important}\n/* Le bandeau natif BuddyPress devient un cartouche cohérent avec la charte, sans masquer les messages. */\nbody.registration #buddypress .bp-feedback,body.registration #buddypress .bp-template-notice,body.registration #buddypress .bp-messages,body.buddypress.register #buddypress .bp-feedback,body.buddypress.register #buddypress .bp-template-notice,body.buddypress.register #buddypress .bp-messages{margin:14px 0!important;padding:11px 15px!important;border:1px solid rgba(217,174,55,.34)!important;border-left:3px solid #D9AE37!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important;color:#FFFFFF!important;box-shadow:none!important;font:500 13px/1.45 Roboto,Arial,sans-serif!important}\nbody.registration #buddypress .bp-feedback .bp-icon,body.registration #buddypress .bp-template-notice .bp-icon,body.buddypress.register #buddypress .bp-feedback .bp-icon,body.buddypress.register #buddypress .bp-template-notice .bp-icon{background:transparent!important;color:#F6E39A!important}\nbody.registration #buddypress .lec534-footer,body.buddypress.register #buddypress .lec534-footer{padding:18px 20px 20px!important}\nbody.registration #buddypress .lec534-footer>label,body.registration #buddypress .lec534-footer .lec523-commit,body.buddypress.register #buddypress .lec534-footer>label,body.buddypress.register #buddypress .lec534-footer .lec523-commit{margin:0 0 10px!important;padding:12px 14px!important;font-size:12px!important;line-height:1.45!important}\nbody.registration .lec523-register-intro h1,body.buddypress.register .lec523-register-intro h1{font-weight:800!important}\n@media(min-width:901px){\n body.registration #buddypress .lec534-territory,body.buddypress.register #buddypress .lec534-territory{padding-bottom:28px!important}\n body.registration #buddypress .lec534-know,body.buddypress.register #buddypress .lec534-know{padding-bottom:28px!important}\n}\n@media(max-width:900px){\n body.registration #buddypress .lec534-territory,body.registration #buddypress .lec534-know,body.buddypress.register #buddypress .lec534-territory,body.buddypress.register #buddypress .lec534-know{width:100%!important}\n}\n
/* ==========================================================
   v5.38 — Inscription PC : alignements et précision finale
   ========================================================== */
@media (min-width:901px){
 body.registration #buddypress .register-page,
 body.buddypress.register #buddypress .register-page{max-width:1040px!important;padding-left:0!important;padding-right:0!important}
 body.registration .lec523-register-intro,
 body.buddypress.register .lec523-register-intro{width:100%!important;max-width:1040px!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important}
 body.registration #buddypress .bp-feedback,
 body.registration #buddypress .bp-template-notice,
 body.buddypress.register #buddypress .bp-feedback,
 body.buddypress.register #buddypress .bp-template-notice{width:100%!important;max-width:1040px!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important}
 .lec534-form-shell{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:20px!important;row-gap:20px!important}
 .lec534-step{padding:28px 30px!important}
 .lec534-step-head{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;margin-bottom:22px!important;padding-bottom:20px!important}
 .lec534-step-head h2{margin:0 0 5px!important;font-size:19px!important;line-height:1.08!important}
 .lec534-step-head p{margin:0!important;max-width:100%!important;line-height:1.42!important}
 .lec534-grid{column-gap:20px!important;row-gap:20px!important;align-items:start!important}
 .lec534-grid>.editfield,.lec536-account-field{margin:0!important;align-self:start!important}
 .lec534-step label,.lec536-account-field>label{display:block!important;min-height:17px!important;margin:0 0 8px!important;line-height:1.3!important}
 .lec534-step input[type=text],.lec534-step input[type=email],.lec534-step input[type=password],.lec534-step select{height:50px!important;min-height:50px!important}
 .lec534-know textarea{min-height:112px!important;resize:vertical!important}
 .lec534-know .lec536-extra:first-child{grid-column:1/-1!important}
 .lec534-access .lec536-account-field.lec534-wide{grid-column:1/-1!important;width:100%!important}
 .lec534-access .lec536-account-field.lec534-wide .password-input-wrapper{display:grid!important;grid-template-columns:minmax(0,1fr) 50px!important;gap:8px!important;width:100%!important;max-width:none!important}
 .lec534-access .lec536-account-field.lec534-wide .password-input-wrapper input[type=password],
 .lec534-access .lec536-account-field.lec534-wide .password-input-wrapper input[type=text]{width:100%!important;max-width:none!important;margin:0!important}
 .lec534-access .lec536-account-field.lec534-wide #pass-strength-result{width:100%!important;margin:8px 0 0!important}
 .lec534-territory .lec534-grid{column-gap:20px!important;row-gap:22px!important}
 .lec534-know .lec534-grid{row-gap:18px!important}
 .lec534-footer{margin-top:20px!important;padding:18px!important}
 .lec534-footer>label,.lec534-footer .lec523-commit{min-height:46px!important;align-items:center!important;margin-bottom:10px!important}
 .lec534-footer .submit{margin-top:4px!important}
}

/* ==========================================================
   v5.39 — Inscription PC : grille territoire + repères 01/02/03
   Passe visuelle uniquement — aucune logique métier.
   ========================================================== */
@media (min-width:901px){
  /* Repères d'étapes : plus présents, mais toujours fins et premium. */
  body.registration #buddypress .lec534-step-head,
  body.buddypress.register #buddypress .lec534-step-head{
    grid-template-columns:52px minmax(0,1fr)!important;
    column-gap:16px!important;
    align-items:start!important;
  }
  body.registration #buddypress .lec534-step-head>span,
  body.buddypress.register #buddypress .lec534-step-head>span{
    width:50px!important;
    min-width:50px!important;
    height:34px!important;
    min-height:34px!important;
    padding:0!important;
    box-sizing:border-box!important;
    border:1px solid rgba(217,174,55,.52)!important;
    border-radius:5px!important;
    background:rgba(217,174,55,.035)!important;
    color:#F6E39A!important;
    font:900 12px/1 Roboto,Arial,sans-serif!important;
    letter-spacing:.10em!important;
  }
  body.registration #buddypress .lec534-step-head h2,
  body.buddypress.register #buddypress .lec534-step-head h2{
    padding-top:1px!important;
  }

  /* 02 — chaque paire label/champ suit exactement la même géométrie. */
  body.registration #buddypress .lec534-territory .lec534-grid,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:20px!important;
    row-gap:22px!important;
    align-items:start!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield{
    display:grid!important;
    grid-template-rows:34px 50px auto!important;
    align-content:start!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield>label,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield>label{
    display:flex!important;
    align-items:flex-end!important;
    min-height:34px!important;
    height:34px!important;
    margin:0 0 8px!important;
    padding:0!important;
    box-sizing:border-box!important;
    line-height:1.25!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield input[type=text],
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield input[type=email],
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield select,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield input[type=text],
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield input[type=email],
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield select{
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield .description,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield .description{
    margin-top:7px!important;
  }
}

/* ==========================================================
   v5.40 — Inscription PC : calage strict du territoire + repères carrés
   Passe visuelle uniquement — aucune logique métier.
   ========================================================== */
@media (min-width:901px){
  /* 01 / 02 / 03 : repère presque carré, calé sur la hauteur titre + sous-titre. */
  body.registration #buddypress .lec534-step-head,
  body.buddypress.register #buddypress .lec534-step-head{
    grid-template-columns:58px minmax(0,1fr)!important;
    column-gap:16px!important;
    align-items:start!important;
  }
  body.registration #buddypress .lec534-step-head>span,
  body.buddypress.register #buddypress .lec534-step-head>span{
    width:54px!important;
    min-width:54px!important;
    height:54px!important;
    min-height:54px!important;
    padding:0!important;
    align-self:start!important;
    box-sizing:border-box!important;
    border:1px solid rgba(217,174,55,.52)!important;
    border-radius:5px!important;
    background:rgba(217,174,55,.035)!important;
    color:#F6E39A!important;
    font:900 14px/1 Roboto,Arial,sans-serif!important;
    letter-spacing:.08em!important;
  }
  body.registration #buddypress .lec534-step-head>div,
  body.buddypress.register #buddypress .lec534-step-head>div{
    min-height:54px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
  }

  /* 02 : chaque cellule possède exactement la même zone de libellé et le même départ d'input. */
  body.registration #buddypress .lec534-territory .lec534-grid,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:20px!important;
    row-gap:22px!important;
    align-items:start!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    align-self:start!important;
    box-sizing:border-box!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield>label,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield>label{
    display:flex!important;
    align-items:flex-end!important;
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin:0 0 8px!important;
    padding:0!important;
    box-sizing:border-box!important;
    line-height:1.22!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield input[type=text],
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield input[type=email],
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield input[type=tel],
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield select,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield input[type=text],
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield input[type=email],
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield input[type=tel],
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield select{
    display:block!important;
    flex:0 0 50px!important;
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    margin:0!important;
    padding-top:0!important;
    padding-bottom:0!important;
    box-sizing:border-box!important;
  }
  body.registration #buddypress .lec534-territory .lec534-grid>.editfield .description,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid>.editfield .description{
    margin:7px 0 0!important;
  }
}


/* ==========================================================
   v5.41 — Inscription PC : rangées réelles du territoire + repères 01/02/03
   Finition visuelle uniquement. Les champs BuddyPress natifs sont conservés.
   ========================================================== */
@media (min-width:901px){
  body.registration #buddypress .lec534-step-head,
  body.buddypress.register #buddypress .lec534-step-head{
    grid-template-columns:68px minmax(0,1fr)!important;
    column-gap:18px!important;
    align-items:stretch!important;
  }
  body.registration #buddypress .lec534-step-head>span,
  body.buddypress.register #buddypress .lec534-step-head>span{
    width:64px!important;min-width:64px!important;height:64px!important;min-height:64px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    align-self:stretch!important;padding:0!important;box-sizing:border-box!important;
    border:1px solid rgba(217,174,55,.52)!important;border-radius:5px!important;
    background:rgba(217,174,55,.035)!important;color:#F6E39A!important;
    font:900 15px/1 Roboto,Arial,sans-serif!important;letter-spacing:.08em!important;
  }
  body.registration #buddypress .lec534-step-head>div,
  body.buddypress.register #buddypress .lec534-step-head>div{
    min-height:64px!important;height:64px!important;display:flex!important;flex-direction:column!important;
    justify-content:flex-start!important;box-sizing:border-box!important;padding:1px 0 0!important;
  }
  body.registration #buddypress .lec534-step-head h2,
  body.buddypress.register #buddypress .lec534-step-head h2{margin:0 0 6px!important;padding:0!important;line-height:1.08!important}
  body.registration #buddypress .lec534-step-head p,
  body.buddypress.register #buddypress .lec534-step-head p{margin:0!important;line-height:1.42!important}

  /* 02 : le conteneur n'aligne plus six champs indépendants. Il contient 3 rangées strictes. */
  body.registration #buddypress .lec534-territory .lec534-grid,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid{
    display:flex!important;flex-direction:column!important;gap:24px!important;width:100%!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:20px!important;align-items:start!important;width:100%!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield{
    display:grid!important;grid-template-rows:38px 50px!important;row-gap:8px!important;
    width:100%!important;min-width:0!important;margin:0!important;padding:0!important;align-self:start!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield>label,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield>label{
    display:flex!important;align-items:flex-end!important;width:100%!important;height:38px!important;min-height:38px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;line-height:1.22!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield input[type=text],
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield input[type=email],
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield input[type=tel],
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield select,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield input[type=text],
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield input[type=email],
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield input[type=tel],
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield select{
    display:block!important;width:100%!important;height:50px!important;min-height:50px!important;max-height:50px!important;
    margin:0!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important;
  }
}
@media (max-width:900px){
  body.registration #buddypress .lec534-territory .lec541-territory-row,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row{display:grid!important;grid-template-columns:1fr!important;gap:17px!important}
}


/* ==========================================================
   v5.42 — Bloc 02 : normalisation finale avant calage géométrique JS
   ========================================================== */
@media (min-width:901px){
 body.registration #buddypress .lec534-territory .lec541-territory-row,
 body.buddypress.register #buddypress .lec534-territory .lec541-territory-row{
   grid-auto-rows:auto!important;align-items:start!important;
 }
 body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield,
 body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield{
   position:relative!important;box-sizing:border-box!important;
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   gap:8px!important;min-height:104px!important;height:auto!important;
 }
 body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield>label,
 body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield>label{
   flex:0 0 38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;
   display:flex!important;align-items:flex-end!important;margin:0!important;padding:0!important;
 }
 body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield input:not([type=hidden]),
 body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield select,
 body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield input:not([type=hidden]),
 body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield select{
   flex:0 0 50px!important;width:100%!important;height:50px!important;min-height:50px!important;max-height:50px!important;
   margin:0!important;box-sizing:border-box!important;vertical-align:top!important;
 }
}


/* ==========================================================
   v5.43 — INSCRIPTION MOBILE : composition dédiée smartphone
   Le desktop >= 901px reste strictement inchangé.
   ========================================================== */
@media (max-width:900px){
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield input:not([type=hidden]),
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield select,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield input:not([type=hidden]),
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield select{
    position:static!important;top:auto!important;transform:none!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row{
    display:flex!important;flex-direction:column!important;gap:18px!important;width:100%!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield{
    display:block!important;width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield>label,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield>label{
    display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0 0 7px!important;padding:0!important;line-height:1.3!important;
  }
}

@media (max-width:620px){
  body.registration #buddypress,
  body.buddypress.register #buddypress{
    width:calc(100% - 24px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;
  }
  body.registration #buddypress .register-page,
  body.buddypress.register #buddypress .register-page{padding:0!important;margin-bottom:42px!important}

  body.registration .lec523-register-intro,
  body.buddypress.register .lec523-register-intro{
    margin:10px 0 12px!important;padding:22px 20px 20px!important;border-radius:12px!important;
  }
  body.registration .lec523-register-kicker,
  body.buddypress.register .lec523-register-kicker{font-size:10px!important;letter-spacing:.16em!important;margin-bottom:10px!important}
  body.registration .lec523-register-intro h1,
  body.buddypress.register .lec523-register-intro h1{font-size:31px!important;line-height:1.03!important;margin-bottom:12px!important}
  body.registration .lec527-register-lead,
  body.buddypress.register .lec527-register-lead{display:block!important;font-size:14px!important;line-height:1.42!important;margin-bottom:10px!important}
  body.registration .lec523-register-intro p,
  body.buddypress.register .lec523-register-intro p{font-size:13px!important;line-height:1.55!important}
  body.registration .lec523-register-points,
  body.buddypress.register .lec523-register-points{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:16px!important;
  }
  body.registration .lec523-register-points span,
  body.buddypress.register .lec523-register-points span{
    display:flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;
    padding:6px 8px!important;font-size:10.5px!important;text-align:center!important;box-sizing:border-box!important;border-radius:5px!important;
  }

  body.registration #buddypress .bp-feedback,
  body.registration #buddypress .bp-template-notice,
  body.registration #buddypress .bp-messages,
  body.buddypress.register #buddypress .bp-feedback,
  body.buddypress.register #buddypress .bp-template-notice,
  body.buddypress.register #buddypress .bp-messages{
    display:flex!important;align-items:flex-start!important;gap:9px!important;margin:10px 0!important;padding:10px 12px!important;
    border-left-width:2px!important;border-radius:6px!important;font-size:12px!important;line-height:1.4!important;
  }
  body.registration #buddypress .bp-feedback p,
  body.registration #buddypress .bp-template-notice p,
  body.buddypress.register #buddypress .bp-feedback p,
  body.buddypress.register #buddypress .bp-template-notice p{margin:0!important;font-size:12px!important;line-height:1.4!important}

  body.registration #buddypress #signup-form.standard-form,
  body.buddypress.register #buddypress #signup-form.standard-form{
    padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;
  }
  body.registration #buddypress .lec534-form-shell,
  body.buddypress.register #buddypress .lec534-form-shell{display:flex!important;flex-direction:column!important;gap:12px!important}
  body.registration #buddypress .lec534-step,
  body.buddypress.register #buddypress .lec534-step{
    width:100%!important;padding:20px 18px!important;border-radius:12px!important;box-sizing:border-box!important;
  }
  body.registration #buddypress .lec534-step-head,
  body.buddypress.register #buddypress .lec534-step-head{
    display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;
    margin:0 0 18px!important;padding:0 0 16px!important;
  }
  body.registration #buddypress .lec534-step-head>span,
  body.buddypress.register #buddypress .lec534-step-head>span{
    display:flex!important;align-items:center!important;justify-content:center!important;width:52px!important;height:52px!important;min-width:52px!important;
    padding:0!important;border:1px solid rgba(217,174,55,.52)!important;border-radius:5px!important;background:rgba(217,174,55,.035)!important;
    color:#F6E39A!important;font:900 13px/1 Roboto,Arial,sans-serif!important;letter-spacing:.08em!important;box-sizing:border-box!important;
  }
  body.registration #buddypress .lec534-step-head h2,
  body.buddypress.register #buddypress .lec534-step-head h2{margin:1px 0 5px!important;font-size:18px!important;line-height:1.08!important}
  body.registration #buddypress .lec534-step-head p,
  body.buddypress.register #buddypress .lec534-step-head p{margin:0!important;font-size:11px!important;line-height:1.42!important}

  body.registration #buddypress .lec534-grid,
  body.registration #buddypress .lec534-access .lec534-grid,
  body.buddypress.register #buddypress .lec534-grid,
  body.buddypress.register #buddypress .lec534-access .lec534-grid{
    display:flex!important;flex-direction:column!important;gap:16px!important;width:100%!important;
  }
  body.registration #buddypress .lec536-account-field,
  body.buddypress.register #buddypress .lec536-account-field,
  body.registration #buddypress .lec534-grid>.editfield,
  body.buddypress.register #buddypress .lec534-grid>.editfield{width:100%!important;margin:0!important;min-width:0!important}

  body.registration #buddypress .lec534-step label,
  body.registration #buddypress .lec536-account-field>label,
  body.buddypress.register #buddypress .lec534-step label,
  body.buddypress.register #buddypress .lec536-account-field>label{
    min-height:0!important;height:auto!important;margin:0 0 7px!important;font-size:12px!important;line-height:1.3!important;
  }
  /* Nouveau ne restitue pas toujours le libellé du mot de passe après déplacement du wrapper. */
  body.registration #buddypress .lec534-access .lec536-account-field.lec534-wide:not(:has(>label))::before,
  body.buddypress.register #buddypress .lec534-access .lec536-account-field.lec534-wide:not(:has(>label))::before{
    content:'Définissez votre mot de passe (obligatoire)';display:block!important;margin:0 0 7px!important;
    color:#FFFFFF!important;font:700 12px/1.3 Roboto,Arial,sans-serif!important;
  }
  body.registration #buddypress .lec534-step input[type=text],
  body.registration #buddypress .lec534-step input[type=email],
  body.registration #buddypress .lec534-step input[type=password],
  body.registration #buddypress .lec534-step input[type=tel],
  body.registration #buddypress .lec534-step select,
  body.buddypress.register #buddypress .lec534-step input[type=text],
  body.buddypress.register #buddypress .lec534-step input[type=email],
  body.buddypress.register #buddypress .lec534-step input[type=password],
  body.buddypress.register #buddypress .lec534-step input[type=tel],
  body.buddypress.register #buddypress .lec534-step select{
    width:100%!important;height:48px!important;min-height:48px!important;max-height:48px!important;padding:10px 12px!important;font-size:14px!important;border-radius:7px!important;
  }
  body.registration #buddypress .lec534-access .password-input-wrapper,
  body.buddypress.register #buddypress .lec534-access .password-input-wrapper{
    display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;gap:7px!important;width:100%!important;
  }
  body.registration #buddypress .lec534-access .password-input-wrapper .wp-hide-pw,
  body.buddypress.register #buddypress .lec534-access .password-input-wrapper .wp-hide-pw{
    width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;border-radius:7px!important;
  }
  body.registration #buddypress .lec534-access #pass-strength-result,
  body.buddypress.register #buddypress .lec534-access #pass-strength-result{
    min-height:34px!important;margin:7px 0 0!important;padding:7px 10px!important;font-size:11px!important;border-radius:6px!important;
  }
  body.registration #buddypress .lec534-access .indicator-hint,
  body.buddypress.register #buddypress .lec534-access .indicator-hint{padding:9px 10px!important;font-size:10.5px!important}

  body.registration #buddypress .lec534-territory .lec534-grid,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid{display:flex!important;flex-direction:column!important;gap:18px!important}
  body.registration #buddypress .lec534-territory .lec541-territory-row,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row{gap:18px!important}

  body.registration #buddypress .lec534-know .lec534-grid,
  body.buddypress.register #buddypress .lec534-know .lec534-grid{gap:16px!important}
  body.registration #buddypress .lec534-know textarea,
  body.buddypress.register #buddypress .lec534-know textarea{
    min-height:92px!important;height:92px!important;padding:11px 12px!important;font-size:14px!important;line-height:1.4!important;resize:vertical!important;
  }

  body.registration #buddypress .lec534-footer,
  body.buddypress.register #buddypress .lec534-footer{
    width:100%!important;margin:12px 0 0!important;padding:14px!important;border-radius:11px!important;box-sizing:border-box!important;
  }
  body.registration #buddypress .lec534-footer>label,
  body.registration #buddypress .lec534-footer .lec523-commit,
  body.buddypress.register #buddypress .lec534-footer>label,
  body.buddypress.register #buddypress .lec534-footer .lec523-commit{
    min-height:0!important;margin:0 0 9px!important;padding:11px 12px!important;gap:9px!important;border-radius:7px!important;
    font-size:11px!important;line-height:1.4!important;font-weight:600!important;
  }
  body.registration #buddypress .lec534-footer input[type=checkbox],
  body.buddypress.register #buddypress .lec534-footer input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px!important;margin-top:0!important}
  body.registration #buddypress .lec534-footer .submit>input[type=submit][name=signup_submit],
  body.registration #buddypress .lec534-footer .submit>button[name=signup_submit],
  body.buddypress.register #buddypress .lec534-footer .submit>input[type=submit][name=signup_submit],
  body.buddypress.register #buddypress .lec534-footer .submit>button[name=signup_submit]{
    height:50px!important;min-height:50px!important;font-size:11px!important;letter-spacing:.04em!important;border-radius:7px!important;
  }
}

@media (max-width:390px){
  body.registration #buddypress,body.buddypress.register #buddypress{width:calc(100% - 18px)!important}
  body.registration .lec523-register-intro h1,body.buddypress.register .lec523-register-intro h1{font-size:28px!important}
  body.registration #buddypress .lec534-step,body.buddypress.register #buddypress .lec534-step{padding:18px 15px!important}
  body.registration #buddypress .lec534-step-head,body.buddypress.register #buddypress .lec534-step-head{grid-template-columns:48px minmax(0,1fr)!important;gap:10px!important}
  body.registration #buddypress .lec534-step-head>span,body.buddypress.register #buddypress .lec534-step-head>span{width:48px!important;height:48px!important;min-width:48px!important}
}

/* ==========================================================
   v5.44 — INSCRIPTION MOBILE : finition du rythme vertical
   Desktop >= 901px inchangé. Compacte sans réduire la lisibilité.
   ========================================================== */
@media (max-width:620px){
  /* Bandeau d'information plus compact. */
  body.registration #buddypress .bp-feedback,
  body.registration #buddypress .bp-template-notice,
  body.registration #buddypress .bp-messages,
  body.buddypress.register #buddypress .bp-feedback,
  body.buddypress.register #buddypress .bp-template-notice,
  body.buddypress.register #buddypress .bp-messages{
    min-height:0!important;margin:9px 0 10px!important;padding:9px 12px!important;gap:9px!important;
  }

  /* Cartes : respiration maîtrisée. */
  body.registration #buddypress .lec534-form-shell,
  body.buddypress.register #buddypress .lec534-form-shell{gap:11px!important}
  body.registration #buddypress .lec534-step,
  body.buddypress.register #buddypress .lec534-step{padding:19px 18px 20px!important}
  body.registration #buddypress .lec534-step-head,
  body.buddypress.register #buddypress .lec534-step-head{
    margin-bottom:15px!important;padding-bottom:14px!important;
  }

  /* Tous les champs mobiles suivent exactement le même rythme. */
  body.registration #buddypress .lec534-step .editfield,
  body.registration #buddypress .lec534-step .lec536-account-field,
  body.buddypress.register #buddypress .lec534-step .editfield,
  body.buddypress.register #buddypress .lec534-step .lec536-account-field{
    min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
  }
  body.registration #buddypress .lec534-grid,
  body.registration #buddypress .lec534-access .lec534-grid,
  body.registration #buddypress .lec534-territory .lec534-grid,
  body.registration #buddypress .lec534-know .lec534-grid,
  body.buddypress.register #buddypress .lec534-grid,
  body.buddypress.register #buddypress .lec534-access .lec534-grid,
  body.buddypress.register #buddypress .lec534-territory .lec534-grid,
  body.buddypress.register #buddypress .lec534-know .lec534-grid{
    gap:14px!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row{
    gap:14px!important;margin:0!important;padding:0!important;
  }
  body.registration #buddypress .lec534-step label,
  body.registration #buddypress .lec536-account-field>label,
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield>label,
  body.buddypress.register #buddypress .lec534-step label,
  body.buddypress.register #buddypress .lec536-account-field>label,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield>label{
    display:block!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:0 0 6px!important;padding:0!important;line-height:1.28!important;
  }

  /* Bloc 02 : supprime définitivement les hauteurs héritées du calage desktop. */
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield{
    display:block!important;flex:none!important;min-height:0!important;height:auto!important;max-height:none!important;
  }
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield input:not([type=hidden]),
  body.registration #buddypress .lec534-territory .lec541-territory-row>.editfield select,
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield input:not([type=hidden]),
  body.buddypress.register #buddypress .lec534-territory .lec541-territory-row>.editfield select{
    display:block!important;position:static!important;width:100%!important;height:48px!important;min-height:48px!important;max-height:48px!important;
    margin:0!important;transform:none!important;
  }

  /* Bloc 03 : confortable mais beaucoup moins interminable. */
  body.registration #buddypress .lec534-know textarea,
  body.buddypress.register #buddypress .lec534-know textarea{
    height:104px!important;min-height:104px!important;max-height:none!important;padding:11px 12px!important;
  }
  body.registration #buddypress .lec534-know input[type=text],
  body.buddypress.register #buddypress .lec534-know input[type=text]{height:48px!important;min-height:48px!important}

  /* Pied de formulaire : compact, lisible, sans effet massif. */
  body.registration #buddypress .lec534-footer,
  body.buddypress.register #buddypress .lec534-footer{margin-top:11px!important;padding:12px!important}
  body.registration #buddypress .lec534-footer>label,
  body.registration #buddypress .lec534-footer .lec523-commit,
  body.buddypress.register #buddypress .lec534-footer>label,
  body.buddypress.register #buddypress .lec534-footer .lec523-commit{
    margin-bottom:8px!important;padding:10px 11px!important;font-size:10.5px!important;line-height:1.36!important;
  }
  body.registration #buddypress .lec534-footer input[type=checkbox],
  body.buddypress.register #buddypress .lec534-footer input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important}
}

/* ==========================================================
   v5.45 — INSCRIPTION MOBILE : axe commun + remontée générale
   Desktop >= 621px inchangé.
   ========================================================== */
@media (max-width:620px){
  /* Remonte l'ensemble de l'inscription sous le menu, sans toucher au header du site. */
  body.registration #buddypress,
  body.buddypress.register #buddypress{
    position:relative!important;
    top:-30px!important;
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Un seul axe horizontal pour intro, notice, formulaire et pied. */
  body.registration #buddypress .register-page,
  body.buddypress.register #buddypress .register-page,
  body.registration #buddypress #signup-form.standard-form,
  body.buddypress.register #buddypress #signup-form.standard-form,
  body.registration #buddypress .lec534-form-shell,
  body.buddypress.register #buddypress .lec534-form-shell,
  body.registration #buddypress .lec534-footer,
  body.buddypress.register #buddypress .lec534-footer{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  /* Les cartes 01/02/03 ne reçoivent plus aucun retrait latéral hérité. */
  body.registration #buddypress .lec534-step,
  body.buddypress.register #buddypress .lec534-step,
  body.registration #buddypress .lec534-access,
  body.registration #buddypress .lec534-territory,
  body.registration #buddypress .lec534-know,
  body.buddypress.register #buddypress .lec534-access,
  body.buddypress.register #buddypress .lec534-territory,
  body.buddypress.register #buddypress .lec534-know{
    position:relative!important;
    left:0!important;
    right:auto!important;
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
}

/* ==========================================================
   v5.46 — BRIQUES COMMUNITY : contrat visuel Échappées
   ========================================================== */
:root{--lec-gold-gradient:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%);--lec-brick-border:rgba(217,174,55,.18);--lec-brick-surface:rgba(255,255,255,.025)}
body.groups.single-item #buddypress #item-nav li#echappees-groups-li a,body.groups.single-item #buddypress #object-nav li#echappees-groups-li a{color:rgba(255,255,255,.82)!important}
body.groups.single-item #buddypress #item-nav li#echappees-groups-li.current a,body.groups.single-item #buddypress #item-nav li#echappees-groups-li.selected a,body.groups.single-item #buddypress #object-nav li#echappees-groups-li.current a,body.groups.single-item #buddypress #object-nav li#echappees-groups-li.selected a{color:#F6E39A!important}
.lec-brick{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.lec-brick-host,.lec-echappees-host{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.lec-brick-host *{box-sizing:border-box}.lec-brick .lec-tool-head{align-items:center;margin-bottom:22px}.lec-brick .lec-tool-head>div{min-width:0}.lec-brick .lec-tool-head h2{color:#fff!important;font:700 28px/1.1 Roboto,Arial,sans-serif!important}.lec-brick .lec-tool-head p{line-height:1.55!important}
.lec-brick .lec-tool-create{min-height:46px;padding:0 20px;border:0!important;border-radius:6px!important;background:var(--lec-gold-gradient)!important;color:#0B3F3C!important;font:800 12px/1 Roboto,Arial,sans-serif!important;letter-spacing:.02em;text-shadow:none!important;box-shadow:none!important;transition:transform .18s ease,filter .18s ease!important}.lec-brick .lec-tool-create:hover,.lec-brick .lec-tool-create:focus{color:#0B3F3C!important;transform:translateY(-1px);filter:brightness(1.04)}
.lec-brick .lec-tool-empty{display:flex;flex-direction:column;gap:6px;border-radius:8px;background:var(--lec-brick-surface)}.lec-brick .lec-tool-empty strong{color:#FFFFFF;font-weight:700}.lec-brick .lec-tool-empty span{color:rgba(255,255,255,.62);font-size:12px;line-height:1.5}.lec-brick-echappees .lec-escape-card{border-radius:8px;background:var(--lec-brick-surface);box-shadow:none}.lec-brick-echappees .lec-escape-card:hover{transform:translateY(-2px)}.lec-brick-echappees .lec-escape-author{margin:0 0 9px;color:rgba(255,255,255,.50);font:500 11px/1.35 Roboto,Arial,sans-serif}
.lec-echappees-host img,.lec-echappees-host video,.lec-echappees-host canvas,.lec-echappees-host iframe{max-width:100%}.lec-echappees-host .leaflet-container{max-width:100%}
@media(max-width:780px){.lec-brick .lec-tool-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;margin-bottom:16px!important;padding:2px 0 16px!important}.lec-brick .lec-tool-head h2{font-size:23px!important}.lec-brick .lec-tool-head p{font-size:13px!important}.lec-brick .lec-tool-create{width:100%!important;min-height:48px!important;justify-content:center!important;white-space:normal!important;text-align:center!important}.lec-brick .lec-tool-empty{padding:20px 16px!important}.lec-echappees-host{overflow:visible!important}}
@media(max-width:430px){.lec-brick .lec-tool-head span{font-size:10px!important;letter-spacing:.11em!important}.lec-brick .lec-tool-head h2{font-size:21px!important}.lec-brick-echappees .lec-escape-copy{padding:16px!important}.lec-brick-echappees .lec-escape-img{height:160px!important}}

/* ==========================================================
   v5.47 — ÉCHAPPÉES : continuité visuelle Community
   ========================================================== */
.lec-brick-echappees .lec-echappees-community{width:100%;min-width:0}
.lec-brick-echappees .lec-echappees-community-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin:0 0 18px;padding:18px 20px;border:1px solid rgba(217,174,55,.18);border-radius:8px;background:rgba(255,255,255,.025)}
.lec-brick-echappees .lec-echappees-community-head>div{min-width:0}.lec-brick-echappees .lec-echappees-community-head span{display:block;margin-bottom:6px;color:#D9AE37;font:800 9px/1 Roboto,Arial,sans-serif;letter-spacing:.13em}.lec-brick-echappees .lec-echappees-community-head h2{margin:0 0 6px;color:#FFFFFF;font:700 20px/1.15 Roboto,Arial,sans-serif}.lec-brick-echappees .lec-echappees-community-head p{margin:0;color:rgba(255,255,255,.62);font:400 12px/1.5 Roboto,Arial,sans-serif}
.lec-brick-echappees .lec-echappees-create{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:5px;background:var(--lec-gold-gradient);color:#0B3F3C!important;font:800 10px/1 Roboto,Arial,sans-serif;text-decoration:none!important;white-space:nowrap}
.lec-brick-echappees .lec-echappees-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.lec-brick-echappees .lec-echappees-card{overflow:hidden;border:1px solid rgba(217,174,55,.15);border-radius:8px;background:rgba(255,255,255,.025)}.lec-brick-echappees .lec-echappees-card-cover{display:block;height:180px;background:linear-gradient(145deg,rgba(246,227,154,.08),rgba(11,63,60,.3));background-size:cover;background-position:center}.lec-brick-echappees .lec-echappees-card>div{padding:15px}.lec-brick-echappees .lec-echappees-card>div>span{color:#D9AE37;font:800 9px/1 Roboto,Arial,sans-serif;letter-spacing:.08em}.lec-brick-echappees .lec-echappees-card h3{margin:7px 0 6px;color:#FFFFFF;font:700 16px/1.2 Roboto,Arial,sans-serif}.lec-brick-echappees .lec-echappees-card p{margin:0 0 12px;color:rgba(255,255,255,.5);font:500 10px/1.4 Roboto,Arial,sans-serif}.lec-brick-echappees .lec-echappees-card>div>a{display:inline-flex;min-height:34px;align-items:center;padding:0 11px;border:1px solid rgba(217,174,55,.28);border-radius:4px;color:#F6E39A!important;font:700 9px/1 Roboto,Arial,sans-serif;text-decoration:none!important}
@media(max-width:900px){.lec-brick-echappees .lec-echappees-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.lec-brick-echappees .lec-echappees-community-head{flex-direction:column;align-items:stretch;padding:15px}.lec-brick-echappees .lec-echappees-create{width:100%}.lec-brick-echappees .lec-echappees-grid{grid-template-columns:1fr}.lec-brick-echappees .lec-echappees-card-cover{height:165px}}

/* ==========================================================
   v5.48 — DESIGN SYSTEM UNIFIÉ / ÉCHAPPÉES DANS COMMUNITY
   ========================================================== */
:root{
  --lec-forest:#0B3F3C;
  --lec-forest-deep:#07302E;
  --lec-ivory:#FFFFFF;
  --lec-gold-light:#F6E39A;
  --lec-gold:#D9AE37;
  --lec-gold-dark:#A9780B;
  --lec-gold-gradient:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%);
  --lec-radius-control:6px;
  --lec-radius-panel:10px;
}

/* Une seule géométrie de contrôles pour les briques Community. */
#buddypress .lec-tool-create,
#buddypress .lec-tool-back,
#buddypress .lec-echappees-create,
#buddypress .lec-echappees-card a:not(.lec-echappees-card-cover){
  min-height:40px!important;
  padding:0 16px!important;
  border-radius:var(--lec-radius-control)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease!important;
}
#buddypress .lec-tool-create,
#buddypress .lec-echappees-create{
  border:1px solid rgba(246,227,154,.38)!important;
  background:var(--lec-gold-gradient)!important;
  color:var(--lec-forest)!important;
}
#buddypress .lec-tool-back,
#buddypress .lec-echappees-card a:not(.lec-echappees-card-cover){
  border:1px solid rgba(217,174,55,.52)!important;
  background:rgba(7,48,46,.55)!important;
  color:var(--lec-ivory)!important;
}
#buddypress .lec-tool-create:hover,
#buddypress .lec-echappees-create:hover,
#buddypress .lec-tool-back:hover,
#buddypress .lec-echappees-card a:not(.lec-echappees-card-cover):hover{
  transform:translateY(-1px)!important;
  border-color:var(--lec-gold-light)!important;
}

/* Le constructeur est une section Community, pas une nouvelle application. */
#buddypress .lec-brick-echappees-builder{
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#buddypress .lec-echappees-builder-context{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin:0 0 16px!important;
  padding:18px 20px!important;
  border:1px solid rgba(217,174,55,.30)!important;
  border-radius:var(--lec-radius-panel)!important;
  background:rgba(255,255,255,.035)!important;
}
#buddypress .lec-echappees-builder-context span{
  display:block!important;
  margin-bottom:5px!important;
  color:var(--lec-gold)!important;
  font:700 10px/1.2 Roboto,Arial,sans-serif!important;
  letter-spacing:.12em!important;
}
#buddypress .lec-echappees-builder-context h2{
  margin:0 0 5px!important;
  color:var(--lec-ivory)!important;
  font:500 21px/1.15 Roboto,Arial,sans-serif!important;
}
#buddypress .lec-echappees-builder-context p{
  margin:0!important;
  color:rgba(255,255,255,.70)!important;
  font:400 12px/1.45 Roboto,Arial,sans-serif!important;
}

/* Échappées : supprimer le contraste de "page blanche" autour de la brique. */
#buddypress .lec-echappees-community{
  color:var(--lec-ivory)!important;
}
#buddypress .lec-echappees-community-head{
  border-color:rgba(217,174,55,.25)!important;
  background:rgba(255,255,255,.025)!important;
  border-radius:var(--lec-radius-panel)!important;
}
#buddypress .lec-echappees-card{
  border-radius:var(--lec-radius-panel)!important;
  border-color:rgba(217,174,55,.24)!important;
  background:rgba(255,255,255,.025)!important;
  overflow:hidden!important;
}

@media(max-width:782px){
  #buddypress .lec-echappees-builder-context{
    align-items:stretch!important;
    flex-direction:column!important;
    gap:12px!important;
    padding:15px!important;
  }
  #buddypress .lec-tool-back{width:100%!important;}
}

/* ==========================================================
   v5.49 — ÉCHAPPÉES : finition Community / carte parcours
   ========================================================== */
#buddypress .lec-brick-echappees > .lec-tool-head{padding-bottom:16px!important;margin-bottom:16px!important;border-bottom:1px solid rgba(217,174,55,.16)!important}
#buddypress .lec-brick-echappees .lec-echappees-community-head{align-items:center!important;padding:16px 18px!important;margin-bottom:14px!important}
#buddypress .lec-brick-echappees .lec-echappees-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
#buddypress .lec-brick-echappees .lec-echappees-card{display:grid!important;grid-template-columns:minmax(190px,42%) minmax(0,1fr)!important;min-height:180px!important}
#buddypress .lec-brick-echappees .lec-echappees-card-cover{height:100%!important;min-height:180px!important}
#buddypress .lec-brick-echappees .lec-echappees-card>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;padding:18px!important;min-width:0!important}
#buddypress .lec-brick-echappees .lec-echappees-card h3{font-size:17px!important;margin:8px 0 7px!important}
#buddypress .lec-brick-echappees .lec-echappees-card p{margin-bottom:14px!important}
@media(max-width:980px){#buddypress .lec-brick-echappees .lec-echappees-grid{grid-template-columns:1fr!important}}
@media(max-width:620px){#buddypress .lec-brick-echappees .lec-echappees-card{grid-template-columns:1fr!important}.lec-brick-echappees .lec-echappees-card-cover{height:165px!important;min-height:165px!important}}

/* ==========================================================
   v5.50 — ÉCHAPPÉES : catalogue territorial premium
   ========================================================== */
#buddypress .lec-brick-echappees .lec-echappees-territory-hero{
  position:relative!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:28px!important;
  margin:0 0 20px!important;padding:28px!important;overflow:hidden!important;
  border:1px solid rgba(217,174,55,.30)!important;border-radius:8px!important;
  background:linear-gradient(125deg,rgba(246,227,154,.07) 0%,rgba(255,255,255,.025) 48%,rgba(7,48,46,.16) 100%)!important;
}
#buddypress .lec-brick-echappees .lec-echappees-territory-hero:after{content:"";position:absolute;right:-80px;bottom:-120px;width:300px;height:300px;border:1px solid rgba(217,174,55,.10);border-radius:50%;pointer-events:none}
#buddypress .lec-brick-echappees .lec-echappees-territory-copy{position:relative;z-index:1;max-width:690px!important}
#buddypress .lec-brick-echappees .lec-echappees-kicker{display:block!important;margin:0 0 9px!important;color:#D9AE37!important;font:800 9px/1 Roboto,Arial,sans-serif!important;letter-spacing:.14em!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-copy h2{margin:0 0 9px!important;color:#FFFFFF!important;font:700 25px/1.12 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-copy p{max-width:650px!important;margin:0!important;color:rgba(255,255,255,.70)!important;font:400 12px/1.6 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-stats{display:flex!important;align-items:baseline!important;gap:8px!important;margin-top:17px!important;color:#FFFFFF!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-stats strong{color:#F6E39A!important;font:700 24px/1 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-stats span{color:rgba(255,255,255,.62)!important;font:600 10px/1 Roboto,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.06em!important}
#buddypress .lec-brick-echappees .lec-echappees-create{position:relative;z-index:1;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:44px!important;padding:0 18px!important;border:0!important;border-radius:5px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;font:800 10px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important;white-space:nowrap!important}
#buddypress .lec-brick-echappees .lec-echappees-catalog-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;margin:0 0 13px!important;padding:0 2px!important}
#buddypress .lec-brick-echappees .lec-echappees-catalog-head span{display:block!important;margin-bottom:5px!important;color:#D9AE37!important;font:800 8px/1 Roboto,Arial,sans-serif!important;letter-spacing:.13em!important}
#buddypress .lec-brick-echappees .lec-echappees-catalog-head h3{margin:0!important;color:#FFFFFF!important;font:700 18px/1.15 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-catalog-head p{margin:0!important;color:rgba(255,255,255,.48)!important;font:500 10px/1.4 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
#buddypress .lec-brick-echappees .lec-echappees-card{display:block!important;min-height:0!important;overflow:hidden!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:8px!important;background:rgba(255,255,255,.025)!important;transition:transform .18s ease,border-color .18s ease!important}
#buddypress .lec-brick-echappees .lec-echappees-card:hover{transform:translateY(-2px)!important;border-color:rgba(217,174,55,.42)!important}
#buddypress .lec-brick-echappees .lec-echappees-card-cover{position:relative!important;display:block!important;height:220px!important;min-height:220px!important;background:linear-gradient(145deg,rgba(246,227,154,.08),rgba(7,48,46,.72))!important;background-size:cover!important;background-position:center!important;text-decoration:none!important}
#buddypress .lec-brick-echappees .lec-echappees-card-cover.no-cover:before{content:"ÉCHAPPÉES";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(246,227,154,.18);font:700 26px/1 Goodtimes,Roboto,Arial,sans-serif;letter-spacing:.12em}
#buddypress .lec-brick-echappees .lec-echappees-activity,#buddypress .lec-brick-echappees .lec-echappees-draft{position:absolute!important;top:14px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:30px!important;padding:0 10px!important;border:1px solid rgba(246,227,154,.35)!important;border-radius:4px!important;background:rgba(7,48,46,.88)!important;color:#FFFFFF!important;font:700 9px/1 Roboto,Arial,sans-serif!important;backdrop-filter:blur(5px)}
#buddypress .lec-brick-echappees .lec-echappees-activity{left:14px!important}#buddypress .lec-brick-echappees .lec-echappees-draft{right:14px!important;color:#F6E39A!important}
#buddypress .lec-brick-echappees .lec-echappees-activity-icon{display:inline-flex!important;width:16px!important;height:16px!important;align-items:center!important;justify-content:center!important}.lec-echappees-activity-icon svg{width:16px!important;height:16px!important}
#buddypress .lec-brick-echappees .lec-echappees-cover-distance{position:absolute!important;left:16px!important;bottom:15px!important;color:#FFFFFF!important;font:600 10px/1 Roboto,Arial,sans-serif!important}.lec-echappees-cover-distance b{color:#F6E39A!important;font-size:24px!important;font-weight:700!important}
#buddypress .lec-brick-echappees .lec-echappees-card-body{display:block!important;padding:18px!important}
#buddypress .lec-brick-echappees .lec-echappees-card-place{margin-bottom:6px!important;color:#D9AE37!important;font:800 8px/1 Roboto,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.1em!important}
#buddypress .lec-brick-echappees .lec-echappees-card h3{margin:0 0 12px!important;font:700 18px/1.18 Roboto,Arial,sans-serif!important}.lec-brick-echappees .lec-echappees-card h3 a{color:#FFFFFF!important;text-decoration:none!important}
#buddypress .lec-brick-echappees .lec-echappees-card-facts{display:flex!important;gap:22px!important;margin:0 0 13px!important}.lec-echappees-card-facts span{display:flex!important;flex-direction:column!important;gap:3px!important}.lec-echappees-card-facts small{color:rgba(255,255,255,.40)!important;font:700 7px/1 Roboto,Arial,sans-serif!important;letter-spacing:.1em!important}.lec-echappees-card-facts b{color:#FFFFFF!important;font:600 10px/1.2 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-author{margin:0 0 16px!important;color:rgba(255,255,255,.48)!important;font:500 10px/1.4 Roboto,Arial,sans-serif!important}.lec-echappees-author strong{color:rgba(255,255,255,.76)!important;font-weight:600!important}
#buddypress .lec-brick-echappees .lec-echappees-card-actions{display:flex!important;align-items:center!important;gap:9px!important}.lec-echappees-card-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:0 13px!important;border-radius:4px!important;text-decoration:none!important;font:800 9px/1 Roboto,Arial,sans-serif!important}.lec-echappees-discover{border:0!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important}.lec-echappees-edit{border:1px solid rgba(217,174,55,.30)!important;background:transparent!important;color:#F6E39A!important}
#buddypress .lec-brick-echappees .lec-echappees-empty{grid-column:1/-1!important;padding:28px!important;border:1px dashed rgba(217,174,55,.28)!important;border-radius:8px!important;background:rgba(255,255,255,.02)!important}.lec-echappees-empty>span{color:#D9AE37!important;font:800 8px/1 Roboto,Arial,sans-serif!important;letter-spacing:.12em!important}.lec-echappees-empty h3{margin:7px 0!important;color:#FFFFFF!important;font:700 18px/1.2 Roboto,Arial,sans-serif!important}.lec-echappees-empty p{margin:0 0 15px!important;color:rgba(255,255,255,.58)!important;font-size:11px!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-hero-locked{align-items:stretch!important}.lec-echappees-gate-card{position:relative;z-index:1;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:9px!important;width:min(330px,100%)!important;padding:18px!important;border:1px solid rgba(217,174,55,.25)!important;border-radius:7px!important;background:rgba(7,48,46,.58)!important}.lec-echappees-gate-card>span{color:#D9AE37!important;font:800 8px/1 Roboto,Arial,sans-serif!important;letter-spacing:.12em!important}.lec-echappees-gate-card>strong{color:#FFFFFF!important;font:600 12px/1.45 Roboto,Arial,sans-serif!important}.lec-echappees-gate-action,.lec-echappees-native-join a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 14px!important;border:0!important;border-radius:5px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;font:800 9px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important}
@media(max-width:980px){#buddypress .lec-brick-echappees .lec-echappees-grid{grid-template-columns:1fr!important}}
@media(max-width:720px){#buddypress .lec-brick-echappees .lec-echappees-territory-hero{flex-direction:column!important;align-items:stretch!important;padding:20px!important}.lec-echappees-gate-card{width:100%!important}#buddypress .lec-brick-echappees .lec-echappees-catalog-head{align-items:flex-start!important;flex-direction:column!important;gap:7px!important}#buddypress .lec-brick-echappees .lec-echappees-create{width:100%!important}.lec-echappees-card-actions{flex-wrap:wrap!important}}
@media(max-width:430px){#buddypress .lec-brick-echappees .lec-echappees-territory-copy h2{font-size:21px!important}#buddypress .lec-brick-echappees .lec-echappees-card-cover{height:190px!important;min-height:190px!important}#buddypress .lec-brick-echappees .lec-echappees-card-body{padding:15px!important}.lec-echappees-card-actions a{flex:1 1 auto!important}}

/* ==========================================================
   v5.51 — ÉCHAPPÉES / continuité Design System
   ========================================================== */
#buddypress .lec-brick-echappees .lec-echappees-builder-host{margin-top:10px!important}
#buddypress .lec-brick-echappees .lec-echappees-builder-context{border-radius:7px!important}
#buddypress .lec-brick-echappees .lec-tool-back{min-height:38px!important;padding:0 13px!important;border-radius:5px!important;border:1px solid rgba(217,174,55,.32)!important;background:transparent!important;color:#F6E39A!important;font:800 9px/38px Roboto,Arial,sans-serif!important;text-decoration:none!important}
#buddypress .lec-brick-echappees .lec-tool-back:hover{background:rgba(217,174,55,.08)!important;border-color:rgba(217,174,55,.52)!important}

/* ==========================================================
   v5.52 — ÉCHAPPÉES : découverte territoriale + carte France
   ========================================================== */
#buddypress .lec-brick-echappees .lec-echappees-territory-copy h2{max-width:760px!important}
#buddypress .lec-brick-echappees .lec-echappees-card{overflow:hidden!important}
#buddypress .lec-brick-echappees .lec-echappees-activity{border-color:color-mix(in srgb,var(--ech-cat,#D9AE37) 70%,transparent)!important;box-shadow:inset 3px 0 0 var(--ech-cat,#D9AE37)!important}
#buddypress .lec-brick-echappees .lec-echappees-empty{padding:32px!important;background:linear-gradient(135deg,rgba(255,255,255,.025),rgba(217,174,55,.035))!important}
#buddypress .lec-brick-echappees .lec-echappees-empty h3{font-size:21px!important}
#buddypress .lec-brick-echappees .lec-echappees-france-map-section{margin-top:18px!important;padding:20px!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:8px!important;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(11,63,60,.22))!important}
#buddypress .lec-brick-echappees .lec-echappees-map-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:22px!important;margin-bottom:14px!important}
#buddypress .lec-brick-echappees .lec-echappees-map-head>div{max-width:700px!important}
#buddypress .lec-brick-echappees .lec-echappees-map-head span{display:block!important;margin-bottom:6px!important;color:#D9AE37!important;font:800 8px/1 Roboto,Arial,sans-serif!important;letter-spacing:.13em!important}
#buddypress .lec-brick-echappees .lec-echappees-map-head h3{margin:0 0 7px!important;color:#FFFFFF!important;font:700 21px/1.15 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-map-head p{margin:0!important;color:rgba(255,255,255,.62)!important;font:400 11px/1.55 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-map-head>strong{color:#F6E39A!important;font:700 11px/1.2 Roboto,Arial,sans-serif!important;white-space:nowrap!important}
#buddypress .lec-brick-echappees .lec-echappees-map-legend{display:flex!important;flex-wrap:wrap!important;gap:7px 13px!important;margin:0 0 13px!important}
#buddypress .lec-brick-echappees .lec-echappees-map-legend span{display:inline-flex!important;align-items:center!important;gap:6px!important;color:rgba(255,255,255,.68)!important;font:600 9px/1.2 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-echappees-map-legend i{width:8px!important;height:8px!important;border-radius:50%!important;box-shadow:0 0 0 2px rgba(255,255,255,.08)!important}
#buddypress #lec-echappees-france-map{height:520px!important;overflow:hidden!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:7px!important;background:#dce6de!important}
.lec-echappees-map-pin-wrap{background:transparent!important;border:0!important}.lec-echappees-map-pin{display:block;width:18px;height:18px;border:3px solid #FFFFFF;border-radius:50%;background:var(--pin,#D9AE37);box-shadow:0 3px 12px rgba(0,0,0,.28)}
.lec-echappees-map-popup{display:grid;grid-template-columns:88px 1fr;gap:10px;min-width:240px;color:#0B3F3C;font-family:Roboto,Arial,sans-serif}.lec-echappees-map-popup img{width:88px;height:88px;object-fit:cover;border-radius:5px}.lec-echappees-map-popup>div{display:flex;flex-direction:column;align-items:flex-start}.lec-echappees-map-popup span{color:#A9780B;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.lec-echappees-map-popup strong{margin:4px 0;color:#0B3F3C;font-size:13px;line-height:1.2}.lec-echappees-map-popup small{color:#64736F;font-size:9px}.lec-echappees-map-popup a{margin-top:auto;padding-top:7px;color:#0B3F3C!important;font-size:9px;font-weight:800;text-decoration:none!important}.leaflet-tooltip{font-family:Roboto,Arial,sans-serif!important;color:#0B3F3C!important}.leaflet-tooltip span{font-size:9px!important;color:#64736F!important}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background:rgba(217,174,55,.28)!important}.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background:#0B3F3C!important;color:#FFFFFF!important;font-family:Roboto,Arial,sans-serif!important}
@media(max-width:720px){#buddypress .lec-brick-echappees .lec-echappees-map-head{align-items:flex-start!important;flex-direction:column!important;gap:8px!important}#buddypress #lec-echappees-france-map{height:430px!important}.lec-echappees-map-popup{grid-template-columns:70px 1fr;min-width:210px}.lec-echappees-map-popup img{width:70px;height:70px}}

/* ==========================================================
   v5.53 — ÉCHAPPÉES FRANCE / explorateur cartographique premium
   ========================================================== */
#buddypress .lec-brick-echappees .lec-echappees-territory-hero{padding:28px 28px 25px!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-copy h2{max-width:900px!important;font-size:25px!important;line-height:1.12!important;letter-spacing:-.02em!important}
#buddypress .lec-brick-echappees .lec-echappees-territory-copy>p{max-width:900px!important;font-size:12px!important;line-height:1.68!important;color:rgba(255,255,255,.72)!important}
#buddypress .lec-brick-echappees .lec-echappees-hero-signature{display:flex!important;flex-wrap:wrap!important;gap:8px 18px!important;margin-top:15px!important}
#buddypress .lec-brick-echappees .lec-echappees-hero-signature strong{position:relative;color:#F6E39A!important;font:800 8px/1 Roboto,Arial,sans-serif!important;letter-spacing:.13em!important}.lec-echappees-hero-signature strong:not(:last-child):after{content:"";position:absolute;right:-11px;top:2px;width:3px;height:3px;border-radius:50%;background:#D9AE37}
#buddypress .lec-brick-echappees .lec-echappees-france-map-section{padding:24px!important;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(7,48,46,.25))!important}
#buddypress .lec-brick-echappees .lec-echappees-map-head{margin-bottom:18px!important}.lec-echappees-map-head h3{font-size:24px!important}.lec-echappees-map-head p{max-width:780px!important;font-size:11.5px!important;line-height:1.65!important}
#buddypress .lec-brick-echappees .lec-echappees-map-tools{display:flex!important;flex-direction:column!important;gap:11px!important;margin:0 0 14px!important}
#buddypress .lec-brick-echappees .lec-echappees-map-search{display:flex!important;align-items:center!important;width:100%!important;min-height:44px!important;padding:0 14px!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:6px!important;background:rgba(5,42,40,.58)!important;box-sizing:border-box!important}.lec-echappees-map-search>span{margin-right:9px;color:#D9AE37!important;font-size:20px!important}.lec-echappees-map-search input{width:100%!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#FFFFFF!important;font:500 11px/1 Roboto,Arial,sans-serif!important}.lec-echappees-map-search input::placeholder{color:rgba(255,255,255,.45)!important}
#buddypress .lec-brick-echappees .lec-echappees-map-filters{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:1px 0 4px!important;scrollbar-width:thin}.lec-echappees-map-filters button{display:inline-flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;min-height:32px!important;padding:0 11px!important;border:1px solid rgba(217,174,55,.20)!important;border-radius:5px!important;background:rgba(255,255,255,.025)!important;color:rgba(255,255,255,.70)!important;font:700 8px/1 Roboto,Arial,sans-serif!important;cursor:pointer!important}.lec-echappees-map-filters button i{width:7px!important;height:7px!important;border-radius:50%!important;background:var(--filter-color,#D9AE37)!important}.lec-echappees-map-filters button:hover,.lec-echappees-map-filters button.is-active{border-color:rgba(217,174,55,.52)!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important}.lec-echappees-map-filters button.is-active i{box-shadow:0 0 0 2px rgba(11,63,60,.18)!important}
#buddypress .lec-brick-echappees .lec-echappees-map-stage{position:relative!important;overflow:hidden!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:8px!important;box-shadow:0 18px 50px rgba(0,0,0,.13)!important}
#buddypress #lec-echappees-france-map{height:590px!important;border:0!important;border-radius:0!important}
#buddypress .lec-brick-echappees .lec-echappees-map-counter{position:absolute!important;z-index:500!important;left:14px!important;bottom:14px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:9px 12px!important;border:1px solid rgba(217,174,55,.28)!important;border-radius:6px!important;background:rgba(7,48,46,.92)!important;backdrop-filter:blur(10px)!important;box-shadow:0 8px 24px rgba(0,0,0,.18)!important}.lec-echappees-map-counter b{color:#F6E39A!important;font:800 15px/1 Roboto,Arial,sans-serif!important}.lec-echappees-map-counter span{color:#FFFFFF!important;font:600 8px/1 Roboto,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.08em!important}
.lec-echappees-map-pin-wrap{overflow:visible!important}.lec-echappees-map-pin{position:relative!important;display:block!important;width:28px!important;height:28px!important;border:3px solid #fff!important;border-radius:50% 50% 50% 7px!important;background:var(--pin,#D9AE37)!important;box-shadow:0 5px 16px rgba(0,0,0,.30)!important;transform:rotate(-45deg)!important;transition:transform .16s ease,box-shadow .16s ease!important}.lec-echappees-map-pin i{position:absolute!important;inset:7px!important;border-radius:50%!important;background:#0B3F3C!important;box-shadow:0 0 0 2px rgba(255,255,255,.32)!important}.lec-echappees-map-pin-wrap:hover .lec-echappees-map-pin{transform:rotate(-45deg) scale(1.14)!important;box-shadow:0 7px 20px rgba(0,0,0,.38)!important}
.leaflet-control-zoom{border:0!important;box-shadow:0 7px 20px rgba(0,0,0,.16)!important}.leaflet-control-zoom a{width:36px!important;height:36px!important;line-height:36px!important;border:0!important;border-bottom:1px solid rgba(217,174,55,.16)!important;background:#0B3F3C!important;color:#F6E39A!important;font:500 20px/36px Roboto,Arial,sans-serif!important}.leaflet-control-zoom a:hover{background:#11524e!important;color:#fff!important}
.lec-echappees-premium-popup .leaflet-popup-content-wrapper{padding:0!important;overflow:hidden!important;border:1px solid rgba(217,174,55,.22)!important;border-radius:9px!important;background:#FFFFFF!important;box-shadow:0 18px 50px rgba(0,0,0,.28)!important}.lec-echappees-premium-popup .leaflet-popup-content{width:310px!important;margin:0!important}.lec-echappees-premium-popup .leaflet-popup-tip{background:#FFFFFF!important}.lec-echappees-premium-popup .leaflet-popup-close-button{z-index:4!important;top:8px!important;right:8px!important;width:28px!important;height:28px!important;border-radius:50%!important;background:rgba(7,48,46,.88)!important;color:#fff!important;font-size:19px!important;line-height:26px!important;text-align:center!important}
.lec-map-card{overflow:hidden!important;background:#FFFFFF!important;color:#0B3F3C!important;font-family:Roboto,Arial,sans-serif!important}.lec-map-card-media{height:142px!important;background-position:center!important;background-size:cover!important}.lec-map-card-media.is-empty{display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#164f4c,#0B3F3C)!important}.lec-map-card-media.is-empty span{color:rgba(246,227,154,.34)!important;font:700 14px/1 Roboto,Arial,sans-serif!important;letter-spacing:.16em!important}.lec-map-card-content{display:flex!important;flex-direction:column!important;align-items:flex-start!important;padding:15px 16px 16px!important}.lec-map-card-category{padding-left:9px!important;border-left:3px solid var(--card-color,#D9AE37)!important;color:#A9780B!important;font:800 8px/1.2 Roboto,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.08em!important}.lec-map-card-content>strong{margin:7px 0 4px!important;color:#0B3F3C!important;font:800 16px/1.2 Roboto,Arial,sans-serif!important}.lec-map-card-content>small{color:#667672!important;font:500 10px/1.3 Roboto,Arial,sans-serif!important}.lec-map-card-content>a{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;box-sizing:border-box!important;margin-top:13px!important;padding:11px 12px!important;border-radius:5px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;font:800 9px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important}.lec-map-card-content>a b{font-size:15px!important}
.lec-echappees-premium-tooltip{padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important}.lec-echappees-premium-tooltip:before{border-top-color:#FFFFFF!important}.lec-echappees-premium-tooltip .lec-map-card.is-compact{display:grid!important;grid-template-columns:74px 1fr!important;width:235px!important;border-radius:7px!important;overflow:hidden!important;box-shadow:none!important}.lec-echappees-premium-tooltip .lec-map-card-media{height:74px!important}.lec-echappees-premium-tooltip .lec-map-card-content{justify-content:center!important;padding:9px 10px!important}.lec-echappees-premium-tooltip .lec-map-card-content>strong{margin:5px 0 3px!important;font-size:12px!important}.lec-echappees-premium-tooltip .lec-map-card-category{font-size:7px!important}.lec-echappees-premium-tooltip .lec-map-card-content>small{font-size:8px!important}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{border-radius:50%!important;background:rgba(246,227,154,.52)!important;box-shadow:0 5px 18px rgba(0,0,0,.22)!important}.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{display:flex!important;align-items:center!important;justify-content:center!important;margin:5px!important;width:30px!important;height:30px!important;border:2px solid #F6E39A!important;border-radius:50%!important;background:#0B3F3C!important;color:#FFFFFF!important;font:800 11px/1 Roboto,Arial,sans-serif!important}.marker-cluster span{line-height:1!important}
@media(max-width:720px){#buddypress .lec-brick-echappees .lec-echappees-territory-hero{padding:20px!important}#buddypress .lec-brick-echappees .lec-echappees-territory-copy h2{font-size:21px!important}#buddypress .lec-brick-echappees .lec-echappees-territory-copy>p{font-size:11px!important}#buddypress .lec-brick-echappees .lec-echappees-france-map-section{padding:14px!important}#buddypress #lec-echappees-france-map{height:510px!important}.lec-echappees-premium-tooltip{display:none!important}.lec-echappees-premium-popup .leaflet-popup-content{width:260px!important}.lec-map-card-media{height:118px!important}.lec-echappees-map-counter{left:9px!important;bottom:9px!important}}

/* ==========================================================
   v5.54 — ÉCHAPPÉES : hiérarchie d'actions / or maîtrisé
   L'or plein est réservé aux CTA majeurs.
   ========================================================== */
#buddypress .lec-brick-echappees .lec-echappees-map-filters button{
  border-color:rgba(255,255,255,.13)!important;
  background:rgba(255,255,255,.035)!important;
  color:rgba(255,255,255,.72)!important;
  box-shadow:none!important;
}
#buddypress .lec-brick-echappees .lec-echappees-map-filters button:hover{
  border-color:rgba(217,174,55,.28)!important;
  background:rgba(255,255,255,.075)!important;
  color:#FFFFFF!important;
}
#buddypress .lec-brick-echappees .lec-echappees-map-filters button.is-active{
  border-color:rgba(217,174,55,.42)!important;
  background:#11524e!important;
  color:#FFFFFF!important;
  box-shadow:inset 0 -2px 0 rgba(217,174,55,.72)!important;
}
#buddypress .lec-brick-echappees .lec-echappees-map-filters button.is-active i{
  box-shadow:0 0 0 2px rgba(255,255,255,.12)!important;
}
#buddypress .lec-brick-echappees .lec-echappees-map-search{
  border-color:rgba(255,255,255,.12)!important;
  background:rgba(5,42,40,.72)!important;
}
#buddypress .lec-brick-echappees .lec-echappees-map-search>span{color:rgba(246,227,154,.72)!important}
#buddypress .lec-brick-echappees .lec-echappees-map-counter{
  border-color:rgba(255,255,255,.14)!important;
}
#buddypress .lec-brick-echappees .lec-echappees-map-counter b{color:#FFFFFF!important}
.leaflet-control-zoom a{color:#FFFFFF!important;border-bottom-color:rgba(255,255,255,.10)!important}
.leaflet-control-zoom a:hover{background:#11524e!important;color:#F6E39A!important}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background:rgba(11,63,60,.22)!important}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{border-color:rgba(255,255,255,.72)!important}
#buddypress .lec-brick-echappees .lec-echappees-edit,
#buddypress .lec-brick-echappees .lec-tool-back{
  border-color:rgba(255,255,255,.18)!important;
  background:rgba(255,255,255,.025)!important;
  color:rgba(255,255,255,.78)!important;
}
#buddypress .lec-brick-echappees .lec-echappees-edit:hover,
#buddypress .lec-brick-echappees .lec-tool-back:hover{
  border-color:rgba(217,174,55,.32)!important;
  background:rgba(255,255,255,.065)!important;
  color:#FFFFFF!important;
}
/* CTA majeurs : l'or reste volontairement exclusif. */
#buddypress .lec-brick-echappees .lec-echappees-create,
#buddypress .lec-brick-echappees .lec-echappees-discover,
#buddypress .lec-brick-echappees .lec-echappees-gate-action,
#buddypress .lec-brick-echappees .lec-echappees-native-join a,
.lec-map-card-content>a{
  background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;
  color:#0B3F3C!important;
}

/* ==========================================================
   v5.55 — ÉCHAPPÉES / CONSTRUCTEUR : SOURCE VISUELLE UNIQUE
   Audit 18/09/2026. Ce bloc remplace visuellement les anciennes
   variantes du builder lorsqu'il est embarqué dans Community.
   L'or = actions finales uniquement.
   ========================================================== */
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-builder{
  --ech-green:#0B3F3C;--ech-green-2:#14534F;--ech-ivory:#FFFFFF;--ech-white:#FFFDF8;--ech-gold:#D9AE37;
  overflow:hidden!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:8px!important;background:var(--ech-ivory)!important;box-shadow:none!important
}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-builder-top{
  display:flex!important;align-items:center!important;gap:8px!important;padding:8px!important;background:#083936!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.10)!important
}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-tabs{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;flex:1!important;gap:4px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important
}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-tabs button{
  min-height:40px!important;margin:0!important;padding:0 10px!important;background:transparent!important;background-image:none!important;color:rgba(255,255,255,.68)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important;font:700 11px/1 Roboto,Arial,sans-serif!important
}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-tabs button:hover{background:rgba(255,255,255,.06)!important;color:#fff!important;border-color:rgba(217,174,55,.24)!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-tabs button.active{background:#14534F!important;background-image:none!important;color:#fff!important;border-color:rgba(217,174,55,.30)!important;box-shadow:inset 0 -2px 0 #D9AE37!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime #lee-save{
  min-height:40px!important;padding:0 18px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;border:0!important;border-radius:5px!important;box-shadow:none!important;font-weight:850!important
}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-builder-grid{display:grid!important;grid-template-columns:minmax(0,1.75fr) minmax(350px,.72fr)!important;align-items:stretch!important;background:var(--ech-ivory)!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-map-wrap{min-width:0!important;background:#dce6df!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor{min-width:0!important;padding:24px 22px 28px!important;background:var(--ech-white)!important;color:var(--ech-green)!important;border-left:1px solid rgba(11,63,60,.12)!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor h2,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor h3,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor label,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor strong{color:var(--ech-green)!important;text-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor p,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor small{color:#64736F!important;opacity:1!important;text-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor .lee-kicker{color:#A9780B!important;opacity:1!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-choice{margin:0 0 18px!important;padding:0 0 16px!important;background:transparent!important;border:0!important;border-bottom:1px solid rgba(11,63,60,.12)!important;border-radius:0!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid button,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-activity-grid button,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-category-grid button{
  background:#fff!important;background-image:none!important;color:var(--ech-green)!important;border:1px solid rgba(11,63,60,.17)!important;border-radius:6px!important;box-shadow:none!important;text-shadow:none!important
}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid button{min-height:76px!important;padding:13px!important;text-align:left!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid button b{color:var(--ech-green)!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid button small{color:#64736F!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid button.active,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-activity-grid button.active,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-category-grid button.active{background:var(--ech-green)!important;color:var(--ech-ivory)!important;border-color:var(--ech-green)!important;box-shadow:inset 3px 0 0 var(--ech-gold)!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid button.active b,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid button.active small,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-activity-grid button.active span{color:#fff!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-start-point-card{margin:16px 0!important;padding:16px!important;background:#F4F1E8!important;color:var(--ech-green)!important;border:1px solid rgba(11,63,60,.14)!important;border-left:3px solid var(--ech-gold)!important;border-radius:6px!important;box-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-start-point-card p{color:#64736F!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-start-point-badge{background:#E7EFEA!important;color:var(--ech-green)!important;border:1px solid rgba(11,63,60,.15)!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor input,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor select,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor textarea{background:#fff!important;color:var(--ech-green)!important;border:1px solid rgba(11,63,60,.20)!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor input::placeholder,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor textarea::placeholder{color:#8A9692!important;opacity:1!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-map-tools button,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-map-tools label{min-height:34px!important;padding:0 11px!important;background:#0B3F3C!important;background-image:none!important;color:#FFFFFF!important;border:1px solid rgba(255,255,255,.20)!important;border-radius:5px!important;box-shadow:0 4px 12px rgba(0,0,0,.08)!important;text-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime #lee-geocode-start{background:#0B3F3C!important;background-image:none!important;color:#FFFFFF!important;border:1px solid #0B3F3C!important;border-radius:5px!important;box-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime #lee-use-start-route,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime #lee-move-start{background:transparent!important;background-image:none!important;color:#0B3F3C!important;border:1px solid rgba(11,63,60,.26)!important;border-radius:5px!important;box-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-metrics>div,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-record-status{background:#EEF3ED!important;color:#0B3F3C!important;border:1px solid rgba(11,63,60,.12)!important;border-radius:5px!important;box-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-btn.gold:not(#lee-save):not(#lee-step-apply){background:#0B3F3C!important;background-image:none!important;color:#FFFFFF!important;border:1px solid #0B3F3C!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime #lee-step-apply,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime button[data-action="publish"]{background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;border:0!important;border-radius:5px!important}
@media(max-width:900px){html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-builder-grid{grid-template-columns:1fr!important}html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor{border-left:0!important;border-top:1px solid rgba(11,63,60,.12)!important}}
@media(max-width:620px){html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-builder-top{align-items:stretch!important;flex-direction:column!important}html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-tabs{overflow-x:auto!important;grid-template-columns:repeat(4,minmax(110px,1fr))!important}html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime #lee-save{width:100%!important}html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-kind-grid{grid-template-columns:1fr!important}}


/* ==========================================================
   v5.56 — ÉCHAPPÉES : assistant de création séquentiel
   Community ne redessine plus les contrôles métier ; il garantit
   seulement leur lisibilité dans le shell BuddyPress.
   ========================================================== */
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime #lee-save{display:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor{font-size:15px!important;line-height:1.55!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor h2{font-size:24px!important;line-height:1.18!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor p{font-size:14px!important;line-height:1.6!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor label{font-size:14px!important;font-weight:700!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor input,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor select,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-editor textarea{font-size:15px!important;min-height:44px!important;padding:10px 12px!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-step-next{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:24px -22px -28px!important;padding:16px 22px!important;background:#EEF3ED!important;border-top:1px solid rgba(11,63,60,.13)!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-step-next button,
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-final-save{background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;border:0!important;border-radius:5px!important;font-weight:850!important;box-shadow:none!important}
html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-final-save{width:100%!important;min-height:48px!important;margin:14px 0!important}
@media(max-width:820px){html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-step-next{margin:22px -15px -22px!important;align-items:stretch!important;flex-direction:column!important}html body.groups.single-item #buddypress #item-body #lec-echappees-community #lec-echappees-builder-runtime .lee-step-next button{width:100%!important}}

/* ==========================================================
   v5.59 — Échappées : lecture native dans le territoire
   ========================================================== */
body.groups.single-item #buddypress #item-body .lec-brick-echappees-view{padding:0!important;background:transparent!important}
body.groups.single-item #buddypress #item-body .lec-echappees-view-context{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:0 0 12px!important;padding:12px 14px!important;border:1px solid rgba(217,174,55,.25)!important;border-left:3px solid #D9AE37!important;border-radius:7px!important;background:rgba(255,255,255,.025)!important}
body.groups.single-item #buddypress #item-body .lec-echappees-view-context>div{display:grid!important;gap:3px!important}
body.groups.single-item #buddypress #item-body .lec-echappees-view-context span{color:#D9AE37!important;font:800 8px/1.2 Roboto,Arial,sans-serif!important;letter-spacing:.12em!important}
body.groups.single-item #buddypress #item-body .lec-echappees-view-context strong{color:#FFFFFF!important;font:650 12px/1.35 Roboto,Arial,sans-serif!important}
body.groups.single-item #buddypress #item-body .lec-echappees-native-view{overflow:hidden!important;border:1px solid rgba(217,174,55,.18)!important;border-radius:8px!important;background:#FFFFFF!important}
body.groups.single-item #buddypress #item-body .lec-echappees-native-view .lee-place-public{max-width:none!important;margin:0!important;padding:16px!important}
body.groups.single-item #buddypress #item-body .lec-echappees-native-view .lee-place-hero{min-height:260px!important}
body.groups.single-item #buddypress #item-body .lec-echappees-native-view .lee-place-hero h1{font-size:clamp(34px,4.5vw,52px)!important}
body.groups.single-item #buddypress #item-body .lec-echappees-native-view .lee-place-content{grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr)!important}
body.groups.single-item #buddypress #item-body .lec-echappees-native-view #lee-place-map{height:360px!important}
@media(max-width:820px){body.groups.single-item #buddypress #item-body .lec-echappees-view-context{align-items:stretch!important;flex-direction:column!important}body.groups.single-item #buddypress #item-body .lec-echappees-view-context .lec-tool-back{width:100%!important;box-sizing:border-box!important}body.groups.single-item #buddypress #item-body .lec-echappees-native-view .lee-place-public{padding:10px!important}body.groups.single-item #buddypress #item-body .lec-echappees-native-view .lee-place-content{grid-template-columns:1fr!important}}

/* ==========================================================
   v5.61 — ÉCHAPPÉES FRANCE : explorateur cartographique
   Carte immersive + panneau latéral façon application.
   ========================================================== */
#buddypress .lec-brick-echappees .lec-echappees-national>.lec-echappees-territory-hero,
#buddypress .lec-brick-echappees .lec-echappees-national>.lec-echappees-grid{display:none!important}
#buddypress .lec-brick-echappees .lec-echappees-national{margin:0!important}
#buddypress .lec-brick-echappees .lec-echappees-france-explorer{
  position:relative!important;width:100vw!important;max-width:none!important;height:min(760px,calc(100vh - 170px))!important;min-height:640px!important;
  margin:0 0 18px calc(50% - 50vw)!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#eef3f1!important;box-shadow:none!important
}
#buddypress .lec-brick-echappees .lec-france-map-canvas{position:absolute!important;inset:0!important;z-index:1!important}
#buddypress .lec-brick-echappees .lec-france-map-canvas #lec-echappees-france-map{width:100%!important;height:100%!important;min-height:0!important;background:#e8efec!important}
#buddypress .lec-brick-echappees .lec-france-map-panel{
  position:absolute!important;z-index:700!important;top:18px!important;bottom:18px!important;left:max(18px,calc((100vw - 1320px)/2))!important;width:390px!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid rgba(11,63,60,.12)!important;border-radius:12px!important;background:#FFFFFF!important;
  box-shadow:0 18px 55px rgba(4,39,37,.20)!important;transition:transform .28s ease,opacity .2s ease!important;font-family:Roboto,Arial,sans-serif!important
}
#buddypress .lec-brick-echappees .lec-france-map-panel-top{position:relative!important;padding:24px 52px 18px 22px!important;border-bottom:1px solid #e8eeec!important;background:#FFFFFF!important}
#buddypress .lec-brick-echappees .lec-france-map-brand>span{display:block!important;margin-bottom:7px!important;color:#A9780B!important;font:800 8px/1 Roboto,Arial,sans-serif!important;letter-spacing:.14em!important}
#buddypress .lec-brick-echappees .lec-france-map-brand h3{margin:0 0 8px!important;color:#0B3F3C!important;font:800 25px/1.08 Roboto,Arial,sans-serif!important;letter-spacing:-.025em!important}
#buddypress .lec-brick-echappees .lec-france-map-brand p{margin:0!important;color:#5f716d!important;font:500 11px/1.55 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-france-panel-toggle{position:absolute!important;top:18px!important;right:14px!important;width:34px!important;height:34px!important;padding:0!important;border:1px solid #dfe7e4!important;border-radius:7px!important;background:#f7f9f8!important;color:#0B3F3C!important;font:500 24px/30px Roboto,Arial,sans-serif!important;cursor:pointer!important}
#buddypress .lec-brick-echappees .lec-france-map-panel>.lec-echappees-map-search{flex:0 0 auto!important;width:auto!important;min-height:46px!important;margin:14px 14px 8px!important;padding:0 13px!important;border:1px solid #d7e1de!important;border-radius:8px!important;background:#FFFFFF!important;box-shadow:0 2px 8px rgba(11,63,60,.05)!important}
#buddypress .lec-brick-echappees .lec-france-map-panel>.lec-echappees-map-search>span{color:#0B3F3C!important;font-size:20px!important}
#buddypress .lec-brick-echappees .lec-france-map-panel>.lec-echappees-map-search input{color:#0B3F3C!important;font-size:12px!important;font-weight:500!important}
#buddypress .lec-brick-echappees .lec-france-map-panel>.lec-echappees-map-search input::placeholder{color:#7f918d!important}
#buddypress .lec-brick-echappees .lec-france-map-quick-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:0 14px 13px!important;border-bottom:1px solid #e8eeec!important}
#buddypress .lec-brick-echappees .lec-france-map-quick-actions button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:38px!important;padding:0 10px!important;border:1px solid #dce5e2!important;border-radius:7px!important;background:#f7f9f8!important;color:#0B3F3C!important;font:700 9px/1 Roboto,Arial,sans-serif!important;cursor:pointer!important}
#buddypress .lec-brick-echappees .lec-france-map-quick-actions button:hover{border-color:rgba(217,174,55,.55)!important;background:#fffdf6!important}.lec-france-map-quick-actions button.is-loading{opacity:.55!important;pointer-events:none!important}
#buddypress .lec-brick-echappees .lec-france-map-section-label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:13px 14px 8px!important}
#buddypress .lec-brick-echappees .lec-france-map-section-label>span{color:#0B3F3C!important;font:800 8px/1 Roboto,Arial,sans-serif!important;letter-spacing:.11em!important}.lec-france-visible-count{color:#7b8c88!important;font:600 9px/1 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-france-map-panel .lec-echappees-map-filters{display:flex!important;gap:6px!important;overflow-x:auto!important;flex:0 0 auto!important;padding:0 14px 12px!important;scrollbar-width:none!important}.lec-france-map-panel .lec-echappees-map-filters::-webkit-scrollbar{display:none!important}
#buddypress .lec-brick-echappees .lec-france-map-panel .lec-echappees-map-filters button{min-height:31px!important;padding:0 10px!important;border:1px solid #dce5e2!important;border-radius:16px!important;background:#FFFFFF!important;color:#50635f!important;font:700 8px/1 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-france-map-panel .lec-echappees-map-filters button:hover{border-color:#bdccc8!important;background:#f7f9f8!important;color:#0B3F3C!important}
#buddypress .lec-brick-echappees .lec-france-map-panel .lec-echappees-map-filters button.is-active{border-color:#0B3F3C!important;background:#0B3F3C!important;color:#FFFFFF!important;box-shadow:none!important}.lec-france-map-panel .lec-echappees-map-filters button.is-active i{box-shadow:0 0 0 2px rgba(255,255,255,.35)!important}
#buddypress .lec-brick-echappees .lec-france-map-results-head{display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:10px!important;padding:0 14px 8px!important}.lec-france-map-results-head strong{color:#0B3F3C!important;font:800 12px/1 Roboto,Arial,sans-serif!important}.lec-france-map-results-head span{color:#82928e!important;font:500 8px/1 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-france-map-results{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:0 8px 10px 14px!important;scrollbar-width:thin!important;scrollbar-color:#cbd7d3 transparent!important}
#buddypress .lec-brick-echappees .lec-france-result{display:grid!important;grid-template-columns:64px minmax(0,1fr) 18px!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:76px!important;margin:0 0 7px!important;padding:7px!important;border:1px solid #e2e9e7!important;border-radius:9px!important;background:#FFFFFF!important;text-align:left!important;cursor:pointer!important;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease!important}
#buddypress .lec-brick-echappees .lec-france-result:hover{transform:translateY(-1px)!important;border-color:#c7d4d0!important;box-shadow:0 7px 18px rgba(11,63,60,.08)!important}.lec-france-result-img{display:block!important;width:64px!important;height:60px!important;border-radius:7px!important;background-size:cover!important;background-position:center!important}.lec-france-result-img.is-empty{background:linear-gradient(145deg,#e8efec,#dce8e4)!important}
#buddypress .lec-brick-echappees .lec-france-result-copy{display:flex!important;flex-direction:column!important;min-width:0!important}.lec-france-result-copy small{position:relative!important;padding-left:9px!important;color:#A9780B!important;font:800 7px/1.2 Roboto,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.06em!important}.lec-france-result-copy small:before{content:"";position:absolute;left:0;top:1px;width:3px;height:9px;border-radius:2px;background:var(--result-color,#D9AE37)!important}.lec-france-result-copy strong{overflow:hidden!important;margin:5px 0 4px!important;color:#0B3F3C!important;font:800 12px/1.2 Roboto,Arial,sans-serif!important;text-overflow:ellipsis!important;white-space:nowrap!important}.lec-france-result-copy em{overflow:hidden!important;color:#71837f!important;font:500 8px/1.2 Roboto,Arial,sans-serif!important;font-style:normal!important;text-overflow:ellipsis!important;white-space:nowrap!important}.lec-france-result-arrow{color:#0B3F3C!important;font-size:20px!important;font-weight:300!important}
#buddypress .lec-brick-echappees .lec-france-no-result{padding:20px 10px!important;text-align:center!important}.lec-france-no-result strong{display:block!important;color:#0B3F3C!important;font:800 12px/1.3 Roboto,Arial,sans-serif!important}.lec-france-no-result span{display:block!important;margin-top:6px!important;color:#778985!important;font:500 9px/1.4 Roboto,Arial,sans-serif!important}
#buddypress .lec-brick-echappees .lec-france-map-panel-footer{flex:0 0 auto!important;padding:12px 14px 14px!important;border-top:1px solid #e8eeec!important;background:#fbfcfc!important}.lec-france-map-panel-footer a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;border-radius:7px!important;background:linear-gradient(100deg,#F6E39A 0%,#D9AE37 55%,#A9780B 100%)!important;color:#0B3F3C!important;font:850 9px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important}.lec-france-map-panel-footer small{display:block!important;margin-top:7px!important;color:#83938f!important;font:500 8px/1.35 Roboto,Arial,sans-serif!important;text-align:center!important}
#buddypress .lec-brick-echappees .lec-france-panel-reopen{position:absolute!important;z-index:710!important;top:24px!important;left:max(18px,calc((100vw - 1320px)/2))!important;display:flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:0 15px!important;border:1px solid rgba(11,63,60,.12)!important;border-radius:8px!important;background:#FFFFFF!important;color:#0B3F3C!important;box-shadow:0 10px 30px rgba(4,39,37,.18)!important;font:800 9px/1 Roboto,Arial,sans-serif!important;opacity:0!important;pointer-events:none!important;transform:translateX(-12px)!important;transition:.22s ease!important}.lec-france-panel-reopen span{font-size:18px!important}.lec-echappees-france-explorer.is-panel-closed .lec-france-map-panel{transform:translateX(calc(-100% - 40px))!important;opacity:0!important;pointer-events:none!important}.lec-echappees-france-explorer.is-panel-closed .lec-france-panel-reopen{opacity:1!important;pointer-events:auto!important;transform:none!important}
#buddypress .lec-brick-echappees .lec-echappees-france-explorer>.lec-echappees-map-counter{left:auto!important;right:18px!important;bottom:18px!important;border:0!important;border-radius:8px!important;background:#FFFFFF!important;box-shadow:0 8px 26px rgba(4,39,37,.18)!important}.lec-echappees-france-explorer>.lec-echappees-map-counter b{color:#0B3F3C!important}.lec-echappees-france-explorer>.lec-echappees-map-counter span{color:#61736f!important}
#buddypress .lec-brick-echappees .lec-echappees-france-explorer .leaflet-control-zoom a{background:#FFFFFF!important;color:#0B3F3C!important;border-bottom:1px solid #e3e9e7!important}.lec-echappees-france-explorer .leaflet-control-zoom a:hover{background:#f6f8f7!important;color:#0B3F3C!important}.lec-echappees-france-explorer .leaflet-control-attribution{background:rgba(255,255,255,.86)!important;color:#61736f!important}
@media(max-width:900px){#buddypress .lec-brick-echappees .lec-echappees-france-explorer{height:720px!important;min-height:620px!important}.lec-france-map-panel{left:12px!important;top:12px!important;bottom:12px!important;width:min(370px,calc(100vw - 24px))!important}.lec-france-panel-reopen{left:12px!important}.lec-echappees-france-explorer>.lec-echappees-map-counter{right:12px!important;bottom:12px!important}}
@media(max-width:620px){#buddypress .lec-brick-echappees .lec-echappees-france-explorer{height:calc(100vh - 118px)!important;min-height:610px!important;margin-left:calc(50% - 50vw)!important}.lec-france-map-panel{top:auto!important;left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;height:64%!important;border-radius:12px!important}.lec-france-map-panel-top{padding:17px 48px 12px 16px!important}.lec-france-map-brand h3{font-size:21px!important}.lec-france-map-brand p{font-size:10px!important}.lec-france-map-panel>.lec-echappees-map-search{margin:10px 10px 7px!important}.lec-france-map-quick-actions{padding:0 10px 10px!important}.lec-france-map-section-label{padding:10px 10px 7px!important}.lec-france-map-panel .lec-echappees-map-filters{padding:0 10px 9px!important}.lec-france-map-results-head{padding:0 10px 7px!important}.lec-france-map-results{padding:0 5px 8px 10px!important}.lec-france-map-panel-footer{padding:9px 10px 10px!important}.lec-france-panel-reopen{top:auto!important;left:10px!important;bottom:12px!important}.lec-echappees-france-explorer>.lec-echappees-map-counter{top:10px!important;right:10px!important;bottom:auto!important}.lec-echappees-premium-tooltip{display:none!important}}

/* v5.62 — France / Échappées : l'interface cartographique possède sa propre navigation. */
body.groups.single-item.lef-echappees-france-app #buddypress #item-header,
body.groups.single-item.lef-echappees-france-app #buddypress #object-nav,
body.groups.single-item.lef-echappees-france-app #buddypress nav#object-nav,
body.groups.single-item.lef-echappees-france-app #buddypress .main-navs#object-nav,
body.groups.single-item.lef-echappees-france-app #buddypress .item-list-tabs#object-nav,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-structural-hide{display:none!important;margin:0!important;padding:0!important;height:0!important;min-height:0!important;border:0!important;overflow:hidden!important}

/* ==========================================================
   v5.63 — FRANCE / ÉCHAPPÉES : scène cartographique finale
   La carte remonte sous le bandeau promotionnel ; le header du
   site reste visible en transparence au-dessus de la carte.
   ========================================================== */
@media (min-width:901px){
 body.groups.single-item.lef-echappees-france-app #buddypress,
 body.groups.single-item.lef-echappees-france-app #buddypress #item-body,
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-brick-echappees,
 body.groups.single-item.lef-echappees-france-app #buddypress #lec-echappees-community,
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-echappees-community,
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-echappees-national{
   margin-top:0!important;padding-top:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-echappees-france-explorer{
   height:calc(100vh - 82px + 54px)!important;min-height:700px!important;
   margin-top:-150px!important;margin-bottom:-54px!important;
   overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel{
   top:98px!important;bottom:86px!important;
   left:max(20px,calc((100vw - 1080px)/2))!important;
   width:470px!important;
   border:1px solid rgba(11,63,60,.13)!important;border-radius:10px!important;
   box-shadow:0 20px 54px rgba(4,39,37,.22)!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-reopen{
   top:108px!important;left:max(20px,calc((100vw - 1080px)/2))!important;
 }
}

/* Le dock Community flotte dans les 2/3 bas de la carte. */
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock{
 position:absolute!important;z-index:720!important;left:calc(50% - 4px)!important;right:28px!important;bottom:28px!important;
 min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;pointer-events:none!important;
}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock-scroll{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;min-width:0!important;width:max-content!important;max-width:100%!important;
 padding:7px!important;border:1px solid rgba(246,227,154,.20)!important;border-radius:9px!important;
 background:rgba(7,48,46,.90)!important;box-shadow:0 14px 34px rgba(3,31,29,.25)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
 pointer-events:auto!important;overflow-x:auto!important;scrollbar-width:none!important;
}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock-scroll::-webkit-scrollbar{display:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock a{
 display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:0 12px!important;border:1px solid transparent!important;border-radius:6px!important;
 background:transparent!important;background-image:none!important;color:rgba(255,255,255,.82)!important;font:700 10px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;
}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock a.is-active{border-color:rgba(217,174,55,.42)!important;background:rgba(217,174,55,.10)!important;color:#F6E39A!important}

/* Panneau : blanc, vert et gris. L'or n'est plus une surface d'action. */
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-actions{background:#fff!important;border-bottom:1px solid #e5ece9!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-actions button,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-actions a,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-quick-actions button{
 background:#fff!important;background-image:none!important;color:#0B3F3C!important;border:1px solid #d9e3e0!important;box-shadow:none!important;text-shadow:none!important;
}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-actions button:hover,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-actions a:hover,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-quick-actions button:hover{background:#f2f6f5!important;border-color:#b8c9c4!important;color:#0B3F3C!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-actions button.is-active{background:#0B3F3C!important;color:#fff!important;border-color:#0B3F3C!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel-footer a{
 background:#0B3F3C!important;background-image:none!important;color:#fff!important;border:1px solid #0B3F3C!important;box-shadow:none!important;
}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel-footer a:hover{background:#14534F!important;color:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result{background:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result:hover{border-color:#9eb5af!important;box-shadow:0 7px 18px rgba(11,63,60,.08)!important}

/* Les crédits cartographiques restent présents (obligation OSM), mais deviennent discrets. */
body.groups.single-item.lef-echappees-france-app #buddypress .lec-echappees-france-explorer .leaflet-control-attribution{
 margin:0 8px 8px 0!important;padding:2px 5px!important;border-radius:3px!important;background:rgba(255,255,255,.78)!important;color:#526864!important;font-size:8px!important;line-height:1.2!important;
}

/* Nettoyage des cadres hérités autour de l'application France. */
body.groups.single-item.lef-echappees-france-app #buddypress #item-body,
body.groups.single-item.lef-echappees-france-app #buddypress #item-body>.bp-profile-content,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-brick-echappees,
body.groups.single-item.lef-echappees-france-app #buddypress #lec-echappees-community{
 outline:0!important;border-color:transparent!important;border-radius:0!important;box-shadow:none!important;
}

/* Création / lecture : hiérarchie lisible, l'or devient accent et non couleur par défaut. */
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-builder-top,
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-tabs{background:#fff!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-tabs button{background:#fff!important;background-image:none!important;color:#49605b!important;border-color:#dbe5e2!important;font-size:13px!important;font-weight:750!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-tabs button.active{background:#0B3F3C!important;color:#fff!important;border-color:#0B3F3C!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-btn.gold:not(#lee-save):not(#lee-step-apply),
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-geocode-search,
body.groups.single-item #buddypress #lec-echappees-builder-runtime button.lee-gold{background:#0B3F3C!important;background-image:none!important;color:#fff!important;border-color:#0B3F3C!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime #lee-save,
body.groups.single-item #buddypress #lec-echappees-builder-runtime #lee-step-apply,
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-final-save{background:#0B3F3C!important;background-image:none!important;color:#fff!important;border:1px solid #0B3F3C!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-step-next{background:#f3f6f5!important;border-color:#d9e3e0!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-step-next button{background:#0B3F3C!important;background-image:none!important;color:#fff!important;border:1px solid #0B3F3C!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime label,
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-side p,
body.groups.single-item #buddypress #lec-echappees-builder-runtime .lee-panel p{font-size:13px!important;line-height:1.55!important}
body.groups.single-item #buddypress #lec-echappees-builder-runtime input,
body.groups.single-item #buddypress #lec-echappees-builder-runtime select,
body.groups.single-item #buddypress #lec-echappees-builder-runtime textarea{font-size:14px!important;line-height:1.4!important}

@media(max-width:900px){
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock{left:12px!important;right:12px!important;bottom:12px!important}
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock-scroll{width:100%!important;max-width:100%!important}
}

/* ==========================================================
   v5.64 — FRANCE / ÉCHAPPÉES : calage desktop au pixel
   Carte -50px, panneau aligné sur l'axe gauche Community,
   dock Community sur toute la largeur restante.
   ========================================================== */
@media (min-width:901px){
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-echappees-france-explorer{
   margin-top:-200px!important;
   height:calc(100vh - 82px + 104px)!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel{
   left:max(18px,calc((100vw - 1320px)/2))!important;
   top:148px!important;
   bottom:86px!important;
   width:470px!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-reopen{
   left:max(18px,calc((100vw - 1320px)/2))!important;
   top:158px!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock{
   left:max(506px,calc((100vw - 1320px)/2 + 488px))!important;
   right:max(18px,calc((100vw - 1320px)/2))!important;
   bottom:18px!important;
   width:auto!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock-scroll{
   width:100%!important;
   max-width:none!important;
   min-height:58px!important;
   padding:5px 7px!important;
   gap:2px!important;
   border:1px solid rgba(217,174,55,.28)!important;
   border-radius:8px!important;
   background:rgba(11,63,60,.94)!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock a{
   flex:1 1 0!important;
   min-width:max-content!important;
   min-height:48px!important;
   padding:0 12px!important;
   border-radius:5px!important;
   color:rgba(255,255,255,.88)!important;
   font:700 12px/1 Roboto,Arial,sans-serif!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock a.is-active{
   border-color:rgba(217,174,55,.38)!important;
   background:rgba(217,174,55,.10)!important;
   color:#F6E39A!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-echappees-map-counter{bottom:86px!important}
 body.groups.single-item.lef-echappees-france-app #buddypress .leaflet-bottom.leaflet-right{bottom:78px!important}
}

/* ==========================================================
   v5.65 — FRANCE / ÉCHAPPÉES : alignement sur la ligne footer
   - panneau plus bas et étendu vers la gauche
   - bas du panneau aligné sur le dock Community
   - dock étendu jusqu'à l'axe droit du footer
   ========================================================== */
@media (min-width:901px){
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel{
   left:max(12px,calc((100vw - 1320px)/2 - 60px))!important;
   top:172px!important;
   bottom:18px!important;
   width:530px!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-reopen{
   left:max(12px,calc((100vw - 1320px)/2 - 60px))!important;
   top:182px!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock{
   left:max(506px,calc((100vw - 1320px)/2 + 488px))!important;
   right:max(12px,calc((100vw - 1320px)/2 - 55px))!important;
   bottom:18px!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-echappees-map-counter{bottom:86px!important}
 body.groups.single-item.lef-echappees-france-app #buddypress .leaflet-bottom.leaflet-right{bottom:78px!important}
}

/* ==========================================================
   v5.66 — FRANCE / ÉCHAPPÉES : extension axe footer
   - panneau gagne 60px uniquement vers la gauche
   - sa jonction droite reste inchangée
   - dock Community gagne 65px vers la droite
   ========================================================== */
@media (min-width:901px){
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel{
   left:max(8px,calc((100vw - 1320px)/2 - 120px))!important;
   width:590px!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-panel-reopen{
   left:max(8px,calc((100vw - 1320px)/2 - 120px))!important;
 }
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-community-dock{
   right:max(8px,calc((100vw - 1320px)/2 - 120px))!important;
 }
}


/* ==========================================================
   v5.67 — FRANCE / ÉCHAPPÉES : explorateur territorial
   Géométrie v5.66 strictement conservée. Refonte uniquement
   de l'intérieur du panneau : blanc / vert / or d'accent.
   ========================================================== */
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel{
  background:#fff!important;color:#0B3F3C!important;overflow:hidden!important;
}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel-top{
  flex:0 0 auto!important;padding:22px 54px 17px 20px!important;background:#fff!important;border-bottom:1px solid #E3EAE8!important;
}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-brand span{display:block!important;margin-bottom:6px!important;color:#A9780B!important;font:850 9px/1 Roboto,Arial,sans-serif!important;letter-spacing:.08em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-brand h3{margin:0 0 6px!important;color:#0B3F3C!important;font:800 24px/1.08 Roboto,Arial,sans-serif!important;letter-spacing:-.025em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-brand p{max-width:420px!important;margin:0!important;color:#61736F!important;font:500 11px/1.45 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-mode-tabs{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:0!important;padding:0 14px!important;background:#fff!important;border-bottom:1px solid #E3EAE8!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-mode-tabs button,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-mode-tabs a{min-height:46px!important;padding:0 8px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:#fff!important;color:#637570!important;font:750 11px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-mode-tabs button:hover,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-mode-tabs a:hover{background:#fff!important;color:#0B3F3C!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-mode-tabs .is-active{background:#fff!important;color:#0B3F3C!important;border-bottom-color:#D9AE37!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-explore-view{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important;background:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-explore-view[hidden],
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-place-view[hidden]{display:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-explore-view>.lec-echappees-map-search{display:flex!important;align-items:center!important;gap:9px!important;flex:0 0 auto!important;min-height:48px!important;margin:14px 14px 8px!important;padding:0 14px!important;border:1px solid #CBD8D4!important;border-radius:7px!important;background:#fff!important;box-shadow:0 3px 12px rgba(11,63,60,.06)!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-explore-view>.lec-echappees-map-search>span{color:#0B3F3C!important;font-size:19px!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-explore-view>.lec-echappees-map-search input{width:100%!important;height:44px!important;padding:0!important;border:0!important;background:transparent!important;color:#0B3F3C!important;font:500 13px/1 Roboto,Arial,sans-serif!important;box-shadow:none!important;outline:0!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-quick-actions{display:grid!important;grid-template-columns:1.15fr 1.15fr .7fr!important;gap:6px!important;padding:0 14px 12px!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-quick-actions button{min-height:36px!important;padding:0 8px!important;border:1px solid #D7E1DE!important;border-radius:6px!important;background:#fff!important;color:#0B3F3C!important;font:700 9px/1 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-quick-actions button:hover,
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-quick-actions button.is-active{border-color:#0B3F3C!important;background:#EDF3F1!important;color:#0B3F3C!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-section-label{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:9px 14px 8px!important;border-top:1px solid #EEF2F1!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-section-label span{color:#0B3F3C!important;font:850 9px/1 Roboto,Arial,sans-serif!important;letter-spacing:.07em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-section-label b{color:#82918D!important;font:600 9px/1 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel .lec-echappees-map-filters{display:flex!important;gap:6px!important;overflow-x:auto!important;flex:0 0 auto!important;padding:0 14px 11px!important;scrollbar-width:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel .lec-echappees-map-filters button{display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:31px!important;padding:0 11px!important;border:1px solid #DCE5E2!important;border-radius:16px!important;background:#fff!important;color:#526762!important;font:700 9px/1 Roboto,Arial,sans-serif!important;white-space:nowrap!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel .lec-echappees-map-filters button i{width:6px!important;height:6px!important;border-radius:50%!important;background:var(--filter-color,#D9AE37)!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel .lec-echappees-map-filters button.is-active{border-color:#0B3F3C!important;background:#0B3F3C!important;color:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-results-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;padding:3px 14px 8px!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-results-head strong{color:#0B3F3C!important;font:800 13px/1 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-results-head span{color:#879590!important;font:500 8px/1.2 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-results{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:0 7px 10px 14px!important;scrollbar-width:thin!important;scrollbar-color:#C8D5D1 transparent!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result{display:grid!important;grid-template-columns:86px minmax(0,1fr) 20px!important;gap:11px!important;align-items:center!important;width:100%!important;min-height:92px!important;margin:0 0 7px!important;padding:7px!important;border:1px solid #E0E7E5!important;border-radius:7px!important;background:#fff!important;color:#0B3F3C!important;text-align:left!important;box-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result:hover{border-color:#A9BCB7!important;background:#FAFCFB!important;box-shadow:0 7px 18px rgba(11,63,60,.07)!important;transform:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-img{display:flex!important;align-items:center!important;justify-content:center!important;width:86px!important;height:76px!important;border-radius:5px!important;background-size:cover!important;background-position:center!important;background-color:#EAF0EE!important;overflow:hidden!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-img.is-empty b{color:#91A39E!important;font:900 14px/1 Roboto,Arial,sans-serif!important;letter-spacing:.08em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-copy{display:flex!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-copy small{color:#A9780B!important;font:800 8px/1 Roboto,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-copy strong{overflow:hidden!important;color:#0B3F3C!important;font:800 14px/1.18 Roboto,Arial,sans-serif!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-rating{display:block!important;color:#6E817C!important;font:600 9px/1.2 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-rating i{font-style:normal!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-copy em{overflow:hidden!important;color:#73847F!important;font:500 9px/1.25 Roboto,Arial,sans-serif!important;font-style:normal!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-result-arrow{color:#0B3F3C!important;font-size:19px!important;opacity:.55!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel-footer{flex:0 0 auto!important;padding:10px 14px 12px!important;border-top:1px solid #E5ECE9!important;background:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel-footer a{min-height:40px!important;border-radius:6px!important;background:#0B3F3C!important;color:#fff!important;font:800 10px/1 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-panel-footer small{margin-top:6px!important;color:#8A9894!important;font:500 8px/1.3 Roboto,Arial,sans-serif!important}
/* fiche latérale : lecture sans quitter la carte */
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-place-view{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important;overflow:hidden!important;background:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-place-back{flex:0 0 auto!important;min-height:42px!important;padding:0 16px!important;border:0!important;border-bottom:1px solid #E5ECE9!important;background:#fff!important;color:#0B3F3C!important;font:750 10px/1 Roboto,Arial,sans-serif!important;text-align:left!important;box-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-place-sheet{overflow-y:auto!important;flex:1 1 auto!important;min-height:0!important;background:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-hero{height:190px!important;background-size:cover!important;background-position:center!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-hero.is-empty{display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#E9F0EE,#F7F9F8)!important;color:#8EA09B!important;font:850 11px/1 Roboto,Arial,sans-serif!important;letter-spacing:.1em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-sheet-body{padding:18px!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-category{display:block!important;margin-bottom:7px!important;color:#A9780B!important;font:850 9px/1 Roboto,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.06em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-sheet-body h2{margin:0 0 8px!important;color:#0B3F3C!important;font:850 25px/1.08 Roboto,Arial,sans-serif!important;letter-spacing:-.025em!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-rating{display:flex!important;align-items:center!important;gap:5px!important;margin-bottom:8px!important;color:#6A7C77!important;font:600 10px/1.2 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-rating .stars{color:#D9AE37!important;font-size:16px!important;letter-spacing:1px!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-rating b{color:#0B3F3C!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-location{margin:0 0 14px!important;color:#60736E!important;font:500 11px/1.45 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin:0 0 18px!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:0 11px!important;border:1px solid #C9D6D2!important;border-radius:6px!important;background:#fff!important;color:#0B3F3C!important;font:750 9px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-actions a.primary{border-color:#0B3F3C!important;background:#0B3F3C!important;color:#fff!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-sheet-body section{padding-top:15px!important;border-top:1px solid #E5ECE9!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-sheet-body section h3{margin:0 0 7px!important;color:#0B3F3C!important;font:800 13px/1.2 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-sheet-body section p{margin:0!important;color:#566B66!important;font:500 11px/1.55 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-place-territory{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:16px!important;padding:12px 0!important;border-top:1px solid #E5ECE9!important;color:#0B3F3C!important;font:750 10px/1.2 Roboto,Arial,sans-serif!important;text-decoration:none!important}
/* bouton Maps : n'apparaît qu'après déplacement de la carte */
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-search-area{position:absolute!important;z-index:725!important;top:178px!important;left:calc(50% + 120px)!important;transform:translateX(-50%)!important;min-height:38px!important;padding:0 15px!important;border:1px solid rgba(11,63,60,.18)!important;border-radius:20px!important;background:#fff!important;color:#0B3F3C!important;box-shadow:0 7px 22px rgba(4,39,37,.18)!important;font:750 10px/1 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-search-area[hidden]{display:none!important}
/* popups carte : même langage que le panneau */
body.groups.single-item.lef-echappees-france-app #buddypress .lec-map-card-content button{margin-top:7px!important;padding:0!important;border:0!important;background:transparent!important;color:#0B3F3C!important;font:800 10px/1.2 Roboto,Arial,sans-serif!important;text-align:left!important;box-shadow:none!important}
@media(max-width:900px){
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-search-area{top:18px!important;left:50%!important}
 body.groups.single-item.lef-echappees-france-app #buddypress .lec-france-map-brand h3{font-size:21px!important}
}

/* ==========================================================
   v5.68 — EXPLORATEUR TERRITORIAL : passe de clôture
   Géométrie France v5.66/v5.67 INCHANGÉE.
   Suppression des aplats or parasites + vraie lecture Maps.
   ========================================================== */
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-panel{background:#fff!important;color:#0B3F3C!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-panel-top{display:flex!important;min-height:92px!important;padding:18px 54px 14px 18px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e5ece9!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-brand{display:block!important;opacity:1!important;visibility:visible!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-brand span{color:#A9780B!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-brand h3{display:block!important;margin:0 0 5px!important;color:#0B3F3C!important;font-size:21px!important;font-weight:850!important;line-height:1.08!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-brand p{display:block!important;color:#657671!important;font-size:10px!important;line-height:1.4!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-panel-toggle{background:#0B3F3C!important;background-image:none!important;color:#fff!important;border:0!important;border-radius:5px!important;box-shadow:none!important}

body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-mode-tabs{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;padding:0 14px!important;background:#fff!important;border-bottom:1px solid #E4EBE9!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-mode-tabs button,
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-mode-tabs a{display:flex!important;align-items:center!important;justify-content:center!important;min-height:43px!important;background:#fff!important;background-image:none!important;color:#61736E!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;font:750 10px/1 Roboto,Arial,sans-serif!important;box-shadow:none!important;text-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-mode-tabs .is-active{background:#fff!important;color:#0B3F3C!important;border-bottom-color:#D9AE37!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-mode-tabs a[data-lec-mode="create"]{color:#0B3F3C!important}

body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-quick-actions button{background:#fff!important;background-image:none!important;color:#0B3F3C!important;border:1px solid #D6E0DD!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-quick-actions button:hover,
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-quick-actions button.is-active{background:#EAF1EF!important;color:#0B3F3C!important;border-color:#8EA8A1!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-echappees-map-filters button{background:#fff!important;background-image:none!important;color:#526762!important;border:1px solid #DCE5E2!important;border-radius:16px!important;box-shadow:none!important;text-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-echappees-map-filters button.is-active{background:#0B3F3C!important;color:#fff!important;border-color:#0B3F3C!important}

body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-result{background:#fff!important;background-image:none!important;border:1px solid #E0E8E5!important;border-left:3px solid transparent!important;border-radius:6px!important;color:#0B3F3C!important;box-shadow:none!important;text-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-result:hover{background:#F8FBFA!important;border-color:#C4D3CF!important;border-left-color:#D9AE37!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-result-copy small{color:#A9780B!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-mini-stars{margin-right:4px!important;color:#D9AE37!important;font-size:12px!important;letter-spacing:.5px!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-result-rating i{color:#6F817C!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-panel-footer a{background:#0B3F3C!important;background-image:none!important;color:#fff!important;border:0!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-panel-footer a:hover{background:#14534F!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-search-area{background:rgba(11,63,60,.94)!important;background-image:none!important;color:#fff!important;border:1px solid rgba(255,255,255,.6)!important;border-radius:19px!important;box-shadow:0 8px 24px rgba(4,39,37,.22)!important;text-shadow:none!important}

/* fiche détaillée dans le panneau */
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-hero{position:relative!important;height:205px!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-photo-badge{position:absolute!important;left:12px!important;bottom:12px!important;padding:6px 9px!important;background:rgba(11,63,60,.88)!important;color:#fff!important;border-radius:4px!important;font:700 8px/1 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-rating{display:grid!important;grid-template-columns:auto auto 1fr!important;align-items:center!important;gap:6px!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-rating small{color:#7C8D88!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-actions-main{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-actions-main a,
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-actions-main button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;padding:0 9px!important;background:#fff!important;background-image:none!important;color:#0B3F3C!important;border:1px solid #CBD8D4!important;border-radius:5px!important;font:750 9px/1 Roboto,Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important;text-shadow:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-actions-main .primary{background:#0B3F3C!important;color:#fff!important;border-color:#0B3F3C!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-info-section{margin-top:15px!important;padding-top:15px!important;border-top:1px solid #E5ECE9!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-info-list{display:grid!important;gap:0!important;border:1px solid #E4EAE8!important;border-radius:6px!important;overflow:hidden!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-info-list>div{display:grid!important;grid-template-columns:95px 1fr!important;gap:10px!important;padding:10px 11px!important;background:#fff!important;border-bottom:1px solid #EDF1F0!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-info-list>div:last-child{border-bottom:0!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-info-list span{color:#7B8B87!important;font:700 9px/1.3 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-info-list a{color:#0B3F3C!important;font:750 10px/1.3 Roboto,Arial,sans-serif!important;text-decoration:none!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-hours{white-space:pre-line!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-review-preview{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;align-items:center!important;margin-top:16px!important;padding:14px!important;background:#F5F8F7!important;border:1px solid #E1E8E6!important;border-radius:7px!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-review-preview h3{margin:0 0 4px!important;color:#0B3F3C!important;font:800 13px/1.2 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-review-preview>div>span{color:#73847F!important;font:500 9px/1.35 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-review-score{text-align:right!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-review-score b{display:block!important;color:#0B3F3C!important;font:850 22px/1 Roboto,Arial,sans-serif!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-review-score span{color:#D9AE37!important;font-size:13px!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-review-preview button{grid-column:1/-1!important;min-height:36px!important;background:#fff!important;color:#899793!important;border:1px solid #D8E1DE!important;border-radius:5px!important;font:700 9px/1 Roboto,Arial,sans-serif!important;box-shadow:none!important;opacity:1!important}
body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-full{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:14px!important;padding:12px!important;background:#0B3F3C!important;color:#fff!important;border-radius:5px!important;font:800 10px/1.2 Roboto,Arial,sans-serif!important;text-decoration:none!important}

@media(max-width:620px){
 body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-panel-top{min-height:auto!important;padding:15px 48px 12px 14px!important}
 body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-france-map-brand h3{font-size:18px!important}
 body.groups.single-item.lef-echappees-france-app #buddypress [data-france-explorer] .lec-place-actions-main{grid-template-columns:1fr 1fr!important}
}

/* ==========================================================
   v5.69.5 — NAVIGATION GROUPES : vocabulaire + fiabilité
   Le forum historique reste en base mais n'est plus présenté dans les menus.
   ========================================================== */
body.groups.single-item #buddypress #item-nav li#forum-groups-li,
body.groups.single-item #buddypress #object-nav li#forum-groups-li,
body.groups.single-item #buddypress nav#object-nav li#forum-groups-li,
body.groups.single-item #buddypress .lec-france-community-dock-scroll li#forum-groups-li {
    display:none!important;
}

/* Empêche qu'un ancien libellé Forum/Discussions réapparaisse pendant un
   rafraîchissement AJAX avant normalisation JS. */
body.groups.single-item #buddypress #item-nav li[aria-hidden="true"],
body.groups.single-item #buddypress #object-nav li[aria-hidden="true"] {
    display:none!important;
}

/* ==========================================================
   v5.70.1 — Connexion : texte saisi toujours visible
   ==========================================================
   Certains formulaires de connexion héritent de la couleur blanche
   de l'univers Community alors que leurs champs restent blancs.
   On cible uniquement les champs d'authentification WordPress/BuddyPress.
*/
#loginform input[type="text"],
#loginform input[type="email"],
#loginform input[type="password"],
.login-username input,
.login-password input,
form input#user_login,
form input#user_pass,
form input[name="log"],
form input[name="pwd"] {
  color:#123b34!important;
  -webkit-text-fill-color:#123b34!important;
  caret-color:#123b34!important;
  background:#fff!important;
  opacity:1!important;
}
#loginform input::placeholder,
.login-username input::placeholder,
.login-password input::placeholder,
form input#user_login::placeholder,
form input#user_pass::placeholder {
  color:rgba(18,59,52,.52)!important;
  -webkit-text-fill-color:rgba(18,59,52,.52)!important;
  opacity:1!important;
}
#loginform input:-webkit-autofill,
#loginform input:-webkit-autofill:hover,
#loginform input:-webkit-autofill:focus,
.login-username input:-webkit-autofill,
.login-password input:-webkit-autofill,
form input#user_login:-webkit-autofill,
form input#user_pass:-webkit-autofill {
  -webkit-text-fill-color:#123b34!important;
  caret-color:#123b34!important;
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
}

/* v5.71 — Le fil d'actualité devient un vrai espace de discussion. */
.lec571-discussion-intro{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:12px 14px;border:1px solid rgba(11,63,60,.16);background:linear-gradient(135deg,rgba(11,63,60,.07),rgba(217,174,55,.08));font-family:Roboto,Arial,sans-serif}
.lec571-discussion-intro strong{font-family:Goodtimes,Roboto,Arial,sans-serif;color:#0B3F3C;font-size:13px;letter-spacing:.035em}.lec571-discussion-intro span{font-size:13px;color:#49635f}
.lec571-discussion-composer{margin:0 0 18px;padding:14px;border:1px solid rgba(11,63,60,.18);background:#fff;box-shadow:0 10px 28px rgba(11,63,60,.07)}
.lec571-discussion-composer textarea{box-sizing:border-box;width:100%;min-height:86px;resize:vertical;border:1px solid rgba(11,63,60,.2);padding:12px 13px;font:14px/1.5 Roboto,Arial,sans-serif;color:#173c37;background:#fff;outline:none}
.lec571-discussion-composer textarea:focus{border-color:#0B3F3C;box-shadow:0 0 0 2px rgba(11,63,60,.08)}
.lec571-discussion-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.lec571-discussion-actions small{color:#68817d;font:12px Roboto,Arial,sans-serif}.lec571-discussion-actions button{border:0;border-radius:0;padding:10px 18px;font-weight:800;cursor:pointer;color:#17352f;background:linear-gradient(135deg,#d9ae37,#f0d77d)}
.lec571-salon-badge{display:inline-flex!important;align-items:center;gap:5px;margin-left:7px;padding:3px 7px!important;border:1px solid rgba(217,174,55,.35);background:rgba(217,174,55,.11);color:#715811!important;font-size:10px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em}
@media(max-width:680px){.lec571-discussion-intro{align-items:flex-start;flex-direction:column;gap:3px}.lec571-discussion-actions{align-items:flex-end}.lec571-discussion-actions small{max-width:60%}}


/* ==========================================================
   v5.72 — Appels Bonjour depuis la messagerie Community
   ========================================================== */
.lec45-chat-tools .lec45-audio,
.lec45-chat-tools .lec45-video{
  position:relative!important;
  border-color:rgba(246,227,154,.30)!important;
  color:#fff!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease!important;
}
.lec45-chat-tools .lec45-audio:hover,
.lec45-chat-tools .lec45-video:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(217,174,55,.72)!important;
  background:rgba(217,174,55,.12)!important;
}
.lec572-incoming-call{
  position:fixed;z-index:999999;right:18px;bottom:18px;
  width:min(420px,calc(100vw - 28px));
  display:grid;grid-template-columns:48px minmax(0,1fr) auto;
  gap:12px;align-items:center;
  padding:14px;
  border:1px solid rgba(217,174,55,.52);
  border-radius:14px;
  background:linear-gradient(120deg,#0B3F3C,#062F2D);
  color:#fff;
  box-shadow:0 24px 70px rgba(0,0,0,.45);
  animation:lec572CallIn .24s ease-out both;
}
.lec572-call-icon{
  display:grid;place-items:center;width:46px;height:46px;
  border:1px solid rgba(246,227,154,.35);border-radius:50%;
  background:rgba(217,174,55,.10);color:#F6E39A;font-size:20px;
}
.lec572-call-copy{min-width:0;display:grid;gap:3px}
.lec572-call-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#fff}
.lec572-call-copy span{font-size:10.5px;color:rgba(255,255,255,.62)}
.lec572-call-actions{display:flex;gap:6px}
.lec572-call-actions button{
  min-height:34px!important;margin:0!important;padding:0 12px!important;
  border-radius:7px!important;font-size:10.5px!important;font-weight:800!important;
}
.lec572-call-actions .accept{
  border:1px solid #D9AE37!important;background:linear-gradient(100deg,#F6E39A,#D9AE37)!important;color:#0B3F3C!important;
}
.lec572-call-actions .decline{
  border:1px solid rgba(255,255,255,.20)!important;background:rgba(255,255,255,.055)!important;color:#fff!important;
}
@keyframes lec572CallIn{
  from{opacity:0;transform:translateY(14px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media (max-width:680px){
  .lec572-incoming-call{
    left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));
    width:auto;grid-template-columns:42px minmax(0,1fr);padding:12px;
  }
  .lec572-call-icon{width:40px;height:40px}
  .lec572-call-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .lec572-call-actions button{min-height:40px!important}
}
@media (prefers-reduced-motion:reduce){.lec572-incoming-call{animation:none}}


/* ==========================================================================\n   v5.74 — VISITE GUIDÉE COMMUNITY · RESPONSIVE + PERSONNALISÉE\n   ========================================================================== */
.lec573-tour-root{position:fixed;inset:0;z-index:2147482000;pointer-events:none;font-family:Roboto,Arial,sans-serif}.lec573-tour-root[hidden]{display:none!important}.lec573-tour-shade{position:absolute;inset:0;background:rgba(1,13,12,.84);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);pointer-events:auto}.lec573-tour-spot{position:fixed;border:2px solid rgba(246,227,154,.98);border-radius:14px;box-shadow:0 0 0 9999px rgba(1,13,12,.82),0 0 0 6px rgba(217,174,55,.10),0 0 42px rgba(217,174,55,.42);pointer-events:none;transition:left .24s ease,top .24s ease,width .24s ease,height .24s ease;animation:lec573Halo 1.8s ease-in-out infinite}.lec573-tour-card{position:fixed;box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:min(80vh,720px);overflow:auto;padding:34px 34px 25px;border:1px solid rgba(217,174,55,.5);border-radius:17px;background:linear-gradient(145deg,rgba(17,74,68,.99),rgba(6,42,39,.995));box-shadow:0 28px 92px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.055);color:#fff;pointer-events:auto;transform-origin:center;animation:lec573CardIn .28s cubic-bezier(.2,.8,.2,1)}.lec573-tour-card.is-centered{left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 40px))!important;text-align:left;padding:42px 44px 32px}.lec573-tour-progress{height:4px;margin:-4px 0 24px;background:rgba(255,255,255,.08);overflow:hidden;border-radius:99px}.lec573-tour-progress span{display:block;height:100%;background:linear-gradient(90deg,#F6E39A,#D9AE37,#A9780B);transition:width .28s ease}.lec573-tour-kicker{margin-bottom:9px;color:#E3B94A;font-size:11px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.lec573-tour-card h2{margin:0 0 15px!important;color:#fff!important;font-family:Goodtimes,Roboto,Arial,sans-serif!important;font-size:clamp(24px,2vw,31px)!important;line-height:1.18!important;letter-spacing:.01em!important}.lec573-tour-root.tone-welcome .lec573-tour-card h2{font-size:clamp(32px,3.2vw,48px)!important;color:#F6E39A!important;line-height:1.05!important}.lec573-tour-body{color:rgba(255,255,255,.91);font-size:16px;line-height:1.68}.lec573-tour-note{margin-top:18px;padding:15px 17px;border-left:3px solid #D9AE37;background:rgba(217,174,55,.09);color:#F6E39A;font-size:13px;line-height:1.6}.lec573-tour-foot{display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:center;margin-top:25px;padding-top:18px;border-top:1px solid rgba(255,255,255,.10)}.lec573-tour-count{text-align:center;color:rgba(255,255,255,.52);font-size:11px;font-weight:700;letter-spacing:.08em}.lec573-tour-nav{display:flex;gap:9px}.lec573-tour-card button{appearance:none;border:1px solid rgba(255,255,255,.19);border-radius:8px;background:rgba(255,255,255,.06);color:#fff;min-height:42px;padding:0 16px;font:800 11px/1 Roboto,Arial,sans-serif;letter-spacing:.035em;cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease}.lec573-tour-card button:hover{transform:translateY(-1px);border-color:rgba(246,227,154,.52);background:rgba(255,255,255,.10)}.lec573-tour-card .lec573-tour-next{border:0;background:linear-gradient(100deg,#F6E39A,#D9AE37 58%,#A9780B);color:#0B3F3C;box-shadow:0 7px 20px rgba(0,0,0,.20)}.lec573-tour-card .lec573-tour-skip{border-color:transparent;background:transparent;color:rgba(255,255,255,.62);padding-left:0}.lec573-tour-card button:disabled{opacity:.28;pointer-events:none}.lec573-tour-arrow{position:absolute;width:17px;height:17px;background:#0E4A45;border-left:1px solid rgba(217,174,55,.46);border-top:1px solid rgba(217,174,55,.46);transform:rotate(45deg)}.lec573-tour-card.is-centered .lec573-tour-arrow{display:none}.lec573-tour-card[data-placement="bottom"] .lec573-tour-arrow{top:-9px;transform:rotate(45deg)}.lec573-tour-card[data-placement="top"] .lec573-tour-arrow{bottom:-9px;transform:rotate(225deg)}.lec573-tour-card[data-placement="right"] .lec573-tour-arrow{left:-9px;transform:rotate(-45deg)}.lec573-tour-card[data-placement="left"] .lec573-tour-arrow{right:-9px;transform:rotate(135deg)}.lec573-tour-root.tone-soon .lec573-tour-card{border-color:rgba(246,227,154,.70);background:linear-gradient(145deg,#123F3A,#092E2B)}.lec573-tour-root.tone-soon .lec573-tour-kicker:after{content:'  ·  EN COURS';color:#F6E39A}.lec573-tour-root.tone-finish .lec573-tour-card,.lec573-tour-root.tone-welcome .lec573-tour-card{background:radial-gradient(circle at 82% 4%,rgba(217,174,55,.14),transparent 38%),linear-gradient(145deg,#114E48,#062E2B)}
/* Bouton visite : immédiatement à droite de la bulle Messagerie (22 + 46 + 10). */
.lec573-tour-launch{position:fixed;left:78px;bottom:25px;z-index:2147481000;display:flex;align-items:center;gap:0;min-width:40px;height:40px;padding:0;border:1px solid rgba(217,174,55,.45);border-radius:999px;background:#0B3F3C;color:#F6E39A;box-shadow:0 9px 26px rgba(0,0,0,.20);overflow:hidden;cursor:pointer;transition:width .22s ease,background .2s ease,transform .2s ease}.lec573-tour-launch span{display:grid;place-items:center;width:40px;min-width:40px;height:40px;font-size:17px;font-weight:900}.lec573-tour-launch strong{max-width:0;opacity:0;white-space:nowrap;font:800 10px/1 Roboto,Arial,sans-serif;letter-spacing:.04em;transition:max-width .22s ease,opacity .18s ease,padding .22s ease}.lec573-tour-launch:hover,.lec573-tour-launch:focus-visible{background:#0E514B;transform:translateY(-1px)}.lec573-tour-launch:hover strong,.lec573-tour-launch:focus-visible strong{max-width:120px;opacity:1;padding-right:14px}.lec573-tour-open .lec573-tour-launch{opacity:0;pointer-events:none}.lec573-tour-launch-pulse{animation:lec573LaunchPulse 1.4s ease}.lec573-tour-open{overflow:visible!important}
@keyframes lec573Halo{0%,100%{filter:brightness(1)}50%{filter:brightness(1.14)}}@keyframes lec573CardIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes lec573LaunchPulse{0%,100%{box-shadow:0 9px 26px rgba(0,0,0,.20)}50%{box-shadow:0 0 0 8px rgba(217,174,55,.16),0 9px 26px rgba(0,0,0,.20)}}
@media(min-width:701px) and (max-width:1100px){.lec573-tour-card{width:min(520px,calc(100vw - 28px));max-height:78vh;padding:30px 30px 22px}.lec573-tour-card.is-centered{width:min(620px,calc(100vw - 34px))!important;padding:36px 36px 28px}.lec573-tour-card h2{font-size:25px!important}.lec573-tour-root.tone-welcome .lec573-tour-card h2{font-size:38px!important}.lec573-tour-body{font-size:15.5px}.lec573-tour-note{font-size:12.5px}}
@media(max-width:700px){.lec573-tour-card{width:calc(100vw - 18px)!important;max-height:72vh;padding:24px 21px 18px;border-radius:14px}.lec573-tour-card.is-centered{width:calc(100vw - 20px)!important;max-height:78vh;padding:28px 23px 21px}.lec573-tour-card h2{font-size:22px!important}.lec573-tour-root.tone-welcome .lec573-tour-card h2{font-size:32px!important}.lec573-tour-body{font-size:15px;line-height:1.62}.lec573-tour-note{font-size:12.5px;line-height:1.55}.lec573-tour-foot{grid-template-columns:1fr auto;gap:10px;margin-top:20px}.lec573-tour-count{display:none}.lec573-tour-skip{grid-column:1;justify-self:start}.lec573-tour-nav{grid-column:2}.lec573-tour-card button{min-height:40px;padding:0 13px}.lec573-tour-launch{left:68px;bottom:15px}.lec573-tour-card[data-placement="left"],.lec573-tour-card[data-placement="right"]{left:9px!important}.lec573-tour-arrow{display:none!important}}
@media(max-width:390px){.lec573-tour-card{padding:21px 17px 16px}.lec573-tour-card.is-centered{padding:24px 18px 18px}.lec573-tour-card h2{font-size:20px!important}.lec573-tour-root.tone-welcome .lec573-tour-card h2{font-size:29px!important}.lec573-tour-body{font-size:14.5px}.lec573-tour-nav{gap:6px}.lec573-tour-card button{padding:0 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.lec573-tour-spot,.lec573-tour-card,.lec573-tour-progress span,.lec573-tour-launch,.lec573-tour-launch strong{animation:none!important;transition:none!important}}
