/* =====================================================================================
   Pages publiques de référencement (entete-market-ref.php) - barre moderne, 26/09/2026
   ===================================================================================== */
body.lb-ref { margin: 0; background: #fff; -webkit-font-smoothing: antialiased; }
.lb-ref-barre { position: sticky; top: 0; z-index: 800; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 56px; padding: 0 12px; box-sizing: border-box; background: linear-gradient(135deg, #ff4f8b 0%, #e6216f 48%, #9b2c8f 100%); box-shadow: 0 2px 14px rgba(120, 10, 60, .25); font-family: 'Quicksand', sans-serif; }
.lb-ref-logo { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font: 700 21px/1 'Quicksand', sans-serif; letter-spacing: .3px; text-decoration: none !important; white-space: nowrap; }
.lb-ref-logo i { font-size: 24px; }
.lb-ref-actions { display: flex; align-items: center; gap: 6px; }
.lb-ref-connexion { display: inline-flex; align-items: center; gap: 5px; padding: 8px; color: #fff !important; font: 700 14px/1 'Quicksand', sans-serif; text-decoration: none !important; white-space: nowrap; }
.lb-ref-connexion i { font-size: 22px; }
.lb-ref-inscription { padding: 10px 15px; border-radius: 999px; background: #fff; color: #e6216f !important; font: 700 14px/1 'Quicksand', sans-serif; text-decoration: none !important; white-space: nowrap; box-shadow: 0 4px 12px rgba(60, 0, 30, .2); transition: transform .12s ease; }
.lb-ref-inscription:active { transform: scale(.96); }
h1.lb-ref-h1 { margin: 14px 12px 6px !important; padding: 0 !important; font: 700 19px/1.3 'Quicksand', sans-serif !important; color: #2b2b33 !important; }
h1.lb-ref-h1 a { color: #2b2b33 !important; text-decoration: none !important; }
.lb-ref-h2 { margin: 0 12px 10px; font: 600 14px/1.3 'Quicksand', sans-serif; }
.lb-ref-h2 a { color: #e6216f !important; }
@media (max-width: 480px) {
    .lb-ref-barre { padding: 0 10px; }
    .lb-ref-connexion span { display: none; }
    .lb-ref-inscription { padding: 10px 13px; font-size: 13.5px; }
}
@media (max-width: 350px) {
    .lb-ref-logo { font-size: 18px; }
    .lb-ref-logo i { font-size: 21px; }
    .lb-ref-inscription { padding: 9px 11px; font-size: 12.5px; }
}
@media (min-width: 1024px) {
    .lb-ref-barre { padding: 0 max(18px, calc((100% - 1100px) / 2)); }
    h1.lb-ref-h1 { font-size: 24px !important; }
}

/* ---------- Photo publique d'un membre (photo-rencontre-amour.php) ---------- */
td.lb-ref-cellule { padding: 16px 12px 28px !important; background: #f6f5f9 !important; }
.lb-ref-photo-carte { max-width: 440px; margin: 0 auto; padding: 18px 18px 20px; box-sizing: border-box; border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(30, 10, 40, .10); text-align: center; font-family: 'Quicksand', sans-serif; }
.lb-ref-photo-titre { margin: 0 0 4px; font: 700 22px/1.25 'Quicksand', sans-serif; color: #2b2b33; }
.lb-ref-photo-titre a { color: #e6216f !important; text-decoration: none !important; }
.lb-ref-photo-lieu { display: flex; align-items: center; justify-content: center; gap: 3px; margin: 0 0 14px; font: 600 14px/1.3 'Quicksand', sans-serif; color: #8a8a95; }
.lb-ref-photo-lieu i { font-size: 17px; }
.lb-ref-photo-cadre { position: relative; overflow: hidden; margin: 0 auto 16px; max-width: 320px; aspect-ratio: 4 / 5; border-radius: 20px; background: #eee; }
.lb-ref-photo-cadre img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-ref-photo-privee img { filter: blur(6px) saturate(1.2); transform: scale(1.08); }
.lb-ref-photo-voile { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; background: linear-gradient(160deg, rgba(255, 79, 139, .55), rgba(91, 30, 95, .7)); color: #fff !important; text-decoration: none !important; }
.lb-ref-photo-voile i { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: 30px; }
.lb-ref-photo-voile strong { font: 700 18px/1.25 'Quicksand', sans-serif; }
.lb-ref-photo-voile span { font: 600 14px/1.3 'Quicksand', sans-serif; opacity: .92; }
.lb-ref-bouton { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 16px; border-radius: 14px; background: linear-gradient(135deg, #ff4f8b, #e6216f); color: #fff !important; font: 700 16px/1.2 'Quicksand', sans-serif; text-decoration: none !important; box-shadow: 0 8px 20px rgba(230, 33, 111, .35); transition: transform .12s ease; }
.lb-ref-bouton:active { transform: scale(.98); }
.lb-ref-lien { display: inline-block; margin-top: 12px; font: 700 14px/1.3 'Quicksand', sans-serif; color: #e6216f !important; }
.lb-ref-commentaires { max-width: 560px; margin: 22px auto 0; font-family: 'Quicksand', sans-serif; }
.lb-ref-commentaires h2 { margin: 0 4px 12px; font: 700 16px/1.3 'Quicksand', sans-serif; color: #2b2b33; }
.lb-ref-commentaire { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 10px; }
.lb-ref-commentaire img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.lb-ref-bulle { min-width: 0; max-width: calc(100% - 50px); padding: 8px 14px 9px; border-radius: 18px 18px 18px 6px; background: #fff; box-shadow: 0 2px 10px rgba(30, 10, 40, .07); text-align: left; }
.lb-ref-bulle a { font: 700 13px/1.3 'Quicksand', sans-serif; text-decoration: none !important; }
.lb-ref-bulle a.femme { color: #e6216f !important; }
.lb-ref-bulle a.homme { color: #5b3cc4 !important; }
.lb-ref-bulle p { margin: 2px 0 0; font: 500 15px/1.4 'Quicksand', sans-serif; color: #2b2b33; overflow-wrap: anywhere; }
