/* KORDA V118 — lot 5 (30 nov. 23h53). Fichier à part : ne modifie pas les corrections déjà validées. */
/* photo de profil (en-tête, menu, espace) : l'initiale ne déborde plus quand la photo est là */
html body #profil-btn>img~span:not(.k158-ck),html body .profil-menu .pm-avatar>img~span:not(.k158-ck),html body #view-espace:not(.sa) .esp-avatar>img~span:not(.k158-ck){display:none!important}
/* coche vérifiée : posée sur le bord du cercle (à 45°), pas sur le coin du carré */
html body .k158-ck{right:auto!important;bottom:auto!important;width:36%!important;min-width:15px!important;max-width:24px!important;left:66%!important;top:66%!important}
html body:not(#_x):not(#_y):not(#_z):not(#_w) #view-detail.k102 .k102-ver::after{right:auto!important;bottom:auto!important;width:32%!important;height:32%!important;min-width:16px!important;min-height:16px!important;left:68.5%!important;top:68.5%!important}
/* pied de page : une seule ligne élégante au survol */
html body:not(#_x):not(#_y) footer .v10-fl a:hover{background-size:0 0!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important}
/* liste/carte : sur ordinateur la carte reste à côté de la liste, pas de bascule */
@media(min-width:1024px){#view-recherche .rc-views{display:none!important}}
/* carte annonceur (fiche) : vraie rubrique encadrée, avec survol */
html body:not(#_x):not(#_y):not(#_z):not(#_w) #view-detail.k102 .k102-main .dadv{border:1px solid var(--a-line,#ebebeb)!important;border-radius:16px!important;padding:16px 18px!important;background:var(--a-card,#fff)!important;margin:6px 0!important;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease!important}
html body:not(#_x):not(#_y):not(#_z):not(#_w) #view-detail.k102 .k102-main .dadv:hover{box-shadow:0 6px 16px rgba(0,0,0,.12)!important;transform:translateY(-1px)!important}
html[data-theme="dark"] html body:not(#_x):not(#_y):not(#_z):not(#_w) #view-detail.k102 .k102-main .dadv{background:#15232D!important;border-color:#2A3943!important}
html[data-theme="dark"] html body:not(#_x):not(#_y):not(#_z):not(#_w) #view-detail.k102 .k102-main .dadv:hover{box-shadow:0 6px 16px rgba(0,0,0,.45)!important}
@media(prefers-reduced-motion:reduce){html body:not(#_x):not(#_y):not(#_z):not(#_w) #view-detail.k102 .k102-main .dadv{transition:none!important}html body:not(#_x):not(#_y):not(#_z):not(#_w) #view-detail.k102 .k102-main .dadv:hover{transform:none!important}}
/* photos multiples sur les cartes */
.card .photo .k163-dots{position:absolute;left:0;right:0;bottom:9px;display:flex;justify-content:center;gap:4px;pointer-events:none;z-index:3}
.card .photo .k163-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.6);transition:background .15s,transform .15s}
.card .photo .k163-dots i.on{background:#fff;transform:scale(1.15)}
.card .photo .k163-dots i.sm{transform:scale(.7)}
.card .photo .k163-ar{position:absolute;top:50%;margin-top:-14px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#222;display:grid;place-items:center;padding:0;cursor:pointer;opacity:0;transition:opacity .15s,transform .15s;z-index:4;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.card .photo .k163-ar[hidden]{display:none}
.card .photo .k163-p{left:8px}.card .photo .k163-n{right:8px}
.card .photo .k163-ar:hover{transform:scale(1.06)}
.card:hover .photo .k163-ar,.card .photo .k163-ar:focus-visible{opacity:1}
@media(hover:none){.card .photo .k163-ar{opacity:1}}

/* Mes annonces par mois : chaque mois est une carte en relief, avec ombre au survol (Airbnb) */
html body #view-espace .k160-h{background:var(--e-card,#fff);border:1px solid var(--e-line,#ebebeb);border-radius:14px;padding:16px 18px;margin:0 0 14px;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
html body #view-espace .k160-h:hover{box-shadow:0 6px 16px rgba(0,0,0,.12);transform:translateY(-1px)}
html body #view-espace .k160-h:active{transform:translateY(0)}
html body #view-espace .k160-h:hover .k160-c{background:var(--e-faint,#f2f2f2)}
html[data-theme="dark"] body #view-espace .k160-h:hover{box-shadow:0 6px 16px rgba(0,0,0,.45)}
@media(prefers-reduced-motion:reduce){html body #view-espace .k160-h{transition:none}html body #view-espace .k160-h:hover{transform:none}}
/* Fiche : « Faites connaissance » — la coche sort du cercle de la photo et touche le fond blanc */
html body:not(#_x):not(#_y):not(#_z):not(#_w) .k103-kha.k102-ver::after{left:73%!important;top:73%!important;width:30%!important;height:30%!important}
/* Fiche : contact d'une annonce officielle Korda (logo à la place de la photo) */
.ctc-av.ctc-av-k{overflow:visible}
.ctc-av.ctc-av-k>*:not(.ctc-vk){width:100%;height:100%;border-radius:50%;display:block}

/* la carte est là : la mention « Carte en cours d’intégration » n’a plus lieu d’être */
html body #view-recherche .panel.small:has(+ .rc-bar){display:none!important}

/* Recherche : les cartes ont EXACTEMENT la taille de celles de l'accueil (6 par ligne sur 1180 px = 179 px ; 4 par ligne en dessous), jamais plus grandes ni plus petites */
#view-recherche{--kcw:calc((min(100vw,1180px) - 48px - 60px)/6);--kn:3}
@media(max-width:1180px){#view-recherche{--kcw:calc((100vw - 48px - 36px)/4);--kn:2}}
@media(min-width:761px){
  html body:not(#_x):not(#_y) main.rc-split #view-recherche .rc-body{grid-template-columns:max-content minmax(0,1fr)}
  html body:not(#_x):not(#_y) main #view-recherche .rc-list .grid:has(>.card[data-lid]){grid-template-columns:repeat(auto-fill,var(--kcw))!important;gap:12px!important;justify-content:start}
  html body:not(#_x):not(#_y) main.rc-split #view-recherche .rc-list .grid:has(>.card[data-lid]){grid-template-columns:repeat(var(--kn),var(--kcw))!important}
}

/* admin : « Toutes les annonces » par mois, la grille de cartes occupe toute la largeur du mois déplié */
html body #view-espace .k160-b>.kr-grille-cartes{grid-column:1/-1}

/* admin, Mes annonces : le bloc Premium et le bloc Immersion 360° ne se touchent plus ni ne se chevauchent (10 px entre blocs) */
html body #view-espace.sa:not(#k1):not(#k2):not(#k3) .esp-ann :is(.kp-zone,.kg-row){position:static!important;margin:10px 0 0!important;box-sizing:border-box;width:100%;clear:both}
html body #view-espace.sa:not(#k1):not(#k2):not(#k3) .esp-ann .kp-zone+.kp-btn-prem,html body #view-espace.sa:not(#k1):not(#k2):not(#k3) .esp-ann .kp-btn-prem{margin-top:10px!important}
