/* Adjugé! — front. Extrait de app.css (Recherche / Vendre / Profil).
   Les app.*.css sont chargés DANS L'ORDRE (la cascade en dépend) ;
   ne pas réordonner les <link>. */
/* ---------- Recherche / Vendre / Profil ---------- */
.page-pad { padding: 0 18px; }
.page-title { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; margin-top: 10px; }
.page-sub { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
/* Barre de l'écran recherche + bouton « Fermer » qui ramène à l'accueil */
.search-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.search-close { flex-shrink: 0; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.searchbox {
  flex: 1; height: 46px; border-radius: 14px; background: #FFFFFF;
  border: 1px solid var(--line); display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
}
/* 16px minimum sur TOUS les champs : en dessous, iOS Safari zoome
   automatiquement la page au focus — désagréable et sans retour arrière. */
.searchbox input {
  flex: 1; border: none; outline: none; background: none; font-size: 16px;
}
.searchbox input::placeholder { color: var(--muted2); }
/* On masque la croix native (WebKit) : on a la nôtre, mieux placée */
.searchbox input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-clear {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px;
  background: var(--chip-bg); color: var(--muted); font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.search-grid { padding: 18px 0 0; }
.sec-label {
  margin-top: 24px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted);
}
/* Pilule localisation dans la barre d'outils de recherche */
.geo-pill .pin { font-size: 13px; }
.geo-pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
#geo-pill-label { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Panneau « Où cherchez-vous ? » */
#geo-sheet {
  position: fixed; inset: 0; z-index: 58; overflow: auto;
  background: var(--bg); max-width: 480px; margin: 0 auto;
  padding: calc(14px + var(--sat)) 18px calc(30px + var(--sab));
  animation: fadeIn 0.18s ease;
}
.geo-input-box { margin-top: 16px; }
.geo-input-box .pin { font-size: 15px; }
#geo-autocomplete { margin-top: 4px; }
#geo-selected { margin-top: 14px; }
.geo-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: #FDEEE3; border: 1px solid #F3C9A8;
  font-size: 13px; font-weight: 700; color: var(--orange-dark);
}
.geo-chip button { color: var(--orange-dark); font-size: 13px; }
.geo-radius-val { color: var(--orange); font-weight: 800; }
.geo-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  border-radius: 999px; background: var(--line); margin-top: 10px; outline: none;
}
.geo-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px;
  border-radius: 999px; background: var(--orange); cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.geo-slider::-moz-range-thumb {
  width: 26px; height: 26px; border: none; border-radius: 999px;
  background: var(--orange); cursor: pointer;
}
.geo-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--muted2); }
/* Carte d'aperçu du secteur (tuiles OSM + cercle de rayon) */
.geo-map {
  position: relative; margin-top: 14px; height: 200px; border-radius: 16px;
  overflow: hidden; border: 1px solid var(--card-line); background: #E8EDE6;
}
.geo-map-tiles { position: absolute; inset: 0; }
.geo-map-tiles img { position: absolute; width: 256px; height: 256px; user-select: none; pointer-events: none; }
.geo-map-circle {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border-radius: 999px; background: rgba(232,89,12,0.16);
  border: 2px solid var(--orange); pointer-events: none;
}
.geo-map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  font-size: 22px; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.geo-attrib {
  position: absolute; left: 6px; bottom: 4px; font-size: 9px;
  color: #3a3a3a; background: rgba(255,255,255,0.7); padding: 1px 5px;
  border-radius: 6px; pointer-events: none;
}
.geo-actions { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.geo-validate { flex: 1; }
#geo-clear-all { flex-shrink: 0; }

/* Autocomplétion ville du formulaire de vente */
.city-ac { margin-top: 4px; }
.city-ac .recent-row { padding: 11px 2px; }

/* Suggestions de catégorie pendant la frappe (« moto dans Motos ») */
#search-suggest { margin-top: 8px; }
.suggest-line {
  flex: 1; min-width: 0; font-size: 14.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.suggest-line b { font-weight: 700; color: var(--ink); }
.suggest-dans { color: var(--muted2); font-weight: 600; }
.suggest-cat { font-weight: 800; color: var(--orange); }

/* Onglets « Articles | Membres » (façon Vinted) sous la barre de recherche */
.search-tabs {
  display: flex; margin-top: 12px; border-bottom: 1px solid var(--line);
}
.search-tab {
  flex: 1; padding: 11px 0 10px; font-size: 14px; font-weight: 700;
  color: var(--muted); text-align: center;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.15s;
}
.search-tab.on { color: var(--ink); border-bottom-color: var(--orange); }
.search-tab:active { opacity: 0.7; }

/* Onglet « Membres » : lignes membre (réutilise .p-row : avatar + nom + chevron) */
#search-members { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
#search-members .sec-label { margin: 4px 0 0; }
.member-row .chev { color: var(--muted2); font-size: 18px; flex-shrink: 0; }

/* Barre d'outils des résultats de recherche : nombre + pilule Filtres */
.search-toolbar {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.search-toolbar::-webkit-scrollbar { display: none; }
.search-toolbar .filters-pill { flex-shrink: 0; }
.pill-chev { font-size: 11px; color: var(--muted2); margin-left: 1px; }
.search-count-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.search-count { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.search-share {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-size: 12.5px; font-weight: 700; color: var(--orange);
}
.search-share svg { display: block; }
.filters-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: #FFFFFF;
  border: 1px solid var(--line); font-size: 13px; font-weight: 700;
  transition: transform 0.1s;
}
.filters-pill:active { transform: scale(0.96); }
/* Pilule SÉLECTIONNÉE (toggle actif : « Clôture aujourd'hui », « Achat
   immédiat », tri non-défaut…) — fond sombre, comme .cat-pill.on /
   .geo-pill.on / .filter-chip.on. Sans cette règle, le JS posait bien la classe
   .on mais rien ne marquait visuellement la sélection. */
.filters-pill.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters-pill .ic-sliders { width: 15px; }
.filters-pill .filters-badge { position: static; margin-left: 2px; }

/* « Parcourir par catégorie » : grandes catégories affichées EN CLAIR sur
   l'accueil de la recherche (façon leboncoin), un tap ouvre les sous-catégories. */
.search-cats { margin-top: 6px; }
.search-cat-row {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 16px 2px; border-bottom: 1px solid var(--card-line);
  font-size: 17px; font-weight: 700; text-align: left;
}
.search-cat-row:last-child { border-bottom: none; }
.search-cat-ico { font-size: 24px; width: 30px; text-align: center; flex-shrink: 0; }
.search-cat-name { flex: 1; min-width: 0; }
.search-cat-row .chev { color: var(--muted2); font-size: 20px; flex-shrink: 0; }
/* Pastille du nombre de résultats d'une recherche sauvegardée */
.saved-count {
  flex-shrink: 0; min-width: 26px; padding: 3px 8px; border-radius: 999px;
  background: var(--orange); color: #FFFFFF; font-size: 11.5px;
  font-weight: 800; text-align: center;
}
.recent-row {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 13px 2px; border-bottom: 1px solid var(--card-line);
  font-size: 13.5px; font-weight: 500; text-align: left;
}
.recent-row:last-child { border-bottom: none; }
.recent-x { color: var(--faint); font-size: 12px; padding: 4px 6px; }

.photo-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; } /* jusqu'à 20 photos */
.photo-add {
  width: 94px; height: 94px; border-radius: 14px; border: 1.5px dashed #D9CDBA;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.photo-add .plus { font-size: 22px; font-weight: 700; color: var(--orange); }
.photo-label { font-size: 10.5px; font-weight: 700; color: var(--muted2); }
.photo-slot { width: 94px; height: 94px; border-radius: 14px; border: 1.5px dashed #E5DBCC; }
.photo-slot.filled {
  position: relative; border: 1px solid var(--card-line);
  background-size: cover; background-position: center;
}
.photo-slot.uploading {
  display: flex; align-items: center; justify-content: center;
  animation: uploadingPulse 1.1s ease-in-out infinite;
}
@keyframes uploadingPulse { 50% { opacity: 0.45; } }
.slot-del {
  position: absolute; top: 5px; right: 5px; width: 22px; height: 22px;
  border-radius: 999px; background: rgba(34,26,18,0.82); color: #FFFFFF;
  font-size: 15px; line-height: 1; display: flex; align-items: center;
  justify-content: center;
}
/* Vidéo courte (façon eBay/Vinted) à l'étape 2 : un titre + un seul slot
   (vidéo OU bouton « Ajouter une vidéo »). Réutilise .photo-add / .slot-del. */
.sell-video-title { margin: 22px 0 4px; font-size: 15px; font-weight: 800; color: var(--chip-ink); }
.sell-video-row { margin-top: 12px; display: flex; }
.video-add { width: 120px; }
.video-add .plus { font-size: 16px; color: var(--orange); }
.sell-video-slot {
  position: relative; width: 160px; max-width: 60%; aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--card-line);
  background: #000;
}
.sell-video-slot video { width: 100%; height: 100%; object-fit: cover; }
.sell-video-slot.uploading {
  display: flex; align-items: center; justify-content: center; background: #EFE6D8;
  animation: uploadingPulse 1.1s ease-in-out infinite;
}
/* Points de la galerie de la fiche (annonces multi-photos / vidéo + photos).
   Le conteneur laisse passer les clics (pointer-events:none) SAUF sur les
   points eux-mêmes (auto) → cliquables pour sauter à une diapo (desktop sans
   swipe, ou accès direct mobile), sans bloquer le tap plein écran ailleurs. */
.photo-dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.photo-dots span {
  width: 6px; height: 6px; border-radius: 999px;
  pointer-events: auto; cursor: pointer;
  background: rgba(255,255,255,0.55); box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.photo-dots span.on { background: #FFFFFF; }
/* Point de la diapo VIDÉO (galerie unifiée vidéo + photos) : un peu plus large
   et arrondi en « pilule » pour signaler qu'elle se lit (façon eBay/Vinted). */
.photo-dots span.is-video { width: 13px; border-radius: 3px; }
.f-label { display: block; margin-top: 20px; font-size: 12px; font-weight: 800; color: var(--chip-ink); }
.f-input {
  margin-top: 7px; width: 100%; min-height: 46px; border-radius: 13px;
  background: #FFFFFF; border: 1px solid var(--line); padding: 12px 14px;
  font-size: 16px; outline: none; /* < 16px = zoom auto iOS au focus */
}
.f-input:focus { border-color: var(--orange); }
.f-input.area { height: 84px; resize: vertical; }
.f-input::placeholder { color: var(--muted2); }
select.f-input { appearance: none; -webkit-appearance: none; }
.f-row { display: flex; gap: 12px; }
.f-col { flex: 1; min-width: 0; }
.f-col.wide { flex: 1.4; }
.price-input { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.price-input input {
  border: none; outline: none; width: 70%; font-size: 16px; font-weight: 800;
  background: none; padding: 12px 0; /* < 16px = zoom auto iOS au focus */
}
.price-input .eur { font-size: 13px; font-weight: 700; color: var(--muted2); }
.seg { margin-top: 7px; display: flex; gap: 6px; }
.seg button {
  flex: 1; height: 46px; border-radius: 13px; background: #FFFFFF;
  border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--muted);
}
.seg button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 800; }
/* Saisie « Autre » (durée personnalisée en jours) : repliée par défaut. */
.dur-custom { margin-top: 12px; }
.dur-custom .f-label { display: block; margin-bottom: 6px; }
.dur-days-input { max-width: 200px; }
.dur-days-input .eur { white-space: nowrap; }
#sell-submit { margin-top: 22px; height: 52px; font-size: 15.5px; }
.reassure { margin-top: 12px; text-align: center; font-size: 11.5px; color: var(--muted2); }

.profile-head { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
/* Photo de profil : l'avatar (.avatar.big, app.detail.css) reçoit sa photo en
   cover via avatarInto (styles inline) ; un tap sur l'image entière la change
   une fois connecté (.editable) — pas de badge caméra (plus sobre/pro). */
.avatar-wrap { position: relative; flex-shrink: 0; }
.avatar.big.editable { cursor: pointer; }
.avatar.big.loading { opacity: 0.55; }
/* Badge « ajouter une photo » : pastille caméra en bas à droite de l'avatar,
   visible SEULEMENT quand aucune photo n'est posée (.avatar-wrap.no-photo) et
   connecté → invite claire à ajouter une photo de profil. Dès qu'une photo
   existe, le badge disparaît (l'image entière reste cliquable pour la changer).
   Masqué par défaut ; le JS pose .no-photo. */
.avatar-add {
  position: absolute; right: -2px; bottom: -2px;
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--orange, #FD6802); color: #fff;
  display: none; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; line-height: 1;
  border: 2px solid var(--bg, #fff); box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  pointer-events: none;  /* le clic passe à l'avatar (déjà la cible) */
}
.avatar-wrap.no-photo .avatar-add { display: flex; }

/* ---------- Recadrage de la photo de profil (cropper plein écran) ---------- */
/* Overlay sombre par-dessus TOUT (au-dessus de pseudo-modal 70, lightbox 70).
   Le markup ne porte AUCUN style inline (CSP stricte) : tout est ici, les
   valeurs dynamiques (transform/width de l'image) sont posées par JS. */
#crop-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: #14100B;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(8px + var(--sat)) 16px calc(20px + var(--sab));
  animation: fadeIn 0.18s ease;
}
.crop-head {
  width: 100%; max-width: 480px;
  display: flex; align-items: center; justify-content: space-between;
  color: #FFFFFF;
}
.crop-title { font-size: 16px; font-weight: 800; }
.crop-cancel, .crop-done {
  background: none; color: #FFFFFF; font-size: 16px; font-weight: 700;
  padding: 8px 4px; min-height: 44px;
}
.crop-done { color: var(--orange); font-weight: 900; }
.crop-cancel:active, .crop-done:active { opacity: 0.55; }
.crop-done:disabled { opacity: 0.4; }  /* le temps que l'image se décode */
/* Zone de cadrage carrée : on y déplace/zoome l'image. touch-action:none →
   le navigateur ne capte pas le drag/pinch pour scroller/zoomer la page. */
.crop-stage {
  position: relative; margin: auto 0;
  width: min(86vw, 360px); aspect-ratio: 1 / 1;
  overflow: hidden; border-radius: 8px; background: #000000;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.crop-img {
  position: absolute; top: 0; left: 0; transform-origin: 0 0;
  max-width: none; will-change: transform;
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none;
}
/* Masque : assombrit hors du cercle (box-shadow géant clippé par overflow) +
   anneau de cadrage. pointer-events:none → le drag/pinch passe vers le stage. */
.crop-mask {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(20, 16, 11, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.92);
}
.crop-tools {
  width: 100%; max-width: 320px; margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
}
.crop-zoom { flex: 1; accent-color: var(--orange); }
.crop-zoom-ic {
  width: 16px; text-align: center; flex-shrink: 0;
  color: rgba(255, 255, 255, 0.85); font-size: 22px; font-weight: 700; line-height: 1;
}
.crop-hint { margin-top: 12px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.6); }

.p-name-row { display: flex; align-items: center; gap: 8px; }
.p-name { font-size: 20px; font-weight: 900; letter-spacing: -0.3px; }
.p-edit { font-size: 13px; color: var(--muted2); padding: 4px; }
.p-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.p-badges { margin-top: 14px; }
.p-badges .badge { padding: 5px 10px; font-size: 11px; }
.stats {
  margin-top: 16px; background: #FFFFFF; border: 1px solid var(--card-line);
  border-radius: 16px; display: flex; padding: 14px 0;
}
.stat { flex: 1; text-align: center; border-right: 1px solid var(--card-line); }
.stat:last-child { border-right: none; }
.stat-n { font-size: 19px; font-weight: 900; }
.stat-l {
  font-size: 10.5px; font-weight: 700; color: var(--muted2);
  text-transform: uppercase; letter-spacing: 0.8px; margin-top: 2px;
}
.p-rows { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.p-row {
  width: 100%; background: #FFFFFF; border: 1px solid var(--card-line);
  border-radius: 16px; padding: 11px 13px; display: flex; align-items: center;
  gap: 12px; text-align: left; transition: opacity 0.1s;
}
.p-row:active { opacity: 0.85; }
.p-thumb { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; }
.p-row-main { flex: 1; min-width: 0; }
.p-row-title { font-size: 13px; font-weight: 700; line-height: 1.3; }
.p-row-time { font-size: 11.5px; color: var(--muted2); margin-top: 2px; font-variant-numeric: tabular-nums; }
.status-chip {
  padding: 5px 10px; border-radius: 999px; background: var(--chip-bg);
  font-size: 11px; font-weight: 800; color: var(--muted); flex-shrink: 0;
}
.status-chip.lead { background: var(--green-bg); color: var(--green-ink); }
/* « Remportée », « Payée ✓ », « Reçu ✓ », « Expédié 📦 » : issues positives
   → vert (et non plus l'orange pâle, qui lisait comme un avertissement). */
.status-chip.won { background: var(--green-bg); color: var(--green-ink); }
.status-chip.topay { background: var(--orange); color: #FFFFFF; }
/* « Dépassée » (couvert, action possible : re-enchérir) → ambre doux ;
   « Perdue » → rouge doux ; « Annulée » → gris neutre. */
.status-chip.outbid { background: #FBEFE0; color: #B45309; }
.status-chip.lost { background: #FBE9EC; color: #B3243A; }
.status-chip.cancelled { background: var(--chip-bg); color: var(--muted2); }

/* Filtre « Mes enchères » par état (façon Vinted) : pilules scrollables, une
   par possibilité + « Toutes ». Esprit des cat-pill du feed. */
.bid-filters {
  display: flex; gap: 7px; overflow-x: auto; margin-top: 10px;
  padding-bottom: 2px; scrollbar-width: none;
}
.bid-filters::-webkit-scrollbar { display: none; }
.bid-pill {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: #FFFFFF;
  border: 1px solid var(--card-line); color: var(--muted);
  font-size: 12px; font-weight: 700; white-space: nowrap; transition: opacity 0.1s;
}
.bid-pill:active { opacity: 0.85; }
.bid-pill-count {
  font-size: 11px; font-weight: 800; color: var(--muted2);
  font-variant-numeric: tabular-nums;
}
.bid-pill.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.bid-pill.on .bid-pill-count { color: var(--bg); opacity: 0.8; }
.bid-pill.empty { opacity: 0.4; }
.menu {
  margin-top: 22px; background: #FFFFFF; border: 1px solid var(--card-line);
  border-radius: 16px; overflow: hidden;
}
.menu-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px; border-bottom: 1px solid #F3EBE0; font-size: 13.5px;
  font-weight: 600; text-align: left;
}
.menu-item:last-child { border-bottom: none; }
.menu-item .chev { font-size: 16px; }
.menu-item:active { background: var(--bg); }
.favs-count {
  margin-left: auto; margin-right: 10px; min-width: 20px; height: 20px;
  padding: 0 6px; border-radius: 999px; background: var(--chip-bg);
  color: var(--chip-ink); font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; flex-shrink: 0;
}
.favs-count:empty { display: none; }
/* Badge « solde dispo » sur la tuile Porte-monnaie : couleur argent (vert),
   chiffres alignés. :empty (solde 0) → masqué par la règle ci-dessus. */
.wallet-badge {
  background: var(--green-bg); color: var(--green-ink);
  font-variant-numeric: tabular-nums;
}

/* ============ Profil : refonte façon Vinted (thème clair Adjugé!) ============ */
/* (Le titre « Profil » + logo vit désormais dans l'en-tête FLOTTANT
   #profile-header — cf. app.feed.css `.float-header`.) */
/* Carte blanche commune (identité, badges) */
.p-card {
  margin-top: 14px; background: #FFFFFF; border: 1px solid var(--card-line);
  border-radius: 18px; padding: 16px;
}
/* Carte identité : avatar + pseudo + « Voir mes annonces » */
.p-identity { display: flex; align-items: center; gap: 14px; }
.p-identity .avatar-wrap { flex-shrink: 0; }
.p-identity-main { min-width: 0; flex: 1; }
.p-identity .p-name {
  font-size: 19px; font-weight: 900; letter-spacing: -0.3px; line-height: 1.15;
}
.p-see {
  margin-top: 4px; display: inline-flex; align-items: center; gap: 2px;
  font-size: 13.5px; font-weight: 700; color: var(--muted); text-align: left;
}
.p-see .chev { font-size: 16px; color: var(--faint); margin-left: 1px; }
.p-see:active { opacity: 0.6; }
/* Liste de menu : lignes icône + libellé + valeur optionnelle + chevron */
.p-menu {
  margin-top: 14px; background: #FFFFFF; border: 1px solid var(--card-line);
  border-radius: 18px; overflow: hidden;
}
.p-menu-item {
  width: 100%; display: flex; align-items: center; gap: 13px;
  padding: 15px 16px; border-bottom: 1px solid #F3EBE0;
  font-size: 14.5px; font-weight: 600; text-align: left; color: var(--ink);
}
.p-menu-item:last-child { border-bottom: none; }
.p-menu-item:active { background: var(--bg); }
.p-menu-ico { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }
.p-menu-label { flex: 1; min-width: 0; }
.p-menu-val {
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.p-menu-item .favs-count { margin-left: 0; margin-right: 0; }
.p-menu-item .chev { font-size: 18px; color: var(--faint); flex-shrink: 0; }

/* ========== ÉCRAN DE VÉRIFICATION DE L'ANNONCE (avant publication) ==========
   Plein écran, montré au tap « Publier ». Les étapes (texte/photos/conformité)
   défilent en direct ; les transitions « pop » des coches passent par la Web
   Animations API (JS), seules les boucles continues (anneau, spinner) sont en
   @keyframes CSS — la CSP interdit tout style inline, jamais les keyframes en
   feuille. */
#verify-overlay {
  position: fixed; inset: 0; z-index: 80; overflow: auto;
  background: var(--bg); max-width: 480px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: calc(24px + var(--sat)) 22px calc(30px + var(--sab));
  animation: fadeIn 0.22s ease;
}
.verify-card {
  width: 100%; max-width: 360px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* Emblème : disque crème + anneau orange qui tourne + glyphe (loupe → ✓ / ✕). */
.verify-emblem {
  position: relative; width: 92px; height: 92px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.verify-emblem-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--orange); border-right-color: var(--orange);
  animation: verifySpin 0.95s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}
.verify-emblem-glyph {
  position: relative; z-index: 1;
  width: 70px; height: 70px; border-radius: 50%;
  background: #FFFFFF; box-shadow: 0 6px 18px rgba(40, 26, 12, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; line-height: 1;
}
/* Succès : l'anneau se fige en vert plein, le disque devient vert tendre. */
.verify-emblem.ok .verify-emblem-ring {
  animation: none; border-color: var(--green);
}
.verify-emblem.ok .verify-emblem-glyph {
  background: var(--green); color: #FFFFFF; font-weight: 800;
}
/* Échec : anneau ambre figé, glyphe sur fond ambre doux. */
.verify-emblem.ko .verify-emblem-ring {
  animation: none; border-color: #E8A317;
}
.verify-emblem.ko .verify-emblem-glyph {
  background: #FFF4E2; color: #B26A00; font-weight: 800;
}
.verify-title {
  margin: 0; font-size: 19px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.2px;
}
.verify-sub {
  margin: 7px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5;
  min-height: 20px;
}
.verify-steps {
  width: 100%; margin-top: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.verify-step {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; border-radius: 15px;
  background: #FFFFFF; border: 1px solid var(--line);
  opacity: 0.5; transition: opacity 0.3s ease, border-color 0.3s ease;
}
.verify-step.is-active { opacity: 1; border-color: #F2D2B3; }
.verify-step.is-pass { opacity: 1; }
.verify-step.is-fail { opacity: 1; border-color: #F4CF9A; background: #FFFBF4; }
.verify-step-ic {
  position: relative; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-out);
}
.verify-step.is-pass .verify-step-ic { background: var(--green); }
.verify-step.is-fail .verify-step-ic { background: #E8A317; }
.verify-step-glyph {
  font-size: 15px; color: #FFFFFF; font-weight: 800; line-height: 1;
  display: none;
}
.verify-step.is-pass .verify-step-glyph,
.verify-step.is-fail .verify-step-glyph { display: block; }
/* Spinner du pas en cours (n'apparaît que sur .is-active). */
.verify-spin {
  position: absolute; inset: 4px; border-radius: 50%;
  border: 2.5px solid rgba(232, 89, 12, 0.22);
  border-top-color: var(--orange);
  display: none;
}
.verify-step.is-active .verify-spin {
  display: block; animation: verifySpin 0.7s linear infinite;
}
.verify-step-body {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  align-items: flex-start; gap: 2px;
}
.verify-step-label {
  font-size: 14.5px; font-weight: 700; color: var(--ink); text-align: left;
}
.verify-step-note {
  font-size: 12.5px; color: var(--muted); line-height: 1.4; text-align: left;
}
.verify-step.is-fail .verify-step-note { color: #B26A00; }
.verify-foot {
  width: 100%; margin-top: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.verify-btn {
  width: 100%; padding: 15px; border-radius: 14px;
  background: var(--orange); color: #FFFFFF;
  font-size: 15.5px; font-weight: 800; border: none;
}
.verify-btn-ghost {
  width: 100%; padding: 13px; border-radius: 14px;
  background: transparent; color: var(--muted);
  font-size: 14.5px; font-weight: 700; border: none;
}
/* Pastille de confettis du succès (positionnée inline par JS, animée via WAAPI). */
.verify-spark {
  position: absolute; top: 50%; left: 50%; width: 9px; height: 9px;
  border-radius: 2px; pointer-events: none; will-change: transform, opacity;
}
@keyframes verifySpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .verify-emblem-ring, .verify-spin { animation: none; }
  #verify-overlay { animation: none; }
}


/* ===== Inviter des amis (parrainage) ===== */
.invite-hero { text-align: center; padding: 18px 8px 6px; }
.invite-emoji { font-size: 46px; line-height: 1; margin-bottom: 8px; }
.invite-lead { color: var(--ink, #221A12); font-size: 16px; line-height: 1.45; margin: 0 auto; max-width: 30ch; }
.invite-link-row { display: flex; gap: 8px; margin: 18px 0 10px; }
.invite-link-input {
  flex: 1; min-width: 0; border: 1px solid rgba(34,26,18,.18); border-radius: 12px;
  padding: 12px 14px; font-size: 16px; background: #fff; color: var(--ink, #221A12);
}
.invite-copy-btn {
  flex: 0 0 auto; border: 1px solid rgba(34,26,18,.18); border-radius: 12px;
  padding: 12px 16px; font-size: 16px; font-weight: 600; background: #fff;
  color: var(--ink, #221A12); cursor: pointer;
}
.invite-copy-btn:active { background: #f2ece4; }
.invite-share-btn {
  width: 100%; border: none; border-radius: 14px; padding: 15px; font-size: 17px;
  font-weight: 700; background: var(--orange, #FD6802); color: #fff; cursor: pointer;
}
.invite-share-btn:active { background: var(--orange-dark, #CC5402); }
.invite-count { text-align: center; font-weight: 700; color: var(--orange-dark, #CC5402); margin: 16px 0 0; }
.invite-note { text-align: center; color: rgba(34,26,18,.55); font-size: 13px; line-height: 1.4; margin: 18px auto 0; max-width: 34ch; }
