/* 2.87.3 : positionnement définitif : cœur à gauche, chat à droite de la PHOTO. */
body.glamour281 .gl-membercard{
  position:relative!important;isolation:isolate;overflow:hidden!important;
}
/* Le conteneur occupe la largeur de la photo, sans ajouter de hauteur au contenu. */
body.glamour281 .gl-membercard .gl-member-top-actions{
  position:absolute!important;inset:9px 9px auto 9px!important;
  z-index:30!important;display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 30px!important;
  align-items:center!important;gap:0!important;
  width:auto!important;max-width:none!important;height:30px!important;
  min-height:0!important;box-sizing:border-box!important;
  padding:0!important;margin:0!important;
  pointer-events:none!important;
}
/* Colonne gauche, toujours et indépendamment de la présence du chat. */
body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-favorite{
  position:static!important;inset:auto!important;grid-column:1!important;grid-row:1!important;
  order:0!important;display:grid!important;place-items:center!important;
  flex:none!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;width:30px!important;min-width:30px!important;
  max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;
  line-height:1!important;font-size:23px!important;
  border:0!important;border-radius:10px!important;background:#e60777!important;
  color:#fff!important;box-shadow:0 3px 12px #0007!important;
}
/* Colonne droite : action disponible ou verrouillée, sans débordement. */
body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-chat-float{
  position:static!important;inset:auto!important;grid-column:3!important;grid-row:1!important;
  order:0!important;display:block!important;pointer-events:auto!important;
  flex:none!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;width:30px!important;min-width:30px!important;
  max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;
}
body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-chat-square{
  position:static!important;inset:auto!important;grid-column:3!important;grid-row:1!important;
  order:0!important;display:grid!important;place-items:center!important;
  pointer-events:auto!important;flex:none!important;box-sizing:border-box!important;
  margin:0!important;padding:0!important;width:30px!important;min-width:30px!important;
  max-width:30px!important;height:30px!important;min-height:30px!important;max-height:30px!important;
  line-height:1!important;border:0!important;border-radius:10px!important;
  background:#e60777!important;color:#fff!important;cursor:pointer;
  box-shadow:0 3px 12px #0007!important;
}
body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-chat-float .gl-member-chat-square{
  position:static!important;inset:auto!important;grid-column:auto!important;
}
body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-chat-square svg{
  width:16px!important;height:16px!important;display:block!important;flex:none!important;
}
body.glamour281 .gl-membercard .gl-member-chat-blocked{
  opacity:.55!important;background:#3c2b3a!important;color:#ddd!important;cursor:not-allowed!important;
}
body.glamour281 .gl-membercard .gl-member-chat-square:hover:not(:disabled){background:#fa258f!important;}
body.glamour281 .gl-membercard .gl-member-chat-square:focus-visible{outline:3px solid #ffe0a2!important;outline-offset:2px!important;}
body.glamour281 .gl-membercard .gl-member-actions{display:none!important;}
/* En vue Liste, placer les deux icônes sur la miniature (100 px). */
body.glamour281 .gl-members-list .gl-membercard .gl-member-top-actions{
  left:5px!important;right:auto!important;top:5px!important;
  width:100px!important;max-width:calc(100% - 10px)!important;
  grid-template-columns:27px minmax(0,1fr) 27px!important;height:27px!important;
}
body.glamour281 .gl-members-list .gl-membercard .gl-member-top-actions .gl-member-favorite,
body.glamour281 .gl-members-list .gl-membercard .gl-member-top-actions .gl-member-chat-float,
body.glamour281 .gl-members-list .gl-membercard .gl-member-top-actions .gl-member-chat-square{
  display:grid!important;width:27px!important;min-width:27px!important;max-width:27px!important;
  height:27px!important;min-height:27px!important;max-height:27px!important;border-radius:8px!important;
}
@media(max-width:700px){
  body.glamour281 .gl-membercard .gl-member-top-actions{
    inset:8px 8px auto 8px!important;
    grid-template-columns:27px minmax(0,1fr) 27px!important;height:27px!important;
  }
  body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-favorite,
  body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-chat-float,
  body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-chat-square{
    width:27px!important;min-width:27px!important;max-width:27px!important;
    height:27px!important;min-height:27px!important;max-height:27px!important;border-radius:9px!important;
  }
  body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-favorite{font-size:21px!important;}
  body.glamour281 .gl-membercard .gl-member-top-actions .gl-member-chat-square svg{width:14px!important;height:14px!important;}
  body.glamour281 .gl-members-list .gl-membercard .gl-member-top-actions{
    left:4px!important;right:auto!important;top:4px!important;width:102px!important;
    max-width:calc(100% - 8px)!important;
    grid-template-columns:27px minmax(0,1fr) 27px!important;
  }
}

/* Concours : cartes premium, administration et responsive */
.glamour281 .gl-contests{max-width:1300px;margin:0 auto 30px;}
.glamour281 .gl-contest-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px;}
.glamour281 .gl-contest-card{overflow:hidden;min-width:0;border:1px solid #7d3d59;border-radius:20px;background:linear-gradient(130deg,#2c1426,#100b16);box-shadow:0 16px 36px #0005;}
.glamour281 .gl-contest-symbol{display:grid;place-items:center;min-height:145px;font-size:64px;background:radial-gradient(circle at 50% 45%,#6b164a,#180d1b 73%);}
.glamour281 .gl-contest-body{padding:22px;}
.glamour281 .gl-contest-body h2{margin:12px 0;color:#fff;font-size:23px;}
.glamour281 .gl-contest-body p{line-height:1.55;}
.glamour281 .gl-contest-status{display:inline-flex;border:1px solid #f18eb8;color:#ffd3e5;border-radius:999px;padding:5px 12px;font-size:12px;}
.glamour281 .gl-contest-prize{font-weight:700;color:#f4d18b;}
.glamour281 .gl-contest-editor{display:grid;gap:16px;max-width:900px;}
.glamour281 .gl-contest-editor label{display:grid;gap:6px;}
.glamour281 .gl-contest-editor input,.glamour281 .gl-contest-editor textarea,.glamour281 .gl-contest-editor select{width:100%;min-width:0;box-sizing:border-box;}
.glamour281 .gl-contest-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.glamour281 .gl-contest-admin-table{overflow-x:auto;}
.glamour281 .gl-contest-admin-table table{min-width:680px;}
@media(max-width:700px){.glamour281 .gl-contest-grid,.glamour281 .gl-contest-dates{grid-template-columns:1fr;}}

