/* ============================================================
   Fil d'accueil (page-compte.php, /compte/), refait le 25/09/2026.
   Menu du haut : mlive/entete.css ; carte vidéo push : mlive/push-carte.css.
   ============================================================ */
.fl-page .content_case.fl-page-contenu { box-sizing: border-box; width: 100%; padding: 6px 0 10px; background: transparent; color: #5d445d; font-size: 14px; line-height: 1.5; }
@media (max-width: 768px) { .fl-page .content_case.fl-page-contenu { padding: 0 12px 10px; } }
.fl-page-contenu a { text-decoration: none; }
.fl-page-contenu [hidden] { display: none !important; }

/* Prévenir Oksana */
.fl-prevenir { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, #eefaf2, #dff5e8);
	border: 1px solid #bfe8cf; color: #1f5f3a; box-shadow: 0 4px 14px rgba(31, 157, 87, 0.12); }
.fl-prevenir-icone { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #ffffff; font-size: 20px; color: #1f9d57; font-weight: bold; }
.fl-prevenir-texte { flex: 1; min-width: 0; }
.fl-prevenir-texte b { display: block; font-size: 14.5px; }
.fl-prevenir-texte small { display: block; color: #3f7a55; font-size: 12.5px; }
.fl-prevenir-bt { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: #1f9d57; color: #ffffff; font-size: 13px; font-weight: bold; box-shadow: 0 4px 10px rgba(31, 157, 87, 0.3); }

/* Publications */
.fl { display: flex; flex-direction: column; gap: 14px; }
.fl-post { overflow: hidden; border-radius: 18px; background: #ffffff; border: 1px solid #f3e9f3; box-shadow: 0 3px 14px rgba(126, 89, 126, 0.07); }
.fl-tete { display: flex; align-items: center; gap: 10px; padding: 12px 14px 8px; }
.fl-tete img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fde4ee; }
.fl-tete b { color: #5d445d; font-size: 14.5px; }
.fl-certif { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 5px; border-radius: 50%; background: #d01951; color: #ffffff; font-size: 10px; vertical-align: 1px; }
.fl-tete small { display: block; color: #b39ab3; font-size: 12px; }
.fl-texte { padding: 0 14px 10px; color: #5d445d; font-size: 14.5px; overflow-wrap: anywhere; }
.fl-texte p { margin: 0 0 6px; }
.fl-texte p:last-child { margin-bottom: 0; }
.fl-smiley { height: 1.1em; vertical-align: -2px; margin: 0 2px; }

.fl-photos { display: grid; gap: 3px; background: #f3e9f3; }
.fl-photos-1 { grid-template-columns: 1fr; }
.fl-photos-2 { grid-template-columns: 1fr 1fr; }
.fl-photos-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.fl-photos-3 .fl-photo:first-child { grid-row: 1 / 3; }
.fl-photo { display: block; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.fl-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fl-photos-1 .fl-photo img { height: auto; max-height: 560px; }
.fl-photos-2 .fl-photo, .fl-photos-3 .fl-photo { aspect-ratio: 1 / 1; }
.fl-photos-3 .fl-photo:first-child { aspect-ratio: auto; }
.fl-video { position: relative; display: block; background: #000000; }
.fl-video video { display: block; width: 100%; max-height: 70vh; }
.fl-video-verrou img { display: block; width: 100%; opacity: .85; }
.fl-video-verrou span { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: -30px 0 0 -30px;
	border-radius: 50%; background: rgba(208, 25, 81, 0.9); color: #ffffff; font-size: 24px; }
.fl-push { padding: 0 14px 14px; }
.fl-push .ml-push { max-width: none; margin: 0; }

.fl-actions { display: flex; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid #f6edf4; }
.fl-aime, .fl-com-bt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid #f3e9f3; border-radius: 999px; background: #fbf8fb; color: #7e597e;
	font-size: 13.5px; font-family: inherit; cursor: pointer; }
.fl-aime:hover, .fl-com-bt:hover { background: #fdf2f7; }
.fl-aime-on { border-color: #f7cfdf; background: #fdf2f7; color: #d01951; cursor: default; }
.fl-coeur { font-size: 15px; line-height: 1; }
.fl-aime-on .fl-coeur { animation: fl-pop .35s ease-out; }
@keyframes fl-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

.fl-coms { padding: 0 14px 14px; }
.fl-coms-info { padding: 8px 10px; border-radius: 12px; background: #fbf8fb; color: #9c7f9c; font-size: 12.5px; text-align: center; }
.fl-coms-form { display: flex; gap: 8px; }
.fl-coms-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1.5px solid #eedde9; border-radius: 999px; background: #fbf8fb; color: #5d445d; font-size: 16px; font-family: inherit; outline: none; }
.fl-coms-form input:focus { border-color: #cba9cb; background: #ffffff; }
.fl-coms-form button { flex: 0 0 auto; padding: 0 16px; border: 0; border-radius: 999px; background: #d01951; color: #ffffff; font-size: 13.5px; font-weight: bold; font-family: inherit; cursor: pointer; }
.fl-coms-liste { margin-top: 10px; max-height: 360px; overflow-y: auto; }
.fl-coms-vide { color: #b39ab3; font-size: 12.5px; text-align: center; padding: 6px 0; }
.fl-com { display: flex; gap: 9px; padding: 7px 0; border-top: 1px solid #f7f0f6; font-size: 13.5px; color: #5d445d; overflow-wrap: anywhere; }
.fl-com:first-child { border-top: 0; }
.fl-com img { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.fl-com b { color: #7e597e; }
.fl-com small { display: block; color: #b39ab3; font-size: 11.5px; }

.fl-plus { display: block; margin: 16px auto 4px; padding: 11px 26px; border: 1.5px solid #eedde9; border-radius: 999px; background: #ffffff; color: #7e597e; font-size: 14px;
	font-weight: bold; font-family: inherit; cursor: pointer; }
.fl-plus:hover { border-color: #cba9cb; color: #d01951; }

/* Visionneuse */
.fl-visionneuse { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(20, 8, 20, 0.92); }
.fl-v-image { position: relative; width: 80vw; height: 70vh; border-radius: 10px; background: #1a0c1a no-repeat center / contain; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.fl-v-voile { position: absolute; inset: 0; }
/* pas de menu « enregistrer l'image » ni de sélection sur les photos (appui long iPhone / Android, clic droit) */
.fl-visionneuse, .fl-photos { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.fl-photo img { pointer-events: none; -webkit-user-drag: none; }
.fl-visionneuse button { position: absolute; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, 0.15); color: #ffffff; font-size: 26px; font-family: inherit; cursor: pointer; }
.fl-v-fermer { top: 14px; right: 14px; font-size: 18px !important; }
.fl-v-prec { left: 10px; top: 50%; margin-top: -22px; }
.fl-v-suiv { right: 10px; top: 50%; margin-top: -22px; }
html.fl-v-ouvert { overflow: hidden; }

/* Filigrane dans la visionneuse : pseudo + n° du membre, au milieu, discret mais lisible sur une capture. */
.fl-v-voile { display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: auto; }
.fl-v-filigrane { transform: rotate(-24deg); color: rgba(255, 255, 255, 0.28); font-size: 30px; font-weight: bold; line-height: 1.1; text-align: center; white-space: nowrap;
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.35); letter-spacing: 1px; }
.fl-v-filigrane small { display: block; font-size: 15px; font-weight: normal; letter-spacing: 0; }

/* 25/09 retour d'Alex : photos du fil moins hautes (recadrées, visage gardé en haut) ; la photo entière s'ouvre en grand au toucher. */
.fl-photos-1 .fl-photo img { height: 380px; max-height: none; object-position: center 25%; }
.fl-photos-2 .fl-photo, .fl-photos-3 .fl-photo { aspect-ratio: auto; height: 190px; }
.fl-photos-3 .fl-photo:first-child { height: 383px; }
.fl-photos-2 .fl-photo { height: 300px; }
@media (max-width: 768px) {
	.fl-photos-1 .fl-photo img { height: 300px; }
	.fl-photos-2 .fl-photo { height: 220px; }
	.fl-photos-3 .fl-photo { height: 150px; }
	.fl-photos-3 .fl-photo:first-child { height: 303px; }
}

/* Photo seule : entière (pas recadrée), moins haute, posée sur un fond flouté d'elle-même. */
.fl-photos-1 .fl-photo { position: relative; height: 380px; background: #2a1528; }
.fl-photos-1 .fl-photo:before { content: ""; position: absolute; inset: -30px; background: var(--fond) center / cover no-repeat; filter: blur(22px) brightness(.85); }
.fl-photos-1 .fl-photo img { position: relative; height: 100%; width: 100%; object-fit: contain; object-position: center; }
@media (max-width: 768px) { .fl-photos-1 .fl-photo { height: 320px; } .fl-photos-1 .fl-photo img { height: 100%; } }
/* Téléphone (retour d'Alex : le fond flouté fait moche) : photo seule recadrée proprement, visage gardé en haut. */
@media (max-width: 768px) {
	.fl-photos-1 .fl-photo { background: #f3e9f3; }
	.fl-photos-1 .fl-photo:before { display: none; }
	.fl-photos-1 .fl-photo img { object-fit: cover; object-position: center 20%; }
}

/* PC (essai demandé par Alex) : publication à une photo = photo entière à gauche (sans bandes),
   nom, texte, j'aime et commentaires à droite ; les commentaires ouverts passent dessous en pleine largeur. */
@media (min-width: 1024px) {
	.fl-post-solo { display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; grid-template-areas: "photo tete" "photo texte" "photo vide" "photo actions" "coms coms"; }
	.fl-post-solo .fl-tete { grid-area: tete; padding-top: 16px; }
	.fl-post-solo .fl-texte { grid-area: texte; font-size: 15px; }
	.fl-post-solo .fl-photos { grid-area: photo; background: none; }
	.fl-post-solo .fl-actions { grid-area: actions; border-top: 0; padding-bottom: 16px; }
	.fl-post-solo .fl-coms { grid-area: coms; padding-top: 12px; border-top: 1px solid #f6edf4; }
	.fl-post-solo .fl-photos-1 .fl-photo { height: auto; background: none; }
	.fl-post-solo .fl-photos-1 .fl-photo:before { display: none; }
	.fl-post-solo .fl-photos-1 .fl-photo img { height: auto; max-height: 460px; object-fit: cover; }
}
@media (min-width: 1024px) { .fl-post-solo .fl-photos-1 .fl-photo img { aspect-ratio: auto 3 / 4; } }   /* place réservée avant chargement, pas de saut */

/* ============================================================
   v2 (25/09, demandes d'Alex) : j'aime + commentaires sous le texte, commentaires dans l'espace
   libre (ceux qui tiennent entiers), bouton « + » (5 de plus sous la publication), pub messagerie,
   vidéos à acheter en bas.
   ============================================================ */
.fl-actions { border-top: 0; padding: 0 14px 10px; }
.fl-ecrire { padding: 0 14px 10px; }
.fl-apercu { padding: 0 14px; overflow: hidden; }
.fl-apercu:not(:empty) { padding-top: 10px; }
.fl-apercu .fl-com:first-child { border-top: 0; }
.fl-com-cache { visibility: hidden; }
.fl-coms-plus { padding: 0 14px; }
.fl-coms-plus .fl-com:first-child { border-top: 1px solid #f7f0f6; }
.fl-plus-coms { display: block; width: calc(100% - 28px); margin: 6px 14px 12px; padding: 8px; border: 1px dashed #eedde9; border-radius: 12px; background: #fbf8fb;
	color: #7e597e; font-size: 13px; font-family: inherit; text-align: center; cursor: pointer; }
.fl-plus-coms:hover { background: #fdf2f7; color: #d01951; }
.fl-post > .fl-photos, .fl-post > .fl-video { margin-bottom: 0; }
.fl-post:not(.fl-post-solo) .fl-apercu { max-height: 180px; }            /* publications empilées : quelques commentaires */
@media (max-width: 1023px) {
	.fl-apercu .fl-com:nth-child(n+3) { display: none; }                   /* téléphone : les 2 derniers, puis « + » */
	.fl-apercu { max-height: none; }
}

/* PC : une photo = photo à gauche, nom / texte / j'aime-commentaires / écrire / commentaires qui tiennent à droite */
@media (min-width: 1024px) {
	.fl-post-solo { grid-template-rows: auto auto auto auto 1fr auto auto; grid-template-areas: "photo tete" "photo texte" "photo actions" "photo ecrire" "photo apercu" "plus plus" "bouton bouton"; }
	.fl-post-solo .fl-ecrire { grid-area: ecrire; }
	.fl-post-solo .fl-apercu { grid-area: apercu; min-height: 0; padding-bottom: 6px; }
	.fl-post-solo .fl-coms-plus { grid-area: plus; }
	.fl-post-solo .fl-plus-coms { grid-area: bouton; }
	.fl-post-solo .fl-actions { padding-bottom: 8px; }
}

/* Pub messagerie (entre la 6e et la 7e publication) */
.fl-pub { display: block; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #7e597e, #d01951); color: #ffffff !important;
	box-shadow: 0 10px 26px rgba(208, 25, 81, 0.28); text-decoration: none; }
.fl-pub-haut { display: flex; align-items: center; gap: 12px; }
.fl-pub-avatar { position: relative; flex: 0 0 auto; }
.fl-pub-avatar img { display: block; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.85); }
.fl-pub-avatar i { position: absolute; right: 1px; bottom: 2px; width: 13px; height: 13px; border: 2px solid #ffffff; border-radius: 50%; background: #2fbf71; animation: ml-alerte-point 1.6s ease-in-out infinite; }
.fl-pub-haut b { display: block; font-size: 16px; }
.fl-pub-haut small { display: block; color: rgba(255, 255, 255, 0.8); font-size: 12.5px; }
.fl-pub-bulles { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 14px 0; }
.fl-pub-bulle { max-width: 88%; padding: 9px 13px; border-radius: 16px 16px 16px 4px; background: #ffffff; color: #5d445d; font-size: 14px; line-height: 1.4; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); }
.fl-pub-bt { display: block; padding: 12px; border-radius: 999px; background: #ffffff; color: #d01951; font-size: 15px; font-weight: bold; text-align: center; }
@keyframes ml-alerte-point { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* Vidéos à acheter (après les publications) */
.fl-videos { margin-top: 22px; }
.fl-videos-titre { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 10px; }
.fl-videos-titre b { color: #7e597e; font-size: 17px; }
.fl-videos-titre a { color: #d01951; font-size: 13.5px; font-weight: bold; }
/* PC : c'est la photo qui fixe la hauteur ; la zone des commentaires ne pousse plus la carte (contain: size),
   elle prend l'espace qui reste à côté de la photo et ne montre que les commentaires qui tiennent entiers. */
@media (min-width: 1024px) {
	.fl-post-solo .fl-apercu { contain: size; min-height: 0; }
	.fl-post-solo .fl-photos { align-self: start; }
}

/* Téléphone (retour d'Alex) : photo, puis ❤️ / 💬, puis la case « écrire » toujours visible ;
   les commentaires des autres n'apparaissent qu'au toucher de la bulle 💬 (5, puis « + »). */
@media (max-width: 1023px) {
	.fl-post:not(.fl-post-push) { display: flex; flex-direction: column; }
	.fl-post > .fl-tete { order: 1; }
	.fl-post > .fl-texte { order: 2; }
	.fl-post > .fl-photos, .fl-post > .fl-video { order: 3; }
	.fl-post > .fl-actions { order: 4; padding-top: 10px; }
	.fl-post > .fl-ecrire { order: 5; }
	.fl-post > .fl-apercu { order: 6; }
	.fl-post > .fl-coms-plus { order: 7; }
	.fl-post > .fl-plus-coms { order: 8; }
	.fl-post:not(.fl-coms-ouverts) > .fl-apercu,
	.fl-post:not(.fl-coms-ouverts) > .fl-coms-plus,
	.fl-post:not(.fl-coms-ouverts) > .fl-plus-coms { display: none; }
	.fl-apercu .fl-com:nth-child(n+3) { display: flex; }
	.fl-apercu .fl-com:nth-child(n+6) { display: none; }
	.fl-coms-ouverts .fl-com-bt { border-color: #f7cfdf; background: #fdf2f7; color: #d01951; }
	.fl-post > .fl-ecrire:last-child, .fl-post > .fl-apercu:empty { padding-bottom: 12px; }
}

/* Visiteur non connecté (26/09/2026) : faux commentaires floutés + « Inscris-toi pour lire les N commentaires » */
.fl-floute { position: relative; display: block; margin: 10px 14px 14px; border-radius: 14px; overflow: hidden; text-decoration: none; }
.fl-floute-coms { display: block; padding: 4px 10px; filter: blur(4px); opacity: 0.75; pointer-events: none; user-select: none; }
.fl-floute-coms .fl-com { display: flex; }
.fl-floute-bt { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; padding: 9px 16px; border-radius: 999px;
	background: #ffffff; color: #d01951; font-size: 13.5px; font-weight: bold; box-shadow: 0 4px 16px rgba(126, 89, 126, 0.25); }
.fl-floute:hover .fl-floute-bt { background: #fdf2f7; }
@media (min-width: 1024px) { .fl-post-solo .fl-floute { grid-area: apercu; align-self: start; } }
@media (max-width: 1023px) { .fl-post > .fl-floute { order: 6; } }
