/* ============================================================
   YAKÉ — Modernisation UI UX PRO MAX v9.0
   Header transparent, logo hiérarchisé, cartes épurées, typo contrastée
   Base : ancien front beige conservé, améliorations Material 2026
   ============================================================ */

/* 1. Barre d'état transparente / verte */
:root{
  --bg:#F7F1E8;
  --bg-status:#1C432D; /* vert YAKÉ pour barre d'état */
  --card:#FFFDF9;
  --ink:#111827; /* noir pour titres missions */
  --ink-2:#1C432D; /* vert foncé YAKÉ pour marque */
  --muted:#4B5563; /* gris plus sombre pour contraste secondaire */
  --muted-light:#6B7280;
  --line:#E9E5DD;
  --brand:#1C432D;
  --accent:#C85A32;
  --r:20px;
  --shadow-sm:0 2px 8px rgba(28,67,45,.06);
  --shadow:0 8px 24px rgba(28,67,45,.08);
  --shadow-soft:0 4px 16px rgba(28,67,45,.08), 0 2px 8px rgba(28,67,45,.04); /* FAB douce Material */
}

html{
  background:var(--bg-status); /* barre d'état verte sur Android */
}
body{
  background:var(--bg-status);
}
.app{
  background:var(--bg);
  /* Pour éviter rupture : status bar transparente sur iOS, verte sur Android via theme-color */
}

/* 2. En-tête modernisé */
.maquette-home{
  background:var(--bg);
}
.mh-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 0 18px;
  background: transparent; /* intégration transparente */
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(233,229,221,.6);
  margin-bottom:12px;
}
.mh-logo{
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  font-size:26px !important;
  font-weight:900 !important;
  letter-spacing:-0.8px !important;
  color:var(--ink-2) !important; /* vert YAKÉ */
  line-height:1;
  display:flex;
  align-items:baseline;
  gap:8px;
}
.mh-logo::after{
  content:"· Yamoussoukro";
  font-size:12px;
  font-weight:600;
  color:var(--muted);
  letter-spacing:0.2px;
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.mh-logo::after{
  content:"";
}
.mh-logo-location{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:11px;
  font-weight:600;
  color:var(--muted);
  background:#fff;
  border:1px solid var(--line);
  padding:4px 10px;
  border-radius:999px;
  box-shadow:var(--shadow-sm);
}
.mh-logo-location::before{
  content:"📍";
  font-size:12px;
}
.mh-sub{
  font-size:12px !important;
  font-weight:600 !important;
  color:var(--muted) !important;
  margin-top:6px !important;
  letter-spacing:0.1px;
  line-height:1 !important;
}
.mh-sub > span{
  display:inline-flex;
  align-items:center;
  line-height:1;
}
.mh-actions{gap:10px !important}
.mh-icon{
  width:40px !important;
  height:40px !important;
  border-radius:14px !important;
  background:#FFFFFF !important;
  border:1px solid var(--line) !important;
  box-shadow:0 2px 8px rgba(0,0,0,.06) !important;
  font-size:18px !important;
  color:var(--ink-2) !important;
  transition:all .15s ease !important;
}
.mh-icon:active{transform:scale(.92) !important}

/* 3. Cartes missions épurées */
.home-mission-grid{gap:14px !important}
.home-mission-card{
  border-radius:20px !important;
  border:1px solid rgba(233,229,221,.8) !important;
  background:#FFFFFF !important;
  box-shadow:0 2px 12px rgba(28,67,45,.06) !important;
  overflow:hidden !important;
  transition:transform .18s ease, box-shadow .18s ease !important;
}
.home-mission-card:active{
  transform:translateY(2px) scale(.98) !important;
  box-shadow:0 1px 4px rgba(28,67,45,.04) !important;
}
.home-mission-visual{
  height:120px !important;
  background:#F5F0E6 !important;
  padding:16px !important; /* espace pour respirer illustration scooter */
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  position:relative !important;
}
.home-mission-icon{
  font-size:48px !important;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.08)) !important;
  line-height:1 !important;
}
/* Avatar parfaitement circulaire avec bordure blanche */
.home-client-avatar{
  width:40px !important;
  height:40px !important;
  border-radius:50% !important; /* cercle parfait */
  border:2.5px solid #FFFFFF !important; /* bordure fine blanche détachée */
  object-fit:cover !important;
  background:#FFFFFF !important;
  box-shadow:0 2px 8px rgba(0,0,0,.12) !important;
  left:12px !important;
  bottom:-18px !important;
}
.home-client-initial{
  width:40px !important;
  height:40px !important;
  border-radius:50% !important;
  border:2.5px solid #fff !important;
  background:#FFFFFF !important;
  color:var(--ink-2) !important;
  font-weight:900 !important;
  font-size:16px !important;
  display:grid !important;
  place-items:center !important;
  box-shadow:0 2px 8px rgba(0,0,0,.12) !important;
}
.home-mission-content{
  padding:26px 14px 14px !important;
}
.home-client-name{
  font-size:11px !important;
  font-weight:600 !important;
  color:var(--muted) !important;
  letter-spacing:0.2px !important;
  text-transform:uppercase !important;
}
.home-mission-title{
  font-size:15px !important;
  font-weight:800 !important;
  color:#000000 !important; /* noir pour hiérarchie */
  line-height:1.25 !important;
  margin-top:4px !important;
  min-height:38px !important;
  letter-spacing:-0.2px !important;
}
.home-mission-meta{
  font-size:11px !important;
  font-weight:500 !important;
  color:var(--muted) !important;
  line-height:1.5 !important;
  margin-top:8px !important;
}
.home-mission-price{
  margin-top:12px !important;
  padding-top:10px !important;
  border-top:1px dashed var(--line) !important;
}
.home-mission-price b{
  font-size:14px !important;
  font-weight:800 !important;
  color:var(--ink-2) !important; /* vert YAKÉ */
}
.home-mission-price span{
  font-size:10px !important;
  font-weight:700 !important;
  color:var(--muted-light) !important;
}

/* Mission tile aussi */
.mission-tile{
  border-radius:18px !important;
  border:1px solid var(--line) !important;
  background:#fff !important;
  box-shadow:var(--shadow-sm) !important;
}
.mission-tile .mission-emoji{
  background:#F5F0E6 !important;
  padding:12px !important;
  border-radius:14px !important;
}
.mission-client-photo{
  width:40px !important;
  height:40px !important;
  border-radius:50% !important; /* rond parfait */
  border:2px solid #fff !important;
  box-shadow:0 2px 6px rgba(0,0,0,.1) !important;
}
.client-name{
  font-size:12px !important;
  font-weight:600 !important;
  color:var(--muted) !important;
}
.mission-tile-title{
  font-size:15px !important;
  font-weight:800 !important;
  color:#000 !important;
}

/* 4. Typographie & contrastes */
.mh-hero{
  background:#FFFFFF !important;
  border:1px solid var(--line) !important;
  border-radius:24px !important;
}
.mh-hero small{
  color:var(--brand) !important;
  font-weight:800 !important;
  letter-spacing:.8px !important;
}
.mh-hero h1{
  color:#000000 !important;
  font-weight:900 !important;
  font-size:24px !important;
  letter-spacing:-0.5px !important;
}
.mh-hero p{
  color:#1F2937 !important; /* plus sombre pour contraste */
  font-weight:500 !important;
  font-size:13px !important;
  line-height:1.5 !important;
}
.mh-hero button{
  background:var(--brand) !important;
  color:#fff !important;
  font-weight:800 !important;
  box-shadow:0 4px 12px rgba(28,67,45,.15) !important;
}

/* 5. Bouton + flottant Material */
.mvp-publish{
  background:var(--brand) !important;
  color:#fff !important;
  width:60px !important;
  height:60px !important;
  border-radius:50% !important;
  border:4px solid var(--bg) !important;
  font-size:32px !important;
  font-weight:400 !important;
  box-shadow:var(--shadow-soft) !important; /* ombre douce Material */
  transition:all .2s cubic-bezier(.2,.8,.2,1) !important;
}
.mvp-publish:active{
  transform:scale(.92) !important;
  box-shadow:0 2px 8px rgba(28,67,45,.12) !important;
}

/* 6. Bottom nav line art outline 2026 */
.mvp-bottom-nav{
  background:rgba(255,255,255,.92) !important;
  backdrop-filter:blur(20px) !important;
  -webkit-backdrop-filter:blur(20px) !important;
  border-top:1px solid rgba(233,229,221,.8) !important;
  box-shadow:0 -4px 20px rgba(0,0,0,.04) !important;
  height:calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  padding-bottom:calc(env(safe-area-inset-bottom, 0px)) !important;
  align-items:center !important;
}
.mvp-bottom-nav .nav-item{
  font-weight:600 !important;
  font-size:10px !important;
  color:#6B7280 !important;
  gap:6px !important;
  padding-bottom:6px !important;
}
.mvp-nav-icon{
  font-size:22px !important;
  font-weight:300 !important; /* plus fin, line art */
  line-height:1 !important;
  color:#9CA3AF !important; /* gris clair outline */
  transition:all .15s ease !important;
}
.mvp-bottom-nav .nav-item.on{
  color:var(--brand) !important;
}
.mvp-bottom-nav .nav-item.on .mvp-nav-icon{
  color:var(--brand) !important;
  font-weight:600 !important;
  transform:translateY(-1px) !important;
}
.mvp-bottom-nav .nav-item.on::before{
  content:"" !important;
  position:absolute !important;
  top:0 !important;
  width:32px !important;
  height:3px !important;
  border-radius:0 0 6px 6px !important;
  background:var(--brand) !important;
}
/* Bouton central (+) : flottant au-dessus de la barre, ne chevauche plus les libellés voisins */
.mvp-publish{
  transform:translateY(-16px) !important;
  align-self:flex-start !important;
  z-index:5 !important;
}
.mvp-publish:active{
  transform:translateY(-16px) scale(.92) !important;
}

/* 7. FAB haut-parleur minimaliste blanc */
.fab-listen{
  background:#FFFFFF !important;
  color:var(--ink-2) !important;
  border:1px solid var(--line) !important;
  box-shadow:0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04) !important; /* ombre légère blanche */
  width:48px !important;
  height:48px !important;
  font-size:20px !important;
  right:16px !important;
  bottom:calc(var(--nav-h) + 20px) !important;
}
.fab-listen:active{
  transform:scale(.92) !important;
  box-shadow:0 2px 8px rgba(0,0,0,.06) !important;
}

/* 8. Fix lisibilité conservés + renforcés */
.skill-row span{font-weight:800 !important;color:#000 !important}
#notif-badge, .nbadge, .mvp-nav-badge{
  font-weight:900 !important;
  background:#FFC300 !important;
  color:#000 !important;
  border:2px solid #fff !important;
}
.field label{font-weight:800 !important;color:#000 !important}

/* Aide PIN : discrète, masquée tant qu'aucune erreur n'est survenue. */
.pin-help[hidden]{display:none !important}
.pin-help{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:10px;
  color:#4B5563;
  font-size:12px;
  font-weight:500;
  line-height:1.45;
}
.pin-help-icon{
  flex:none;
  width:17px;
  height:17px;
  border:1px solid #9CA3AF;
  border-radius:50%;
  display:inline-grid;
  place-items:center;
  color:#4B5563;
  font-size:11px;
  font-weight:800;
}

/* Authentification : contraste renforcé et champs flottants */
.auth-tabs,
.auth-tabs + .card,
.no-nav .card {
  background: #FFFFFF !important;
}
.no-nav {
  background: #F3EEE5 !important;
}
.field-floating {
  position: relative;
  margin-top: 16px;
}
.field-floating .input {
  min-height: 54px;
  padding: 20px 14px 7px !important;
}
.field-floating label {
  position: absolute;
  left: 14px;
  top: 17px;
  margin: 0;
  pointer-events: none;
  color: #6B7280 !important;
  font-size: 14px !important;
  transition: top .16s ease, font-size .16s ease, color .16s ease;
}
.field-floating:focus-within label,
.field-floating .input:not(:placeholder-shown) + label {
  top: 6px;
  color: #1C432D !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
.field-floating label span {
  color: #6B7280;
  font-size: 10px;
  font-weight: 500;
}
.phone-field .input-phone {
  padding-left: 82px !important;
}
.phone-field label {
  left: 82px;   /* le libellé ne chevauche plus « 🇨🇮 +225 » */
}
.country-prefix {
  position: absolute;
  z-index: 1;
  left: 13px;
  bottom: 13px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}
.phone-field:focus-within .country-prefix,
.phone-field .input-phone:not(:placeholder-shown) ~ label {
  color: #1C432D;
}
.otp-channel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: #4B5563;
  font-size: 12px;
}
.otp-channel-title {
  flex-basis: 100%;
  color: #374151;
  font-weight: 800;
}
.otp-channel label {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border: 1px solid #D1D5DB;
  border-radius: 999px;
  background: #F9FAFB;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #374151 !important;
  cursor: pointer;
}
.otp-channel input { accent-color: #1C432D; }

/* Confiance et solde en cours */
.mission-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 5px;
  color: #167248;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.mission-lock { font-size: 11px; }
.pending-balance {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #DDE8E1;
  border-radius: 10px;
  background: #F5FAF7;
  color: #4B5563;
  font-size: 11px;
  font-weight: 600;
}
.pending-balance b { color: #1C432D; font-size: 13px; white-space: nowrap; }
@media (max-width: 370px) {
  .mission-guarantee { display: flex; margin-left: 0; margin-top: 3px; }
  .pending-balance { align-items: flex-start; flex-direction: column; gap: 3px; }
}


/* Sécurité pendant une mission */
.emergency-btn {
  margin-top: 12px;
  background: #B42318 !important;
  color: #fff !important;
  border: 2px solid #7A271A !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 12px rgba(180,35,24,.18) !important;
}

/* Charte YAKÉ affichée avant la première connexion */
.charter-screen {
  min-height: 100vh;
  padding: calc(env(safe-area-inset-top) + 22px) 16px 28px;
  background: #F3EEE5;
  color: #1F2937;
}
.charter-header { max-width: 520px; margin: 0 auto 16px; display:flex; align-items:center; gap:12px; }
.charter-mark { width:48px; height:48px; display:grid; place-items:center; background:#1C432D; border-radius:16px; font-size:25px; }
.charter-brand { color:#1C432D; font-size:21px; font-weight:900; letter-spacing:.4px; }
.charter-kicker { color:#6B7280; font-size:11px; font-weight:700; margin-top:3px; }
.charter-card { max-width:520px; margin:0 auto; padding:22px 18px 20px; background:#FFF; border:1px solid #D9E3DC; border-radius:22px; box-shadow:0 8px 24px rgba(28,67,45,.08); }
.charter-card h1 { margin:0; color:#111827; font-size:25px; line-height:1.15; font-weight:900; }
.charter-lead { margin:7px 0 16px; color:#1C432D; font-size:15px; font-weight:800; }
.charter-card p { color:#4B5563; font-size:13px; line-height:1.55; }
.charter-card h2 { margin:20px 0 8px; color:#1C432D; font-size:16px; font-weight:900; }
.charter-steps, .charter-rules { margin:8px 0 0; padding-left:22px; color:#374151; font-size:13px; line-height:1.52; }
.charter-steps li, .charter-rules li { margin:7px 0; padding-left:2px; }
.charter-warning { margin-top:18px; padding:11px 12px; background:#FFF8E1; border:1px solid #E8C65A; border-radius:12px; color:#6B4F00; font-size:12px; line-height:1.45; font-weight:600; }
.charter-check { display:flex; align-items:flex-start; gap:10px; margin-top:18px; color:#111827; font-size:13px; line-height:1.4; font-weight:800; cursor:pointer; }
.charter-check input { flex:none; width:20px; height:20px; margin:0; accent-color:#1C432D; }
.charter-continue { margin-top:16px; }
.charter-continue:disabled { opacity:.45; cursor:not-allowed; }
.charter-footer { max-width:520px; margin:12px auto 0; text-align:center; color:#6B7280; font-size:11px; font-weight:600; }

/* Charte : cartes aérées, icônes fonctionnelles et action sticky */
.charter-header { flex-direction: column; text-align: center; gap: 8px; }
.charter-logo { width: 64px; height: 64px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 4px 8px rgba(28,67,45,.18)); }
.charter-kicker { font-size: 12px; font-weight: 800; color: #1C432D; }
.charter-section { margin-top: 22px; }
.charter-section h2 { margin-bottom: 10px; }
.charter-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 9px 0;
  padding: 12px;
  background: #F8FBF9;
  border: 1px solid #DDE8E1;
  border-radius: 12px;
}
.charter-rule { background: #FFFCF5; border-color: #EDE5D2; }
.charter-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #E4F1E9;
  font-size: 18px;
}
.charter-rule .charter-icon { background: #FFF0C7; }
.charter-item b { display: block; color: #111827; font-size: 13px; line-height: 1.25; }
.charter-item p { margin: 4px 0 0; color: #4B5563; font-size: 12px; line-height: 1.45; }
.charter-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  max-width: 520px;
  margin: 14px auto 0;
  padding: 13px 14px calc(13px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border: 1px solid #D9E3DC;
  border-radius: 16px;
  box-shadow: 0 -5px 18px rgba(28,67,45,.10);
  backdrop-filter: blur(10px);
}
.charter-actions .charter-check { margin-top: 0; }
.charter-actions .charter-continue { width: 100%; margin-top: 12px; }

/* Structure sémantique des cartes de la charte */
.etape-container {
  display: block;
  margin: 9px 0;
  padding: 12px;
  background: #F8FBF9;
  border: 1px solid #DDE8E1;
  border-radius: 12px;
}
.etape-container.charte-pilier { background: #FFFCF5; border-color: #EDE5D2; }
.titre-aligne { display: flex; align-items: center; gap: 11px; }
.emoji-icone {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #E4F1E9;
  font-size: 18px;
}
.charte-pilier .emoji-icone { background: #FFF0C7; }
.titre-etape { margin: 0; color: #111827; font-size: 13px; line-height: 1.25; font-weight: 900; }
.description-etape { margin: 4px 0 0 43px; color: #4B5563; font-size: 12px; line-height: 1.45; }

/* Classes de la maquette mobile intégrées à l'écran Charte */
.charter-screen .header-image { display:block; object-fit:contain; }
.charter-screen .subtitle { text-align:center; letter-spacing:.5px; }
.charter-screen .main-title { color:#1A3020; }
.charter-screen .intro-text { color:#444; }
.charter-screen .card-item { box-shadow:0 2px 6px rgba(0,0,0,.03); }
.charter-screen .card-header { margin-bottom:6px; }
.charter-screen .card-icon { font-size:18px; }
.charter-screen .card-title { margin:0; color:#111; }
.charter-screen .card-description { margin:0; color:#555; }

/* Corrections de finition Profil */
.mvp-profile .btn-outline span,
.mvp-profile button span { padding-right: 8px; }
.mvp-profile .btn-outline { padding-right: 8px !important; }
/* Le bouton audio reste accessible sans recouvrir le bouton Classement. */
.fab-listen { left: 16px !important; right: auto !important; bottom: calc(var(--nav-h) + 20px) !important; }

/* Corrections UI/UX écran d'accueil */
.mh-categories {
  padding-right: 16px !important;
  box-sizing: border-box;
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  gap: 10px !important;
}
.mh-categories::-webkit-scrollbar{ display:none !important; }
.mh-categories button{
  flex: none !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  background: #FFFFFF !important;
  color: var(--ink-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all .15s ease !important;
}
.mh-categories button.mh-cat-on{
  background: var(--brand) !important;
  color: #FFFFFF !important;
  border-color: var(--brand) !important;
}
.mh-categories .cat-ico{
  display: inline-flex !important;
  margin-right: 8px !important;
}
.mh-categories .cat-star{
  margin-left: 6px !important;
}
.mh-search {
  background-color: #FFFFFF !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 2px 8px rgba(28,67,45,.06) !important;
}

/* État vide des discussions : centré, chaleureux et orienté action */
.chats-empty {
  min-height: calc(100vh - 190px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 110px;
  text-align: center;
}
.chats-empty-illustration { width: 160px; height: 112px; margin-bottom: 18px; }
.chats-empty-illustration svg { display: block; width: 100%; height: 100%; }
.chats-empty h2 { margin: 0; color: #111827; font-size: 20px; font-weight: 900; }
.chats-empty p { max-width: 290px; margin: 8px 0 18px; color: #6B7280; font-size: 13px; line-height: 1.5; }
.chats-empty .btn { width: min(290px, 100%); }

/* Éditeur des compétences : sélection visible et validation rassurante */
.skill-row.selected { background: #EAF2EC !important; border-color: #1C432D !important; box-shadow: 0 0 0 1px rgba(28,67,45,.08); }
.skills-list { padding-bottom: 106px; }
.skills-save-sticky {
  position: sticky;
  bottom: -1px;
  z-index: 4;
  margin: 12px -2px -2px;
  padding: 12px 2px calc(4px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid #E5E7EB;
}
.skills-save-sticky .btn { width: 100%; }

/* Retrait : Wave uniquement */
.withdraw-wave-only {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #F5FAF7;
  border: 1px solid #CFE3D5;
  border-radius: 12px;
  color: #1C432D;
  font-size: 14px;
  font-weight: 800;
}
.withdraw-wave-only .muted { font-weight: 600; text-align: right; }

/* Écran Missions : hiérarchie, état vide et action principale */
.mission-publish-btn { background: #1C432D !important; color: #fff !important; }
.missions-empty {
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 20px 110px;
  text-align: center;
}
.missions-empty-icon { width: 72px; height: 72px; display:grid; place-items:center; margin-bottom:14px; border-radius:22px; background:#EAF2EC; font-size:36px; }
.missions-empty h2 { margin:0; color:#111827; font-size:20px; font-weight:900; }
.missions-empty p { max-width:290px; margin:8px 0 18px; color:#6B7280; font-size:13px; line-height:1.5; }
.missions-empty .btn { width:min(290px,100%); }

.delivery-route-box { margin: 14px 0 16px; padding: 14px; border: 1px solid #D8E6DC; border-radius: 16px; background:#F5FAF6; }
.delivery-route-title { color:#1C432D; font-size:14px; font-weight:900; margin-bottom:10px; }
.delivery-route-line { display:flex; align-items:center; gap:8px; }
.delivery-route-line .input { flex:1; min-width:0; }
.delivery-route-arrow { color:#1C432D; font-weight:900; text-align:center; line-height:20px; }
.delivery-route-box .row .input { min-width:0; width:50%; }
.delivery-route-help { color:#587061; font-size:11px; line-height:1.4; margin-top:10px; }

/* Publication mission — rythme, grille et champs accessibles */
.sheet .field { margin-bottom: 18px; }
.delivery-route-box { padding: 18px; margin: 18px 0 20px; border-radius: 12px; }
.delivery-route-title { margin-bottom: 14px; }
.delivery-route-line { gap: 10px; }
.delivery-route-line .input,
.delivery-route-box .input { border: 1px solid #D7E2DB !important; border-radius: 12px !important; }
.delivery-route-line .input:focus,
.delivery-route-box .input:focus,
.sheet input:focus,
.sheet textarea:focus,
.sheet select:focus { border-color: #1C432D !important; box-shadow: 0 0 0 3px rgba(28,67,45,.12) !important; outline: none; }
.delivery-route-line .input::placeholder,
.delivery-route-box .input::placeholder { color: #9AA8A0 !important; opacity: 1; }
.delivery-route-help { color: #40564A; font-size: 12px; }
.pm-price-field { flex: 0 0 30% !important; }
#pm-price-hint { background: #F1F7F2 !important; border: 1px solid #C9DCCF !important; color: #294B37 !important; }
.sheet .btn.btn-primary.btn-lg { border-radius: 12px !important; }
@media (max-width: 420px) { .pm-price-field { flex-basis: 38% !important; } }

/* CTA publication : jaune YAKÉ, contraste fort et relief léger */
.sheet .btn.btn-primary.btn-lg[onclick="doPublish()"] {
  min-height: 52px;
  border-radius: 12px !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: .2px;
  box-shadow: 0 5px 14px rgba(120,83,0,.22) !important;
}
.sheet .btn.btn-primary.btn-lg[onclick="doPublish()"]:active {
  transform: translateY(1px);
  box-shadow: 0 2px 7px rgba(120,83,0,.2) !important;
}

/* Lisibilité : textes rouges/bordeaux légèrement renforcés */
[style*="color:#7F1D1D"],
[style*="color:#991B1B"],
[style*="color:#B42318"],
[style*="color:#8B1E3F"],
[style*="color: #7F1D1D"],
[style*="color: #991B1B"] {
  font-weight: 700 !important;
}

/* Formulaire publier une mission : contraste renforcé des textes bordeaux/rouges */
.sheet label,
.sheet .tiny,
.sheet .delivery-route-title,
.sheet .delivery-route-help,
.sheet #pm-price-hint,
.sheet .field,
.sheet .field input,
.sheet .field textarea,
.sheet .field select {
  color: #26382D !important;
  font-weight: 600 !important;
}
.sheet label { font-weight: 750 !important; }
.sheet .delivery-route-help { color: #334E3E !important; }
.sheet #pm-price-hint { color: #26382D !important; font-weight: 700 !important; }
.sheet input::placeholder,
.sheet textarea::placeholder { color: #8A9890 !important; opacity: 1 !important; }

/* Correctif définitif de contraste dans la fenêtre Publier une mission */
.sheet label,
.sheet p,
.sheet h1,
.sheet h2,
.sheet h3,
.sheet h4,
.sheet .tiny,
.sheet .field,
.sheet .delivery-route-title,
.sheet .delivery-route-help,
.sheet #pm-price-hint,
.sheet .field span {
  color: #1F3327 !important;
  font-weight: 650 !important;
}
.sheet .delivery-route-help { color: #304B3A !important; }
.sheet input,
.sheet textarea,
.sheet select { color: #1F2937 !important; font-weight: 600 !important; }
.sheet input::placeholder,
.sheet textarea::placeholder { color: #89988F !important; }

/* KYC obligatoire avant candidature */
.kyc-sheet h2 { margin:10px 0 8px; color:#1F3327; font-size:21px; font-weight:900; }
.kyc-intro { color:#40564A; line-height:1.5; font-size:13px; margin:0 0 18px; }
.kyc-label { display:block; margin:14px 0 7px; color:#26382D; font-size:13px; font-weight:750; }
.kyc-sheet .input, .kyc-sheet .select { width:100%; box-sizing:border-box; }
.kyc-note { padding:12px; border-radius:12px; background:#F1F7F2; color:#304B3A; font-size:12px; line-height:1.45; margin:16px 0; }
.kyc-sheet .btn { width:100%; border-radius:12px; }

.delivery-route-gps { display:flex; align-items:center; gap:6px; margin:6px 0 8px 28px; }
.delivery-route-gps span { width:36px; color:#527063; font-size:10px; font-weight:800; }
.delivery-route-gps .input { min-width:0; width:50%; padding:9px 8px !important; font-size:12px !important; }
.route-calc-btn { flex:none; white-space:nowrap; padding:10px 9px !important; }
.delivery-route-box #pm-distance,
.delivery-route-box #pm-eta { width:auto; min-width:0; flex:1; }
.delivery-route-gps { display:none; }
.delivery-route-line .select { flex:1; min-width:0; }
.skill-locked { background:#F8FAF9 !important; opacity:.72; }
.skill-locked span { color:#52665A !important; }
.skill-locked { background:#F8FAF9 !important; opacity:.72; }
.skill-locked span { color:#52665A !important; }
.skill-request-btn { margin-left:6px; padding:5px 8px; border:1px solid #1C432D; border-radius:8px; background:#EAF2EC; color:#1C432D !important; font-size:11px; font-weight:800; cursor:pointer; }
.skill-request-btn { margin-left:6px; padding:5px 8px; border:1px solid #1C432D; border-radius:8px; background:#EAF2EC; color:#1C432D !important; font-size:11px; font-weight:800; cursor:pointer; }

/* FAQ (rubrique profil) */
.faq-item { border-bottom:1px solid #F3F4F6; padding:10px 0; }
.faq-item:last-child { border-bottom:none; }
.faq-item summary { font-size:13px; font-weight:700; color:#1C432D; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:10px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; font-size:16px; font-weight:800; color:#6B7280; flex:none; transition:transform .15s ease; }
.faq-item[open] summary::after { content:"−"; }
.faq-answer { font-size:12px; font-weight:500; color:#4B5563; line-height:1.55; margin-top:8px; padding-right:22px; }

/* Fenêtre modale de sécurité, à valider une seule fois (page d'accueil) */
.safety-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:9999; display:flex; align-items:flex-end; justify-content:center; }
.safety-modal { background:#fff; border-radius:20px 20px 0 0; max-width:480px; width:100%; max-height:88vh; overflow-y:auto; padding:22px 20px 24px; box-shadow:0 -8px 30px rgba(0,0,0,.2); }
.safety-modal-icon { width:44px; height:44px; border-radius:12px; background:#FEF3C7; display:grid; place-items:center; margin-bottom:12px; }
.safety-modal h2 { font-size:17px; font-weight:900; color:#000; margin:0 0 12px; letter-spacing:-.2px; }
.safety-modal-body p { font-size:12.5px; font-weight:500; color:#40564A; line-height:1.6; margin:0 0 10px; }
.safety-modal-body b { color:#1C432D; }
.safety-modal-check { display:flex; align-items:flex-start; gap:8px; font-size:12.5px; font-weight:700; color:#000; background:#F9FAFB; border:1px solid #E5E7EB; border-radius:12px; padding:12px; margin:14px 0; cursor:pointer; }
.safety-modal-check input { margin-top:2px; flex:none; }
.safety-modal #safetyAckBtn { width:100%; }
.safety-modal #safetyAckBtn:disabled { opacity:.45; cursor:not-allowed; }

/* ==========================================================================
   Comportement « application native », pas « page web »
   ========================================================================== */

/* 1. Retire le flash gris/bleu au tap (LE signe le plus flagrant d'un site web sur mobile) */
* {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* 2. Empêche le menu contextuel natif (Enregistrer l'image, Copier...) sur toute l'interface,
      sauf sur les vraies photos de contenu (preuve, KYC, produits) où on le laisse volontairement. */
body, button, .btn, .card, .mh-header, .bottom-nav, nav, h1, h2, h3 {
  -webkit-touch-callout: none;
}

/* 3. Empêche la sélection de texte sur les éléments d'interface (boutons, nav, titres) —
      une vraie app ne laisse pas sélectionner ses propres commandes. Le texte de contenu
      (descriptions de mission, avis...) reste sélectionnable normalement. */
button, .btn, .bottom-nav, .mh-header, .mh-actions, .tag, .m-ico, .cat-ico {
  -webkit-user-select: none;
  user-select: none;
}

/* 4. Supprime le délai de 300ms avant qu'un tap soit reconnu, et le double-tap-zoom accidentel */
button, .btn, a, .bottom-nav *, .mh-categories button, .nav-item {
  touch-action: manipulation;
}

/* 5. Empêche de faire glisser les images comme sur une page web classique */
img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* 6. Lissage de police plus net, plus proche du rendu natif */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 7. Retour visuel au tap sur TOUS les boutons — la quasi-totalité de l'app n'en avait aucun.
      C'est le changement qui a le plus d'impact sur le ressenti « app native ». */
.btn:active,
.btn-primary:active,
.btn-outline:active,
.btn-ghost:active,
.btn-accent:active,
.btn-danger:active,
.btn-sm:active,
.btn-lg:active,
button.nav-item:active {
  transform: scale(.96);
  opacity: .85;
  transition: transform .08s ease, opacity .08s ease;
}
.btn, .btn-primary, .btn-outline, .btn-ghost, .btn-accent, .btn-danger {
  transition: transform .12s ease, opacity .12s ease;
}

/* 8. Contour de focus discret plutôt que le rectangle bleu par défaut du navigateur
      (utile au clavier/accessibilité, invisible au doigt) */
button:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
button:focus:not(:focus-visible), .btn:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   Typographie affirmée : duo Outfit (titres, géométrique) / Inter (texte courant)
   ========================================================================== */
body, button, input, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif !important;
}
h1, h2, h3,
.mh-logo,
.section-title,
.m-price,
.mh-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}
h1 { font-size: 24px !important; line-height: 1.15 !important; }
h2 { font-size: 19px !important; font-weight: 700 !important; }
h3 { font-size: 16px !important; font-weight: 700 !important; }
/* Sous-titres : plus légers et plus petits, pour une hiérarchie instantanée avec les titres */
.sub, .mh-sub, .small.muted, .tiny.muted {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.mh-sub { color: var(--muted) !important; }

/* ==========================================================================
   Système d'arrondis harmonisé — fini le mélange de rayons différents
   ========================================================================== */
/* Boutons : un seul rayon pour tous, quel que soit le type */
.btn, .btn-primary, .btn-outline, .btn-ghost, .btn-accent, .btn-danger,
button.btn, .skill-request-btn {
  border-radius: 14px !important;
}
/* Pills / badges / tags : toujours entièrement arrondis */
.tag, .mh-categories button, .mh-cat-on {
  border-radius: 999px !important;
}
/* Cartes : un seul rayon, plus généreux pour les grandes surfaces */
.card, .card-flat, .home-mission-card {
  border-radius: 18px !important;
}
/* Champs de saisie et petits éléments */
input, select, textarea, .input {
  border-radius: 12px !important;
}
/* Ombres douces et homogènes sur les surfaces qui n'en avaient pas */
.btn-outline, .tag, .card-flat {
  box-shadow: var(--shadow-sm) !important;
}

/* ==========================================================================
   Barre de recherche — discrète mais bien visible
   ========================================================================== */
.mh-search {
  border-radius: 999px !important;
  border: 1px solid rgba(28,67,45,.10) !important;
  box-shadow: 0 1px 3px rgba(28,67,45,.04) !important;
  padding: 12px 18px !important;
}
.mh-search:focus-within {
  border-color: var(--brand) !important;
  box-shadow: 0 2px 10px rgba(28,67,45,.10) !important;
}

/* ==========================================================================
   Navigation inférieure — icônes affinées, bouton central parfaitement centré
   ========================================================================== */
.mvp-bottom-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 8px !important;
}
.mvp-bottom-nav .nav-item {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  position: relative !important;
}
/* Badge de notification : petit indicateur ancré sur l'icône, ne pousse plus le bouton
   vers le bas ni ne le désaligne des autres onglets (Accueil, Missions, Profil). */
.mvp-nav-badge {
  position: absolute !important;
  top: 2px !important;
  left: 50% !important;
  margin-left: 4px !important;
  min-width: 15px !important;
  height: 15px !important;
  padding: 0 3px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  line-height: 15px !important;
  text-align: center !important;
  display: inline-block !important;
}
.mvp-publish {
  flex: 0 0 60px !important;
  margin: 0 6px !important;
}
.mvp-nav-icon {
  stroke-width: 1.6 !important;
}

/* ==========================================================================
   Audit UX 2026-09-20 — écran "Candidature envoyée" (Mes candidatures / détail mission)
   ========================================================================== */

/* 1. Contraste : le bandeau "⏳ Candidature envoyée ✅" utilise depuis toujours
      background:var(--brand-soft) en style inline — mais --brand-soft n'est
      défini nulle part dans les feuilles de style. Le fond restait donc
      transparent, laissant apparaître un arrière-plan sombre sous un texte
      resté noir/gris : quasi illisible. On cible ce bloc précis sans toucher
      au reste de l'app (même technique déjà utilisée plus haut avec les
      sélecteurs d'attribut [style*="..."]), et on assume un vert foncé plein
      pour rester dans l'identité YAKÉ plutôt que de la neutraliser en blanc. */
.card[style*="--brand-soft"] {
  background: var(--brand-dark, #076B3D) !important;
  border: none !important;
}
.card[style*="--brand-soft"] .bold {
  color: #FFFFFF !important;
}
.card[style*="--brand-soft"] .small.muted {
  color: #D9F2E3 !important;
}

/* 2. Hiérarchie des actions : "Prix trop bas" est un signalement secondaire
      (juste une alerte sur le tarif), pas une action grave — il ne doit plus
      avoir le même poids visuel qu'un vrai "Signalement" de litige, qui lui
      reste en rouge plein à juste titre. */
button[onclick*="flagMission("] {
  background: #FFF7ED !important;
  color: #B45309 !important;
  border: 1px solid #FDBA74 !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}
button[onclick*="flagMission("]:active {
  background: #FFEDD5 !important;
}

/* 3. Badge de fiabilité (Nouveau/Fiable/Confirmé/Élite) — affiché dans la liste des
      candidats, le classement et le profil. Couleur fournie dynamiquement par le
      serveur (w.reliability.color) via style inline, ce bloc ne fixe que la forme. */
.reliability-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #FFFFFF !important;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
}

/* ==========================================================================
   Carte « en direct » (remplace l'image du héros de l'accueil) — 27/09/2026
   ========================================================================== */
.mh-live{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;margin-bottom:19px;box-shadow:0 8px 22px rgba(36,50,41,.07)}
.mh-live-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:16px 16px 12px}
.mh-live-head small{display:flex;align-items:center;gap:6px;font-size:10px;letter-spacing:.8px;font-weight:800;color:var(--brand)}
.mh-live-head small::before{content:"";width:8px;height:8px;border-radius:50%;background:#16A34A;box-shadow:0 0 0 0 rgba(22,163,74,.5);animation:mhLivePulse 2s infinite}
@keyframes mhLivePulse{0%{box-shadow:0 0 0 0 rgba(22,163,74,.45)}70%{box-shadow:0 0 0 8px rgba(22,163,74,0)}100%{box-shadow:0 0 0 0 rgba(22,163,74,0)}}
@media (prefers-reduced-motion:reduce){.mh-live-head small::before{animation:none}}
.mh-live-head h1{font-size:20px !important;line-height:1.15;color:#000;margin-top:6px}
.mh-live-count{flex:none;text-align:right;line-height:1}
.mh-live-count b{display:block;font-size:30px;font-weight:900;color:var(--brand);font-variant-numeric:tabular-nums}
.mh-live-count span{font-size:11px;font-weight:700;color:var(--muted)}
.mh-live-map{position:relative;height:240px;background:#EEF3EF;border-top:1px solid var(--line);border-bottom:1px solid var(--line);isolation:isolate;overflow:hidden;cursor:pointer}
.mh-live-svg{display:block;width:100%;height:100%}
@media (prefers-reduced-motion:reduce){.mh-live-leaflet{transition:none}}
.mh-live-leaflet{position:absolute;inset:0;opacity:0;transition:opacity .35s ease;background:transparent !important}
.mh-live-leaflet.ready{opacity:1;background:#EDEBE6 !important}
.mh-live-cap{position:absolute;left:10px;bottom:8px;font-size:10px;font-weight:600;color:#6B7F74;background:rgba(238,243,239,.85);padding:2px 6px;border-radius:6px;pointer-events:none}
.mh-live-expand{position:absolute;top:10px;right:10px;z-index:1100;background:rgba(255,255,255,.95);color:#1C432D;font-size:12px;font-weight:800;padding:7px 11px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.15);pointer-events:none}
.q-lbl{pointer-events:none}
.q-lbl span{display:inline-block;transform:translate(-50%,-100%);margin-top:-8px;white-space:nowrap;background:rgba(255,255,255,.9);color:#1C432D;font:700 10.5px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;padding:2px 7px;border-radius:9px;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.live-full{position:fixed;inset:0;z-index:85;display:flex;flex-direction:column;background:#FDFBF7}
.live-full-bar{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border-bottom:1px solid var(--line)}
.live-full-bar button{flex:none;width:44px;height:44px;border-radius:14px;border:1px solid var(--line);background:#fff;font-size:20px;font-weight:800;color:#1C432D}
.live-full-bar b{display:block;font-size:15px;color:#000}
.live-full-bar small{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-top:2px}
.live-full-map{flex:1;isolation:isolate;background:#EDEBE6}
.live-full-foot{display:flex;flex-wrap:wrap;gap:6px 14px;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
.live-full-foot p{width:100%;font-size:11px;color:var(--muted-light);margin:2px 0 0}
.live-full .q-lbl span{font-size:11.5px}
.mh-live-map .mh-live-svg{position:absolute;inset:0}
.mh-live-leaflet .leaflet-control-attribution{font-size:9px}
.mh-live-foot{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:12px 16px 4px}
.mh-live-lg{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#374151}
.mh-live-lg i{width:10px;height:10px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
.mh-live-lg b{color:#000;font-variant-numeric:tabular-nums}
.mh-live-foot button{margin-left:auto;background:var(--brand);color:#fff;border:0;border-radius:14px;padding:10px 14px;font-weight:800;font-size:12px;min-height:40px}
.mh-live-note{padding:4px 16px 14px;font-size:11px;font-weight:500;color:var(--muted-light);line-height:1.4}
/* ---------- Choix du quartier : feuille du bas (même identité que « Mes compétences ») ---------- */
.sheet.qs-sheet{display:flex;flex-direction:column;max-height:90vh;overflow:hidden;background:#FFFFFF !important;border-radius:24px 24px 0 0;padding:10px 16px 0}
.sheet.qs-sheet .grip{flex:none;width:46px;height:5px;border-radius:99px;background:#D1D5DB;margin:2px auto 14px}
.qs{display:flex;flex-direction:column;min-height:0;flex:1;font-family:Inter,Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif}
.qs-head{flex:none;padding:0 2px 10px}
.qs-title{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#1F3327}
.qs-sub{margin-top:8px;font-size:14px;font-weight:500;line-height:1.45;color:#6B7280 !important}
.qs-search{display:flex;align-items:center;gap:8px;margin-top:12px;height:46px;padding:0 12px;border:1px solid #E5E7EB;border-radius:12px;background:#F9FAFB;cursor:text}
.qs-search:focus-within{border-color:#1C432D;box-shadow:0 0 0 3px rgba(28,67,45,.12);background:#fff}
.sheet .qs-search input{flex:1;min-width:0;height:100%;border:0 !important;background:transparent !important;box-shadow:none !important;outline:none;font:600 15px/1 Inter,Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;color:#111827 !important;padding:0}
.sheet .qs-search input::placeholder{color:#9CA3AF !important;font-weight:500}
.qs-list{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:2px 2px 12px}
.qs-item{display:flex;align-items:center;gap:14px;width:100%;min-height:54px;margin:0 0 10px;padding:12px 14px;background:#FFFFFF;border:1px solid #E5E7EB;border-radius:12px;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s;-webkit-tap-highlight-color:transparent}
.qs-item:active{transform:scale(.995)}
.qs-item:focus-visible{outline:3px solid rgba(28,67,45,.35);outline-offset:2px}
.qs-item.selected{border-color:#1C432D;box-shadow:0 2px 8px rgba(28,67,45,.14)}
.qs-box{flex:none;display:grid;place-items:center;width:22px;height:22px;border:2px solid #4B5563;border-radius:5px;background:#fff;transition:background .15s,border-color .15s}
.qs-box svg{opacity:0;transition:opacity .12s}
.qs-item.selected .qs-box{background:#1C432D;border-color:#1C432D}
.qs-item.selected .qs-box svg{opacity:1}
.qs-name{font-size:15px;font-weight:700;color:#000;letter-spacing:-.1px;line-height:1.3}
.qs-empty{padding:14px 4px;font-size:13px;color:#6B7280;text-align:center}
.qs-actions{flex:none;margin:0 -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #EEF0F2}
.qs-validate{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;border:2px solid #000;border-radius:12px;background:#FFC300;color:#000;font:900 16px/1.2 Inter,Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;box-shadow:0 4px 12px rgba(255,195,0,.28);cursor:pointer}
.qs-validate:active{transform:translateY(1px);box-shadow:0 2px 6px rgba(255,195,0,.25)}
.qs-validate:disabled{opacity:.5;box-shadow:none;cursor:default}
.qs-ok{display:grid;place-items:center;width:22px;height:22px;border-radius:5px;background:#16A34A}
.qs-ok svg{width:15px;height:15px}
.qs-cancel{display:block;width:100%;min-height:48px;margin-top:6px;border:0;background:#fff;color:#000;font:700 15px/1.2 Inter,Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;text-align:center;cursor:pointer}
/* Champ « Ton quartier » du formulaire d'inscription */
.qs-field{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;padding:0 14px;background:#fff;border:1px solid #E5E7EB;border-radius:14px;text-align:left;cursor:pointer}
.qs-field:focus-visible{outline:3px solid rgba(28,67,45,.35);outline-offset:2px}
.qs-field-text{flex:1;font-size:15px;font-weight:600;color:#6B7280}
.qs-field-text.set{color:#000;font-weight:800}
[data-theme="dark"] .mh-live{background:#14231B;border-color:#24382C}
[data-theme="dark"] .mh-live-head h1,[data-theme="dark"] .mh-live-lg b{color:#F3F4F6 !important}
[data-theme="dark"] .mh-live-lg,[data-theme="dark"] .mh-live-count span{color:#C9D3CD}
[data-theme="dark"] .mh-live-count b{color:#7BD8A4}
[data-theme="dark"] .mh-live-map{border-color:#24382C}
[data-theme="dark"] .live-full,[data-theme="dark"] .live-full-bar,[data-theme="dark"] .live-full-foot{background:#14231B;border-color:#24382C}
[data-theme="dark"] .live-full-bar b{color:#F3F4F6}
[data-theme="dark"] .live-full-bar button{background:#1B2B22;color:#F3F4F6;border-color:#24382C}


/* === YAKE : animation nav flottante (v2) === */
.mvp-bottom-nav{
  position:fixed !important;
  left:14px !important; right:14px !important; bottom:14px !important;
  width:auto !important;
  height:auto !important;
  transform:none !important; /* neutralise l'ancien left:50%+translateX(-50%) de .bottom-nav qui decalait toute la barre hors ecran */
  display:flex !important;
  align-items:center !important;
  justify-content:space-around !important;
  background:#fff !important;
  border-radius:28px !important;
  box-shadow:0 14px 34px rgba(17,24,39,.16), 0 2px 8px rgba(17,24,39,.08) !important;
  padding:8px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
  border-top:none !important;
}
.mvp-bottom-nav .nav-item{
  background:none !important;border:none !important;margin:0 !important;
  display:flex !important;flex-direction:column !important;align-items:center !important;gap:3px !important;
  padding:6px 8px !important;position:relative !important;cursor:pointer !important;
  flex:0 1 auto !important;
}
.mvp-bottom-nav .nav-item.on::before{
  content:none !important; /* l'ancien trait du haut est remplacé par la pastille + le point */
}
.mvp-bottom-nav .nav-chip{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  transition:transform .24s cubic-bezier(.34,1.56,.64,1), box-shadow .24s ease, background .24s ease;
}
.mvp-bottom-nav .nav-label{
  font-size:10.5px;font-weight:600;
  opacity:.75;
  transition:color .2s ease, opacity .2s ease;
}
.mvp-bottom-nav .nav-dot{
  width:4px;height:4px;border-radius:50%;
  background:var(--brand, #1C432D);
  opacity:0;transform:scale(.4);
  transition:opacity .2s ease, transform .2s ease;
}
.mvp-bottom-nav .nav-item.on .nav-chip{
  background:#fff;
  box-shadow:0 8px 16px rgba(17,24,39,.14), 0 2px 5px rgba(17,24,39,.08);
  transform:translateY(-8px);
}
.mvp-bottom-nav .nav-item.on .nav-label{opacity:1;color:var(--brand, #1C432D)}
.mvp-bottom-nav .nav-item.on .nav-dot{opacity:1;transform:scale(1)}
.mvp-bottom-nav .nav-item:active .nav-chip{transform:translateY(-4px) scale(.96)}

/* Bouton central (+) : 3 anciennes règles .mvp-publish se battaient déjà pour sa
   taille, sa couleur et sa position. On force la nôtre partout avec !important
   et un sélecteur plus précis pour gagner à coup sûr. */
.mvp-bottom-nav .mvp-publish.nav-fab{
  position:absolute !important;
  top:-22px !important; left:50% !important;
  transform:translateX(-50%) !important;
  margin:0 !important;
  flex:none !important;
  width:56px !important;height:56px !important;
  border-radius:50% !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  font-size:26px !important;line-height:1 !important;font-weight:400 !important;color:#fff !important;
  background:var(--brand, #1C432D) !important;
  box-shadow:0 10px 20px rgba(17,24,39,.24) !important;
  z-index:2 !important;
  transition:transform .15s ease !important;
}
.mvp-bottom-nav .mvp-publish.nav-fab:active{
  transform:translateX(-50%) scale(.92) !important;
}
