/* ============================================================================
 * 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); }
.post-legende { padding: 4px 14px 14px; font-size: var(--t-s); line-height: 1.45; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.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);
}
.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; }
