/* ===== Retouches V118 ===== */
/* Page d'annonce, mode nuit : le reflet (::after) du bouton « Retour » s'étirait sur toute la page et dessinait un grand arc.
   Le bouton est en position « static » dans l'en-tête ; on le remet en « relative » pour que son reflet reste dans le bouton. */
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-top .dback{position:relative!important}

/* ===== Pastilles des cartes « Récemment consulté » et favoris (comme accueil/recherche) ===== */
@keyframes k154pulse{0%,100%{box-shadow:0 0 0 2px rgba(31,157,107,.28)}50%{box-shadow:0 0 0 5px rgba(31,157,107,0)}}
html body .k106-tg{position:absolute;left:10px;top:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:9999px;background:rgba(255,255,255,.94);color:#222;font:600 12px/1 var(--a-font,inherit);box-shadow:0 1px 2px rgba(0,0,0,.12)}
html body .k106-tg::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:#1f9d6b;animation:k154pulse 2.4s ease-in-out infinite}
html body .k106-tg.off{background:rgba(255,255,255,.84);color:#6a6a6a}
html body .k106-tg.off::before{background:#9aa5ad;animation:none;box-shadow:none}
html body .k106-ph .kp-badge{position:absolute!important;left:10px!important;top:42px!important;z-index:2!important;display:inline-flex!important;align-items:center!important;gap:5px!important;height:20px!important;padding:0 8px 0 3px!important;border-radius:9999px!important;background:rgba(15,42,61,.88)!important;color:#fff!important;font:600 11px/1 var(--a-font,inherit)!important;border:0!important;box-shadow:none!important;font-variant-caps:normal!important;letter-spacing:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .k106-ph .kp-badge i{width:14px!important;height:14px!important;border-radius:4px!important;background:#E0703A!important;color:transparent!important;font-size:0!important;display:inline-block!important;flex:none!important}

/* ===== Point « Disponible » animé : page d'annonce et espace ===== */
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-st:not(.off) i{animation:k154pulse 2.4s ease-in-out infinite!important}
html body .esp-b.ok::before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;vertical-align:1px;border-radius:50%;background:#1f9d6b;animation:k154pulse 2.4s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){html body .k106-tg::before,html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-st:not(.off) i,html body .esp-b.ok::before{animation:none!important}}

/* ===== glissement : barre de recherche de l'en-tête ===== */
html body:not(#_x):not(#_y) header #nav-search .k154-hl{position:absolute!important;left:0;top:0;height:100%;z-index:0;border-radius:9999px;background:var(--a-card,#fff);box-shadow:0 3px 12px rgba(0,0,0,.15);opacity:0;pointer-events:none;transition:transform .42s cubic-bezier(.22,1,.36,1),width .42s cubic-bezier(.22,1,.36,1),opacity .18s ease}
html body:not(#_x):not(#_y) header #nav-search .k154-hl.on{opacity:1}
html body:not(#_x):not(#_y) header #nav-search.k154-on .k96-f.k97-on,html body:not(#_x):not(#_y) header #nav-search.k154-on .k96-f.k97-on:hover{background:transparent!important;box-shadow:none!important}
html body:not(#_x):not(#_y) header #nav-search.k154-on .k96-f{z-index:1}
@keyframes k154in{from{opacity:0;transform:translateX(var(--k154-dx,0))}to{opacity:1;transform:none}}
html body:not(#_x):not(#_y) header #nav-search.k154-sw .k97-pan.on{animation:k154in .38s cubic-bezier(.22,1,.36,1) both}
@media (max-width:700px){html body:not(#_x):not(#_y) header #nav-search .k154-hl{display:none!important}}
@media (prefers-reduced-motion:reduce){html body:not(#_x):not(#_y) header #nav-search .k154-hl{transition:none!important}html body:not(#_x):not(#_y) header #nav-search.k154-sw .k97-pan.on{animation:none!important}}

/* ===== titre de la page de résultats (Locations à Dakar…) ===== */
html body #view-recherche .k154-titre{margin:18px 0 6px;font:600 24px/1.25 var(--a-font,inherit);color:var(--a-ink,#222);letter-spacing:-.01em}

/* ===== Fiche annonce : boutons de contact alignés et badge « vérifié » du mini-profil ===== */
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-pc .ctc-msgw{padding:10px 0 0!important;margin:0!important}
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-pc .ctc-msgbtn{display:block!important;box-sizing:border-box!important;width:100%!important;height:44px!important;padding:0 14px!important;margin:0!important;border:1px solid var(--a-ink,#222)!important;border-radius:10px!important;background:none!important;color:var(--a-ink,#222)!important;font:600 14px var(--a-font)!important}
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-pc .ctc-msgbtn:hover{background:var(--a-faint,#f7f7f7)!important}
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-pc .k102-rb{margin:0!important}
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-pc .ctc-head .ctc-vk{width:15px!important;height:15px!important;right:-3px!important;bottom:-3px!important;border-width:1.5px!important}
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-pc .ctc-head .ctc-vk svg{width:9px!important;height:9px!important}

/* ===== coche « vérifié » sur la photo de profil du compte (en-tête, menu, espace) ===== */
html body #profil-btn.avatar-btn.connecte,html body .profil-menu .pm-avatar,html body #view-espace:not(.sa) .esp-avatar{position:relative;overflow:visible}
html body #profil-btn.avatar-btn.connecte>img,html body .profil-menu .pm-avatar>img,html body #view-espace:not(.sa) .esp-avatar>img{border-radius:50%}
html body .k158-ck{position:absolute;right:-3px;bottom:-3px;width:46%;min-width:14px;max-width:26px;aspect-ratio:1;display:block;border-radius:50%;background:#fff;box-shadow:0 0 0 1.5px #fff,0 1px 3px rgba(0,0,0,.25);pointer-events:none}
html[data-theme="dark"] body .k158-ck{background:#0E1922;box-shadow:0 0 0 1.5px #0E1922,0 1px 3px rgba(0,0,0,.5)}
html body .k158-ck svg{width:100%;height:100%;display:block}

/* ===== Mode sombre : avis (réponse de l'annonceur, modales) et mini-profil Contact lisibles ===== */
html[data-theme="dark"] body .k104-avr,html[data-theme="dark"] body .k104-avn{background:#1B2D39!important;color:#E8EEF1!important}
html[data-theme="dark"] body .k104-avm>div{background:#15232D!important;color:#E8EEF1!important}
html[data-theme="dark"] body .k104-sig{color:#9DB0BB!important}html[data-theme="dark"] body .k104-sig:hover{color:#E8EEF1!important}
html[data-theme="dark"] body .k104-avc p{color:#E8EEF1}
html[data-theme="dark"] body #view-detail.k102 .k102-pc .ctc-nm{color:#E8EEF1!important}
html[data-theme="dark"] body #view-detail.k102 .k102-pc .ctc-lb{color:#9DB0BB!important}
html body #view-detail.k102 .k102-pc .ctc-av:not([style*="background"]){background:#142f43!important}

/* ===== Points « disponible » : vrai clignotement (anneau qui s'étend) ===== */
@keyframes k154ring{0%{transform:scale(1);opacity:.55}80%,100%{transform:scale(2.7);opacity:0}}
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-st:not(.off) i{position:relative!important;animation:none!important}
html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-st:not(.off) i::after{content:"";position:absolute;inset:0;border-radius:50%;background:#2fbf9f;animation:k154ring 1.9s ease-out infinite}
html body #view-detail .badge.available::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;vertical-align:1px;border-radius:50%;background:#1f9d6b;box-shadow:0 0 0 0 rgba(31,157,107,.55);animation:k154dot 1.9s ease-out infinite}
@keyframes k154dot{0%{box-shadow:0 0 0 0 rgba(31,157,107,.55)}80%,100%{box-shadow:0 0 0 7px rgba(31,157,107,0)}}
html body .k106-tg::before{animation:k154dot 1.9s ease-out infinite!important}
html body .esp-b.ok::before{animation:k154dot 1.9s ease-out infinite!important}
@media (prefers-reduced-motion:reduce){html body:not(#_x):not(#_y):not(#_z) #view-detail.k102 .k102-st:not(.off) i::after,html body #view-detail .badge.available::before{animation:none!important}}

/* ===== Page d'annonce : survol (ombre) sur la ligne annonceur, les rubriques « À savoir » et les avis ===== */
html body #view-detail .dadv,html body #view-detail .k102-hr,html body #view-detail .k104-avc{transition:box-shadow .2s ease,background-color .2s ease}
html body #view-detail .dadv{padding:12px 14px;margin-left:-14px;margin-right:-14px;border-radius:16px}
html body #view-detail .dadv:hover,html body #view-detail .k104-avc:hover{box-shadow:0 6px 16px rgba(0,0,0,.12)}
html body #view-detail .k104-avc{padding:12px 14px;margin:-12px -14px;border-radius:16px}
html[data-theme="dark"] body #view-detail .dadv:hover,html[data-theme="dark"] body #view-detail .k104-avc:hover{box-shadow:0 6px 18px rgba(0,0,0,.45)}
@media (prefers-reduced-motion:reduce){html body #view-detail :is(.dadv,.k102-hr,.k104-avc){transition:none}}

/* ===== pagination des résultats ===== */
html body #results>[data-k159]{display:none!important}
html body .k159-pg{display:flex;align-items:center;justify-content:center;gap:6px;margin:32px 0 8px;flex-wrap:wrap}
html body .k159-pg button{min-width:36px;height:36px;padding:0 8px;border:0;border-radius:50%;background:transparent;color:var(--a-ink,#222);font:600 14px var(--a-font,inherit);cursor:pointer;transition:background .15s ease}
html body .k159-pg button:hover:not(:disabled):not(.on){background:var(--a-faint,#f2f2f2)}
html body .k159-pg button.on{background:var(--a-ink,#222);color:var(--a-canvas,#fff)}
html body .k159-pg button:disabled{opacity:.3;cursor:default}
html body .k159-pg .k159-dt{min-width:24px;text-align:center;color:var(--a-mute,#6a6a6a)}
html body .k159-pg button:focus-visible{outline:2px solid var(--a-ink,#222);outline-offset:2px}

/* compteur au-dessus des numéros de page */
html body .k159-pg .k159-ct{flex:0 0 100%;text-align:center;margin:0 0 6px;font:500 14px/1.3 Figtree,sans-serif;color:var(--a-mute,#6a6a6a)}
