/* EspaceLibertin 2.99.18 — only public homepage. No member UI changes. */
.el-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;clip-path:inset(50%)}
.gl-portal-home .el-public-mobile,.gl-portal-home .el-public-spicy{max-width:1180px;margin:22px auto;padding:22px 28px;border-radius:22px;box-sizing:border-box;}
.gl-portal-home .el-public-mobile{background:linear-gradient(110deg,rgba(39,22,35,.97),rgba(30,19,30,.98));border:1px solid rgba(241,81,157,.48);display:flex;align-items:center;justify-content:space-between;gap:22px}
.gl-portal-home .el-public-mobile-copy h2{font-size:clamp(1.2rem,2vw,1.55rem);font-weight:700;margin:6px 0;color:#f8e3ee}
.gl-portal-home .el-public-mobile-copy p{margin:3px 0;color:#d8c5d0;line-height:1.5}
.gl-portal-home .el-public-kicker{color:#e2bd78;font-size:.81rem;font-weight:700;letter-spacing:.04em}
.gl-portal-home .el-public-mobile-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.gl-portal-home .el-device-install{position:relative;min-width:134px;max-width:245px;border:1px solid #b34a80;background:#211520;border-radius:14px;box-shadow:0 0 13px rgba(230,45,133,.1);color:#fff}
.gl-portal-home .el-device-install summary{list-style:none;cursor:pointer;padding:12px 16px;font-weight:700;text-align:center;white-space:nowrap}
.gl-portal-home .el-device-install summary::-webkit-details-marker{display:none}
.gl-portal-home .el-device-install summary span{font-size:1.25rem;margin-right:6px}
.gl-portal-home .el-device-install[open]{border-color:#ed4c9a}
.gl-portal-home .el-device-install p{margin:0;padding:0 14px 13px;font-size:.82rem;line-height:1.5;color:#dfd2dc}
.gl-portal-home .el-public-spicy{display:flex;align-items:center;gap:22px;position:relative;overflow:hidden;background:radial-gradient(circle at 11% 22%,rgba(222,37,118,.36),transparent 40%),linear-gradient(120deg,#23111f,#100e16);border:1px solid rgba(235,55,145,.7);box-shadow:0 11px 36px rgba(0,0,0,.27)}
.gl-portal-home .el-public-spicy-mark{font-size:clamp(48px,6vw,88px);filter:drop-shadow(0 0 12px #d83276);flex:0 0 100px;text-align:center}
.gl-portal-home .el-public-spicy-body{flex:1;min-width:0}
.gl-portal-home .el-public-spicy h2{font-size:clamp(1.45rem,2.7vw,2.2rem);color:#fa4b9e;margin:5px 0 10px;font-weight:800}
.gl-portal-home .el-public-spicy h2 span{color:#f0ce8d;font-size:.8em}
.gl-portal-home .el-public-spicy p{font-size:1rem;line-height:1.5;color:#f0dce8;max-width:780px;margin:0 0 12px}
.gl-portal-home .el-public-spicy-points{display:flex;flex-wrap:wrap;gap:8px 18px;padding:0;margin:0 0 16px;list-style:none}
.gl-portal-home .el-public-spicy-points li{color:#f0c9df;font-size:.87rem}
.gl-portal-home .el-public-spicy-points li::before{content:'✓ ';color:#eac775;font-weight:800}
.gl-portal-home .el-public-spicy-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.gl-portal-home .el-spicy-cta{display:inline-flex;align-items:center;gap:12px;text-decoration:none;border-radius:999px;background:linear-gradient(90deg,#be1268,#f12e93);box-shadow:0 3px 13px rgba(224,36,134,.3);padding:12px 20px;color:white;font-weight:800}
.gl-portal-home .el-spicy-cta:hover{background:#fc429f;color:white}
.gl-portal-home .el-public-spicy-note{font-size:.79rem;color:#c9bbc5;max-width:360px}
.spicy-empty-guide{margin:12px 0;padding:12px 16px;border-radius:12px;border:1px solid rgba(228,73,150,.34);background:#2b1b28}
.spicy-empty-guide p{margin:6px 0 0}
@media(max-width:760px){.gl-portal-home .el-public-mobile,.gl-portal-home .el-public-spicy{margin:14px 10px;padding:17px 16px;border-radius:18px}.gl-portal-home .el-public-mobile{flex-direction:column;align-items:stretch}.gl-portal-home .el-public-mobile-actions{justify-content:stretch}.gl-portal-home .el-device-install{flex:1;min-width:0}.gl-portal-home .el-public-spicy{gap:10px;align-items:flex-start}.gl-portal-home .el-public-spicy-mark{font-size:34px;flex:0 0 36px}.gl-portal-home .el-public-spicy-points{gap:5px 11px}.gl-portal-home .el-public-spicy h2{line-height:1.22}.gl-portal-home .el-public-spicy p{font-size:.92rem}}
@media(max-width:360px){.gl-portal-home .el-public-spicy-mark{display:none}.gl-portal-home .el-device-install summary{padding:11px 8px;font-size:.9rem}}

/* Version 2.99.21 : boutons d’installation et APK uniquement si administrateur a déposé un fichier */
.gl-portal-home .el-mobile-apk{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;min-height:50px;min-width:145px;box-sizing:border-box;border:1px solid #d955a1;border-radius:14px;background:#251725;color:#fff!important;text-decoration:none;font-weight:750;box-shadow:0 0 15px #e82b8930}
.gl-portal-home .el-mobile-apk small{font-size:.67rem;display:block;font-weight:500;opacity:.83}.gl-portal-home .el-mobile-apk span:last-child{line-height:1.3}
.gl-portal-home .el-brand-android{display:inline-block;width:16px;height:16px;border-radius:7px 7px 4px 4px;background:#8cdb81;color:transparent;position:relative;margin-right:6px;vertical-align:middle}
.gl-portal-home .el-brand-android:before,.gl-portal-home .el-brand-android:after{content:'';position:absolute;width:3px;height:3px;top:5px;border-radius:50%;background:#13281b}.gl-portal-home .el-brand-android:before{left:4px}.gl-portal-home .el-brand-android:after{right:4px}
.gl-portal-home .el-brand-apple{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:5px;background:#e8e8e8;color:#171717;font-size:12px;margin-right:6px;vertical-align:middle}
.gl-portal-home .el-brand-apple:after{content:'i';font-style:italic;font-weight:900}.gl-portal-home .el-brand-apple{font-size:0}

/* Rendu glamour de l'accueil uniquement en l'absence de bannière personnalisée dans l'administration. */
@media(min-width:760px){
 .gl-portal-home.el-guest-nohero .hero{min-height:305px;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(10,3,12,.04) 0%,rgba(10,3,12,.25) 42%,rgba(14,5,14,.96) 62%,#110811 100%),url('/assets/guest-hero-29921.webp') left center/auto 100% no-repeat,#140b14;border:1px solid #903966;box-shadow:0 16px 36px #0008;border-radius:22px;padding:26px 30px 26px min(44%,490px)}
 .gl-portal-home.el-guest-nohero .hero .herotext{max-width:650px;margin-left:auto}
 .gl-portal-home.el-guest-nohero .hero h1{color:#f8e0b8;font-size:clamp(1.5rem,2.5vw,2.4rem);text-shadow:0 2px 15px #000}
 .gl-portal-home.el-guest-nohero .hero .lede{color:#ffe8f3}
}
@media(max-width:759px){.gl-portal-home.el-guest-nohero .hero{background:linear-gradient(140deg,#49132f,#170d1a)!important;border:1px solid #883361!important;border-radius:17px!important;padding:18px 15px!important}}
