/* ux-v2.css : améliorations de lisibilité et de navigation (retours du 25/11/2026).
   Chargé APRÈS les autres feuilles de style. Pour tout annuler : retirer la ligne <link ... ux-v2.css> des 3 gabarits
   (user/layout/app, user/layout/unauth-app, user/profile/layout/app). Rose #D4106F réservé aux boutons. */

:root { --ux-pink: #D4106F; --ux-ink: #1f2933; --ux-muted: #4a5560; --ux-bubble: #cfe6ff; }

/* 1. Lisibilité : texte 16 px, couleurs plus contrastées */
body, p, li, label, td, th, input, select, textarea, button { font-size: 16px !important; }
small, .small, footer a, footer p { font-size: 14px !important; }
header a, header a p, header .title { color: var(--ux-ink) !important; }
header .links .title { font-size: 15px; }
.options .option a, .options .option a p, .options .option a i { color: var(--ux-ink) !important; }
.text-muted, .text-secondary, .form-text { color: var(--ux-muted) !important; }
footer a { display: inline-block; padding: 10px 6px; color: var(--ux-ink); }
.nav-tabs .nav-link, .nav .nav-link { min-height: 44px; }

/* 2. Bouton de référence : rose, pilule, texte blanc en gras (classe ajoutée par ux-v2.js sur les anciens boutons marron/saumon) */
.ux-pill, a.ux-pill, button.ux-pill {
  background: var(--ux-pink) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
  font-weight: 600 !important; padding: 12px 28px !important; text-transform: none !important; box-shadow: none !important;
  text-decoration: none !important; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; line-height: 1.2;
}
.ux-pill *, .ux-pill i { color: #fff !important; text-transform: none !important; }
.ux-pill:hover { background: #b90e5f !important; color: #fff !important; }
.ux-link { background: none !important; border: 0 !important; color: var(--ux-ink) !important; text-decoration: underline !important; box-shadow: none !important; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }

/* 3. Abonnement : gros chiffres en blanc, fond plus foncé pour qu'ils se lisent */
.days h2 { color: #fff !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.days p { color: #fff !important; }
.ux-pack-bg { background-color: rgb(214, 82, 74) !important; }

/* 4. Moyens de paiement non activés : cachés (pas supprimés) */
.ux-hidden-payment { display: none !important; }
.ux-payments-row { justify-content: center !important; }

/* 5. Tableaux (historique des paiements) : fiches empilées en mobile */
@media (max-width: 767px) {
  table.ux-stack, table.ux-stack tbody { display: block; width: 100%; }
  table.ux-stack thead { display: none; }
  table.ux-stack tr { display: block; border: 1px solid #eadcd9; border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; background: #fff; }
  table.ux-stack td { display: flex; justify-content: space-between; gap: 12px; border: 0 !important; padding: 5px 0; text-align: right; width: auto !important; }
  table.ux-stack td::before { content: attr(data-label); color: var(--ux-muted); font-weight: 600; text-align: left; }
}

/* 6. FAQ en accordéon (mobile) */
@media (max-width: 767px) {
  .ux-faq-q { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; min-height: 56px; padding: 12px 0 !important; margin: 0 !important; border-top: 1px solid #eadcd9; font-size: 17px !important; font-weight: 600; text-align: left; }
  .ux-faq-q::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 6px; }
  .ux-faq-q[aria-expanded="true"] { color: var(--ux-pink); }
  .ux-faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .ux-faq-a { padding: 0 0 14px; }
  .ux-faq-a[hidden] { display: none !important; }
}

/* 7. Menu du compte (pages Profil, Photos, Annonce...) : rangée de boutons arrondis en haut sur mobile, 2 rubriques sur ordinateur */
.ux-account-menu .ux-group-title { font-weight: 700; font-size: 13px; color: #6b4a46; margin: 14px 0 6px; padding-bottom: 4px; border-bottom: 1px solid #e8cfcb; }
.ux-account-menu .ux-group-title:first-child { margin-top: 0; }
.ux-account-menu .option a { min-height: 44px; display: flex; align-items: center; }
.ux-account-menu .ux-pause { font-size: 14px; text-decoration: underline; color: var(--ux-muted) !important; }
@media (max-width: 991px) {
  .ux-account-menu { display: flex !important; flex-direction: row; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 40px 8px 12px; background: #fff; border-bottom: 1px solid #eadcd9; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .ux-account-menu::-webkit-scrollbar { display: none; }
  .ux-account-menu .ux-group-title { display: none; }
  .ux-account-menu .ux-pause-wrap { flex: 0 0 auto; margin: 0 !important; }
  .ux-account-menu .ux-pause { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; }
  .ux-account-menu .option { flex: 0 0 auto; margin: 0 !important; }
  .ux-account-menu .option a { padding: 0 16px; border-radius: 999px; background: #f4eceb; white-space: nowrap; width: auto; font-weight: 500; }
  .ux-account-menu .option a i { display: none; }
  .ux-account-menu .option a p { margin: 0; font-size: 15px; }
  .ux-account-menu .option.active a { background: var(--ux-pink); }
  .ux-account-menu .option.active a, .ux-account-menu .option.active a p { color: #fff !important; font-weight: 700; }
}

/* 8. Accueil connecté : cartes de membres en grille (photo, nom et âge dessus, actions dessous) */
#cardList .row { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; margin: 0 !important; }
@media (min-width: 768px) { #cardList .row { grid-template-columns: repeat(4, 1fr); gap: 24px 20px; } }
#cardList .row > [class*="col-"] { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
#cardList .card { position: relative; background: none !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }
#cardList .card-top { position: relative; display: flex; flex-direction: column; }
#cardList .card-img { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #e5e7ea; }
#cardList .card-img img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
#cardList .card .buttons { position: static !important; display: flex !important; justify-content: space-around; padding: 8px 0 0 !important; background: none !important; height: auto !important; }
#cardList .card .buttons a { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; min-height: 48px; font-size: 13px; font-weight: 600; color: var(--ux-ink); text-decoration: none; }
#cardList .card .buttons a::after { content: attr(data-label); }
#cardList .card .buttons a img { width: 24px; height: 24px; }
#cardList .card-body { position: absolute !important; left: 0; right: 0; bottom: 56px; padding: 28px 12px 10px !important; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); border-radius: 0 0 16px 16px; color: #fff; pointer-events: none; }
#cardList .card-body .person-name, #cardList .card-body span, #cardList .card-body p { color: #fff !important; margin: 0; }
#cardList .card-body .person-name { font-size: 17px; font-weight: 700; }
#cardList .card-body .person-text p { font-size: 14px; display: inline; margin-right: 8px; }

/* 9. Barre du bas en mobile (5 onglets avec texte) */
#ux-tabs { display: none; }
@media (max-width: 767px) {
  body.ux-has-tabs { padding-bottom: 70px; }
  #ux-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid #e3c9c5; }
  #ux-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; min-height: 58px; text-decoration: none; color: #374151; font-size: 13px; font-weight: 500; }
  #ux-tabs a svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  #ux-tabs a.on { color: var(--ux-pink); font-weight: 700; }
}

/* 10. Messagerie : bulles envoyé / reçu de couleurs différentes (bleu clair pour les messages envoyés), saisie moderne */
.msg_history { background: #f7f9fc; }
.sent_msg { max-width: 82%; text-align: right; }
.sent_msg p { background: var(--ux-bubble) !important; color: #10243b !important; border-radius: 18px 18px 4px 18px !important; padding: 10px 14px !important; font-size: 16px !important; line-height: 1.4; width: auto !important; display: inline-block; text-align: left; }
.received_withd_msg { width: auto !important; max-width: 82%; }
.received_withd_msg p { background: #fff !important; color: var(--ux-ink) !important; border: 1px solid #dde3ea; border-radius: 18px 18px 18px 4px !important; padding: 10px 14px !important; font-size: 16px !important; line-height: 1.4; width: auto !important; display: inline-block; }
.time_date { font-size: 13px !important; color: #5b6570 !important; }
.delete-message-icon { font-size: 16px !important; opacity: .6; }
.input_msg_write textarea { border: 1px solid #d5dde8 !important; border-radius: 24px !important; background: #f1f5fa !important; color: var(--ux-ink) !important; min-height: 48px; font-size: 16px !important; }
.input_msg_write .emoji_btn { background: transparent !important; }
.msg_send_btn.mesg, #send_btn { background: var(--ux-pink) !important; }
.chat_list a, .chat_ib h5 a { color: var(--ux-ink) !important; }

/* 11. Accueil visiteur et pages publiques : textes inchangés */
[data-aos] { transition-duration: .4s; }
.row:has(> [class*="col-"] > .payment-text) { justify-content: center; }

/* ---- Correctifs après premiers tests sur dev ---- */
#cardList .card .buttons a { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; width: auto !important; height: auto !important; padding: 0 !important; }
#cardList .card .buttons a img { width: 24px !important; height: 24px !important; }
#cardList .card-body .person-name { text-align: left; }
#cardList .card-body .person-text { text-align: left; }
@media (max-width: 991px) {
  .ux-account-menu { flex-direction: row !important; flex-wrap: nowrap !important; }
  .ux-account-menu .option { width: auto !important; flex: 0 0 auto !important; }
  .ux-account-menu .option a { width: auto !important; justify-content: center; }
}
/* Conversation : en-tête clair, saisie sur une ligne en mobile, bouton rond d'ouverture de la liste masqué (remplacé par « Messages ») */
.inbox_people, .inbox_people .inbox_chat, .inbox_people .chat_list { background: #fff !important; color: var(--ux-ink) !important; }
.inbox_people i.fa-phone, .inbox_people i.fa-video { color: var(--ux-ink) !important; }
.ux-back { display: none; }
@media (max-width: 767px) {
  .toggle-btn { display: none !important; }
  .ux-back { display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px; background: #fff; color: var(--ux-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid #eadcd9; }
  .input_msg_write { flex-wrap: nowrap !important; gap: 8px; }
  .input_msg_write .emoji-container { flex: 1 1 auto !important; order: 1; }
  .input_msg_write #emoji-button { order: 2; margin: 0 !important; }
  .input_msg_write #send_btn { order: 3; margin: 0 !important; width: 48px !important; height: 48px !important; border-radius: 50%; }
}

/* ---- Correctifs 2 ---- */
.ux-pill { font-size: 17px !important; }
@media (max-width: 991px) {
  .ux-account-menu .option { height: auto !important; min-height: 44px; border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
  .ux-account-menu .option a { height: 44px !important; padding: 0 16px !important; border-radius: 999px !important; border: 0 !important; box-shadow: none !important; line-height: 1; }
  .ux-account-menu .option a p { white-space: nowrap; }
}
.sidebar-header { background: #fff !important; border-bottom: 1px solid #eadcd9; }
.sidebar-header h3 { color: var(--ux-ink) !important; text-align: left; font-size: 20px !important; }

/* ---- Correctifs 3 ---- */
@media (max-width: 991px) {
  .ux-account-menu .option a { display: inline-flex !important; align-items: center !important; }
  .ux-account-menu .option a p { margin: 0 !important; line-height: 1.2 !important; padding: 0 !important; }
}

/* Anti-robot : champ piège invisible pour les humains (masqué par cette feuille, pas en ligne) */
.ab-extra{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
.antibot-box:empty{display:none}
.antibot-note{font-size:13px;color:#5b6b7f;margin:4px 0 0}

/* Recherche : cases « En ligne » et « Avec photo » (lisibles sur mobile) */
.radio-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;align-items:center}
.radio-btns label{display:inline-flex;align-items:center;margin:0}
.radio-btns .search-check input,.research-checks input{width:20px;height:20px;accent-color:#D4106F}
.research-checks label:not(.weight-600){display:inline-flex;align-items:center;min-height:44px;font-size:16px}

/* Protection des photos : pas de glisser ni d'appui long « enregistrer l'image » sur mobile */
img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}

/* ===== Fenêtres de connexion et d'inscription (maquette validée) ===== */
.auth-modal .modal-content{border:0;border-radius:24px;box-shadow:0 24px 60px rgba(60,30,25,.25);padding:6px 4px 16px}
.auth-modal .modal-header{border:0;padding:22px 24px 0;justify-content:center;position:relative}
.auth-modal .modal-title{font-weight:800;font-size:26px;line-height:1.15;color:#0d2742;text-align:center;margin:0}
#joinUsModal .modal-header{justify-content:flex-start}
#joinUsModal .modal-title{text-align:left;padding-right:44px}
.auth-modal .btn-close{position:absolute;right:18px;top:18px;opacity:.7}
.auth-modal .modal-body{padding:14px 24px 8px}
.auth-modal .logo img{max-width:150px;display:block;margin:0 auto}
#loginModal .logo{margin:6px 0 14px!important}
#joinUsModal .logo{display:none}
.auth-modal .input-group{border:2px solid #c8574b!important;border-radius:999px!important;padding:2px 8px!important;background:#fff;align-items:center}
.auth-modal .input-group-text{color:#b3382c!important}
.auth-modal .input-group-text i{color:#b3382c}
.auth-modal .input-group .form-control{color:#8c3a30;font-weight:600;font-size:17px;height:46px;box-shadow:none}
.auth-modal .input-group .form-control::placeholder{color:#8c3a30;opacity:1;font-weight:600}
.auth-modal .pw-toggle{border:0;background:transparent;color:#5b6b7f;padding:0 12px;display:flex;align-items:center;cursor:pointer}
.auth-modal .submit-btn{background:#08865a!important;border:0!important;border-radius:999px!important;color:#fff!important;font-weight:800;font-size:19px;height:54px;width:100%}
.auth-modal .submit-btn:hover{background:#066f4a!important}
.auth-modal .forgot-link{color:#0b7a5a!important;font-weight:700;font-size:15px}
.auth-modal .form-check{display:flex;gap:12px;align-items:flex-start;padding-left:0;min-height:0}
.auth-modal .form-check-input{margin:2px 0 0!important;width:26px;height:26px;flex:none;border:2px solid #7b8794;border-radius:6px;float:none}
.auth-modal .form-check-input:checked{background-color:#08865a;border-color:#08865a}
.auth-modal .form-check-label{font-size:15px;line-height:1.4;color:#2c3a4d}
.auth-modal .form-check-label a{color:#b3261e;text-decoration:underline}
.auth-modal .divider .box{color:#5b6b7f;font-weight:700;text-transform:none}
.auth-modal .socal-auth button{border:2px solid #d4d4d4;background:#fff;border-radius:999px;height:52px;width:100%;font-weight:700;color:#1f1f1f;gap:12px;font-size:17px}
.auth-modal .socal-auth .g-ico{flex:none}
.auth-modal .auth-switch{text-align:center;margin:18px 0 6px;color:#3b4b60;font-weight:600;font-size:16px}
.auth-modal .auth-switch a{color:#b3261e;font-weight:800;text-decoration:underline}
#joinUsModal .birthdate-form{display:flex;gap:10px}
#joinUsModal .birthdate-form select{flex:1;min-width:0;background-color:#fdecea;border:0;border-radius:999px;height:54px;padding:0 14px;color:#0d2742;font-weight:600;font-size:16px}
#joinUsModal #dob-label{font-size:15px;font-weight:700;color:#3b4b60}
@media (max-width:575.98px){.auth-modal .modal-dialog{margin:10px}.auth-modal .modal-title{font-size:24px}}

/* ===== Page /inscription-gratuite ===== */
body.page-free-signup .nav-signup-btn,body.page-free-signup .changeLang{display:none!important}
#free-signup{padding:130px 0 70px;background:#fdf1ef;min-height:70vh}
#free-signup .fs-card{max-width:620px;margin:0 auto;background:#fff;border-radius:24px;padding:36px 28px;text-align:center;box-shadow:0 12px 40px rgba(60,30,25,.10)}
#free-signup h1{font-size:34px;font-weight:800;color:#0d2742;margin:0 0 10px}
#free-signup p.fs-lead{font-size:19px;color:#3b4b60;margin:0 0 24px}
#free-signup .fs-cta{display:inline-block;background:#08865a;color:#fff;border:0;border-radius:999px;padding:15px 38px;font-weight:800;font-size:19px}
#free-signup .fs-cta:hover{background:#066f4a}
#free-signup .fs-member{margin-top:18px;color:#3b4b60;font-weight:600}
#free-signup .fs-member a{color:#b3261e;font-weight:800;text-decoration:underline}

/* Corrections des fenêtres de connexion / inscription après essai sur mobile */
.auth-modal .divider{position:relative;text-align:center;margin:14px 0;display:block}
.auth-modal .divider .box{display:inline-block;width:auto!important;height:auto!important;border-radius:0!important;background:#fff!important;padding:0 12px!important;position:relative;z-index:1;white-space:nowrap;text-transform:lowercase;line-height:1.4}
.auth-modal p.text-danger{margin:0}
#joinUsModal .modal-header{padding-bottom:0}
#joinUsModal .modal-body{padding-top:6px}
#joinUsModal .modal-body>.container,#joinUsModal .modal-body .container{padding-top:0;margin-top:0!important}
#joinUsModal .birthdate-form select{padding:0 24px 0 14px;background-position:right 10px center;text-overflow:clip}

/* Séparateur « ou » : lignes de chaque côté du texte, quelle que soit sa longueur */
.auth-modal .divider{display:flex!important;align-items:center;gap:12px;height:auto!important;background:none!important;width:100%!important;margin:16px 0!important;position:static!important}
.auth-modal .divider::before,.auth-modal .divider::after{content:"";flex:1;height:1px;background:#dfe3e8}
.auth-modal .divider .box{position:static!important;left:auto!important;top:auto!important;padding:0!important;background:none!important;color:#5b6b7f;font-weight:700;font-size:15px}
#joinUsModal .birthdate-form select{font-size:15px;padding:0 20px 0 12px;background-position:right 6px center;background-size:12px}
#joinUsModal .birthdate-form select{font-size:14px;padding:0 18px 0 10px}
/* Message « Protégé par une vérification automatique contre les robots » masqué (retirer cette ligne pour le réafficher) */
.antibot-note{display:none!important}

/* « Se connecter » de l'accueil : même forme que « S'inscrire » (pilule), version contour */
.ux-link{border:2px solid #D4106F!important;border-radius:999px!important;color:#D4106F!important;text-decoration:none!important;background:#fff!important;padding:12px 28px!important;font-weight:700;min-height:48px}
.ux-link:hover{background:#fdecf4!important}
.ux-link,.ux-link *{color:#D4106F!important;-webkit-text-fill-color:#D4106F!important}
.ux-link{box-sizing:border-box!important;padding:10px 26px!important;min-height:44px!important;font-size:17px!important;font-weight:600!important;line-height:1.2!important}


/* ===== Retours du 26/11 (2) : couleurs, champs, fenêtres, menu du bas, profil mobile ===== */

/* Bouton « Se connecter » du haut = même style que celui du bloc d'accueil (contour rose, texte rose) */
#navbar .nav-signup-btn, .navbar .nav-signup-btn { border: 2px solid #D4106F !important; background: #fff !important; color: #D4106F !important; -webkit-text-fill-color: #D4106F !important; border-radius: 999px !important; font-weight: 600 !important; text-decoration: none !important; box-shadow: none !important; }
#navbar .nav-signup-btn:hover, .navbar .nav-signup-btn:hover { background: #fdecf4 !important; }

/* Texte saisi en noir dans toutes les cases ; texte d'exemple gris foncé lisible */
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=range]):not([type=hidden]):not([type=color]),
select, textarea, .form-control, .form-select { color: #000 !important; -webkit-text-fill-color: #000 !important; }
select option { color: #000; }
::placeholder { color: #4b5563 !important; opacity: 1 !important; -webkit-text-fill-color: #4b5563 !important; }

/* Fenêtres connexion / inscription / vérification : boutons principaux roses */
.auth-modal .submit-btn { background: #D4106F !important; border-color: #D4106F !important; color: #fff !important; }
.auth-modal .submit-btn:hover:not(:disabled) { background: #b90e5f !important; }
.auth-modal .submit-btn:disabled { opacity: .55; }
.auth-modal #resend-code { height: auto !important; min-height: 48px; line-height: 1.3; white-space: normal; }
.resend-hint { font-size: 14px; color: #374151; text-align: center; margin: 6px 0 0; line-height: 1.4; }

/* Fenêtres « souhait » et « message instantané » : bouton Envoyer rose */
#messageModal .modal-footer .btn, .wish-modal-footer .btn-send { background: #D4106F !important; border: 0 !important; color: #fff !important; border-radius: 999px !important; padding: 10px 28px !important; font-weight: 700 !important; text-transform: none !important; box-shadow: none !important; }
#messageModal .modal-footer .btn:hover, .wish-modal-footer .btn-send:hover { background: #b90e5f !important; }

/* Bouton emoji dans la fenêtre de message */
.ux-emoji-wrap { position: relative; }
.ux-emoji-wrap textarea { padding-right: 56px !important; }
.ux-emoji-btn { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fdecf4; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
.ux-emoji-pop { position: absolute; right: 0; bottom: 54px; z-index: 20; box-shadow: 0 8px 28px rgba(0, 0, 0, .22); border-radius: 12px; overflow: hidden; background: #fff; }
.ux-emoji-pop emoji-picker { --num-columns: 8; --emoji-size: 1.5rem; height: 300px; width: min(330px, 84vw); }

/* Photos des cartes : cadre vertical fixe, photo entière visible (fond flou autour), verticale ou horizontale */
#cardList .card-img, .card_list .card-img { aspect-ratio: 3 / 4 !important; height: auto !important; position: relative; overflow: hidden; background: #e5e7ea; }
#cardList .card-img::before, .card_list .card-img::before { content: ""; position: absolute; inset: -12px; background: var(--ux-bg, none) center / cover no-repeat; filter: blur(16px) brightness(.92); }
#cardList .card-img img, .card_list .card-img img { position: relative; width: 100% !important; height: 100% !important; object-fit: contain !important; }

/* Moins d'espace perdu */
#cardList, .card_list { margin-top: 0 !important; padding-top: 8px !important; }
#user-details p.text-center.m-4 { margin: 8px !important; }
.photo-limit-info { margin-top: 10px !important; }

/* Profil d'un membre : flèches précédent / suivant */
.ux-nav-arrow { position: fixed; top: 46%; z-index: 1020; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #D4106F; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); display: none; align-items: center; justify-content: center; font-size: 22px; padding: 0; text-decoration: none; }
.ux-nav-arrow.ux-prev { left: 8px; }
.ux-nav-arrow.ux-next { right: 8px; }
.ux-nav-arrow:hover { background: #b90e5f; color: #fff; }
body.ux-profile .ux-nav-arrow { display: flex; }
body.ux-profile .ux-nav-arrow.ux-off { display: none; }
body.ux-profile .first-box > a:not(.return-btn) { display: none !important; }

/* Profil d'un membre en mobile : photo en premier, actions toujours visibles */
#ux-actionbar { display: none; }
@media (max-width: 767px) {
  body.ux-profile #user-details .top { display: flex; flex-direction: column; margin: 0 !important; padding: 0 !important; }
  body.ux-profile #user-details .showImg, body.ux-profile #user-details img.showImg { width: 100% !important; max-width: none !important; height: auto !important; aspect-ratio: 4 / 5; border-radius: 0 0 20px 20px !important; object-fit: cover; margin: 0 !important; }
  body.ux-profile #user-details .showImg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 0 20px 20px; }
  body.ux-profile #user-details img.showImg[src*="placeholder"] { aspect-ratio: 16 / 10; object-fit: contain; background: linear-gradient(160deg, #fdecf4, #f4eceb); }
  body.ux-profile #user-details .third-box { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; gap: 8px; padding: 6px 12px !important; scrollbar-width: none; }
  body.ux-profile #user-details .third-box::-webkit-scrollbar { display: none; }
  body.ux-profile #user-details .third-box > * { flex: 0 0 auto; }
  body.ux-profile #user-details #instantMessageBtn, body.ux-profile #user-details #tibo-send, body.ux-profile #user-details #favourite { display: none !important; }
  body.ux-profile { padding-bottom: 140px !important; }
  #ux-actionbar { display: flex; position: fixed; left: 0; right: 0; bottom: 58px; z-index: 1029; gap: 10px; padding: 8px 12px; background: rgba(255, 255, 255, .96); border-top: 1px solid #e3c9c5; }
  #ux-actionbar button { flex: 1; min-height: 48px; border: 0; border-radius: 999px; background: #D4106F; color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
  #ux-actionbar button.alt { background: #fff; color: #D4106F; border: 2px solid #D4106F; }
}

/* Barre du bas : pastilles de comptage + bandeau cookies toujours au-dessus */
#ux-tabs a { position: relative; }
.ux-badge { position: absolute; top: 3px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #D4106F; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; display: none; }
@media (max-width: 767px) {
  body.ux-has-tabs #cookieBanner.cookie-banner { bottom: 62px !important; }
  body.ux-has-tabs .toast.position-fixed.bottom-0.start-0 { bottom: 120px !important; }
}

#counter-mail-seconds-container.resend-hint { color: #374151 !important; font-size: 14px !important; margin: 8px 0 0 !important; }


/* ===== Retours du 26/11 (3) ===== */

/* Messagerie : le mot « footer » est retiré */
.sidebar-footer { display: none !important; }

/* Fenêtre « Message instantané » : plus grande, bouton Envoyer centré */
#messageModal .modal-dialog { max-width: 600px; }
#messageModal .modal-body { padding: 8px 28px 4px; }
#messageModal textarea.form-control { min-height: 190px; resize: vertical; padding: 14px 60px 14px 14px; }
#messageModal .modal-footer { justify-content: center !important; padding: 12px 0 24px; }
#messageModal .modal-footer .btn { min-width: 200px; }

/* Cartes membres : cadre vertical fixe, la photo remplit le cadre sans déformation (le cadre ne bouge jamais) */
#cardList .card-img::before, .card_list .card-img::before { display: none !important; content: none !important; }
#cardList .card-img img, .card_list .card-img img { object-fit: cover !important; object-position: center 22% !important; width: 100% !important; height: 100% !important; }

/* Fiche membre mobile : aucune barre de défilement horizontale, les flèches restent dans l'écran */
@media (max-width: 767px) {
  html:has(body.ux-profile), body.ux-profile { overflow-x: hidden !important; max-width: 100vw; }
  body.ux-profile #user-details { max-width: 100vw; overflow-x: hidden; }
  body.ux-profile .ux-nav-arrow { width: 42px; height: 42px; font-size: 18px; top: 38vh; opacity: .92; }
  body.ux-profile .ux-nav-arrow.ux-prev { left: 6px; }
  body.ux-profile .ux-nav-arrow.ux-next { right: 6px; }

  /* Menu hamburger : on retire ce qui est déjà dans la barre du bas (Messages, Découvrir, Tibo, Favoris) */
  body.ux-has-tabs header .links li:has(a[href*="messages/received"]),
  body.ux-has-tabs header .links li:has(a[href*="user-cards"]),
  body.ux-has-tabs header .links li:has(a[href*="tibos/received"]),
  body.ux-has-tabs header .links li:has(a[href*="my-favourites"]) { display: none !important; }
}

/* ===== Page Découvrir (user-cards) : style « une grande carte + boutons ronds » ===== */
body:has(.user-info-card) .section-heading { display: none; }
body:has(.user-info-card) .user-info-card { max-width: 480px; margin: 12px auto 150px !important; border: 0; border-radius: 28px !important; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.10); }
body:has(.user-info-card) .user-info-card .card-body { height: auto !important; padding: 0 !important; }
body:has(.user-info-card) .user-info-card .card-body > .row { display: flex; flex-direction: column; margin: 0; }
body:has(.user-info-card) .user-info-card .card-body > .row > [class*="col-"] { width: 100% !important; max-width: 100% !important; padding: 0 !important; flex: none; }
body:has(.user-info-card) .card-container { margin: 0 !important; height: auto !important; }
body:has(.user-info-card) .card-swiper { position: relative !important; height: auto !important; width: 100% !important; }
body:has(.user-info-card) .img-card { height: auto !important; aspect-ratio: 4 / 5; width: 100% !important; background-size: cover !important; background-position: center 20% !important; position: relative !important; }
body:has(.user-info-card) .user-details { padding: 16px 20px 8px; }
body:has(.user-info-card) .user-details .username { font-size: 26px; font-weight: 700; color: #111; }
body:has(.user-info-card) .user-details .detail { font-size: 17px; color: #374151; }
body:has(.user-info-card) .user-details .pill-styling { padding: 8px 14px !important; margin: 6px 6px 0 0 !important; font-size: 15px; background: #fff; }
body:has(.user-info-card) .circle-container { display: none !important; }
body:has(.user-info-card) .btn-pofile { position: static !important; margin: 4px 20px 16px !important; bottom: auto !important; }
body:has(.user-info-card) .view-profile-btn { width: 100% !important; height: 48px !important; border-radius: 999px !important; background: #fff !important; border: 2px solid #D4106F !important; }
body:has(.user-info-card) .view-profile-btn span, body:has(.user-info-card) .view-profile-btn i { color: #D4106F !important; font-weight: 700; }
body:has(.user-info-card) .btn-swiper { position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 74px !important; width: 100% !important; transform: none !important; z-index: 1025; display: flex !important; justify-content: center; gap: 28px; margin: 0 !important; padding: 0 !important; pointer-events: none; }
body:has(.user-info-card) .btn-swiper button { pointer-events: auto; width: 68px !important; height: 68px !important; border-radius: 50% !important; padding: 0 !important; border: 0 !important; font-size: 0 !important; box-shadow: 0 6px 18px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; }
body:has(.user-info-card) .btn-swiper .dislike { background: #1e2a4a !important; }
body:has(.user-info-card) .btn-swiper .like { background: #D4106F !important; }
body:has(.user-info-card) .btn-swiper button i { font-size: 0 !important; color: #fff !important; }
body:has(.user-info-card) .btn-swiper button i::before { font-size: 28px; }
@media (min-width: 768px) { body:has(.user-info-card) .btn-swiper { bottom: 24px !important; } }

/* Icones du haut (ordinateur) : traits fins coherents (retour 26/11) */
header img.icon[src*="header/message.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2015a2%202%200%200%201-2%202H8l-5%204V5a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202z%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
header img.icon[src*="header/search.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22M21%2021l-4.3-4.3%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
header img.icon[src*="header/userCards.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M15.5%208.5l-2%205-5%202%202-5z%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
header img.icon[src*="header/friends.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2020c0-3.6%202.9-6%206.5-6s6.5%202.4%206.5%206%22%2F%3E%3Cpath%20d%3D%22M16%204.6a3.5%203.5%200%200%201%200%206.8%22%2F%3E%3Cpath%20d%3D%22M18%2014.2c2.2.7%203.5%202.7%203.5%205.8%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
header img.icon[src*="header/tibo.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2014s1.5%202.5%204%202.5S16%2014%2016%2014%22%2F%3E%3Cpath%20d%3D%22M9%209.5h.01M15%209.5h.01%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
header img.icon[src*="header/favourites.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.5%205.5%200%200%200-7.8%200L12%205.7l-1-1.1a5.5%205.5%200%200%200-7.8%207.8l1%201.1L12%2021l7.8-7.5%201-1.1a5.5%205.5%200%200%200%200-7.8z%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
header img.icon[src*="header/views.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.6-7%2010-7%2010%207%2010%207-3.6%207-10%207S2%2012%202%2012z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
header img.icon[src*="header/subscription.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%225%22%20width%3D%2219%22%20height%3D%2214%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2010h19M6.5%2015h4%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}


/* ===== Retours du 26/11 (4) ===== */
/* Icones fines aussi pour Recherche, Photo et le menu mobile */
#header .links i.fa-magnifying-glass.icon,#bottom-nav i.fa-search.icon{font-size:0!important;display:inline-block;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22M21%2021l-4.3-4.3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;vertical-align:middle}
#header .links i.fa-magnifying-glass.icon::before,#bottom-nav i.fa-search.icon::before{content:none!important}
#bottom-nav i.fa-user-group.icon{font-size:0!important;display:inline-block;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2020c0-3.6%202.9-6%206.5-6s6.5%202.4%206.5%206%22%2F%3E%3Cpath%20d%3D%22M16%204.6a3.5%203.5%200%200%201%200%206.8%22%2F%3E%3Cpath%20d%3D%22M18%2014.2c2.2.7%203.5%202.7%203.5%205.8%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;vertical-align:middle}
#bottom-nav i.fa-user-group.icon::before{content:none!important}
#bottom-nav i.fa-heart.icon{font-size:0!important;display:inline-block;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.5%205.5%200%200%200-7.8%200L12%205.7l-1-1.1a5.5%205.5%200%200%200-7.8%207.8l1%201.1L12%2021l7.8-7.5%201-1.1a5.5%205.5%200%200%200%200-7.8z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;vertical-align:middle}
#bottom-nav i.fa-heart.icon::before{content:none!important}
#bottom-nav i.fa-eye.icon{font-size:0!important;display:inline-block;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.6-7%2010-7%2010%207%2010%207-3.6%207-10%207S2%2012%202%2012z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;vertical-align:middle}
#bottom-nav i.fa-eye.icon::before{content:none!important}
#header .links i.fa-camera.icon,#bottom-nav i.fa-camera.icon{font-size:0!important;display:inline-block;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M23%2019a2%202%200%200%201-2%202H3a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2h4l2-3h6l2%203h4a2%202%200%200%201%202%202z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2213%22%20r%3D%224%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;vertical-align:middle}
#header .links i.fa-camera.icon::before,#bottom-nav i.fa-camera.icon::before{content:none!important}
#bottom-nav img.icon[src*="header/message.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2015a2%202%200%200%201-2%202H8l-5%204V5a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202z%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
#bottom-nav img.icon[src*="header/search.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22M21%2021l-4.3-4.3%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
#bottom-nav img.icon[src*="header/userCards.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M15.5%208.5l-2%205-5%202%202-5z%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
#bottom-nav img.icon[src*="header/friends.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2020c0-3.6%202.9-6%206.5-6s6.5%202.4%206.5%206%22%2F%3E%3Cpath%20d%3D%22M16%204.6a3.5%203.5%200%200%201%200%206.8%22%2F%3E%3Cpath%20d%3D%22M18%2014.2c2.2.7%203.5%202.7%203.5%205.8%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
#bottom-nav img.icon[src*="header/tibo.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M8%2014s1.5%202.5%204%202.5S16%2014%2016%2014%22%2F%3E%3Cpath%20d%3D%22M9%209.5h.01M15%209.5h.01%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
#bottom-nav img.icon[src*="header/favourites.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20.8%204.6a5.5%205.5%200%200%200-7.8%200L12%205.7l-1-1.1a5.5%205.5%200%200%200-7.8%207.8l1%201.1L12%2021l7.8-7.5%201-1.1a5.5%205.5%200%200%200%200-7.8z%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
#bottom-nav img.icon[src*="header/views.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s3.6-7%2010-7%2010%207%2010%207-3.6%207-10%207S2%2012%202%2012z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}
#bottom-nav img.icon[src*="header/subscription.svg"]{content:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%231f2937%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%225%22%20width%3D%2219%22%20height%3D%2214%22%20rx%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2010h19M6.5%2015h4%22%2F%3E%3C%2Fsvg%3E");width:26px;height:26px;}

/* Menu hamburger mobile (#bottom-nav) : retire ce qui est déjà dans la barre du bas */
@media (max-width: 767px) {
  body.ux-has-tabs #bottom-nav .links li:has(a[href*="messages/received"]),
  body.ux-has-tabs #bottom-nav .links li:has(a[href*="user-cards"]),
  body.ux-has-tabs #bottom-nav .links li:has(a[href*="tibos/received"]),
  body.ux-has-tabs #bottom-nav .links li:has(a[href*="my-favourites"]) { display: none !important; }
}

/* Pastilles de comptage : roses partout, mieux intégrées sur ordinateur */
#header .links .navbar-counter, #bottom-nav .links .navbar-counter { background: #D4106F !important; color: #fff !important; border-radius: 999px !important; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px !important; font-size: 11px !important; font-weight: 700; text-align: center; top: -4px !important; right: auto !important; left: calc(50% + 4px); box-shadow: 0 0 0 2px #fff; }
#header .links .navbar-counter:empty, #bottom-nav .links .navbar-counter:empty { display: none !important; }
#header .links li { position: relative; }

/* Polices des boutons roses en gras */
.auth-modal .submit-btn, .btn-danger, .btn-primary, .btn-send, .view-profile-btn, #user-details .middle button, #messageModal .btn, .wish-modal-footer .btn, .swal2-confirm, .swal2-cancel, .nav-signup-btn, .btn-swiper button, #ux-actionbar button { font-weight: 700 !important; }

/* Fenêtres de confirmation (« Êtes-vous sûr ? ») en rose */
.swal2-styled.swal2-confirm, .swal2-confirm { background: #D4106F !important; color: #fff !important; border-radius: 999px !important; box-shadow: none !important; padding: 10px 28px !important; }
.swal2-styled.swal2-cancel, .swal2-cancel { background: #fff !important; color: #D4106F !important; border: 2px solid #D4106F !important; border-radius: 999px !important; box-shadow: none !important; padding: 8px 26px !important; }
.swal2-confirm:hover { background: #b90e5f !important; }
.swal-button--confirm { background: #D4106F !important; border-radius: 999px !important; }
.swal-button--cancel { background: #fff !important; color: #D4106F !important; border: 2px solid #D4106F; border-radius: 999px !important; }

/* Bouton Google : au survol il devient rose */
.auth-modal .socal-auth button:hover, .auth-modal .socal-auth button:focus-visible { background: #D4106F !important; border-color: #D4106F !important; color: #fff !important; }
.auth-modal .socal-auth button:hover * { color: #fff !important; }

/* Liens de l'inscription : roses, fins, sans gras */
.auth-modal .form-check-label { font-weight: 400 !important; color: #374151; }
.auth-modal .form-check-label a { color: #D4106F !important; font-weight: 400 !important; text-decoration: underline; text-underline-offset: 2px; }

/* Cartes membres : âge et distance sur une ligne, « En ligne » lisible, cadre un peu moins haut */
#cardList .card-body .person-text { display: flex !important; flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center; gap: 6px; }
#cardList .card-body .person-text p { margin: 0 !important; white-space: nowrap; }
#cardList .card-body .person-text span { font-size: clamp(11px, 3.1vw, 14px) !important; }
#cardList .card-body .person-text .location-pin { width: 14px !important; height: 14px !important; }
#cardList .user-active-status { top: 12px !important; left: 12px !important; }
#cardList .user-active-status::after { background: rgba(255,255,255,.92); color: #111 !important; padding: 2px 8px; border-radius: 999px; left: 16px !important; top: -5px !important; font-weight: 600; }
#cardList .card-img, .card_list .card-img { aspect-ratio: 4 / 5 !important; }

/* Fiche d'un membre */
#user-details .return-btn { display: none !important; }
body:not(.ux-profile) #user-details { opacity: 0; animation: uxReveal .01s linear .7s forwards; }
@keyframes uxReveal { to { opacity: 1; } }
.ux-nav-arrow { top: 132px !important; }
@media (max-width: 767px) { body.ux-profile .ux-nav-arrow { top: 84px !important; } }
@media (min-width: 992px) {
  #user-details .top { flex-wrap: nowrap !important; align-items: center !important; gap: 28px !important; padding: 20px 30px !important; }
  #user-details .middle { margin-left: 0 !important; flex: 1; min-width: 0; }
  #user-details .middle .second-box { margin: 0 0 14px !important; }
  #user-details .middle .second-box h2 { font-size: 1.5rem !important; }
  #user-details .middle .second-box p { font-size: 1rem !important; }
}
#user-details .card-body .heading { text-align: left !important; background: #fff; border: 1px solid #f1d9d5; border-radius: 18px; padding: 16px 22px; margin: 0 0 16px; box-shadow: 0 2px 10px rgba(212,16,111,.05); }
#user-details .card-body .heading h1 { display: block !important; text-align: left !important; font-size: 1.05rem !important; color: #D4106F !important; margin: 0 0 6px !important; }
#user-details .card-body .heading h1::after { display: none !important; }
#user-details .card-body .heading h6 { font-size: 1rem; font-weight: 400; line-height: 1.55; color: #1f2937; margin: 0; white-space: pre-line; }

/* Messagerie : le bloc ne colle plus au menu du haut */
.messaging { margin-top: 24px !important; }

/* Recherche : choix alignés et propres */
.radio-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; padding: 8px !important; }
.radio-btns label { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 8px 14px; border: 1px solid #e3c9c5; border-radius: 999px; background: #fff; font-size: 15px; white-space: nowrap; }
.radio-btns label input { margin: 0 !important; width: 18px; height: 18px; accent-color: #D4106F; flex: none; }
@media (max-width: 767px) {
  .radio-btns label:not(.search-check) { flex: 1 1 100%; justify-content: flex-start; }
  .radio-btns label.search-check { flex: 1 1 calc(50% - 10px); justify-content: flex-start; }
}
#header .links .navbar-counter, #bottom-nav .links .navbar-counter { left: calc(50% + 11px) !important; top: -6px !important; }
#cardList .container { margin-top: 14px !important; margin-bottom: 24px !important; }
#cardList .card { margin-top: 6px !important; }
@media (max-width: 767px) {
  .radio-btns { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; }
  .radio-btns label:not(.search-check) { flex: 1 1 100% !important; max-width: 100% !important; justify-content: flex-start !important; }
  .radio-btns label.search-check { flex: 1 1 calc(50% - 8px) !important; max-width: calc(50% - 4px) !important; justify-content: flex-start !important; }
}

/* ===== Page /inscription-gratuite (maquette « Page d'atterrissage ») ===== */
body.page-free-signup #header, body.page-free-signup > footer, body.page-free-signup #footer, body.page-free-signup .cookie-banner-spacer { display: none !important; }
body.page-free-signup { background: #fff0f6; }
#free-signup { background: #fff0f6; padding: 0 0 24px; min-height: 100vh; font-family: 'Montserrat', 'Open Sans', sans-serif; color: #0d2742; overflow-x: hidden; }
#free-signup > section, #free-signup .fs-top, #free-signup .fs-foot { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
#free-signup .fs-top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 8px; }
#free-signup .fs-logo img { height: 46px; width: auto; display: block; }
#free-signup .fs-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #f4c6dc; background: #fff; color: #b0105f; border-radius: 999px; padding: 10px 20px; font-weight: 700; }
#free-signup .fs-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
#free-signup h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.12; font-weight: 800; color: #0d2742; margin: 0 0 18px; }
#free-signup .fs-lead { font-size: 18px; line-height: 1.55; color: #4b5563; margin: 0 0 24px; max-width: 560px; }
#free-signup .fs-cta { display: inline-block; background: #D4106F; color: #fff; border: 0; border-radius: 999px; padding: 17px 40px; font-weight: 800; font-size: 19px; box-shadow: 0 10px 24px rgba(212,16,111,.28); }
#free-signup .fs-cta:hover { background: #b90e5f; }
#free-signup .fs-note { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: #4b5563; }
#free-signup .fs-hero-art { position: relative; text-align: center; }
#free-signup .fs-hero-art img { max-width: 100%; height: auto; }
#free-signup .fs-badge { position: absolute; left: 4%; bottom: 14%; background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.08); display: inline-flex; align-items: center; gap: 8px; }
#free-signup .fs-badge i { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; display: inline-block; }
#free-signup .fs-block { padding-top: 26px; padding-bottom: 14px; }
#free-signup .fs-block h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 0 0 20px; }
#free-signup .fs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#free-signup .fs-card2 { background: #fff; border: 1px solid #f6d9e6; border-radius: 22px; padding: 24px; }
#free-signup .fs-ic { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; background: #fde6f0; align-items: center; justify-content: center; margin-bottom: 14px; }
#free-signup .fs-card2 h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
#free-signup .fs-card2 p, #free-signup .fs-steps p { margin: 0; color: #5b6472; line-height: 1.55; font-size: 16px; }
#free-signup .fs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#free-signup .fs-steps > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
#free-signup .fs-steps b { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: #D4106F; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; }
#free-signup .fs-steps h3 { font-size: 19px; font-weight: 800; margin: 0 0 4px; }
#free-signup .fs-chips { display: flex; flex-wrap: wrap; gap: 10px; }
#free-signup .fs-chips span { background: #fff; border: 1px solid #f6d9e6; border-radius: 999px; padding: 10px 20px; font-weight: 700; }
#free-signup .fs-dark { background: #0d2742; color: #fff; border-radius: 24px; padding: 30px 34px; }
#free-signup .fs-dark h2 { color: #fff; font-size: 26px; margin: 0 0 10px; }
#free-signup .fs-dark p { margin: 0; line-height: 1.6; max-width: 760px; }
#free-signup .fs-final { text-align: center; padding-top: 40px; padding-bottom: 28px; }
#free-signup .fs-final h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0 0 10px; }
#free-signup .fs-final .fs-lead { margin-left: auto; margin-right: auto; }
#free-signup .fs-member { margin-top: 16px; color: #4b5563; font-weight: 600; }
#free-signup .fs-member a { color: #D4106F; font-weight: 700; text-decoration: underline; }
#free-signup .fs-foot { border-top: 1px solid #f6d9e6; padding-top: 20px; text-align: center; }
#free-signup .fs-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-bottom: 8px; }
#free-signup .fs-foot a { color: #0d2742; font-weight: 600; font-size: 14px; text-decoration: none; }
#free-signup .fs-foot small { color: #6b7280; }
@media (max-width: 800px) {
  #free-signup .fs-hero { grid-template-columns: 1fr; gap: 8px; }
  #free-signup .fs-hero-art { order: 2; }
  #free-signup .fs-cards, #free-signup .fs-steps { grid-template-columns: 1fr; }
  #free-signup .fs-cta { display: block; width: 100%; text-align: center; }
  #free-signup .fs-ghost { padding: 9px 16px; }
}

/* Découvrir : pastilles de filtre */
.ux-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 4px; max-width: 480px; margin: 8px auto 0; scrollbar-width: none; }
.ux-chips::-webkit-scrollbar { display: none; }
.ux-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid #e3c9c5; border-radius: 999px; background: #fff; color: #6b7280; font-weight: 600; font-size: 15px; text-decoration: none; }
.ux-chips a.on { background: #1e2a4a; border-color: #1e2a4a; color: #fff; }
.ux-chips-empty { text-align: center; color: #6b7280; font-size: 14px; margin: 6px 16px 0; }
body.ux-profile #user-details .showImg img { margin: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0 0 20px 20px !important; }
.ux-conv-search { display: block; width: calc(100% - 24px); margin: 10px 12px 4px; padding: 10px 16px; border: 1px solid #e3c9c5; border-radius: 999px; font-size: 15px; background: #fff; }
.ux-conv-search:focus { outline: 2px solid #D4106F; border-color: transparent; }

/* Situation / idéal : sections repliables */
h3.section-heading.ux-acc-h { cursor: pointer; text-align: left !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid #f1d9d5; border-radius: 16px; padding: 14px 18px; margin: 12px 0 !important; font-size: 1.05rem; user-select: none; }
h3.section-heading.ux-acc-h::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid #D4106F; border-bottom: 2.5px solid #D4106F; transform: rotate(45deg); transition: transform .2s; flex: none; margin-right: 4px; }
h3.section-heading.ux-acc-h.open::after { transform: rotate(-135deg); }
.ux-acc-body[hidden] { display: none !important; }
#ux-save { position: fixed; right: 16px; bottom: 76px; z-index: 1030; background: #D4106F; color: #fff; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 16px; box-shadow: 0 8px 22px rgba(212,16,111,.35); }
@media (min-width: 768px) { #ux-save { bottom: 24px; } }

/* ===== Retours du 27/11 (2) ===== */

/* Fiche membre : les flèches restent en haut de la page, elles ne suivent plus le défilement */
.ux-nav-arrow { position: absolute !important; }

/* Fiche membre : photo plus petite, un clic l'agrandit */
@media (min-width: 768px) {
  body.ux-profile #user-details .top > .showImg { width: 200px !important; height: 260px !important; flex: none; border-radius: 20px !important; overflow: hidden; cursor: zoom-in; }
  body.ux-profile #user-details .top > .showImg img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 20px !important; }
  body.ux-profile #user-details .top > img.showImg { width: 200px !important; height: 260px !important; object-fit: contain !important; border-radius: 20px !important; cursor: default; }
}
@media (max-width: 767px) {
  body.ux-profile #user-details .top > .showImg, body.ux-profile #user-details .top > img.showImg { height: min(34vh, 290px) !important; aspect-ratio: auto !important; cursor: zoom-in; }
  body.ux-profile #user-details .top > .showImg img { object-position: center 18% !important; }
  body.ux-profile #user-details .top > img.showImg[src*="placeholder"] { height: 160px !important; cursor: default; }
}
#user-details .photos .showImg { cursor: zoom-in; }

/* Fenêtre d'agrandissement des photos (remplace l'ancienne) */
.popup-container { display: none !important; }
#ux-lb { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(10, 12, 20, .93); }
#ux-lb.on { display: flex; }
#ux-lb img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); user-select: none; -webkit-user-drag: none; }
#ux-lb button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
#ux-lb button:hover, #ux-lb button:focus-visible { background: #D4106F; outline: none; }
#ux-lb .lb-close { top: 16px; right: 16px; }
#ux-lb .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
#ux-lb .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
#ux-lb .lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(255, 255, 255, .16); padding: 4px 14px; border-radius: 999px; }
@media (max-width: 767px) {
  #ux-lb img { max-width: 100vw; max-height: 74vh; border-radius: 0; }
  #ux-lb .lb-prev, #ux-lb .lb-next { top: auto; bottom: 14px; transform: none; width: 44px; height: 44px; }
  #ux-lb .lb-prev { left: 16px; }
  #ux-lb .lb-next { right: 16px; }
}
#ux-lb[data-single="1"] .lb-prev, #ux-lb[data-single="1"] .lb-next, #ux-lb[data-single="1"] .lb-count { display: none; }

/* Recherche : tout tient sur 2 lignes (ordinateur), « En ligne » et « Avec photo » sur la même ligne (mobile) */
#search-form { width: 100%; }
#search .search-container > .d-flex { width: 100%; }
#search-form .form-group { margin: 0; }
#search-form .form-group:has(> select:not(#distance-field)), #search-form .form-group:has(> input:not(#psuedo-field)) { flex: 1 1 150px; }
#search-form .form-group:has(> #distance-field:not([style*="block"])), #search-form .form-group:has(> #psuedo-field:not([style*="block"])), #search-form .form-group:has(> .region[style*="none"]) { display: none; }
#search-form .radio-btns { order: 10; flex: 1 1 auto; justify-content: flex-start; flex-direction: row !important; flex-wrap: wrap; align-items: center !important; margin: 0 !important; padding: 0 !important; }
#search-form .search-button { order: 5; min-width: 200px; }
#search-form .adv-search-btn { order: 11; min-width: 200px; margin-left: auto; }
.radio-btns input[type="radio"], .radio-btns input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border: 2px solid #8a8f98; border-radius: 50%; background: #fff; margin: 0 !important; flex: none; cursor: pointer; }
.radio-btns input[type="radio"]:checked, .radio-btns input[type="checkbox"]:checked { border-color: #D4106F; background: radial-gradient(circle, #D4106F 0 45%, #fff 50%); }
@media (max-width: 768px) {
  #search-form .search-button, #search-form .adv-search-btn { min-width: 0; margin-left: 0; width: 100%; }
  #search-form .radio-btns { order: 12; justify-content: center; padding: 8px 0 !important; }
}

/* Situation / idéal : bouton Enregistrer centré, plus grand, fixe en bas de l'écran */
#ux-save { left: 50% !important; right: auto !important; transform: translateX(-50%); padding: 18px 64px !important; font-size: 19px !important; white-space: nowrap; }

/* Menu du compte (photo en haut à droite) : liste simple */
.dropdown:has(#dropdownMenuLink) .dropdown-menu { width: 290px !important; min-width: 290px; padding: 8px !important; border: 1px solid #f1d9d5; border-radius: 18px; box-shadow: 0 12px 34px rgba(0, 0, 0, .14); }
.ux-dd-head { display: flex; align-items: center; gap: 12px; padding: 8px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid #f4e3e0; color: #111; text-decoration: none; }
.ux-dd-head img.dropdown-profile-image { width: 52px !important; height: 52px !important; border-radius: 50% !important; object-fit: cover; flex: none; }
.ux-dd-head strong { display: block; font-size: 17px; line-height: 1.2; }
.ux-dd-head small { color: #6b7280; font-size: 14px; }
.dropdown:has(#dropdownMenuLink) .dropdown-menu .dropdown-item { display: block; padding: 10px 14px; border-radius: 10px; font-size: 16px; font-weight: 500; color: #1f2937; white-space: normal; }
.dropdown:has(#dropdownMenuLink) .dropdown-menu .dropdown-item:hover { background: #fdecf4; color: #D4106F; }
.ux-dd-sep { height: 1px; background: #f4e3e0; margin: 6px 4px; }
.dropdown:has(#dropdownMenuLink) .dropdown-menu .ux-dd-out { color: #c0102f; }

/* Découvrir (ordinateur) : grande carte horizontale, photo à gauche, infos à droite, boutons ronds sur le bord bas */
@media (min-width: 992px) {
  body:has(.user-info-card) .ux-chips { max-width: 940px; padding-left: 0; }
  body:has(.user-info-card) .user-info-card { position: relative; max-width: 940px; margin: 14px auto 110px !important; overflow: visible !important; border-radius: 28px !important; }
  body:has(.user-info-card) .user-info-card .card-body > .row { flex-direction: row; flex-wrap: nowrap; align-items: stretch; }
  body:has(.user-info-card) .user-info-card .card-body > .row > .col-md-5 { width: 42% !important; max-width: 42% !important; padding: 18px !important; }
  body:has(.user-info-card) .user-info-card .card-body > .row > .col-md-7 { width: 58% !important; max-width: 58% !important; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 8px 24px 0 !important; }
  body:has(.user-info-card) .img-card { aspect-ratio: 4 / 5; border-radius: 22px !important; }
  body:has(.user-info-card) .user-details { padding: 22px 26px 8px; }
  body:has(.user-info-card) .user-details .username { font-size: 36px; line-height: 1.15; }
  body:has(.user-info-card) .user-details .detail { font-size: 18px; margin-top: 6px; }
  body:has(.user-info-card) .user-details .pill-styling { display: flex !important; align-items: center; border: 0 !important; background: none !important; border-radius: 0 !important; padding: 7px 0 !important; margin: 0 !important; text-align: left; }
  body:has(.user-info-card) .user-details .pill-styling p { margin: 0 !important; font-size: 17px; color: #1f2937; }
  body:has(.user-info-card) .user-details .pill-styling i { width: 26px; color: #1f2937; }
  body:has(.user-info-card) .user-details br { display: none; }
  body:has(.user-info-card) .btn-pofile { margin: 8px 26px 0 !important; align-self: flex-start; }
  body:has(.user-info-card) .view-profile-btn { width: 260px !important; }
  body:has(.user-info-card) .btn-swiper { position: absolute !important; left: 0 !important; right: 0 !important; bottom: -38px !important; }
  body:has(.user-info-card) .btn-swiper button { width: 76px !important; height: 76px !important; }
  body:has(.user-info-card) .btn-swiper button i::before { font-size: 30px; }
}

/* Corrections après essai (27/11) */
@media (min-width: 992px) {
  body.ux-profile #user-details .top { padding-left: 76px !important; padding-right: 76px !important; }
  body:has(.user-info-card) .user-info-card .card-body > .row > .col-md-7 { justify-content: flex-start !important; }
  body:has(.user-info-card) .btn-pofile { margin: 22px 26px 0 !important; }
}

/* ===== Retours du 27/11 (3) ===== */

/* Flèche « haut de page » : rose comme les autres boutons */
.back-to-top { background: #D4106F !important; }
.back-to-top:hover { background: #b90e5f !important; }

/* Fenêtre photo : flèches roses, collées à la photo */
#ux-lb .lb-stage { display: flex; align-items: center; justify-content: center; gap: 22px; }
#ux-lb .lb-stage button { position: static; top: auto; bottom: auto; left: auto; right: auto; transform: none; flex: none; width: 52px; height: 52px; background: #D4106F; }
#ux-lb .lb-stage button:hover, #ux-lb .lb-stage button:focus-visible { background: #b90e5f; }
@media (max-width: 767px) {
  #ux-lb .lb-stage { position: relative; display: block; }
  #ux-lb .lb-stage button { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; opacity: .92; }
  #ux-lb .lb-stage .lb-prev { left: 8px; }
  #ux-lb .lb-stage .lb-next { right: 8px; }
}

/* Situation / idéal : le bouton Enregistrer n'est plus flottant, il est centré sous le formulaire */
#ux-save { position: static !important; display: block; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; margin: 32px auto 28px !important; }

/* Menu du compte : photo plus petite, petite flèche visible */
#header .account .dropdown .dropdown-toggle img { width: 44px !important; height: 44px !important; }
#header .account .dropdown .dropdown-toggle::after { display: inline-block !important; content: ""; width: 9px; height: 9px; margin-left: 8px; vertical-align: middle; border: 0; border-right: 2px solid #1f2937; border-bottom: 2px solid #1f2937; transform: rotate(45deg) translateY(-3px); }
#header .account .dropdown .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
#header .account .dropdown .profile-active-status { right: auto; left: 36px; bottom: 12px; }

/* Découvrir : points communs */
.ux-common { border: 2px solid #D4106F; border-radius: 18px; padding: 14px 18px; margin: 16px 0 6px; background: #fff; }
.ux-common h4 { color: #D4106F; font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.ux-common p { margin: 0 !important; font-size: 16px; color: #1f2937; }

/* Accueil visiteur : moins d'animations sur mobile (vagues, flottement, apparitions) */
@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .hero-waves { display: none !important; }
  #hero .animated, #hero .img-fluid.animated { animation: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body:has(.user-info-card) .user-details .pill-styling[style*="display: none"] { display: none !important; }

/* Retours du 27/11 (4) : « Voir le profil » placé en haut, juste avant le pseudo */
body:has(.user-info-card) .user-details > .btn-pofile { margin: 0 0 14px !important; align-self: flex-start; width: auto !important; }
body:has(.user-info-card) .user-details > .btn-pofile .view-profile-btn { width: 100% !important; max-width: 280px; }
@media (min-width: 992px) {
  body:has(.user-info-card) .user-details > .btn-pofile { margin: 0 0 16px !important; }
  body:has(.user-info-card) .user-details > .btn-pofile .view-profile-btn { width: 260px !important; }
}

/* Retours du 27/11 (4) : zones cliquables et boutons de la fenêtre photo */
#subscription .subscription-card { cursor: pointer; }
.tibos-card .image { cursor: pointer; }
#checkPictureStatusModal .modal-footer .btn { background: #D4106F !important; border-color: #D4106F !important; color: #fff !important; font-weight: 700; border-radius: 999px; padding: 10px 22px; }
#checkPictureStatusModal .modal-footer .btn:hover { background: #b90e5f !important; border-color: #b90e5f !important; }
