/* ═══════════════════════════════════════════════════════════════════
   Lignes d'annonces
   Chargée par la page publique comme par l'espace connecté, avec des
   couleurs écrites en clair : les deux contextes n'ont pas les mêmes
   variables, et une annonce doit se lire pareil des deux côtés.
   ═══════════════════════════════════════════════════════════════════ */

.anc-liste { display: flex; flex-direction: column; gap: 14px; }

.anc-ligne {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 20px;
  align-items: stretch;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.anc-ligne:hover { box-shadow: 0 14px 34px -26px rgba(20, 19, 43, .55); border-color: #c7c5fb; }

/* Une annonce validée par son auteur : une teinte et une bordure qui la
   détachent des autres, sans crier. */
.anc-ligne--validee {
  border-color: #c9c6fb;
  background: linear-gradient(180deg, #f7f6ff 0%, #ffffff 70%);
  box-shadow: 0 10px 28px -24px rgba(93, 89, 243, .55);
}
.anc-ligne--validee:hover { border-color: #a9a5f8; }

@media (max-width: 760px) {
  .anc-ligne { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
}

/* ─── Bandeau du haut ────────────────────────────────────────────── */
.anc-haut {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.anc-type,
.anc-olnis,
.anc-etudiants {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* Une couleur par type de mission : on retrouve les remplacements d'un coup
   d'œil dans une liste qui en mêle quatre sortes. */
.anc-type {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.anc-type--remplacement  { background: #eef2ff; color: #3730a3; border-color: #dcdffb; }
.anc-type--collaboration { background: #ecfdf5; color: #0f6e56; border-color: #c7f0e1; }
.anc-type--poste         { background: #eff6ff; color: #1d4ed8; border-color: #d3e4fd; }
.anc-type--cession       { background: #fdf2f8; color: #9d174d; border-color: #fbd8e8; }
.anc-type--autre         { background: #f3f4f7; color: #4a4f60; border-color: #e5e7ec; }

.anc-olnis {
  padding: 4px 10px;
  border-radius: 999px;
  background: #5d59f3;
  color: #ffffff;
}
.anc-etudiants { color: #92400e; }
.anc-date { margin-left: auto; font-size: 12.5px; color: #8f95a1; white-space: nowrap; }

/* ─── Corps ──────────────────────────────────────────────────────── */
.anc-titre { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.anc-titre a { color: #14132b; text-decoration: none; }
.anc-titre a:hover { color: #4741ce; text-decoration: underline; }

.anc-extrait {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #5e6472;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anc-pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.anc-pastille {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f7f8fa;
  border: 1px solid #eceef2;
  font-size: 13px;
  color: #4a4f60;
}
.anc-pastille i { color: #8f95a1; font-size: 12.5px; }
.anc-pastille-source { background: #fff; border-style: dashed; }

/* ─── Colonne de droite ──────────────────────────────────────────── */
.anc-cote {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  border-left: 1px solid #f1f1f4;
  padding-left: 18px;
}
@media (max-width: 760px) {
  .anc-cote {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    border-left: 0;
    border-top: 1px solid #f1f1f4;
    padding: 12px 0 0;
  }
}

.anc-actions { display: flex; gap: 6px; }
.anc-action {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e5e7ec;
  border-radius: 8px;
  background: #ffffff;
  color: #8f95a1;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.anc-action:hover { color: #4741ce; border-color: #c7c5fb; background: #f7f7ff; }
.anc-action.est-actif { color: #d97706; border-color: #fcd9a6; background: #fff8ed; }
.anc-action[data-marque="masque"].est-actif { color: #4a4f60; border-color: #d3d6dd; background: #f3f4f7; }

.anc-ouvrir {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #4741ce;
  text-decoration: none;
  white-space: nowrap;
}
.anc-ouvrir i { transition: transform .15s ease; }
.anc-ouvrir:hover { color: #2f2a9e; text-decoration: none; }
.anc-ouvrir:hover i { transform: translateX(3px); }

/* ─── Entête de liste et liste vide ──────────────────────────────── */
.anc-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.anc-compte { font-size: 15px; color: #4a4f60; }
.anc-compte strong { color: #14132b; font-size: 17px; }

.anc-vide {
  padding: 40px 24px;
  text-align: center;
  border: 1.5px dashed #d3d6dd;
  border-radius: 14px;
  color: #5e6472;
}
.anc-vide h3 { font-size: 17px; color: #14132b; margin: 10px 0 4px; }
.anc-vide p { margin: 0; font-size: 14px; }

/* ─── Page d'une annonce ─────────────────────────────────────────── */
.anc-detail {
  margin-top: 18px;
  padding: 30px 32px 26px;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 16px;
}
@media (max-width: 600px) { .anc-detail { padding: 22px 20px; } }

.anc-detail-titre {
  margin: 6px 0 16px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #14132b;
}
.anc-detail-texte { font-size: 15.5px; line-height: 1.7; color: #3d4250; }
.anc-detail-texte p { margin: 0 0 14px; }
.anc-detail-mention {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid #f1f1f4;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8f95a1;
}
.anc-detail-mention a { color: #4741ce; }

.anc-contact {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #f7f7ff;
  border: 1px solid #e1dffd;
}
.anc-contact h2 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: #14132b; }
.anc-contact p { margin: 0 0 12px; font-size: 14.5px; color: #4a4f60; }
.anc-contact-liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.anc-contact-liste li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #14132b; }
.anc-contact-liste i { color: #5d59f3; }
.anc-contact-liste a { color: #4741ce; text-decoration: none; font-weight: 600; }
.anc-contact-liste a:hover { text-decoration: underline; }
.anc-source-lien { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #4741ce; text-decoration: none; }
.anc-source-lien:hover { text-decoration: underline; }

/* Le mur : ce qu'on voit sans compte. */
.anc-mur {
  margin-top: 26px;
  padding: 26px 24px;
  border-radius: 14px;
  background: linear-gradient(160deg, #f0effe 0%, #ffffff 70%);
  border: 1px solid #e1dffd;
  text-align: center;
}
.anc-mur-ico {
  width: 46px; height: 46px; margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #ffffff; border: 1px solid #e1dffd; color: #5d59f3; font-size: 20px;
}
.anc-mur h2 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: #14132b; }
.anc-mur p { margin: 0 auto 16px; max-width: 52ch; font-size: 14.5px; line-height: 1.6; color: #4a4f60; }
.anc-mur-boutons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─── Formulaire d'alerte ────────────────────────────────────────── */
.anc-form-ligne { margin-bottom: 14px; }
.anc-form-ligne label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #3d4250;
  margin-bottom: 6px;
}
.anc-champ {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #d3d6dd;
  border-radius: 11px;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  color: #14132b;
}
.anc-champ:focus { outline: none; border-color: #5d59f3; box-shadow: 0 0 0 4px #f0effe; }
.anc-champ:disabled { background: #f7f8fa; color: #8f95a1; }

/* ─── Ce qui est réservé aux comptes ─────────────────────────────── */
.anc-flou {
  position: relative;
  user-select: none;
}
.anc-flou > * {
  filter: blur(5px);
  opacity: .75;
  pointer-events: none;
}
/* Le texte flouté s'arrête en fondu : on voit qu'il continue. */
.anc-flou--fondu::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff 88%);
  pointer-events: none;
}

.anc-flou--fondu { max-height: 220px; overflow: hidden; }

.anc-bouton-flou {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  background: #5d59f3;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  filter: blur(4px);
  opacity: .8;
  user-select: none;
  pointer-events: none;
}

/* ─── Barre de recherche ─────────────────────────────────────────── */
.anc-recherche { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.anc-recherche-champ { position: relative; display: flex; align-items: center; flex: 1 1 220px; margin: 0; }
.anc-recherche-champ i { position: absolute; left: 14px; color: #8f95a1; font-size: 15px; pointer-events: none; }
.anc-recherche-champ input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  border: 1.5px solid #d3d6dd;
  border-radius: 11px;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  color: #14132b;
}
.anc-recherche-champ input:focus { outline: none; border-color: #5d59f3; box-shadow: 0 0 0 4px #f0effe; }
.anc-recherche button {
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  background: #5d59f3;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.anc-recherche button:hover { background: #4741ce; }

/* ─── Le champ des lieux : plusieurs villes, en étiquettes ───────── */
/* Les règles sont portées par .anc-recherche : la page publique a les
   siennes, et les deux ne doivent pas se marcher dessus. */
.anc-recherche .pub-lieux {
  flex-wrap: wrap;
  gap: 6px;
  min-height: 46px;
  padding: 5px 12px 5px 40px;
  border: 1.5px solid #d3d6dd;
  border-radius: 11px;
  background: #ffffff;
}
.anc-recherche .pub-lieux:focus-within { border-color: #5d59f3; box-shadow: 0 0 0 4px #f0effe; }
/* L'icône reste en haut quand le champ grandit sur deux lignes. */
.anc-recherche .pub-lieux i { top: 15px; }
.anc-recherche .pub-lieux-choisis { display: contents; }
.anc-recherche .pub-lieu {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 4px 3px 10px;
  border-radius: 999px;
  background: #f0effe;
  font-size: 13.5px;
  font-weight: 600;
  color: #4741ce;
  white-space: nowrap;
}
.anc-recherche .pub-lieu-x {
  height: auto;
  min-height: 0;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  color: #4741ce;
}
.anc-recherche .pub-lieu-x:hover { background: none; color: #14132b; }
.anc-recherche .pub-lieux-saisie {
  flex: 1 1 130px;
  width: auto;
  min-width: 110px;
  height: 34px;
  padding: 0;
  border: 0;
  background: none;
}
.anc-recherche .pub-lieux-saisie:focus { border: 0; box-shadow: none; }
.anc-recherche .pub-lieux.est-plein .pub-lieux-saisie { display: none; }
.anc-recherche .pub-lieux-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 19, 43, .12);
}
.anc-recherche .pub-lieux-item { display: grid; gap: 1px; padding: 10px 14px; cursor: pointer; }
.anc-recherche .pub-lieux-item strong { font-size: 14.5px; font-weight: 600; color: #14132b; }
.anc-recherche .pub-lieux-item small { font-size: 12.5px; color: #8f95a1; }
.anc-recherche .pub-lieux-item.est-actif,
.anc-recherche .pub-lieux-item:hover { background: #f0effe; }

/* ─── Filtres à gauche, liste à droite ───────────────────────────── */
.anc-grille { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
@media (max-width: 900px) { .anc-grille { grid-template-columns: 1fr; gap: 16px; } }

.anc-filtres {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 16px;
}
.anc-filtres h2 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #14132b; }
.anc-filtres-bascule, .anc-filtres-bascule-label { display: none; }

/* Sur un écran étroit, les filtres se replient derrière un bouton. */
@media (max-width: 900px) {
  .anc-filtres { position: static; padding: 0; border: 0; }
  .anc-filtres h2 { display: none; }
  .anc-filtres-bascule-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7ec;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #14132b;
    cursor: pointer;
    user-select: none;
  }
  .anc-filtres-bascule-label::after {
    content: "";
    width: 10px; height: 10px;
    border-right: 2px solid #4a4f60;
    border-bottom: 2px solid #4a4f60;
    transform: rotate(45deg);
    transition: transform .2s ease;
  }
  .anc-filtres-bascule:checked ~ .anc-filtres-bascule-label::after { transform: rotate(-135deg); }
  .anc-filtres-contenu { display: none; padding: 14px 16px 4px; }
  .anc-filtres-bascule:checked ~ .anc-filtres-contenu { display: block; }
}

.anc-groupe + .anc-groupe { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f1f1f4; }
.anc-groupe-titre {
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4a4f60;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.anc-filtre {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #14132b;
  cursor: pointer;
}
.anc-filtre input { width: 16px; height: 16px; accent-color: #5d59f3; flex-shrink: 0; }
.anc-reinit { display: inline-block; margin-top: 18px; font-size: 13px; color: #8f95a1; text-decoration: none; }
.anc-reinit:hover { color: #4741ce; text-decoration: underline; }

.anc-tete-boutons { display: flex; gap: 8px; flex-wrap: wrap; }

/* ─── Les pages, en bas de liste ─────────────────────────────────── */
.anc-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}
.anc-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  min-height: 42px;
  padding: 0 13px;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: #4a4f60;
  text-decoration: none;
}
.anc-page:hover { border-color: #c7c9d9; color: #14132b; }
.anc-page.est-actuelle { background: #5d59f3; border-color: #5d59f3; color: #ffffff; }
.anc-page-saut { padding: 0 2px; color: #8f95a1; }
.anc-pages-compte { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: #8f95a1; }
@media (max-width: 560px) { .anc-page--fleche { flex: 1 1 100%; } }
.anc-mention-liste { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: #8f95a1; }
.anc-mention-liste a { color: #8f95a1; }

/* ─── Toutes, favoris, masquées ──────────────────────────────────── */
.anc-vues { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.anc-vue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #e5e7ec;
  border-radius: 999px;
  background: #ffffff;
  color: #4a4f60;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.anc-vue:hover { border-color: #c7c5fb; color: #4741ce; }
.anc-vue span { font-size: 12px; color: #8f95a1; }
.anc-vue.est-actif { background: #14132b; border-color: #14132b; color: #ffffff; }
.anc-vue.est-actif span { color: rgba(255, 255, 255, .7); }

/* Lu par les lecteurs d'écran, invisible à l'œil. Les deux gabarits chargent
   cette feuille, l'étiquette d'un champ ne dépend donc plus de l'un d'eux. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Annonces publiques : le maillage par ville ──────────────────── */

/* Une rangée de villes, pas une liste à puces. Elle sert à deux lecteurs :
   celui qui cherche près de chez lui, et le moteur qui ne découvre que ce
   qu'on lui montre. Le compte posé sur chaque ville évite la déception
   d'une page vide. */
.pub-villes {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 16px 18px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--slate-200, #e2e8f0);
  border-radius: 14px;
}
.pub-villes-titre {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--slate-400, #94a3b8);
  margin-right: 4px;
}
.pub-ville {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--slate-50, #f8fafc);
  border: 1px solid transparent;
  font-size: 13.5px; font-weight: 500;
  color: var(--slate-700, #334155);
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease;
}
.pub-ville:hover { background: #f0effe; border-color: #c4c1fb; color: #4c3fcf; }
.pub-ville span {
  font-size: 11.5px; font-weight: 700; color: var(--slate-400, #94a3b8);
}
.pub-ville--ici { background: #4c3fcf; color: #fff; }
.pub-ville--ici span { color: rgba(255, 255, 255, .7); }

/* Le maillage par département, en bas de la liste. */
.pub-deps { max-width: 1120px; margin: 0 auto; padding: 8px 24px 56px; }
.pub-deps h2 { margin: 0 0 6px; font-size: 22px; font-weight: 750; letter-spacing: -.01em; color: var(--fg, #0f172a); }
.pub-deps p { margin: 0 0 16px; font-size: 14.5px; color: var(--fg-2, #475569); }
.pub-deps .pub-villes { margin: 0; }


/* ─── Revendiquer son annonce ─────────────────────────────────────
   Pour l'auteur d'une annonce affichée en index : le capybara épingle
   l'annonce au tableau, à côté de ce que la revendiquer lui apporte. */
.anc-banniere {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 8px 28px;
  margin: 0 0 26px;
  padding: 22px 30px 22px 16px;
  border: 1px solid #e3e1fb;
  border-radius: 20px;
  background:
    radial-gradient(120% 140% at 0% 100%, #efeeff 0%, transparent 55%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 100%);
}
.anc-banniere-image { display: flex; justify-content: center; align-self: end; }
.anc-banniere-image img { display: block; width: 200px; height: auto; }
.anc-banniere-corps h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #14122b;
}
.anc-banniere-lead { margin: 6px 0 0; font-size: 15.5px; color: #55536e; }
.anc-banniere-atouts {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.anc-banniere-atouts li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #55536e;
}
.anc-banniere-atouts strong { color: #14122b; font-weight: 700; }
.anc-banniere-atouts i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #ebeafe;
  color: #5d59f3;
  font-size: 14px;
}
.anc-banniere-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}
.anc-banniere-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: #5d59f3;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease;
}
.anc-banniere-cta:hover { background: #4741ce; color: #ffffff; text-decoration: none; }
.anc-banniere-note { flex: 1 1 260px; font-size: 13px; line-height: 1.45; color: #8a88a3; }
@media (max-width: 760px) {
  .anc-banniere {
    grid-template-columns: 1fr;
    padding: 20px 20px 22px;
    text-align: left;
  }
  .anc-banniere-image { justify-content: flex-start; }
  .anc-banniere-image img { width: 132px; }
  .anc-banniere-corps h2 { font-size: 20px; }
}

/* Sous « Lire l'annonce », pour l'auteur qui reconnaît la sienne. */
.anc-revendiquer {
  font-size: 12.5px;
  font-weight: 600;
  color: #8a88a3;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.anc-revendiquer:hover { color: #4741ce; }

/* ─── Le mur : une annonce sans compte, pas deux ─────────────────── */
.anc-retour { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #4741ce; text-decoration: none; }
.anc-retour:hover { text-decoration: underline; }
.anc-mur-apercu {
  margin-top: 18px;
  padding: 24px 26px;
  border: 1px solid #e5e7ec;
  border-radius: 16px;
  background: #ffffff;
}
.anc-mur-apercu h1 {
  margin: 12px 0 12px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #14132b;
}
/* Le texte, deviné plutôt que lu : des lignes estompées à sa place. */
.anc-mur-flou { display: grid; gap: 10px; margin-top: 18px; }
.anc-mur-flou span {
  display: block;
  height: 11px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eceef3 0%, #f5f6f9 100%);
}
.anc-mur--compte { margin-top: 18px; }
.anc-mur-mascotte { display: block; width: 120px; height: auto; margin: 0 auto 6px; }
.anc-mur-note { margin: 16px auto 0 !important; font-size: 13px !important; color: #8a88a3 !important; }
.anc-mur-note a { color: #4741ce; }

/* La fenêtre qui arrête le clic sur une deuxième annonce, par-dessus la liste. */
.anc-fenetre { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.anc-fenetre[hidden] { display: none; }
.anc-fenetre-fond { position: absolute; inset: 0; background: rgba(20, 19, 43, .45); }
.anc-fenetre-boite {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 30px 28px 26px;
  border-radius: 20px;
  background: linear-gradient(160deg, #f0effe 0%, #ffffff 60%);
  box-shadow: 0 30px 70px -30px rgba(20, 19, 43, .6);
  text-align: center;
  animation: anc-fenetre-entree .18s ease-out;
}
.anc-fenetre-boite h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: #14132b; }
.anc-fenetre-boite p { margin: 0 auto 16px; font-size: 14.5px; line-height: 1.6; color: #4a4f60; }
.anc-fenetre-x {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 10px;
  border: 0; background: transparent; color: #8a88a3; cursor: pointer;
}
.anc-fenetre-x:hover { background: #ebeafe; color: #14132b; }
@keyframes anc-fenetre-entree { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .anc-fenetre-boite { animation: none; } }
