/* Espace Libertin 2.85.0 — focused completion, no global permission changes. */
/* Public event colors: fully controlled through Administration > Paramètres > Général > Couleurs des boutons. */
body.glamour281 .gl-events-284 .gl-event-public-create,
body.glamour281 .gl-events-284 .gl-event-public .gl-rsvp-public button[name="choice"][value="going"],
body.glamour281 .gl-events-284 .gl-event-public .gl-rsvp-public button[name="choice"][value="maybe"],
body.glamour281 .gl-events-284 .fcard.gl-event-public .gl-rsvp-public button[name="choice"][value="going"],
body.glamour281 .gl-event-public .rsvp button[name="choice"][value="going"],
body.glamour281 .gl-event-public .rsvp button[name="choice"][value="maybe"],
body.glamour281 .gl-feed-extras .gl-event-public-join {
 background:var(--gl-event-public-btn,#ef188b)!important;
 color:var(--gl-event-public-text,#ffffff)!important;
 border-color:transparent!important;
 box-shadow:0 8px 20px color-mix(in srgb,var(--gl-event-public-btn,#ef188b) 24%,transparent)!important;
}
/* Do not recolor cancellation or private event actions. */
body.glamour281 .gl-membercard .gl-member-actions{display:flex;gap:5px;align-items:stretch;padding:8px;background:#100a14;border-top:1px solid #6d284a}
body.glamour281 .gl-membercard .gl-member-actions form{flex:1;min-width:0;margin:0}
body.glamour281 .gl-membercard .gl-member-actions button,
body.glamour281 .gl-membercard .gl-member-actions .gl-member-open{display:flex;align-items:center;justify-content:center;gap:5px;min-height:38px;border-radius:9px;font-size:12px;font-weight:700}
body.glamour281 .gl-membercard .gl-member-actions button{width:100%;background:linear-gradient(120deg,#e90b75,#a2055d);color:white;border:1px solid #ed298e}
body.glamour281 .gl-membercard .gl-member-actions .gl-member-open{width:38px;border:1px solid #70415d;color:#ffc7e2;background:#251326}
body.glamour281 .gl-membercard .gl-member-actions .gl-message-disabled{background:#2c2530!important;color:#a8a1a8!important;border:1px solid #564355!important;cursor:not-allowed!important;box-shadow:none!important}
body.glamour281 .gl-membercard .gl-member-actions svg{width:16px;height:16px}
/* Online panel remains permanently visible on desktop; on mobile close is necessary to exit overlay. */
@media(min-width:1100px){body.glamour281 .gl-feed-extras .olp-x,body.glamour281 .gl-feed-extras .olp-fab,body.glamour281 .gl-feed-extras .olp-bg{display:none!important}body.glamour281 .feedgrid .gl-feed-extras .olp{display:flex!important;visibility:visible!important;position:relative!important;transform:none!important;z-index:1!important}body.glamour281 .feedgrid .gl-feed-extras{min-width:0!important}}
/* Administration: don't let a wide desktop header crop the logo or overlap the sidebar. */
@media(min-width:1151px){body.glamour281.gl-admin .gl-admin-sidebar{top:76px!important;left:0!important;margin:0!important;box-sizing:border-box!important}body.glamour281.gl-admin .top{padding-left:16px!important;padding-right:12px!important;gap:10px!important}body.glamour281.gl-admin .top>.logo{flex:0 0 auto!important;min-width:max-content!important;white-space:nowrap!important;overflow:visible!important}body.glamour281.gl-admin .wrap{box-sizing:border-box!important;width:auto!important;max-width:none!important;margin-left:242px!important;margin-right:16px!important}}
/* Messenger: split real conversations and real messages, not mocked data. */
body.glamour281 .gl-messenger-shell{display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:0;width:min(96%,1200px);margin:18px auto 8px;border:1px solid #65314c;border-radius:20px;overflow:hidden;background:#100c16;min-height:550px}
body.glamour281 .gl-messenger-threads{padding:16px 10px;background:#0e0d16;border-right:1px solid #63354a;min-width:0}
body.glamour281 .gl-messenger-threads-title{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 8px 18px;color:white}
body.glamour281 .gl-messenger-threads-title a{font-size:12px;color:#ff88b9;white-space:nowrap}
body.glamour281 .gl-messenger-threads nav{display:grid;gap:7px;max-height:74vh;overflow-y:auto}
body.glamour281 .gl-messenger-threads .gl-thread{display:flex;gap:10px;align-items:center;padding:10px 9px;color:white;text-decoration:none;border-radius:12px;border:1px solid transparent;min-width:0}
body.glamour281 .gl-messenger-threads .gl-thread.on{background:#46142d;border-color:#e21980}
body.glamour281 .gl-messenger-threads .gl-thread:hover{background:#291326}
body.glamour281 .gl-messenger-threads .gl-thread img{width:43px;height:43px;object-fit:cover;border-radius:50%;border:1px solid #9e4171;flex:none}
body.glamour281 .gl-messenger-threads .gl-thread span{display:grid;gap:4px;min-width:0}
body.glamour281 .gl-messenger-threads .gl-thread strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.glamour281 .gl-messenger-threads .gl-thread small{font-size:11px;color:#bbb0c2}
body.glamour281 .gl-messenger-shell .gl-conversation{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.glamour281 .gl-messenger-shell .gl-conversation .chat{min-height:380px!important;max-height:62vh;overflow-y:auto}
body.glamour281 .gl-private-message-setting{border:1px solid #763252;padding:20px;border-radius:15px}
body.glamour281 .gl-private-message-setting form{display:grid;gap:12px;max-width:470px}
body.glamour281 .gl-private-message-setting button{justify-self:start}
@media(max-width:750px){body.glamour281 .gl-messenger-shell{grid-template-columns:1fr;width:100%}body.glamour281 .gl-messenger-threads{border-right:0;border-bottom:1px solid #63354a}body.glamour281 .gl-messenger-threads nav{max-height:140px;overflow:auto}body.glamour281 .gl-membercard .gl-member-actions button span{display:none}body.glamour281 .gl-membercard .gl-member-actions .gl-member-open{width:34px}}


/* Correction des actions des cartes Membres : le bouton Message privé
   s'adapte à la largeur disponible sans repousser le lien Profil. */
body.glamour281 .gl-membercard .gl-member-actions {
  display:grid;
  grid-template-columns:minmax(0, 1fr) 34px;
  gap:6px;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:7px;
}
body.glamour281 .gl-membercard .gl-member-actions form {
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
}
body.glamour281 .gl-membercard .gl-member-actions .gl-member-message {
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:42px;
  box-sizing:border-box;
  padding:6px 3px;
  line-height:1.15;
  white-space:normal;
  overflow-wrap:break-word;
  gap:4px;
}
body.glamour281 .gl-membercard .gl-member-actions .gl-member-message svg {
  width:14px;
  height:14px;
  flex:0 0 14px;
}
body.glamour281 .gl-membercard .gl-member-actions .gl-member-open {
  width:34px;
  min-width:0;
  max-width:34px;
  padding:0;
  justify-self:end;
  box-sizing:border-box;
}
@media (max-width:750px) {
  body.glamour281 .gl-membercard .gl-member-actions .gl-member-message span {display:none;}
  body.glamour281 .gl-membercard .gl-member-actions .gl-member-message {padding:6px 2px;}
}
