/* ════════════════════════════════════════════════════════════════════════════
   Manger Serein · système visuel v3 « Serein » (nov. 2026)
   Chargé EN DERNIER. Ne change aucune logique : uniquement l'habillage.

   Principes :
   • La marque est calme (menthe → sarcelle) ; le rouge est réservé au DANGER
     (contamination, rappel urgent, achats touchés) pour qu'il garde tout son sens.
   • Une seule famille de surfaces (verre sombre), un seul rayon de base, des ombres douces.
   • Titres en Bricolage Grotesque, texte en Inter. Contrastes AA minimum.
   ════════════════════════════════════════════════════════════════════════════ */

:root{
  --ms-1:#3EE6A8; --ms-2:#13B59C; --ms-3:#0B7C78;
  --ms-grad:linear-gradient(135deg,#3EE6A8 0%,#16BFA0 50%,#0E9488 100%);
  --ms-grad-txt:linear-gradient(90deg,#3EE6A8,#2FD3C4);
  --ms-on:#032620;                     /* texte posé sur le dégradé menthe */
  --ms-ring:0 0 0 3px rgba(46,214,170,.32);
  --danger:#FF5A5F; --warn:#FFB547;
  --r-s:10px; --r-m:14px; --r-l:20px;
  --ease:cubic-bezier(.2,.8,.2,1);
  --font-d:"Bricolage Grotesque",Inter,system-ui,sans-serif;
}

/* ── Jetons du thème sombre (par défaut) ─────────────────────────────────── */
html[data-theme=dark]{
  --bg:#060B0C; --card:#0D1416; --ink:#EAF2F0; --muted:#8FA09D;
  --line:rgba(190,255,235,.08); --soft:rgba(190,255,235,.05); --hi:rgba(190,255,235,.1);
  --glass:rgba(12,19,21,.74); --glass2:rgba(190,255,235,.035);
  --focus:#5EEAD4; --brand:#FF5A5F;
  --shadow:0 1px 0 rgba(255,255,255,.035) inset,0 18px 44px rgba(0,0,0,.42);
}
html[data-theme=dark] body{background:
  radial-gradient(1100px 600px at 92% -12%,rgba(30,200,160,.13),transparent 62%),
  radial-gradient(900px 560px at -12% 28%,rgba(40,90,140,.12),transparent 62%),
  radial-gradient(700px 480px at 50% 112%,rgba(62,230,168,.05),transparent 60%),#060B0C!important}
html[data-theme=dark] ::selection{background:rgba(46,214,170,.35)}
html[data-theme=dark] *{scrollbar-color:#23312F transparent}

/* ── Jetons du thème clair ───────────────────────────────────────────────── */
html:not([data-theme=dark]){
  --bg:#F5F8F7; --card:#fff; --ink:#0E1A18; --muted:#5C6B68; --line:rgba(14,26,24,.09); --soft:rgba(14,26,24,.045);
  --brand:#D92D3A; --focus:#0E9488;
}
html:not([data-theme=dark]) body{background:radial-gradient(900px 500px at 95% -10%,rgba(30,200,160,.12),transparent 60%),#F5F8F7}

/* ── Typographie ─────────────────────────────────────────────────────────── */
html:root h1,html:root h2,html:root h3,html:root .lgn,html:root .rc-dhead h2,html:root .ms b,html:root .maphead h2{font-family:var(--font-d)!important;letter-spacing:-.022em}
html:root :focus-visible{outline:2px solid var(--focus)!important;outline-offset:2px}

/* ════════ EN-TÊTE ════════ */
html:root header.top{height:64px!important;padding:0 20px!important}
html[data-theme=dark] header.top{background:rgba(6,11,12,.72)!important;-webkit-backdrop-filter:saturate(1.4) blur(18px);backdrop-filter:saturate(1.4) blur(18px);
  box-shadow:0 1px 0 var(--line)!important;border:0!important}
html:root header.top::after{height:1px!important;opacity:1!important;animation:none!important;
  background:linear-gradient(90deg,transparent,rgba(62,230,168,.55) 30%,rgba(47,211,196,.45) 70%,transparent)!important}

/* Logo + nom */
html:root .logo{gap:11px!important;align-items:center}
html:root .lgic{width:38px!important;height:38px!important;border-radius:11px!important;background:none!important;overflow:hidden;
  box-shadow:0 6px 18px -4px rgba(19,181,156,.55),0 0 0 1px rgba(255,255,255,.06)!important;animation:none!important}
html:root .lgic svg{display:block;width:38px;height:38px}
html:root .logo:hover .lgic{animation:none!important;transform:rotate(-6deg) scale(1.05)}
html:root .lgn{font:800 21px/1 var(--font-d)!important;letter-spacing:-.025em!important;color:var(--ink)!important}
html:root .logo .lgn b{background:var(--ms-grad-txt)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent;padding:0!important;margin-left:0!important;border-radius:0!important}
html:root .lgw small{font:600 9.5px/1 Inter,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--muted)!important;margin-top:5px!important;opacity:.9}

/* Navigation : boutons fantômes, icônes en menthe */
html[data-theme=dark] header.top nav{background:transparent!important;box-shadow:none!important;padding:0!important;gap:2px!important}
html[data-theme=dark] header.top nav a{color:#C3CFCC!important;background:transparent!important;font:600 14px Inter,sans-serif!important;padding:8px 12px!important;border-radius:var(--r-s)!important;box-shadow:none!important}
html[data-theme=dark] header.top nav a:hover{background:var(--soft)!important;color:#fff!important;transform:none!important}
html:root header.top nav a .ic{color:var(--ms-1)!important;width:16px!important;height:16px!important}
html:not([data-theme=dark]) header.top nav a .ic{color:var(--ms-3)!important}

/* « Top semaine » : neutre, le compteur porte l'alerte */
html[data-theme=dark] .wk-btn{background:var(--soft)!important;color:#EAF2F0!important;box-shadow:inset 0 0 0 1px var(--line)!important;border-radius:var(--r-s)!important;font:600 14px Inter,sans-serif!important}
html[data-theme=dark] .wk-btn:hover,html[data-theme=dark] .wk.on .wk-btn{background:var(--hi)!important}
html:root .wk-btn .ic{color:var(--ms-1)!important}
html:root .wk-btn b{background:linear-gradient(135deg,#FF7A6B,#E5384A)!important;box-shadow:0 3px 10px rgba(229,56,74,.35)!important;color:#fff!important}
html[data-theme=dark] .wk-menu{background:rgba(12,19,21,.96)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--line)!important;border-radius:var(--r-l)!important}
html[data-theme=dark] .wk-all{background:var(--ms-grad)!important;color:var(--ms-on)!important}

/* Thème + compte */
html[data-theme=dark] .th-btn{background:var(--soft)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line)!important;border-radius:var(--r-s)!important}
html[data-theme=dark] .acct-btn{background:var(--soft)!important;color:#fff!important;box-shadow:inset 0 0 0 1px var(--line)!important;border-radius:var(--r-s)!important;font:600 14px Inter,sans-serif!important}
html[data-theme=dark] .acct-btn:hover{background:var(--hi)!important;transform:none!important}
html[data-theme=dark] .is-logged .acct-btn,#install{background:var(--ms-grad)!important;color:var(--ms-on)!important;box-shadow:0 8px 22px -6px rgba(19,181,156,.6)!important}
html:root .acct-badge{background:#E5384A!important}

/* ════════ BANDEAU « EN DIRECT » ════════ */
html[data-theme=dark] .ticker{top:64px!important;height:38px!important;background:rgba(9,15,17,.88)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line)!important;border:0!important}
html:root .tk-label{clip-path:none!important;margin:5px 10px 5px 12px!important;height:28px!important;padding:0 12px 0 10px!important;border-radius:99px!important;
  background:rgba(255,90,95,.12)!important;color:#FF8A8D!important;box-shadow:inset 0 0 0 1px rgba(255,90,95,.3)!important;font:700 11px Inter,sans-serif!important;letter-spacing:.09em!important;gap:7px!important}
html:root .tk-label .ic{display:none!important}
html:root .tk-label::before{content:"";width:7px;height:7px;border-radius:50%;background:#FF5A5F;box-shadow:0 0 0 0 rgba(255,90,95,.6);animation:msPulse 1.8s infinite;flex:none}
@keyframes msPulse{70%{box-shadow:0 0 0 7px rgba(255,90,95,0)}100%{box-shadow:0 0 0 0 rgba(255,90,95,0)}}
html:not([data-theme=dark]) .tk-label{background:#FFF0F0!important;color:#C21F2E!important}

/* ════════ PANNEAU GAUCHE ════════ */
html[data-theme=dark] .side{background:linear-gradient(180deg,rgba(10,17,19,.7),rgba(8,13,15,.55))!important;border-right:1px solid var(--line)!important}

/* Sélecteur Produits / Restaurants */
html[data-theme=dark] .modes{background:var(--soft)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line)!important;border-radius:var(--r-m)!important;padding:4px!important}
html:root .modes-ind{background:var(--ms-grad)!important;box-shadow:0 8px 22px -6px rgba(19,181,156,.55)!important;border-radius:11px!important}
html:root .modes button[aria-selected=true]{color:var(--ms-on)!important}
html:root .modes button[aria-selected=true] .ic{color:var(--ms-on)!important}
html[data-theme=dark] .modes button[aria-selected=false]{color:#AFC0BC!important}
html:root .modes-badge{background:#E5384A!important;color:#fff!important;box-shadow:0 0 0 2px rgba(255,255,255,.18)}

/* Titre d'accroche */
html:root .intro h1,html:root .rc-intro h1{font:750 30px/1.08 var(--font-d)!important;letter-spacing:-.03em!important}
html[data-theme=dark] .intro mark,html[data-theme=dark] .split mark,.rc-intro h1 mark{background:var(--ms-grad-txt)!important;-webkit-background-clip:text!important;background-clip:text!important;
  color:transparent!important;-webkit-text-fill-color:transparent!important;background-size:100% 100%!important;padding:0!important}
html:not([data-theme=dark]) .intro mark,html:not([data-theme=dark]) .split mark{background:linear-gradient(90deg,#0E9488,#13B59C)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}
html:root .intro p,html:root .rc-intro p{color:var(--muted)!important;font-size:15px!important;line-height:1.55!important}
html:root .floaters{display:none!important}

/* Recherche */
html[data-theme=dark] .search{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;gap:10px!important}
html[data-theme=dark] .search .field{background:rgba(190,255,235,.04)!important;border:1px solid var(--line)!important;border-radius:var(--r-m)!important;box-shadow:none!important;transition:border-color .2s,box-shadow .2s,background .2s}
html[data-theme=dark] .search .field:focus-within{border-color:rgba(62,230,168,.55)!important;box-shadow:var(--ms-ring)!important;background:rgba(190,255,235,.06)!important}
html[data-theme=dark] .search .field input{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;font-size:15.5px!important}
html:root .search .field input::placeholder{color:#7C8C89!important}
html:root .search .field svg{color:var(--muted)!important}
html:root .search .btn.primary,html:root #rcf.search .btn.primary,html[data-theme=dark] .btn.primary{background:var(--ms-grad)!important;color:var(--ms-on)!important;border:0!important;
  border-radius:var(--r-m)!important;font:700 15.5px Inter,sans-serif!important;letter-spacing:-.005em;min-height:50px;
  box-shadow:0 10px 26px -10px rgba(19,181,156,.75),inset 0 1px 0 rgba(255,255,255,.35)!important;transition:transform .15s var(--ease),box-shadow .2s,filter .2s}
html:root .search .btn.primary:hover,html:root .btn.primary:hover{filter:brightness(1.06);transform:translateY(-1px)}
html:root .search .btn.primary:active,html:root .btn.primary:active{transform:translateY(0) scale(.99)}
html:root .search .btn.primary svg,html:root .search .btn.primary .ic{color:var(--ms-on)!important}
html:root .kbd{background:var(--soft)!important;border:1px solid var(--line)!important;color:var(--muted)!important;border-radius:6px!important;box-shadow:none!important}

/* Raccourcis de villes */
html[data-theme=dark] .qchip{background:transparent!important;border:1px solid var(--line)!important;color:#C9D6D3!important;border-radius:99px!important;box-shadow:none!important}
html[data-theme=dark] .qchip:hover{border-color:rgba(62,230,168,.45)!important;color:#fff!important;background:rgba(62,230,168,.06)!important}
html:root .qchip.geo .ic{color:var(--ms-1)!important}

/* Vues Produits / Enseignes */
html[data-theme=dark] .rc-views{background:var(--soft)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line)!important;border-radius:var(--r-m)!important;padding:4px!important}
html[data-theme=dark] .rc-views button{color:#AFC0BC!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important}
html[data-theme=dark] .rc-views button[aria-pressed=true],html[data-theme=dark] .rc-views button.on,html[data-theme=dark] .rc-views button[aria-selected=true]{background:rgba(190,255,235,.1)!important;color:#fff!important}

/* Filtres de danger : pastilles fines, couleur seulement sur l'icône */
html[data-theme=dark] .rc-dg{background:transparent!important;border:1px solid var(--line)!important;box-shadow:none!important;color:#D5E0DD!important;border-radius:99px!important;padding:6px 12px 6px 10px!important;
  font:600 13px Inter,sans-serif!important;transition:border-color .2s,background .2s,color .2s}
html[data-theme=dark] .rc-dg:hover{border-color:var(--hi)!important;background:var(--soft)!important}
html[data-theme=dark] .rc-dg[aria-pressed=true],html[data-theme=dark] .rc-dg.on{background:rgba(190,255,235,.09)!important;border-color:rgba(190,255,235,.22)!important;color:#fff!important}
html:root .rc-dg b{font:600 11.5px Inter,sans-serif!important;color:var(--muted)!important;background:none!important;padding:0!important;margin-left:2px}

/* Période, zone, listes */
html[data-theme=dark] .rc-seg{background:var(--soft)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line)!important;border-radius:12px!important;padding:3px!important}
html[data-theme=dark] .rc-seg button{color:#AFC0BC!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important}
html[data-theme=dark] .rc-seg button[aria-pressed=true],html[data-theme=dark] .rc-seg button.on{background:rgba(190,255,235,.12)!important;color:#fff!important}
html[data-theme=dark] .rc-zone{border:1px dashed rgba(190,255,235,.18)!important;background:transparent!important;color:#D5E0DD!important;border-radius:99px!important}
html[data-theme=dark] .rc-zone .ic{color:var(--ms-1)!important}
html[data-theme=dark] :is(.rc-select,.side select){background-color:rgba(190,255,235,.04)!important;border:1px solid var(--line)!important;border-radius:12px!important;color:#EAF2F0!important;box-shadow:none!important}
html[data-theme=dark] .status{color:var(--muted)!important;font-size:13.5px!important}
html[data-theme=dark] .status b{color:#fff}

/* ════════ CARTES DE LA LISTE ════════ */
html[data-theme=dark] .side .rc-card,html[data-theme=dark] .side .card{background:linear-gradient(180deg,rgba(190,255,235,.035),rgba(190,255,235,.015))!important;
  border:1px solid var(--line)!important;border-radius:var(--r-l)!important;box-shadow:none!important;
  transition:transform .25s var(--ease),border-color .25s,background .25s,box-shadow .25s!important}
html[data-theme=dark] .side .rc-card:hover,html[data-theme=dark] .side .card:hover{transform:translateY(-2px)!important;border-color:rgba(62,230,168,.28)!important;
  background:linear-gradient(180deg,rgba(190,255,235,.06),rgba(190,255,235,.025))!important;box-shadow:0 18px 40px -18px rgba(0,0,0,.8),0 0 0 1px rgba(62,230,168,.08)!important}
html:root .rc-card h3{font:700 16.5px/1.2 var(--font-d)!important;letter-spacing:-.015em!important}
html[data-theme=dark] .rc-card .addr{color:#9DB0AC!important}
html:root .rc-thumb{border-radius:16px!important;overflow:hidden}
html[data-theme=dark] .rc-thumb{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)!important}
html[data-theme=dark] .rc-card .pill{border-radius:8px!important;font-weight:600!important}
html[data-theme=dark] .rc-card .pill:not(.rc-dpill){background:rgba(190,255,235,.05)!important;color:#B9C8C5!important;border:0!important}
html[data-theme=dark] .rc-ens>span{background:rgba(190,255,235,.04)!important;border:1px solid var(--line)!important;border-radius:9px!important}
html[data-theme=dark] .rc-go{background:transparent!important;color:#6F807C!important;box-shadow:none!important;transition:transform .25s var(--ease),color .2s!important}
html[data-theme=dark] .rc-card:hover .rc-go{color:var(--ms-1)!important;transform:translateX(3px)}

/* ════════ CARTE ════════ */
html[data-theme=dark] .maphead{background:rgba(9,15,17,.78)!important;-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);
  border:1px solid var(--line)!important;border-radius:var(--r-l)!important;box-shadow:0 20px 50px -20px rgba(0,0,0,.8)!important}
html:root .maphead h2{font:700 19px/1.2 var(--font-d)!important}
html:root .maphead .mhi .ic,html:root .maphead .mhi{color:var(--ms-1)!important}
html[data-theme=dark] :is(.maptools button,.mapbtn,.leaflet-bar a){background:rgba(9,15,17,.82)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border:1px solid var(--line)!important;color:#DCE7E4!important;border-radius:12px!important;box-shadow:0 10px 24px -10px rgba(0,0,0,.7)!important}
html[data-theme=dark] :is(.maptools button,.mapbtn,.leaflet-bar a):hover{color:var(--ms-1)!important;border-color:rgba(62,230,168,.35)!important}
html[data-theme=dark] .leaflet-bar{border:0!important;box-shadow:none!important;display:flex;flex-direction:column;gap:6px}
html[data-theme=dark] .rc-legend{background:rgba(9,15,17,.8)!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--line)!important;border-radius:99px!important;padding:7px 12px!important}

/* Chiffres clés sur la carte */
html[data-theme=dark] .mapstats .ms,html[data-theme=dark] .rc-mapstats>div,html[data-theme=dark] .rc-mapstats .ms{background:rgba(9,15,17,.8)!important;
  -webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);border:1px solid var(--line)!important;border-radius:var(--r-l)!important;
  box-shadow:0 20px 50px -24px rgba(0,0,0,.9)!important;transition:transform .25s var(--ease),border-color .25s}
html[data-theme=dark] .rc-mapstats button.ms:hover{transform:translateY(-2px);border-color:rgba(62,230,168,.3)!important}
html:root .ms small{font:600 12px Inter,sans-serif!important;letter-spacing:.02em;color:var(--muted)!important;text-transform:none}
html:root .ms b{font:750 32px/1.05 var(--font-d)!important;letter-spacing:-.03em!important}
html[data-theme=dark] .ms b{color:#fff!important}
html:root .ms span{color:var(--muted)!important}
html[data-theme=dark] .msi{background:rgba(190,255,235,.06)!important;color:var(--ms-1)!important;border:0!important;border-radius:11px!important;box-shadow:none!important}
html[data-theme=dark] .rc-mapstats .ms:nth-child(2) .msi{background:rgba(255,90,95,.12)!important;color:#FF7E82!important}
html[data-theme=dark] .rc-mapstats .ms.dark{background:rgba(9,15,17,.8)!important;color:inherit!important}

/* ════════ FICHE RAPPEL (tiroir) ════════ */
html[data-theme=dark] .drawer{background:#0A1113!important;border-left:1px solid var(--line)!important;box-shadow:-30px 0 80px rgba(0,0,0,.6)!important}
html:root .rc-dhead{background:
  radial-gradient(520px 260px at 100% 0%,color-mix(in srgb,var(--c,#FF5A5F) 34%,transparent),transparent 70%),
  linear-gradient(180deg,color-mix(in srgb,var(--c,#FF5A5F) 16%,#0C1416),#0A1113)!important;border-bottom:1px solid var(--line)}
html:root .rc-dhead::after{display:none!important}
html:root .rc-dhead h2{font:750 30px/1.05 var(--font-d)!important;color:#fff}
html[data-theme=dark] .drawer .close,.rc-dhead .close{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.1)!important;color:#fff!important;border-radius:12px!important;backdrop-filter:blur(8px)}
html[data-theme=dark] .dbody .actions a,html[data-theme=dark] .dbody .actions button{background:rgba(190,255,235,.04)!important;border:1px solid var(--line)!important;border-radius:12px!important;color:#E3ECEA!important;box-shadow:none!important}
html[data-theme=dark] .dbody .actions a:hover,html[data-theme=dark] .dbody .actions button:hover{border-color:rgba(62,230,168,.35)!important;color:#fff!important}
html[data-theme=dark] .dbody .actions .ic{color:var(--ms-1)!important}
html:root .dbody h3,html:root .dbody h4{font-family:var(--font-d)!important}
html[data-theme=dark] :is(.rc-kv,.rc-box,.dtable,.rc-table){background:rgba(190,255,235,.03)!important;border:1px solid var(--line)!important;border-radius:var(--r-m)!important}

/* ════════ NAVIGATION MOBILE ════════ */
html[data-theme=dark] .mnav{background:rgba(7,12,13,.86)!important;-webkit-backdrop-filter:blur(20px) saturate(1.4);backdrop-filter:blur(20px) saturate(1.4);
  border-top:1px solid var(--line)!important;box-shadow:0 -12px 34px rgba(0,0,0,.45)!important}
html[data-theme=dark] .mnav a{color:#7F908C!important}
html:root .mnav a.on,html:root .mnav a[data-mnav=rappels].on{color:var(--ms-1)!important}
html:not([data-theme=dark]) .mnav a.on{color:var(--ms-3)!important}
html:root .mnav a.on::before{content:"";position:absolute;top:2px;left:50%;width:22px;height:3px;margin-left:-11px;border-radius:0 0 3px 3px;background:var(--ms-grad)}

/* ════════ DIVERS ════════ */
html[data-theme=dark] .acct-tabs button[aria-selected=true]{background:var(--ms-grad)!important;color:var(--ms-on)!important}
html[data-theme=dark] .btn.dark{background:var(--ms-grad)!important;color:var(--ms-on)!important}
html[data-theme=dark] .toast{background:rgba(12,19,21,.95)!important;border:1px solid var(--line)!important;border-radius:var(--r-m)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html[data-theme=dark] .totop{background:rgba(12,19,21,.9)!important;border:1px solid var(--line)!important;color:var(--ms-1)!important}
html:root .progress{background:var(--ms-grad)!important}
html[data-theme=dark] .seo-cols a:hover{color:var(--ms-1)!important}

/* Mobile */
@media (max-width:760px){
  html:root header.top{height:58px!important;padding:0 14px!important}
  html[data-theme=dark] .ticker{top:58px!important;height:36px!important}
  html:root .tk-label{height:26px!important;margin:5px 8px 5px 10px!important}
  html:root .lgic,html:root .lgic svg{width:34px!important;height:34px!important}
  html:root .lgn{font-size:19px!important}
  html:root .intro h1,html:root .rc-intro h1{font-size:27px!important}
  html:root .maphead h2{font-size:14px!important}
}

@media (prefers-reduced-motion:reduce){html:root .tk-label::before{animation:none}html:root .rc-card,html:root .btn.primary{transition:none!important}}

/* Boutons d'action secondaires (scanner, tout voir, autour de moi…) : menthe, plus rouge */
html:root[data-theme=dark] :is(.rc-scanbtn,.rc-in-all,.rc-weektop button,.acct-scan,.qchip.geo,.viewtoggle,.herebtn,.af,.totop,.hb.rc,body.mode-rappels .modes-ind,.infotile .links a:hover){
  background:var(--ms-grad)!important;color:var(--ms-on)!important;border-color:transparent!important;box-shadow:0 8px 22px -8px rgba(19,181,156,.6)!important}
html:root[data-theme=dark] :is(.rc-scanbtn,.rc-in-all,.acct-scan,.qchip.geo,.herebtn,.af,.totop) .ic{color:var(--ms-on)!important}
html:root[data-theme=dark] header.top nav a .ic,html:root[data-theme=dark] header.top nav a .ic svg{color:var(--ms-1)!important}
@media (max-width:760px){
  html:root .rc-legend{top:70px!important;right:12px!important;left:auto!important;bottom:auto!important}
}

/* Titre animé mot par mot (mode Restaurants) : surligneur menthe au lieu du texte en dégradé */
html:root[data-theme] h1.split mark{background:linear-gradient(transparent 60%,rgba(46,214,170,.38) 60%) no-repeat 0 0/100% 100%!important;
  -webkit-background-clip:border-box!important;background-clip:border-box!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;
  animation:none!important;padding:0 2px!important}
@media (prefers-reduced-motion:reduce){html:root[data-theme] h1.split mark{animation:none!important;background-size:100% 100%!important}}

/* Thème clair : nom et accents en sarcelle profonde (contraste suffisant sur blanc) */
html:root:not([data-theme=dark]) .logo .lgn b{background:linear-gradient(90deg,#0E9488,#12A58F)!important;-webkit-background-clip:text!important;background-clip:text!important}
html:root:not([data-theme=dark]) .wk-btn{background:#EEF6F4!important;color:#0E1A18!important;box-shadow:inset 0 0 0 1px rgba(14,26,24,.08)!important}
html:root:not([data-theme=dark]) .wk-btn .ic{color:#0E9488!important}
html:root:not([data-theme=dark]) header.top nav{background:#EEF3F2!important}
html:root:not([data-theme=dark]) header.top::after{background:linear-gradient(90deg,transparent,rgba(14,148,136,.5),transparent)!important}

/* Fenêtre « Mon compte » : en-tête de marque (plus de rouge) */
html:root .acct-head:not(.logged){background:radial-gradient(520px 260px at 100% 0%,rgba(62,230,168,.35),transparent 65%),linear-gradient(155deg,#0F5E5A,#0A2F31 70%,#0A1A1C)!important;border-bottom:1px solid var(--line)}
html:root .acct-head h2{font-family:var(--font-d)!important;letter-spacing:-.025em!important}
html:root .acct-head :is(.ic,.acct-ic,.acct-bell){color:#fff}
html:root .acct-why .ic{color:var(--ms-1)!important}
html:root:not([data-theme=dark]) .acct-why .ic{color:var(--ms-3)!important}
html:root[data-theme=dark] .acct-why li{background:rgba(190,255,235,.035)!important;border-radius:var(--r-m)!important}
html:root[data-theme=dark] .btn.dark{box-shadow:0 10px 26px -10px rgba(19,181,156,.7)!important}
html[data-theme=dark]{background:#060B0C}
html:root body{min-height:100vh}
