/* Lybertyn - habillage de la fiche profil (cadres, boutons) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&display=swap");

.lyb-cadre {
  position: relative;
  margin: 0 0 28px;
  padding: 34px 30px 30px;
  background: #FFFFFF;
  border: 1px solid #E7C9D5;
  border-radius: 24px;
  box-shadow: 0 10px 30px -18px rgba(184, 77, 114, .45), inset 0 0 0 6px #FFFFFF, inset 0 0 0 7px #F3E1E8;
  text-align: center;
}
.lyb-titre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 20px !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  font-style: italic;
  color: #B84D72 !important;
}
.lyb-titre::before, .lyb-titre::after {
  content: "";
  flex: 0 1 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D99AB1);
}
.lyb-titre::after { background: linear-gradient(90deg, #D99AB1, transparent); }
.lyb-titre svg { flex: none; }
.lyb-texte {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.6;
  font-style: italic;
  color: #10243A;
  white-space: pre-line;
}
.lyb-cadre .profile-section { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }

/* Photos / vidéos */
.lyb-media img { border-radius: 14px; max-width: 100%; }
.lyb-media .thumb_photo, .lyb-media .thumb_video { margin: 8px; }
.lyb-media h4 { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; color: #10243A; }
.lyb-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
  padding: 26px 18px;
  border: 1px dashed #E2B9C9;
  border-radius: 18px;
  background: #FDF6F9;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-style: italic;
  color: #6A4A58;
}

/* Albums privés */
.lyb-prive p { margin: 10px 0 18px; font-size: 16px; color: #4A6078; }
.lyb-cadenas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FCEEF2;
  border: 1px solid #EBC3D1;
}

/* Boutons */
.lyb-bouton, .lyb-commentaires a.lyb-bouton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  background: #B84D72;
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none !important;
  box-shadow: 0 8px 20px -10px rgba(184, 77, 114, .9);
  transition: background .2s, transform .2s;
}
.lyb-bouton:hover, .lyb-bouton:focus, .lyb-commentaires a.lyb-bouton:hover, .lyb-commentaires a.lyb-bouton:focus {
  background: #9C3C5E;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}
.lyb-commentaires { margin: 18px 0; text-align: center; }
.lyb-commentaires p { margin: 0; line-height: 2.4; }
.lyb-commentaires p a:not(.lyb-bouton) { color: #B84D72; }

.lyb-signaler { margin: 14px 0 18px; }
.lyb-signaler a, .lyb-signaler abbr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #C9DDEE;
  background: #FFFFFF;
  color: #4A6078 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color .2s, color .2s;
}
.lyb-signaler a:hover, .lyb-signaler a:focus { border-color: #B84D72; color: #B84D72 !important; }
.lyb-signaler i.fa { color: #B84D72; font-size: 14px; }
.lyb-signaler a::after { content: "Signaler un abus"; }
/* correctif 2 */
.lyb-cadre { box-sizing: border-box; max-width: 100%; overflow-wrap: anywhere; }
.lyb-titre { text-transform: none !important; letter-spacing: 0 !important; font-size: 28px !important; line-height: 1.2 !important; flex-wrap: nowrap; }
.lyb-titre span { white-space: nowrap; }
.lyb-titre::before, .lyb-titre::after { flex: 1 1 24px; max-width: 60px; min-width: 12px; }
.lyb-texte { white-space: normal; font-size: 20px; }
.lyb-texte br + br { display: none; }
.lyb-commentaires a.lyb-bouton, .lyb-bouton { white-space: nowrap; line-height: 1.2 !important; padding: 12px 24px; }
.lyb-commentaires p { line-height: 1.6; }
.lyb-signaler a { line-height: 1.2; }
.lyb-drapeau { display: inline-flex; }
/* correctif 3 : bouton « Demander l'ouverture » centré, même avec un long pseudo */
.lyb-prive .lyb-bouton { white-space: normal !important; max-width: 100%; box-sizing: border-box; text-align: center; line-height: 1.3 !important; padding: 12px 22px; }

/* correctif 4 : titre de la fiche net, sans ombre */
h1 .pH1, h1 .pH2, h1 .pH3 { text-shadow: none !important; }
h1 .pH1 { color: #10243A !important; }
h1 .pH2 { color: #10243A !important; font-weight: 600; }
h1 .pH3 { color: #B84D72 !important; }

/* fiche phase 4 : rubriques Lybertyn de la fiche profil */
.lyb-lignes { list-style: none; margin: 0 auto 10px; padding: 0; max-width: 420px; text-align: left; }
.lyb-lignes li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 2px; border-bottom: 1px dashed #EBD3DC; font-size: 15px; }
.lyb-lignes li span { color: #4A6078; }
.lyb-lignes li strong { color: #10243A; font-weight: 600; text-align: right; }
.lyb-deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin-bottom: 8px; }
.lyb-deux h3 { margin: 0 0 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-style: italic; color: #B84D72; }
.lyb-sous-titre { margin: 16px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4A6078; }
.lyb-etiquettes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lyb-etiquette { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #C9DDEE; background: #FFFFFF; font-size: 14px; color: #10243A; }
.lyb-rose .lyb-etiquette { background: #FCEEF2; border-color: #EBC3D1; color: #8E3557; }
.lyb-cadre blockquote.lyb-texte { margin: 18px 0 6px; padding: 0 10px; border: 0; }
.lyb-jauge { height: 10px; margin: 6px auto 12px; max-width: 360px; border-radius: 999px; background: #F3E1E8; overflow: hidden; }
.lyb-jauge div { height: 100%; border-radius: 999px; background: #B84D72; }
.lyb-pct { margin: 0 0 14px; font-size: 15px; color: #10243A; }
.lyb-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0; }
.lyb-bientot { font-size: 13px; color: #6A7C90; font-style: italic; }
