/* Feed Maintenant V3 — mode immersif (comme videos-feed) */

html:has(body.page-maintenant--v3),
body.page-maintenant--v3 {
    overflow: hidden;
    height: 100%;
    background: #000;
}

body.page-maintenant--v3 {
    margin: 0;
}

.page-maintenant--v3 .site-footer,
.page-maintenant--v3 .app-bottom-nav,
.page-maintenant--v3 .app-nav,
.page-maintenant--v3 .active-salon-nav {
    display: none !important;
}

.fn3-shell {
    position: fixed;
    inset: 0;
    z-index: 50;
    width: 100%;
    height: 100dvh;
    height: 100svh;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fn3-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    pointer-events: none;
}

.fn3-topbar > * {
    pointer-events: auto;
}

.fn3-topbar__back {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.fn3-topbar__title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.fn3-topbar__brand {
    margin-left: auto;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.fn3-topbar__logo {
    height: 22px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}


.fn3-feed {
    flex: 1;
    width: 100%;
    min-height: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: none;
    scroll-behavior: auto;
    scroll-padding: 0;
    overscroll-behavior-y: none;
    touch-action: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fn3-feed::-webkit-scrollbar {
    display: none;
}

/* Hauteur = --fn-slide-h (JS) = hauteur exacte du feed → 1 slide = 1 viewport, pas de peek */
.fn3-shell .fn3-slide,
.fn4-shell .fn3-slide {
    position: relative;
    width: 100%;
    height: var(--fn-slide-h, 100%);
    min-height: var(--fn-slide-h, 100%);
    max-height: var(--fn-slide-h, 100%);
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    background: #111;
    isolation: isolate;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fn3-shell .fn3-feed {
    height: 100%;
    scroll-padding: 0;
}

.fn3-slide__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(120% 80% at 50% 20%, var(--fn3-accent, #ff385c) 0%, #0a0a0a 72%);
}

.fn3-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.88;
    animation: fn3-kenburns 14s ease-in-out infinite alternate;
}

.fn3-slide__fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.fn3-slide__fallback i {
    font-size: 72px;
    color: rgba(255, 255, 255, 0.28);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.fn3-slide__gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 22%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, transparent 46%);
    pointer-events: none;
}

@keyframes fn3-kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.fn3-slide__type {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 56, 92, 0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.35);
}

.fn3-slide__type--salon { background: rgba(255, 56, 92, 0.92); }
.fn3-slide__type--annonce { background: rgba(225, 29, 72, 0.9); }
.fn3-slide__type--lieu { background: rgba(31, 36, 48, 0.78); }
.fn3-slide__type--checkin,
.fn3-slide__type--member,
.fn3-slide__type--dispo { background: rgba(255, 56, 92, 0.92); }

.fn3-slide__badges {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 110px;
    right: 14px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fn3-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.fn3-badge--hot { background: rgba(255, 56, 92, 0.9); }
.fn3-badge--boosted { background: rgba(251, 191, 36, 0.9); color: #1f2430; }
.fn3-badge--partner { background: rgba(245, 158, 11, 0.95); color: #1c1917; }
.fn3-badge--sponsored { background: rgba(255, 255, 255, 0.18); }
.fn3-badge--demo { background: rgba(255, 255, 255, 0.14); }
.fn3-badge--suspicious { background: rgba(107, 114, 128, 0.85); }
.fn3-badge--premium { background: linear-gradient(135deg, #f7c948, #f0a202); color: #1f2430; }
.fn3-badge--verified { background: rgba(52, 211, 153, 0.9); color: #06281c; }
.fn3-badge--dispo { background: rgba(52, 211, 153, 0.85); color: #06281c; }

.fn3-slide__side {
    position: absolute;
    right: 8px;
    top: auto;
    bottom: 8px;
    transform: none;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

.fn3-action {
    display: grid;
    place-items: center;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 0;
    font: inherit;
    text-decoration: none;
    pointer-events: auto;
    box-shadow: none;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
}

/* FA <i> OU span.spiitz-icon (après iconizer) */
.fn3-action i,
.fn3-action .spiitz-icon {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px;
    color: inherit !important;
    line-height: 1;
}

.fn3-action .spiitz-icon__svg {
    width: 18px;
    height: 18px;
    display: block;
}

.fn3-action > span:not(.spiitz-icon) {
    display: none;
}

.fn3-action.is-liked,
.fn3-action.is-active,
.fn3-action--cta {
    background: transparent;
    color: var(--fn3-accent, #ff385c);
    box-shadow: none;
}

/* Sheet filtres feed */
.fn3-filter {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
}
.fn3-filter.is-open {
    display: block;
}
.fn3-filter[hidden] {
    display: none !important;
}
.fn3-filter__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.fn3-filter__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(78vh, 560px);
    display: flex;
    flex-direction: column;
    background: #141418;
    color: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.fn3-filter__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 8px;
}
.fn3-filter__head h2 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 750;
}
.fn3-filter__head p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
}
.fn3-filter__close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.fn3-filter__body {
    flex: 1;
    overflow: auto;
    padding: 4px 16px 12px;
}
.fn3-filter__section {
    margin: 12px 0 8px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.fn3-filter__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fn3-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    user-select: none;
}
.fn3-filter__chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.fn3-filter__chip span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.78);
}
.fn3-filter__chip input:checked + span {
    background: rgba(255, 56, 92, 0.92);
    border-color: transparent;
    color: #fff;
}
.fn3-filter__foot {
    display: flex;
    gap: 8px;
    padding: 10px 16px 0;
}
.fn3-filter__btn {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}
.fn3-filter__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.fn3-filter__btn--primary {
    background: #ff385c;
    color: #fff;
}

.fn3-slide__info {
    position: absolute;
    left: 14px;
    right: 78px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 4;
}

.fn3-slide__author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.fn3-slide__avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 900;
    background: var(--fn3-accent, #ff385c);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.fn3-slide__username {
    font-size: 15px;
    font-weight: 800;
}

.fn3-slide__open {
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.fn3-slide__caption {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.fn3-slide__sub {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.fn3-slide__meta {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.fn3-slide__hint {
    display: none !important;
}

.fn3-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 12%;
    background: #ff385c;
    z-index: 6;
    transition: width 0.25s ease;
}

.fn3-empty {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: none;
    place-items: center;
    padding: 32px;
    text-align: center;
    background: #0a0a0a;
}
.fn3-empty:not([hidden]) {
    display: grid;
}
.fn3-empty[hidden] {
    display: none !important;
}

.fn3-empty h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.fn3-empty p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.7);
}

.fn3-empty button {
    border: none;
    background: #ff385c;
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
}

@media (min-width: 768px) {
    .fn3-shell {
        align-items: center;
        background: #0a0a0a;
    }

    .fn3-feed {
        max-width: 430px;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .fn3-topbar {
        max-width: 430px;
        left: 50%;
        right: auto;
        width: 100%;
        transform: translateX(-50%);
    }

    .fn3-progress {
        max-width: 430px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========== Contenu plein slide — layout propre ========== */
.fn3-slide--content {
    display: flex;
    align-items: stretch;
    padding: 0;
    box-sizing: border-box;
}

.fn3-slide__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(90% 70% at 50% 42%, color-mix(in srgb, var(--fn3-accent, #ff385c) 42%, transparent) 0%, transparent 58%),
        linear-gradient(180deg, #0c0c10 0%, #0a0a0c 45%, #070709 100%);
}

.fn3-slide--content .fn3-slide__side {
    top: auto;
    bottom: 8px;
    transform: none;
}

.fn3-slide__bg--photo {
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.78) 100%),
        var(--fn3-photo);
    background-size: cover;
    background-position: center;
}

.fn3-slide__bg--video {
    background-color: #000;
    overflow: hidden;
}

/* Poster photo + vidéo : ne pas écraser le fond image */
.fn3-slide__bg--photo.fn3-slide__bg--video {
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.72) 100%),
        var(--fn3-photo);
    background-size: cover;
    background-position: center;
    background-color: #000;
}

.fn3-slide__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.fn3-slide__video-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
}

.fn3-slide--post.fn3-slide--has-photo .fn3-body__cite--post,
.fn3-slide--post.fn3-slide--has-photo .fn3-body__title {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* Membre / dispo avec portrait en fond : tout reste centré sur la personne,
   avatar visible, texte lisible sur la photo */
.fn3-slide--member.fn3-slide--has-photo .fn3-body__title,
.fn3-slide--member.fn3-slide--has-photo .fn3-body__search,
.fn3-slide--member.fn3-slide--has-photo .fn3-body__bio,
.fn3-slide--member.fn3-slide--has-photo .fn3-body__meta,
.fn3-slide--dispo.fn3-slide--has-photo .fn3-body__title,
.fn3-slide--dispo.fn3-slide--has-photo .fn3-body__dispo-now,
.fn3-slide--dispo.fn3-slide--has-photo .fn3-body__flash,
.fn3-slide--dispo.fn3-slide--has-photo .fn3-body__meta {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.fn3-slide--member.fn3-slide--has-photo .fn3-body__avatar,
.fn3-slide--dispo.fn3-slide--has-photo .fn3-body__avatar {
    border: 2px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

/* Icônes premium / fondateur à côté du pseudo */
.fn3-name-ico {
    margin-left: 4px;
    font-size: 0.72em;
    vertical-align: baseline;
}

.fn3-name-ico--premium { color: #fbbf24; }
.fn3-name-ico--founder { color: #34d399; }

/* Card offre : rappel du lieu (mini photo / icône + nom) */
.fn3-body__offer-place {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
}

.fn3-body__offer-place-img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.fn3-body__offer-place > i {
    width: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.fn3-body--post-media {
    justify-content: space-between;
}

.fn3-body__main--spacer {
    flex: 1;
    min-height: 0;
    margin: 0;
    width: 100%;
}

.fn3-body__foot--post-media {
    width: min(100%, 340px);
    max-width: calc(100% - 64px);
    margin: 0;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fn3-body__author {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.fn3-body__author .fn3-body__avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    margin: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: var(--fn3-accent, #60a5fa);
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.fn3-body__author .fn3-body__avatar--photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Compat spiitz-media-protect.js : le wrapper .spiitz-media-guard inséré
   autour des <img> doit remplir le cercle avatar, sinon il fait 0x0. */
.fn3-body__avatar--photo {
    position: relative;
    overflow: hidden;
}

.fn3-body__avatar .spiitz-media-guard {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    line-height: 0;
}

.fn3-body__avatar .spiitz-media-guard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn3-body__author .fn3-body__avatar--photo span { display: none; }
.fn3-body__author .fn3-body__avatar--photo.is-fallback span,
.fn3-body__author .fn3-body__avatar:not(.fn3-body__avatar--photo) span { display: grid; }

.fn3-body__author-text {
    min-width: 0;
    flex: 1;
}

/* Auteur de l'annonce (card citation) */
.fn3-body__author--annonce {
    margin-top: 22px;
}

.fn3-body__author--annonce .fn3-body__avatar {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
}

.fn3-body__author--annonce .fn3-body__author-text .fn3-body__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    opacity: 0.95;
}

.fn3-body__author-text .fn3-body__title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 750;
    text-align: left;
}

.fn3-body__author-text .fn3-body__cite--post {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 500;
    font-style: normal;
    line-height: 1.35;
    max-width: none;
    text-align: left;
    color: rgba(255, 255, 255, 0.92);
}

.fn3-body__foot--post-media .fn3-body__meta {
    margin: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.72);
}

.fn3-body {
    position: relative;
    z-index: 2;
    flex: 1;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 48px 48px 16px 12px;
    box-sizing: border-box;
    text-align: left;
    color: #fff;
}

.fn3-body__top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    justify-content: flex-start;
    width: fit-content;
    max-width: calc(100% - 52px);
    margin: 0 !important;
    align-self: flex-start !important;
}

.fn3-body__kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fn3-accent, #ff385c) 88%, #000);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.fn3-body__kicker i { font-size: 0.65rem; opacity: 0.9; }

.fn3-body__badges { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.fn3-body__badges .fn3-badge { font-size: 0.62rem; padding: 3px 7px; }

.fn3-body__sponsored {
    display: inline-flex;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.6rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.fn3-body__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    width: min(100%, 340px);
    margin: 10px 0;
    align-self: flex-start;
}

.fn3-body__main--center {
    align-self: center;
    align-items: center;
    text-align: center;
    width: min(100%, 300px);
}

.fn3-body__foot {
    flex-shrink: 0;
    min-height: 1.2em;
    width: min(100%, 340px);
    max-width: calc(100% - 48px);
    margin: 0;
    padding-bottom: 2px;
    align-self: flex-start;
}

.fn3-body__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.35;
}

.fn3-body__dot { margin: 0 6px; opacity: 0.4; }

.fn3-body__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0 0;
}

.fn3-body__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.72rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.92);
}

.fn3-body__tag-emoji { font-size: 0.85rem; line-height: 1; }

.fn3-body__title {
    margin: 0;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.fn3-body__bio {
    margin: 0;
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn3-body__search {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.9);
}

.fn3-body__search i { font-size: 0.72rem; opacity: 0.8; }

/* ----- Annonce : citation ----- */
.fn3-body--citation .fn3-body__cite {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(1.55rem, 5.8vw, 2.15rem);
    font-weight: 650;
    font-style: italic;
    letter-spacing: -0.03em;
    line-height: 1.22;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn3-body--citation .fn3-body__cite::before {
    content: '“';
    margin-right: 2px;
    opacity: 0.4;
    font-style: normal;
}

.fn3-body--citation .fn3-body__cite::after {
    content: '”';
    margin-left: 1px;
    opacity: 0.4;
    font-style: normal;
}

.fn3-body--citation .fn3-body__tags { margin-top: 18px; }

/* ----- Profil ----- */
.fn3-body--profile .fn3-body__avatar {
    width: 96px;
    height: 96px;
    margin: 0 0 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    background: var(--fn3-accent, #c084fc);
    border: 3px solid rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.fn3-body__main--dispo .fn3-body__avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
    font-size: 2.4rem;
}

.fn3-body__dispo-now {
    margin: 0 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.45);
    font-size: 0.85rem;
    font-weight: 700;
    color: #6ee7b7;
}

.fn3-body__flash {
    margin: 4px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 280px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.3;
    color: #fff;
    text-align: left;
}

.fn3-body__flash i {
    color: #fbbf24;
    flex-shrink: 0;
}

.fn3-body--profile .fn3-body__avatar--photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fn3-body--profile .fn3-body__avatar--photo span { display: none; }
.fn3-body--profile .fn3-body__avatar--photo.is-fallback span,
.fn3-body--profile .fn3-body__avatar:not(.fn3-body__avatar--photo) span { display: grid; }

.fn3-body--profile .fn3-body__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 5vw, 1.95rem);
}

.fn3-body--profile .fn3-body__bio {
    text-align: center;
}

.fn3-body--profile .fn3-body__foot {
    width: 100%;
    text-align: left;
}

.fn3-body--profile .fn3-body__meta {
    justify-content: flex-start;
}

/* ----- Lieu style Airbnb ----- */
.fn3-body--place .fn3-body__main {
    margin-left: auto;
    margin-right: auto;
}

.fn3-body--place .fn3-body__place-card {
    width: 100%;
    padding: 18px 16px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.fn3-slide--has-photo .fn3-body--place .fn3-body__place-card {
    background: rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 255, 255, 0.16);
}

.fn3-body--place .fn3-body__place-mark {
    width: 40px;
    height: 40px;
    margin: 0 0 12px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(56, 189, 248, 0.2);
    color: #7dd3fc;
    font-size: 1rem;
}

.fn3-body--place .fn3-body__title {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 4.5vw, 1.7rem);
    max-width: none;
}

.fn3-body--place .fn3-body__place-addr {
    margin: 0 0 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.fn3-body--place .fn3-body__place-desc {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fn3-body--place .fn3-body__tags--amenities {
    margin-top: 12px;
}

.fn3-body--place .fn3-body__tag {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

/* ----- Salon live ----- */
.fn3-body--live .fn3-body__live-count {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

.fn3-body--live .fn3-body__live-count span {
    display: inline-block;
    margin-right: 4px;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
    vertical-align: middle;
}

.fn3-body--live .fn3-body__title {
    margin: 0 0 12px;
    font-size: clamp(1.25rem, 4.5vw, 1.65rem);
}

.fn3-body__msgs {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    gap: 7px;
    text-align: left;
}

.fn3-body__msg {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
}

.fn3-body__msg strong {
    display: inline;
    margin-right: 4px;
    color: #fff;
    font-weight: 750;
}

.fn3-body--live .fn3-body__foot .fn3-body__meta,
.fn3-body--moment .fn3-body__foot .fn3-body__meta {
    justify-content: flex-start;
}

.fn3-body--live .fn3-body__foot,
.fn3-body--moment .fn3-body__foot {
    width: 100%;
    text-align: left;
}

/* ----- Check-in moment ----- */
.fn3-body--moment .fn3-body__moment-pin {
    width: 52px;
    height: 52px;
    margin: 0 0 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    font-size: 1.2rem;
}

.fn3-body--moment .fn3-body__title {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 4.5vw, 1.65rem);
    max-width: 22ch;
}

/* Différenciation par type — glow centré derrière le contenu.
   IMPORTANT : ne s'applique qu'aux fonds SANS photo/vidéo, sinon le
   raccourci `background:` écrase var(--fn3-photo) (spécificité supérieure). */
.fn3-slide--annonce .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(255, 45, 85, 0.38) 0%, transparent 58%),
        #10060c;
}
.fn3-slide--lieu .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(56, 189, 248, 0.3) 0%, transparent 58%),
        #0a1220;
}
.fn3-slide--salon .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(251, 113, 133, 0.34) 0%, transparent 58%),
        #120610;
}
.fn3-slide--checkin .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(251, 191, 36, 0.28) 0%, transparent 58%),
        #121008;
}
.fn3-slide--member .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(192, 132, 252, 0.32) 0%, transparent 58%),
        #100818;
}
.fn3-slide--dispo .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(52, 211, 153, 0.28) 0%, transparent 58%),
        #061410;
}
.fn3-slide--post .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(96, 165, 250, 0.3) 0%, transparent 58%),
        #071018;
}
.fn3-body--post .fn3-body__cite--post {
    margin: 10px 0 0;
    font-size: clamp(1.15rem, 4.2vw, 1.55rem);
    line-height: 1.35;
    font-weight: 600;
    max-width: 22ch;
}
.fn3-body--post .fn3-body__avatar {
    width: 72px;
    height: 72px;
}
.fn3-slide--dispo .fn3-body__title::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
    vertical-align: middle;
}

.fn3-slide--promo .fn3-slide__bg:not(.fn3-slide__bg--photo):not(.fn3-slide__bg--video) {
    background:
        radial-gradient(85% 60% at 40% 45%, rgba(245, 158, 11, 0.3) 0%, transparent 58%),
        #121008;
}
.fn3-slide--promo .fn3-body__kicker {
    background: #f59e0b;
    color: #1c1917;
}
.fn3-slide--promo-boosted_ad .fn3-body__kicker {
    background: #fbbf24;
    color: #1c1917;
}

@media (max-width: 480px) {
    .fn3-body {
        padding: 46px 44px 14px 10px;
    }
    .fn3-body__top {
        top: 8px;
        left: 8px;
        width: fit-content;
        max-width: calc(100% - 48px);
        margin: 0;
        align-self: flex-start;
    }
    .fn3-body__main,
    .fn3-body__foot {
        width: auto;
        max-width: calc(100% - 44px);
        margin-left: 0;
        align-self: flex-start;
    }
    .fn3-body__main--center {
        align-self: center;
    }
    .fn3-body--citation .fn3-body__cite {
        max-width: none;
    }
}
