/* Everyday — design tokens extracted from the validated screens (24 Oct 2026).
   Source: design/screens/*.html. Use these values; do not invent new ones. */
:root{
  /* colours */
  --ev-bg:#ffffff; --ev-surface:#f4f5f4; --ev-surface-2:#f0f1f0;
  --ev-text:#111111; --ev-text-2:#555555; --ev-text-3:#666666; --ev-text-4:#888888;
  --ev-line:#eef0ee; --ev-border:#e0e2e0; --ev-dash:#c9ccc9; --ev-handle:#d6d9d6;
  --ev-black:#111111;                 /* primary buttons */
  --ev-yellow:#fec700;                /* selection, accents, badges, progress */
  --ev-yellow-soft:#fff6cc;           /* active tab pill, soft yellow cards */
  --ev-yellow-softer:#fffbea;         /* selected option background */
  --ev-green:#02462e;                 /* savings + location ring ONLY */
  --ev-green-soft:#e7f2ec;            /* savings chip */
  --ev-red:#b42318; --ev-badge:#e5484d;
  --ev-overlay:rgba(17,24,20,0.45);   /* sheet backdrop */
  /* pastel cards (Pour vous, by category) */
  --ev-pastel-pink:#fde4ef; --ev-pastel-yellow:#fff3c4; --ev-pastel-blue:#e2eaf8; --ev-pastel-green:#e8f5ee; --ev-pastel-grey:#eef1f6;
  /* radius */
  --ev-r-xs:10px; --ev-r-sm:12px; --ev-r-md:14px; --ev-r-lg:16px; --ev-r-xl:18px; --ev-r-2xl:20px; --ev-r-3xl:22px; --ev-r-sheet:28px; --ev-r-pill:999px;
  /* shadows */
  --ev-shadow-card:0 10px 24px rgba(17,24,20,0.06);
  --ev-shadow-ad:0 10px 24px rgba(17,24,20,0.08),0 2px 6px rgba(17,24,20,0.05);
  --ev-shadow-float:0 8px 26px rgba(0,0,0,0.14);
  /* type (Plus Jakarta Sans 500/600/700/800) */
  --ev-font:'Plus Jakarta Sans',system-ui,sans-serif;
  --ev-fs-xs:11px; --ev-fs-sm:12px; --ev-fs-md:13px; --ev-fs-base:14px; --ev-fs-lg:15px; --ev-fs-xl:16px;
  --ev-fs-h3:18px; --ev-fs-h2:20px; --ev-fs-h1:22px; --ev-fs-title:26px;
  /* layout */
  --ev-screen:390px; --ev-gutter:16px; --ev-gap-section:22px; --ev-gap-title:12px;
  --ev-btn-h:54px; --ev-btn-h-sm:48px; --ev-icon-btn:40px; --ev-add-btn:40px;
  --ev-banner-w:358px; --ev-banner-h:96px;
}
/* glass tab bar */
.ev-glass{background:rgba(255,255,255,0.62);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border:1px solid rgba(255,255,255,0.75);box-shadow:var(--ev-shadow-float)}
/* brochure price: <b class="ev-price"><span class="cur">Rs</span><span class="int">48</span><span class="dec">,95</span></b> */
.ev-price{display:inline-flex;align-items:flex-start;line-height:1;white-space:nowrap;letter-spacing:-0.02em}
.ev-price .cur{font-size:11px;font-weight:700;margin:3px 2px 0 0}.ev-price .int{font-size:26px;font-weight:800}.ev-price .dec{font-size:12px;font-weight:800;margin-top:2px}
/* text rules */
.ev-clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ev-1line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* PWA shell: no bounce, only content scrolls */
html,body{height:100%;overscroll-behavior:none}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* everyday.mu PWA — design = demo 1.0 (doc 09). One component = one block. No !important. */

/* ---------- Tokens (values = demo 1.0 final cascade; theme from /config overrides them) ---------- */
:root {
  color-scheme: light;
  --g: #02462e;        /* brand green */
  --g2: #0e7a4f;
  --y: #fec700;        /* brand yellow */
  --mint: #eef6f1;
  --butter: #fff6cc;
  --bg: #ffffff;
  --card: #ffffff;
  --tile: #f3f3f3;
  --tx: #111111;
  --mu: #6b6b6b;
  --ln: rgba(0, 0, 0, .06);
  --ln2: #ececf0;
  --ok: #1fa856;
  --red: #d64545;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Fixed app shell (24 Oct): the page never moves or bounces, only #app scrolls. */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--bg); }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 16px/1.4 var(--font); overflow-x: clip; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; } /* the only !important: [hidden] must always win */

.app { position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: none; -webkit-overflow-scrolling: touch; scroll-padding-top: var(--safe-t); }
.app > main { max-width: 430px; margin: 0 auto; min-height: 100%; padding-top: var(--safe-t); padding-bottom: calc(96px + var(--safe-b)); }
@media (min-width: 700px) { .app > main { max-width: 760px; } }

/* ---------- Picture with placeholder (rule 19 Oct: missing picture = EVERY DAY logo on the tile's pastel) ---------- */
.ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph.is-logo { object-fit: contain; width: 84%; height: 84%; margin: auto; }

/* ---------- Splash (v51 / v51b) ---------- */
#splash { position: fixed; inset: 0; z-index: 300; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity .4s ease, visibility .4s; }
#splash.out { opacity: 0; visibility: hidden; }
.spl-c { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: -60px; animation: splIn .8s var(--ease) both; }
.spl-c img { width: min(56vw, 230px); height: auto; }
.spl-c p { font: 800 18px/1.2 var(--font); color: #111; margin: 0; letter-spacing: -.01em; text-align: center; padding: 0 24px; }
.spl-b { position: absolute; left: 0; right: 0; bottom: calc(30px + var(--safe-b)); display: flex; flex-direction: column; gap: 12px; align-items: center; animation: splUp .7s .15s var(--ease) both; }
.spl-m { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.spl-t { display: flex; gap: 12px; width: max-content; padding: 6px 0 22px; animation: splRun 16s linear infinite; }
.spl-t span { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; box-shadow: 0 6px 14px rgba(2, 70, 46, .16); }
.spl-t img { width: 80%; height: 80%; object-fit: contain; border-radius: 50%; }
.spl-n { font: 700 11.5px/1.35 var(--font); color: #111; opacity: .72; text-align: center; margin: 0; padding: 0 28px; min-height: 1.35em; }
.spl-bar { width: 150px; height: 6px; border-radius: 9px; background: rgba(2, 70, 46, .16); overflow: hidden; margin-top: 6px; }
.spl-bar i { display: block; height: 100%; background: var(--g); border-radius: 9px; transform: scaleX(0); transform-origin: left; animation: splBar 2.3s .1s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes splRun { to { transform: translateX(-50%); } }
@keyframes splIn { 0% { opacity: 0; transform: scale(.8); } 60% { opacity: 1; transform: scale(1.06); } 80% { transform: scale(.98); } 100% { transform: scale(1); } }
@keyframes splBar { to { transform: scaleX(1); } }
@keyframes splUp { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Tab bar: glass, icons only, active tab in a yellow pill (24 Oct) ---------- */
.nav { position: fixed; z-index: 6; bottom: calc(12px + var(--safe-b)); left: 50%; transform: translateX(-50%); height: 60px; padding: 0 8px; display: flex; align-items: center; gap: 6px; border-radius: 30px;
  background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 8px 26px rgba(0, 0, 0, .14); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: rgba(255, 255, 255, .96); } }
.nav button { position: relative; width: 50px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: #444; transition: width .25s var(--ease), background-color .25s var(--ease), transform .18s var(--ease); }
.nav button:active { transform: scale(.96); }
.nav button svg { width: 22px; height: 22px; }
.nav button.on { width: 64px; background: #fff6cc; color: var(--tx); }
.nav button.on svg { stroke-width: 2.4; animation: navPop .35s cubic-bezier(.3, 1.6, .5, 1); }
.nav .cnt { position: absolute; top: 4px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--y); color: var(--tx); font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@keyframes navPop { from { transform: scale(.8); } to { transform: scale(1); } }

/* ---------- Bottom sheet ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 10; background: rgba(31, 46, 38, .35); animation: bgIn .3s ease; }
.sheet { position: fixed; z-index: 11; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; max-height: 86dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 28px 28px 0 0; padding: 12px 18px calc(24px + var(--safe-b)); animation: sheetUp .38s cubic-bezier(.2, .9, .25, 1); }
.sheet::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--ln); margin: 0 auto 16px; }
.sheet h2 { font-family: var(--font); font-size: 26px; font-weight: 900; margin: 0 0 6px; }
@media (min-width: 700px) { .sheet { max-width: 760px; } }
@keyframes sheetUp { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes bgIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 40; bottom: 100px; left: 50%; transform: translateX(-50%); max-width: 90%; background: var(--g); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; text-align: center; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }

/* ---------- Full-screen notice: maintenance / update / offline (no demo screen: brand splash style) ---------- */
.notice { position: fixed; inset: 0; z-index: 200; background: var(--y); color: var(--g); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; }
.notice img { width: min(46vw, 190px); height: auto; }
.notice p { font: 700 16px/1.4 var(--font); margin: 0; max-width: 320px; white-space: pre-line; }
.notice button { background: var(--g); color: #fff; font-weight: 800; font-size: 15px; padding: 14px 26px; border-radius: 999px; }

/* ---------- Onboarding mode: no app chrome ---------- */
body.obm .nav { display: none; }
body.obm .app > main { padding: 0; max-width: 430px; }
.gwrap { position: relative; }
.gsi { position: absolute; inset: 0; opacity: .01; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gsi > div, .gsi iframe { width: 100%; min-height: 52px; }
.ts-box { margin: -12px 0 12px; min-height: 65px; }

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .spl-t, .spl-c, .spl-b, .sheet, .sheet-bg, .nav button.on svg { animation: none; }
  .spl-bar i { animation-duration: .01s; }
  .nav button { transition: none; }
}

/* ---------- Skeleton loading (first load of a screen) ---------- */
.sk { display: block; background: linear-gradient(90deg, #eeeeee 0%, #f7f7f7 40%, #eeeeee 80%); background-size: 300% 100%; animation: skSh 1.2s ease-in-out infinite; border-radius: 18px; }
@keyframes skSh { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.skw { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.sk-row { display: flex; gap: 14px; overflow: hidden; }
.sk-circ { width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0; }
.sk-pill { width: 90px; height: 40px; border-radius: 999px; flex-shrink: 0; }
.sk-card { height: 170px; border-radius: 26px; }
.sk-card.short { height: 96px; }
.sk-line { height: 14px; border-radius: 8px; }
.sk-line.w40 { width: 40%; } .sk-line.w70 { width: 70%; }
.sk-h { padding-top: 6px; }
.sk-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sk-tile { height: 210px; border-radius: 22px; }
.sk-tile.tall { height: 240px; }
.sk-li { display: flex; gap: 12px; align-items: center; }
.sk-li span { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sk-sq { width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }


/* ---------- Touch feel ---------- */
html { touch-action: manipulation; }
button, a, [data-act], [data-tab], .sring { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
@keyframes addPop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.add-pop { animation: addPop .35s cubic-bezier(.3,1.6,.5,1); }
button.pressed, [data-act].pressed { opacity: .72; transition: opacity .06s ease; } /* 26 Oct: instant touch feedback (opacity only: some buttons are positioned with transform) */
@media (prefers-reduced-motion: reduce) { .pressed { transform: none; } .add-pop { animation: none; } }

/* ---------- Brochure price (24 Oct): small Rs, big integer, cents raised ---------- */
.pb { display: inline-flex; align-items: flex-start; line-height: 1; white-space: nowrap; letter-spacing: -.02em; font-weight: 800; }
.pb-r { font-size: 11px; font-weight: 700; margin: 3px 2px 0 0; }
.pb-i { font-size: 26px; }
.pb-c { font-size: 12px; margin-top: 2px; }
.pb.sm .pb-i { font-size: 18px; } .pb.sm .pb-r { font-size: 10px; margin-top: 2px; } .pb.sm .pb-c { font-size: 10px; margin-top: 1px; }
/* Product titles: 2 lines max · shop names: 1 line */
.p-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* 24 Oct design: sheet backdrop + handle from tokens */
.sheet-bg { background: var(--ev-overlay); }
.sheet::before { background: var(--ev-handle); }

/* full-screen settings pages (24 Oct design: grey page, ← header, white cards) */
.sheet.sheet-pg { padding: calc(16px + var(--safe-t, 0px)) 16px calc(24px + var(--safe-b)); background: var(--ev-surface); line-height: normal; color: var(--ev-text); display: flex; flex-direction: column; gap: 16px; }
.sheet.sheet-pg::before { display: none; }
.pg-h { display: flex; align-items: center; gap: 10px; }
.pg-h > button:first-child { width: 42px; height: 42px; border-radius: 21px; background: var(--ev-bg); font-size: var(--ev-fs-h3); color: var(--ev-text); flex: none; }
.pg-h h1 { flex: 1; margin: 0; font-size: var(--ev-fs-h1); font-weight: 800; }
.pg-h > :not(button):not(h1), .pg-h > button + h1 + button { height: 40px; padding: 0 12px; border-radius: var(--ev-r-md); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.pg-card { background: var(--ev-bg); border-radius: var(--ev-r-3xl); padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--ev-shadow-card); }
.pg-y { background: var(--ev-yellow-soft); border-radius: var(--ev-r-3xl); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.pg-y b { font-size: var(--ev-fs-lg); } .pg-y span { font-size: var(--ev-fs-md); color: #4a3d00; line-height: 1.45; }
.pg-l { font-size: var(--ev-fs-sm); font-weight: 800; color: var(--ev-text-2); letter-spacing: 0.06em; padding: 0 4px; text-transform: uppercase; }
.pg-list { background: var(--ev-bg); border-radius: var(--ev-r-xl); display: flex; flex-direction: column; box-shadow: var(--ev-shadow-card); }
.pg-row { min-height: 58px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; box-sizing: border-box; border-bottom: 1px solid var(--ev-line); text-align: left; color: var(--ev-text); }
.pg-row:last-child { border-bottom: 0; } .pg-row > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pg-row b { font-size: var(--ev-fs-base); } .pg-row small { font-size: var(--ev-fs-sm); color: var(--ev-text-3); }
.pg-sw { width: 46px; height: 28px; border-radius: 14px; background: var(--ev-handle); display: flex; align-items: center; justify-content: flex-start; padding: 3px; box-sizing: border-box; flex: none; cursor: pointer; }
.pg-sw.on { background: var(--ev-black); justify-content: flex-end; } .pg-sw i { width: 22px; height: 22px; border-radius: 11px; background: var(--ev-bg); }
.pg-btn { height: var(--ev-btn-h); border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; width: 100%; }
.pg-btn.o { background: var(--ev-bg); color: var(--ev-text); border: 1px solid var(--ev-border); height: var(--ev-btn-h-sm); font-size: var(--ev-fs-base); }
.pg-btn:disabled { opacity: .4; }
.pg-note { font-size: var(--ev-fs-xs); color: var(--ev-text-3); }
.lg-cr { display: flex; flex-direction: column; gap: 4px; margin: 14px 0 10px; padding: 14px 16px; border-radius: 16px; background: var(--ev-surface, #f4f5f4); font-size: var(--ev-fs-xs); color: var(--ev-text-2); }
.lg-cr b { color: var(--ev-text); font-size: var(--ev-fs-sm); }
.lg-cr a { color: inherit; }
.sheet-pg .f { font-size: var(--ev-fs-md); font-weight: 700; margin: 0 0 -8px; }
.sheet-pg input[type=text], .sheet-pg input[type=number], .sheet-pg input[type=search], .sheet-pg textarea { height: 48px; border-radius: var(--ev-r-md); border: 1.5px solid var(--ev-border); padding: 0 14px; font: inherit; font-size: var(--ev-fs-lg); background: var(--ev-bg); color: var(--ev-text); box-sizing: border-box; width: 100%; }
.sheet-pg textarea { height: auto; padding: 12px 14px; }
.sheet-pg .tg { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-pg .chip { height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 600; color: var(--ev-text); }
.sheet-pg .chip.on { background: var(--ev-yellow-softer); border: 2px solid var(--y); font-weight: 700; }
.sheet-pg .btn { height: var(--ev-btn-h); border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; }
.sheet-pg .btn.o { background: var(--ev-bg); color: var(--ev-text); border: 1px solid var(--ev-border); }
.sheet-pg .mu { color: var(--ev-text-2); font-size: var(--ev-fs-md); margin: 0; }
.sheet-pg .slist { background: var(--ev-bg); border-radius: var(--ev-r-xl); box-shadow: var(--ev-shadow-card); }
.nz-ph { flex-direction: row; align-items: center; gap: 12px; } .nz-ph > div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .nz-ph span { font-size: var(--ev-fs-sm); } .nz-ph small { font-size: var(--ev-fs-xs); color: #4a3d00; }
.sheet.full.sheet-pg { padding: calc(16px + var(--safe-t, 0px)) 16px calc(24px + var(--safe-b)); }
.sheet.full.sheet-oba { padding: 0; }
.oba-me { flex: 1 0 auto; min-height: 0; box-sizing: border-box; }
.oba-me .oba-bk { position: static; }
.dt-map { height: 220px; border-radius: 24px; background: linear-gradient(135deg, #e9f0e4, #dfe9da); position: relative; display: flex; align-items: center; justify-content: center; flex: none; }
.dt-r { position: absolute; width: 150px; height: 150px; border-radius: 75px; background: rgba(254,199,0,0.25); border: 2px solid rgba(254,199,0,0.8); }
.dt-lg { position: relative; width: 52px; height: 52px; border-radius: 26px; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; } .dt-lg img { width: 70%; }
.dt-t { position: absolute; bottom: 14px; font-size: var(--ev-fs-xs); font-weight: 700; color: #4a5a52; }
.dt-h { font-size: var(--ev-fs-h3); } .dt-s { font-size: var(--ev-fs-base); color: var(--ev-text-2); line-height: 1.5; }
.dt-go { margin-top: auto; }
.as-t { font-size: var(--ev-fs-lg); }
.as-st { display: flex; flex-direction: column; gap: 12px; }
.as-st > div { display: flex; gap: 12px; align-items: center; }
.as-st > div > span { width: 28px; height: 28px; border-radius: 14px; border: 2px solid var(--ev-dash); box-sizing: border-box; font-size: var(--ev-fs-md); display: flex; align-items: center; justify-content: center; flex: none; }
.as-st > div.on > span { background: var(--y); border: 0; }
.as-st > div > div { flex: 1; display: flex; flex-direction: column; } .as-st b { font-size: var(--ev-fs-base); } .as-st > div:not(.on) b { color: var(--ev-text-2); } .as-st small { font-size: var(--ev-fs-sm); color: var(--ev-text-3); }
.as-v { background: var(--ev-bg); border-radius: 24px; overflow: hidden; box-shadow: 0 14px 30px rgba(17,24,20,0.10); }
.as-vh { padding: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1.5px dashed var(--ev-border); }
.as-vh > div { display: flex; flex-direction: column; gap: 2px; } .as-vh span { font-size: var(--ev-fs-xs); font-weight: 800; color: var(--ev-text-2); letter-spacing: 0.06em; text-transform: uppercase; } .as-vh b { font-size: 30px; letter-spacing: -0.02em; }
.as-lg { width: 48px; height: 48px; border-radius: var(--ev-r-sm); border: 1.5px dashed var(--ev-dash); display: flex; align-items: center; justify-content: center; } .as-lg img { width: 70%; }
.as-vb { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.as-vb > div:not(.as-code) { display: flex; justify-content: space-between; font-size: var(--ev-fs-md); } .as-vb > div > span { color: var(--ev-text-2); }
.as-code { border-radius: var(--ev-r-lg); background: var(--ev-surface); padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.as-code span { font-size: var(--ev-fs-xs); color: var(--ev-text-2); } .as-code b { font-size: 30px; letter-spacing: 0.2em; }
.as-x { font-size: var(--ev-fs-xs); color: var(--ev-text-3); text-align: center; }
.as-f { gap: 12px; }
.lg-ch { font-size: var(--ev-fs-h3); color: #999; }
.lg-f { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.lg-out { border: 1.5px solid var(--ev-black) !important; }
.lg-del { height: 40px; font-size: var(--ev-fs-base); font-weight: 600; color: var(--ev-red); }
.pf2 { gap: 10px; border-radius: var(--ev-r-xl); padding: 14px; } .pf2 > b { font-size: var(--ev-fs-base); } .pf2 > span { font-size: var(--ev-fs-sm); color: var(--ev-text-3); }
.pf2-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf2-g button { height: 44px; border-radius: var(--ev-r-md); border: 1.5px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-md); color: var(--ev-text); }
.pf2-g button.on { border: 0; background: var(--y); font-weight: 700; }
.pf2-r { display: flex; justify-content: space-between; align-items: center; } .pf2-r > b { font-size: var(--ev-fs-base); }
.pf2-q { display: flex; align-items: center; gap: 12px; } .pf2-q button { width: 36px; height: 36px; border-radius: 18px; background: var(--ev-surface-2); font-size: var(--ev-fs-h3); color: var(--ev-text); } .pf2-q button:last-child { background: var(--ev-black); color: #fff; }
.pf2-go, .kt-go { margin-top: auto; }
.sheet.sheet-lc { padding: 10px 16px calc(24px + var(--safe-b)); height: min(780px, 94dvh); display: flex; line-height: normal; }
.lc { flex: 1; display: flex; flex-direction: column; gap: 14px; color: var(--ev-text); }
.lc-h { display: flex; justify-content: space-between; align-items: center; } .lc-h h2 { margin: 0; font-size: 21px; font-weight: 800; }
.lc-h button { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-surface-2); color: var(--ev-text); }
.lc-s { height: 50px; border-radius: var(--ev-r-lg); border: 2px solid var(--ev-black); background: var(--ev-bg); display: flex; align-items: center; gap: 10px; padding: 0 14px; box-sizing: border-box; flex: none; }
.lc-s input { flex: 1; min-width: 0; border: 0 !important; height: auto !important; padding: 0 !important; outline: none; font: inherit; font-size: var(--ev-fs-lg); background: none; }
.lc-s .ic { width: 18px; height: 18px; }
.lc-ts { display: flex; gap: 8px; flex-wrap: wrap; }
.lc-t { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.lc-t.on { border: 0; background: var(--ev-black); color: #fff; }
.lc-gps { height: var(--ev-btn-h-sm); border-radius: var(--ev-r-md); border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-base); font-weight: 700; color: var(--ev-text); }
.lc-map { height: 200px; border-radius: var(--ev-r-xl); background: #e8efe9; display: flex; align-items: center; justify-content: center; font-size: var(--ev-fs-sm); color: var(--ev-text-2); position: relative; overflow: hidden; flex: none; }
.lc-ring { position: absolute; width: 140px; height: 140px; border-radius: 70px; background: rgba(2,70,46,0.08); border: 1.5px solid rgba(2,70,46,0.25); }
.lc-map > span:last-child { position: relative; }
.lc-d { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lc-d button { height: 42px; border-radius: var(--ev-r-sm); border: 1px solid var(--ev-border); background: var(--ev-bg); font-weight: 700; color: var(--ev-text); }
.lc-d button.on { border: 0; background: var(--ev-black); color: #fff; }
.lc-n { font-size: var(--ev-fs-md); color: var(--ev-text-2); } .lc-n b { color: var(--ev-text); }
.lc-go { margin-top: auto; height: 52px; font-size: var(--ev-fs-lg); }
.kt-t { margin: 0; font-size: var(--ev-fs-title); font-weight: 800; } .kt-s { font-size: var(--ev-fs-md); color: var(--ev-text-2); margin-top: -12px; }
.kt-lh { display: flex; justify-content: space-between; align-items: center; } .kt-lh em { font-style: normal; font-size: var(--ev-fs-sm); font-weight: 700; color: var(--g); }
.kt-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kt-g button { height: 52px; border-radius: var(--ev-r-md); border: 1.5px solid var(--ev-border); background: var(--ev-bg); padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--ev-fs-md); font-weight: 600; color: var(--ev-text); text-align: left; }
.kt-g button.on { border: 2px solid var(--y); background: var(--ev-yellow-softer); font-weight: 700; }
.kt-g i { width: 22px; height: 22px; border-radius: 11px; border: 1.5px solid var(--ev-dash); box-sizing: border-box; font-style: normal; font-size: var(--ev-fs-sm); display: flex; align-items: center; justify-content: center; flex: none; }
.kt-g button.on i { background: var(--y); border: 0; }
.iz-t { font-size: var(--ev-fs-base); color: var(--ev-text-2); line-height: 1.5; }
.iz-f, .ez-c { gap: 10px; border-radius: var(--ev-r-xl); padding: 14px; }
.iz-f label, .ez-f { display: flex; flex-direction: column; gap: 6px; } .iz-f label > span:first-child, .ez-f > span { font-size: var(--ev-fs-md); font-weight: 700; }
.iz-ph { height: 48px; border-radius: var(--ev-r-md); border: 1.5px solid var(--ev-border); padding: 0 14px; display: flex; align-items: center; gap: 10px; box-sizing: border-box; }
.sheet-pg .iz-ph input { border: 0; height: auto; padding: 0; flex: 1; min-width: 0; outline: none; }
.iz-16 { display: flex; gap: 10px; align-items: center; font-size: var(--ev-fs-md); color: var(--ev-text-2); text-align: left; }
.iz-16 > span { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--ev-dash); box-sizing: border-box; font-size: var(--ev-fs-sm); display: flex; align-items: center; justify-content: center; flex: none; }
.iz-16.on > span { background: var(--y); border: 0; }
.iz-go, .ez-go { margin-top: auto; }
.iz-c { align-items: center; text-align: center; gap: 12px; border-radius: var(--ev-r-3xl); }
.iz-qr { width: 160px; height: 160px; } .iz-qr svg { width: 100%; height: 100%; }
.iz-c > b { font-size: var(--ev-fs-xl); } .iz-c > b span { letter-spacing: 0.12em; } .iz-c > span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.iz-b { display: flex; gap: 10px; width: 100%; } .iz-b .pg-btn { flex: 1; height: var(--ev-btn-h-sm); font-size: var(--ev-fs-base); } .iz-b .pg-btn.o { border: 1.5px solid var(--ev-black); }
.iz-sms { display: flex; align-items: center; justify-content: center; text-decoration: none; height: var(--ev-btn-h-sm); font-size: var(--ev-fs-base); }
.ez-ph { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.ez-ph > span { width: 96px; height: 96px; border-radius: 48px; background: var(--ev-yellow-soft); border: 3px solid var(--y); font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ez-ph img { width: 100%; height: 100%; object-fit: cover; } .ez-ph b { font-size: var(--ev-fs-md); } .ez-ph small { font-size: var(--ev-fs-xs); color: var(--ev-text-3); }
.ez-f small { font-weight: 500; color: var(--ev-text-3); float: right; }
body:has(.fz) .nav, body:has(.bz) .nav { display: none; }
.tr-c { gap: 10px; border-radius: var(--ev-r-xl); padding: 14px; }
.tr-c > div { display: flex; justify-content: space-between; font-size: var(--ev-fs-base); } .tr-c > div > span { color: var(--ev-text-2); } .tr-c > div.sm { font-size: var(--ev-fs-md); } .tr-c b.g { color: var(--g); }
.tr-c > i { height: 1px; background: var(--ev-line); }
.tr-c > div.tr-l { align-items: center; gap: 10px; font-size: var(--ev-fs-md); }
.tr-im { width: 40px; height: 40px; border-radius: var(--ev-r-xs); background: var(--ev-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; } .tr-im img { max-width: 86%; max-height: 86%; object-fit: contain; }
.tr-c .tr-n { flex: 1; font-weight: 600; color: var(--ev-text) !important; min-width: 0; }
.tr-go { margin-top: auto; }
.sheet.sheet-pg.lg-read { background: var(--ev-bg); gap: 14px; }
.lg-read .pg-h > button:first-child { background: var(--ev-surface-2); } .lg-h1 { font-size: var(--ev-fs-h2) !important; }
.lg-v { font-size: var(--ev-fs-sm); color: var(--ev-text-3); }
.lg-b { display: flex; flex-direction: column; gap: 10px; } .lg-b h1, .lg-b h2, .lg-b h3, .lg-b strong { font-size: var(--ev-fs-xl); font-weight: 800; margin: 0; }
.lg-b p, .lg-b li { margin: 0; font-size: var(--ev-fs-base); line-height: 1.6; color: #333; }
.mz2 { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mz2 > span { width: 88px; height: 88px; border-radius: 44px; font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; } .mz2 img { width: 100%; height: 100%; object-fit: cover; }
.mz2 b { font-size: var(--ev-fs-h3); } .mz2 small { font-size: var(--ev-fs-md); color: var(--ev-text-3); }
.mz2-s { gap: 10px; border-radius: var(--ev-r-xl); padding: 14px; } .mz2-s > b { font-size: var(--ev-fs-base); } .mz2-s small { font-size: var(--ev-fs-sm); color: var(--ev-text-3); }
.mz2-d { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mz2-d span { height: 40px; border-radius: var(--ev-r-sm); background: var(--ev-surface-2); font-size: var(--ev-fs-xs); font-weight: 700; display: flex; align-items: center; justify-content: center; } .mz2-d span.on { background: var(--y); }
.mz2-f { margin-top: auto; display: flex; flex-direction: column; gap: 8px; } .mz2-f .pg-btn.o { height: 46px; }
/* 9d Nouvelle version disponible */
.notice.upd { background: var(--y); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 16px 16px calc(24px + var(--safe-b, 0px)); text-align: center; }
.notice.upd .upd-m { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.notice.upd img { width: 120px; height: auto; }
.upd-i { width: 88px; height: 88px; border-radius: 29px; background: #fff; display: flex; align-items: center; justify-content: center; }
.upd-i svg { width: 40px; height: 40px; fill: none; stroke: #111; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.notice.upd b { font-size: 24px; line-height: 1.2; color: #111; }
.notice.upd p { font-size: 14px; color: #555; line-height: 1.5; max-width: 300px; margin: 0; }
.notice.upd button { width: 100%; height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; padding: 0; }

/* 25 Oct fixes: full-screen fit, no empty space, no sideways move */
html, body, .app, .app > main, .sheet { overflow-x: hidden; max-width: 100vw; }
.app, .sheet { touch-action: pan-y pinch-zoom; }
.sheet.full { display: flex; flex-direction: column; }
.sheet.full > * { flex-shrink: 0; }
body.bk-full .app > main, body:has(.fz) .app > main, body:has(.bz) .app > main { padding-bottom: var(--safe-b); }
.gm { padding-bottom: 24px; }
.sheet.dragging { transition: none; }
.sheet.closing { transition: transform .2s ease; }
/* 9e toast: black pill */
.toast { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px 0 12px; border-radius: 18px; background: #111; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.25); bottom: calc(84px + var(--safe-b)); width: calc(100% - 32px); max-width: 398px; opacity: 0; transform: translate(-50%, 24px); transition: opacity .2s ease, transform .25s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-i { width: 26px; height: 26px; border-radius: 13px; background: var(--y); color: #111; display: flex; align-items: center; justify-content: center; flex: none; font-weight: 800; }
.toast-i.err { background: #e5484d; color: #fff; }
.toast-i svg { width: 16px; height: 16px; fill: none; stroke: #111; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.toast-t { flex: 1; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-a { font-size: 13px; font-weight: 800; color: var(--y); flex: none; }
body.bk-full .toast, body:has(.sheet) .toast { bottom: calc(16px + var(--safe-b)); }
/* 6 / 6a text + logo ads */
.adx { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; border: 1px solid #eef0ee; box-shadow: 0 10px 24px rgba(17,24,20,.08), 0 2px 6px rgba(17,24,20,.05); padding: 12px; margin: 24px 0 0; cursor: pointer; text-align: left; }
.adx.banner { height: 96px; box-sizing: border-box; }
.adx.strip { height: 60px; box-sizing: border-box; border-radius: 16px; padding: 0 12px; }
.adx-lg { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex: none; display: flex; align-items: center; justify-content: center; background: #f4f5f4; }
.adx.strip .adx-lg { width: 40px; height: 40px; border-radius: 10px; }
.adx-lg img { width: 100%; height: 100%; object-fit: cover; } .adx-lg img.evimg { object-fit: contain; padding: 6px; }
.adx-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.adx-t > span { font-size: 10px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adx-l { color: #111; background: #fff6cc; padding: 1px 5px; border-radius: 4px; margin-right: 4px; font-weight: 800; }
.adx-t b { font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adx-t small { font-size: 11px; color: #555; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adx-go { width: 30px; height: 30px; border-radius: 15px; background: #f4f5f4; display: flex; align-items: center; justify-content: center; flex: none; }
.adw .ad-lbl .adx-l { background: #fff6cc; }
.adw-t { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; font-weight: 800; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.adw { position: relative; }
.adx-t > span .adx-l { font-size: 10px; line-height: 1.4; display: inline; white-space: nowrap; }
/* 25 Oct: sheets opened from a story show above it */
body:has(#story) .sheet-bg { z-index: 30; }
body:has(#story) .sheet { z-index: 31; }
.sheet.sheet-lc { flex-direction: column; }
/* iPhone installed (same set-up as the demo app): white status bar, the app fills the rest of the screen to the bottom. */
html, body { background: #fff; }
.app, #splash, .notice, #adpop, #welcome, .sheet-bg { bottom: 0; min-height: 100%; }
/* 25 Oct 15:30: installed app = full screen up to the top (status bar over the app); full height to the bottom. */
@media (display-mode: standalone) {
  html, body { height: 100vh; min-height: 100vh; }
  .app, #splash { top: 0; bottom: auto; height: 100vh; }
}
/* 25 Oct 16:00: 9e confirmation = « Dynamic Island » style — black capsule at the top that grows out then shrinks back */
.toast, body.bk-full .toast, body:has(.sheet) .toast { top: calc(10px + var(--safe-t, 0px)); bottom: auto; z-index: 400; width: auto; min-width: 150px; max-width: min(360px, calc(100% - 32px)); height: 48px; border-radius: 24px; padding: 0 16px 0 8px; background: #000; box-shadow: 0 12px 30px rgba(0,0,0,.28); opacity: 0; transform: translate(-50%, -8px) scale(.6, .7); transform-origin: top center; transition: opacity .18s ease, transform .38s cubic-bezier(.2, 1.4, .4, 1); }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast-i { width: 32px; height: 32px; border-radius: 16px; }
.toast-t { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .toast { transition: opacity .15s; transform: translate(-50%, 0); } }
/* 25 Oct 16:00: every screen starts right under the clock (white strip behind it), no empty space at the bottom */
.app > main::before { content: ""; position: fixed; z-index: 7; top: 0; left: 0; right: 0; height: var(--safe-t, 0px); background: #fff; pointer-events: none; }
.app > main { padding-bottom: calc(76px + var(--safe-b)); }
.h2 { padding-top: 4px; padding-bottom: 0; min-height: 0; }
.ym2 { padding-bottom: 0; }
.ym-top { padding-top: 6px; }
.pr-top { padding-top: 6px; }
.rx { padding-bottom: 0; }
/* 25 Oct 16:00: soft entrance animations (off with reduce motion) */
@keyframes evUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sheet > * { animation: evUp .3s var(--ease) both; }
.sheet > *:nth-child(2) { animation-delay: .04s; } .sheet > *:nth-child(3) { animation-delay: .08s; } .sheet > *:nth-child(n+4) { animation-delay: .1s; }
.skel ~ *, .scr > div:first-child > section:first-child { animation: evUp .3s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .sheet > *, .scr > div:first-child > section:first-child { animation: none; } }
/* 25 Oct 16:12: every shop logo fills its circle (no white ring, no padding) */
.h2-ring .slogo, .pr-ring > span .slogo, .px-lg .slogo, .ix-lg .slogo, .fm2-lg .slogo, .h2-slg .slogo, .pr-lg .slogo, .h3-lg .slogo, .bk-gl .slogo, .ar-lg .slogo, .geo-lg .slogo, .sx-lg .slogo, .mx-lg .slogo, .arrp-lg .slogo, .bk-sl .slogo, .bk-bl .slogo, .wh-lg .slogo, .tx-lg .slogo { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 50%; border: 0; padding: 0; }
.h2-ring.st { padding: 3px; } .h2-ring.st .slogo { border: 0; }
.pr-ring > span, .px-lg, .ix-lg, .fm2-lg, .h3-lg { padding: 0; overflow: hidden; }
.px-lg { border: 0; }
.spl-t img { width: 100%; height: 100%; object-fit: cover; }
/* Profile: sign-in e-mail (read only) + optional +230 number (26 Oct 2026) */
.ez-f input[readonly] { color: var(--ev-text-3); background: #f4f5f4; }
.ez-f .ez-rec { float: none; color: var(--g); font-weight: 600; }
.ez-f > small.ez-n { float: none; font-size: 11px; }
.ez-ph2 { display: flex; align-items: center; gap: 10px; border: 2px solid var(--y); background: #fffbe8; border-radius: 14px; padding: 0 14px; height: 48px; }
.ez-ph2 b { font-size: 15px; }
.ez-ph2 input { flex: 1; min-width: 0; border: 0 !important; outline: none; background: none !important; height: 44px; padding: 0 !important; font: inherit; font-size: 15px; }
/* 26 Oct: « Utiliser ma position » shows that the phone is looking */
.lc-gps.busy, .ob2-gps.busy { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ev-text-2, #555); }
.gps-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #d6d9d6; border-top-color: var(--g); animation: gpsSpin .8s linear infinite; flex: none; }
@keyframes gpsSpin { to { transform: rotate(360deg); } }

/* 30 Oct (speed): thin yellow bar while data takes more than 0.4 s (weak network); the screen stays usable. */
body::after { content: ""; position: fixed; top: env(safe-area-inset-top, 0); left: 0; height: 2px; width: 0; background: var(--y); z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s; }
body.ev-busy::after { opacity: 1; animation: evBusy 1.2s ease-in-out infinite; }
@keyframes evBusy { 0% { left: 0; width: 0; } 50% { left: 15%; width: 55%; } 100% { left: 100%; width: 0; } }
@media (prefers-reduced-motion: reduce) { body.ev-busy::after { animation: none; width: 100%; } }
/* Ad with 2 buttons (31 Oct) */
.ap2-call2 { margin-inline-start: 6px; background: rgba(255,255,255,.18); }
.adsh { display: flex; flex-direction: column; gap: 10px; padding: 6px 4px 10px; }
.adsh small { color: var(--mut, #666); margin-top: -6px; }
/* 7 Nov (Mervyn 11:44): the tab bar is not drawn until its buttons are there (was an empty pill while loading). */
.nav:empty { display: none; }
.cz-ld { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; } .cz-ld .sk { height: 72px; border-radius: 16px; }
.px-ld { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 24px; } .px-sk1 { height: 260px; border-radius: 20px; } .px-sk2 { height: 22px; width: 70%; border-radius: 8px; } .px-sk3 { height: 120px; border-radius: 16px; }
/* 7 Nov (2-phone test): sheet buttons black (green = savings only); WhatsApp invite; sent state on « Envoyer à ». */
.sheet .btn { background: #111; color: #fff; }
.iz-wa { background: #111 !important; color: #fff !important; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.pds-b.sent > :first-child { box-shadow: 0 0 0 3px var(--y); }
.pds-b.sent small { font-weight: 800; }
/* 7 Nov (age test, Mervyn OK): « Grand texte » = the whole app 20 % bigger (text, buttons, spacing). */
html.ev-big body { zoom: 1.2; }
/* 8 Nov 18:27 (Mervyn: message not seen on the recipe): with a sheet open, the message sits just above its bottom button, where the eye is. */
body:has(.sheet) .toast { top: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform-origin: bottom center; }
/* Root cause of « message pas affiché »: « body:has(.sheet) .toast » (opacity 0) outranked « .toast.show », so with a sheet open the message stayed invisible. */
body:has(.sheet) .toast.show, body.bk-full .toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
/* Onboarding + sign-in + menu loader — demo 1.0 values (v43–v53), cascade flattened, no !important. */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic.pl { width: 16px; height: 16px; stroke-width: 2.6; display: block; margin: auto; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }
.btn.sm { min-height: 42px; padding: 8px 16px; font-size: 14px; margin-top: 12px; }
.tg { display: flex; flex-wrap: wrap; gap: 8px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.chip.on { border-color: var(--g2); background: var(--g); color: #fff; }
.seg { display: flex; border-radius: 999px; padding: 4px; margin-bottom: 14px; background: rgba(0,0,0,.06); }
.seg button { flex: 1; min-height: 42px; border-radius: 999px; font-size: 14px; color: var(--mu); font-weight: 600; }
.seg button.on { background: var(--card); box-shadow: 0 1px 4px rgba(31,46,38,.1); color: var(--tx); }
.btn, .chip.on { background: var(--g); color: #fff; }
.btn.y { background: var(--y); color: var(--tx); }
.btn.o { border: 1.5px solid #111; background: var(--card); border-color: #111; color: var(--tx); }
.chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 15px; min-height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.05); background: var(--tile); border: 0; }
.bset { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.bset button small { font-size: 10px; font-weight: 700; color: var(--mu); }
.cbox { align-items: center; gap: 8px; margin-top: 10px; background: var(--card); border: 2px solid var(--g); border-radius: 16px; padding: 0 14px; }
.cbox span { font-weight: 800; color: var(--g); }
.cbox input { border: 0; padding: 12px 0; font-size: 20px; font-weight: 800; }
.wz-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.wz-t { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; border-radius: 20px; background: var(--tb,var(--tile)); border: 2px solid transparent; padding: 10px 6px; }
.wz-t span { font-size: 30px; line-height: 1; }
.wz-t img { width: 44px; height: 44px; object-fit: contain; }
.wz-t small { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.wz-t.on { border-color: #111; background: var(--card); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.wz-t.on::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: #34b26a; color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.wz-ppl { display: flex; gap: 4px; margin-top: 6px; }
.wz-ppl i { width: 14px; height: 14px; border-radius: 50%; }
.bset button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; background: var(--tile); font-weight: 800; font-size: 16px; letter-spacing: -.02em; border: 2px solid transparent; border-radius: 20px; }
.bset button.on { box-shadow: 0 4px 12px rgba(2,70,46,.12); background: var(--g); border-color: #161616; color: #fff; }
.bset button.on small { color: #fbd23c; }
.evlogo { display: block; height: 100%; width: auto; }
.obw-langs { align-self: flex-end; display: flex; gap: 2px; background: #ececea; border-radius: 999px; padding: 3px; }
.obw-langs button { font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; color: #777; }
.obw-langs .on { background: var(--g); color: #fff; }
.fc { flex-shrink: 0; font-size: 13px; white-space: nowrap; gap: 6px; background: var(--cb); color: var(--tx); font-weight: 700; border: 1.5px solid transparent; position: absolute; top: 20px; width: 110px; height: 146px; border-radius: 24px; display: flex; align-items: center; justify-content: center; padding: 18px; box-shadow: 0 12px 24px rgba(0,0,0,.12); transition: background .4s; }
.fc.l { left: 0; transform: rotate(-9deg); }
.fc.r { right: 0; transform: rotate(9deg); }
.fc.m { left: 65px; top: 0; width: 130px; height: 170px; z-index: 2; box-shadow: 0 18px 30px rgba(0,0,0,.18); animation: fcin .45s cubic-bezier(.3,1.5,.5,1); }
.fc .evlogo { width: 100%; height: auto; }
.obw p { color: #8a8a8a; font-size: 14px; line-height: 1.45; max-width: 290px; margin: 0; }
.obw-dots i { width: 6px; height: 6px; border-radius: 6px; background: #d4d4d4; transition: width .25s; }
.obw-dots i.on { width: 20px; background: var(--g); }
.obw .btn.o { background: var(--card); border: 1px solid #e6e6e6; color: var(--tx); }
.ob-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 56px; margin: 0 -4px; }
.ob-top b { text-align: center; font-size: 16px; }
.ob-back { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; font-weight: 700; background: transparent; }
.ob-card { background: var(--card); padding: 18px 16px; border-radius: 4px; margin: 4px 0 22px; }
.ob-card small { font-size: 12px; color: #1d9a5b; font-weight: 700; }
.ob-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 6px 0 0; }
.ob-card p { font-size: 13px; color: #888; margin: 8px 0 0; line-height: 1.4; }
.ob-l { display: block; font-size: 13px; color: #777; margin: 0 0 4px; }
.ob-in { display: flex; align-items: center; gap: 8px; border-bottom: 1.5px solid #cfcfcf; padding: 4px 0 8px; margin-bottom: 28px; }
.ob-in:focus-within { border-color: #161616; }
.ob-in input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; padding: 4px 0; outline: none; font-family: inherit; color: var(--tx); }
.ob-in input.code { letter-spacing: .5em; font-weight: 800; font-size: 20px; }
.ob-in.ph>span { font-weight: 700; font-size: 16px; padding-right: 10px; border-right: 1px solid #ddd; }
.ob-tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c8c8c8; color: transparent; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.ob-tick.on { border-color: #1d9a5b; background: #1d9a5b; color: #fff; }
.ob .btn { height: 52px; border-radius: 6px; font-size: 15px; }
.ob .btn[disabled] { background: #d9d9d9; color: #f5f5f5; opacity: 1; }
.ob-link { align-self: flex-start; font-size: 13px; font-weight: 700; text-decoration: underline; margin: -14px 0 6px; }
.ob-auth { display: flex; flex-direction: column; gap: 10px; }
.ob-auth .btn.gg { background: var(--card); color: var(--tx); border: 1px solid #ddd; gap: 10px; }
.gico { width: 22px; height: 22px; border-radius: 50%; font-weight: 900; font-size: 14px; color: #fff; background: conic-gradient(#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0); display: flex; align-items: center; justify-content: center; }
.ob-or { text-align: center; color: #999; font-size: 13px; }
.ob .obw-priv { text-align: center; align-self: center; }
.ob-langs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.ob-langs button { display: flex; justify-content: space-between; align-items: center; background: var(--card); border: 1.5px solid #e4e4e4; border-radius: 8px; padding: 16px; font-size: 16px; font-weight: 700; text-align: left; }
.ob-langs .on { border-color: #161616; }
.ob-langs i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: #1d9a5b; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.ob-body { flex: 1; }
.ob-foot { position: sticky; bottom: 0; padding: 14px 0 6px; background: linear-gradient(transparent,#f2f2f2 30%); }
.ob-tg .chip { background: var(--card); }
.ob-tg .chip.on, .ob .tg .chip.on { background: var(--g); color: #fff; border-color: #161616; }
.ob .bset button { background: var(--card); }
.ob .bset button.on { background: var(--g); color: #fff; }
.ob .wz-t { background: var(--tb,#fff); }
.ob-hh { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 18px 0 14px; }
.ob-hh button { width: 56px; height: 56px; border-radius: 50%; background: var(--card); font-size: 26px; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.ob-hh b { font-size: 56px; font-weight: 800; min-width: 70px; text-align: center; }
.oba-bg { position: fixed; inset: 0; filter: blur(46px); z-index: 0; max-width: 430px; margin: 0 auto; }
.oba-bg i { position: absolute; border-radius: 50%; }
.oba-bg i:nth-child(1) { width: 70%; height: 40%; left: -10%; top: -5%; background: #9ccbea; }
.oba-bg i:nth-child(2) { width: 80%; height: 45%; right: -20%; top: 30%; background: #c9d97a; }
.oba-bg i:nth-child(3) { width: 70%; height: 40%; left: -15%; bottom: 0; background: #9cc46a; }
.oba-bg i:nth-child(4) { width: 50%; height: 30%; right: -5%; bottom: 22%; background: #f0b3d8; }
.oba>* { position: relative; z-index: 1; }
.oba .ob-top { align-self: stretch; }
.oba .ob-back { background: rgba(255,255,255,.5); }
.oba h1 u { text-decoration-thickness: 3px; text-underline-offset: 6px; }
.oba-p.on { background: rgba(255,255,255,.85); border: 1.6px solid transparent; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.oba-p.on b { color: var(--tx); }
.oba-p.on .oba-pm { background: #1d9a5b; }
.oba-foot { position: sticky; bottom: 0; width: 100%; margin-top: auto; padding: 18px 0 4px; text-align: center; }
.oba-foot .btn { height: 52px; border-radius: 16px; }
.oba-foot .btn[disabled] { background: rgba(22,22,22,.35); opacity: 1; }
.oba-foot p { font-size: 11px; color: rgba(20,30,20,.6); margin: 10px 0 0; }
.ob-ph { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; border: 1.5px dashed var(--ln); border-radius: 18px; position: relative; cursor: pointer; font-size: 26px; }
.ob-ph img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ob-ph input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ob-ph b { display: block; font-size: 14px; }
.ob-ph small { font-size: 12px; color: var(--mu); }
.ob .ob-card { margin-top: 0; }
.ob::after { content: ""; flex: 0 0 4vh; }
.ob { background: #f2f2f2; padding: 0 16px calc(20px + env(safe-area-inset-bottom,0px)); display: flex; flex-direction: column; min-height: 100dvh; }
.oba { position: relative; overflow-x: clip; padding: 0 18px calc(18px + env(safe-area-inset-bottom,0px)); display: flex; flex-direction: column; align-items: center; background: #cfe6f5; min-height: 100dvh; }
.oba h1 { color: #fff; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-align: center; margin: 4px 0 6px; text-shadow: 0 2px 14px rgba(0,0,0,.08); font-size: clamp(24px,7.5vw,30px); }
.oba-sub { color: rgba(255,255,255,.95); font-weight: 700; margin: 0 0 16px; margin-bottom: 10px; }
.oba-list { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; gap: 6px; flex: 1 1 auto; align-content: center; }
.oba-p { display: flex; align-items: center; gap: 10px; border-radius: 999px; border: 1.6px dashed rgba(30,40,30,.35); background: transparent; transition: all .2s; padding: 4px 9px 4px 4px; }
.oba-p b { font-weight: 800; color: rgba(30,40,30,.7); letter-spacing: -.02em; font-size: clamp(13.5px,3.9vw,15px); }
.oba-e { border-radius: 50%; background: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; width: clamp(28px,8vh,32px); height: clamp(28px,8vh,32px); font-size: 16px; }
@media (max-height:700px) { .oba-list { gap: 4px 5px; } }
@media (max-height:700px) { .oba-p { padding: 3px 7px 3px 3px; gap: 7px; } }
@media (max-height:700px) { .oba-p b { font-size: 13px; } }
@media (max-height:700px) { .oba-e { width: 26px; height: 26px; font-size: 14px; } }
@media (max-height:700px) { .oba-pm { width: 22px; height: 22px; } }
@media (max-height:700px) { .oba h1 { font-size: 23px; margin-bottom: 2px; } }
@media (max-height:700px) { .oba-sub { margin-bottom: 6px; } }
.ob>.ob-top { order: -2; }
.ob .evh { order: -1; flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 6px 0 14px; min-height: 0; text-align: center; }
.evh-lg .evlogo { position: relative; z-index: 2; width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(2,70,46,.12)); }
.evh-lg .s1 { width: 14px; height: 14px; right: 2%; top: -10%; background: var(--y); animation: evBob 3.2s ease-in-out infinite; }
.evh-lg .s2 { width: 9px; height: 9px; right: -5%; bottom: 4%; background: var(--g); animation: evBob 3.8s ease-in-out .4s infinite; }
.evh-lg .s3 { width: 7px; height: 7px; left: 54%; top: -16%; background: var(--g); opacity: .45; animation: evBob 4.4s ease-in-out .8s infinite; }
.evh.play .evlogo { animation: evWrite 1.1s cubic-bezier(.6,0,.2,1) .15s both; }
@media (max-height:720px) { .ob .evh { gap: 9px; } }
@media (max-height:520px) { .ob .evh { display: none; } }
@media (prefers-reduced-motion:reduce) { .evh *, .evh-lg { animation: none; } }
.ob:has(#obIn) .evh { display: none; }
.obw { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 22px calc(18px + env(safe-area-inset-bottom,0px)); background: #f6f6f4; min-height: 0; height: 100dvh; overflow: hidden; padding-top: max(12px,env(safe-area-inset-top,0px)); }
@media (max-height:720px) { .obw-fan { zoom: .82; } }
@media (max-height:620px) { .obw-fan { zoom: .66; } }
.obw h1 { font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 8px; max-width: 300px; animation: svsl .35s ease-out; font-size: clamp(24px,4.2dvh,30px); }
.obw-dots { display: flex; gap: 5px; margin: clamp(10px,2.5dvh,22px) 0 auto; }
.obw .btn { width: 100%; border-radius: 16px; font-size: 15px; height: clamp(46px,7dvh,54px); margin-top: 8px; }
.obw-priv { font-size: 11px; color: #aaa; max-width: 280px; margin-top: 10px; }
@media (max-height:600px) { .obw p { font-size: 13px; } }
.obw-fan { position: relative; margin: clamp(8px,5dvh,8vh) 0 clamp(10px,3dvh,26px); flex-shrink: 0; width: 290px; height: 224px; }
.obw-fan .fc { width: 124px; height: 162px; padding: 10px; border-radius: 26px; }
.obw-fan .fc.m { left: 70px; width: 150px; height: 196px; border-radius: 28px; }
.obw-fan .fc .evst { width: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.obw-fan .fc.m .evst { animation: evPop .6s cubic-bezier(.3,1.5,.5,1) .15s both; }
.evst { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(2,70,46,.18)); }
.evh-lg i { position: absolute; border-radius: 50%; z-index: 2; }
.evh-lg { position: relative; animation: evFloat 5s ease-in-out 1.8s infinite; width: min(64%,250px); }
@media (max-height:720px) { .evh-lg { width: min(48%,180px); } }
@media (max-height:600px) { .evh-lg { width: 120px; } }
@media (max-height:600px) { .ob .evh { padding: 0 0 8px; } }
.evh .evst { animation: evSway 6s ease-in-out 1s infinite; }
.evh.play .evst { animation: evPop .7s cubic-bezier(.3,1.5,.5,1) .1s both,evSway 6s ease-in-out 1s infinite; }
@media (prefers-reduced-motion:reduce) { .evst { animation: none; } }
img.evlogo { display: block; width: 100%; height: auto; object-fit: contain; }
.ob #obNext, .ob [data-act="obsetup"], .ob [data-act="obloginsend"] { margin-top: 16px; }
.ob .ob-tg + .ob-l { display: block; margin-top: 16px; }
.oba-foot small { display: block; font-weight: 800; margin-bottom: 8px; color: var(--g); text-shadow: none; }
.oba-p:focus:not(:focus-visible) { outline: none; background: inherit; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 22px; color: #fff; background: var(--g); font-weight: 600; font-size: 17px; letter-spacing: -.01em; border-radius: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
.oba-pm { width: 26px; height: 26px; border-radius: 50%; background: rgba(30,40,30,.25); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.oba-pm .ic.pl { width: 14px; height: 14px; }
html:has(.oba), body:has(.oba) { background: #cfe6f5; }
.mload { position: fixed; inset: 0; z-index: 200; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; padding: 24px 24px calc(24px + env(safe-area-inset-bottom)); animation: mlIn .3s ease; transition: opacity .3s; }
.ml-in, .ml-done { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.ml-lg { width: 120px; }
.ml-lg .evlogo, .ml-lg svg { width: 100%; height: auto; }
.ml-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--y); animation: mlSp .9s linear infinite; }
.mload h2 { font-size: 24px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin: 0; color: #fff; }
.ml-st { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; text-align: left; width: 100%; }
.ml-st li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; opacity: .35; transition: opacity .35s; }
.ml-st li i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; transition: all .35s; }
.ml-st svg, .ml-ok svg { width: 16px; height: 16px; fill: none; stroke: var(--g); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.mload.s1 li:nth-child(1), .mload.s2 li:nth-child(2), .mload.s3 li:nth-child(3) { opacity: 1; }
.mload.s1 li:nth-child(1) i, .mload.s2 li:nth-child(2) i, .mload.s3 li:nth-child(3) i { background: var(--y); border-color: var(--y); }
.mload.s1 li:nth-child(1) svg, .mload.s2 li:nth-child(2) svg, .mload.s3 li:nth-child(3) svg { opacity: 1; }
.ml-done { display: none; }
.mload.ready .ml-in { display: none; }
.mload.ready .ml-done { display: flex; animation: mlUp .45s cubic-bezier(.2,.8,.2,1); }
.ml-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--y); display: flex; align-items: center; justify-content: center; }
.ml-ok svg { width: 32px; height: 32px; opacity: 1; }
.ml-done p { margin: -6px 0 0; font-size: 14px; font-weight: 700; opacity: .8; }
.ml-pv { display: flex; justify-content: center; margin: 4px 0; }
.ml-pv span { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: #fff4cc; border: 3px solid var(--g); display: flex; align-items: center; justify-content: center; margin: 0 -8px; }
.ml-pv img { width: 70%; height: 70%; object-fit: contain; }
.ml-pv img.ph { width: 100%; height: 100%; object-fit: cover; }
.ml-num { display: flex; justify-content: center; gap: 10px; width: 100%; }
.ml-num div { flex: 1; background: rgba(255,255,255,.1); border-radius: 16px; padding: 10px 6px; display: flex; flex-direction: column; gap: 2px; }
.ml-num b { font-size: 17px; font-weight: 800; }
.ml-num b.y { color: var(--y); }
.ml-num small { font-size: 11.5px; font-weight: 700; opacity: .75; }
.mload .ml-go { width: 100%; margin: 6px 0 0; background: var(--y); color: var(--g); display: flex; align-items: center; justify-content: center; }
.ml-later { font-size: 14px; font-weight: 800; color: #fff; opacity: .85; padding: 8px; }
@media (prefers-reduced-motion:reduce) { .mload, .ml-spin, .mload.ready .ml-done { animation: none; } }
@keyframes svsl{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes fcin{from{transform:translateY(14px) scale(.94)}to{transform:none}}
@keyframes evWrite{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes evFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes evBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes evPop{0%{opacity:0;transform:scale(.55) rotate(-8deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes evSway{0%,100%{transform:rotate(0) translateY(0)}50%{transform:rotate(-1.5deg) translateY(-4px)}}
@keyframes mlIn{from{opacity:0}to{opacity:1}}
@keyframes mlSp{to{transform:rotate(360deg)}}
@keyframes mlUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.wz-t img.ph.is-logo { width: 44px; height: 44px; margin: 0; }

/* ---------- Redesign 24 Oct: Bienvenue · Ville · Numéro · Code · Budget (canvas « Everyday — Écrans ») ---------- */
.ob2 { min-height: 100dvh; box-sizing: border-box; background: #fff; color: #111; display: flex; flex-direction: column; gap: 16px; padding: calc(16px + var(--safe-t)) 20px calc(24px + var(--safe-b)); max-width: 430px; margin: 0 auto; }
.ob2 .btn { min-height: 54px; border-radius: 16px; font-size: 16px; font-weight: 700; width: 100%; margin: 0; }
.ob2 .btn.k { background: #111; color: #fff; }
.ob2 .btn.k[disabled] { background: #c9ccc9; opacity: 1; }
.ob2 .btn.o2 { min-height: 48px; background: #fff; color: #111; border: 1px solid #e0e2e0; font-size: 15px; }
.ob2-top { display: flex; justify-content: space-between; align-items: center; }
.ob2-langs { display: flex; background: #f0f1f0; border-radius: 12px; padding: 3px; gap: 2px; }
.ob2-langs button { height: 32px; padding: 0 10px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.ob2-langs button.on { background: #111; color: #fff; }
.ob2-fine { font-size: 11px; color: #666; text-align: center; }
.ob2-fine.l { text-align: left; }
.ob2-back { width: 42px; height: 42px; border-radius: 21px; background: #f0f1f0; font-size: 18px; flex: none; align-self: flex-start; }
.ob2-back.l { background: #e6f0f8; width: 40px; height: 40px; font-size: 20px; }
.ob2-head { display: flex; align-items: center; gap: 12px; }
.ob2-head > span:last-child { font-size: 12px; font-weight: 700; color: #555; }
.ob2-head > span:first-child:empty { width: 0; }
.ob2-prog { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.ob2-prog i { height: 4px; border-radius: 2px; background: #e6e8e6; }
.ob2-prog i.on { background: var(--y); }
.ob2-q { display: flex; flex-direction: column; gap: 8px; }
.ob2-q h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.ob2-q p { margin: 0; font-size: 15px; color: #555; line-height: 1.45; }
.ob2-q p b { color: #111; }
.ob2-mod { color: var(--g); font-weight: 700; font-size: 15px; }
.ob2-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.ob2-skip { height: 40px; font-size: 14px; font-weight: 700; color: #555; }
/* Bienvenue */
.obw2 { gap: 18px; }
.obw2-lg { height: 34px; width: auto; }
.obw2-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; text-align: center; }
.obw2-art { width: 260px; height: 260px; max-width: 70vw; max-height: 70vw; border-radius: 36px; background: #fff6cc; position: relative; display: flex; align-items: center; justify-content: center; }
.obw2-art .fc { position: absolute; width: 38%; height: 54%; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(17,24,20,.14); transition: background-color .5s; }
.obw2-art .fc img { width: 80%; height: auto; }
.obw2-art .fc.l { transform: translateX(-46%) rotate(-10deg); }
.obw2-art .fc.r { transform: translateX(46%) rotate(10deg); }
.obw2-art .fc.m { z-index: 1; width: 44%; height: 62%; }
.obw2 h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.obw2 p { margin: 0; font-size: 15px; color: #555; line-height: 1.5; max-width: 300px; }
.obw2-dots { display: flex; gap: 6px; }
.obw2-dots i { width: 6px; height: 6px; border-radius: 3px; background: #ccc; transition: width .3s; }
.obw2-dots i.on { width: 18px; background: #111; }
/* Ville */
.ob2-search { height: 54px; border-radius: 16px; border: 2px solid #111; display: flex; align-items: center; gap: 10px; padding: 0 14px; color: #555; }
.ob2-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; color: #111; background: none; }
.ob2-gps { height: 48px; border-radius: 14px; border: 1px solid #e0e2e0; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ob2-gps svg { color: var(--g); }
.ob2-cap { font-size: 12px; font-weight: 800; color: #555; letter-spacing: .06em; text-transform: uppercase; }
.ob2-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ob2-chips button { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid #e0e2e0; font-size: 13px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ob2-chips button.on, .ob2-rad button.on { background: var(--y); border-color: transparent; font-weight: 700; }
.ob2-rad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ob2-rad button { height: 44px; border-radius: 12px; border: 1px solid #e0e2e0; font-weight: 700; }
.ob2-shops { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #f6faf8; font-size: 13px; font-weight: 600; }
.ob2-shops > span:first-child { flex: 1; }
.ob2-logos { display: flex; }
.ob2-logos img { width: 24px; height: 24px; border-radius: 12px; background: #fff; object-fit: contain; border: 1.5px solid #fff; margin-left: -6px; }
/* Numéro */
.ob2-fl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.ob2-ph { height: 56px; border-radius: 16px; border: 2px solid #111; display: flex; align-items: center; padding: 0 14px; gap: 10px; }
.ob2-ph b { font-size: 16px; }
.ob2-ph i { width: 1px; height: 24px; background: #e0e2e0; }
.ob2-ph input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; font-weight: 600; letter-spacing: .04em; background: none; }
.ob2-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #444; line-height: 1.45; }
.ob2-box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9ccc9; color: var(--y); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; }
.ob2-box::after { content: ""; position: absolute; inset: -11px; } /* 44 px touch target */
.ob2-box.on { background: #111; border-color: #111; }
.ob2-u { color: #111; font-weight: 700; text-decoration: underline; font-size: 12px; }
/* E-mail link + passkey (26 Oct 2026) */
.ob2-em { height: 56px; border-radius: 16px; border: 2px solid #111; padding: 0 16px; font: inherit; font-size: 17px; font-weight: 600; outline: none; background: #fff; color: #111; width: 100%; }
.ob2-ic { width: 72px; height: 72px; border-radius: 24px; background: #fff6cc; color: #111; display: flex; align-items: center; justify-content: center; flex: none; }
.ob2-ic.g { background: #e8f1ed; color: var(--g); }
.ob2-steps { background: #f4f5f4; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.ob2-steps small { font-size: 13px; color: #555; }
.ob2-pts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ob2-pts li { display: flex; gap: 10px; align-items: center; }
.ob2-pts li::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--g); flex: none; }
.ob2-or { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #666; }
.ob2-or i { flex: 1; height: 1px; background: #e0e2e0; }
.ob2-re { font-size: 13px; color: #555; }
.ob2-re b, .ob2-re button { color: #111; font-weight: 700; font-size: 13px; }
/* Account steps over the app */
.obov { position: fixed; inset: 0; z-index: 200; background: #fff; overflow-y: auto; overscroll-behavior: none; }
.obov .oba { min-height: 100%; }
/* « Créez votre compte en 30 secondes » */
.acs { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.acs-t { font-size: 22px; line-height: 1.2; font-weight: 800; }
.acs p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }
.acs-p { display: flex; align-items: center; gap: 10px; background: #f4f5f4; border-radius: 16px; padding: 10px; }
.acs-p > span { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: #fff; flex: none; display: flex; }
.acs-p img { width: 100%; height: 100%; object-fit: contain; }
.acs-p div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acs-p b { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acs-p small { font-size: 12px; color: #555; }
.acs .btn.k { min-height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; width: 100%; margin: 0; }
.acs-later { height: 40px; font-size: 14px; font-weight: 700; color: #555; }
.oba { background: #d2e4f2; padding-top: calc(14px + var(--safe-t)); gap: 6px; }
.oba > .ob2-back { align-self: flex-start; }

/* ad choices = design 0f-pubs / 5f-reglpubs (24 Oct) */
.oba { background: #d2e4f2; }
.oba-p { height: 40px; border-radius: 20px; border: 1.5px dashed #9aa6ae; padding: 0 4px; gap: 8px; }
.oba-p b { font-size: var(--ev-fs-base); font-weight: 700; color: #4a565d; letter-spacing: 0; }
.oba-e { width: 30px; height: 30px; border-radius: 15px; background: #f2f6fa; display: inline-flex; align-items: center; justify-content: center; font-size: var(--ev-fs-lg); }
.oba-pm { width: 28px; height: 28px; background: #a7b2b9; }
.oba-p.on { background: var(--ev-bg); border: 1.5px solid #fff; box-shadow: 0 6px 14px rgba(30,60,80,0.10); }
.oba-p.on b { color: var(--ev-text); }
.oba-p.on .oba-pm { background: var(--y); color: var(--ev-text); }
.oba-foot small { font-size: var(--ev-fs-md); color: #1d4b2f; }
.oba-foot .btn { height: 50px; background: var(--ev-black); font-weight: 600; }
.oba-foot .btn[disabled] { background: #929ea6; }
.oba-foot p { color: #4a565d; }
/* 0g / 0h */
.ob2-have { height: 40px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ev-text); cursor: pointer; }
.ob2-code span.e { border: 2px solid #b42318; background: #fff5f4; }
.ob2-err { font-size: 13px; font-weight: 700; color: #b42318; }
.ob2-lock { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.ob2-lock b { font-size: 14px; }
.ob2-lock span { font-size: 13px; color: #555; line-height: 1.45; }
.ob2-have { text-decoration: underline; text-underline-offset: 3px; }
/* 25 Oct 16:05: Bienvenue = text carousel only (no 3 cards); fixed text height so the screen never resizes */
.obw2-art { display: none; }
.obw2-mid { justify-content: center; }
.obw2-tx { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: obSlide .35s var(--ease, ease) both; }
.obw2-tx h1 { min-height: 2.4em; display: flex; align-items: flex-end; justify-content: center; }
.obw2-tx p { min-height: 4.5em; margin: 0; }
@keyframes obSlide { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .obw2-tx { animation: none; } }

/* 9 Nov: code of the e-mail */
.ob2-code { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; } .ob2-code label { font-size: var(--ev-fs-sm, 14px); font-weight: 600; }
.ob2-code div { display: flex; gap: 8px; } .ob2-code input { flex: 1; min-width: 0; height: 52px; border-radius: 14px; border: 1px solid var(--ev-line, #ddd); background: var(--ev-card, #fff); color: inherit; font: inherit; font-size: 22px; font-weight: 700; letter-spacing: 6px; text-align: center; } .ob2-code .btn { width: auto; padding: 0 20px; }
/* 9 Nov (Mervyn « Mes pubs défile sur les petits écrans »): on short screens everything fits without scrolling.
   Placed last because the 40px pill rule above overrode the older max-height rules. */
@media (max-height: 760px) {
  .oba .ob-back, .oba .oba-bk { width: 38px; height: 38px; }
  .oba h1 { font-size: 22px; margin: 2px 0 2px; }
  .oba-sub { margin-bottom: 6px; font-size: 13px; }
  .oba-list { gap: 5px; }
  .oba-p { height: 34px; gap: 6px; }
  .oba-p b { font-size: 13px; }
  .oba-e { width: 26px; height: 26px; font-size: 14px; }
  .oba-pm { width: 24px; height: 24px; }
  .oba-foot { padding-top: 8px; }
  .oba-foot .btn { height: 46px; }
  .oba-foot p { margin-top: 6px; }
}
.body .hs { margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; }
.hs, .srow2 { overscroll-behavior-x: contain; overflow-y: hidden; }
.hero-in { display: flex; flex-direction: column; gap: 12px; }
.hs { display: flex; gap: 12px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.hs>* { scroll-snap-align: start; }
.slogo { width: 24px; height: 24px; border-radius: 7px; object-fit: contain; background: #fff; border: 1px solid var(--ln); flex-shrink: 0; }
.slogo.xs { width: 18px; height: 18px; border-radius: 5px; vertical-align: -4px; margin: 0 2px; }
.grow { flex: 1; min-width: 0; }
.hero { padding: 6px 16px 0; }
.hero h1 { color: var(--tx); text-wrap: balance; text-transform: none; font-family: var(--fd); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 2px; font-size: 30px; }
.body { padding: 4px 16px 8px; }
@media (min-width:700px) { .hero h1 { font-size: 36px; } }
.hi span { color: var(--g); }
.wave { display: inline-block; font-style: normal; transform-origin: 70% 70%; animation: wave 2.4s ease-in-out 1; }
@media (prefers-reduced-motion:reduce) { .wave { animation: none; } }
.bell { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--tile); display: flex; align-items: center; justify-content: center; }
.bell .ic { width: 19px; height: 19px; }
.bell b { position: absolute; top: -2px; right: -2px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.adring>span i { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: #f4f4f4; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 13px; color: #999; }
.adring small { color: var(--mu); }
.srow2 { display: flex; gap: 14px; overflow-x: auto; margin: 4px -16px 6px; padding: 4px 16px 2px; scrollbar-width: none; }
.srow2::-webkit-scrollbar { display: none; }
.sring.new>span { background: conic-gradient(from 200deg,var(--y),#ff8a65,#e45c8c,var(--g),#34b26a,var(--y)); }
.sring>span .slogo { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: contain; background: #fff; }
.sring em { position: absolute; top: 0; right: 2px; font-style: normal; background: var(--g); color: #fff; font-size: 10px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.pt-dots { background-image: radial-gradient(rgba(255,255,255,.14) 1.2px,transparent 1.4px); background-size: 12px 12px; }
.pt-stripes { background-image: repeating-linear-gradient(135deg,rgba(255,255,255,.28) 0 6px,transparent 6px 14px); }
.pt-rings { background-image: repeating-radial-gradient(circle at 100% 0,rgba(255,255,255,.22) 0 2px,transparent 2px 16px); }
.sh { display: flex; align-items: flex-end; gap: 10px; margin: 26px 0 12px; }
.sh h3 { justify-content: flex-start; margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.sh p { margin: 2px 0 0; font-size: 13px; color: var(--mu); }
.sh-go { width: 38px; height: 38px; border-radius: 50%; background: var(--card); box-shadow: 0 4px 14px rgba(0,0,0,.08); font-size: 16px; font-weight: 800; flex-shrink: 0; }
.mood-rail { gap: 12px; }
.mood { position: relative; flex: 0 0 160px; height: 200px; border-radius: 28px; background-color: var(--mb); color: var(--mf); padding: 16px 14px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; overflow: hidden; }
.mood small { font-size: 12px; font-weight: 700; opacity: .8; }
.mood b { font-size: 23px; font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin-top: 2px; max-width: 92%; }
.mood-pr em { font-style: normal; color: #1d8a4c; font-size: 11px; }
.mood img { position: absolute; right: -14px; bottom: -10px; width: 110px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); transform: rotate(-8deg); }
.evlogo { display: block; height: 100%; width: auto; }
.hst { margin-top: 2px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg>b { font-size: 15px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 85%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg-tag { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 6px; background: var(--card); border-radius: 999px; padding: 3px 9px 3px 3px; font-size: 11px; font-weight: 700; color: #555; }
.pg-img { position: absolute; right: -6px; bottom: 44px; width: 62%; transform: rotate(-6deg); filter: drop-shadow(0 10px 12px rgba(0,0,0,.14)); }
.pg-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 5px 5px 5px 12px; }
.pg-bar .pb-i { font-size: 22px; }
.pg-bar button { background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 12px; }
.pg-bar button svg { width: 18px; height: 18px; }
.mood-rail.sm .mood { flex: 0 0 140px; height: 168px; border-radius: 24px; }
.mood-rail.sm .mood b { font-size: 19px; }
.mood-rail.sm .mood img { width: 86px; }
.bbar { display: flex; align-items: center; gap: 10px; width: 100%; background: var(--card); border-radius: 24px; padding: 8px 8px 8px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.14); text-align: left; animation: svin .3s ease-out; }
.bb-n { width: 40px; height: 40px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bb-t { flex: 1; min-width: 0; }
.bb-t b { display: block; font-size: 17px; }
.bb-t small { font-size: 12px; color: #1d8a4c; font-weight: 700; }
.bb-t small.neg { color: #e5483a; }
.bb-th { display: flex; }
.bb-th img { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 2px solid #fff; margin-left: -12px; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.hirow .bell { flex-shrink: 0; }
main .hero { padding-top: calc(14px + env(safe-area-inset-top,0px)); }
.mood-lg .evlogo { width: 100%; height: auto; }
.mood-rail.sm .mood-lg { width: 70px; }
.mood-pr { margin-top: auto; position: relative; z-index: 2; background: rgba(255,255,255,.92); color: var(--tx); font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 999px; max-width: 100%; }
.pg-bar button, .bb-n { background: var(--g); }
.pg { position: relative; height: 218px; border-radius: 24px; padding: 12px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; background: var(--pb); }
.pg-tag em { font-style: normal; font-weight: 800; color: #c9406f; }
.sring { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; width: 84px; }
.sring>span { border-radius: 50%; background: #d9d9d9; display: flex; box-shadow: 0 4px 14px rgba(0,0,0,.08); width: 80px; height: 80px; padding: 3px; }
.sring small { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; font-size: 12px; }
.pg-tag .slogo { border-radius: 50%; width: 24px; height: 24px; }
.mxrow::-webkit-scrollbar { display: none; }
.mx-t em { font-style: normal; color: #1d8a4c; }
.mx-t s { opacity: .55; font-weight: 600; }
.mx-st { background: #e6eefc; color: #173a7a; }
.mx-logo { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
.mx-logo .slogo { width: 110px; height: 110px; border-radius: 50%; background: #fff; border: 6px solid #fff; box-shadow: 0 10px 24px rgba(0,0,0,.12); object-fit: contain; }
.mxdots { display: flex; justify-content: center; gap: 5px; margin-top: 6px; }
.mxdots i { width: 6px; height: 6px; border-radius: 9px; background: #d9d4c4; transition: width .3s; }
.mxdots i.on { width: 18px; background: var(--g); }
.mx .rcd-a { margin-top: auto; }
.mood-rail.wide { scroll-snap-type: x mandatory; }
.mood-rail.wide .mood { flex: 0 0 82%; height: 176px; border-radius: 28px; scroll-snap-align: start; }
.mood-rail.wide .mood b { font-size: 26px; max-width: 70%; }
.mood-rail.wide .mood-lg { right: 14px; bottom: 14px; width: 120px; }
.rart { position: relative; aspect-ratio: 1; background: var(--rb,#fff4cc); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.rart .plate { position: relative; width: 78%; height: 78%; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 8px #f5f0e3,0 10px 22px rgba(0,0,0,.12); }
.rart img { position: absolute; width: 46%; filter: drop-shadow(0 6px 8px rgba(0,0,0,.18)); object-fit: contain; }
.rrail { display: flex; gap: 12px; }
.rcd { position: relative; flex: 0 0 168px; background: var(--card); border: 1px solid var(--ln); border-radius: 24px; padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.rcd .rart { width: 100%; }
.rcd-m { font-size: 12px; color: var(--mu); font-weight: 700; }
.rcd-a { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.rfav { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--card); color: #c9406f; font-size: 17px; box-shadow: 0 4px 10px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; }
.rrail.sm .rcd { flex-basis: 140px; }
.ava.xs { width: 22px; height: 22px; font-size: 9px; }
.ava { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 0 0 2px #fff; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.rart.ph { border-radius: 22px; overflow: hidden; background: #eee; }
.rart.ph .rph { position: static; width: 100%; height: 100%; object-fit: cover; filter: none; }
.pg b, .mx-t b, .mood b, .rcd b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg b { min-height: 2.4em; }
.rcd b { font-size: 15px; line-height: 1.15; margin-top: 6px; min-height: 2.3em; }
.mx-t span, .rcd-m, .rcd-a, .pg-tag, .sh h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hirow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mx-t .rcd-a { display: flex; -webkit-line-clamp: unset; }
.hirow h1 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: .14em; margin-bottom: -.14em; line-height: 1.15; }
.rlg-p { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; width: 78%; border-radius: 50%; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 8px rgba(255,255,255,.45); }
.mx-r2 { background: var(--g); color: #fff; align-items: flex-end; }
.mx-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mx-r2.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(4,25,16,.85),rgba(4,25,16,.35) 55%,rgba(4,25,16,0) 80%); }
.mx-r2m { display: flex; gap: 6px; flex-wrap: wrap; }
img.evlogo { display: block; width: 100%; height: auto; object-fit: contain; }
.mood-lg { position: absolute; right: 10px; bottom: 12px; z-index: 1; opacity: 1; width: 96px; }
.rart.rlg .plate.rlg-p { background: none; box-shadow: none; border-radius: 0; aspect-ratio: auto; width: 76%; height: auto; }
.rart.rlg .plate.rlg-p::before, .rart.rlg .plate.rlg-p::after { display: none; }
.rlg-p .evlogo { height: auto; width: 100%; filter: drop-shadow(0 8px 14px rgba(0,0,0,.14)); }
.rart.rlg { border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--rb); }
.hi-s .ic { width: 19px; height: 19px; }
@media (max-width:380px) { .hirow h1.hi { font-size: 26px; } }
.hi-acts { display: flex; align-items: center; flex-shrink: 0; gap: 6px; }
@media (max-width:400px) { .hirow h1.hi { font-size: 25px; } }
@media (max-width:400px) { .hirow h1.hi .wave { display: none; } }
@media (max-width:400px) { .hi-acts .bell { width: 36px; height: 36px; } }
.mxrow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; scrollbar-width: none; margin: 12px -16px 0; padding: 2px 16px 4px; }
.mxdots+.sh { margin-top: 16px; }
.mx-hs { background: #f1f1ee; color: var(--tx); }
.mx-hs .mx-t { max-width: 66%; }
.mx-hlg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 28%; }
.mx-hlg .evlogo { width: 100%; height: auto; display: block; }
.mx-go { margin-top: auto; align-self: flex-start; background: var(--g); color: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12px; }
.dscv::-webkit-scrollbar { display: none; }
.dc-lg { width: 54px; }
.dc-lg .evlogo { width: 100%; height: auto; display: block; }
.dc b { font-size: 14.5px; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; max-height: none; }
.dc-go { margin-top: auto; white-space: nowrap; font-size: 12px; font-weight: 800; background: var(--card); border-radius: 999px; padding: 5px 10px; color: var(--df); }
.sloc em { right: 4px; font-size: 9.5px; height: 18px; min-width: 0; padding: 0 6px; }
.mx { position: relative; scroll-snap-align: start; overflow: hidden; display: flex; align-items: stretch; cursor: pointer; text-align: left; flex: 0 0 86%; height: 176px; border-radius: 28px; }
.mx-t { position: relative; z-index: 2; display: flex; flex-direction: column; max-width: 62%; padding: 18px; gap: 4px; }
.mx-t small { font-weight: 800; opacity: .75; text-transform: uppercase; letter-spacing: .04em; font-size: 11.5px; }
.mx-t b { line-height: 1.05; letter-spacing: -.02em; font-size: 22px; }
.mx-t span { font-weight: 700; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
.mx-r2t { position: relative; z-index: 2; display: flex; flex-direction: column; width: 100%; padding: 16px 18px; gap: 6px; }
.mx-r2t small { align-self: flex-start; background: var(--y); color: var(--g); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; font-size: 11px; padding: 4px 10px; }
.mx-r2t b { line-height: 1.05; letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(0,0,0,.25); font-size: 24px; }
.mx-r2m i { font-style: normal; font-weight: 700; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 999px; font-size: 12px; padding: 4px 9px; }
.mx-hs strong { color: var(--g); font-size: 20px; }
.mx-st .mx-logo .slogo { width: 104px; height: 104px; border-width: 6px; }
.sh h3, .mx-t b, .dc b { padding-bottom: .22em; margin-bottom: -.22em; line-height: 1.25; }
.dc-ft { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; width: 100%; margin-top: auto; }
.dc-ft .dc-lg { width: 40px; flex-shrink: 0; }
.dc { border-radius: 24px; background: var(--db); color: var(--df); padding: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; justify-content: space-between; flex: 0 0 178px; min-height: 156px; }
.dc-ft .dc-go { margin: 0; padding: 5px 9px; font-size: 11.5px; }
.sloc>span { align-items: center; justify-content: center; background: var(--card); box-shadow: 0 0 0 3px #e6f4ea inset,0 4px 14px rgba(0,0,0,.08); color: var(--g); }
.sloc>span .ic { width: 34px; height: 34px; }
.dscv { overflow-x: auto; scrollbar-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; overflow: visible; }
.dscv .dc { flex: none; min-height: 92px; height: auto; width: auto; border-radius: 20px; padding: 12px 12px 10px 14px; gap: 8px; justify-content: space-between; }
.dscv .dc:last-child:nth-child(odd) { grid-column: 1/-1; }
.dscv .dc b { font-size: 13.5px; line-height: 1.25; -webkit-line-clamp: 3; }
.dscv .dc-ft { align-items: center; }
.dscv .dc-go { background: none; padding: 0; font-size: 12px; font-weight: 800; color: var(--df); }
.dscv .dc-lg { width: 28px; }
.imini2 { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 24px; background: var(--y); color: var(--g); border-radius: 24px; padding: 16px 16px 14px 18px; text-align: left; box-shadow: 0 10px 24px rgba(254,199,0,.28); }
.imi-t { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.imi-chip { font-size: 11px; font-weight: 800; background: rgba(2,70,46,.1); border-radius: 999px; padding: 3px 9px; }
.imini2 b { font-size: 26px; line-height: 1.1; letter-spacing: -.02em; padding-bottom: .1em; }
.imini2 b em { font-style: normal; font-size: 16px; font-weight: 800; }
.imini2 small { font-size: 13px; font-weight: 700; opacity: .85; }
.imi-go { margin-top: 6px; font-size: 12.5px; font-weight: 800; background: var(--g); color: var(--y); border-radius: 999px; padding: 6px 12px; }
.imi-lg { width: 76px; flex-shrink: 0; }
.imi-lg .evlogo { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.12)); }
.imini2+.adh3 { margin-top: 24px; }
.adh3 { display: flex; align-items: center; gap: 12px; width: 100%; background: #f1f1ee; color: #1b1b1b; border-radius: 22px; padding: 14px 14px 14px 16px; margin: 24px 0 0; cursor: pointer; text-align: left; }
.adh3-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.adh3 small { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #666; }
.adh3 b { font-size: 17px; line-height: 1.2; }
.adh3 span>strong { color: var(--g); font-size: 15px; }
.adh3-t>span { font-size: 12.5px; font-weight: 600; }
.adh3-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.adh3-lg { width: 46px; }
.adh3-lg .evlogo { width: 100%; height: auto; display: block; }
.adh3 .mx-go { margin: 0; font-weight: 800; color: #fff; background: var(--g); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; white-space: nowrap; }
.adring>span { background: #f1f1ee; }
.pg, .mx, .dc, .sring, .mood, .imini2, .adh3, .bell { transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.pg:active, .mx:active, .dc:active, .sring:active, .mood:active, .imini2:active, .adh3:active, .bell:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .pg, .mx, .dc, .sring, .mood, .imini2, .adh3 { transition: none; } }
.sh-all { font-size: 13px; font-weight: 800; color: var(--g); background: #e6f4ea; border-radius: 999px; padding: 8px 14px; }
.mnr2+.sh { margin-top: 10px; }
.mnr2 .mood .mn-day { display: inline-block; background: rgba(255,255,255,.7); color: inherit; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 4px 10px; opacity: 1; }
.mnr2 .mood.today .mn-day { background: var(--y); color: var(--g); }
.mnr2 .mood b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .08em; margin-top: 8px; }
.mnr2 .mood .mood-lg { width: 96px; }
.sh.mnr-h { margin-top: 14px; }
@keyframes wave{0%,60%,100%{transform:rotate(0)}10%,30%{transform:rotate(16deg)}20%,40%{transform:rotate(-8deg)}}
@keyframes svin{from{transform:translateY(30px) scale(.97);opacity:.3}to{transform:none;opacity:1}}
/* Basket bar (Accueil, Promos) */
#bbarw { position: fixed; z-index: 6; left: 50%; transform: translateX(-50%); bottom: calc(94px + var(--safe-b)); width: calc(100% - 24px); max-width: 406px; }
body[data-tab=home]:has(> #bbarw > *) .app > main { padding-bottom: calc(160px + var(--safe-b)); } /* 26 Oct: Home keeps room for the black basket bar + nav only when the bar is shown (the old rule never matched: the bar is outside .app) */
body.obm #bbarw { display: none; }
/* Real campaign in a Home slot (« Sponsorisé · Marque » + Appeler). Full ad design: step 11 (doc 04). */
.mx-ad { background: #111; }
.adw { position: relative; margin-top: 24px; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 1; }
.adw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-lbl { position: absolute; left: 10px; top: 10px; z-index: 2; background: rgba(255,255,255,.9); color: var(--tx); font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 3px 9px; }
.ad-call { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: var(--g); color: #fff; font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.mood-empty { background: transparent; border: 2px dashed #d9d4c4; color: var(--mu); }
.pg-img.is-logo, .mx-ph.is-logo { object-fit: contain; }

/* Location bubble: map of the town behind the pin */
.sloc>span.map { background-size: cover; background-position: center; }
.sloc>span.map .ic { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--card); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
/* Recipe of the day without a photo: small logo in the corner */
.mx-r2 .mx-hlg { top: 14px; right: 14px; transform: none; width: 16%; }

/* ---------- Home redesign 24 Oct (canvas « Accueil ») ---------- */
.h2 { background: #fff; display: flex; flex-direction: column; gap: 22px; padding: 18px 0 20px; min-height: 100%; } /* 26 Oct: no empty space under « Découvrir » (main already keeps room for the bar + nav) */
.h2-head { padding: 0 16px; display: flex; align-items: center; gap: 8px; }
.h2-head h1 { flex: 1; margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.h2-head h1 span { color: var(--g); }
.h2-ib { width: 40px; height: 40px; border-radius: 20px; background: #f0f1f0; display: flex; align-items: center; justify-content: center; position: relative; flex: none; }
.h2-ib svg { width: 20px; height: 20px; }
.h2-ib b { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.h2-st { padding: 12px 0 4px 16px; margin-top: -12px; display: flex; gap: 12px; align-items: flex-start; }
.h2-loc, .h2-shops > button { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 72px; flex: none; }
.h2-loc small, .h2-shops small { width: 100%; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.h2-ring { width: 68px; height: 68px; border-radius: 34px; border: 2.5px solid var(--y); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.h2-ring .slogo { width: 80%; height: 80%; object-fit: contain; border-radius: 50%; }
.h2-ring.g { border-color: #fff; box-shadow: 0 0 0 3px var(--g), 0 6px 14px rgba(0,0,0,.14); overflow: visible; background: linear-gradient(135deg, #e9f0e4, #dfe9da); }
.h2-map { position: absolute; inset: 0; border-radius: 34px; background-size: cover; background-position: center; }
.h2-ring.g > svg { position: relative; width: 24px; height: 24px; color: var(--g); }
.h2-ring.g em { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--g); color: #fff; font-size: 9px; font-weight: 800; font-style: normal; padding: 2px 7px; border-radius: 8px; white-space: nowrap; border: 1.5px solid #fff; }
.h2-sep { flex: none; width: 1px; height: 56px; margin-top: 8px; background: #e6e8e6; }
.h2-shops { flex: 1; min-width: 0; display: flex; gap: 12px; overflow-x: auto; padding-right: 16px; scrollbar-width: none; scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.h2-shops::-webkit-scrollbar, .h2-dsc::-webkit-scrollbar { display: none; }
.h2-sec { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.h2-sec h2 { margin: 0; font-size: 20px; font-weight: 800; }
.h2-sh { display: flex; justify-content: space-between; align-items: center; }
.h2-go { width: 40px; height: 40px; border-radius: 20px; border: 1px solid #e6e8e6; background: #fff; }
.h2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.h2-card { background: var(--pb); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; min-width: 0; }
.h2-pic { height: 120px; position: relative; display: flex; align-items: center; justify-content: center; }
.h2-img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.h2-img.is-logo { width: 70%; mix-blend-mode: normal; }
.h2-pct { position: absolute; top: 8px; left: 8px; background: var(--y); font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 8px; }
.h2-name { font-size: 13px; font-weight: 700; line-height: 1.3; height: 34px; }
.h2-pr { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.h2-add { flex: none; width: 40px; height: 40px; border-radius: 14px; background: #111; color: #fff; box-shadow: 0 6px 14px rgba(17,17,17,.22); display: flex; align-items: center; justify-content: center; }
.h2-add svg { width: 18px; height: 18px; }
.h2-shop { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #555; min-width: 0; }
.h2-shop .slogo { width: 16px; height: 16px; border-radius: 4px; object-fit: contain; background: #fff; flex: none; }
.h2 > .adw, .h2 > .adh3 { margin: 0 16px; }
.h2-dsc { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.h2-dc { flex: none; width: 168px; position: relative; border-radius: 20px; background: var(--db); padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 172px; box-sizing: border-box; }
.h2-dc > b { font-size: 15px; line-height: 1.25; }
.h2-dc > span:not(.h2-dci):not(.h2-dgo) { font-size: 12px; color: #555; line-height: 1.35; }
.h2-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 12px; background: rgba(255,255,255,.7); font-size: 11px; color: #555; }
.h2-x::after { content: ""; position: absolute; inset: -10px; }
.h2-dci { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.h2-dci svg { width: 20px; height: 20px; }
.h2-dc { cursor: pointer; transition: transform .12s ease; }
.h2-dc.pressed, .h2-dc:active { transform: scale(.97); }
.h2-dgo { margin-top: auto; align-self: flex-start; height: 32px; padding: 0 14px; border-radius: 16px; background: #111; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
/* Black basket bar above the glass nav */
.bbar2 { position: fixed; z-index: 5; left: 50%; transform: translateX(-50%); bottom: calc(80px + var(--safe-b)); width: calc(100% - 24px); max-width: 406px; height: 64px; border-radius: 22px; background: #111; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.22); display: flex; align-items: center; gap: 12px; padding: 0 10px 0 12px; text-align: left; }
.bb2-i { position: relative; width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; flex: none; }
.bb2-i svg { width: 20px; height: 20px; }
.bb2-i b { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--y); color: #111; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bb2-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bb2-t .pb-i { font-size: 20px; }
.bb2-t small { font-size: 11px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb2-t small em { color: var(--y); font-weight: 700; font-style: normal; }
.bb2-t small.neg { color: #ff9b9b; }
.bb2-go { height: 40px; padding: 0 14px; border-radius: 14px; background: #fff; color: #111; font-size: 13px; font-weight: 800; display: flex; align-items: center; flex: none; }

/* Location bubble without a town map: drawn streets (design 1-accueil) */
.h2-map { overflow: hidden; }
.h2-map i { position: absolute; background: var(--ev-bg); }
.h2-map i:nth-child(1) { left: -10px; top: 22px; width: 100px; height: 7px; transform: rotate(-18deg); }
.h2-map i:nth-child(2) { left: 30px; top: -10px; width: 6px; height: 100px; transform: rotate(12deg); }
.h2-map i:nth-child(3) { left: -10px; top: 46px; width: 100px; height: 4px; transform: rotate(8deg); }
.h2-map i:nth-child(4) { right: 4px; top: 6px; width: 20px; height: 14px; border-radius: 6px; background: #bfe0f0; }
.h2-map i:nth-child(5) { left: 8px; bottom: 6px; width: 16px; height: 12px; border-radius: 5px; background: #cfe5c4; }
.h2-map i:nth-child(6) { left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 23px; background: rgba(2,70,46,0.12); border: 1px solid rgba(2,70,46,0.25); }

/* 24 Oct design: the bar itself is fixed (8 px above the nav); the wrapper is only a holder */
#bbarw { position: static; transform: none; width: auto; max-width: none; }

/* ===== Home order 24 Oct 20:05 (design 1-accueil) ===== */
.h2-loc, .h2-shops > button { width: 80px; gap: 6px; }
.h2-shops .h2-ring { width: 74px; height: 74px; border-radius: 37px; border: 3px solid var(--y); box-sizing: border-box; padding: 4px; box-shadow: 0 6px 14px rgba(0,0,0,0.10); }
.h2-shops .h2-ring .slogo { width: 100%; height: 100%; border-radius: 50%; background: var(--ev-surface); object-fit: contain; }
.h3-car { display: flex; flex-direction: column; gap: 10px; }
.h3-rail { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.h3-rail::-webkit-scrollbar, .h3-row::-webkit-scrollbar { display: none; }
.h3-c { flex: none; width: 300px; height: 168px; border-radius: var(--ev-r-3xl); padding: 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; scroll-snap-align: start; cursor: pointer; line-height: normal; }
.h3-r { background: linear-gradient(160deg, #3a3f3b, #111); color: #fff; gap: 8px; }
.h3-ph { position: absolute; right: -10px; top: -10px; width: 150px; height: 150px; border-radius: 75px; overflow: hidden; }
.h3-ph img { width: 100%; height: 100%; object-fit: cover; }
.h3-ph img.is-logo { object-fit: contain; padding: 24px; box-sizing: border-box; }
.h3-tag { align-self: flex-start; background: var(--y); color: var(--ev-text); font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 9px; position: relative; text-transform: uppercase; }
.h3-r > b { font-size: var(--ev-fs-h1); position: relative; max-width: 170px; line-height: 1.15; }
.h3-pills { display: flex; gap: 6px; font-size: var(--ev-fs-xs); font-weight: 700; margin-top: auto; position: relative; }
.h3-pills span { background: rgba(255,255,255,0.16); padding: 4px 8px; border-radius: 8px; }
.h3-s { background: var(--ev-yellow-soft); }
.h3-s .h3-tag { background: var(--ev-black); color: var(--y); }
.h3-sr { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.h3-sr b { font-size: var(--ev-fs-h3); } .h3-sr span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.h3-lg { width: 48px; height: 48px; border-radius: 24px; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.h3-lg .slogo { width: 80%; height: 80%; object-fit: contain; }
.h3-go { margin-top: auto; font-size: var(--ev-fs-md); font-weight: 700; }
.h3-h { border: 1.5px dashed var(--ev-handle); background: var(--ev-bg); }
.h3-sm { font-size: 9px; font-weight: 800; color: var(--ev-text-4); letter-spacing: 0.06em; text-transform: uppercase; }
.h3-h > b { font-size: var(--ev-fs-h2); }
.h3-hb { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: var(--ev-fs-xs); color: var(--ev-text-2); }
.h3-hb b { color: var(--ev-text); }
.h3-ann { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--y); font-size: var(--ev-fs-sm); font-weight: 800; color: var(--ev-text); display: inline-flex; align-items: center; }
.h3-ad { padding: 0; } .h3-ad img { width: 100%; height: 100%; object-fit: cover; }
.h3-dots { display: flex; gap: 4px; justify-content: center; }
.h3-dots i { width: 4px; height: 4px; border-radius: 2px; background: #ccc; } .h3-dots i.on { width: 16px; background: var(--ev-black); }
.h3-sec { display: flex; flex-direction: column; gap: 12px; line-height: normal; }
.h3-h2 { padding: 0 16px; display: flex; justify-content: space-between; align-items: center; }
.h3-pad .h3-h2 { padding: 0; } .h3-pad { padding: 0 16px; }
.h3-h2 h2 { margin: 0; font-size: var(--ev-fs-h2); font-weight: 800; }
.h3-h2 .h2-go { border-color: var(--ev-border); font-size: var(--ev-fs-xl); }
.h3-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scrollbar-width: none; }
.h3-m { flex: none; width: 148px; border-radius: var(--ev-r-2xl); padding: 10px; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; cursor: pointer; }
.h3-mp { height: 96px; border-radius: var(--ev-r-md); background: rgba(255,255,255,0.6); overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.h3-mp img, .h3-sp img, .h3-rp img { width: 100%; height: 100%; object-fit: cover; }
.h3-mp img.is-logo, .h3-sp img.is-logo, .h3-rp img.is-logo { width: 60%; height: 60%; object-fit: contain; }
.h3-day { font-size: 10px; font-weight: 800; color: var(--ev-text-2); letter-spacing: 0.06em; text-transform: uppercase; }
.h3-m b { font-size: var(--ev-fs-md); line-height: 1.3; height: 34px; }
.h3-pr { font-size: var(--ev-fs-sm); font-weight: 700; }
.h3-sel { flex: none; width: 200px; border-radius: var(--ev-r-2xl); background: var(--ev-bg); padding: 10px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--ev-shadow-card); border: 1px solid var(--ev-line); box-sizing: border-box; cursor: pointer; margin-bottom: 10px; }
.h3-sp { height: 110px; border-radius: var(--ev-r-md); background: #e6e8e6; overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.h3-meta { font-size: var(--ev-fs-xs); color: var(--ev-text-2); }
.h3-sel > b { font-size: var(--ev-fs-base); }
.h3-spr { font-size: var(--ev-fs-sm); white-space: nowrap; } .h3-spr em { font-style: normal; color: var(--g); font-weight: 700; }
.h3-grid { display: flex; gap: 10px; }
.h3-grid > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.h3-rt { border-radius: var(--ev-r-xl); background: var(--ev-bg); overflow: hidden; box-shadow: var(--ev-shadow-card); border: 1px solid var(--ev-line); cursor: pointer; }
.h3-rp { display: flex; align-items: center; justify-content: center; background: #e6e8e6; overflow: hidden; }
.h3-rt > div { padding: 10px; display: flex; flex-direction: column; gap: 3px; }
.h3-rt b { font-size: var(--ev-fs-md); } .h3-rt span { font-size: var(--ev-fs-xs); color: var(--ev-text-2); }
.h3-au { display: flex; align-items: center; gap: 6px; } .h3-au i { width: 18px; height: 18px; border-radius: 9px; background: var(--ev-surface-2); overflow: hidden; flex: none; } .h3-au i img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 7a house slots */
.hb7 { height: 96px; border-radius: 20px; border: 1.5px dashed var(--ev-handle); background: var(--ev-bg); padding: 12px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; margin: 24px 0 0; cursor: pointer; }
.hb7-lg { width: 56px; height: 56px; border-radius: 14px; background: var(--ev-surface, #f4f5f4); display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.hb7-lg img { width: 40px; height: auto; }
.hb7-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hb7-t small { font-size: 9px; font-weight: 800; color: #888; letter-spacing: .06em; text-transform: uppercase; }
.hb7-t b { font-size: 14px; }
.hb7-t span { font-size: 11px; color: #555; }
.hb7-t strong { color: var(--ev-text); }
.adring>span { background: none; }
.adring>span i { border: 2.5px dashed #c9ccc9; background: #fff; font-size: 22px; font-weight: 400; }
/* 1 Accueil 24 Oct 21:00: Recettes as a carousel, rails aligned 16 px */
.h3-rrow { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
.h3-rrow::-webkit-scrollbar { display: none; }
.h3-rrow .h3-rt { flex: none; width: 168px; }
.h3-rail { scroll-padding: 0 16px; }
/* 25 Oct: story rings = colourful gradient + black « N promos » badge (Home only) */
.h2-shops > button { gap: 10px; }
.h2-ring.st { position: relative; border: 0; padding: 3px; background: conic-gradient(from 200deg, var(--y), #ff8a00, #ff3d6e, #b14bf4, var(--y)); box-shadow: 0 6px 14px rgba(0,0,0,.12); overflow: visible; }
.h2-ring.st .slogo { background: #fff; border: 3px solid #fff; border-radius: 50%; width: 100%; height: 100%; object-fit: contain; box-sizing: border-box; }
.h2-ring.st b { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); height: 20px; padding: 0 7px; border-radius: 10px; background: #111; color: #fff; font-size: 10px; font-weight: 800; border: 2px solid #fff; display: flex; align-items: center; white-space: nowrap; }
/* 25 Oct 15:30: shop logo = big full circle, no outline, top-right of the card */
.h2-pic { position: relative; }
.h2-slg { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 4px 10px rgba(17,24,20,.12); }
.h2-slg .slogo { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 50%; display: block; }

/* 7 Nov: sold carousel card with the advertiser's logo; Home banner inside the page gutter. */
.h3-adc { background: #fff; border: 1px solid #eef0ee; cursor: pointer; }
.h3-adc .h3-tag { background: #fff6cc; color: #111; }
.h3-adc .h3-adt { font-weight: 500; font-size: var(--ev-fs-sm); color: var(--ev-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h2 > .adx, .h2 > .hb7 { margin: 0 16px; }
.h2-ring.st.ad .slogo { object-fit: cover; border: 0; background: none; }

/* 7 Nov: ad skeletons (same size as the ad, nothing jumps) */
.h2 > .adsk-b { height: 96px; margin: 0 16px; border-radius: 20px; }
.h3-c.sk { cursor: default; }
.adring2 .h2-ring.sk { border: 0; box-shadow: none; }
.adsk-t { width: 56px; height: 10px; border-radius: 5px; }
/* 7 Nov: « Recette du jour » no longer black: pastel green, or the recipe photo full card with a dark fade at the bottom */
.h3-r { background: var(--ev-pastel-green); color: var(--ev-text); }
.h3-r .h3-pills span { background: rgba(0,0,0,.07); }
.h3-r.ph { color: #fff; background: #222; }
.h3-r.ph .h3-ph { inset: 0; width: auto; height: auto; border-radius: 0; right: 0; top: 0; }
.h3-r.ph .h3-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.6)); }
.h3-r.ph .h3-pills span { background: rgba(255,255,255,.2); }

/* 7 Nov (maquette v1 retouchée): carousel cards. One-line titles, same structure, no arrows. */
.h3-c.h4 { height: 176px; gap: 6px; box-shadow: 0 4px 14px rgba(17,24,20,.06); color: var(--ev-text); }
.h4-t { display: block; font-size: 18px; line-height: 1.2; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.h4-m { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.h4-x { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.h4-x > span { font-size: 12px; color: var(--ev-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h4-lg { flex: none; width: 72px; height: 72px; border-radius: 36px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.h4-lg.sm { width: 56px; height: 56px; background: #f4f5f4; }
.h4-lg .slogo { width: 80%; height: 80%; object-fit: contain; }
.h4-b { margin-top: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.h4-r { background: var(--ev-pastel-green, #e3efe6); position: relative; overflow: hidden; }
.h4-r > *:not(.h4-ph) { position: relative; }
.h4-ph { position: absolute; right: -18px; top: -18px; width: 116px; height: 116px; border-radius: 58px; background: #fff; border: 4px solid #fff; box-sizing: border-box; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.h4-ph img { width: 100%; height: 100%; object-fit: cover; } .h4-ph img.is-logo { object-fit: contain; padding: 18px; box-sizing: border-box; }
.h4-tr { max-width: 178px; }
.h4-ing { display: flex; flex-wrap: wrap; gap: 5px; max-width: 168px; height: 24px; overflow: hidden; } /* a chip that does not fit is hidden whole, never cut */
.h4-ing span { background: #fff; padding: 4px 9px; border-radius: 10px; font-size: 11px; font-weight: 700; color: #333; white-space: nowrap; }
.h4-pr { display: inline-flex; align-items: baseline; gap: 3px; } .h4-pr small { font-size: 12px; font-weight: 700; color: #444; } .h4-pr b { font-size: 30px; line-height: 1; font-weight: 800; }
.h4-tm { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #444; }
.h4-a { background: #fff; border: 1px solid #eef0ee; }
.h4-a .h3-tag { background: #fff6cc; color: #111; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
.h4-s { background: var(--ev-yellow-soft, #fff6cc); }
.h4-n { font-size: 13px; font-weight: 700; }
.h4-a .h4-b { display: block; }
/* 7 Nov 11:32 (Mervyn): the advertiser's logo fills its round; label « Sponsorisé » only; advertiser name small. */
.h4-lg.sm { background: #fff; border: 1px solid #eef0ee; }
.h4-lg.sm .slogo { width: 100%; height: 100%; object-fit: cover; }
.h4-lg.sm .slogo.is-ev { object-fit: contain; padding: 8px; box-sizing: border-box; }
.h4-x > .h4-adv { font-size: 11px; font-weight: 600; color: #777; }
/* 7 Nov 11:51 (Mervyn): shop of the week logo = the same ring as the shops in the stories row (gradient ring,
   white inside, logo whole and centred). */
.h4-s .h4-lg { width: 72px; height: 72px; border-radius: 50%; padding: 3px; box-sizing: border-box; background: conic-gradient(from 200deg, var(--y), #ff8a00, #ff3d6e, #b14bf4, var(--y)); box-shadow: 0 4px 12px rgba(0,0,0,.10); }
.h4-s .h4-lg .slogo { width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 3px solid #fff; box-sizing: border-box; object-fit: contain; padding: 6px; }
.li.dl { align-items: center; gap: 12px; padding: 10px 12px; }
.li.dl .img { position: relative; width: 60px; height: 60px; flex-shrink: 0; border-radius: 14px; }
.li.dl .img img { width: 100%; height: 100%; object-fit: contain; }
.dl-d { position: absolute; left: -4px; top: -4px; background: #d93025; color: #fff; font-size: 10px; font-weight: 800; border-radius: 8px; padding: 2px 5px; }
.dl-n { font-size: 14px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-p { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; white-space: nowrap; }
.dl-p .pb-i { font-size: 20px; }
.dl-p s { font-size: 12px; color: var(--mu); }
.dl-p > span:not(.pb) { font-size: 11px; color: var(--mu); margin-left: auto; }
.row { display: flex; align-items: center; gap: 10px; }
.sp { justify-content: space-between; }
.mu { color: var(--mu); font-size: 13px; }
.img img { width: 56%; height: auto; max-height: 78%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(31,46,38,.12)); }
.list { padding-block: 4px; }
.list>*+* { border-top: 1px solid var(--ln2); }
.li { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.li .img { width: 56px; height: 56px; margin: 0; flex-shrink: 0; border-radius: 16px; }
.li .img img { width: 72%; }
.best { color: var(--ok); font-weight: 800; font-size: 12px; }
.note { font-size: 11px; color: var(--mu); margin-top: 22px; line-height: 1.5; }
.img { height: 104px; display: flex; align-items: center; justify-content: center; border-radius: 18px; margin-bottom: 6px; background: var(--bg); }
.card { border-radius: var(--r); padding: 16px; box-shadow: none; border: 0; background: var(--tile); }
.hint span { font-weight: 800; color: var(--tx); white-space: nowrap; }
.phead h1 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.ibtn { width: 40px; height: 40px; border-radius: 50%; background: var(--tile); display: flex; align-items: center; justify-content: center; }
.vt { display: flex; background: var(--tile); border-radius: 999px; padding: 3px; }
.vt button { width: 36px; height: 34px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--mu); }
.vt button.on { background: var(--card); color: var(--tx); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.vt .ic { width: 18px; height: 18px; }
.hint { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--mu); text-align: center; justify-content: center; font-size: 11px; margin: 4px 0 0; }
.tc-cat { display: table; font-size: 11px; font-weight: 800; color: var(--ac); background: var(--bg); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.add, .cbtn, .ibtn { display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.cbtn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; flex-shrink: 0; }
.cbtn.sm { width: 34px; height: 34px; }
.cbtn .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.av { width: 28px; height: 28px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fffdf4; border: 2px solid; overflow: hidden; padding: 0; }
.phead { display: flex; justify-content: space-between; padding: 8px 16px 0; align-items: flex-start; }
.psub { font-size: 12px; color: var(--mu); font-weight: 600; margin-top: 2px; }
.psub b { color: var(--tx); }
.psub .soon { color: #b26a00; }
.fs-all { font-size: 11px; font-weight: 800; }
.fsp.on { border-color: #111; background: var(--g); color: #fff; }
.fsp.on em { color: var(--y); }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-pr s { display: block; line-height: 1.25; font-size: 11px; color: var(--mu); font-weight: 600; }
.sv { position: relative; width: 100%; max-width: 430px; height: 100%; overflow: hidden; background: radial-gradient(120% 70% at 50% 30%,#fff 0%,var(--bg) 55%,var(--bg) 100%); display: flex; flex-direction: column; padding: calc(10px + env(safe-area-inset-top,0px)) 16px calc(14px + env(safe-area-inset-bottom,0px)); touch-action: none; user-select: none; }
.sv.open { animation: svin .28s ease-out; }
.sv-wm { position: absolute; top: 21%; left: 50%; transform: translateX(-50%) rotate(-8deg); font-style: normal; font-size: 150px; font-weight: 800; letter-spacing: -.06em; color: var(--ac); opacity: .08; white-space: nowrap; pointer-events: none; }
.sv-blob { position: absolute; border-radius: 50%; background: var(--ac); opacity: .18; pointer-events: none; }
.sv-top, .sv-foot { position: relative; transition: opacity .2s; }
.sv.hold .sv-top, .sv.hold .sv-foot { opacity: 0; }
.sv-bars { display: flex; gap: 4px; }
.sv-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(0,0,0,.12); overflow: hidden; }
.sv-bars i { display: block; height: 100%; background: var(--g); }
.sv-head { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.sv-lg { width: 44px; height: 44px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg,var(--y),#ff8a65,#e45c8c,var(--g),#34b26a,var(--y)); display: flex; }
.sv-head b { display: block; font-size: 15px; }
.sv-head small { font-size: 11px; color: #555; font-weight: 600; }
.sv-dl { font-size: 11px; font-weight: 800; background: rgba(255,255,255,.75); padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.sv-dl.hot { background: var(--g); color: var(--y); }
.sv-head .cbtn { background: rgba(255,255,255,.75); color: #111; }
.sv-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; animation: svsl .3s ease-out; }
.sv-art { position: relative; width: 220px; height: 200px; display: flex; align-items: center; justify-content: center; }
.sv-art img { width: 190px; position: relative; z-index: 1; animation: svpop .5s cubic-bezier(.3,1.6,.5,1),svbob 3s ease-in-out .5s infinite; filter: drop-shadow(0 14px 16px rgba(0,0,0,.18)); }
.sv-shadow { position: absolute; bottom: 2px; width: 120px; height: 16px; border-radius: 50%; background: rgba(0,0,0,.12); filter: blur(4px); }
.sv-disc { position: absolute; z-index: 2; top: 4px; right: -14px; width: 70px; height: 70px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; transform: rotate(12deg); box-shadow: 0 6px 14px rgba(0,0,0,.15); animation: svpop .5s .15s both cubic-bezier(.3,1.6,.5,1); }
.sv-card { width: 100%; background: #fff; border-radius: 26px; padding: 16px 16px 14px; box-shadow: 0 14px 30px rgba(0,0,0,.08); display: flex; flex-direction: column; align-items: center; text-align: center; }
.sv-card .tc-cat { margin: 0 0 4px; }
.sv h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sv-unit { font-size: 12px; color: var(--mu); font-weight: 600; margin-top: 2px; }
.sv-price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.sv-price b { font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.sv-price s { color: var(--mu); font-weight: 700; }
.sv-save { margin-top: 6px; background: var(--y); color: #111; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.sv-save b { font-weight: 800; }
.sv-cmp { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e3e3e3; width: 100%; }
.sv-cmp>span { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--mu); background: var(--tile); padding: 3px 9px 3px 3px; border-radius: 999px; }
.sv-cmp .sv-low { background: #e1f6e9; color: #1d8a4c; }
.sv-src { font-size: 11px; color: #666; text-align: center; }
.sv-foot { display: flex; flex-direction: column; gap: 10px; }
.sv-bud { display: flex; justify-content: space-between; font-size: 12px; color: #444; background: rgba(255,255,255,.65); border-radius: 14px; padding: 8px 12px; }
.sv-bud b { color: #111; }
.sv-bud .neg b { color: #e5483a; }
.sv-add { gap: 6px; }
.sv-add .ic { width: 20px; height: 20px; }
.sv-add.in { background: var(--g); }
.sv-add em { font-style: normal; background: rgba(255,255,255,.2); border-radius: 999px; padding: 2px 9px; margin-left: 4px; }
.sv-send { display: flex; align-items: center; gap: 12px; justify-content: center; }
.sv-send small { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: #444; }
.sv-send small .ic { width: 16px; height: 16px; }
.sv-to { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; }
.sv-to .av { width: 44px; height: 44px; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,.1); border-radius: 50%; transition: transform .15s; }
.sv-to:active .av { transform: scale(.9); }
.sv-to.done .av { box-shadow: 0 0 0 3px #34b26a; }
.sv-to i { position: absolute; top: 28px; right: -2px; width: 18px; height: 18px; border-radius: 50%; background: #34b26a; color: #fff; font-style: normal; font-size: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.stile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; background: var(--bg); overflow: hidden; border-radius: 28px; min-height: 236px; padding: 14px; background-color: var(--bg); background-image: repeating-radial-gradient(circle at 50% 42%,rgba(255,255,255,.45) 0 2px,transparent 2px 18px); }
.st-disc { position: absolute; font-weight: 800; border-radius: 999px; top: 12px; left: 12px; background: var(--card); color: var(--tx); font-size: 11px; padding: 4px 10px; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.st-logo { position: absolute; top: 10px; right: 10px; }
.stile>img { align-self: center; filter: drop-shadow(0 8px 10px rgba(0,0,0,.15)); width: 64%; margin: 22px 0 8px; }
.stile b { line-height: 1.2; font-size: 14px; }
.st-pr { font-weight: 800; } .st-pr .pb-i { font-size: 20px; }
.stile .plus { right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 12px; font-size: 20px; }
.st-new { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #e45c8c; bottom: auto; top: 46px; right: 16px; }
.st-unit { font-size: 11px; color: #666; font-weight: 600; }
.card.list { border: 0; background: var(--tile); border-radius: 28px; }
.card.list .li .img { border-radius: 16px; background: var(--card); }
.pdv { margin: -6px -4px 0; }
.pd-u { font-size: 12px; color: var(--mu); }
.pd-d { position: absolute; top: 14px; left: 14px; background: var(--ha); color: #fff; font-weight: 800; padding: 5px 11px; border-radius: 999px; }
.pd-h { margin: 6px 0 8px; font-size: 16px; }
.pd-cmp { display: flex; flex-direction: column; gap: 6px; }
.pd-row b { font-size: 14px; }
.pd-row small { display: block; font-size: 11px; color: var(--mu); }
.pd-row s { font-size: 11px; color: #999; }
.pd-row.best { background: #e6f6ec; box-shadow: inset 0 0 0 1.5px #34b26a; }
.pd-ok { width: 22px; height: 22px; border-radius: 50%; background: #34b26a; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pd-x { font-size: 11px; font-weight: 800; color: #e5483a; min-width: 46px; text-align: right; }
.rfil { display: flex; gap: 6px; overflow-x: auto; margin: 2px -16px 8px; padding: 0 16px; scrollbar-width: none; }
.rfil::-webkit-scrollbar { display: none; }
.rfil button.on { background: var(--y); border-color: var(--y); color: var(--g); }
.rfil button { flex-shrink: 0; border: 1.5px solid var(--ln); background: var(--card); border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 13px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rfil2 { gap: 8px; margin-bottom: 8px; padding-top: 5px; padding-bottom: 6px; }
.rfil2 button { border-radius: 999px; text-transform: none; letter-spacing: 0; border: 1.5px solid var(--ln,#e7e7e2); background: var(--card); color: var(--tx); font-weight: 600; font-size: 13.5px; box-shadow: none; padding: 8px 14px; }
.rfil2 button.on { box-shadow: none; background: var(--g); border-color: var(--g); color: #fff; }
.pd2-top { display: flex; align-items: center; gap: 12px; }
.pd2-art { position: relative; flex-shrink: 0; width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(160deg,var(--hb),#fff); display: flex; align-items: center; justify-content: center; }
.pd2-art img { width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.14)); }
.pd2-art .pd-d { top: -6px; left: -6px; font-size: 11px; padding: 3px 7px; }
.pd2-top small { font-size: 12px; color: var(--ha); font-weight: 800; }
.pd2-top h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 1px 0 3px; }
.pd2 .pd-h { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 8px; }
.pd2 .pd-h small { font-size: 12px; color: var(--mu); font-weight: 600; }
.pd2 .pd-cmp { gap: 5px; }
.pd2 .pd-row { padding: 7px 10px; border-radius: 14px; gap: 9px; }
.pd2 .pd-row small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-pr { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; flex-shrink: 0; }
.pd-pr s { font-size: 10.5px; }
.pd2 .pd-x { min-width: 52px; flex-shrink: 0; }
.pd-more { display: block; width: 100%; margin-top: 6px; padding: 9px; border-radius: 12px; background: none; color: var(--g); font-weight: 800; font-size: 13px; }
.pd-bar { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom,0px)); margin: 10px -14px 0; padding: 10px 14px calc(12px + env(safe-area-inset-bottom,0px)); background: var(--bg); box-shadow: 0 -10px 20px rgba(0,0,0,.05); }
.pd-foot2 { display: flex; align-items: center; gap: 10px; }
.pd-q { display: flex; align-items: center; gap: 6px; background: #f2f2f2; border-radius: 18px; padding: 4px; }
.pd-q button { width: 40px; height: 44px; border-radius: 14px; font-size: 22px; font-weight: 700; }
.pd-q b { min-width: 22px; text-align: center; font-size: 18px; }
@media (max-width:380px) { .pd-q button { width: 34px; } }
.pd2-acts { display: flex; gap: 6px; align-self: flex-start; flex-shrink: 0; }
.pd-row { display: flex; align-items: center; gap: 10px; background: #f5f5f5; border-radius: 16px; padding: 9px 12px; transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.pd-row:active { transform: scale(.97); }
.catv .row.sp h2 { margin: 0; }
.catg { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 14px; }
.catb { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 20px; background: var(--cb); color: var(--ca); text-align: center; }
.catb.on { box-shadow: inset 0 0 0 2px var(--g); }
.catb.empty { opacity: .45; }
.catb-i .cico { width: 28px; height: 28px; }
.catb small { font-size: 12px; font-weight: 700; line-height: 1.2; color: #222; }
.catb em { position: absolute; top: 6px; right: 8px; font-style: normal; font-size: 10.5px; font-weight: 800; background: var(--card); color: var(--tx); border-radius: 999px; padding: 1px 6px; }
.psrch { position: sticky; top: calc(env(safe-area-inset-top,0px) + 6px); z-index: 5; display: flex; gap: 8px; align-items: center; margin: 10px -16px 4px; padding: 6px 16px; background: var(--bg,#fff); }
.catbtn { position: relative; flex-shrink: 0; width: 48px; height: 48px; border-radius: 16px; background: var(--y); color: var(--g); display: flex; align-items: center; justify-content: center; }
.catbtn .cico { width: 24px; height: 24px; }
.catbtn i { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--g); border: 2px solid var(--y); }
.psrch-in { flex: 1; display: flex; align-items: center; gap: 8px; height: 48px; border-radius: 16px; background: #f2f2f0; padding: 0 14px; min-width: 0; }
.psrch-in .ic { width: 19px; height: 19px; color: #777; flex-shrink: 0; }
.psrch-in input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 600; color: var(--tx); outline: none; }
.pcats { margin-top: 10px; }
.fstores { overscroll-behavior-x: contain; overflow-y: hidden; display: flex; gap: 8px; overflow-x: auto; margin: 6px -16px 8px; scrollbar-width: none; padding: 4px 16px; align-items: center; }
.fsp { display: flex; align-items: center; flex-shrink: 0; border-radius: 999px; background: var(--card); border: 1.5px solid #e6e6e6; font-weight: 800; height: 50px; padding: 0 14px 0 5px; gap: 9px; }
.fsp img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: var(--card); box-shadow: 0 0 0 1px #eee; flex-shrink: 0; }
.fsp .fs-all { font-size: 13px; padding-left: 10px; }
.fsp em { font-style: normal; font-size: 12px; color: var(--mu); font-weight: 800; }
.add { border-radius: 999px; font-size: 22px; font-weight: 700; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--g); color: #fff; width: 34px; height: 34px; }
.add .ic.pl { width: 17px; height: 17px; }
.dl-r { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 8px; }
.plus { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 13px; background: #0f3d2e; color: #fff; font-size: 22px; font-weight: 700; box-shadow: 0 6px 14px rgba(15,61,46,.3); z-index: 3; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.plus .ic.pl { width: 16px; height: 16px; }
.pds { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.pds-l { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #555; }
.pds-l .ic { width: 16px; height: 16px; }
.pds-r { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 2px; -webkit-mask-image: linear-gradient(90deg,#000 88%,transparent); mask-image: linear-gradient(90deg,#000 88%,transparent); }
.pds-r::-webkit-scrollbar { display: none; }
.pds-b { position: relative; flex: 0 0 52px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pds-b .av { width: 44px; height: 44px; border-width: 2px; }
.pds-b small { font-size: 11px; font-weight: 700; max-width: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pds-b.fr .av { box-shadow: 0 0 0 2px var(--y); }
.pds-f { position: absolute; top: -4px; right: 0; font-style: normal; font-size: 10px; font-weight: 800; background: var(--card); border-radius: 999px; padding: 0 4px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pds-add span { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed #b9c7be; display: flex; align-items: center; justify-content: center; color: var(--g); }
@keyframes svin{from{transform:translateY(30px) scale(.97);opacity:.3}to{transform:none;opacity:1}}
@keyframes svsl{from{transform:translateX(24px)}to{transform:none}}
@keyframes svpop{from{transform:scale(.5) rotate(-10deg);opacity:0}to{transform:none;opacity:1}}
@keyframes svbob{50%{transform:translateY(-8px)}}
#story { position: fixed; inset: 0; z-index: 25; display: flex; justify-content: center; background: rgba(0,0,0,.55); }
body:has(#story) .toast { bottom: 190px; }
.ct { font-size: .72em; font-weight: inherit; }
.deckdone { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px; text-align: center; background: var(--tile); border-radius: 24px; }
.deckdone img { width: 90px; }
.catact { margin: 10px 0 2px; }
.catchip { display: inline-flex; align-items: center; gap: 8px; background: var(--cb); color: var(--ca); border-radius: 999px; padding: 7px 12px 7px 10px; font-weight: 800; font-size: 13px; }
.catchip .cico { width: 18px; height: 18px; }
.catchip b { font-size: 12px; opacity: .7; margin-left: 2px; }
.pnone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 10px; color: #666; }
.pnone .ic { width: 34px; height: 34px; }
.pmore { min-height: 1px; display: none; flex-direction: column; align-items: center; gap: 8px; padding: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--ev-text-3, #666); }
.pmore.on { display: flex; }
/* Price source + « Signaler un prix faux » (approved 8 Oct + item 35; not in the demo) */
.pd-src { font-size: 11px; color: var(--mu); margin: 8px 0 0; text-align: center; }
.pd-rep { font-size: 11px; color: var(--mu); text-decoration: underline; font-weight: 700; }
.adw.tile { aspect-ratio: 4 / 5; margin: 0; }

/* Story header: the shop logo fills its ring (demo 1.0) */
.sv-lg .slogo { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; background: #fff; }
/* Search sheet (demo 1.0 .sinp) */
.sinp { display: flex; align-items: center; gap: 10px; background: var(--tile); border-radius: 999px; padding: 0 16px; min-height: 52px; }
.sinp svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--mu); }
.sinp input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; font-weight: 600; outline: none; padding: 0; }

.fly { position: fixed; z-index: 400; object-fit: contain; pointer-events: none; }

/* ===== 24 Oct validated design — design/screens/2-main.html, 2b-galerie.html ===== */
[data-tab="deals"] .app, .pr { background: var(--ev-surface); }
.pr-top, .pr-chips, .pr-body { line-height: normal; }
.pr-top { background: var(--ev-bg); padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 14px; border-radius: 0 0 var(--ev-r-sheet) var(--ev-r-sheet); }
.pr-h { display: flex; justify-content: space-between; align-items: center; }
.pr-ht { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-ht h1 { margin: 0; font-size: var(--ev-fs-title); font-weight: 800; letter-spacing: -0.02em; }
.pr-ht span { font-size: var(--ev-fs-md); color: var(--ev-text-2); font-weight: 600; }
.pr-bell { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #e6e8e6; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; position: relative; flex: none; color: var(--ev-text); }
.pr-bell b { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ev-badge); color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pr-s { height: 50px; border-radius: var(--ev-r-lg); background: var(--ev-surface-2); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--ev-text-2); }
.pr-s input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--ev-fs-lg); outline: none; color: var(--ev-text); -webkit-appearance: none; }
.pr-s input::-webkit-search-cancel-button { display: none; }
.pr-rings { display: flex; gap: 14px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
.pr-rings::-webkit-scrollbar, .pr-chips::-webkit-scrollbar { display: none; }
.pr-ring { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; flex: none; }
.pr-ring > span { width: 60px; height: 60px; border-radius: 30px; border: 2.5px solid #e6e8e6; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; box-sizing: content-box; }
.pr-ring > span.on { border-color: var(--y); }
.pr-ring .slogo { width: 80%; height: 80%; object-fit: contain; border-radius: 50%; }
.pr-ring small { width: 100%; font-size: var(--ev-fs-xs); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.pr-chips { padding: 14px 16px 4px; overflow-y: hidden; display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.pr-chips::-webkit-scrollbar { display: none; }
.pr-chips button { flex: none; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 600; color: var(--ev-text); }
.pr-chips button.on { border-color: var(--ev-black); background: var(--ev-black); color: #fff; font-weight: 700; }
.pr-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.pr-tools { display: flex; justify-content: space-between; align-items: center; }
.pr-sort { height: 40px; font-size: var(--ev-fs-md); color: var(--ev-text-2); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.pr-sort b { color: var(--ev-text); }
.pr-vt { display: flex; background: #e9ebe9; border-radius: var(--ev-r-sm); padding: 3px; gap: 2px; }
.pr-vt button { width: 40px; height: 34px; border-radius: var(--ev-r-xs); display: flex; align-items: center; justify-content: center; color: var(--ev-text-2); }
.pr-vt button[aria-pressed="true"] { background: var(--ev-bg); color: var(--ev-text); }
.pr-list { display: flex; flex-direction: column; gap: 12px; }
.pr-c { background: var(--ev-bg); border-radius: var(--ev-r-2xl); padding: 12px; display: flex; gap: 12px; cursor: pointer; }
.pr-im { width: 104px; height: 104px; flex: none; border-radius: var(--ev-r-md); background: var(--ev-surface); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pr-im img, .pr-tim img { max-width: 86%; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.pr-im img.is-logo, .pr-tim img.is-logo { width: 70%; mix-blend-mode: normal; }
.pr-pct { position: absolute; top: 6px; left: 6px; background: var(--y); font-size: var(--ev-fs-xs); font-weight: 800; padding: 3px 7px; border-radius: 8px; color: var(--ev-text); }
.pr-tim .pr-pct { top: 8px; left: 8px; }
.pr-i { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pr-n { font-size: var(--ev-fs-lg); font-weight: 700; line-height: 1.3; }
.pr-best { font-size: var(--ev-fs-sm); font-weight: 700; color: var(--g); display: flex; align-items: center; gap: 6px; }
.pr-lg { height: 18px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--ev-border); display: inline-flex; align-items: center; }
.pr-lg .slogo { height: 12px; width: auto; max-width: 48px; object-fit: contain; }
.pr-r { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pr-p { min-width: 0; line-height: 1.15; }
.pr-p.col { display: flex; flex-direction: column; }
/* 18 Nov (maquette « prix promo + chargement »): big promo price, old price on its right, also for Rs 1 000+. */
.pr-p.side { display: flex; align-items: flex-end; gap: 7px; white-space: nowrap; }
.pr-p.side .pb-i { font-size: 30px; } .pr-p.side .pb-c { font-size: 14px; } .pr-p.side .pb-r { font-size: 12px; margin-top: 4px; }
.pr-p.side s { font-size: 12px; margin-bottom: 3px; }
.pr-p.side.lg { gap: 5px; } .pr-p.side.lg .pb-i { font-size: 24px; } .pr-p.side.lg .pb-c { font-size: 12px; } .pr-p.side.lg s { font-size: 11px; margin-bottom: 2px; }
@media (max-width: 370px) { .pr-p.side .pb-i { font-size: 26px; } .pr-p.side.lg .pb-i { font-size: 21px; } .pr-p.side.lg .pb-r { display: none; } }
.pr-p s { font-size: var(--ev-fs-sm); color: var(--ev-text-3); white-space: nowrap; }
.pr-p.row { white-space: nowrap; }
.pr-p.row s { font-size: var(--ev-fs-xs); }
.pr-add { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-black); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.pr-q { display: flex; align-items: center; gap: 8px; background: var(--ev-surface-2); border-radius: 20px; padding: 2px; flex: none; }
.pr-q button { width: 32px; height: 32px; border-radius: 16px; background: var(--ev-bg); font-size: var(--ev-fs-xl); font-weight: 700; color: var(--ev-text); }
.pr-q button:last-child { background: var(--ev-black); color: #fff; }
.pr-q b { font-size: var(--ev-fs-base); }
.pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pr-t { background: var(--ev-bg); border-radius: var(--ev-r-xl); padding: 10px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; min-width: 0; }
.pr-tim { height: 150px; border-radius: var(--ev-r-sm); background: var(--ev-surface); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pr-tadd { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 19px; background: var(--ev-black); color: #fff; font-size: 20px; }
.pr-tn { font-size: var(--ev-fs-md); font-weight: 700; line-height: 1.3; height: 34px; }
.pr-ts { font-size: var(--ev-fs-xs); color: var(--ev-text-2); }
.pr-bar { position: fixed; z-index: 5; left: 16px; right: 16px; bottom: calc(80px + var(--safe-b)); max-width: 398px; margin: 0 auto; height: 56px; border-radius: var(--ev-r-xl); background: var(--ev-black); color: #fff; display: flex; align-items: center; padding: 0 16px; gap: 10px; text-align: left; }
.pr-bar span { font-size: var(--ev-fs-md); color: #cfcfcf; }
.pr-bar b { flex: 1; font-size: var(--ev-fs-lg); }
.pr-bar em { font-style: normal; font-size: var(--ev-fs-base); font-weight: 700; color: var(--y); }
/* gallery header (design 2b-galerie) */
.pr-gtop { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 12px; line-height: normal; }
.pr-gtop h1 { margin: 0; font-size: var(--ev-fs-title); font-weight: 800; }
.pr-gs { height: 48px; border-radius: var(--ev-r-lg); background: var(--ev-bg); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--ev-text-3); }
.pr-gs input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--ev-fs-base); outline: none; color: var(--ev-text); -webkit-appearance: none; }
.pr-gs input::placeholder { color: var(--ev-text-3); }
.pr--grid .pr-chips { padding-top: 16px; }
.pr--grid .pr-body { padding: 0 0 16px; gap: 0; }
.pr--grid .pr-tools { padding: 12px 16px; }
.pr--grid #plist { padding: 0 16px; }
/* product sheet (design 2a-produit) */
.sheet.sheet-px { padding: 10px 16px 0; line-height: normal; height: 100dvh; max-height: 100dvh; display: flex; flex-direction: column; border-radius: var(--ev-r-sheet) var(--ev-r-sheet) 0 0; }
.sheet.sheet-px .px { flex: 1; }
.px-row.best { color: var(--ev-text); }
.sheet.sheet-px::before { margin: 0 auto 16px; }
.px { display: flex; flex-direction: column; gap: 16px; }
.px-top { display: flex; justify-content: space-between; align-items: center; }
.px-top > span { font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text-2); }
.px-x { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-surface-2); display: flex; align-items: center; justify-content: center; color: var(--ev-text); }
.px-im { height: 220px; border-radius: var(--ev-r-2xl); background: var(--ev-surface); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.px-im img { max-width: 80%; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.px-im img.is-logo { width: 46%; mix-blend-mode: normal; }
.px-pct { position: absolute; top: 12px; left: 12px; background: var(--y); font-size: var(--ev-fs-md); font-weight: 800; padding: 4px 9px; border-radius: var(--ev-r-xs); }
.px-t { display: flex; flex-direction: column; gap: 4px; }
.px-n { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.25; }
.px-t > span { font-size: var(--ev-fs-md); color: var(--ev-text-2); }
.px-pr { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.px-pr b { font-size: 30px; letter-spacing: -0.02em; }
.px-pr s { font-size: var(--ev-fs-lg); color: var(--ev-text-3); }
.px-pr span { font-size: var(--ev-fs-sm); font-weight: 700; background: var(--ev-green-soft); color: var(--g); padding: 4px 9px; border-radius: var(--ev-r-xs); }
.px-sec { display: flex; flex-direction: column; gap: 8px; }
.px-h { font-size: var(--ev-fs-sm); font-weight: 800; color: var(--ev-text-2); letter-spacing: 0.06em; text-transform: uppercase; }
.px-shops { border: 1px solid var(--ev-line); border-radius: var(--ev-r-lg); display: flex; flex-direction: column; overflow: hidden; }
.px-row { height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--ev-line); }
.px-row:last-child { border-bottom: 0; }
.px-row.best { background: #f6faf8; }
.px-lg { width: 32px; height: 32px; border-radius: 16px; background: var(--ev-bg); border: 1px solid #e6e8e6; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.px-lg .slogo { width: 76%; height: 76%; object-fit: contain; }
.px-sn { flex: 1; min-width: 0; font-size: var(--ev-fs-base); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-sn small { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.px-row.best .px-sn { font-weight: 700; }
.px-row b { font-size: var(--ev-fs-lg); font-weight: 600; }
.px-row.best b { font-weight: 800; color: var(--g); }
.px-send { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.px-send button { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; flex: none; }
.px-send button > span { width: 52px; height: 52px; border-radius: 26px; font-size: var(--ev-fs-xl); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.px-send button > span.px-inv { border: 1.5px dashed #b9bdb9; font-size: 22px; font-weight: 400; box-sizing: border-box; }
.px-send small { font-size: var(--ev-fs-xs); font-weight: 600; }
.px-src { margin: 0; font-size: var(--ev-fs-xs); color: var(--ev-text-3); }
.px-src button { font-size: inherit; color: inherit; text-decoration: underline; padding: 0; }
.px-foot { margin-top: auto; border-top: 1px solid var(--ev-line); padding: 12px 0 calc(24px + var(--safe-b)); display: flex; gap: 10px; align-items: center; position: sticky; bottom: 0; background: var(--ev-bg); }
.px-q { display: flex; align-items: center; gap: 10px; background: var(--ev-surface-2); border-radius: var(--ev-r-lg); padding: 4px; }
.px-q button { width: 44px; height: 44px; border-radius: 13px; background: var(--ev-bg); font-size: 20px; font-weight: 700; color: var(--ev-text); }
.px-q b { font-size: var(--ev-fs-xl); min-width: 16px; text-align: center; }
.px-add { flex: 1; height: 52px; border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-lg); font-weight: 700; }
/* store story (design 2c-story) */
.sx { position: fixed; inset: 0; z-index: 30; max-width: 430px; margin: 0 auto; box-sizing: border-box; background: #eaf3f7; color: var(--ev-text); display: flex; flex-direction: column; padding: calc(10px + var(--safe-t, 0px)) 14px calc(14px + var(--safe-b)); gap: 12px; overflow: hidden; line-height: normal; user-select: none; -webkit-user-select: none; }
.sx.open { animation: sxIn .28s ease-out; }
@keyframes sxIn { from { opacity: 0; transform: scale(.97); } }
.sx-bars { display: grid; gap: 4px; }
.sx-bars span { height: 3px; border-radius: 2px; background: #c9d6dc; overflow: hidden; }
.sx-bars i { display: block; height: 100%; background: var(--ev-black); }
.sx-head { display: flex; align-items: center; gap: 10px; }
.sx-lg { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-bg); border: 1px solid #dbe4e8; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.sx-lg .slogo { width: 78%; height: 78%; object-fit: contain; }
.sx-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sx-ht b { font-size: var(--ev-fs-lg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-ht span { font-size: var(--ev-fs-sm); color: #4b5a60; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-dl { font-size: var(--ev-fs-xs); font-weight: 700; background: var(--ev-black); color: var(--y); padding: 5px 9px; border-radius: var(--ev-r-xs); white-space: nowrap; flex: none; }
.sx-x { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; color: var(--ev-text); flex: none; }
.sx-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; position: relative; min-height: 0; }
.sx-wm { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-size: 120px; font-weight: 800; color: #d7e7ee; letter-spacing: -0.04em; line-height: normal; pointer-events: none; }
.sx-art { position: relative; height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.sx-float { width: 170px; height: 190px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 18px 18px rgba(20,60,80,0.18)); animation: sxFloat 3.2s ease-in-out infinite; }
.sx-float img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sx-shadow { width: 130px; height: 14px; border-radius: 50%; background: radial-gradient(ellipse, rgba(20,60,80,0.28), transparent 70%); animation: sxShadow 3.2s ease-in-out infinite; }
@keyframes sxFloat { 50% { transform: translateY(-8px); } }
@keyframes sxShadow { 50% { transform: scaleX(.86); opacity: .8; } }
.sx-card { position: relative; background: var(--ev-bg); border-radius: var(--ev-r-3xl); padding: 16px; display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.sx-cat { font-size: var(--ev-fs-xs); font-weight: 700; color: #4b5a60; text-transform: uppercase; }
.sx-n { font-size: 19px; line-height: 1.25; }
.sx-u { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.sx-pr { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sx-pr .pb-r { font-size: 13px; margin: 4px 2px 0 0; } .sx-pr .pb-i { font-size: 38px; } .sx-pr .pb-c { font-size: 16px; margin-top: 3px; }
.sx-pr s { font-size: var(--ev-fs-base); color: var(--ev-text-3); }
.sx-cmp { display: flex; gap: 6px; flex-wrap: nowrap; font-size: var(--ev-fs-xs); font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; }
.sx-cmp span { background: var(--ev-surface-2); padding: 5px 8px; border-radius: 9px; display: inline-flex; align-items: center; gap: 4px; }
.sx-cmp span.best { background: var(--ev-green-soft); color: var(--g); font-weight: 700; }
.sx-cmp .slogo { width: 14px; height: 14px; object-fit: contain; }
.sx-send { position: relative; display: flex; align-items: center; gap: 10px; }
.sx-send > span { font-size: var(--ev-fs-sm); font-weight: 700; color: #4b5a60; }
.sx-p { width: 40px; height: 40px; border-radius: 20px; font-weight: 800; font-size: var(--ev-fs-xl); color: var(--ev-text); flex: none; }
.sx-inv { border: 1.5px dashed #9aa8ae; background: none; font-size: var(--ev-fs-h3); font-weight: 400; box-sizing: border-box; }
.sx-login { height: 40px; padding: 0 14px; border-radius: 20px; background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.sx-bud { display: flex; justify-content: space-between; font-size: var(--ev-fs-sm); color: #4b5a60; padding: 0 4px; min-height: 15px; }
.sx-bud b { color: var(--ev-text); }
.sx-add { height: var(--ev-btn-h); border-radius: var(--ev-r-xl); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; flex: none; }
.sx-hint { font-size: 10px; color: #4b5a60; text-align: center; }
.sx.hold .sx-bars, .sx.hold .sx-head { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .sx-float, .sx-shadow, .sx.open { animation: none; } }
/* no result (design 2e-promovide) */
.pr-s:focus-within { background: var(--ev-bg); box-shadow: inset 0 0 0 2px var(--ev-black); }
.pe { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 40px 20px; }
.pe-i { width: 96px; height: 96px; border-radius: 48px; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; box-shadow: var(--ev-shadow-card); }
.pe > b { font-size: var(--ev-fs-h3); }
.pe > span:not(.pe-i) { font-size: var(--ev-fs-base); color: var(--ev-text-2); line-height: 1.5; }
.pe-b { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; }
.pe-b button { height: var(--ev-btn-h-sm); border-radius: var(--ev-r-lg); font-size: var(--ev-fs-base); font-weight: 700; }
.pe-1 { background: var(--ev-black); color: #fff; }
.pe-2 { border: 1.5px solid var(--ev-border); background: var(--ev-bg); color: var(--ev-text); }
/* categories sheet (design 2d-categories) */
.sheet.sheet-cx { padding: 10px 18px calc(24px + var(--safe-b)); line-height: normal; min-height: min(784px, 92dvh); }
.sheet.sheet-cx::before { margin: 0 auto 14px; }
.cx { display: flex; flex-direction: column; gap: 14px; }
.cx-h { display: flex; justify-content: space-between; align-items: center; }
.cx-h h2 { margin: 0; font-size: 21px; font-weight: 800; }
.cx-h button { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-surface-2); color: var(--ev-text); }
.cx-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cx-g button { height: 104px; border-radius: var(--ev-r-xl); border: 1px solid var(--ev-line); background: var(--ev-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ev-text); }
.cx-g button.on { border: 2px solid var(--y); background: var(--ev-yellow-softer); }
.cx-g button.empty { background: #fafafa; opacity: .45; }
.cx-g button > span { width: 36px; height: 36px; border-radius: var(--ev-r-sm); background: var(--ev-surface-2); display: flex; align-items: center; justify-content: center; }
.cx-g .cico { width: 20px; height: 20px; }
.cx-g b { font-size: var(--ev-fs-sm); text-align: center; line-height: 1.2; }
.cx-g small { font-size: var(--ev-fs-xs); color: var(--ev-text-3); }
.cx-note { margin: 0; font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
/* search mode (design 2e-promovide) */
.pr--q { min-height: 100%; display: flex; flex-direction: column; }
.pq { padding: 16px 16px 0; display: flex; flex-direction: column; gap: 16px; line-height: normal; }
.pq-s { height: 50px; border-radius: var(--ev-r-lg); background: var(--ev-bg); border: 2px solid var(--ev-black); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--ev-text-2); box-sizing: content-box; }
.pq-s input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: var(--ev-fs-lg); color: var(--ev-text); -webkit-appearance: none; }
.pq-s input::-webkit-search-cancel-button { display: none; }
.pq-s button { font-size: var(--ev-fs-xl); color: #999; padding: 0 2px; }
.pq-c { height: 34px; padding: 0 12px; border-radius: 17px; background: var(--ev-yellow-softer); border: 1.5px solid var(--y); font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text); }
.pr--q #plist { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px; }
.pr--q .pr-list { justify-content: flex-start; }
.pr--q .pe { padding: 0 20px; }
body.pq-on .nav, body.pq-on #bbarw { display: none; }
body.pq-on .app:has(#bbarw > *) { padding-bottom: 0; }
/* 2g Signaler un mauvais prix */
.rpx { display: flex; flex-direction: column; gap: 14px; padding: 0 0 6px; }
.rpx-h { font-size: 21px; line-height: 1.2; }
.rpx-p { display: flex; gap: 10px; align-items: center; background: #f4f5f4; border-radius: 16px; padding: 10px; }
.rpx-p > span { width: 48px; height: 48px; border-radius: 12px; background: #e6e8e6; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.rpx-p img { width: 100%; height: 100%; object-fit: contain; }
.rpx-p b { font-size: 13px; display: block; }
.rpx-p small { font-size: 12px; color: #555; }
.rpx-o { height: 50px; border-radius: 14px; border: 1.5px solid #e0e2e0; background: #fff; padding: 0 14px; display: flex; align-items: center; font: inherit; font-size: 14px; font-weight: 600; color: var(--ev-text); text-align: left; cursor: pointer; }
.rpx-o.on { border: 2px solid var(--y); background: #fffbea; }
.rpx-l { font-size: 13px; font-weight: 700; }
.rpx-in { height: 50px; border-radius: 14px; border: 1.5px solid #e0e2e0; padding: 0 14px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.rpx-in input { flex: 1; border: 0; outline: 0; font: inherit; background: none; min-width: 0; }
.rpx-n { font-size: 11px; color: #666; text-align: center; }
/* 2f Fiche magasin */
.sheet.full.sheet-fm { background: #f4f5f4; padding: 0 16px 24px; }
.fm2 { display: flex; flex-direction: column; gap: 14px; }
.fm2-map { height: 170px; margin: 0 -16px; background: #e6e8e6; position: relative; }
.fm2-map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.fm2-x { position: absolute; top: calc(14px + env(safe-area-inset-top)); left: 14px; width: 42px; height: 42px; border-radius: 21px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.fm2-lg { position: absolute; bottom: -30px; left: 16px; width: 64px; height: 64px; border-radius: 32px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fm2-lg img { width: 52px; height: 52px; object-fit: contain; }
.fm2-n { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; }
.fm2-n b { font-size: 22px; }
.fm2-n span { font-size: 13px; color: #555; }
.fm2-b { display: flex; gap: 8px; }
.fm2-b > * { flex: 1; height: 44px; border-radius: 14px; border: 1.5px solid #e0e2e0; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--ev-text); display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; }
.fm2-b > .k { background: #111; color: #fff; border: 0; }
.fm2-c { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.fm2-ch b { font-size: 15px; }
.fm2-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fm2-g button { display: flex; flex-direction: column; gap: 4px; border: 0; background: none; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.fm2-g span { width: 100%; height: 80px; border-radius: 12px; background: #e6e8e6; overflow: hidden; display: flex; }
.fm2-g img { width: 100%; height: 100%; object-fit: contain; }
.fm2-g b { font-size: 11px; }
.fm2-all { height: 44px; border-radius: 14px; border: 1.5px solid #e0e2e0; background: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.fm2-f { font-size: 11px; color: #666; text-align: center; }
.rpx-go { height: 54px; border-radius: 16px; border: 0; background: #111; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; width: 100%; }
.rpx > * { width: 100%; box-sizing: border-box; }
.rpx { width: 100%; text-align: left; }
.rpx-o { flex: none; }
.rpx-in input { border: 0; height: 100%; padding: 0; box-shadow: none; border-radius: 0; }
/* 25 Oct: shop filter row, Catégories button, « Le moins cher chez » pill, Trier ▾ */
.pr-ring { width: 72px; }
.pr-ring > span { position: relative; width: 68px; height: 68px; border-radius: 34px; border: 1.5px solid #e0e2e0; box-sizing: border-box; background: #fff; overflow: visible; box-shadow: 0 4px 10px rgba(17,24,20,.05); }
.pr-ring > span.on { border: 2.5px solid #111; }
.pr-ring > span .slogo { width: 70%; height: 70%; }
.pr-ring > span i { position: absolute; right: -3px; bottom: -3px; width: 22px; height: 22px; border-radius: 11px; background: #111; color: #fff; font-size: 12px; font-style: normal; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.pr-chips .pr-catb { position: relative; padding: 0 12px; border: 0; background: var(--y); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.pr-catb svg { width: 16px; height: 16px; }
.pr-catb i { position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 5px; background: var(--ev-green-ok, #1fa856); border: 2px solid #fff; }
.pr-chips button.on { background: #111; color: #fff; border-color: #111; font-weight: 700; }
.pr-best { align-self: flex-start; height: 26px; padding: 0 4px 0 10px; border-radius: 13px; background: #e7f2ec; color: var(--g); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pr-best .pr-lg { height: 20px; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #fff; border: 0; }
.pr-sort { display: inline-flex; align-items: center; gap: 4px; }
/* 1e Recherche avant saisie */
.sheet.full.sheet-sq { background: #f4f5f4; }
.sq { display: flex; flex-direction: column; gap: 14px; }
.sq-in { height: 50px; border-radius: 16px; background: #fff; border: 2px solid #111; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.sq-in button { font-size: 18px; flex: none; }
.sq-in input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; min-width: 0; height: 100%; padding: 0; }
#gres { display: flex; flex-direction: column; gap: 8px; }
.sq-l { font-size: 12px; font-weight: 800; color: #555; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.sq-r { display: flex; gap: 8px; flex-wrap: wrap; }
.sq-r button { height: 34px; padding: 0 12px; border-radius: 17px; background: #fff; border: 1px solid #e0e2e0; font-size: 13px; font-weight: 600; }
.sq-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sq-g button { height: 96px; border-radius: 18px; background: #fff; border: 1px solid #eef0ee; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 4px; }
.sq-g span { width: 34px; height: 34px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.sq-g .cico { width: 20px; height: 20px; }
.sq-g b { font-size: 12px; text-align: center; line-height: 1.2; }
.sq-g small { font-size: 11px; color: #666; }
.sheet .sq-in input, .sheet .rpx-in input { border: 0; box-shadow: none; border-radius: 0; background: none; height: 100%; padding: 0; }
.pe-i { background: #fff3c4; box-shadow: none; }
.pe-i svg { stroke: #b38a00; }
/* 25 Oct 15:30: logo in « Le moins cher chez » = full circle, no outline */
.pr-best .pr-lg { width: 26px; height: 26px; min-width: 0; padding: 0; border-radius: 50%; overflow: hidden; background: #fff; }
.pr-best .pr-lg .slogo { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 50%; }
.pr-best { padding-right: 2px; height: 30px; border-radius: 15px; }
/* 25 Oct 15:30: ad slot sits in the list like a product card */
.pr-list > .hb7, .pr-list > .adx, .pr-list > .adw { margin: 0; }
.pr-grid + .hb7, .pr-grid + .adx { margin: 12px 0 0; }
.hb7 { height: 96px; border-radius: 20px; border: 1.5px dashed #d6d9d6; background: #fff; padding: 12px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.hb7-lg { width: 56px; height: 56px; border-radius: 14px; background: #f4f5f4; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.hb7-lg img { width: 40px; height: auto; }
.hb7-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hb7-t small { font-size: 9px; font-weight: 800; color: #888; letter-spacing: .06em; text-transform: uppercase; }
.hb7-t b { font-size: 14px; } .hb7-t span { font-size: 11px; color: #555; } .hb7-t strong { color: #111; }
.pr-list .h3-ann, .pr-grid ~ .hb7 .h3-ann { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--y); font-size: 12px; font-weight: 800; color: #111; display: inline-flex; align-items: center; flex: none; }
/* 25 Oct 15:30: product sheet = one full screen, square corners, no scrolling (the picture shrinks to make room) */
.sheet.sheet-px { top: 0; height: 100dvh; max-height: none; border-radius: 0; padding: calc(10px + var(--safe-t, 0px)) 16px 0; overflow: hidden; }
.sheet.sheet-px::before { display: none; }
.sheet.sheet-px .px { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.sheet.sheet-px .px-im { flex: 1 1 220px; height: auto; min-height: 110px; max-height: 240px; }
.sheet.sheet-px .px-row { height: 48px; }
.sheet.sheet-px .px-foot { padding-bottom: calc(14px + var(--safe-b, 0px)); }
.sheet.sheet-px .px > * { flex-shrink: 0; } .sheet.sheet-px .px > .px-im { flex-shrink: 1; }
/* 25 Oct 16:00: search = first bubble of the shop row (no long bar); grid header = search icon */
.pr-sq > span { background: #111; color: #fff; border: 0; }
.pr-sq > span svg { width: 26px; height: 26px; }
.pr-gtop { display: flex; align-items: center; justify-content: space-between; }
.pr-gq { width: 44px; height: 44px; border-radius: 22px; background: #f0f1f0; display: flex; align-items: center; justify-content: center; }
/* list ↔ gallery: a soft fade-up of the cards */
.pr-anim #plist > .pr-list > *, .pr-anim #plist > .pr-grid > * { animation: evUp .32s var(--ease) both; }
#plist > .pr-list > *:nth-child(2), #plist > .pr-grid > *:nth-child(2) { animation-delay: .03s; }
#plist > .pr-list > *:nth-child(3), #plist > .pr-grid > *:nth-child(3) { animation-delay: .06s; }
#plist > .pr-list > *:nth-child(4), #plist > .pr-grid > *:nth-child(4) { animation-delay: .09s; }
#plist > .pr-list > *:nth-child(n+5), #plist > .pr-grid > *:nth-child(n+5) { animation-delay: .12s; }
@keyframes evUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #plist > * > * { animation: none; } }
.pr-gtop { flex-direction: row; padding-top: 6px; }

/* 0.81.1 — shop logo on every card; logos never cropped */
.pr-best.pr-shop { background: var(--ev-surface-2, #f0f1f0); color: var(--ev-text, #111); padding: 0 10px 0 2px; }
.pr-ts { display: flex; align-items: center; gap: 5px; }
.pr-tlg { width: 18px; height: 18px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid #e6e8e6; flex: none; display: inline-flex; }
.pr-tlg .slogo { width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 50%; }
/* 3 Nov (design 4j): in a shop, its deals first. */
.pr-here { margin: 14px 16px 0; border-radius: 18px; background: var(--ev-yellow-soft); color: var(--ev-text); padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.pr-here-lg { width: 36px; height: 36px; border-radius: 18px; background: var(--ev-bg); flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pr-here-lg img { width: 28px; height: 28px; object-fit: contain; }
.pr-here > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pr-here b { font-size: 14px; } .pr-here span { font-size: 12px; color: var(--ev-text-2); }
.pr-here button { height: 34px; padding: 0 12px; border-radius: 17px; border: 0; background: var(--ev-bg); font: inherit; font-size: 12px; font-weight: 700; color: var(--ev-text); flex: none; }
.pr-sec { display: block; font-size: 15px; margin: 4px 0 -2px; }
/* 7 Nov: product sheet, where « Ajouter » goes (Famille / Moi), only in a household */
.px-to { display: flex; gap: 6px; justify-content: center; padding-top: 10px; }
.px-to button { height: 32px; padding: 0 14px; border: 0; border-radius: 16px; background: var(--ev-surface-2); font-size: 13px; font-weight: 700; color: var(--ev-text); }
.px-to button.on { background: var(--y); color: #111; }
.px-to button.on { background: var(--y); color: #111; }
/* 7 Nov: « Un mot de notre équipe » about product photos (maquette P3) */
.sheet-pn .pn { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 4px calc(10px + var(--safe-b, 0px)); text-align: center; }
.pn-pol { display: flex; gap: 14px; justify-content: center; margin: 6px 0 2px; }
.pn-p { position: relative; background: #fff; padding: 7px 7px 4px; border-radius: 4px; box-shadow: 0 10px 22px rgba(0,0,0,.16); width: 104px; }
.pn-p span { display: block; font-size: 13px; font-weight: 700; font-style: italic; margin: 4px 0 3px; color: #111; white-space: nowrap; }
.pn-p em { position: absolute; top: -9px; right: -9px; z-index: 1; background: var(--y); color: #111; font-style: normal; font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 8px; }
.pn-pic { height: 76px; border-radius: 2px; background: #fffbe8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pn-pic.bl .pn-jar { filter: blur(2.6px) saturate(.6); }
.pn-jar { position: relative; width: 46px; height: 58px; }
.pn-jar i { position: absolute; display: block; font-style: normal; }
.pn-jar .l { left: 9px; top: 0; width: 28px; height: 9px; border-radius: 4px; background: #c0392b; }
.pn-jar .b { left: 4px; top: 8px; width: 38px; height: 49px; border-radius: 10px; background: #f4b942; }
.pn-jar .t { left: 8px; top: 23px; width: 30px; height: 16px; border-radius: 4px; background: #fff; font-family: inherit; font-size: 6px; font-weight: 800; color: #c0392b; display: flex; align-items: center; justify-content: center; }
.sheet-pn h2 { margin: 4px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.sheet-pn h2 span { background: linear-gradient(transparent 58%, var(--y) 58%, var(--y) 90%, transparent 90%); padding: 0 3px; }
.sheet-pn p { margin: 0; font-size: var(--ev-fs-md); line-height: 1.5; color: var(--ev-text-2); max-width: 34ch; }
.pn-sent { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 6px; border-radius: 15px; background: var(--ev-surface-2); font-size: 12.5px; font-weight: 800; color: var(--ev-text); }
.pn-sent i { width: 20px; height: 20px; border-radius: 10px; background: var(--y); color: #111; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; }
.pn-go { width: 100%; height: 52px; border: 0; border-radius: 26px; background: #111; color: #fff; font-size: 16px; font-weight: 800; margin-top: 4px; }

/* 9 Nov: sponsored banner across the whole grid row */
.pr-adrow { grid-column: 1 / -1; }

/* 16 Nov: − and + keep their 32 px look, the tap area is 44 px. */
.pr-q button { position: relative; } .pr-q button::after { content: ''; position: absolute; inset: -6px -3px; }

/* 18 Nov: promo limited to some outlets (maquette « promo limitée à certains magasins ») */
.pr-c.pr-loc, .pr-t.pr-loc { background: #eef6f1; box-shadow: inset 0 0 0 1.5px #cfe5d8; }
.pr-c.pr-loc { align-items: center; padding-bottom: 16px; }
.pr-c.pr-loc .pr-im, .pr-t.pr-loc .pr-tim { background-color: #fff; }
.pr-loc-chip { align-self: flex-start; max-width: 100%; display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 3px 10px 3px 8px; border-radius: 12px; background: #fff; color: var(--g); font-size: 12px; font-weight: 700; line-height: 1.25; }
.pr-loc-chip svg { flex: none; }
.pr-t .pr-loc-chip { font-size: 11px; }
.px-only { display: flex; gap: 10px; align-items: center; background: var(--ev-surface, #f4f5f4); border-radius: 14px; padding: 12px 14px; font-size: 13px; line-height: 1.4; color: var(--ev-ink, #111); }
.px-only svg { flex: none; color: var(--g); }
.px-only small { font-size: 13px; color: #555; }

/* 18 Nov: shared loading circle (Promos + Recettes) */
.ev-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ev-ink, #111); border-top-color: var(--y); animation: evspin .8s linear infinite; }
@keyframes evspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ev-spin { animation-duration: 2s; } }
/* Panier / Liste / ticket — demo 1.0 cascade flattened (step 5). */
.pn { font-size: 14px; font-weight: 700; line-height: 1.3; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty b { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.best { color: var(--ok); font-weight: 800; font-size: 12px; }
.warn { color: var(--red); }
.chev { font-size: 24px; color: var(--mu); padding: 0 4px; }
.expw { font-size: 12px; font-weight: 700; color: #9a5b00; background: var(--butter); border-radius: 10px; padding: 4px 8px; margin-top: 6px; display: inline-block; }
.art { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); width: 190px; height: 190px; }
.art i+i { inset: 28px; background: var(--artbg,#fff); }
.art img { position: absolute; left: 50%; top: 50%; width: 92px; transform: translate(-62%,-50%); filter: drop-shadow(0 10px 12px rgba(0,0,0,.15)); }
.rcpt-art { position: relative; height: 130px; margin-bottom: 6px; }
.rcpt-art .art { right: auto; left: 50%; transform: translate(-50%,-50%); top: 50%; width: 150px; height: 150px; }
.rcpt-art .art img { transform: translate(-50%,-50%); width: 76px; }
.cut::before { left: -11px; }
.cut::after { right: -11px; }
.rcpt-body { padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.dash { border-top: 2px dashed var(--ln); margin: 4px 0; }
.rcpt h2 { font-size: 28px; font-family: var(--fd); font-weight: 900; letter-spacing: 0; }
.art i { position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,.08); }
.cut::before, .cut::after { content: ""; position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #e8e8ed; }
.under { border-color: #f0c9c9; margin-top: 14px; background: #fff4f1; }
.rcpt h2, .rcpt-tot { text-transform: none; font-family: var(--fd); }
.rcpt-top { text-align: center; padding: 22px 18px 18px; background: var(--bg); color: var(--tx); }
.rcpt-tot { font-family: var(--fd); font-size: 42px; font-weight: 800; letter-spacing: -.04em; color: var(--g); }
.cut { height: 22px; position: relative; background: linear-gradient(var(--bg) 50%,var(--card) 50%); }
.ic.s { width: 14px; height: 14px; }
.cbar small { display: block; font-size: 11px; color: var(--mu); }
.cbar b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.rcpt { border-radius: 26px; overflow: hidden; box-shadow: none; border: 0; background: var(--tile); }
@media (min-width:700px) { .cbar { max-width: 736px; } }
.bst { align-self: flex-start; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.srow { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-align: left; width: 100%; }
.srow+.srow { border-top: 1px solid #e6e6e6; }
.sic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sic .ic { width: 20px; height: 20px; color: var(--tx); }
.srow b { display: block; font-size: 15px; font-weight: 700; }
.srow small { display: block; font-size: 12px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bst.ok { background: #dff3e6; color: #1d8a4c; }
.bst.warn { background: #fff1c7; color: #9a6a00; }
.bst.over { background: #ffe1dc; color: #c63b28; }
.bs-top small { display: block; font-size: 12px; color: var(--mu); font-weight: 600; }
.bs-bar span { position: absolute; top: -24px; transform: translateX(-50%); font-size: 10px; font-weight: 800; background: var(--g); color: #fff; padding: 2px 6px; border-radius: 999px; white-space: nowrap; }
.bs-row small { display: block; font-size: 11px; color: var(--mu); }
.bs-row b { font-size: 15px; font-weight: 800; }
.cb-top { display: flex; justify-content: space-between; align-items: center; }
.cb-top small { display: block; font-size: 12px; color: var(--mu); font-weight: 600; }
.cb-top b { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--g); }
.cb-save { display: flex; flex-direction: column; align-items: flex-end; background: #1d9a5b; color: #fff; font-weight: 800; font-size: 16px; padding: 6px 12px; border-radius: 14px; }
.cb-save small { font-size: 10px; font-weight: 700; color: #fff; opacity: 1; }
.cb-shops { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
.cb-shop { background: var(--card); border-radius: 16px; padding: 10px 12px; }
.cb-sh { display: flex; align-items: center; gap: 10px; }
.cb-sh small { display: block; font-size: 11px; color: var(--mu); }
.cb-sh b { font-size: 14px; }
.cb-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cb-it { display: inline-flex; align-items: center; gap: 4px; background: var(--tile); border-radius: 999px; padding: 3px 9px 3px 4px; font-size: 12px; font-weight: 600; }
.ci { width: 20px; height: 20px; object-fit: contain; }
.lring { width: 68px; height: 68px; flex-shrink: 0; transform: rotate(-90deg); }
.lring circle { fill: none; stroke: rgba(0,0,0,.08); stroke-width: 7; }
.lring circle+circle { stroke: #34b26a; stroke-linecap: round; transition: stroke-dashoffset .4s; }
.lring text { transform: rotate(90deg); transform-origin: 32px 32px; text-anchor: middle; font-size: 15px; font-weight: 800; fill: #111; }
.lprog small { font-size: 12px; color: #555; font-weight: 700; }
.lp-sub { display: flex; gap: 12px; font-size: 12px; color: #555; margin-top: 2px; }
.lprog.all { background: linear-gradient(135deg,#dff5e6,#c9efd6); }
.lgrp { display: flex; gap: 6px; margin: 12px 0 4px; }
.lgrp button { flex: 1; height: 40px; border-radius: 12px; background: var(--tile); font-size: 13px; font-weight: 700; }
.lgrp .on { background: var(--g); color: #fff; }
.lg-h { display: flex; align-items: center; gap: 10px; padding: 6px 0 8px; border-bottom: 1px solid #e6e6e6; }
.lg-ic { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--card); font-weight: 800; }
.lg-ic img { width: 24px; height: 24px; }
.lg-n { font-size: 11px; font-weight: 800; background: var(--card); padding: 3px 8px; border-radius: 999px; color: #555; }
.lg-n.ok { background: #e1f6e9; color: #1d8a4c; }
.lrow+.lrow { border-top: 1px solid #e9e9e9; }
.lchk { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #c9c9c9; background: var(--card); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; transition: all .15s; }
.lrow.on .lchk { background: #34b26a; border-color: #34b26a; animation: lpop .25s; }
.lthumb { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.lthumb img { width: 32px; height: 32px; }
.lrow small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--mu); }
.lpromo { font-style: normal; font-weight: 800; color: #e5483a; }
.lqty { font-size: 12px; font-weight: 800; background: var(--card); padding: 3px 8px; border-radius: 999px; }
.lpr { font-size: 14px; min-width: 58px; text-align: right; }
.lrow.on { opacity: .5; }
.lrow.on .lthumb { filter: grayscale(1); }
.bs-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bs-top .bst { display: inline-block; margin-top: 4px; }
.bs-ring { width: 62px; height: 62px; flex-shrink: 0; transform: rotate(-90deg); }
.bs-ring circle { fill: none; stroke: rgba(2,70,46,.1); stroke-width: 6; }
.bs-ring circle+circle { stroke-linecap: round; transition: stroke-dashoffset .4s; }
.bs-ring text { transform: rotate(90deg); transform-origin: 28px 28px; text-anchor: middle; font-size: 13px; font-weight: 800; fill: #111; }
.bs-bar { position: relative; border-radius: 10px; background: rgba(2,70,46,.1); height: 8px; margin: 0; overflow: visible; }
.bs-bar i { display: block; height: 100%; border-radius: 10px; background: none; }
.bs-bar u { position: absolute; top: -3px; width: 2px; height: 14px; background: rgba(0,0,0,.18); border-radius: 2px; }
.bs-row { grid-template-columns: repeat(3,1fr); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.bs-row div { background: var(--card); border-radius: 12px; padding: 8px 10px; display: none; }
.bs-row span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #555; }
.bs-row span b { color: var(--tx); font-size: 13px; }
.bs-row span>i { width: 8px; height: 8px; border-radius: 50%; background: rgba(2,70,46,.15); }
.bs-sv { display: inline-block; margin: 4px 0 0 6px; background: var(--y); color: var(--tx); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.bs-sv b { font-weight: 800; }
.bs-rem { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--g); display: block; }
.scmp { display: flex; flex-direction: column; gap: 8px; }
.sc-row.top { background: #eef8f1; border-color: #34b26a; }
.sc-h { display: flex; align-items: center; gap: 12px; }
.sc-h b { display: block; font-size: 15px; }
.sc-h small { font-size: 12px; color: var(--mu); }
.sc-r { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.sc-r b { font-size: 17px; font-weight: 800; }
.sc-best { font-size: 11px; font-weight: 800; background: #34b26a; color: #fff; padding: 3px 8px; border-radius: 999px; }
.sc-diff { font-size: 12px; font-weight: 700; color: #e5483a; }
.sc-miss { font-size: 11px; font-weight: 700; color: var(--mu); background: var(--card); padding: 4px 9px; border-radius: 999px; }
.sc-row.na { opacity: .65; }
.sc-bar { height: 6px; border-radius: 6px; background: rgba(0,0,0,.06); margin-top: 10px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; border-radius: 6px; background: #c9c9c9; }
.sc-row.top .sc-bar i { background: #34b26a; }
.qty button { width: 36px; height: 36px; font-weight: 800; font-size: 17px; background: #0f3d2e; color: #fff; border-radius: 11px; }
.qty button:first-child { background: var(--card); color: var(--tx); }
.combo { background: linear-gradient(160deg,#f1f8f3 0%,#fbf8ec 100%); padding: 14px 16px; background-color: #f2601f; color: #fff; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px,transparent 1.4px); background-size: 12px 12px; border-radius: 28px; }
.combo .cb-top small { color: rgba(255,255,255,.8); }
.combo .cb-top b { color: #fff; }
.combo .cb-save { background: var(--card); color: var(--tx); }
.combo .cb-save small { color: #666; }
.combo .cb-shop { background: var(--card); color: var(--tx); border-radius: 22px; }
.combo .cb-plus { background: var(--g); color: #fff; }
.sc-row { background: var(--tile); padding: 12px 14px; border: 2px solid transparent; border-radius: 24px; }
.bstrip { background: linear-gradient(160deg,#f1f8f3 0%,#fbf8ec 100%); display: flex; flex-direction: column; margin-top: 4px; gap: 10px; padding: 14px 16px 12px; border-radius: 28px; background-color: #a8d58a; background-image: repeating-radial-gradient(circle at 100% 0,rgba(255,255,255,.25) 0 2px,transparent 2px 16px); }
.bstrip small, .bstrip .bs-row span { color: #1d3a24; }
.bstrip .bs-rem { color: #0f3d2e; }
.bstrip .bs-bar { background: rgba(255,255,255,.5); }
.bstrip .bs-ring circle { stroke: rgba(255,255,255,.55); }
.lprog { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg,#eef6f1,#fff7dc); padding: 14px; border-radius: 28px; background-color: #fbd23c; background-image: repeating-linear-gradient(135deg,rgba(255,255,255,.28) 0 6px,transparent 6px 14px); }
.lgroup { background: var(--tile); padding: 6px 12px 4px; margin-top: 10px; border-radius: 28px; }
.lrow { display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.cb-plus { align-self: center; width: 26px; height: 26px; margin: -6px 0; z-index: 1; border-radius: 50%; background: var(--g); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.cb-plus .ic.pl { width: 16px; height: 16px; }
.cbar { position: fixed; left: 50%; transform: translateX(-50%); width: calc(100% - 24px); max-width: 406px; z-index: 5; background: var(--card); border-radius: 18px; box-shadow: 0 8px 28px rgba(0,0,0,.16); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; bottom: calc(96px + env(safe-area-inset-bottom,0px)); }
.phlink { width: 100%; margin: 12px 0 4px; background: var(--card); border: 1px solid #efefea; border-radius: 18px; }
.phlink .sic .ic { width: 18px; height: 18px; color: var(--g); }
@keyframes lpop{50%{transform:scale(1.2)}}
h3 { font-family: var(--font); font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 28px 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app:has(.cbar) { padding-bottom: calc(170px + var(--safe-b)); }

/* ===== 24 Oct validated design: 4-panier, 4a, 4b, 4c, 4e ===== */
[data-tab="basket"] .app { background: var(--ev-surface); }
.bk, .ix, .tx, .wx, .nx { line-height: normal; color: var(--ev-text); }
.bk { min-height: 100%; display: flex; flex-direction: column; padding-bottom: 150px; }
.bk-top { background: var(--ev-bg); padding: 18px 16px 16px; display: flex; flex-direction: column; gap: 14px; border-radius: 0 0 var(--ev-r-sheet) var(--ev-r-sheet); }
.bk-h { display: flex; justify-content: space-between; align-items: center; }
.bk-h > div { display: flex; flex-direction: column; gap: 2px; }
.bk-h h1 { margin: 0; font-size: var(--ev-fs-title); font-weight: 800; letter-spacing: -0.02em; }
.bk-h span { font-size: var(--ev-fs-md); color: var(--ev-text-2); font-weight: 600; }
.bk-share { height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.bk-bud { display: flex; flex-direction: column; gap: 8px; }
.bk-bud > div:first-child { display: flex; justify-content: space-between; font-size: var(--ev-fs-md); }
.bk-bud > div:first-child > span { color: var(--ev-text-2); font-weight: 600; }
.bk-bud b span { color: var(--ev-text-2); font-weight: 500; }
.bk-bar { height: 6px; background: var(--ev-line); border-radius: 3px; overflow: hidden; }
.bk-bar i { display: block; height: 6px; background: var(--g); }
.bk-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.bk-best { background: var(--ev-bg); border-radius: var(--ev-r-2xl); padding: 14px 16px; display: flex; align-items: center; gap: 12px; text-align: left; box-shadow: inset 0 0 0 2px var(--y); color: var(--ev-text); }
.bk-best > div { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bk-best > div > span:first-child { font-size: var(--ev-fs-sm); font-weight: 800; color: var(--ev-text-2); letter-spacing: 0.04em; text-transform: uppercase; }
.bk-best b { font-size: var(--ev-fs-lg); } .bk-best > div > span:last-child { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.bk-best em { font-style: normal; font-size: var(--ev-fs-sm); font-weight: 700; background: var(--ev-green-soft); color: var(--g); padding: 5px 10px; border-radius: var(--ev-r-xs); white-space: nowrap; }
.bk-best i { font-style: normal; font-size: var(--ev-fs-h3); color: #999; }
.bk-g { display: flex; flex-direction: column; gap: 8px; }
.bk-gh { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.bk-gl { width: 26px; height: 26px; border-radius: 13px; background: var(--ev-bg); border: 1px solid var(--ev-border); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.bk-gl .slogo { width: 76%; height: 76%; object-fit: contain; }
.bk-gh b { font-size: var(--ev-fs-lg); flex: 1; } .bk-gh > span { font-size: var(--ev-fs-md); font-weight: 700; }
.bk-card { background: var(--ev-bg); border-radius: var(--ev-r-xl); display: flex; flex-direction: column; }
.bk-l { padding: 10px 12px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ev-line); }
.bk-l:last-child { border-bottom: 0; }
.bk-im { width: 48px; height: 48px; border-radius: var(--ev-r-sm); background: var(--ev-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.bk-im img { max-width: 86%; max-height: 86%; object-fit: contain; mix-blend-mode: multiply; } .bk-im img.is-logo { width: 74%; mix-blend-mode: normal; }
.bk-li { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-li > b { font-size: var(--ev-fs-md); } .bk-li > span { font-size: var(--ev-fs-sm); white-space: nowrap; } .bk-li s { color: var(--ev-text-3); }
.bk-q { display: flex; align-items: center; gap: 8px; background: var(--ev-surface-2); border-radius: 18px; padding: 2px; flex: none; }
.bk-q button { width: 32px; height: 32px; border-radius: 16px; background: var(--ev-bg); font-weight: 700; color: var(--ev-text); }
.bk-q button:last-child { background: var(--ev-black); color: #fff; } .bk-q b { font-size: var(--ev-fs-md); }
.bk-under { background: var(--ev-bg); border-radius: var(--ev-r-xl); padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 0 0 2px var(--ev-red); }
.bk-under > span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.bk-sg { display: flex; align-items: center; gap: 10px; font-size: var(--ev-fs-md); } .bk-sg > span { flex: 1; } .bk-sg em { font-style: normal; color: var(--g); font-weight: 700; }
.bk-sg button { height: 34px; padding: 0 12px; border-radius: 17px; background: var(--ev-black); color: #fff; font-size: var(--ev-fs-sm); font-weight: 700; }
.bk-foot { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; max-width: 430px; margin: 0 auto; background: var(--ev-bg); border-radius: 26px 26px 0 0; padding: 16px 16px calc(84px + var(--safe-b)); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 -6px 20px rgba(0,0,0,0.05); }
.bk-foot > div { display: flex; justify-content: space-between; align-items: baseline; }
.bk-foot > div > span:first-child { font-size: var(--ev-fs-base); color: var(--ev-text-2); font-weight: 600; }
.bk-foot b { font-size: 24px; } .bk-foot em { font-style: normal; font-size: var(--ev-fs-sm); font-weight: 700; color: var(--g); }
.bk-foot button, .ix-pay, .tx-1, .wx-go, .nx-go { height: var(--ev-btn-h); border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; }
.bk-empty { padding: 40px 16px; text-align: center; color: var(--ev-text-2); font-size: var(--ev-fs-base); }
body.bk-full .nav { display: none; }
/* 4a */
.sheet.sheet-wx { padding: 10px 16px calc(24px + var(--safe-b)); height: calc(100dvh - 4px); max-height: calc(100dvh - 4px); display: flex; flex-direction: column; }
.sheet.sheet-wx::before { margin: 0 auto 14px; }
.wx { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.wx-h { display: flex; justify-content: space-between; align-items: center; } .wx-h h2 { margin: 0; font-size: 21px; font-weight: 800; }
.wx-h button { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-surface-2); color: var(--ev-text); }
.wx > p { margin: 0; font-size: var(--ev-fs-md); color: var(--ev-text-2); }
.wx-o { border: 1.5px solid var(--ev-border); background: var(--ev-bg); border-radius: var(--ev-r-2xl); padding: 14px; display: flex; flex-direction: column; gap: 8px; text-align: left; color: var(--ev-text); }
.wx-o.on { border: 2px solid var(--y); background: var(--ev-yellow-softer); }
.wx-o > b { font-size: var(--ev-fs-xl); }
.wx-r { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: var(--ev-fs-md); } .wx-r > span:first-child { color: var(--ev-text-2); }
.wx-r b { font-size: var(--ev-fs-xl); } .wx-r em { font-style: normal; color: var(--ev-red); font-weight: 700; font-size: var(--ev-fs-sm); }
.wx-t { font-size: var(--ev-fs-xs); font-weight: 800; background: var(--ev-surface-2); padding: 3px 8px; border-radius: 8px; color: var(--ev-text) !important; text-transform: uppercase; }
.wx-o.on .wx-t { background: var(--y); }
.wx-c { width: 24px; height: 24px; border-radius: 12px; border: 1.5px solid var(--ev-dash); box-sizing: border-box; font-size: var(--ev-fs-sm); display: flex; align-items: center; justify-content: center; }
.wx-o.on .wx-c { background: var(--y); border: 0; }
.wx-n { font-size: var(--ev-fs-xs); color: var(--ev-text-3); } .wx-go { margin-top: auto; }
/* 4b */
.ix { min-height: 100%; box-sizing: border-box; background: var(--ev-surface); display: flex; flex-direction: column; gap: 14px; padding: 16px 16px calc(16px + var(--safe-b)); }
.ix-w { background: var(--g); color: #fff; border-radius: var(--ev-r-2xl); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.ix-lg { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; } .ix-lg .slogo { width: 78%; height: 78%; object-fit: contain; }
.ix-w > div { flex: 1; display: flex; flex-direction: column; } .ix-w b { font-size: var(--ev-fs-lg); } .ix-w span { font-size: var(--ev-fs-sm); color: #cfe3d9; }
.ix-tabs { display: flex; background: #e9ebe9; border-radius: var(--ev-r-md); padding: 4px; gap: 4px; }
.ix-tabs button { flex: 1; height: 40px; border-radius: 11px; font-size: var(--ev-fs-base); font-weight: 600; color: var(--ev-text-2); }
.ix-tabs button.on { background: var(--ev-bg); font-weight: 700; color: var(--ev-text); }
.ix-bar { height: 8px; background: #e2e5e2; border-radius: 4px; overflow: hidden; } .ix-bar i { display: block; height: 8px; background: var(--y); }
.ix-card { background: var(--ev-bg); border-radius: var(--ev-r-xl); display: flex; flex-direction: column; }
.ix-r { padding: 12px; display: flex; align-items: center; gap: 12px; text-align: left; border-bottom: 1px solid var(--ev-line); color: var(--ev-text); }
.ix-r:last-child { border-bottom: 0; }
.ix-c { width: 28px; height: 28px; border-radius: 14px; border: 2px solid var(--ev-dash); box-sizing: border-box; flex: none; display: flex; align-items: center; justify-content: center; font-size: var(--ev-fs-base); }
.ix-r.on .ix-c { background: var(--y); border: 0; }
.ix-r > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; } .ix-r > div > b, .ix-r s { font-size: var(--ev-fs-base); font-weight: 700; }
.ix-r > div > span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); } .ix-r > b { font-size: var(--ev-fs-md); }
.ix-r.on > div, .ix-r.on > b { opacity: .55; }
.ix-bud { background: var(--ev-bg); border-radius: var(--ev-r-xl); padding: 12px 14px; display: flex; justify-content: space-between; font-size: var(--ev-fs-md); } .ix-bud span { color: var(--ev-text-2); }
.ix-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.ix-pay:disabled { opacity: .4; }
.ix-add { height: 44px; font-size: var(--ev-fs-base); font-weight: 700; color: var(--ev-text-2); }
/* 4c */
.tx { min-height: 100%; box-sizing: border-box; background: var(--ev-bg); display: flex; flex-direction: column; padding: 20px 16px calc(24px + var(--safe-b)); gap: 16px; }
.tx-top { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-top: 20px; }
.tx-ok { width: 72px; height: 72px; border-radius: 36px; background: var(--y); font-size: 32px; display: flex; align-items: center; justify-content: center; }
.tx-top h1 { margin: 6px 0 0; font-size: var(--ev-fs-title); font-weight: 800; } .tx-top > span:last-child { font-size: var(--ev-fs-base); color: var(--ev-text-2); }
.tx-sv { background: var(--ev-green-soft); border-radius: var(--ev-r-2xl); padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tx-sv span:first-child { font-size: var(--ev-fs-md); font-weight: 700; color: var(--g); } .tx-sv b { font-size: 34px; color: var(--g); letter-spacing: -0.02em; } .tx-sv span:last-child { font-size: var(--ev-fs-sm); color: #335c48; }
.tx-l { border: 1px dashed var(--ev-dash); border-radius: var(--ev-r-xl); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: var(--ev-fs-md); }
.tx-l > div { display: flex; justify-content: space-between; } .tx-l > i { height: 1px; background: var(--ev-line); } .tx-tot { font-size: var(--ev-fs-lg); }
.tx-b { background: var(--ev-surface); border-radius: var(--ev-r-xl); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tx-b > div:first-child { display: flex; justify-content: space-between; font-size: var(--ev-fs-md); } .tx-b > div:first-child span { color: var(--ev-text-2); font-weight: 600; }
.tx-b .bk-bar { background: #e2e5e2; }
.tx-f { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.tx-2 { height: var(--ev-btn-h-sm); border-radius: var(--ev-r-lg); border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-lg); font-weight: 700; color: var(--ev-text); }
/* 4e */
.sheet.sheet-nx { height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 24px 20px calc(28px + var(--safe-b)); display: flex; }
.sheet.sheet-nx::before { display: none; }
.nx { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.nx-m { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.nx-i { width: 96px; height: 96px; border-radius: 30px; background: var(--ev-yellow-soft); display: flex; align-items: center; justify-content: center; }
.nx-m b { font-size: 24px; line-height: 1.2; } .nx-m span:last-child { font-size: var(--ev-fs-base); color: var(--ev-text-2); line-height: 1.5; max-width: 300px; }
.nx-no { height: 40px; font-size: var(--ev-fs-base); font-weight: 700; color: var(--ev-text-2); }
/* 4f Au-dessus du budget */
.bk-ov, .bk-pe { width: 100%; display: flex; align-items: center; gap: 10px; border-radius: 18px; padding: 12px 14px; margin: 0 0 12px; text-align: left; font: inherit; color: var(--ev-text); cursor: pointer; }
.bk-ov { background: #fde8e7; }
.bk-ov > span, .bk-pe > span { width: 28px; height: 28px; border-radius: 14px; background: #b42318; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.bk-ov b { flex: 1; font-size: 14px; }
.bk-ov em { font-style: normal; font-size: 12px; font-weight: 800; color: #b42318; }
.bk-ov i { font-style: normal; font-size: 20px; color: #b42318; }
.ov { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.ov-h { display: flex; justify-content: space-between; align-items: center; }
.ov-h b { font-size: 21px; line-height: 1.2; }
.ov-h span { font-size: 12px; font-weight: 800; background: #fde8e7; color: #b42318; padding: 5px 9px; border-radius: 9px; }
.ov > p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }
.ov-r { border-radius: 18px; border: 1px solid #eef0ee; padding: 10px; display: flex; gap: 10px; align-items: center; }
.ov-r > span { width: 48px; height: 48px; border-radius: 12px; background: #e6e8e6; flex: none; overflow: hidden; display: flex; }
.ov-r > span img { width: 100%; height: 100%; object-fit: contain; }
.ov-r > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-r s { font-size: 12px; color: #666; }
.ov-r > div:nth-child(2) b { font-size: 13px; }
.ov-a { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ov-a b { font-size: 12px; color: var(--g); }
.ov-a button { height: 30px; padding: 0 12px; border-radius: 15px; background: #111; color: #fff; font-size: 12px; font-weight: 700; }
.ov-go { height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; }
.ov-keep { height: 40px; font-size: 14px; font-weight: 700; color: #555; }
/* 4g promos finies avant le jour des courses */
.bk-pe { background: #fff6cc; align-items: flex-start; }
.bk-pe > span { width: 32px; height: 32px; border-radius: 16px; background: var(--y); color: var(--ev-text); }
.bk-pe div { display: flex; flex-direction: column; gap: 4px; }
.bk-pe b { font-size: 14px; }
.bk-pe small { font-size: 13px; color: #4a3d00; line-height: 1.4; }
.pf4-w { display: flex; flex-direction: column; gap: 14px; flex: 1 0 auto; min-height: 0; }
.pf4-w .bk-pe { margin: 0; cursor: default; }
.pf4-c { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.pf4-r { display: flex; gap: 10px; align-items: center; }
.pf4-r > span { width: 52px; height: 52px; border-radius: 12px; background: #e6e8e6; flex: none; overflow: hidden; display: flex; }
.pf4-r > span img { width: 100%; height: 100%; object-fit: contain; }
.pf4-r div { flex: 1; display: flex; flex-direction: column; }
.pf4-r div b { font-size: 13px; }
.pf4-r small { font-size: 12px; font-weight: 700; color: #b42318; }
.pf4-r > b { font-size: 14px; }
.pf4-days { display: flex; gap: 6px; flex-wrap: wrap; }
.pf4-days button { height: 38px; padding: 0 12px; border-radius: 19px; border: 1.5px solid #e0e2e0; background: #fff; font-weight: 700; text-transform: capitalize; }
.pf4-days button.on { background: #111; color: #fff; border-color: #111; }
.pf4-b { display: flex; gap: 8px; margin-top: auto; }
.pf4-b button { flex: 1; height: 50px; border-radius: 16px; border: 1.5px solid #e0e2e0; background: #fff; font-size: 14px; font-weight: 700; }
.pf4-b button.k { border: 0; background: #111; color: #fff; }
/* 25 Oct 16:00: in-store list — creative welcome banner, instant tick with an animated line through */
.ix-w { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--g) 0%, #0b6b45 60%, #13804f 100%); padding: 18px 16px; border-radius: 24px; box-shadow: 0 12px 28px rgba(2,70,46,.25); animation: evUp .4s var(--ease) both; }
.ix-w1, .ix-w2 { position: absolute; border-radius: 50%; pointer-events: none; }
.ix-w1 { width: 150px; height: 150px; right: -40px; top: -60px; background: rgba(254,199,0,.22); }
.ix-w2 { width: 90px; height: 90px; right: 50px; bottom: -50px; background: rgba(255,255,255,.08); }
.ix-w > * { position: relative; }
.ix-w .ix-lg { width: 58px; height: 58px; border-radius: 50%; padding: 0; background: #fff; box-shadow: 0 0 0 3px var(--y); }
.ix-w .ix-lg .slogo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 0; }
.ix-w small { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--y); }
.ix-w b { font-size: 18px; line-height: 1.2; }
.ix-card { border-radius: 22px; overflow: hidden; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.ix-r { transition: background-color .2s ease; }
.ix-r:active { background: #f6faf8; }
.ix-c { transition: transform .18s var(--ease), background-color .18s ease; }
.ix-r.on .ix-c { transform: scale(1.08); }
.ix-r > div > b, .ix-r > div > s { position: relative; align-self: flex-start; text-decoration: none; }
.ix-r > div > b::after, .ix-r > div > s::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px; border-radius: 1px; background: #111; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.ix-r.on > div > b::after, .ix-r.on > div > s::after { transform: scaleX(1); }
.ix-bar { height: 8px; border-radius: 4px; background: #e6e8e6; overflow: hidden; } .ix-bar i { display: block; height: 100%; background: var(--y); border-radius: 4px; transition: width .35s var(--ease); }
@keyframes evUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* 25 Oct 16:00: empty basket */
.bke { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px 24px; animation: evUp .4s var(--ease) both; }
.bke-i { width: 120px; height: 120px; border-radius: 60px; background: #fff3c4; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; animation: bkeBob 3s ease-in-out infinite; }
.bke-i svg { width: 64px; height: 64px; fill: none; stroke: #111; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bke b { font-size: 22px; } .bke > span { font-size: 14px; color: #555; line-height: 1.5; max-width: 280px; }
.bke-go { margin-top: 10px; height: 52px; padding: 0 28px; border-radius: 16px; background: #111; color: #fff; font-size: 15px; font-weight: 700; }
@keyframes bkeBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .bke-i { animation: none; } }

/* 25 Oct: « Vous êtes en magasin » card — circles really behind (they were pushing the text right), logo + title, 3 figures */
.ix-w { display: block; padding: 18px; }
.ix-w > .ix-w1, .ix-w > .ix-w2 { position: absolute; }
.ix-w1 { width: 190px; height: 190px; right: -60px; top: -80px; background: radial-gradient(circle, rgba(254,199,0,.28), rgba(254,199,0,0) 70%); }
.ix-w2 { width: 120px; height: 120px; left: -40px; bottom: -60px; background: rgba(255,255,255,.07); }
.ix-w > .ix-h { display: flex; flex-direction: row; align-items: center; gap: 14px; }
.ix-h > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ix-w .ix-h small { display: inline-flex; align-items: center; gap: 6px; }
.ix-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 0 rgba(254,199,0,.6); animation: ixPulse 1.8s infinite; }
@keyframes ixPulse { 70% { box-shadow: 0 0 0 7px rgba(254,199,0,0); } 100% { box-shadow: 0 0 0 0 rgba(254,199,0,0); } }
.ix-w .ix-h b { font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.ix-w > .ix-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-radius: 16px; background: rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.ix-st > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0; }
.ix-st > div + div { border-left: 1px solid rgba(255,255,255,.14); }
.ix-w .ix-st b { font-size: 16px; color: #fff; white-space: nowrap; }
.ix-w .ix-st span { font-size: 11px; color: #cfe3d9; }
@media (prefers-reduced-motion: reduce) { .ix-dot { animation: none; } }

/* 6 Nov: items not found nearby */
.bk-g-none .bk-gh b { font-size: var(--ev-fs-sm); font-weight: 600; color: var(--ev-text-3); }
.bk-g-none .bk-card { opacity: .75; }
.bk-go2 { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; margin-left: 6px; border-radius: 999px; background: #111; color: #fff; font-size: 12px; font-weight: 700; vertical-align: middle; }
/* 6 Nov 20:42: « Moins cher chez X » under a line, one tap moves the item there */
.bk-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-top: 4px; font-size: 12.5px; color: var(--ev-text-3); }
.bk-ch em { font-style: normal; font-weight: 700; color: var(--g); }
.bk-ch .bk-go2 { margin-left: 4px; }
.bk-go2.ghost { background: transparent; color: var(--ev-text); border: 1.5px solid var(--ev-border); margin-left: 0; }
/* 7 Nov: Famille | Moi, Vider, move a line */
.bk-h > .bk-hb { flex-direction: row; align-items: center; gap: 8px; flex: none; }
.bk-emp { height: 40px; padding: 0 14px; border-radius: 20px; border: 0; background: var(--ev-surface-2); font-size: 13px; font-weight: 700; color: var(--ev-text); }
.bk-lock { font-size: 11.5px; font-weight: 700; color: var(--ev-text-3); background: var(--ev-surface-2); border-radius: 14px; padding: 6px 10px; }
.bk-seg { display: flex; margin: 0 16px 10px; background: var(--ev-surface-2); border-radius: 14px; padding: 3px; }
.bk-seg button { flex: 1; height: 38px; border: 0; border-radius: 11px; background: transparent; font-size: 14px; font-weight: 800; color: var(--ev-text-2); }
.bk-seg button.on { background: #111; color: #fff; }
.bk-seg em { font-style: normal; font-weight: 600; opacity: .7; }
.bk-mv { align-self: center; flex: none; height: 28px; padding: 0 9px; margin-right: 6px; border: 0; border-radius: 10px; background: var(--ev-surface-2); font-size: 11.5px; font-weight: 700; color: var(--ev-text); white-space: nowrap; }

/* 8 Nov (Mervyn): recipe groups, « Retirer », split offer */
.bk-sec { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--ev-mute, #6e6e73); margin: 6px 4px -2px; }
.bk-rx .bk-gh > span { font-size: 12.5px; font-weight: 600; color: var(--ev-mute, #6e6e73); }
.bk-rxrm { border: 1px solid #e2e2e2; background: #fff; border-radius: 999px; padding: 6px 12px; font: 700 12.5px var(--ev-font, 'Plus Jakarta Sans'); color: #141513; min-height: 32px; }
.bk-split { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1.5px dashed #d6d6d6; background: #fafafa; border-radius: 18px; padding: 12px 14px; font: inherit; color: inherit; }
.bk-split div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .bk-split b { font-size: 14px; } .bk-split span { font-size: 12.5px; color: #6e6e73; }
.bk-split em { font-style: normal; font-weight: 800; color: var(--g); }
.bk-split.on { border-style: solid; background: #fff; }

/* 8 Nov: one household basket */
.bk-house { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; margin: 0 16px 12px; }
.bk-house b { display: block; font-size: 14px; }
.bk-house span { display: block; font-size: 12px; color: #6e6e73; }
.bk-house .ic { width: 22px; height: 22px; flex: none; }
.bk-by { font-style: normal; font-size: 10.5px; font-weight: 800; background: #fff5cc; color: #141513; border-radius: 6px; padding: 2px 6px; margin-left: 4px; vertical-align: 1px; }
.ix-sub { display: block; font-size: 12.5px; color: rgba(255,255,255,.8); margin-top: 2px; }

/* 16 Nov: − and + keep their 32 px look, the tap area is 44 px. */
.bk-q button { position: relative; } .bk-q button::after { content: ''; position: absolute; inset: -6px -3px; }
/* Recettes, page recette, Mon menu — demo 1.0 cascade flattened (step 6). */
.big small { display: block; font-size: 13px; font-weight: 700; color: var(--mu); margin-bottom: 2px; }
.sel b { display: block; margin: 4px 0 2px; font-size: 19px; line-height: 1.15; font-family: var(--fd); font-weight: 900; letter-spacing: 0; }
.sel b, .big b { text-transform: none; font-family: var(--fd); }
.big b { display: inline-block; line-height: 1; color: var(--g); font-variant-numeric: tabular-nums; background: linear-gradient(transparent 62%,var(--butter) 62%,var(--butter) 92%,transparent 92%); padding: 0 4px; margin-left: -4px; font-family: var(--fd); font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.add, nav button.on { background: var(--g); color: #fff; }
.sel { border-radius: var(--r); padding: 16px; min-width: 226px; max-width: 226px; display: flex; flex-direction: column; box-shadow: none; border: 0; background: var(--tile); }
.rcp { margin: -6px -20px 0; position: relative; }
.rcp-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 3; }
.rb { width: 42px; height: 42px; border-radius: 14px; background: var(--card); font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.12); color: var(--g); }
.rb.on { color: #c9406f; }
.rcp-in { position: relative; margin-top: -28px; background: var(--bg,#fdfbf4); border-radius: 30px 30px 0 0; padding: 10px 20px 30px; }
.grab { display: block; width: 44px; height: 5px; border-radius: 9px; background: #ddd5c2; margin: 0 auto 12px; }
.rcp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rcp-h h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.rcp-t { flex-shrink: 0; font-size: 13px; color: var(--mu); font-weight: 700; }
.rcp-d { color: var(--mu); font-size: 14px; line-height: 1.45; margin-top: 6px; }
.rinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.rinfo i { font-style: normal; width: 28px; height: 28px; border-radius: 10px; background: #e3f4ea; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rq { margin-left: auto; display: flex; gap: 4px; }
.rq button { width: 24px; height: 24px; border-radius: 8px; background: #e3f4ea; color: var(--g); font-weight: 800; }
.rtabs { display: flex; background: #efeadb; border-radius: 18px; padding: 4px; margin: 16px 0 12px; }
.rtabs button { flex: 1; padding: 11px; border-radius: 14px; font-weight: 800; color: var(--mu); }
.rtabs button.on { background: var(--g); color: #fff; }
.rih { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 8px; }
.rih b { font-size: 18px; display: block; }
.rih small { color: var(--mu); font-size: 12px; }
.link { color: var(--g); font-weight: 800; font-size: 13px; text-decoration: underline; }
.ri { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--ln); border-radius: 18px; padding: 10px; margin-bottom: 8px; }
.ri-i { width: 52px; height: 52px; border-radius: 14px; background: #f5f0e3; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ri-i img { width: 42px; height: 42px; object-fit: contain; }
.ri b { font-size: 14px; display: block; line-height: 1.2; }
.ri small { font-size: 11.5px; color: var(--mu); display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.ri small em { font-style: normal; color: #1d8a4c; font-weight: 800; }
.rq2 { display: flex; align-items: center; gap: 8px; }
.rq2 button { width: 28px; height: 28px; border-radius: 9px; border: 1.5px solid #bfe0cc; color: var(--g); font-weight: 800; }
.rq2 b { min-width: 14px; text-align: center; }
.rbtn { margin-top: 10px; }
.rsteps { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.rsteps li::marker { color: var(--g); font-weight: 800; }
.rbas { margin-top: 12px; font-size: 13px; color: var(--mu); background: var(--card); border-radius: 14px; padding: 10px 12px; }
.rh3 { font-size: 18px; margin: 20px 0 10px; }
.rau { display: flex; align-items: center; gap: 12px; }
.rau b { display: block; font-size: 15px; }
.rau small { font-size: 12px; color: var(--mu); }
.rfol { border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 13px; background: var(--g); color: #fff; }
.rfol.on { background: #e3f4ea; color: var(--g); }
.rfol.big { width: 100%; padding: 13px; font-size: 15px; }
.rinfo .rl { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.rinfo .rl small { font-size: 11px; color: var(--mu); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.rinfo>span:first-child, .rinfo>span:last-child { grid-column: 1/-1; }
.rhead { display: flex; align-items: center; gap: 10px; }
.rh-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rh-i { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--tx); flex-shrink: 0; font-size: 24px; font-weight: 700; }
.rpin { min-width: 0; position: relative; border-radius: 24px; overflow: hidden; background: var(--rb); box-shadow: 0 8px 18px rgba(0,0,0,.08); cursor: pointer; }
.rpin-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rhead h1 { flex: 1; min-width: 0; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 30px; }
.rinfo>span { display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--ln); border-radius: 16px; padding: 9px 10px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: 12px; min-height: 52px; white-space: normal; line-height: 1.2; }
.pgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.pcol { gap: 12px; min-width: 0; display: flex; flex-direction: column; }
.pcol>.rpin:last-child { flex: 1 0 auto; }
.rp2-img { position: relative; margin: 6px 6px 0; border-radius: 17px; overflow: hidden; background: var(--rb); flex-shrink: 0; }
.rp2-img .rpin-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp2-av { position: absolute; left: 8px; top: 8px; z-index: 2; }
.rp2-ht { position: absolute; right: 8px; top: 8px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.rp2-ht svg { width: 17px; height: 17px; fill: none; stroke: #e5383b; stroke-width: 2; }
.rp2-ht.on svg { fill: #e5383b; }
.rp2-tag { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: var(--card); border-radius: 999px; padding: 3px 8px; font-size: 12px; }
.rp2-t { padding: 9px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.rp2-t b { font-size: 15px; font-weight: 700; color: var(--tx); line-height: 1.2; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp2-t small { font-size: 12px; color: #6b6b66; font-weight: 600; }
.pcol>.rpin.rp2:last-child .rp2-img { flex: 1 0 auto; } /* grow, never below its own height (flex:1 collapsed the photo to 0) */
.rp2-st { display: inline-block; align-self: flex-start; width: fit-content; margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: var(--card); font-size: 11px; font-weight: 700; }
.rp2-st.rejected { color: var(--red, #d33); }
.rp2-note { display: block; margin-top: 3px; font-size: 11px; color: var(--red, #d33); }
.spoon { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; vertical-align: -3px; margin-left: 4px; flex-shrink: 0; }
.spoon svg { width: 12px; height: 12px; stroke-width: 3.2; }
.spoon.silver { background: linear-gradient(135deg,#ffffff,#c9d0d8 55%,#8c96a1); box-shadow: 0 0 0 1.5px #fff,0 2px 6px rgba(100,110,120,.3); }
.spoon.silver svg { fill: #4b5560; stroke: #4b5560; }
.rp2 { height: auto; background: var(--rb); border-radius: 22px; box-shadow: none; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.rp2:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { nav button.on svg { animation: none; } }
@media (prefers-reduced-motion: reduce) { .rp2 { transition: none; } }
.add { border-radius: 999px; font-size: 22px; font-weight: 700; flex-shrink: 0; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; width: 34px; height: 34px; }
.add .ic.pl { width: 17px; height: 17px; }
.rh-i.add { background: var(--g); color: var(--y); display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
nav button.on { background: var(--tile); color: var(--g); }
nav button.on svg { animation: navPop .35s cubic-bezier(.3,1.6,.5,1); stroke-width: 2.4; }
.rsp3 { min-height: 212px; height: 212px; flex: 0 0 212px; border-radius: 24px; margin: 0; }
.mpv h2 { margin: 0; }
.mp-sub { font-size: 13px; margin: 2px 0 0; }
.mp-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.mp-nav b { font-size: 15px; font-weight: 800; text-align: center; }
.mp-ar { width: 40px; height: 40px; border-radius: 50%; background: #f1f1ee; font-size: 18px; font-weight: 800; color: var(--tx); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mp-ar:disabled { opacity: .3; }
.mp-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mp-r.gap { background: #fffaf0; border: 1px dashed #e9d9a8; cursor: default; }
.mp-dl { flex-shrink: 0; width: 46px; font-size: 11.5px; font-weight: 800; color: var(--g); line-height: 1.2; }
.mp-th { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; background: #fff4cc; display: flex; align-items: center; justify-content: center; }
.mp-th img { width: 80%; height: 80%; object-fit: contain; }
.mp-th img.ph { width: 100%; height: 100%; object-fit: cover; }
.mp-n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mp-n b { font-size: 14px; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .05em; }
.mp-n small { font-size: 12px; color: #6b6b6b; font-weight: 600; }
.mp-n em, .mp-pr { font-style: normal; color: #e5483a; font-weight: 800; }
.mp-sw { flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--g); background: var(--card); border: 1px solid #dfe6e1; border-radius: 999px; padding: 7px 11px; }
.mp-st { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.mp-st b { font-size: 14px; }
.mp-st small { font-size: 11px; font-weight: 700; }
.mp-wt { color: var(--g); }
.mp-dimg img { height: 70%; object-fit: contain; }
.mp-dimg img.ph { width: 100%; height: 100%; object-fit: cover; }
.mp-dt { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.mp-dt>b { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; padding-bottom: .05em; }
.mp-dbtn { display: flex; gap: 8px; margin-top: 6px; }
.mp-redo { display: block; margin: 16px auto 0; font-size: 14px; font-weight: 800; color: var(--g); text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px; }
.nw { white-space: nowrap; }
.mpv { padding-bottom: 4px; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; }
.mp-head { flex-shrink: 0; }
.mp-seg { margin: 12px 0 10px; }
.mp-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -18px; padding: 2px 18px 16px; }
.mp-foot { bottom: -1px; flex-direction: column; gap: 8px; margin-top: 8px; z-index: 3; position: static; flex-shrink: 0; background: var(--card); margin: 0 -18px; padding: 10px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #efefea; display: block; }
.mp-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px 12px; padding: 2px 18px 4px; scroll-behavior: smooth; }
.mp-days::-webkit-scrollbar { display: none; }
.mp-dp { flex: 0 0 46px; height: 62px; border-radius: 16px; background: #f3f3f0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.mp-dp small { font-size: 10.5px; font-weight: 700; color: #6b6b6b; }
.mp-dp b { font-size: 17px; font-weight: 800; }
.mp-dp i { width: 5px; height: 5px; border-radius: 5px; background: var(--g); margin-top: 2px; }
.mp-dp.on { background: var(--g); color: #fff; }
.mp-dp.on small { color: rgba(255,255,255,.8); }
.mp-dp.on i { background: var(--y); }
.mp-day { border-radius: 24px; overflow: hidden; background: #f6f6f3; }
.mp-dimg { background: #fff4cc; display: flex; align-items: center; justify-content: center; position: relative; height: 150px; }
.mp-dimg em { position: absolute; left: 12px; top: 12px; font-style: normal; font-size: 12px; font-weight: 800; background: var(--y); color: var(--g); border-radius: 999px; padding: 4px 10px; }
.mp-h { font-size: 17px; font-weight: 800; margin: 18px 0 8px; }
.mp-ing { display: flex; flex-direction: column; background: #f6f6f3; border-radius: 18px; padding: 4px 12px; }
.mp-i { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.mp-i+.mp-i { border-top: 1px solid #ebebe6; }
.mp-ii { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--card); display: flex; align-items: center; justify-content: center; }
.mp-ii img { width: 84%; height: 84%; object-fit: contain; }
.mp-ip { flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.mp-ip b { font-size: 13.5px; }
.mp-home { flex-shrink: 0; font-size: 11.5px; font-weight: 700; color: #1d8a4c; }
.mp-r { display: flex; align-items: center; gap: 10px; background: #f6f6f3; border-radius: 16px; cursor: pointer; text-align: left; padding: 8px 10px 8px 8px; }
.mp-r .mp-th { width: 60px; height: 60px; border-radius: 14px; }
.mp-r .mp-dl { width: auto; font-size: 11.5px; font-weight: 800; color: var(--g); text-transform: none; }
.mp-r.today { background: #e6f4ea; box-shadow: inset 0 0 0 2px var(--g); }
.mp-r.today .mp-dl { color: var(--g); }
.mp-r.gap .mp-th { background: transparent; border: 1.5px dashed #e0c46a; }
.mp-cal { background: #f6f6f3; border-radius: 20px; padding: 10px; margin-top: 12px; }
.mp-wd, .mp-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.mp-wd small { text-align: center; font-size: 10.5px; font-weight: 700; color: #6b6b6b; padding-bottom: 4px; }
.mp-c { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff4cc; display: flex; align-items: center; justify-content: center; }
.mp-c img { width: 70%; height: 70%; object-fit: contain; }
.mp-c img.ph { width: 100%; height: 100%; object-fit: cover; }
.mp-c span { position: absolute; left: 3px; top: 3px; font-size: 10px; font-weight: 800; background: rgba(255,255,255,.92); color: #14201b; border-radius: 6px; padding: 0 4px; line-height: 15px; }
.mp-c.today { box-shadow: 0 0 0 2px var(--g); }
.mp-wks { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.mp-wr { display: flex; align-items: center; gap: 8px; background: #f6f6f3; border-radius: 14px; padding: 12px 14px; text-align: left; }
.mp-wr i { font-style: normal; color: #9a9a9a; font-weight: 800; }
.mp-sum { border-radius: 20px; display: flex; flex-direction: column; position: relative; overflow: hidden; background: #e6f4ea; color: #0f3d24; gap: 10px; padding: 16px; }
.mp-s1 { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; justify-content: flex-start; }
.mp-s1 small { font-weight: 700; opacity: .75; font-size: 12.5px; }
.mp-s1 b { font-weight: 800; letter-spacing: -.02em; font-size: 30px; color: var(--g); }
.mp-s1 em { font-style: normal; font-size: 13px; font-weight: 700; margin-left: 4px; color: #0f3d24; opacity: .6; }
.mp-bar { border-radius: 9px; overflow: hidden; background: rgba(2,70,46,.12); height: 10px; margin-right: 84px; }
.mp-bar i { display: block; height: 100%; border-radius: 9px; background: var(--g); }
.mp-s2 { display: flex; font-size: 12.5px; font-weight: 700; justify-content: flex-start; gap: 6px; flex-wrap: wrap; opacity: 1; align-items: center; margin-right: 84px; }
.mp-pl { background: var(--card); color: var(--g); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 5px 10px; }
.mp-pl.mp-plsv { background: var(--y); color: var(--g); }
.mp-pct { font-size: 12px; font-weight: 800; color: #0f3d24; opacity: .7; }
.mp-slg { position: absolute; right: 12px; bottom: 12px; width: 72px; }
.mp-slg svg { width: 100%; height: auto; }
.mp-dc { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.mp-dc h2 { margin: 0; font-size: 26px; }
.mp-ck { width: 72px; height: 72px; border-radius: 50%; background: #e6f4ea; display: flex; align-items: center; justify-content: center; animation: mlUp .45s cubic-bezier(.2,.8,.2,1); }
.mp-ck svg { width: 36px; height: 36px; fill: none; stroke: var(--g); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mp-dn { display: flex; gap: 8px; width: 100%; max-width: 340px; }
.mp-dn div { flex: 1; background: #e6f4ea; border-radius: 16px; padding: 10px 6px; display: flex; flex-direction: column; gap: 2px; }
.mp-dn b { font-size: 17px; font-weight: 800; color: var(--g); }
.mp-dn small { font-size: 11.5px; font-weight: 700; color: #3d5a4a; }
.mp-later { display: block; width: 100%; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--g); padding: 10px; }
@keyframes navPop{from{transform:scale(.8)}to{transform:scale(1)}}
@keyframes mlUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

.sheet:has(.mpv) { height: 92dvh; max-height: 92dvh; overflow: hidden; padding-bottom: 0; display: flex; flex-direction: column; }
.rsteps { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.rsteps li::marker { color: var(--g); font-weight: 800; }
.rp2-ht svg { width: 17px; height: 17px; fill: none; stroke: #e5383b; stroke-width: 2; }
.rp2-ht.on svg { fill: #e5383b; }
.rsrch { margin: 4px 0 12px; }
.ri.basic small em { font-style: normal; color: #1d8a4c; font-weight: 700; }

/* Pinterest card without photo: logo smaller, like demo 1.0 */
.rp2-img .rart.rlg .plate.rlg-p { width: 58%; }

/* Recipe page full screen (demo 1.0 .rfull): no white band / handle above the picture, nothing moves when scrolling back up */
.sheet.rfull { top: 0; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 0 0 env(safe-area-inset-bottom); overscroll-behavior: none; }
.sheet.rfull::before { display: none; }
.sheet.rfull .rcp { margin: 0; }
.sheet.rfull .rcp-top { top: calc(env(safe-area-inset-top, 0px) + 14px); }

/* ===== 24 Oct validated design: 3-recettes, 3a-recette ===== */
[data-tab="recipes"] .app { background: var(--ev-surface); }
.rx, .ry { line-height: normal; color: var(--ev-text); }
.rx { padding-bottom: 110px; }
.rx-top { background: var(--ev-bg); padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 12px; border-radius: 0 0 var(--ev-r-sheet) var(--ev-r-sheet); }
.rx-h { display: flex; justify-content: space-between; align-items: center; }
.rx-h h1 { margin: 0; font-size: var(--ev-fs-title); font-weight: 800; letter-spacing: -0.02em; }
.rx-new { height: 40px; padding: 0 14px; border-radius: 20px; background: var(--ev-black); color: #fff; font-size: var(--ev-fs-md); font-weight: 700; }
.rx-s { height: 48px; border-radius: var(--ev-r-lg); background: var(--ev-surface-2); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--ev-text-2); }
.rx-s .ic { width: 18px; height: 18px; }
.rx-s input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: var(--ev-fs-lg); color: var(--ev-text); -webkit-appearance: none; }
.rx-chips { display: flex; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.rx-chips::-webkit-scrollbar { display: none; }
.rx-chips button { flex: none; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 600; color: var(--ev-text); }
.rx-chips button.on { background: var(--ev-black); border-color: var(--ev-black); color: #fff; font-weight: 700; }
.rx-mw { padding: 14px 16px 0; }
.rx-m { border-radius: var(--ev-r-2xl); background: var(--ev-bg); padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.rx-m > div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .rx-m b { font-size: var(--ev-fs-base); } .rx-m span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.rx-m button { height: 40px; padding: 0 14px; border-radius: var(--ev-r-md); background: var(--y); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.rx-body { padding: 14px 16px; }
.rx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.rx-grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rx-c { background: var(--ev-bg); border-radius: var(--ev-r-xl); overflow: hidden; cursor: pointer; }
.rx-ph { background: #e6e8e6; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rx-ph img { width: 100%; height: 100%; object-fit: cover; } .rx-ph img.is-logo { width: 60%; height: auto; object-fit: contain; }
.rx-ht { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.14); color: var(--ev-text); display: flex; align-items: center; justify-content: center; }
.rx-ht svg, .rx-hb2 svg { fill: none; stroke: currentColor; stroke-width: 2; transition: fill .15s; }
.rx-ht.on, .rx-hb2.on { color: var(--ev-badge); } .rx-ht.on svg, .rx-hb2.on svg { fill: currentColor; }
.rx-hb2 { display: flex; align-items: center; justify-content: center; } .rx-hb2 svg { width: 22px; height: 22px; }
@keyframes rxpop { 0% { transform: scale(1); } 35% { transform: scale(1.3); } 100% { transform: scale(1); } }
.rx-ht.pop svg, .rx-hb2.pop svg { animation: rxpop .35s ease-out; }
.rx-i { padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.rx-i > b { font-size: var(--ev-fs-md); } .rx-i > span { font-size: var(--ev-fs-xs); color: var(--ev-text-2); } .rx-i b.g { color: var(--g); }
.rx-a { display: flex; align-items: center; gap: 5px; }
.rx-av { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; color: var(--ev-text); }
.sheet.sheet-ry { padding: 0; }
.sheet.sheet-ry::before { display: none; }
.ry { flex: 1 0 auto; min-height: 0; display: flex; flex-direction: column; background: var(--ev-bg); }
.ry-ph { height: 280px; background: #e6e8e6; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.ry-ph > img { width: 100%; height: 100%; object-fit: cover; } .ry-ph > img.is-logo { width: 46%; height: auto; object-fit: contain; }
.ry-b { position: absolute; top: calc(14px + var(--safe-t, 0px)); width: 42px; height: 42px; border-radius: 21px; background: var(--ev-bg); font-size: var(--ev-fs-h3); color: var(--ev-text); }
.ry-b.l { left: 14px; } .ry-b.r { right: 14px; font-size: var(--ev-fs-xl); } .ry-b.on { color: var(--ev-badge); }
.ry-in { margin-top: -24px; background: var(--ev-bg); border-radius: 24px 24px 0 0; position: relative; padding: 20px 16px calc(20px + var(--safe-b)); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ry-t { display: flex; flex-direction: column; gap: 8px; } .ry-t h1 { margin: 0; font-size: 24px; font-weight: 800; }
.ry-au { display: flex; align-items: center; gap: 8px; font-size: var(--ev-fs-md); }
/* 16 Nov: photo + @name + badge = one 44 px tap target that opens the creator profile. */
.ry-who { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -10px 0; padding-right: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ry-au button { height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text); }
.ry-st { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ry-st > div { background: var(--ev-surface); border-radius: var(--ev-r-md); padding: 10px; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.ry-st b { font-size: var(--ev-fs-lg); } .ry-st span { font-size: var(--ev-fs-xs); color: var(--ev-text-2); }
.ry-st > div.g { background: var(--ev-green-soft); } .ry-st > div.g b { color: var(--g); }
.ry-p { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: var(--ev-r-lg); border: 1px solid var(--ev-line); }
.ry-p > span { font-size: var(--ev-fs-base); font-weight: 600; } .ry-p > div { display: flex; align-items: center; gap: 12px; }
.ry-p button { width: 36px; height: 36px; border-radius: 18px; background: var(--ev-surface-2); font-size: var(--ev-fs-h3); font-weight: 700; color: var(--ev-text); }
.ry-p button:last-child { background: var(--ev-black); color: #fff; }
.ry-tabs { display: flex; background: var(--ev-surface-2); border-radius: var(--ev-r-md); padding: 4px; gap: 4px; }
.ry-tabs button { flex: 1; height: 40px; border-radius: 11px; font-size: var(--ev-fs-base); font-weight: 600; color: var(--ev-text-2); }
.ry-tabs button.on { background: var(--ev-bg); font-weight: 700; color: var(--ev-text); }
.ry-l { display: flex; flex-direction: column; }
.ry-r { height: 60px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ev-line); }
.ry-r:last-child { border-bottom: 0; } .ry-r.home { opacity: .6; }
.ry-im { width: 40px; height: 40px; border-radius: var(--ev-r-xs); background: var(--ev-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.ry-im img { max-width: 86%; max-height: 86%; object-fit: contain; } .ry-im img.is-logo { width: 70%; }
.ry-r > div { flex: 1; display: flex; flex-direction: column; min-width: 0; } .ry-r > div > b { font-size: var(--ev-fs-base); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ry-r > div > span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); display: flex; align-items: center; gap: 4px; } .ry-r > div > span.g { color: var(--g); font-weight: 700; }
.ry-r .slogo { width: 14px; height: 14px; object-fit: contain; } .ry-r > b { font-size: var(--ev-fs-base); }
.ry-tip { border-radius: var(--ev-r-lg); background: var(--ev-yellow-softer); padding: 12px 14px; font-size: var(--ev-fs-md); line-height: 1.45; }
.ry-add { margin-top: auto; height: var(--ev-btn-h); border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; }
/* Mon menu = design 3c, Changer ce plat = design 3e */
.sheet.sheet-mz { padding: 0; background: var(--ev-surface); }
.sheet.sheet-mz::before { display: none; }
.mz { flex: 1 0 auto; min-height: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: calc(16px + var(--safe-t, 0px)) 16px calc(16px + var(--safe-b)); line-height: normal; color: var(--ev-text); }
.mz-h { display: flex; align-items: center; gap: 10px; }
.mz-h > button:first-child { width: 42px; height: 42px; border-radius: 21px; background: var(--ev-bg); font-size: var(--ev-fs-h3); color: var(--ev-text); }
.mz-h h1 { flex: 1; margin: 0; font-size: var(--ev-fs-h1); font-weight: 800; }
.mz-re { height: 40px; padding: 0 12px; border-radius: var(--ev-r-md); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.mz-seg { display: flex; background: #e9ebe9; border-radius: var(--ev-r-md); padding: 4px; gap: 4px; }
.mz-seg button { flex: 1; height: 40px; border-radius: 11px; font-size: var(--ev-fs-base); font-weight: 600; color: var(--ev-text-2); }
.mz-seg button.on { background: var(--ev-bg); font-weight: 700; color: var(--ev-text); }
.mz-body { display: flex; flex-direction: column; gap: 14px; }
.mz-sum { background: var(--ev-bg); border-radius: var(--ev-r-2xl); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mz-nav { display: flex; justify-content: space-between; align-items: center; }
.mz-nav button { width: 36px; height: 36px; border-radius: 18px; background: var(--ev-surface-2); color: var(--ev-text); }
.mz-nav button:disabled { opacity: .35; } .mz-nav b { font-size: var(--ev-fs-base); }
.mz-t { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; } .mz-t > b { font-size: var(--ev-fs-title); } .mz-t > span { font-size: var(--ev-fs-md); color: var(--ev-text-2); }
.mz-t em { margin-left: auto; font-style: normal; font-size: var(--ev-fs-sm); font-weight: 700; background: var(--ev-green-soft); color: var(--g); padding: 4px 9px; border-radius: var(--ev-r-xs); }
.mz-t em.over { background: #fdecea; color: var(--ev-red); }
.mz-bar { height: 6px; background: var(--ev-line); border-radius: 3px; overflow: hidden; } .mz-bar i { display: block; height: 6px; background: var(--g); }
.mz-list { display: flex; flex-direction: column; gap: 8px; }
.mz-r { background: var(--ev-bg); border-radius: var(--ev-r-xl); padding: 10px; display: flex; gap: 12px; align-items: center; cursor: pointer; }
.mz-ph, .sz-ph { width: 64px; height: 64px; border-radius: var(--ev-r-md); background: #e6e8e6; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.mz-ph img, .sz-ph img { width: 100%; height: 100%; object-fit: cover; } .mz-ph img.is-logo, .sz-ph img.is-logo { width: 64%; height: auto; object-fit: contain; }
.mz-r > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mz-d { font-size: var(--ev-fs-xs); font-weight: 800; color: var(--ev-text-2); text-transform: uppercase; }
.mz-r > div > b { font-size: var(--ev-fs-base); } .mz-r > div > span:last-child:not(.mz-d) { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.mz-r > button { height: 36px; padding: 0 12px; border-radius: var(--ev-r-sm); border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text); }
.mz-more { align-self: flex-start; font-size: var(--ev-fs-md); font-weight: 700; color: var(--g); padding: 0 4px; }
.mz-add { margin-top: auto; height: var(--ev-btn-h); border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; }
.mz-add:disabled { opacity: .4; }
.mz .mp-days, .mz .mp-day, .mz .mp-cal, .mz .mp-wks, .mz .mp-sum { background: var(--ev-bg); border-radius: var(--ev-r-2xl); }
.sz { flex: 1 0 auto; min-height: 0; box-sizing: border-box; background: var(--ev-bg); display: flex; flex-direction: column; gap: 14px; padding: calc(16px + var(--safe-t, 0px)) 18px calc(24px + var(--safe-b)); line-height: normal; color: var(--ev-text); }
.sz-h { display: flex; justify-content: space-between; align-items: center; } .sz-h > div { display: flex; flex-direction: column; }
.sz-h span { font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text-2); text-transform: uppercase; } .sz-h h2 { margin: 0; font-size: 21px; font-weight: 800; }
.sz-h button { width: 40px; height: 40px; border-radius: 20px; background: var(--ev-surface-2); color: var(--ev-text); }
.sz-cur { border-radius: var(--ev-r-lg); background: var(--ev-surface); padding: 12px 14px; display: flex; justify-content: space-between; font-size: var(--ev-fs-md); }
.sz-o { border-radius: var(--ev-r-xl); border: 1px solid var(--ev-line); background: var(--ev-bg); padding: 10px; display: flex; gap: 12px; align-items: center; text-align: left; color: var(--ev-text); }
.sz-o.on { border: 2px solid var(--y); background: var(--ev-yellow-softer); }
.sz-o > div { flex: 1; display: flex; flex-direction: column; gap: 2px; } .sz-o b { font-size: var(--ev-fs-base); } .sz-o span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.sz-o em { font-style: normal; font-size: var(--ev-fs-xs); font-weight: 700; } .sz-o em.up { color: var(--ev-red); } .sz-o em.dn { color: var(--g); }
.sz-af { display: flex; justify-content: space-between; font-size: var(--ev-fs-md); padding: 0 4px; } .sz-af > span { color: var(--ev-text-2); } .sz-af b span { color: var(--g); }
.sz-go { margin-top: auto; height: var(--ev-btn-h); border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; }
.sz-go:disabled { opacity: .4; }
/* 3f Refaire mon menu */
.rf { display: flex; flex-direction: column; gap: 14px; flex: 1 0 auto; min-height: 0; background: #f4f5f4; padding: calc(16px + env(safe-area-inset-top)) 16px 24px; box-sizing: border-box; }
.rf-h { display: flex; align-items: center; gap: 10px; }
.rf-h button { width: 42px; height: 42px; border-radius: 21px; background: #fff; font-size: 18px; flex: none; }
.rf-h h1 { flex: 1; margin: 0; font-size: 22px; font-weight: 800; }
.rf-c { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.rf-c > b { font-size: 15px; }
.rf-seg { display: flex; gap: 8px; }
.rf-seg button { flex: 1; height: 46px; border-radius: 14px; border: 1.5px solid #e0e2e0; font-size: 14px; font-weight: 700; }
.rf-seg button.on { background: var(--y); border-color: var(--y); }
.rf-st { display: flex; align-items: center; justify-content: space-between; }
.rf-st button { width: 44px; height: 44px; border-radius: 22px; background: #f0f1f0; font-size: 20px; }
.rf-st button.k { background: #111; color: #fff; }
.rf-st b { font-size: 30px; }
.rf-bv { display: flex; justify-content: space-between; align-items: baseline; }
.rf-bv b { font-size: 26px; }
.rf-bv span { font-size: 12px; color: #555; }
.rf-rg { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #111 var(--p), #eef0ee var(--p)); margin: 7px 0; }
.rf-rg::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 10px; background: #fff; border: 2px solid #111; }
.rf-rg::-moz-range-thumb { width: 16px; height: 16px; border-radius: 10px; background: #fff; border: 2px solid #111; }
.rf-go { margin-top: auto; height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; flex: none; width: 100%; }
/* 3g Votre menu est prêt */
.rr { display: flex; flex-direction: column; gap: 14px; flex: 1 0 auto; min-height: 0; padding: 16px 16px 24px; box-sizing: border-box; background: #fff; }
.rr-m { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.rr-i { width: 88px; height: 88px; border-radius: 29px; background: #fff6cc; display: flex; align-items: center; justify-content: center; }
.rr-i svg { width: 40px; height: 40px; fill: none; stroke: #111; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rr-m > b { font-size: 24px; line-height: 1.2; }
.rr-p { display: flex; gap: 8px; }
.rr-p span { width: 84px; height: 84px; border-radius: 18px; background: #e6e8e6; overflow: hidden; display: flex; }
.rr-p img { width: 100%; height: 100%; object-fit: cover; }
.rr-m > span { font-size: 14px; color: #555; line-height: 1.5; max-width: 300px; }
.rr-m em { font-style: normal; font-size: 13px; font-weight: 700; background: #e7f2ec; color: var(--g); padding: 6px 12px; border-radius: 12px; }
.rr-l { height: 40px; font-size: 14px; font-weight: 700; color: #555; }
.rr-k { display: flex; gap: 8px; font-size: 12px; font-weight: 700; } .rr-k span { background: #f4f5f4; padding: 6px 10px; border-radius: 10px; }
/* 25 Oct: search = icon in the header (the field opens on tap) */
.rx-hb { display: flex; align-items: center; gap: 8px; }
.rx-sq { width: 44px; height: 44px; border-radius: 22px; background: #f0f1f0; display: flex; align-items: center; justify-content: center; }
.rx-sq.on { background: #111; color: #fff; }
.rx-s:not([hidden]) { animation: evUp .25s var(--ease) both; }

/* v0.83 market ingredients: line icon on the pastel tile (no emoji) */
.ry-r.mk .ry-im { background: var(--ev-green-soft); color: var(--g); }
.ry-im .mk-ic { width: 24px; height: 24px; }

/* 31 Oct: delete the menu (link under « add », confirmation in place) */
.mz-del { display: block; margin: 14px auto 4px; background: none; border: 0; color: #c0392b; font: inherit; font-size: 14px; font-weight: 600; padding: 8px; }
.mz-delc { margin: 14px 0 4px; padding: 16px; border-radius: 16px; background: #fdecea; display: flex; flex-direction: column; gap: 6px; }
.mz-delc b { font-size: 16px; } .mz-delc p { margin: 0; font-size: 13px; color: #555; line-height: 1.45; }
.mz-delc div { display: flex; gap: 8px; margin-top: 8px; }
.mz-delc button { flex: 1; height: 44px; border-radius: 12px; border: 0; font: inherit; font-weight: 700; }
.mz-delno { background: #fff; color: #111; } .mz-delgo { background: #c0392b; color: #fff; }
.ry-src { margin: 10px 2px 0; font-size: var(--ev-fs-sm); color: var(--ev-text-3); }

.ry-cr{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);font-size:9px;line-height:1.3;color:#fff;background:rgba(0,0,0,.45);padding:2px 6px;border-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 6 Nov 20:35: ad slot = the Home / Promos banner (hb7), full width between groups of 6 recipes. */
.rx-body > .rx-grid + .rx-grid { margin-top: 10px; }
.rx-body > .rx-ad { margin: 12px 0; }
/* infinite feed: small loader at the bottom while the next recipes come */
.rx-more { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ev-text-3, #666); }
.rx-more:not(.on) > * { display: none; }
@keyframes rxspin { to { transform: rotate(360deg); } }

/* 7 Nov: sold ad in Recipes = same 12px gap as the house slot (no extra 24px from .adx / .adw). */
.rx-ad > .adx, .rx-ad > .adw { margin: 0; }
/* 7 Nov (Mervyn « espaces vides »): both columns of a block end at the same height — the last recipe of each column
   stretches (its photo grows), so no hole above the ad between blocks of 6. */
.rx-grid { align-items: stretch; }
.rx-grid > div > .rx-c:last-child { flex: 1 0 auto; display: flex; flex-direction: column; }
.rx-grid > div > .rx-c:last-child .rx-ph { flex: 1 0 auto; }
/* 7 Nov (age test): the heart stays small, the zone to tap is 46 px */
.rx-ht::after { content: ''; position: absolute; inset: -6px; }
.ry-add.busy, .ry-add:disabled { opacity: .55; pointer-events: none; }

/* 16 Nov (Mervyn « vérifie tous les boutons »): 44 px tap areas, nothing changes to the eye. */
.rx-a { position: relative; } .rx-a::after { content: ''; position: absolute; inset: -13px -6px; }
.rx-chips button { position: relative; } .rx-chips button::after { content: ''; position: absolute; inset: -4px 0; }
/* 18 Nov: « Paquets entiers… » note above « Tout ajouter » */
.ry-packs { margin: 4px 2px 10px; font-size: 13px; color: var(--ev-text-3, #666); text-align: center; }
/* Moi, page Budget, Mes achats, réglages — demo 1.0 cascade flattened (step 7). */
label.f { display: block; font-size: 13px; font-weight: 800; margin: 14px 0 6px; color: var(--mu); }
.sw { width: 50px; height: 30px; border-radius: 999px; background: #d9d4c4; position: relative; flex-shrink: 0; cursor: pointer; transition: background .2s; }
.sw::after { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--card); top: 2px; left: 2px; box-shadow: 0 2px 4px rgba(0,0,0,.15); transition: left .2s ease; }
.sw.on::after { left: 22px; }
.sw.on { background: #34c759; }
.bw-row small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mu); font-weight: 700; margin-bottom: 6px; }
.dpick { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.dpick button { height: 40px; border-radius: 12px; background: var(--card); font-size: 12px; font-weight: 700; }
.dpick button.on { background: var(--g); color: #fff; }
.bc-row { display: flex; align-items: center; gap: 10px; }
.bc-ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bc-ic img { width: 26px; }
.bc-row b { font-size: 13px; }
.bc-bar { height: 6px; border-radius: 6px; background: #e6e6e6; margin-top: 6px; overflow: hidden; }
.bc-bar i { display: block; height: 100%; border-radius: 6px; }
.bh-chart { position: relative; height: 160px; margin-top: 18px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; align-items: end; }
.bh-col { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bh-bar { position: relative; width: 100%; max-width: 44px; border-radius: 12px 12px 6px 6px; overflow: hidden; display: flex; align-items: flex-end; }
.bh-bar i { display: block; width: 100%; background: #7ee2a8; }
.bh-col small { position: absolute; bottom: -20px; font-size: 11px; font-weight: 700; color: var(--mu); white-space: nowrap; }
.bh-col.now small { color: var(--g); }
.bh-val { position: absolute; font-size: 10px; font-weight: 800; white-space: nowrap; }
.bh-line { position: absolute; left: 0; right: 0; border-top: 2px dashed rgba(17,17,17,.35); z-index: 1; }
.bh-line em { position: absolute; right: 0; top: -18px; font-style: normal; font-size: 10px; font-weight: 700; color: var(--mu); background: rgba(255,255,255,.8); padding: 1px 6px; border-radius: 999px; }
.bh-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 30px; }
.bh-stats div { background: var(--card); border-radius: 12px; padding: 8px 10px; }
.bh-stats small { display: block; font-size: 11px; color: var(--mu); }
.bh-stats b { font-size: 14px; }
.bh-leg { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 11px; color: var(--mu); font-weight: 600; }
.bh-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.bweek { background: var(--tile); padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; border-radius: 28px; }
.bhist { background: linear-gradient(160deg,#f1f8f3 0%,#fbf8ec 100%); padding: 16px 14px 12px; border-radius: 28px; background-color: #dcefff; background-image: repeating-radial-gradient(circle at 100% 0,rgba(255,255,255,.5) 0 2px,transparent 2px 16px); }
.bcat { background: var(--tile); padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; border-radius: 28px; }
.slist { display: flex; flex-direction: column; background: var(--tile); padding: 4px 12px; border-radius: 28px; }
.ylangs { display: flex; gap: 2px; background: var(--card); border-radius: 999px; padding: 3px; }
.ylangs button { font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; color: #777; }
.ylangs .on { background: var(--g); color: #fff; }
.ycard { width: 100%; display: flex; text-align: left; border-radius: 24px; margin-top: 12px; }
.ycr { align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--ln); padding: 14px; }
.ycr small { display: block; font-size: 11.5px; font-weight: 800; color: var(--g); text-transform: uppercase; letter-spacing: .04em; }
.ycr b { display: block; font-size: 18px; }
.ycard i { font-style: normal; color: var(--mu); font-size: 20px; }
.yb-pct { font-weight: 800; background: var(--card); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.yb-bar { height: 8px; border-radius: 9px; background: rgba(255,255,255,.8); overflow: hidden; }
.yb-bar i { display: block; height: 100%; background: var(--g); border-radius: 9px; }
.yb-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.yb-3 small { display: block; font-size: 11px; font-weight: 700; opacity: .7; white-space: nowrap; }
.yb-3 b { font-size: 14px; white-space: nowrap; }
.yb-3 .ok { color: #1d8a4c; }
.bkb { display: inline-flex; margin: 12px 16px 0; font-weight: 800; color: var(--g); font-size: 14px; }
.ycr em { display: block; font-style: normal; font-size: 12px; color: var(--mu); overflow: hidden; text-overflow: ellipsis; white-space: normal; }
.sv2 { width: 100%; display: flex; flex-direction: column; gap: 12px; text-align: left; background: var(--g); color: #fff; border-radius: 26px; padding: 18px; }
.sv2-t { display: flex; justify-content: space-between; align-items: flex-start; }
.sv2-t small { display: block; font-size: 13px; font-weight: 700; opacity: .85; }
.sv2-t b { display: block; font-size: 34px; color: var(--y); letter-spacing: -.02em; line-height: 1.1; }
.sv2-t em { font-style: normal; font-size: 12px; opacity: .8; }
.sv2-b { display: flex; flex-direction: column; gap: 8px; background: var(--card); color: #0f3d24; border-radius: 18px; padding: 14px; }
.sv2-r { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.sv2-r small { display: block; font-size: 11.5px; font-weight: 700; opacity: .75; }
.sv2-r b { font-size: 26px; letter-spacing: -.02em; }
.sv2 .yb-pct { background: #e3f4ea; }
.sv2 .yb-bar { background: #e3f4ea; }
@media (prefers-reduced-motion: reduce) { nav button.on svg { animation: none; } }
nav button.on { background: var(--tile); color: var(--g); }
nav button.on svg { animation: navPop .35s cubic-bezier(.3,1.6,.5,1); stroke-width: 2.4; }
.pseg { margin: 4px 0 10px; }
.ph-sum { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ph-sum div { background: #e6f4ea; border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.ph-sum small { font-size: 11.5px; font-weight: 700; color: #3d5a4a; }
.ph-sum b { font-size: 16px; font-weight: 800; color: #0f3d24; }
.ph-sum b.g, .phd-t b.g { color: #1d8a4c; }
.ph-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ph-r { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid #efefea; border-radius: 18px; padding: 10px 12px; text-align: left; width: 100%; }
.ph-lg { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px #eee; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ph-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ph-m b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-m small { font-size: 12px; color: #6b6b6b; font-weight: 600; }
.ph-t { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; }
.ph-t b { font-size: 14.5px; }
.ph-t small { font-size: 11.5px; font-weight: 800; color: #1d8a4c; }
.phd-l { display: flex; flex-direction: column; background: #f6f6f3; border-radius: 18px; padding: 4px 12px; margin: 14px 0 12px; }
.phd-i { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.phd-i+.phd-i { border-top: 1px solid #ebebe6; }
.phd-i small { font-size: 12px; color: #6b6b6b; }
.phd-t { display: flex; gap: 8px; margin-bottom: 12px; }
.phd-t div { flex: 1; background: #e6f4ea; border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; }
.phd-t small { font-size: 12px; font-weight: 700; color: #3d5a4a; }
.phd-t b { font-size: 20px; font-weight: 800; color: #0f3d24; }
.sv2-p { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; opacity: .9; margin-top: -2px; }
.sv2-p .ic { width: 15px; height: 15px; }
.sv2-cta { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--y); color: var(--g); border-radius: 16px; padding: 13px 14px; font-size: 15px; font-weight: 800; }
.sv2-cta i { font-style: normal; }
.bjump { display: flex; gap: 8px; margin: 6px 0 4px; }
.bjump .ic { width: 15px; height: 15px; }
@keyframes navPop{from{transform:scale(.8)}to{transform:scale(1)}}
input, select, textarea { font-size: 16px; }
input[type=number], input[type=text], input[type=tel], input[type=email], textarea { width: 100%; padding: 13px 16px; border-radius: 16px; border: 1.5px solid var(--ln); background: var(--card); font-size: 16px; }
textarea { min-height: 80px; }
label.f { display: block; font-size: 13px; font-weight: 800; margin: 14px 0 6px; color: var(--mu); }
/* Moi: production additions (doc 02 §6) use the same setting rows */
.srow.danger b { color: var(--red); }
.legal-body { font-size: 14px; line-height: 1.55; }
.legal-body h1, .legal-body h2, .legal-body h3 { font-size: 17px; margin: 16px 0 6px; display: block; }

/* Moi redesign: sky header like the creator profile */
.ym { text-align: center; margin: 0 0 6px; }
.ym-hero { height: 240px; }
.ym .pf-bar { top: env(safe-area-inset-top, 0px); }
.ym-bell { display: flex; justify-content: flex-end; }
.ym .pf-av { background: none; border: 0; padding: 0; }
.ym .pf-av .ava.xl { width: 116px; height: 116px; }

/* ===== Moi = design 5-moi (24 Oct) ===== */
[data-tab="you"] .app { background: var(--ev-surface); }
.ym2 { line-height: normal; color: var(--ev-text); padding-bottom: 110px; }
.ym-top { background: var(--ev-bg); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 18px; border-radius: 0 0 var(--ev-r-sheet) var(--ev-r-sheet); }
.ym-h { display: flex; justify-content: space-between; align-items: center; } .ym-h h1 { margin: 0; font-size: var(--ev-fs-title); font-weight: 800; letter-spacing: -0.02em; }
.ym-bell, .ym-bk { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #e6e8e6; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; position: relative; color: var(--ev-text); }
.ym-bell .ic { width: 20px; height: 20px; }
.ym-bell span { position: absolute; top: 6px; right: 7px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--y); font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ym-me { display: flex; align-items: center; gap: 14px; text-align: left; color: var(--ev-text); }
.ym-av { width: 64px; height: 64px; border-radius: 32px; background: var(--g); color: var(--y); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.ym-av img { width: 100%; height: 100%; object-fit: cover; }
.ym-mi { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; } .ym-mi b { font-size: 19px; font-weight: 800; } .ym-mi span { font-size: var(--ev-fs-md); color: var(--ev-text-2); } .ym-mi em { font-style: normal; font-size: var(--ev-fs-md); font-weight: 700; color: var(--g); }
.ym-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.ym-b { background: var(--ev-bg); border-radius: var(--ev-r-3xl); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.ym-bh { display: flex; justify-content: space-between; align-items: center; } .ym-bh span { font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text-2); }
.ym-bh em { font-style: normal; font-size: var(--ev-fs-sm); font-weight: 700; background: var(--ev-green-soft); color: var(--g); padding: 5px 10px; border-radius: var(--ev-r-xs); }
.ym-bt { display: flex; align-items: baseline; gap: 6px; } .ym-bt b { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; } .ym-bt span { font-size: var(--ev-fs-md); font-weight: 600; color: var(--ev-text-2); }
.ym-b3 { display: flex; gap: 18px; font-size: var(--ev-fs-md); color: var(--ev-text-2); } .ym-b3 b { color: var(--ev-text); }
.ym-go { height: var(--ev-btn-h-sm); border-radius: var(--ev-r-md); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-lg); font-weight: 700; }
.ym-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ym-t { background: var(--ev-bg); border-radius: var(--ev-r-xl); padding: 16px; text-align: left; display: flex; flex-direction: column; gap: 10px; min-height: 104px; color: var(--ev-text); }
.ym-t > span { width: 38px; height: 38px; border-radius: var(--ev-r-sm); display: flex; align-items: center; justify-content: center; }
.ym-t b { font-size: var(--ev-fs-lg); font-weight: 800; } .ym-t small { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.ym-l { font-size: var(--ev-fs-sm); font-weight: 800; color: var(--ev-text-2); letter-spacing: 0.06em; padding: 4px 6px 0; text-transform: uppercase; }
.ym-c { background: var(--ev-bg); border-radius: var(--ev-r-xl); display: flex; flex-direction: column; }
.ym-r { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: var(--ev-fs-lg); font-weight: 600; text-align: left; border-bottom: 1px solid var(--ev-line); color: var(--ev-text); }
.ym-r:last-child { border-bottom: 0; } .ym-r > span { flex: 1; }
.ym-r em { font-style: normal; font-size: var(--ev-fs-md); color: var(--ev-text-2); font-weight: 500; } .ym-r em.g { color: var(--g); font-weight: 700; }
.ym-lg { display: flex; background: var(--ev-surface-2); border-radius: var(--ev-r-sm); padding: 3px; gap: 2px; }
.ym-lg button { height: 32px; padding: 0 10px; border-radius: var(--ev-r-xs); font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text); }
.ym-lg button.on { background: var(--ev-black); color: #fff; }
.ym-out { height: 52px; font-size: var(--ev-fs-lg); font-weight: 700; color: var(--ev-text); }
.ym-del { height: 40px; font-size: var(--ev-fs-base); font-weight: 600; color: var(--ev-red); margin-top: -10px; }
.ym-n { margin: 0; text-align: center; font-size: var(--ev-fs-sm); color: var(--ev-text-4); }
/* Mon budget = design 5b */
.bz { min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 120px; /* 26 Oct: main already leaves the status-bar space (it was counted twice on the installed iPhone app) */ line-height: normal; color: var(--ev-text); }
.bz-h { display: flex; align-items: center; gap: 10px; }
.bz-h > button:first-child { width: 42px; height: 42px; border-radius: 21px; background: var(--ev-bg); font-size: var(--ev-fs-h3); color: var(--ev-text); }
.bz-h h1 { flex: 1; margin: 0; font-size: var(--ev-fs-h1); font-weight: 800; }
.bz-m { height: 40px; padding: 0 12px; border-radius: var(--ev-r-md); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.bz-c { background: var(--ev-bg); border-radius: var(--ev-r-3xl); box-shadow: var(--ev-shadow-card); }
.bz-ed { padding: 16px; display: flex; flex-direction: column; gap: 10px; } .bz-ed small { font-size: var(--ev-fs-sm); color: var(--ev-text-2); font-weight: 600; }
.bz-top { padding: 20px; display: flex; align-items: center; gap: 18px; border-radius: 24px; }
.bz-ring { width: 120px; height: 120px; border-radius: 60px; display: flex; align-items: center; justify-content: center; flex: none; }
.bz-ring > div { width: 92px; height: 92px; border-radius: 46px; background: var(--ev-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bz-ring b { font-size: var(--ev-fs-h1); } .bz-ring span { font-size: 10px; color: var(--ev-text-3); }
.bz-tt { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bz-tt > span:first-child { font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text-2); } .bz-tt b { font-size: 28px; letter-spacing: -0.02em; } .bz-tt > span { font-size: var(--ev-fs-md); color: var(--ev-text-2); }
.bz-tt em { align-self: flex-start; margin-top: 4px; font-style: normal; font-size: var(--ev-fs-sm); font-weight: 700; background: var(--ev-green-soft); color: var(--g); padding: 4px 9px; border-radius: var(--ev-r-xs); }
.bz-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bz-3 > div { background: var(--ev-bg); border-radius: var(--ev-r-lg); padding: 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bz-3 span { font-size: var(--ev-fs-xs); color: var(--ev-text-3); } .bz-3 b { font-size: var(--ev-fs-xl); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-hist { padding: 16px; display: flex; flex-direction: column; gap: 12px; border-radius: var(--ev-r-3xl); } .bz-hist > b { font-size: var(--ev-fs-lg); } .bz-hist > span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.bz-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; height: 120px; }
.bz-bars > div { display: flex; flex-direction: column; align-items: center; gap: 6px; } .bz-bars i { width: 100%; border-radius: var(--ev-r-xs); }
.bz-bars span { font-size: 10px; color: var(--ev-text-3); } .bz-bars span.on { font-weight: 700; color: var(--ev-text); }
.bz-p { display: flex; flex-direction: column; gap: 8px; }
.bz-ph { display: flex; justify-content: space-between; padding: 0 4px; font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text-2); }
.bz-ph > span:first-child { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.bz-ph button { font-size: inherit; font-weight: 700; color: var(--ev-text-2); padding: 0; } .bz-ph button.on { color: var(--ev-text); }
.bz-pl { border-radius: var(--ev-r-xl); display: flex; flex-direction: column; }
.bz-pl > button { padding: 12px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ev-line); text-align: left; color: var(--ev-text); }
.bz-pl > button:last-child { border-bottom: 0; }
.bz-pl > button > div:first-child { flex: 1; display: flex; flex-direction: column; min-width: 0; } .bz-pl b { font-size: var(--ev-fs-base); } .bz-pl span { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.bz-pl > button > div:last-child { display: flex; flex-direction: column; align-items: flex-end; } .bz-pl em { font-style: normal; font-size: var(--ev-fs-xs); color: var(--g); font-weight: 700; }
.bz-al { border-radius: var(--ev-r-xl); display: flex; flex-direction: column; }
.bz-al > div { height: 54px; padding: 0 14px; display: flex; align-items: center; border-bottom: 1px solid var(--ev-line); } .bz-al > div:last-child { border-bottom: 0; }
.bz-al span:first-child { flex: 1; font-size: var(--ev-fs-base); font-weight: 600; }
.bz-sw { width: 46px; height: 28px; border-radius: 14px; background: var(--ev-handle); display: flex; align-items: center; justify-content: flex-start; padding: 3px; box-sizing: border-box; cursor: pointer; }
.bz-sw.on { background: var(--ev-black); justify-content: flex-end; } .bz-sw i { width: 22px; height: 22px; border-radius: 11px; background: var(--ev-bg); }
/* 5q Moi sans compte */
.gm { display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 120px; background: #f4f5f4; min-height: 100%; box-sizing: border-box; }
.gm h1 { margin: 0; font-size: 26px; font-weight: 800; }
.gm-c { background: #fff6cc; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.gm-c b { font-size: 18px; }
.gm-c span { font-size: 13px; color: #4a3d00; line-height: 1.45; }
.gm-go { height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; }
.gm-in { height: 44px; border-radius: 14px; border: 1.5px solid #111; font-size: 14px; font-weight: 700; }
.gm-l { background: #fff; border-radius: 20px; padding: 6px 16px; display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.gm-r { min-height: 52px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #eef0ee; text-align: left; }
.gm-r:last-child { border-bottom: 0; }
.gm-r span { flex: 1; font-size: 14px; font-weight: 600; }
.gm-r em { font-style: normal; font-size: 14px; color: #555; font-weight: 600; }
/* 5r Langue */
.lr-r { width: 100%; justify-content: space-between; text-align: left; }
.lr-ok { font-weight: 800; color: var(--g); }
/* 5s Se déconnecter */
.lo { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.lo b { font-size: 21px; }
.lo p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }
.lo-go { height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; margin-top: 6px; }
.lo-no { height: 40px; font-size: 14px; font-weight: 700; color: #555; }
/* 5t Supprimer mon compte */
.dl { display: flex; flex-direction: column; gap: 14px; }
.dl-c { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.dl-c b { font-size: 15px; color: #b42318; }
.dl-c ul { margin: 0; padding-left: 18px; font-size: 13px; color: #444; line-height: 1.7; }
.dl-l { font-size: 13px; font-weight: 700; }
.dl-in { height: 50px; border-radius: 14px; border: 1.5px solid #e0e2e0; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .06em; background: #fff; }
.dl-go { height: 54px; border-radius: 16px; background: #b42318; color: #fff; font-size: 16px; font-weight: 700; }
.dl-go:disabled { opacity: .4; }
.dl-no { height: 40px; font-size: 14px; font-weight: 700; color: #555; }
/* 9c Notre impact */
.sheet.full.sheet-im { background: #f4f5f4; }
.ym-imp { display: block; margin: 18px auto 0; font-size: 13px; font-weight: 700; color: var(--g); }
.im { display: flex; flex-direction: column; gap: 14px; }
.im-h { background: #fff6cc; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.im-h span { align-self: flex-start; font-size: 11px; font-weight: 800; background: #111; color: var(--y); padding: 4px 9px; border-radius: 9px; text-transform: uppercase; }
.im-h b { font-size: 30px; letter-spacing: -.02em; }
.im-h small { font-size: 13px; color: #4a3d00; }
.im-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.im-k { background: #fff; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.im-k span { font-size: 12px; color: #555; }
.im-k b { font-size: 20px; }
.im-c { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.im-c > b { font-size: 15px; }
.im-bars { display: flex; gap: 10px; align-items: flex-end; height: 110px; }
.im-bars i { flex: 1; border-radius: 8px; background: #eef0ee; }
.im-bars i.on { background: var(--y); }
.im-n { font-size: 11px; color: #666; text-align: center; line-height: 1.5; }
/* 25 Oct: more colour in Moi */
.ym-av { background: var(--y); color: #111; }
.ym-b { background: #fff6cc; box-shadow: none; }
.ym-b .bk-bar { background: rgba(17,17,17,.12); }
.ym-b .bk-bar i { background: #111; }
.ym-r { gap: 12px; }
.ym-ri { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; font-style: normal; }
.ym-ri svg { width: 18px; height: 18px; }
.ym-r > span { flex: 1; }
/* 25 Oct: Budget colours */
.bz-top { background: #fff6cc; box-shadow: none; }
.bz-ring > div { background: #fff6cc; }
.bz-3 > div:nth-child(1) { background: #e2eaf8; } .bz-3 > div:nth-child(2) { background: #fde4ef; } .bz-3 > div:nth-child(3) { background: #e8f5ee; }

/* 6 Nov: contest sheet polish */
.ct-hero { background: var(--y); border-radius: var(--ev-r-xl); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.ct-hero span { font-size: var(--ev-fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ct-hero b { font-size: 24px; line-height: 1.15; font-weight: 800; }
.ct-hero small { font-size: var(--ev-fs-sm); color: rgba(0,0,0,.7); }
.ct-how { flex-direction: row; align-items: center; justify-content: space-between; }
.ct-how > span { flex: 1; }
.ct-site { font-weight: 700; color: var(--ev-text); text-decoration: none; white-space: nowrap; }
.ct-l { display: flex; flex-direction: column; gap: 8px; }
.ct-code { font: 700 22px ui-monospace, monospace; letter-spacing: .2em; text-transform: uppercase; width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: var(--ev-r-md); border: 1.5px solid var(--ev-border); background: var(--ev-bg); }
.ct-code::placeholder { color: var(--ev-text-3); opacity: .45; }
.ct-code:focus { outline: none; border-color: var(--ev-text); }
.ct-err { color: var(--red); }
.ct-in b { color: var(--ev-text); }
.ct-rules summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.ct-rules summary::-webkit-details-marker { display: none; }
.ct-rules summary i { font-style: normal; color: var(--ev-text-3); transition: transform .2s; }
.ct-rules[open] summary i { transform: rotate(90deg); }
.ct-rules p { white-space: pre-line; margin: 10px 0 0; font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.ym-go:disabled { opacity: .35; }

/* 6 Nov (Mervyn « trop espacé »): end of Moi in one tight block: sign out, delete (small, red), impact, footer line. */
.ym-end { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: -4px; }
.ym-end .ym-out { height: 44px; }
.ym-end .ym-del { height: 32px; margin: 0; font-size: var(--ev-fs-sm); }
.ym-end .ym-imp { margin: 10px auto 0; }
.ym-end .ym-n { margin-top: 4px; }
/* 6 Nov 20:24 (Mervyn « fix cette espace vide »): Moi ends right above the tab bar (the main padding already clears it). */
.ym2 { padding-bottom: 0; }
.ym2 .ym-body { padding-bottom: 8px; }
/* 7 Nov (age test): budget not chosen yet → choose it, instead of « 0 % · Rs 0 restant sur Rs 0 » */
.bz-set { padding: 18px; display: flex; flex-direction: column; gap: 8px; background: #fff6cc; border-radius: 24px; box-shadow: none; }
.bz-set > b { font-size: var(--ev-fs-h3, 18px); }
.bz-set > span { font-size: var(--ev-fs-md); color: var(--ev-text-2); }
.bz-set .bset { margin-top: 6px; }
.ym-r[data-act=bigtxt] > .bz-sw { flex: none; margin-left: auto; }
label.f { display: block; font-size: 13px; font-weight: 800; margin: 14px 0 6px; color: var(--mu); }
.rnewv textarea { width: 100%; border: 1.5px solid var(--ln); border-radius: 16px; padding: 12px; font-size: 15px; }
.rempty { color: var(--mu); text-align: center; padding: 26px 10px; }
.ava { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ac); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 0 0 2px #fff; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava.xl { width: 96px; height: 96px; font-size: 34px; box-shadow: 0 0 0 5px #fff,0 10px 24px rgba(0,0,0,.14); }
.prof-cam { position: absolute; right: 0; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--g); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff; }
.mlist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.mcard { position: relative; border-radius: 24px; background: var(--mb,var(--g)); color: var(--mf,#fff); padding: 16px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; text-align: left; }
.mcard small { font-size: 12px; font-weight: 800; opacity: .8; }
.mcard b { font-size: 21px; line-height: 1.1; padding-right: 96px; }
.mc-p em { font-style: normal; }
.mc-sv { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.92); color: var(--g); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.mc-sv.on { background: var(--y); }
.mcard.mine { background: #e3f4ea; color: var(--g); }
.rnph { position: relative; display: flex; align-items: center; justify-content: center; height: 130px; border: 1.5px dashed var(--ln); border-radius: 18px; font-size: 30px; overflow: hidden; cursor: pointer; background: var(--card); }
.rnph img { width: 100%; height: 100%; object-fit: cover; }
.rnph input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mc-p { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tk-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 54px; padding: 0 8px; position: sticky; top: 0; background: var(--card); z-index: 3; }
.tk-x { width: 40px; height: 40px; font-size: 18px; }
.tk-av { display: inline-block; position: relative; margin-top: 6px; cursor: pointer; }
.tk-av input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tk-av .ava.xl { width: 96px; height: 96px; font-size: 34px; box-shadow: none; }
.tk-av .prof-cam { background: var(--g); font-size: 18px; font-weight: 800; }
.tk-btn.ghost { background: #f1f1f1; color: var(--tx); }
.tk-ic { width: 44px; height: 44px; border-radius: 6px; border: 1px solid #e3e3e3; display: flex; align-items: center; justify-content: center; color: var(--tx); font-size: 22px; font-weight: 600; text-decoration: none; }
.soc-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.soc-i .f { fill: currentColor; stroke: none; }
.tk-tabs { display: flex; margin-top: 16px; border-bottom: 1px solid #eee; }
.tk-tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ttg { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 2px; }
.tt { position: relative; aspect-ratio: 3/4; background: var(--rb); overflow: hidden; cursor: pointer; }
.tt>img { width: 100%; height: 100%; object-fit: cover; }
.tt-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(to top,rgba(0,0,0,.35),transparent); pointer-events: none; }
.tk-pad { padding: 12px 14px 0; text-align: left; }
.pe-soc { display: flex; flex-direction: column; gap: 8px; }
.pe-row { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1.5px solid var(--ln); border-radius: 14px; padding: 6px 12px; }
.pe-row span { width: 84px; font-weight: 700; font-size: 13.5px; }
.pe-row input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 0; font-size: 15px; background: none; }
.seg2 { display: flex; background: #efeadb; border-radius: 14px; padding: 4px; }
.seg2 button { flex: 1; padding: 10px; border-radius: 11px; font-weight: 700; color: var(--mu); }
.seg2 button.on { background: var(--g); color: #fff; }
.rn-s { margin: 0 0 6px; }
.rn-hits { background: var(--card); border: 1px solid var(--ln); border-radius: 16px; overflow: hidden; margin-bottom: 8px; }
.rn-h { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--ln2,#f3efe3); }
.rn-h img { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.rn-h b { display: block; font-size: 13.5px; line-height: 1.2; }
.rn-h small { font-size: 11.5px; color: var(--mu); display: flex; align-items: center; gap: 3px; }
.rn-h i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.rn-cl { display: block; font-size: 12px; font-weight: 800; color: var(--g); margin: 6px 0; }
.rn-ch { display: flex; flex-wrap: wrap; gap: 6px; }
.rn-ch button { display: flex; align-items: center; gap: 6px; background: #e3f4ea; border-radius: 999px; padding: 4px 10px 4px 4px; font-size: 12.5px; font-weight: 700; max-width: 100%; }
.rn-ch img { width: 26px; height: 26px; object-fit: contain; background: var(--card); border-radius: 50%; }
.rn-ch span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.rn-ch i { font-style: normal; color: var(--mu); }
.tt-d { position: absolute; top: 5px; right: 6px; font-size: 14px; z-index: 1; }
.selh { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.selh h2 { margin: 2px 0 2px; }
.shx { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #f1f1ee; color: var(--tx); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sel-l { display: flex; flex-direction: column; gap: 8px; }
.sel-r { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--ln,#eee); border-radius: 18px; padding: 8px 12px 8px 8px; }
.sel-i { width: 64px; height: 64px; border-radius: 14px; background: var(--rb); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sel-i img { width: 100%; height: 100%; object-fit: cover; }
.sel-r b { display: block; font-size: 15px; font-weight: 700; }
.sel-r small { font-size: 12px; color: #6b6b66; font-weight: 600; }
.sel-r i { font-style: normal; font-size: 20px; color: #999; }
.spoonp.gold svg { fill: #7a5600; stroke: #7a5600; }
.spoonp.silver svg { fill: #4b5560; stroke: #4b5560; }
.spoonp { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px 4px 5px; font-size: 12px; font-weight: 800; margin: 8px auto 0; }
.spoonp svg { stroke-width: 3.2; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(255,255,255,.55); }
.spoonp.gold { background: linear-gradient(135deg,#ffe58a,#e0a91b 60%,#b9860b); box-shadow: 0 0 0 1.5px #fff,0 2px 6px rgba(185,134,11,.35); color: #5c4100; }
.spoonp.silver { background: linear-gradient(135deg,#ffffff,#c9d0d8 55%,#8c96a1); box-shadow: 0 0 0 1.5px #fff,0 2px 6px rgba(100,110,120,.3); color: #3b444d; }
.tk { background: var(--card); flex: 1 0 auto; min-height: 0; padding-bottom: 30px; text-align: center; }
.tk-bar b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; font-weight: 700; color: var(--tx); }
.tk-n { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin-top: 10px; color: var(--tx); }
.tk-bio { max-width: 300px; margin: 8px auto 0; font-size: 14px; line-height: 1.45; color: #4d4d48; white-space: pre-line; }
.tk-addbio { margin: 8px auto 0; display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--g); background: #e9f4ee; border-radius: 999px; padding: 6px 14px; }
.tk-st { display: flex; justify-content: center; gap: 0; margin: 16px auto 0; max-width: 320px; background: #f6f6f3; border-radius: 18px; padding: 10px 6px; }
.tk-st>div { flex: 1; position: relative; }
.tk-st>div+div::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: #e2e2dc; }
.tk-st b { display: block; font-size: 17px; }
.tk-st small { font-size: 12px; color: #7b7b74; }
.tk-act { display: flex; gap: 8px; padding: 0 16px; justify-content: center; margin-top: 14px; }
.tk-btn { height: 44px; border-radius: 6px; background: var(--g); color: #fff; font-weight: 700; font-size: 15px; padding: 0 18px; min-width: 150px; }
.tk .rempty { padding: 34px 20px; text-align: center; }
.pe-cnt { float: right; font-weight: 600; color: #9a9a93; font-size: 12px; }
.prof-cam, .tk-ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.prof-cam .ic.pl { width: 14px; height: 14px; }
.tt-n { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 28px 8px 8px; background: linear-gradient(to top,rgba(10,20,15,.78),rgba(10,20,15,.35) 60%,rgba(10,20,15,0)); color: #fff; text-align: left; }
.tt-n b { font-size: 12.5px; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: .1em; }
.tt-n small { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; opacity: .9; }
.tt-n svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.tk-tabs button { flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 800; gap: 6px; color: #8a8a8a; }
.tk-tabs button.on { color: var(--g); border-color: var(--g); }
.tk-tabs button em { font-style: normal; font-size: 12px; font-weight: 800; background: #f1f1ee; color: #555; border-radius: 999px; padding: 1px 8px; }
.tk-tabs button.on em { background: #e6f4ea; color: var(--g); }
.sheet.full { max-height: 100dvh; height: 100dvh; border-radius: 0; padding: 0; top: 0; }
.sheet.full::before { display: none; }
.rn-s { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1.5px solid var(--ln); border-radius: 16px; padding: 0 14px; margin: 4px 0 10px; }
.rn-s svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--mu); }
.rn-s input { flex: 1; border: 0; outline: 0; background: none; padding: 12px 0; font-size: 15px; min-width: 0; }
.rn-h input, .rn-h select { border: 1.5px solid var(--ln); border-radius: 12px; padding: 8px; font-size: 14px; background: var(--card); }
/* No photo yet: the logo sits small in the middle of the tile, never cropped */
.tt-art .is-logo, .tt>img.is-logo { width: 62%; height: auto; object-fit: contain; }
.sel-i img.is-logo { width: 78%; height: auto; object-fit: contain; }

/* ---------- Profile redesign (21 Oct, reference picture) ---------- */
.tk.pf { padding-bottom: 34px; }
.pf-hero { position: relative; height: 270px; overflow: hidden; background: linear-gradient(180deg, #4fb3f6 0%, #8fd0ff 55%, #dff1ff 82%, var(--card) 100%); }
.pf-cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); filter: blur(2px); }
.pf-cloud.a { width: 220px; height: 90px; left: -40px; top: 70px; }
.pf-cloud.b { width: 260px; height: 110px; right: -70px; top: 30px; }
.pf-cloud.c { width: 300px; height: 120px; left: 40px; top: 150px; opacity: .8; }
.pf-st { position: absolute; font-size: 54px; line-height: 1; filter: drop-shadow(0 0 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 6px 10px rgba(0,0,0,.18)); animation: pfBob 4s ease-in-out infinite; }
.pf-st.s1 { left: 13%; top: 64px; transform: rotate(-14deg); }
.pf-st.s2 { right: 12%; top: 58px; transform: rotate(10deg); animation-delay: -1s; }
.pf-st.s3 { left: 9%; top: 168px; transform: rotate(8deg); font-size: 46px; animation-delay: -2s; }
.pf-st.s4 { right: 9%; top: 170px; transform: rotate(-10deg); font-size: 48px; animation-delay: -3s; }
@keyframes pfBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.pf-bar { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; height: 56px; padding: 0 10px; z-index: 2; }
.pf-bar b { color: #fff; font-size: 17px; font-weight: 800; font-style: italic; text-shadow: 0 1px 6px rgba(0,0,0,.18); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-x { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 18px; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.pf-av { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); display: block; cursor: pointer; }
.pf-av input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pf-av .ava.xl { width: 132px; height: 132px; font-size: 44px; box-shadow: 0 0 0 5px #fff, 0 10px 26px rgba(0,0,0,.18); }
.pf-av .prof-cam { background: var(--g); font-size: 18px; font-weight: 800; }
.pf-n { font-size: 30px; font-weight: 900; letter-spacing: -.03em; font-style: italic; margin-top: 8px; color: var(--tx); }
.pf-st2 { display: flex; justify-content: center; gap: 18px; margin-top: 6px; font-size: 14.5px; color: var(--mu); }
.pf-st2 b { color: var(--tx); font-weight: 800; }
.pf-bio { max-width: 300px; margin: 8px auto 0; font-size: 14px; line-height: 1.45; color: var(--mu); white-space: pre-line; }
.pf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 16px 0; }
.pf-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1.5px solid; background: var(--card); color: var(--tx); }
.pf-chip svg { width: 15px; height: 15px; }
.pf-chip.gold { border-color: #f4d35e; background: #fff8dc; }
.pf-chip.blue { border-color: #b9dcff; background: #eef6ff; }
.pf-chip.pink { border-color: #ffc2d6; background: #fff0f5; }
.pf-chip.soc { border-color: #e3e3e3; }
.pf-act { display: flex; gap: 8px; justify-content: center; margin-top: 16px; padding: 0 16px; }
.pf-btn { height: 46px; border-radius: 999px; background: var(--g); color: #fff; font-weight: 800; font-size: 15px; padding: 0 22px; display: inline-flex; align-items: center; gap: 6px; }
.pf-btn svg { width: 18px; height: 18px; }
.pf-btn.ghost { background: #f1f1ee; color: var(--tx); }
.pf-sec { text-align: left; padding: 24px 20px 0; }
.pf-sec h3 { margin: 0; font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.pf-stack { position: relative; height: 230px; margin: 10px 16px 6px; }
.pf-card { position: absolute; top: 10px; width: 46%; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; background: var(--rb); box-shadow: 0 14px 30px rgba(0,0,0,.16); border: 4px solid #fff; padding: 0; }
.pf-card img { width: 100%; height: 100%; object-fit: cover; }
.pf-card img.is-logo { object-fit: contain; width: 70%; height: auto; margin: 22% auto 0; display: block; }
.pf-card b { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; font-size: 13px; font-weight: 800; text-align: left; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.pf-card.c0 { left: 0; transform: rotate(-8deg); z-index: 1; }
.pf-card.c1 { left: 27%; transform: rotate(2deg); z-index: 3; top: 0; }
.pf-card.c2 { right: 0; transform: rotate(9deg); z-index: 2; }
@media (prefers-reduced-motion: reduce) { .pf-st { animation: none; } }
.pf-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to top, rgba(0,0,0,.45), transparent); pointer-events: none; }
.pf-card b { z-index: 1; }

/* ===== creator profile = design 3b (24 Oct) ===== */
.sheet.sheet-cz { padding: 0; }
.sheet.sheet-cz::before { display: none; }
.cz { line-height: normal; color: var(--ev-text); background: var(--ev-bg); flex: 1 0 auto; min-height: 0; padding-bottom: calc(24px + var(--safe-b)); }
.cz-sky { height: 360px; background: linear-gradient(180deg, #4aa8ec 0%, #8cc9f3 55%, #ffffff 100%); position: relative; }
.cz-sky > i { position: absolute; border-radius: 25px; background: rgba(255,255,255,0.55); }
.cz-sky .c1 { top: 70px; left: -30px; width: 150px; height: 50px; } .cz-sky .c2 { top: 40px; right: -20px; width: 130px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.5); }
.cz-sky .c3 { top: 190px; left: 20px; width: 110px; height: 40px; border-radius: 20px; background: rgba(255,255,255,0.6); } .cz-sky .c4 { top: 210px; right: 10px; width: 120px; height: 42px; border-radius: 21px; background: rgba(255,255,255,0.6); }
.cz-bar { position: absolute; top: calc(14px + var(--safe-t, 0px)); left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.cz-bar button, .cz-bar span { width: 38px; height: 38px; border-radius: 19px; background: rgba(255,255,255,0.85); font-size: var(--ev-fs-xl); font-weight: 800; color: var(--ev-text); }
.cz-bar span { background: none; } .cz-bar i { font-size: var(--ev-fs-h2); font-weight: 800; color: #fff; }
.cz-s { position: absolute; background: var(--ev-bg); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(0,0,0,0.12); }
.cz-s.s1 { top: 70px; left: 60px; width: 76px; height: 76px; border-radius: 22px; transform: rotate(-14deg); font-size: 42px; }
.cz-s.s2 { top: 80px; right: 54px; width: 66px; height: 66px; border-radius: 33px; transform: rotate(12deg); font-size: 36px; }
.cz-s.s3 { top: 230px; left: 40px; width: 64px; height: 64px; border-radius: 20px; transform: rotate(-8deg); font-size: 34px; }
.cz-s.s4 { top: 220px; right: 40px; width: 70px; height: 70px; border-radius: 22px; transform: rotate(10deg); font-size: 38px; }
.cz-av { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); width: 160px; height: 160px; border-radius: 80px; border: 5px solid #fff; background: #3a3f44; color: var(--y); font-size: 54px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.18); overflow: hidden; box-sizing: content-box; margin-left: -5px; }
.cz-av img { width: 100%; height: 100%; object-fit: cover; }
.cz-in { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 20px 0; text-align: center; }
.cz-n { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.cz-st { display: flex; gap: 18px; font-size: var(--ev-fs-base); color: var(--ev-text-2); } .cz-st b { color: var(--ev-text); }
.cz-bio { font-size: var(--ev-fs-md); color: var(--ev-text-3); font-style: italic; }
.cz-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.cz-chips span { height: 28px; padding: 0 10px; border-radius: 14px; font-size: var(--ev-fs-sm); font-weight: 700; display: flex; align-items: center; }
.cz-chips .p { border: 1px solid #f3c9e6; background: #fdf0f8; } .cz-chips .o { border: 1px solid #f6d7b5; background: #fff6ec; } .cz-chips .b { border: 1px solid #bcd9f5; background: #eef6fe; }
.cz-act { display: flex; gap: 10px; margin-top: 8px; width: 100%; }
.cz-f { flex: 1; height: var(--ev-btn-h-sm); border-radius: 24px; background: var(--ev-black); color: #fff; font-size: var(--ev-fs-lg); font-weight: 700; }
.cz-f.on { background: var(--ev-surface-2); color: var(--ev-text); }
.cz-o { width: 48px; height: 48px; border-radius: 24px; border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-xs); font-weight: 800; display: flex; align-items: center; justify-content: center; color: var(--ev-text); text-decoration: none; flex: none; }
.cz-sh { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 2px; }
.cz-sh > div { display: flex; justify-content: space-between; align-items: center; } .cz-sh > div > i { font-size: var(--ev-fs-h2); font-weight: 800; }
.cz-sh > span { font-size: var(--ev-fs-sm); color: var(--ev-text-3); font-style: italic; }
.cz-vt { display: flex; background: var(--ev-line); border-radius: var(--ev-r-sm); padding: 3px; gap: 2px; }
.cz-vt button { width: 38px; height: 32px; border-radius: var(--ev-r-xs); display: flex; align-items: center; justify-content: center; color: var(--ev-text-2); }
.cz-vt button[aria-pressed="true"] { background: var(--ev-bg); color: var(--ev-text); }
.cz-l { padding: 14px 20px 0; }
.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cx-gc { border-radius: var(--ev-r-xl); overflow: hidden; background: var(--ev-bg); box-shadow: var(--ev-shadow-ad); cursor: pointer; }
.cx-gp { height: 130px; background: #e6e8e6; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cx-gp img, .cx-lp img { width: 100%; height: 100%; object-fit: cover; } .cx-gp img.is-logo, .cx-lp img.is-logo { width: 56%; height: auto; object-fit: contain; }
.cx-gc > div { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.cx-gc b:first-child { font-size: var(--ev-fs-md); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-gc span, .cx-lr span { font-size: var(--ev-fs-xs); color: var(--ev-text-2); } .cx-gc span b, .cx-lr span b { color: var(--g); }
.cx-list { display: flex; flex-direction: column; gap: 10px; }
.cx-lr { border-radius: var(--ev-r-xl); background: var(--ev-bg); padding: 10px; display: flex; gap: 12px; align-items: center; box-shadow: var(--ev-shadow-ad); cursor: pointer; }
.cx-lp { width: 72px; height: 72px; border-radius: var(--ev-r-md); background: #e6e8e6; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.cx-lr > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .cx-lr > div > b { font-size: var(--ev-fs-base); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-lr > div > span { font-size: var(--ev-fs-sm); } .cx-h { font-size: var(--ev-fs-xl); color: #ccc; }
/* create a recipe = design 3d (24 Oct) */
.sheet.sheet-nr { padding: 0; background: var(--ev-surface); }
.sheet.sheet-nr::before { display: none; }
.nr { line-height: normal; color: var(--ev-text); display: flex; flex-direction: column; gap: 14px; padding: calc(16px + var(--safe-t, 0px)) 16px calc(20px + var(--safe-b)); }
.nr-h { display: flex; align-items: center; gap: 10px; }
.nr-h > button:first-child { width: 42px; height: 42px; border-radius: 21px; background: var(--ev-bg); font-size: var(--ev-fs-xl); color: var(--ev-text); }
.nr-h h1 { flex: 1; margin: 0; font-size: var(--ev-fs-h1); font-weight: 800; }
.nr-d { height: 40px; padding: 0 12px; border-radius: var(--ev-r-md); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); }
.nr-ph { height: 190px; border-radius: var(--ev-r-3xl); border: 1.5px dashed var(--ev-dash); background: var(--ev-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; cursor: pointer; }
.nr-ph > span { width: 48px; height: 48px; border-radius: 24px; background: var(--ev-yellow-soft); display: flex; align-items: center; justify-content: center; }
.nr-ph b { font-size: var(--ev-fs-base); } .nr-ph small { font-size: var(--ev-fs-sm); color: var(--ev-text-3); } .nr-ph img { width: 100%; height: 100%; object-fit: cover; }
.nr-c { background: var(--ev-bg); border-radius: var(--ev-r-2xl); padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--ev-shadow-card); }
.nr-f { display: flex; flex-direction: column; gap: 6px; } .nr-f > span { font-size: var(--ev-fs-md); font-weight: 700; }
.nr-f input { height: 48px; border-radius: var(--ev-r-md); border: 1.5px solid var(--ev-border); padding: 0 14px; font: inherit; font-size: var(--ev-fs-lg); color: var(--ev-text); box-sizing: border-box; width: 100%; }
.nr-seg { display: flex; background: var(--ev-surface-2); border-radius: var(--ev-r-md); padding: 4px; gap: 4px; }
.nr-seg button { flex: 1; height: 38px; border-radius: 11px; font-size: var(--ev-fs-md); font-weight: 600; color: var(--ev-text-2); }
.nr-seg button.on { background: var(--y); font-weight: 700; color: var(--ev-text); }
.nr-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nr-3 label { border: 1.5px solid var(--ev-border); border-radius: var(--ev-r-md); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.nr-3 span { font-size: var(--ev-fs-xs); color: var(--ev-text-3); }
.nr-3 select { border: 0; background: none; padding: 0; font: inherit; font-size: var(--ev-fs-lg); font-weight: 700; color: var(--ev-text); -webkit-appearance: none; appearance: none; }
.nr-ih { display: flex; justify-content: space-between; align-items: center; } .nr-ih b { font-size: var(--ev-fs-lg); } .nr-ih span { font-size: var(--ev-fs-sm); font-weight: 700; color: var(--g); }
.nr-s { height: 46px; border-radius: var(--ev-r-md); border: 1.5px solid var(--ev-black); display: flex; align-items: center; gap: 10px; padding: 0 12px; box-sizing: border-box; }
.nr-s input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: var(--ev-fs-base); background: none; color: var(--ev-text); }
.nr-s .ic { width: 18px; height: 18px; }
.nr-i { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--ev-line); }
.nr-i:last-child { border-bottom: 0; }
.nr-im { width: 36px; height: 36px; border-radius: var(--ev-r-xs); background: var(--ev-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.nr-im img { max-width: 86%; max-height: 86%; object-fit: contain; }
.nr-i > b { flex: 1; font-size: var(--ev-fs-md); min-width: 0; }
.nr-q { height: 32px; padding: 0 6px; border-radius: var(--ev-r-xs); background: var(--ev-surface-2); display: flex; align-items: center; gap: 2px; }
.nr-q input { width: 40px; border: 0; background: none; font: inherit; font-size: var(--ev-fs-sm); font-weight: 700; text-align: right; color: var(--ev-text); }
.nr-q select { border: 0; background: none; font: inherit; font-size: var(--ev-fs-sm); font-weight: 700; color: var(--ev-text); -webkit-appearance: none; appearance: none; }
.nr-i > button { font-size: var(--ev-fs-xl); color: #999; }
.nr-st { font-size: var(--ev-fs-lg); }
.nr-sp { display: flex; gap: 10px; }
.nr-sp > span { width: 26px; height: 26px; border-radius: 13px; background: var(--y); font-size: var(--ev-fs-sm); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.nr-sp textarea { flex: 1; border: 0; resize: none; font: inherit; font-size: var(--ev-fs-md); color: #333; line-height: 1.45; padding: 3px 0; outline: none; }
.nr-add { height: 44px; border-radius: var(--ev-r-md); border: 1.5px dashed var(--ev-dash); background: var(--ev-bg); font-size: var(--ev-fs-base); font-weight: 700; color: var(--ev-text); }
.nr-go { height: var(--ev-btn-h); border-radius: var(--ev-r-lg); background: var(--ev-black); color: #fff; font-size: var(--ev-fs-xl); font-weight: 700; }
.nr-go:disabled { opacity: .4; }
.nr-n { font-size: var(--ev-fs-xs); color: var(--ev-text-3); text-align: center; }
/* 3j Abonnés */
.sheet.full.sheet-ab { background: #f4f5f4; }
.cz-st button { font: inherit; color: inherit; padding: 0; }
.ab { display: flex; flex-direction: column; gap: 14px; }
.ab-h { display: flex; align-items: center; gap: 10px; }
.ab-h button { width: 42px; height: 42px; border-radius: 21px; background: #fff; font-size: 18px; flex: none; }
.ab-h h1 { flex: 1; margin: 0; font-size: 22px; font-weight: 800; }
.ab-s { height: 46px; border-radius: 14px; background: #fff; display: flex; align-items: center; padding: 0 14px; }
.ab-s input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; height: 100%; padding: 0; }
.ab-c { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.ab-r { display: flex; gap: 12px; align-items: center; }
.ab-r > span { width: 44px; height: 44px; border-radius: 22px; background: #e6e8e6; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #555; }
.ab-r > span img { width: 100%; height: 100%; object-fit: cover; }
.ab-r > div { flex: 1; min-width: 0; cursor: pointer; }
.ab-r b { font-size: 14px; display: block; }
.ab-r small { font-size: 12px; color: #555; }
.ab-r button { height: 34px; padding: 0 14px; border-radius: 17px; background: #111; color: #fff; font-size: 12px; font-weight: 700; }
.ab-r button.on { border: 1.5px solid #e0e2e0; background: #fff; color: var(--ev-text); }
.ab-e { text-align: center; color: #555; font-size: 14px; }
/* 3i Mon profil */
.mi { display: flex; flex-direction: column; gap: 14px; min-height: 100%; background: #f4f5f4; padding: calc(16px + var(--safe-t, 0px)) 16px calc(24px + var(--safe-b, 0px)); box-sizing: border-box; flex: 1 0 auto; }
.mi-h { display: flex; align-items: center; gap: 10px; }
.mi-h > button:first-child { width: 42px; height: 42px; border-radius: 21px; background: #fff; font-size: 18px; flex: none; }
.mi-h h1 { flex: 1; margin: 0; font-size: 22px; font-weight: 800; }
.mi-e { height: 40px; padding: 0 12px; border-radius: 14px; background: #fff; font-size: 13px; font-weight: 700; }
.mi-p { display: flex; align-items: center; gap: 14px; }
.mi-av { width: 72px; height: 72px; border-radius: 36px; background: var(--y); font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; cursor: pointer; }
.mi-av img { width: 100%; height: 100%; object-fit: cover; }
.mi-p > div > b { font-size: 18px; }
.mi-n { display: flex; gap: 14px; margin-top: 6px; font-size: 12px; color: #555; flex-wrap: wrap; }
.mi-n b { color: #111; } .mi-n button { font: inherit; color: inherit; padding: 0; }
.mi-tabs { display: flex; background: #e9ebe9; border-radius: 14px; padding: 3px; }
.mi-tabs button { flex: 1; height: 38px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.mi-tabs button.on { background: #fff; }
.mi-c { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 24px rgba(17,24,20,.06); }
.mi-r { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.mi-r > span { width: 56px; height: 56px; border-radius: 12px; background: #e6e8e6; flex: none; overflow: hidden; display: flex; }
.mi-r > span img { width: 100%; height: 100%; object-fit: cover; } .mi-r > span img.is-logo { object-fit: contain; padding: 6px; }
.mi-r > div { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mi-r b { font-size: 13px; } .mi-r small { font-size: 11px; color: #555; }
.mi-r em { font-style: normal; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.mi-go { margin-top: auto; height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; }
/* 25 Oct: Hours, official creator — verified badge (small Everyday logo) next to her name */
.vbadge { display: inline-block; height: 1.05em; width: auto; vertical-align: -0.15em; margin-left: 4px; }
.cz-n .vbadge { height: 22px; vertical-align: -3px; margin-left: 6px; }
.cz-off { display: block; text-align: center; font-size: 12px; font-weight: 700; color: var(--g); margin-top: 2px; }

/* 6 Nov (Mervyn « insister pour devenir créateur »): empty « Recettes » tab of my profile = invitation card. */
.cr-inv { margin: 8px 0 0; background: var(--y); border-radius: var(--ev-r-xl); padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.cr-inv img { width: 64px; height: auto; }
.cr-inv b { font-size: 22px; line-height: 1.2; font-weight: 800; }
.cr-inv ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cr-inv li { position: relative; padding-left: 26px; font-size: var(--ev-fs-base); line-height: 1.35; }
.cr-inv li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 9px; background: #111; color: var(--y); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cr-inv button { height: 48px; border: 0; border-radius: 999px; background: #111; color: #fff; font: inherit; font-weight: 700; font-size: var(--ev-fs-md); margin-top: 4px; }
.cr-inv small { font-size: var(--ev-fs-sm); color: rgba(0,0,0,.65); text-align: center; }

/* 10 Nov: heart button (same as the recipe cards) on the creator's recipes */
.cx-gp { position: relative; }
.cx-lr .cx-lk { position: relative; top: auto; right: auto; flex: none; box-shadow: none; background: var(--ev-surface-2, #f2f3f2); }
.phf { display: flex; align-items: center; border: 1.5px solid var(--ln); border-radius: 16px; background: var(--card); overflow: hidden; }
.phf span { padding: 0 10px 0 14px; font-weight: 800; font-size: 14px; white-space: nowrap; border-right: 1.5px solid var(--ln); }
.phf input[type=tel] { border: 0; border-radius: 0; font-weight: 700; letter-spacing: .06em; }
.iq { text-align: center; }
.iq-who { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--tile); border-radius: 18px; padding: 8px 10px; }
.iq-who .fig { width: 44px; height: 44px; border-radius: 50%; background: var(--card); }
.iq-who b { display: block; font-size: 16px; }
.iq-who small { color: var(--mu); font-size: 12px; }
.iq-qr { width: min(220px,60vw); margin: 16px auto 10px; padding: 12px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 2px var(--g),0 10px 24px rgba(2,70,46,.15); }
.iq-qr svg { display: block; width: 100%; height: auto; }
.iq-t { display: block; font-size: 18px; margin-bottom: 2px; }
.iq-code { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin-top: 12px; }
.iq-code small { color: var(--mu); font-size: 12px; }
.iq-code b { font-size: 18px; letter-spacing: .12em; }
.iq-sms { margin-top: 8px; font-size: 13px; background: #eef6f1; border-radius: 12px; padding: 8px 10px; }
.jn { text-align: center; }
.jn .phf { text-align: left; }
.jn-fam { display: flex; justify-content: center; gap: 2px; margin: 4px 0 6px; }
.jn-fam .fig { width: 52px; height: auto; }
.jn-fam .fig.kid { width: 42px; }
.jn-i { font-size: 44px; display: block; margin: 6px 0; }
.jn-code { text-align: center; font-size: 28px; letter-spacing: .5em; font-weight: 800; margin: 14px 0 6px; }
.flm { display: inline-block; margin-left: 3px; font-family: "Plus Jakarta Sans",system-ui,sans-serif; font-size: 11px; font-weight: 800; color: #e8590c; background: #fff1e6; border-radius: 999px; padding: 1px 6px; vertical-align: middle; }
.flm.dim { filter: grayscale(1); opacity: .6; }
.stk { margin-top: 14px; background: linear-gradient(135deg,#fff4e6,#ffe8d6); border-radius: 20px; padding: 14px; }
.stk-h { display: flex; align-items: center; gap: 10px; }
.stk-f { font-size: 34px; }
.stk-h b { font-size: 30px; font-weight: 800; color: #d9480f; }
.stk-h span { font-weight: 700; }
.stk-h small { display: block; color: var(--mu); font-size: 12px; font-weight: 700; }
.stk-d { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; margin-top: 10px; }
.stk-d i { font-style: normal; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.stk-d em { width: 30px; height: 30px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 15px; box-shadow: inset 0 0 0 1.5px #f3d3b8; }
.stk-d i.on em { background: #ffd8a8; box-shadow: none; }
.stk-d i.td em { box-shadow: inset 0 0 0 2px #e8590c; }
.stk-d small { font-size: 10px; color: var(--mu); font-weight: 700; }
.stk p { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #a5400a; }
.fm { display: flex; flex-direction: column; align-items: center; flex: 0 0 70px; }
.fm .fig { width: 66px; height: auto; }
.fm .fig.kid { width: 54px; }
.invrel { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.ir { display: flex; flex-direction: column; align-items: center; background: var(--tile); border-radius: 16px; padding: 8px 4px 6px; border: 2px solid transparent; }
.ir.on { border-color: var(--g); background: #eef6f1; }
.ir .fig { width: 44px; height: auto; }
.age { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; font-size: 14px; text-align: left; }
.mhead { display: flex; align-items: center; gap: 14px; }
.mhead .fig { width: 70px; }
.famdeco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fam-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-top: 34px; z-index: 1; }
.fm b { font-family: "Gochi Hand",cursive; font-size: 18px; font-weight: 400; color: #3b2a20; margin-top: 0; }
.fm small { font-family: "Gochi Hand",cursive; font-size: 14px; color: #6b5a4a; }
.fmadd span { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed #bdb39a; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #8b8068; margin-bottom: 28px; border-color: #9b8a6a; background: #fffdf4; font-family: "Gochi Hand",cursive; }
.fmadd small { font-family: "Gochi Hand",cursive; font-size: 14px; }
.fam p { position: relative; background: rgba(255,253,244,.85); border-radius: 10px; padding: 4px 6px; margin: 8px 4px 0; }
.ir small { font-family: "Gochi Hand",cursive; font-size: 15px; font-weight: 400; }
.ck { position: relative; flex: 0 0 168px; height: 306px; border-radius: 30px; background: var(--kc); color: #fff; padding: 12px 12px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; overflow: hidden; }
.ck b { font-size: 17px; font-weight: 800; line-height: 1.1; margin-top: 8px; letter-spacing: -.02em; }
.ck small { font-size: 11px; opacity: .85; margin-top: 3px; }
.fam { padding: 16px 10px 14px; position: relative; overflow: hidden; background: #fffdf4; border-radius: 28px; border: 0; background-color: #a8d58a; background-image: repeating-radial-gradient(circle at 100% 0,rgba(255,255,255,.25) 0 2px,transparent 2px 16px); }
.fam::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px; border-radius: 50%; display: none; background: rgba(255,255,255,.35); }
.fmadd>span { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.fseg { margin: 8px 0 10px; }
.fseg em { font-style: normal; font-size: 12px; font-weight: 800; background: #f1f1ee; color: #555; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.fseg .on em { background: #e6f4ea; color: var(--g); }
.ikind { margin: 6px 0 6px; }
.ik-n { font-size: 12.5px; margin: 0 0 6px; }
.fam.frs { background: #e6f4ea; padding: 16px 14px 14px; min-height: 0; }
.frs-g { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px 6px; }
.frb { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; }
.frb b { font-size: 12.5px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frb small { font-size: 11px; color: #3d5a4a; font-weight: 700; }
.frb-add span { width: 62px; height: 62px; border-radius: 50%; border: 2px dashed #8fbf9f; display: flex; align-items: center; justify-content: center; color: var(--g); background: rgba(255,255,255,.5); }
.frs-e { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--g); text-align: center; }
.frs-n { font-size: 12px; line-height: 1.4; margin: 10px 0 0; }
.age .ck { display: flex; align-items: center; justify-content: center; font-size: 13px; position: static; flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border-radius: 7px; background: var(--card); border: 2px solid #bbb; color: #fff; overflow: visible; cursor: inherit; }
.age.on .ck { background: var(--g); border-color: var(--g); }
.pds { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.pds-l { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: #555; }
.pds-l .ic { width: 16px; height: 16px; }
.pds-r { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 2px; -webkit-mask-image: linear-gradient(90deg,#000 88%,transparent); mask-image: linear-gradient(90deg,#000 88%,transparent); }
.pds-r::-webkit-scrollbar { display: none; }
.pds-b { position: relative; flex: 0 0 52px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pds-b small { font-size: 11px; font-weight: 700; max-width: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pds-f { position: absolute; top: -4px; right: 0; font-style: normal; font-size: 10px; font-weight: 800; background: var(--card); border-radius: 999px; padding: 0 4px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.pds-add span { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed #b9c7be; display: flex; align-items: center; justify-content: center; color: var(--g); }
.th-go { margin-top: 12px; }
.th-pend { margin-top: 12px; background: #fff4cc; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.th-pend b { font-size: 14px; color: #5a4200; }
.th-pend small { font-size: 12px; color: #8a6a00; font-weight: 700; }
.iq-sms { text-decoration: none; color: inherit; display: block; }

/* Famille & amis = design 5a (24 Oct) */
.fz { min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; padding: 16px 16px 40px; /* 26 Oct: same as Budget — status-bar space only once */ line-height: normal; color: var(--ev-text); }
.fz .pg-h .fz-code { height: 40px; padding: 0 12px; border-radius: var(--ev-r-md); background: var(--ev-bg); font-size: var(--ev-fs-md); font-weight: 700; color: var(--ev-text); width: auto; font-size: var(--ev-fs-md); }
.fz-seg { display: flex; background: #e9ebe9; border-radius: var(--ev-r-md); padding: 4px; gap: 4px; }
.fz-seg button { flex: 1; height: 40px; border-radius: 11px; font-size: var(--ev-fs-base); font-weight: 600; color: var(--ev-text-2); } .fz-seg button.on { background: var(--ev-bg); font-weight: 700; color: var(--ev-text); }
.fz-c { background: var(--ev-bg); border-radius: var(--ev-r-3xl); padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--ev-shadow-card); }
.fz-ch { display: flex; justify-content: space-between; align-items: center; } .fz-ch b { font-size: var(--ev-fs-xl); }
.fz-ch span { height: 28px; padding: 0 10px; border-radius: 14px; background: var(--ev-yellow-soft); font-size: var(--ev-fs-sm); font-weight: 800; display: flex; align-items: center; }
.fz-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.fz-p { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ev-text); min-width: 0; }
.fz-p > span { width: 58px; height: 58px; border-radius: 29px; font-size: var(--ev-fs-h2); font-weight: 800; display: flex; align-items: center; justify-content: center; overflow: hidden; box-sizing: border-box; }
.fz-p > span.me { border: 2.5px solid var(--y); } .fz-p > span img { width: 100%; height: 100%; object-fit: cover; }
.fz-p > span.add { border: 1.5px dashed #b9bdb9; font-size: 22px; font-weight: 400; background: none; }
.fz-p b { font-size: var(--ev-fs-sm); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fz-p small { font-size: 10px; color: var(--ev-text-3); }
.fz-n { font-size: var(--ev-fs-sm); color: var(--ev-text-2); }
.fz-sa { width: 40px; height: 40px; border-radius: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.fz-st { font-size: var(--ev-fs-md); }
.fz-add { height: 32px; padding: 0 12px; border-radius: 16px; background: var(--ev-black); color: #fff; font-size: var(--ev-fs-sm); font-weight: 700; flex: none; }
/* 5u Inviter dans mon foyer : rôle */
.ur { display: flex; flex-direction: column; gap: 14px; text-align: left; position: relative; }
.ur-x { position: absolute; top: -4px; right: 0; width: 36px; height: 36px; border-radius: 18px; background: #f4f5f4; color: #111; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; } /* 26 Oct: a way out even where the phone has no Back (installed iPhone app) */
.ur-t { padding-right: 44px; }
.ur-t { font-size: 21px; line-height: 1.2; }
.ur > span { font-size: 14px; color: #555; line-height: 1.5; }
.ur-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ur-g button { height: 48px; border-radius: 14px; border: 1.5px solid #e0e2e0; font-size: 14px; font-weight: 700; }
.ur-g button.on { border: 2px solid var(--y); background: #fffbea; }
.ur small { font-size: 12px; color: #555; }
.ur-go { height: 54px; border-radius: 16px; background: #111; color: #fff; font-size: 16px; font-weight: 700; }
.ur-go:disabled { opacity: .4; }
.ur-alt { height: 40px; font-size: 14px; font-weight: 700; color: #555; }
/* 25 Oct: blue invite card */
.fz-p > span.add { color: #555; }
.fz-inv { background: #e2eaf8; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.fz-inv-i { width: 72px; height: 72px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; }
.fz-inv-i svg { width: 36px; height: 36px; fill: none; stroke: #111; stroke-width: 1.8; }
.fz-inv b { font-size: 17px; }
.fz-inv > span:not(.fz-inv-i) { font-size: 13px; color: #555; }
.fz-inv button { margin-top: 6px; height: 48px; width: 100%; border-radius: 16px; background: #111; color: #fff; font-size: 15px; font-weight: 700; }
/* 9 Nov: invite in one screen, roles as pills; yellow = me, black = the invitee */
.ur .ur-g { display: flex; flex-wrap: wrap; gap: 6px; }
.ur .ur-g button { height: 36px; padding: 0 13px; border-radius: 999px; font-size: 13px; }
.ur .ur-g button.on { border: 1.5px solid var(--ink, #141513); background: var(--ink, #141513); color: #fff; }
.ur .ur-me button.on { border-color: var(--y); background: var(--y); color: #141513; }
.ur-l { display: block; font-size: 11.5px; font-weight: 800; color: #6e6e73; text-transform: uppercase; letter-spacing: .4px; margin: 14px 0 6px; }
.ur-me1 { display: flex; align-items: center; justify-content: space-between; background: #f6f6f3; border-radius: 14px; padding: 10px 12px; font-size: 13px; margin-top: 12px; }
.ur-me1 button { font-weight: 800; text-decoration: underline; font-size: 13px; }
.ur-16 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; margin-top: 8px; }
.ur-16 span { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #d0d0cc; display: grid; place-items: center; font-weight: 800; }
.ur-16.on span { background: var(--y); border-color: var(--y); }
.ntc-h h2 { margin: 0; }
.nt small { display: block; font-size: 12px; color: var(--mu); margin-top: 2px; }
.nt-p { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.ntc-h { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.ntc-n { background: var(--y); color: var(--g); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.ntc-mr { display: inline-flex; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--g); background: #e3f4ea; border-radius: 999px; padding: 6px 12px; }
.ntc h4 { color: var(--mu); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; margin: 18px 0 8px; }
.nt { display: flex; gap: 12px; width: 100%; text-align: left; font-size: 14px; line-height: 1.35; position: relative; background: var(--card); border: 1px solid var(--ln,#eee); border-radius: 18px; padding: 12px; margin-bottom: 8px; align-items: flex-start; }
.nt.new { background: #f2faf5; border-color: #cfe9d9; }
.nt.new::after { content: ""; position: absolute; right: 12px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #1d8a4c; }
.nt-i { flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; width: 44px; height: 44px; border-radius: 14px; }
.wpc { background: #f3f6f4; border: 1px solid #e3ebe6; border-radius: 18px; padding: 14px; margin: 4px 0 14px; }
.wpc>b { display: block; font-size: 15px; margin-bottom: 4px; }
.wpc .wp-on { margin: 0; }
.wp-ok { display: inline-block; background: var(--g); color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; margin: 4px 0 2px; }
.wp-t { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.wp-t button { background: var(--y); color: var(--g); font-weight: 800; font-size: 13px; padding: 11px 4px; border-radius: 14px; }
.wp-off { display: block; margin: 12px auto 0; font-size: 12.5px; color: #666; text-decoration: underline; background: none; }
.wp-err { margin: 10px 0 0; font-size: 12.5px; font-weight: 700; color: #b3261e; background: #fdecea; border-radius: 12px; padding: 8px 10px; line-height: 1.35; word-break: break-word; }
/* iPhone « add to the Home Screen » sheet (design approved 20 Oct) */
.a2-top { display: flex; gap: 14px; align-items: center; }
.a2-ic { width: 64px; height: 64px; border-radius: 16px; background: var(--y); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.12); flex-shrink: 0; }
.a2-ic img { width: 84%; }
.a2 h2 { font-size: 22px; line-height: 1.15; margin: 0 0 4px; font-weight: 800; }
.a2 p { color: var(--mu); font-size: 14px; margin: 0; }
.a2-st { margin: 18px 0 14px; background: #f5f5f2; border-radius: 20px; padding: 6px 14px; }
.a2-s { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e8e8e4; font-size: 15px; }
.a2-s:last-child { border: 0; }
.a2-n { width: 28px; height: 28px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.a2-k { display: inline-flex; align-items: center; gap: 4px; background: var(--card); border: 1.5px solid #e2e2dc; border-radius: 10px; padding: 3px 8px; font-weight: 700; font-size: 13px; vertical-align: middle; }
.a2-k svg { width: 16px; height: 16px; stroke: #0a84ff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a2-later { display: block; width: 100%; height: 46px; background: none; color: var(--mu); font-weight: 700; font-size: 15px; }
.a2-arrow { text-align: center; font-size: 26px; color: var(--y); text-shadow: 0 1px 3px rgba(0,0,0,.4); line-height: 1; }

/* bell = design 1c-notifs (full screen) */
.sheet.sheet-nz { height: 100dvh; max-height: 100dvh; border-radius: 0; padding: calc(16px + var(--safe-t, 0px)) 16px calc(16px + var(--safe-b)); display: flex; animation: none; }
.sheet.sheet-nz::before { display: none; }
.nzc { flex: 1; display: flex; flex-direction: column; gap: 16px; line-height: normal; color: var(--ev-text); }
.nzc-h { display: flex; align-items: center; gap: 10px; }
.nzc-b { width: 42px; height: 42px; border-radius: 21px; background: var(--ev-surface-2); font-size: var(--ev-fs-h3); color: var(--ev-text); flex: none; }
.nzc-h h1 { flex: 1; margin: 0; font-size: var(--ev-fs-h1); font-weight: 800; }
.nzc-r { height: 40px; font-size: var(--ev-fs-md); font-weight: 700; color: var(--g); }
.nzc-l { font-size: var(--ev-fs-sm); font-weight: 800; color: var(--ev-text-2); letter-spacing: 0.06em; text-transform: uppercase; }
.nzc-e { color: var(--ev-text-2); text-align: center; margin: 40px 0; }
.nz { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--ev-r-lg); text-align: left; color: var(--ev-text); margin-top: -4px; }
.nz.new { background: #f6faf8; }
.nz-i { width: 44px; height: 44px; border-radius: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.nz > div { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: var(--ev-fs-base); }
.nz-s { font-size: var(--ev-fs-md); color: var(--ev-text-2); } .nz-t { font-size: var(--ev-fs-xs); color: var(--ev-text-3); }
.nz > i { width: 9px; height: 9px; border-radius: 5px; background: var(--g); margin-top: 6px; flex: none; }
.nzc-s { margin-top: auto; height: var(--ev-btn-h-sm); border-radius: var(--ev-r-md); border: 1px solid var(--ev-border); background: var(--ev-bg); font-size: var(--ev-fs-base); font-weight: 700; color: var(--ev-text); }
.ap2 { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: svpop .45s cubic-bezier(.3,1.3,.5,1); }
.ap2-frame::before { content: ""; position: absolute; inset: -30px; background: var(--ci) center/cover; filter: blur(24px) brightness(.85); transform: scale(1.15); }
.ap2-frame img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.ap2-top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px; background: linear-gradient(rgba(0,0,0,.35),transparent); }
.ap2-l { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.92); color: #111; padding: 4px 8px; border-radius: 999px; }
.ap2-x { position: relative; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font: inherit; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; cursor: default; }
.ap2-x svg { position: absolute; inset: 0; width: 34px; height: 34px; transform: rotate(-90deg); }
.ap2-x circle { fill: none; stroke: var(--y); stroke-width: 3; stroke-dasharray: 94.3; stroke-dashoffset: 94.3; animation: apring 3s linear forwards; }
.ap2-x.ok { cursor: pointer; background: rgba(0,0,0,.65); }
.ap2-x.ok svg { display: none; }
.ap2-frame { position: relative; aspect-ratio: 9/16; border-radius: 24px; overflow: hidden; background: #111; box-shadow: 0 30px 70px rgba(0,0,0,.45); cursor: pointer; height: min(74dvh,calc(88vw*16/9)); }
.ap2-info { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 18px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.ap2-av { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #111; color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; }
.ap2-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ap2-who b { font-size: 15px; font-weight: 800; color: #111; }
.ap2-who small { font-size: 11.5px; color: #666; }
.ap2-call { flex-shrink: 0; border: 0; border-radius: 13px; padding: 11px 16px; background: var(--g); color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.ap2-ex { left: 50%; bottom: 10px; white-space: nowrap; font-size: 10px; font-weight: 700; color: #fff; padding: 4px 9px; border-radius: 999px; position: static; transform: none; display: inline-block; margin-top: 2px; background: rgba(0,0,0,.45); }
.evlogo { display: block; height: 100%; width: auto; }
img.evlogo { display: block; width: 100%; height: auto; object-fit: contain; }
.dc-lg { width: 54px; }
.dc-lg .evlogo { width: 100%; height: auto; display: block; }
.lead-k { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.lead-k span { background: #e6f4ea; border-radius: 16px; padding: 10px 12px; }
.lead-k b { display: block; font-size: 22px; color: var(--g); }
.lead-k small { font-size: 11.5px; color: #456; }
.lead-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.lead-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 700; color: #444; }
.lead-form input:not([type=checkbox]), .lead-form select { height: 46px; border-radius: 14px; border: 1px solid #e3e3e3; background: #fafafa; padding: 0 12px; font: inherit; font-size: 16px; font-weight: 600; color: var(--tx); width: 100%; }
.lead-ph { display: flex; align-items: center; gap: 6px; }
.lead-ph i { font-style: normal; font-weight: 800; color: #555; }
.lead-form .lead-ok { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }
.lead-ok input { width: 20px; height: 20px; accent-color: var(--g); }
.lead-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 30px 10px; }
.lead-done .dc-lg { width: 120px; }
.lead-h { padding-bottom: .22em; margin-bottom: -.22em; line-height: 1.25; display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; }
.lead-lg { display: inline-block; width: 92px; }
.lead-lg.sm { width: 70px; }
.lead-lg .evlogo { width: 100%; height: auto; display: block; }
.lead-h .lead-lg { width: 56px; }
.ap2-frame.aph { background: var(--g); display: flex; flex-direction: column; justify-content: center; align-items: stretch; cursor: pointer; }
.ap2-frame.aph::before { display: none; }
.aph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%,rgba(254,199,0,.18),transparent 60%); pointer-events: none; }
.aph .ap2-top { background: none; z-index: 3; }
.aph .ap2-l { background: rgba(255,255,255,.14); color: #fff; }
.aph-c { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 22px; color: #fff; }
.aph-lg { width: 46%; max-width: 150px; }
.aph-lg svg, .aph-lg .evlogo { width: 100%; height: auto; }
.aph-c b { font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; padding-bottom: .05em; }
.aph-c p { margin: 0; font-size: 14px; font-weight: 600; opacity: .8; line-height: 1.35; }
.aph-n { margin-top: 6px; background: rgba(255,255,255,.1); border-radius: 18px; padding: 12px 22px; display: flex; flex-direction: column; }
.aph-n strong { font-size: 30px; font-weight: 800; color: var(--y); letter-spacing: -.02em; }
.aph-n small { font-size: 12.5px; font-weight: 700; opacity: .8; }
.aph-go { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; border: 0; border-radius: 16px; padding: 15px; background: var(--y); color: var(--g); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
@keyframes apring{to{stroke-dashoffset:0}}
@keyframes svpop{from{transform:scale(.5) rotate(-10deg);opacity:0}to{transform:none;opacity:1}}
#adpop { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(6,18,13,.82); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); animation: apin .25s ease; }
html.adlock, html.adlock body { overflow: hidden; }
@keyframes apin { from { opacity: 0; } }
.ap2-call { text-decoration: none; }

/* « Annoncer sur everyday.mu »: full screen, stays still when the keyboard opens */
.sheet.lead-full { top: 0; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: calc(env(safe-area-inset-top, 0px) + 18px) 20px calc(env(safe-area-inset-bottom, 0px) + 30px); overscroll-behavior: none; }
.sheet.lead-full::before { display: none; }
/* 7 Nov: action button black (Everyday style: black buttons, green only for savings). */
.ap2-call { background: #111; }
.ap2-none { font-size: 11px; color: #666; max-width: 40%; text-align: end; }
/* 7 Nov: « Glisser pour agir » (maquette D). touch-action none = the finger drags the knob, never the page or the
   carousel (iPhone Safari and Android Chrome, pointer events). */
.slx-row { display: flex; gap: 6px; align-items: center; width: 100%; }
.slx { position: relative; flex: 1; min-width: 0; height: 36px; border-radius: 18px; background: #f2f2ee; display: flex; align-items: center; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
.slx-f { position: absolute; left: 0; top: 0; bottom: 0; width: 34px; border-radius: 18px; background: var(--y); }
.slx-k { position: absolute; left: 4px; top: 4px; width: 28px; height: 28px; border-radius: 14px; background: #111; color: var(--y); display: inline-flex; align-items: center; justify-content: center; z-index: 1; }
.slx:not(.on) .slx-k, .slx:not(.on) .slx-f { transition: transform .25s cubic-bezier(.3,1.4,.5,1), width .25s ease; }
.slx-t { flex: 1; padding: 0 30px 0 38px; text-align: center; font-size: 12px; font-weight: 700; color: #555; position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slx-a { position: absolute; right: 8px; color: #bbb; display: inline-flex; animation: slxA 1.6s ease-in-out infinite; }
@keyframes slxA { 0%, 100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(4px); opacity: 1; } }
.slx.hint .slx-k { animation: slxH .6s ease; }
@keyframes slxH { 40% { transform: translateX(26px); } 100% { transform: translateX(0); } }
.slx-2 { flex: none; width: 36px; height: 36px; border-radius: 18px; border: 0; background: #111; color: var(--y); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ap2-act { padding: 10px 0 0; } .ap2-act .slx { background: rgba(255,255,255,.92); }
@media (prefers-reduced-motion: reduce) { .slx-a { animation: none; } }
/* 7 Nov (Mervyn 11:26): a small intro shows the gesture — the knob slides right and back twice when the slide
   appears, the yellow track follows. Stops at once when touched (.on), never with « reduce motion ». */
.slx .slx-k { animation: slxIn 1.3s cubic-bezier(.4,0,.2,1) .7s 2; }
.slx .slx-f { animation: slxInF 1.3s cubic-bezier(.4,0,.2,1) .7s 2; }
@keyframes slxIn { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(46px); } 60% { transform: translateX(46px); } }
@keyframes slxInF { 0%, 100% { width: 34px; } 45%, 60% { width: 80px; } }
.slx.on .slx-k, .slx.on .slx-f, .slx.hint .slx-f { animation: none; }
@media (prefers-reduced-motion: reduce) { .slx .slx-k, .slx .slx-f { animation: none; } }
.ap2-info { flex-wrap: wrap; } .ap2-act { flex-basis: 100%; padding: 8px 0 0; }

/* 7 Nov: full ad view v2 (maquette « Vue pub plein écran »): 14 px corners, story header, title + text on a dark fade. */
.ap2-frame.ap3 { border-radius: 14px; touch-action: none; transition: transform .2s ease; }
.ap3-top { position: absolute; left: 0; right: 0; top: 0; padding: 10px 12px 28px; background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,0)); z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.ap3-bar { height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.ap3-bar i { display: block; height: 100%; width: 0; background: #fff; animation: ap3bar 5s linear forwards; }
.ap3.paused .ap3-bar i { animation-play-state: paused; }
@keyframes ap3bar { to { width: 100%; } }
.ap3-h { display: flex; align-items: center; gap: 10px; color: #fff; }
.ap3-av { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 2px solid #fff; box-sizing: border-box; background: #111; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ap3-av img { width: 100%; height: 100%; object-fit: cover; }
.ap3-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.ap3-who b { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap3-who small { font-size: 11px; opacity: .85; }
.ap3 .ap2-x { background: none; }
.ap3-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 16px 14px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.8)); color: #fff; display: flex; flex-direction: column; gap: 8px; z-index: 2; cursor: default; }
.ap3-t { font-size: 22px; line-height: 1.15; font-weight: 800; }
.ap3-p { margin: 0; font-size: 13px; line-height: 1.4; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ap3-act { margin-top: 6px; }
.ap3 .slx { height: 46px; border-radius: 10px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); box-sizing: border-box; }
.ap3 .slx-f { border-radius: 10px; background: rgba(254,199,0,.55); width: 44px; top: -1px; bottom: -1px; left: -1px; }
.ap3 .slx-k { width: 38px; height: 38px; border-radius: 8px; top: 3px; left: 3px; background: var(--y); color: #111; }
.ap3 .slx-t { color: #fff; font-size: 14px; font-weight: 800; padding-left: 48px; }
.ap3 .slx-a { color: rgba(255,255,255,.7); }
.ap3 .slx-2 { width: 46px; height: 46px; border-radius: 10px; background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.ap3 .ap2-none { color: rgba(255,255,255,.75); max-width: none; text-align: start; }
.ap3-hint { text-align: center; font-size: 10px; opacity: .6; }
@keyframes ap3In { 45%, 60% { transform: translateX(56px); } }
@keyframes ap3InF { 45%, 60% { width: 100px; } }
.ap3 .slx .slx-k { animation-name: ap3In; } .ap3 .slx .slx-f { animation-name: ap3InF; }
@media (prefers-reduced-motion: reduce) { .ap3-bar i { animation: none; width: 100%; } }
.ap3 img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; } #adpop:has(.ap3) { touch-action: none; }

/* 9 Nov: « Demander un devis » sheet, 3 points */
.lead-pts { margin: 12px 0 4px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: var(--ev-fs-sm, 14px); line-height: 1.45; }

/* 18 Nov: ad without button → round ✕ at the bottom centre (Mervyn « facile pour closed ») */
.ap3-act:has(.ap3-xb) { display: flex; justify-content: center; }
.ap3-xb { width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.ap3-xb:active { transform: scale(.94); }
#arr .push { cursor: pointer; }
.arr-bar { height: 3px; background: #eee; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.arr-bar i { display: block; height: 100%; background: var(--g); animation: arrbar 4.5s linear forwards; }
#welcome .slogo { width: 96px; height: 96px; border-radius: 26px; border: 0; box-shadow: 0 12px 40px rgba(0,0,0,.35); animation: wpop .6s cubic-bezier(.2,.9,.3,1.3); }
.steps { display: flex; flex-direction: column; margin-top: 8px; }
.st { display: flex; gap: 12px; align-items: center; padding: 7px 0; font-size: 14px; color: var(--mu); font-weight: 600; }
.st i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ln); flex-shrink: 0; }
.st.done { color: var(--tx); font-weight: 800; }
.st.done i { background: var(--ok); border-color: var(--ok); }
.push { background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 22px; padding: 12px 14px; box-shadow: 0 14px 40px rgba(0,0,0,.22); animation: pushin .5s cubic-bezier(.2,.9,.3,1.2); }
@media (prefers-reduced-motion:reduce) { .push { animation: none; } }
.push.arrp { display: block; background: var(--g); color: #fff; border-radius: 26px; padding: 14px 16px 12px; box-shadow: 0 18px 44px rgba(2,70,46,.35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.arrp-x { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; }
.arrp-x svg { width: 14px; height: 14px; }
.arrp-m { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.arrp-lg { position: relative; flex-shrink: 0; }
.arrp-lg .slogo { width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.arrp-lg i { position: absolute; right: -8px; top: -10px; font-style: normal; font-size: 20px; animation: pinb 1s ease-in-out infinite; }
.arrp-m small { display: block; font-size: 12px; opacity: .8; font-weight: 600; }
.arrp-m b { display: block; font-size: 20px; line-height: 1.1; letter-spacing: -.01em; }
.arrp-m span { font-size: 13px; color: var(--y); font-weight: 700; }
.arrp-s { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 12px; }
.arrp-s div { background: rgba(255,255,255,.1); border-radius: 14px; padding: 8px 12px; }
.arrp-s small { display: block; font-size: 11px; opacity: .75; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.arrp-s b { font-size: 18px; }
.arrp-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12.5px; }
.arrp-cta span { opacity: .85; line-height: 1.25; }
.arrp-cta b { flex-shrink: 0; background: var(--y); color: var(--g); border-radius: 999px; padding: 8px 12px; font-size: 13px; }
.arrp .arr-bar { background: rgba(255,255,255,.15); }
.arrp .arr-bar i { background: var(--y); }
.arrp-app { width: 58px; }
.arrp-h { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.arrp-now { font-size: 11.5px; opacity: .7; font-weight: 700; }
.arrp-m .arrp-app { width: 74px; flex-shrink: 0; align-self: center; }
@keyframes pinb{50%{transform:translateY(-4px)}}
@keyframes arrbar{from{width:0}to{width:100%}}
@keyframes wpop{from{transform:scale(.4);opacity:0}}
@keyframes pushin{from{transform:translateY(-130%);opacity:0}to{transform:none;opacity:1}}
#arr { position: fixed; left: 50%; top: 10px; transform: translateX(-50%); width: calc(100% - 20px); max-width: 410px; z-index: 31; }
#arr .push { cursor: pointer; }
#welcome { position: fixed; inset: 0; z-index: 40; background: var(--g); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; animation: wfade 2.4s ease forwards; }
#welcome .slogo { width: 96px; height: 96px; border-radius: 26px; border: 0; box-shadow: 0 12px 40px rgba(0,0,0,.35); animation: wpop .6s cubic-bezier(.2,.9,.3,1.3); }
#welcome small { opacity: .8; font-size: 15px; }
#welcome b { font-size: 28px; letter-spacing: -.02em; }
#welcome em { font-style: normal; background: var(--y); color: var(--tx); font-weight: 800; border-radius: 999px; padding: 8px 16px; }
@keyframes wfade { 0% { opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes wpop { from { transform: scale(.4); opacity: 0; } }
.vch { background: #fff8d6; border-radius: 20px; padding: 16px; margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.vch b { font-size: 26px; } .vch .code { font-size: 22px; letter-spacing: .12em; font-weight: 800; color: var(--g); }
/* 3 Nov (design 4i): arrival with nothing to buy here, best discount in green (a saving). */
.arrp-s .arrp-save { background: var(--ev-green-soft); }
.arrp-s .arrp-save small, .arrp-s .arrp-save b { color: var(--g); }
