/* ============================================================================
 * MYCELL — accueil en fil d'affiches + fiches à l'univers de chaque commerce
 *                                                   build mycell-2026-10-11-2
 * Accueil épuré, façon réseau social : un mot, la recherche, les catégories
 * en ronds (« stories »), puis une affiche par commerce. Toucher l'affiche
 * ouvre la fiche dans les couleurs du commerce (son « univers »).
 * ========================================================================== */

/* ─── En-tête : léger, sans grande illustration ─── */
.fil-entete { padding: 18px 2px 12px; }
#vue-explorer .resume:empty, #vue-explorer #une:empty { display: none; }
.fil-salut { font-size: var(--t-s); font-weight: 700; color: var(--bleu); }
.fil-entete h1 { margin-top: 4px; font-family: var(--font-titre); font-size: clamp(24px, 3.6vw, 32px); font-weight: 850; letter-spacing: -.6px; line-height: 1.12; text-wrap: balance; }
.fil-entete .chiffres { margin-top: 6px; font-size: var(--t-s); }

/* ─── L'accueil suit l'heure de La Réunion : html[data-moment] (noyau/app.js, toutes les 5 min) ───
 * aube 5 h–7 h 30 · matin · après-midi · soir 17 h–19 h · nuit. Thème clair : le ciel change de couleur ;
 * thème sombre : seules les lueurs changent. Le soleil (ou la lune) suit son arc en haut à droite. */
:root[data-moment="aube"]  { --teinte-a: rgba(255,153,102,.22); --teinte-b: rgba(255,120,170,.14); --moment-salut: #C2410C; }
:root[data-moment="matin"] { --teinte-a: rgba(20,184,166,.14);  --teinte-b: rgba(59,140,255,.14);  --moment-salut: var(--bleu); }
:root[data-moment="aprem"] { --teinte-a: rgba(255,200,60,.18);  --teinte-b: rgba(20,184,166,.14);  --moment-salut: #0E7F4A; }
:root[data-moment="soir"]  { --teinte-a: rgba(255,122,40,.24);  --teinte-b: rgba(168,85,247,.16);  --moment-salut: #C2410C; }
:root[data-moment="nuit"]  { --teinte-a: rgba(99,102,241,.18);  --teinte-b: rgba(20,184,166,.10);  --moment-salut: #4F46E5; }
:root[data-moment="aube"]:not([data-theme="dark"])  { --grad-ciel: linear-gradient(180deg, #FFF3EA 0%, #FCE8E4 45%, #EEE7F7 100%); }
:root[data-moment="aprem"]:not([data-theme="dark"]) { --grad-ciel: linear-gradient(180deg, #FFFBEC 0%, #EEF8F6 55%, #E3F1FB 100%); }
:root[data-moment="soir"]:not([data-theme="dark"])  { --grad-ciel: linear-gradient(180deg, #FFEBDD 0%, #F9E2EA 50%, #E8E2F7 100%); }
:root[data-moment="nuit"]:not([data-theme="dark"])  { --grad-ciel: linear-gradient(180deg, #E9ECFB 0%, #E2E6F8 55%, #DCE3F5 100%); }
@media (prefers-color-scheme: dark) {
  :root[data-moment]:not([data-theme="light"]) { --grad-ciel: linear-gradient(180deg, #0B1426 0%, #0E1B33 60%, #0B1426 100%); --moment-salut: #8FB8FF; }
}
:root[data-theme="dark"][data-moment] { --moment-salut: #8FB8FF; }
.fil-entete { position: relative; }
.fil-salut { color: var(--moment-salut, var(--bleu)); transition: color .6s ease; }
.fil-ciel { position: absolute; top: 4px; right: 0; width: 132px; height: 66px; pointer-events: none; overflow: hidden; border-radius: 0 0 0 40px; }
.fil-ciel .astre { position: absolute; left: var(--astre-x, 70%); top: var(--astre-y, 30%); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFF6C9, #FFC93C 60%, #FF9F1C); box-shadow: 0 0 0 6px rgba(255,201,60,.18), 0 0 26px 8px rgba(255,180,40,.35);
  transition: left 1.2s ease, top 1.2s ease; }
:root[data-moment="aube"] .fil-ciel .astre, :root[data-moment="soir"] .fil-ciel .astre { background: radial-gradient(circle at 40% 40%, #FFE2B8, #FF8A3D 60%, #F0532A); box-shadow: 0 0 0 7px rgba(255,120,60,.18), 0 0 30px 10px rgba(255,110,50,.35); }
:root[data-moment="nuit"] .fil-ciel .astre { background: transparent; box-shadow: inset -6px -3px 0 0 #F4F1D6, 0 0 22px 2px rgba(220,225,255,.35); transform: rotate(-20deg); }
.fil-ciel .etoiles { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background: radial-gradient(1.4px 1.4px at 18% 30%, #fff, transparent), radial-gradient(1.2px 1.2px at 42% 14%, #fff, transparent), radial-gradient(1.6px 1.6px at 64% 46%, #fff, transparent),
    radial-gradient(1.1px 1.1px at 86% 20%, #fff, transparent), radial-gradient(1.3px 1.3px at 30% 66%, #fff, transparent), radial-gradient(1px 1px at 76% 72%, #fff, transparent); }
:root[data-moment="nuit"] .fil-ciel .etoiles { opacity: 1; animation: ciel-scintille 4s ease-in-out infinite alternate; }
:root[data-moment="nuit"]:not([data-theme="dark"]) .fil-ciel { background: linear-gradient(200deg, rgba(55,65,150,.55), rgba(55,65,150,0) 75%); }
@media (prefers-color-scheme: dark) { :root[data-moment="nuit"]:not([data-theme="light"]) .fil-ciel { background: none; } }
/* thème sombre choisi, ou nuit en automatique (indépendant du téléphone) */
:root[data-theme="dark"][data-moment="nuit"] .fil-ciel { background: none; }
.fil-ciel .nuage-ciel { position: absolute; right: 18px; top: 34px; width: 42px; height: 12px; border-radius: 99px; background: rgba(255,255,255,.85);
  box-shadow: 12px -6px 0 2px rgba(255,255,255,.85); animation: ciel-derive 26s ease-in-out infinite alternate; }
:root[data-moment="nuit"] .fil-ciel .nuage-ciel { opacity: .18; }
@keyframes ciel-scintille { from { opacity: .55; } to { opacity: 1; } }
@keyframes ciel-derive { from { transform: translateX(-10px); } to { transform: translateX(8px); } }
.fil-entete > :not(.fil-ciel) { position: relative; }
.fil-entete h1, .fil-entete .chiffres { padding-right: min(28vw, 120px); }
@media (min-width: 760px) { .fil-entete h1, .fil-entete .chiffres { padding-right: 140px; } .fil-ciel { width: 170px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .fil-ciel .nuage-ciel, :root[data-moment="nuit"] .fil-ciel .etoiles { animation: none; } .fil-ciel .astre { transition: none; } }

/* ─── Recherche + bouton Filtres ─── */
#vue-explorer .recherche { padding-right: 6px; }
.bt-filtres { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--neutre-fond); color: var(--ink); font-weight: 750; font-size: var(--t-s); flex-shrink: 0; }
.bt-filtres .ic { width: 18px; height: 18px; }
.bt-filtres em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--bleu); color: #fff; font-size: 11.5px; display: grid; place-items: center; }
.bt-filtres[aria-expanded="true"], .bt-filtres.actif { background: rgba(59,140,255,.14); color: var(--bleu); }
@media (max-width: 420px) { .bt-filtres span { display: none; } .recherche-kbd { display: none !important; } }

.panneau-filtres { margin-top: 10px; padding: 4px 14px 10px; border-radius: var(--r); background: var(--carte); border: 1px solid var(--ligne); box-shadow: var(--ombre); animation: vue-entree .25s var(--ease) both; }
.panneau-filtres .puces { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
.panneau-filtres .voir-cats { margin: 6px 0 0; }

/* ─── Catégories en ronds (« stories ») ─── */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 14px var(--gout) 6px; margin: 0 calc(-1 * var(--gout)); scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gout); }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); text-decoration: none; scroll-snap-align: start; cursor: pointer; }
.story-rond { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; padding: 3px;
  background: conic-gradient(from 200deg, oklch(.72 .16 var(--h, 250)), oklch(.6 .2 calc(var(--h, 250) + 60)), oklch(.72 .16 var(--h, 250))); transition: transform .25s var(--ressort, var(--ease)); }
.story-rond::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--carte2); box-shadow: inset 0 0 0 2px var(--fond); }
.story-rond .ic { position: relative; width: 26px; height: 26px; color: oklch(var(--av-tl) var(--av-tc) var(--h, 250)); }
.story-nom { max-width: 74px; font-size: 11.5px; font-weight: 650; line-height: 1.2; text-align: center; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story:hover .story-rond { transform: scale(1.05); }
.story[aria-pressed="true"] .story-rond { background: var(--ink); }
.story[aria-pressed="true"] .story-nom { color: var(--ink); font-weight: 800; }
.story-vitrines .story-rond { background: conic-gradient(from 200deg, #F58529, #DD2A7B, #8134AF, #515BD4, #F58529); }
.story-vitrines .story-rond .ic { color: #DD2A7B; }

/* ─── Le fil ─── */
.fil-affiches { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 560px; margin: 8px auto 0; }
.fil-affiches:empty { display: none; }
/* Fluidité : un post hors de l'écran n'est ni mis en page ni peint (content-visibility) ;
   l'apparition n'anime que l'opacité et la translation, calculées par la carte graphique. */
.post { background: var(--carte); border: 1px solid var(--ligne); border-radius: 22px; overflow: hidden; box-shadow: var(--ombre);
  content-visibility: auto; contain-intrinsic-size: auto 640px; }
.post.a-reveler { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .55s var(--ease), transform .65s var(--ease); }
.post.a-reveler.vu { opacity: 1; transform: none; }
/* Image : fond doux pendant le chargement, puis fondu */
.post-visuel { position: relative; background: linear-gradient(110deg, var(--fond2) 30%, var(--carte2) 50%, var(--fond2) 70%); background-size: 300% 100%; }
.prix-pastille { position: absolute; left: 12px; bottom: 12px; padding: 7px 13px; border-radius: 99px; background: rgba(15,20,30,.62); color: #fff; font-weight: 800; font-size: var(--t-m);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vendu-par { margin-top: -8px; padding: 0 14px 14px; font-size: var(--t-xs); color: var(--ink3); }
.vendu-par b { color: var(--ink2); }

/* ─── Bas du fil : roue de chargement façon iPhone (12 rayons, seule l'opacité s'anime) ─── */
.fil-suite { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 0 34px; color: var(--ink3); font-size: var(--t-s); font-weight: 650; }
.roue { position: relative; width: 30px; height: 30px; opacity: 0; transition: opacity .25s; }
.roue i { position: absolute; left: 13.5px; top: 1px; width: 3px; height: 8px; border-radius: 2px; background: var(--ink2); transform-origin: 1.5px 14px; opacity: .2; }
.roue i:nth-child(1) { transform: rotate(0deg); animation-delay: -1.0s; } .roue i:nth-child(2) { transform: rotate(30deg); animation-delay: -.917s; }
.roue i:nth-child(3) { transform: rotate(60deg); animation-delay: -.833s; } .roue i:nth-child(4) { transform: rotate(90deg); animation-delay: -.75s; }
.roue i:nth-child(5) { transform: rotate(120deg); animation-delay: -.667s; } .roue i:nth-child(6) { transform: rotate(150deg); animation-delay: -.583s; }
.roue i:nth-child(7) { transform: rotate(180deg); animation-delay: -.5s; } .roue i:nth-child(8) { transform: rotate(210deg); animation-delay: -.417s; }
.roue i:nth-child(9) { transform: rotate(240deg); animation-delay: -.333s; } .roue i:nth-child(10) { transform: rotate(270deg); animation-delay: -.25s; }
.roue i:nth-child(11) { transform: rotate(300deg); animation-delay: -.167s; } .roue i:nth-child(12) { transform: rotate(330deg); animation-delay: -.083s; }
.fil-suite.charge .roue { opacity: 1; }
.fil-suite.charge .roue i { animation: roue 1s linear infinite; }
@keyframes roue { from { opacity: 1; } to { opacity: .2; } }
.fil-suite-texte { opacity: 0; transition: opacity .25s; }
.fil-suite.charge .fil-suite-texte { opacity: 1; }
.fil-fin { display: none; }
.fil-suite.fin .roue, .fil-suite.fin .fil-suite-texte { display: none; }
.fil-suite.fin .fil-fin { display: block; text-align: center; }
.fil-affiches:empty + .fil-suite { display: none; }
.post-tete { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.post-qui { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.post-qui .avatar { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px var(--carte), 0 0 0 4px var(--u-a, oklch(.72 .14 var(--h, 250))); }
.post-noms { min-width: 0; display: flex; flex-direction: column; }
.post-noms b { font-size: var(--t-m); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-noms small { font-size: var(--t-xs); color: var(--ink3); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-une { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; padding: 4px 9px; border-radius: 99px; background: rgba(240,180,40,.16); color: #A86A00; font-size: 11px; font-weight: 800; }
.post-une .ic { width: 13px; height: 13px; fill: currentColor; }

/* L'affiche : format portrait 4:5, comme un post */
.post-visuel { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--fond2); overflow: hidden; cursor: pointer; }
.affiche-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: transform .6s var(--ease), opacity .45s ease; }
.affiche-img.chargee { opacity: 1; }
.post-visuel:hover .affiche-img, .post-visuel:hover .affiche-dessinee { transform: scale(1.02); }

/* Affiche dessinée (commerce sans affiche) : dégradé de sa catégorie, photos ou illustration, son nom en grand */
.affiche-dessinee { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 100%; padding: 22px; text-align: left; color: #fff;
  background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.28), transparent 60%), linear-gradient(160deg, var(--g1), var(--g2)); transition: transform .6s var(--ease); }
.affiche-dessinee.teinte-univers { background: radial-gradient(120% 80% at 80% 0%, rgba(255,255,255,.3), transparent 60%), linear-gradient(160deg, var(--g1), color-mix(in srgb, var(--g1) 55%, #000)); }
.affiche-dessinee::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.42)); }
.ag-dessin { position: absolute; inset: 8% 10% 34%; display: grid; place-items: center; z-index: -1; }
.ag-dessin svg { width: 100%; height: 100%; max-width: 320px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); }
.ag-dessin .ic { width: 42%; height: auto; color: rgba(255,255,255,.92); }
.ag-photos { position: absolute; inset: 14px 14px 28%; z-index: -1; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.ag-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.ag-photos.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.ag-photos.n2 img:first-child { grid-row: 1 / 3; }
.ag-photos.n3 img:first-child { grid-row: 1 / 3; }
.ag-texte b { display: block; font-family: var(--font-titre); font-size: clamp(26px, 7vw, 36px); font-weight: 900; letter-spacing: -.6px; line-height: 1.02; text-wrap: balance; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.ag-texte small { display: block; margin-top: 6px; font-size: var(--t-m); font-weight: 700; opacity: .92; }

/* Actions sous l'affiche */
.post-actions { display: flex; align-items: center; gap: 2px; padding: 6px 8px 2px; }
.post-ic { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: none; color: var(--ink); }
.post-ic .ic { width: 24px; height: 24px; }
.post-ic:hover { background: var(--neutre-fond); }
.post-ic.fav[aria-pressed="true"] { color: var(--rouge); }
.post-etat { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding-left: 4px; overflow: hidden; white-space: nowrap; }
.post-etat .etat { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
.post-etat .etat i { display: inline-block; vertical-align: middle; margin-right: 5px; }
.post-etat .note-courte { flex-shrink: 0; }
.post-app, .post-voir { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; height: 36px; padding: 0 14px; border: 0; border-radius: 99px; font-size: var(--t-s); font-weight: 800; text-decoration: none; white-space: nowrap; }
.post-app { background: var(--u-a, linear-gradient(135deg, #E2552D, #C0352A)); color: #fff; box-shadow: 0 6px 16px -6px var(--u-a, rgba(192,53,42,.6)); }
.post-app .ic { width: 16px; height: 16px; }
.post-voir { background: var(--neutre-fond); color: var(--ink); }
/* Légende sur 2 lignes : marge (pas de padding en bas) — avec -webkit-line-clamp, un padding laisse voir le début de la 3e ligne sous la coupure */
.post-legende { margin: 4px 14px 12px; padding: 0; font-size: var(--t-s); line-height: 1.45; max-height: calc(2 * 1.45em); color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.post-legende b { color: var(--ink); font-weight: 800; }

/* Tablette et PC : un mur d'affiches */
@media (min-width: 760px) { .fil-affiches { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1300px) { .fil-affiches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stories { margin: 0; padding-left: 2px; padding-right: 2px; } }

/* ═══ Fiche dans l'univers du commerce ═══
   Les couleurs de la galerie sont redéfinies DANS la fiche seulement : tout son contenu suit. */
.fiche.univers {
  --u-f: #fffdf9; --u-t: #1f1a17;
  --fond: var(--u-f); --fond2: color-mix(in srgb, var(--u-f) 92%, var(--u-t));
  --carte: color-mix(in srgb, var(--u-f) 82%, #fff); --carte2: color-mix(in srgb, var(--u-f) 93%, var(--u-t));
  --ink: var(--u-t); --ink2: color-mix(in srgb, var(--u-t) 74%, var(--u-f)); --ink3: color-mix(in srgb, var(--u-t) 56%, var(--u-f));
  --ligne: color-mix(in srgb, var(--u-t) 12%, transparent); --neutre-fond: color-mix(in srgb, var(--u-t) 7%, transparent);
  --bleu: var(--u-a); --bleu2: var(--u-a); --accent-t: var(--u-a);
  background: var(--u-f); background-image: none; color: var(--u-t);
}
/* Univers CLAIR ouvert alors que Go est en mode nuit : les couleurs d'état restent celles du jour (contraste AA) */
.fiche.univers:not(.univers-sombre) { --ok-t: #11743A; --ok-fond: #E3F6EA; --ko-t: #B42840; --ko-fond: #FCE8EC; --or-t: #8A5F00; --or-fond: #FFF3D6; color-scheme: light; }
.fiche.univers-sombre { --u-f: #0e0d10; --u-t: #f4ecd9; --carte: color-mix(in srgb, var(--u-f) 86%, var(--u-t)); --carte2: color-mix(in srgb, var(--u-f) 90%, var(--u-t)); color-scheme: dark; }
.fiche.univers .bt-app { background: var(--u-a); box-shadow: 0 12px 26px -10px var(--u-a); }
/* Un seul bouton plein (celui de l'app) : les autres passent en sobre, dans les couleurs de l'univers */
.fiche.univers .bt-ecrire:not(.bt-app):not(.mien) { background: var(--carte); color: var(--ink); border: 1px solid var(--ligne); box-shadow: none; }
.fiche.univers .bt-ecrire:not(.bt-app):not(.mien) .ic { color: var(--u-a); }
.fiche.univers .onglets-fiche [aria-selected="true"] { color: var(--u-a); }
.fiche.univers .lien-page { --marque: var(--u-a); }
/* L'affiche en tête de fiche : floutée en fond, nette au centre */
.fiche-affiche { --h-aff: clamp(230px, 46vw, 340px); position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; height: var(--h-aff); margin: 0 calc(-1 * var(--gout)) 6px; overflow: hidden; border-radius: 0 0 26px 26px; }
.fiche-affiche::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--img) center / cover; filter: blur(26px) saturate(1.2); opacity: .85; }
.fiche-affiche img { height: calc(var(--h-aff) * .86); width: calc(var(--h-aff) * .86 * .8); max-width: none; object-fit: cover; border-radius: 18px; box-shadow: 0 22px 50px -18px rgba(0,0,0,.55); }
@media (min-width: 1000px) { .fiche-affiche { margin-left: 0; margin-right: 0; border-radius: 26px; } }

@media (prefers-reduced-motion: reduce) { .post.a-reveler { opacity: 1; transform: none; transition: none; } .affiche-img, .affiche-dessinee, .story-rond { transition: none; } }
/* Dans le panneau, les filtres passent à la ligne (rien de caché sur le côté) */
.panneau-filtres .filtres { flex-wrap: wrap; overflow: visible; margin: 0; padding: 10px 0 4px; }
.panneau-filtres .filtres > * { flex-shrink: 1; }
.panneau-filtres .filtres select { max-width: 100%; }

/* ═══ Information loyale (qui vend, comment c'est classé, comment sont les avis) ═══ */
.vendeur-info { margin: -2px 0 12px; font-size: var(--t-xs); line-height: 1.45; color: var(--ink3); }
.vendeur-info b { color: var(--ink2); }
.vendeur-info a, .avis-transparence a { color: var(--bleu); font-weight: 700; }
.avis-transparence { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 4px; font-size: var(--t-xs); line-height: 1.45; color: var(--ink3); }
.avis-transparence .ic { width: 16px; height: 16px; margin-top: 1px; }
.signaler-fiche .lien { display: inline-flex; align-items: center; gap: 6px; color: var(--ink3); font-size: var(--t-s); }
.signaler-fiche .ic { width: 16px; height: 16px; }
.sf-texte { width: 100%; margin: 10px 0 4px; padding: 10px 12px; border: 1px solid var(--ligne); border-radius: 12px; background: var(--carte2); font-size: 16px; resize: vertical; }
.panier-groupe .vendeur-info { margin: 10px 0 0; }
/* Pages légales */
.a-completer { color: #B4321E; font-weight: 700; }
.cgu-sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.cgu-sommaire a { padding: 7px 12px; border-radius: 99px; background: var(--carte); border: 1px solid var(--ligne); color: var(--ink); font-size: var(--t-s); font-weight: 700; text-decoration: none; }
.cgu-art { scroll-margin-top: 90px; }
.texte-legal ul, .texte-legal ol { padding-left: 20px; margin: 6px 0 10px; }
.texte-legal li { margin: 4px 0; }
.lien-classement { display: inline-block; margin-top: 4px; font-size: var(--t-xs); font-weight: 700; color: var(--ink3); text-decoration: underline; text-underline-offset: 3px; }

/* ═══ En-tête 16:9 animé des univers (P'tit Coin, LPM…) : l'affiche déjà en cache, mise en scène en CSS ═══ */
.fiche-affiche.hero169 { --h-aff: auto; height: auto; aspect-ratio: 16 / 9; max-height: 420px; justify-content: flex-start; gap: 4%; padding: 0 5%; background: var(--u-f, #111); }
.fiche-affiche.hero169::before { display: none; }
.hero169 .h-fond { position: absolute; inset: -12%; z-index: -2; background: var(--img) center / cover; filter: blur(22px) saturate(1.35); opacity: .9; animation: h-respire 14s ease-in-out infinite alternate; }
.hero169::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 85% 50%, transparent 20%, rgba(0,0,0,.38)), linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.42)); }
.univers:not(.univers-sombre) .hero169::after { background: radial-gradient(120% 90% at 85% 50%, transparent 30%, color-mix(in srgb, var(--u-f, #fff) 60%, transparent)); }
.hero169 .h-reflet { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 48%, transparent 60%); transform: translateX(-120%); animation: h-reflet 6s ease-in-out 1.2s infinite; }
.fiche-affiche.hero169 img.h-carte { position: relative; z-index: 1; height: 84%; width: auto; aspect-ratio: 4 / 5; max-width: 42%; object-fit: cover; border-radius: 16px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.6), 0 0 0 3px color-mix(in srgb, var(--u-a, #fff) 55%, transparent);
  transform-origin: 50% 80%; animation: h-entre .8s cubic-bezier(.34,1.56,.64,1) both, h-flotte 5.5s ease-in-out .8s infinite; }
.hero169 .h-texte { position: relative; z-index: 1; display: grid; gap: 6px; min-width: 0; color: var(--u-t, #fff); animation: h-texte .7s ease .25s both; }
.hero169 .h-texte b { font-family: var(--font-titre); font-size: clamp(20px, 6vw, 38px); line-height: 1.02; letter-spacing: -.01em; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.univers:not(.univers-sombre) .hero169 .h-texte b { text-shadow: none; color: var(--u-a); }
.hero169 .h-texte small { font-size: clamp(12px, 3.3vw, 16px); font-weight: 650; line-height: 1.35; opacity: .92; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero169 .h-parts { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero169 .h-parts i { position: absolute; bottom: -12%; left: calc(48% + var(--i) * 8.5%); font-style: normal; font-size: clamp(16px, 4.6vw, 26px); opacity: 0;
  animation: h-monte 7s linear infinite; animation-delay: calc(var(--i) * -1.15s); filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }
/* Braise (snack) : étincelles chaudes ; Couture (créatrice) : fils qui dansent doucement */
.hero169.style-braise .h-fond { filter: blur(24px) saturate(1.6) brightness(.8); }
.hero169.style-braise::after { background: radial-gradient(70% 60% at 20% 100%, rgba(225,29,34,.45), transparent 70%), linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.55)); }
.hero169.style-couture .h-parts i { animation-name: h-plume; animation-duration: 9s; }
.hero169.style-couture img.h-carte { border-radius: 50% / 40%; box-shadow: 0 18px 40px -14px rgba(120,70,40,.45), 0 0 0 4px #fff, 0 0 0 6px color-mix(in srgb, var(--u-a) 60%, transparent); }
@keyframes h-respire { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-3%, 2%); } }
@keyframes h-reflet { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }
@keyframes h-entre { from { opacity: 0; transform: translateY(18px) rotate(-6deg) scale(.86); } }
@keyframes h-flotte { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(1.5deg); } }
@keyframes h-texte { from { opacity: 0; transform: translateX(14px); } }
@keyframes h-monte { 0% { transform: translateY(0) scale(.7); opacity: 0; } 12% { opacity: .95; } 80% { opacity: .8; } 100% { transform: translateY(-260%) translateX(-18px) scale(1.05) rotate(25deg); opacity: 0; } }
@keyframes h-plume { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: .9; } 50% { transform: translateY(-130%) translateX(14px) rotate(-14deg); } 100% { transform: translateY(-260%) translateX(-10px) rotate(12deg); opacity: 0; } }
@media (min-width: 1000px) { .fiche-affiche.hero169 { margin-left: 0; margin-right: 0; } }
@media (prefers-reduced-motion: reduce) { .hero169 .h-fond, .hero169 .h-reflet, .hero169 img.h-carte, .hero169 .h-texte, .hero169 .h-parts i { animation: none !important; } .hero169 .h-parts { display: none; } }
html[data-mouvement="reduit"] .hero169 .h-fond, html[data-mouvement="reduit"] .hero169 .h-reflet, html[data-mouvement="reduit"] .hero169 img.h-carte, html[data-mouvement="reduit"] .hero169 .h-parts i { animation: none !important; }

/* ─── Fil adapté aux goûts (noyau/gout.js) : « Pourquoi je vois ça ? » ─── */
.post-pourquoi { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink3); cursor: pointer; }
.post-pourquoi .ic { width: 17px; height: 17px; }
.post-pourquoi:hover, .post-pourquoi:focus-visible { background: var(--neutre-fond); color: var(--ink); }
.gout-raison { margin: 4px 0 10px; font-size: var(--t-m); font-weight: 700; line-height: 1.45; }
.gout-actions { display: grid; gap: 8px; margin-top: 14px; }
.gout-actions .bt { justify-content: flex-start; }

/* ─── Publications Go Réseau dans le fil (0040) : thème « Aero diurne » ─── */
.badge.reseau { color: #055b66; background: linear-gradient(180deg, #e9fdff, #b8f0f3); }
.post-reseau .post-visuel { aspect-ratio: 4 / 5; }
.pr-texte { display: grid; place-items: center; width: 100%; height: 100%; padding: 28px 22px; text-align: center; color: #fff; position: relative; isolation: isolate; }
.pr-texte::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(255,255,255,.45), rgba(255,255,255,0) 45%); }
.pr-texte span { font-size: clamp(20px, 5.6vw, 26px); font-weight: 850; line-height: 1.3; text-shadow: 0 2px 10px rgba(0,40,70,.3); overflow-wrap: anywhere; }
.pr-f0 { background: linear-gradient(150deg, #5fe0e6, #0a8fb0); } .pr-f1 { background: linear-gradient(150deg, #ffd95e, #ff8a3d); }
.pr-f2 { background: linear-gradient(150deg, #ff7a59, #c6283b); } .pr-f3 { background: linear-gradient(150deg, #9ff09a, #2f9a52); }
.pr-f4 { background: linear-gradient(150deg, #fff3c4, #e8b23a); color: #5a3a00; } .pr-f4 span { text-shadow: none; }
.pr-f5 { background: linear-gradient(150deg, #ff9bc8, #d6336c); } .pr-f6 { background: linear-gradient(150deg, #a8e2ff, #3a8dde); } .pr-f7 { background: linear-gradient(150deg, #5b5bd6, #1b1f5c); }
.pr-reac { font-size: 15px; color: var(--ink2); } .pr-reac b { color: var(--ink); }

/* ─── « Autour de moi » (carte façon Snap) : mon avatar dans la bulle ─── */
.story-autour .story-rond { background: conic-gradient(from 120deg, #2EA8E6, #13C4A3, #FFD95E, #FF7A59, #2EA8E6); }
.story-autour .sa-av { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #fff8d6, #ffd95e 70%); border: 2px solid var(--fond, #fff); }
.story-autour .sa-av .myc-avatar { transform: translateY(5px) scale(1.18); }
.story-autour .sa-pin { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-size: 12px; font-style: normal; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
/* Fiche : bouton « Profil » (Go Réseau) dans la rangée d'actions */
.actions .action.profil { color: #0a8fb0; }
html[data-theme="dark"] .actions .action.profil { color: #5fe0e6; }

/* ─── Actus dans le fil : « À la une » (offre 0053), vidéo, audio, produit, magazine ─── */
.post-a-la-une { box-shadow: 0 0 0 2px rgba(240,180,40,.55), 0 10px 28px rgba(240,180,40,.18); }
.post-reseau .post-visuel { position: relative; }
.pr-lecture { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; padding-left: 4px; pointer-events: none; }
.pr-joints { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.pr-joint { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 12px; background: var(--fond2, rgba(0,0,0,.05)); color: var(--ink); font-size: 13px; text-decoration: none; max-width: 100%; }
.pr-joint b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16ch; }
.pr-produit .mini-bt { margin-left: 4px; }
.pr-mag { font-weight: 700; }

/* ─── Comme sur les réseaux (20-4) : vidéo qui se lance seule, ❤️ sur place, double toucher ─── */
.pr-vid { background: #000; cursor: default; }
.pr-vid video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.vid-son { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 17px; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pr-coeur { position: absolute; inset: 0; margin: auto; width: 110px; height: 110px; display: grid; place-items: center; font-size: 92px; font-style: normal; line-height: 1; pointer-events: none; opacity: 0; transform: scale(.3); filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); z-index: 3; }
.pr-coeur.go { animation: pr-coeur .9s cubic-bezier(.2,.9,.3,1.3) forwards; }
@keyframes pr-coeur { 0% { opacity: 0; transform: scale(.3); } 15% { opacity: 1; transform: scale(1.15); } 30% { transform: scale(.95); } 45% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1) translateY(-14px); } }
.pr-barre { display: flex; align-items: center; gap: 4px; }
.pr-bt { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 99px; background: transparent; color: var(--ink); font: inherit; font-size: 20px; cursor: pointer; transition: transform .12s; }
.pr-bt b { font-size: 14px; font-weight: 800; }
.pr-bt:active { transform: scale(.88); }
.pr-aime.on { animation: pr-pop .35s ease; }
@keyframes pr-pop { 50% { transform: scale(1.25); } }
.pr-barre .pr-reac { margin-left: auto; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .pr-coeur.go { animation-duration: .01s; } .pr-aime.on { animation: none; } }

/* ═══ Stories 24 h, Clips plein écran, tirer pour rafraîchir (20-5) ═══ */
.story-pro .story-rond { background: conic-gradient(from 210deg, #F58529, #DD2A7B, #8134AF, #515BD4, #F58529); }
.story-pro.vue .story-rond { background: var(--ligne, #c8d2dc); }
.story-pro .story-rond img, .story-moi .story-rond img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--fond); }
.sp-ini { position: relative; font-weight: 900; font-size: 19px; color: var(--ink); }
.story-moi .story-rond { background: var(--carte2); }
.sm-plus { position: absolute; right: -1px; bottom: -1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #1E88FF; color: #fff; font-style: normal; font-weight: 900; font-size: 16px; line-height: 1; border: 2px solid var(--fond); }
.story-clips .story-rond { background: conic-gradient(from 200deg, #00F2EA, #FF0050, #00F2EA); }
.story-clips .sp-emo { position: relative; font-size: 24px; color: var(--ink); padding-left: 3px; }
html.couche-ouverte, html.couche-ouverte body { overflow: hidden; }

/* Lecteur de stories */
.st-voile, .cl-voile { position: fixed; inset: 0; z-index: 25; background: #000; color: #fff; opacity: 0; transition: opacity .2s ease; touch-action: none; }
.st-voile.on, .cl-voile.on { opacity: 1; }
.st-cadre { position: relative; width: min(100%, calc(100dvh * 9 / 16)); height: 100dvh; margin: 0 auto; overflow: hidden; background: #111; user-select: none; -webkit-user-select: none; }
.st-barres { position: absolute; top: calc(8px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; z-index: 3; display: flex; gap: 4px; }
.st-barres i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.st-barres i b { display: block; height: 100%; width: 0; background: #fff; }
.st-barres i.fait b { width: 100%; }
.st-tete { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); left: 8px; right: 8px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.st-qui { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; padding: 4px; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.st-qui b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .st-qui small { opacity: .8; }
.st-av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.25); font-weight: 900; font-size: 13px; }
.st-av img { width: 100%; height: 100%; object-fit: cover; }
.st-bt { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.25); color: #fff; font-size: 18px; cursor: pointer; }
.st-vues { font-size: 13px; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: rgba(0,0,0,.3); }
.st-media { position: absolute; inset: 0; display: grid; place-items: center; }
.st-media img, .st-media video { width: 100%; height: 100%; object-fit: cover; }
.st-texte { width: 100%; height: 100%; display: grid; place-items: center; padding: 28px; text-align: center; }
.st-texte p { margin: 0; font-size: clamp(24px, 7vw, 34px); font-weight: 900; line-height: 1.25; text-shadow: 0 2px 12px rgba(0,0,0,.25); overflow-wrap: anywhere; }
.st-zone { position: absolute; top: 70px; bottom: 90px; z-index: 2; border: 0; background: transparent; cursor: pointer; }
.st-avant { left: 0; width: 33%; } .st-apres { right: 0; width: 67%; }
.st-pied { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 40px 16px calc(18px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, rgba(0,0,0,.55)); display: grid; gap: 10px; justify-items: center; }
.st-legende { margin: 0; font-size: 17px; font-weight: 700; text-align: center; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.st-voir { min-height: 42px; padding: 0 20px; border: 1px solid rgba(255,255,255,.6); border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; font: inherit; font-weight: 800; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.st-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.st-tuile { display: grid; justify-items: center; gap: 4px; padding: 18px 8px; border: 1px solid var(--ligne); border-radius: 18px; background: var(--carte); color: var(--ink); font: inherit; cursor: pointer; }
.st-tuile span { font-size: 28px; font-weight: 900; } .st-tuile small { opacity: .7; font-size: 12px; text-align: center; }
.st-fonds { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.st-fonds button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.st-fonds button[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--fond) inset; }

/* Clips */
.cl-pile { height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-y; }
.cl-pile::-webkit-scrollbar { display: none; }
.cl-slide { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.cl-video { position: absolute; inset: 0; background: #000; }
.cl-video video { width: 100%; height: 100%; object-fit: cover; }
.cl-video .vid-son { top: calc(14px + env(safe-area-inset-top, 0px)); right: 62px; bottom: auto; }
.cl-fermer { position: absolute; z-index: 4; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 18px; cursor: pointer; }
.cl-titre { position: absolute; z-index: 4; top: calc(16px + env(safe-area-inset-top, 0px)); left: 16px; margin: 0; font-size: 20px; font-weight: 900; text-shadow: 0 1px 6px rgba(0,0,0,.5); pointer-events: none; }
.cl-actions { position: absolute; z-index: 3; right: 10px; bottom: calc(110px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; }
.cl-bt { display: grid; justify-items: center; gap: 2px; width: 54px; padding: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.cl-bt span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.28); font-size: 24px; transition: transform .12s; }
.cl-bt:active span { transform: scale(.85); } .cl-bt b { font-size: 13px; font-weight: 800; }
.cl-suppr-clip span { background: rgba(185,28,28,.55); } .cl-suppr-clip b { font-size: 11px; }
.cl-aime.on span { animation: pr-pop .35s ease; }
.cl-infos { position: absolute; z-index: 3; left: 0; right: 70px; bottom: 0; padding: 60px 16px calc(24px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, rgba(0,0,0,.6)); display: grid; gap: 8px; justify-items: start; }
.cl-qui { padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 15px; text-align: left; cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.cl-infos p { margin: 0; font-size: 14.5px; line-height: 1.4; text-shadow: 0 1px 4px rgba(0,0,0,.6); max-height: 4.2em; overflow: hidden; }
.cl-produit { min-height: 38px; padding: 0 14px; border: 0; border-radius: 99px; background: rgba(255,255,255,.92); color: #111; font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; }
.pr-clips { position: absolute; left: 10px; bottom: 10px; z-index: 2; min-height: 34px; padding: 0 12px; border: 0; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Tirer pour rafraîchir */
.ptr { position: fixed; left: 50%; top: calc(4px + env(safe-area-inset-top, 0px)); z-index: 12; width: 40px; height: 40px; margin-top: -48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--carte); color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: 22px; font-weight: 900; transform: translate(-50%, 0); opacity: 0; transition: opacity .15s; pointer-events: none; }
.ptr.visible { opacity: 1; } .ptr.pret { color: #1E88FF; }
.ptr.tourne span { animation: ptr-tour .8s linear infinite; } @keyframes ptr-tour { to { transform: rotate(360deg); } }
.ptr.tourne { transition: transform .2s ease, opacity .15s; }
@media (prefers-reduced-motion: reduce) { .ptr.tourne span { animation-duration: 2.4s; } }

/* ═══ « ⚡ Payer » sans quitter le fil (20-6) ═══ */
.sp { display: grid; gap: 14px; }
.sp-etapes { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: e; }
.sp-etapes li { flex: 1; padding: 6px 0 0; border-top: 3px solid var(--ligne); font-size: 12px; font-weight: 700; color: var(--ink2); counter-increment: e; }
.sp-etapes li::before { content: counter(e) ". "; }
.sp-etapes li.fait { border-color: #2FB36B; color: var(--ink); } .sp-etapes li.en-cours { border-color: #1E88FF; color: var(--ink); }
.sp-article { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--carte2); }
.sp-photo { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; overflow: hidden; background: var(--fond2); }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; } .sp-photo .ic { width: 26px; height: 26px; }
.sp-nom { flex: 1; min-width: 0; display: grid; } .sp-nom b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sp-nom small { color: var(--ink2); }
.sp-qte { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 99px; background: var(--fond); }
.sp-qte button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--carte); color: var(--ink); font-size: 18px; font-weight: 800; cursor: pointer; }
.sp-qte b { min-width: 22px; text-align: center; }
.sp-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 15px; } .sp-total b { font-size: 22px; }
.sp-remise { display: grid; gap: 8px; }
.sp-stripe { min-height: 320px; border-radius: 16px; overflow: hidden; background: #fff; }
.sp-fin { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 8px 0; }
.sp-fin h3 { margin: 4px 0 0; font-size: 22px; } .sp-fin p { margin: 0; }
.sp-ok { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #2FD47A, #18A35A); color: #fff; font-size: 38px; font-weight: 900; animation: sp-ok .45s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes sp-ok { from { transform: scale(.3); opacity: 0; } }
.st-produit { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 6px 6px 6px 14px; border-radius: 99px; background: rgba(255,255,255,.92); color: #111; font-size: 14px; max-width: 100%; }
.st-produit span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.st-payer, .cl-payer { min-height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: linear-gradient(135deg, #FFB547, #FF7A1A); color: #2b1400; font: inherit; font-weight: 900; cursor: pointer; box-shadow: 0 6px 18px rgba(255,122,26,.45); }
.st-produit .st-voir { border-color: rgba(0,0,0,.15); color: #111; background: #fff; }
.cl-achat { display: flex; gap: 8px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .sp-ok { animation: none; } }
.bt-ecrire.bt-pro { background: linear-gradient(135deg, #3B8CFF, #1E5BD8); color: #fff; border-color: transparent; }

/* ═══ 21/10 : stories bien cadrées, répondre à une story, Clips 9:16 sur PC, commentaires sur la vidéo ═══ */
.st-flou { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(28px) saturate(1.2) brightness(.7); pointer-events: none; }
.st-media .st-img, .st-media video { position: relative; }
.st-media.large .st-img, .st-media.large video { object-fit: contain; }
.st-media:not(.large) .st-flou { display: none; }
.st-repondre { display: flex; align-items: center; gap: 6px; width: 100%; max-width: 440px; }
.st-repondre input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 99px; background: rgba(0,0,0,.18); color: #fff; font: inherit; font-size: 15px; outline: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.st-repondre input::placeholder { color: rgba(255,255,255,.85); }
.st-repondre input:focus { border-color: #fff; background: rgba(0,0,0,.4); }
.st-reac { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; transition: transform .15s; }
.st-reac:active, .st-reac.go { transform: scale(1.35); }
.st-envoyer { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #111; font-size: 18px; font-weight: 900; cursor: pointer; }
.st-repondre.envoi { opacity: .6; pointer-events: none; }
.st-voile.ecrit .st-zone { pointer-events: none; }
.st-cote { display: none; }
@media (min-width: 760px) and (hover: hover) {
  .st-cadre { border-radius: 14px; height: calc(100dvh - 32px); width: min(100%, calc((100dvh - 32px) * 9 / 16)); margin-top: 16px; }
  .st-cote { display: grid; place-items: center; position: fixed; top: 50%; z-index: 4; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
  .st-cote:hover { background: rgba(255,255,255,.3); }
  .st-cote-g { left: calc(50% - (100dvh - 32px) * 9 / 32 - 72px); } .st-cote-d { right: calc(50% - (100dvh - 32px) * 9 / 32 - 72px); }
}

/* Clips : sur un écran large, une colonne 9:16 centrée (comme TikTok sur ordinateur), boutons à côté */
@media (min-width: 760px) and (min-aspect-ratio: 4/5) {
  .cl-voile { background: #0b0b0d; }
  .cl-slide { width: min(calc(100vw - 180px), calc((100dvh - 32px) * 9 / 16)); height: 100dvh; margin: 0 auto; overflow: visible; display: flex; align-items: center; }
  .cl-video { inset: 16px 0; border-radius: 14px; overflow: hidden; }
  .cl-infos { bottom: 16px; border-radius: 0 0 14px 14px; right: 0; }
  .cl-actions { right: -76px; bottom: 32px; }
  .cl-video .vid-son { top: 14px; right: 14px; }
  .cl-titre { left: 24px; top: 20px; } .cl-fermer { top: 18px; right: 22px; }
}

/* Commentaires d'un clip : panneau du bas PAR-DESSUS la vidéo (elle continue) ; à droite sur PC */
.cl-coms-voile { position: absolute; inset: 0; z-index: 5; background: rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; }
.cl-coms { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: min(70dvh, 560px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); border-radius: 20px 20px 0 0; background: var(--carte2, #fff); color: var(--ink, #111); transform: translateY(100%); transition: transform .22s cubic-bezier(.2,.8,.3,1); box-shadow: 0 -10px 40px rgba(0,0,0,.3); }
.cl-voile.coms-on .cl-coms { transform: none; } .cl-voile.coms-on .cl-coms-voile { opacity: 1; }
.cl-coms header { display: flex; align-items: center; justify-content: center; position: relative; padding: 14px 48px; border-bottom: 1px solid var(--ligne, #eee); font-size: 15px; }
.cl-coms-x { position: absolute; right: 8px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; cursor: pointer; }
.cl-coms-liste { list-style: none; margin: 0; padding: 8px 14px; overflow-y: auto; overscroll-behavior: contain; }
.cl-coms-liste li { display: flex; gap: 10px; padding: 8px 0; }
.cl-coms-liste p { margin: 0; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.cl-coms-liste small { opacity: .65; font-size: 12.5px; }
.cl-coms-liste small button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.cl-coms-liste .cl-rep { margin-top: 4px; padding-left: 8px; border-left: 2px solid var(--ligne, #ddd); opacity: .85; font-size: 13.5px; }
.cl-coms-vide { justify-content: center; padding: 30px 0 !important; opacity: .7; text-align: center; }
.cl-pastille { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: hsl(var(--h) 70% 55%); color: #fff; font-weight: 900; font-size: 12px; }
.cl-ecrire { display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ligne, #eee); }
.cl-ecrire input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--ligne, #ddd); border-radius: 99px; background: var(--fond, #f6f6f6); color: inherit; font: inherit; font-size: 15px; }
.cl-ecrire span { flex: 1; font-size: 14px; opacity: .8; }
.cl-ecrire button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--bleu, #1D6FE0); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
@media (min-width: 760px) and (min-aspect-ratio: 4/5) {
  .cl-coms { left: auto; top: 0; height: auto; width: min(420px, 34vw); border-radius: 0; transform: translateX(100%); box-shadow: -10px 0 40px rgba(0,0,0,.3); }
  .cl-coms-voile { display: none; }
  .cl-voile.coms-on .cl-fermer { right: calc(min(420px, 34vw) + 22px); }
  .cl-voile.coms-on .cl-pile { padding-right: min(420px, 34vw); }
}
@media (prefers-reduced-motion: reduce) { .cl-coms, .cl-coms-voile { transition: none; } }

/* 14/11 : signature du créateur (pied de l'accueil, À propos) */
.pied-createur { margin: 10px 0 0; text-align: center; font-size: 13px; opacity: .75; }
.pied-createur b, .ap-createur b { font-weight: 700; }
.ap-createur { margin: 12px 0 0; font-size: 15px; }
