        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* --- Marque --- */
            --brand-1: #ff5fa2;
            --brand-2: #ff2d78;
            --brand-3: #e0106a;
            --brand-gradient: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
            --brand-border: rgba(255, 45, 120, 0.36);
            --brand-soft-bg: rgba(255, 45, 120, 0.09);
            /* Encre posée sur un fond de marque (boutons, badges, pastilles) */
            --brand-ink: #fff;

            /* --- Fonds : noirs tièdes teintés magenta, pas des gris neutres.
                   L'accent paraît intégré au décor au lieu d'être collé dessus. --- */
            --ink-0: #070406;
            --ink-1: #0e0a0d;
            --ink-2: #171016;
            --ink-3: #21171f;
            --hairline: rgba(255, 255, 255, 0.08);
            --hairline-strong: rgba(255, 255, 255, 0.14);

            /* --- Texte : une échelle, pour arrêter d'improviser des rgba() --- */
            --fg-1: #fff;
            --fg-2: rgba(255, 255, 255, 0.78);
            --fg-3: rgba(255, 255, 255, 0.54);
            --fg-4: rgba(255, 255, 255, 0.38);

            /* --- États --- */
            --live: #ff3b30;
            --ok: #30d158;

            /* --- Typographie : grotesque à caractère pour l'affichage,
                   Inter pour l'interface. Le tout-système faisait « gabarit ». --- */
            --font-display: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --lock-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='5.1' y='10' width='13.8' height='10.9' rx='2.8' fill='%231f1f1f' stroke='%23ff2d78' stroke-width='1.45'/%3E%3Cpath d='M8 10V7.85C8 5.75 9.8 4.05 12 4.05s4 1.7 4 3.8V10' stroke='%23ff5fa2' stroke-width='1.9' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='15.35' r='1.2' fill='%23ff2d78'/%3E%3Cpath d='M12 16.55v1.45' stroke='%23ff2d78' stroke-width='1.45' stroke-linecap='round'/%3E%3C/svg%3E");
            --views-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.2 12s3.65-6 9.8-6 9.8 6 9.8 6-3.65 6-9.8 6-9.8-6-9.8-6z' fill='rgba(255,45,120,0.14)' stroke='%23ff2d78' stroke-width='1.55'/%3E%3Ccircle cx='12' cy='12' r='3.05' fill='%23ff2d78'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23141414'/%3E%3C/svg%3E");
        }

        body {
            font-family: var(--font-ui);
            background: var(--ink-0);
            color: var(--fg-1);
            overflow-x: hidden;
            min-height: 100vh;
            min-height: 100dvh;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 480px;
            margin: 0 auto;
            background: var(--ink-1);
            min-height: 100vh;
            min-height: 100dvh;
            position: relative;
            /* Marge basse pour que le dock flottant ne recouvre pas le pied de page. */
            padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        }

        /* ===== Héros plein cadre =====
           Le média occupe le haut de l'écran et l'identité se pose dessus, au lieu
           d'une bande de 150px suivie d'un bloc profil. */
        .hero {
            position: relative;
            width: 100%;
            height: clamp(215px, 30vh, 300px);
            height: clamp(215px, 30dvh, 300px);
            overflow: hidden;
            background:
                radial-gradient(120% 80% at 70% 0%, rgba(255, 45, 120, 0.22), transparent 60%),
                linear-gradient(160deg, #2a1622 0%, var(--ink-1) 100%);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

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

        /* Dégradé en deux temps : lisibilité en haut, fondu franc vers la page en bas. */
        .hero-scrim {
            position: absolute;
            inset: 0;
            z-index: 1;
            /* Bannière raccourcie : le fondu doit être plus franc pour que le nom
               reste lisible même sur une photo claire. */
            background:
                linear-gradient(180deg, rgba(10, 6, 9, 0.7) 0%, rgba(10, 6, 9, 0.06) 22%, rgba(10, 6, 9, 0.62) 55%, rgba(10, 6, 9, 0.93) 80%, var(--ink-1) 100%);
        }

        .hero-bar {
            position: relative;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 18px 0;
        }

        .hero-bar .brand-lockup {
            --lockup-h: 34px;
            filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
        }

        .hero-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 11px 6px 9px;
            border-radius: 999px;
            background: rgba(10, 6, 9, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.14);
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: var(--fg-2);
        }

        .hero-status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--ok);
            box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.18);
        }

        .hero-status.is-live {
            border-color: rgba(255, 59, 48, 0.55);
            color: #fff;
        }

        .hero-status.is-live .hero-status-dot {
            background: var(--live);
            box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.22);
            animation: liveDot 1.4s ease-in-out infinite;
        }

        .hero-identity {
            position: relative;
            z-index: 3;
            padding: 0 18px 12px;
        }

        .hero-identity-top {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
        }

        .avatar-story-wrapper {
            position: relative;
            width: 62px;
            height: 62px;
            cursor: pointer;
            flex: none;
        }

        /* Anneau de story en dégradé de marque, tracé en border-box. */
        .avatar-story-wrapper::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            padding: 2px;
            background: var(--brand-gradient);
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask-composite: exclude;
            transition: opacity 0.3s ease;
        }

        .avatar-story-wrapper.live::before {
            background: linear-gradient(135deg, #ff6a60 0%, var(--live) 100%);
            animation: liveRingOscillate 2s ease-in-out infinite;
        }

        @keyframes liveRingOscillate {
            0%, 100% { opacity: 0.75; }
            50% { opacity: 1; }
        }

        .avatar {
            width: 62px;
            height: 62px;
            border-radius: 50%;
            border: 2px solid var(--ink-1);
            object-fit: cover;
            display: block;
            background: var(--ink-2);
            position: relative;
            z-index: 2;
        }

        .live-badge-avatar {
            position: absolute;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--live);
            color: #fff;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.06em;
            padding: 2px 6px;
            border-radius: 6px;
            border: 2px solid var(--ink-1);
            z-index: 10;
            display: flex;
            align-items: center;
            gap: 3px;
        }

        .live-badge-avatar::before {
            content: '';
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #fff;
            animation: liveDot 1s ease-in-out infinite;
        }

        @keyframes liveDot {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        /* Pleine largeur : les pseudos longs passent sur deux lignes au lieu
           d'être tronqués comme dans une cellule étroite. */
        .profile-name {
            margin: 0;
            font-family: var(--font-display);
            font-size: clamp(26px, 8vw, 34px);
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.035em;
            line-height: 1.0;
            text-wrap: balance;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
        }

        .profile-name .verified-badge {
            margin-left: 5px;
            vertical-align: 0.06em;
        }

        .verified-badge {
            width: 20px;
            height: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .verified-badge img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .username {
            font-size: 13px;
            font-weight: 500;
            color: var(--fg-3);
            margin-top: 3px;
            line-height: 1.15;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* ===== Barre de chiffres =====
           Compacte : chiffre, libellé, et une micro-mention de fraîcheur injectée
           par le JS (data-meta) pour que la ligne ne soit pas qu'un nombre nu. */
        .stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            margin: 0 18px;
            padding: 11px 0 12px;
            border-bottom: 1px solid var(--hairline);
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            position: relative;
        }

        .stat-item + .stat-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10%;
            bottom: 10%;
            width: 1px;
            background: var(--hairline);
        }

        .stat-value {
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            line-height: 1.05;
            letter-spacing: -0.02em;
        }

        .stat-label {
            font-size: 9px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--fg-4);
        }

        /* Micro-mention sous le libellé : « 12 aujourd'hui », « 4 en ligne »… */
        .stat-meta {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 3px;
            font-size: 9.5px;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: var(--brand-1);
            white-space: nowrap;
        }

        .stat-meta::before {
            content: '';
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: currentColor;
            opacity: 0.8;
        }

        .stat-item--live .stat-meta {
            color: var(--ok);
        }

        .stat-item--live .stat-meta::before {
            animation: liveDot 1.6s ease-in-out infinite;
        }

        /* ===== Lockup de marque (mark vectorielle + wordmark) =====
           Taille pilotée par --lockup-h sur le conteneur : une seule variable
           à régler par emplacement, plus de PNG à ré-exporter. */
        .brand-lockup {
            --lockup-h: 40px;
            display: inline-flex;
            align-items: center;
            gap: calc(var(--lockup-h) * 0.18);
            height: var(--lockup-h);
            line-height: 1;
            white-space: nowrap;
            -webkit-user-select: none;
            user-select: none;
        }

        .brand-lockup .brand-mark {
            flex: none;
            display: block;
            height: var(--lockup-h);
            width: var(--lockup-h);
        }

        .brand-lockup .brand-word {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            font-size: calc(var(--lockup-h) * 0.55);
            letter-spacing: -0.025em;
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
        }

        .brand-word-a {
            font-weight: 500;
        }

        .brand-word-b {
            font-weight: 800;
            margin-left: 0.16em;
        }

        .brand-lockup--overlay {
            filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
        }

        .top-logo-wrapper .brand-lockup {
            --lockup-h: 40px;
        }

        /* ===== CTA principal =====
           Surface sombre bordée d'un filet de marque plutôt qu'un aplat rose plein :
           l'accent se concentre dans la pastille « GRATUIT » et la flèche, ce qui
           laisse le bouton lisible comme un élément d'interface, pas une bannière. */
        .cta-primary {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 0 14px 0 18px;
            min-height: 52px;
            border: 1px solid transparent;
            border-radius: 14px;
            background:
                linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
                var(--brand-gradient) border-box;
            color: var(--fg-1);
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            letter-spacing: -0.01em;
            cursor: pointer;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
            transition: transform 0.18s ease, box-shadow 0.18s ease;
        }

        .cta-dock {
            position: relative;
            z-index: 8;
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            padding: 14px 18px 2px;
            box-sizing: border-box;
        }

        .cta-dock .cta-primary--dock {
            width: 100%;
            max-width: 100%;
        }

        .cta-main-text {
            display: block;
        }

        /* Le seul aplat de marque du bouton : le prix. */
        .cta-offer-pill {
            display: inline-flex;
            align-items: center;
            padding: 4px 9px;
            border-radius: 7px;
            background: var(--brand-gradient);
            font-family: var(--font-ui);
            font-size: 10.5px;
            font-weight: 800;
            letter-spacing: 0.07em;
            color: var(--brand-ink);
            white-space: nowrap;
        }

        /* Prix discret, calé à droite juste avant la flèche. */
        .cta-price {
            margin-left: auto;
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            letter-spacing: -0.01em;
            font-variant-numeric: tabular-nums;
            color: var(--brand-1);
            white-space: nowrap;
        }

        .cta-price[hidden] + .cta-arrow { margin-left: auto; }
        .cta-price:not([hidden]) + .cta-arrow { margin-left: 0; }

        .cta-arrow {
            margin-left: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            flex: none;
            border-radius: 50%;
            background: var(--brand-soft-bg);
            border: 1px solid var(--brand-border);
            color: var(--brand-1);
            transition: transform 0.18s ease;
        }

        .cta-arrow svg {
            width: 15px;
            height: 15px;
        }

        .cta-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.46);
        }

        .cta-primary:hover .cta-arrow {
            transform: translateX(2px);
        }

        .cta-primary:active {
            transform: translateY(0) scale(0.995);
        }


        /* ===== « Voir plus » =====
           Plus un bouton-cadre générique : une ligne d'inventaire, avec le compteur
           en display à gauche et un chevron à droite. On annonce ce qui reste
           à voir plutôt que de répéter une action. */
        .cta-secondary {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 13px 14px 13px 16px;
            background: var(--ink-2);
            border: 1px solid var(--hairline);
            border-top: 1px solid var(--brand-border);
            border-radius: 12px;
            color: var(--fg-2);
            font-family: var(--font-ui);
            font-size: 14px;
            font-weight: 500;
            text-align: left;
            cursor: pointer;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

        .cta-secondary-count {
            font-family: var(--font-display);
            font-size: 19px;
            font-weight: 800;
            letter-spacing: -0.03em;
            color: var(--brand-1);
            line-height: 1;
        }

        .cta-secondary-label {
            flex: 1;
            min-width: 0;
        }

        .cta-secondary-chevron {
            display: inline-flex;
            width: 16px;
            height: 16px;
            flex: none;
            color: var(--fg-4);
            transition: transform 0.2s ease;
        }

        .cta-secondary-chevron svg {
            width: 100%;
            height: 100%;
        }

        .cta-secondary:hover {
            background: var(--ink-3);
            border-color: var(--brand-border);
        }

        .cta-secondary:hover .cta-secondary-chevron {
            transform: translateY(2px);
        }

        .cta-secondary:active {
            transform: scale(0.995);
        }

        .section {
            padding: 16px 18px 8px;
        }

        .section:last-of-type {
            padding-top: 12px;
        }

        /* ===== En-tête de section =====
           Motif récurrent : filet + surtitre capitales, puis titre display.
           C'est le détail qui fait lire la page comme un objet dessiné. */
        .section-header {
            margin-bottom: 14px;
        }

        .section-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--brand-1);
        }

        .section-eyebrow::before {
            content: '';
            width: 18px;
            height: 2px;
            border-radius: 2px;
            background: var(--brand-gradient);
        }

        .section-title {
            margin: 7px 0 0;
            font-family: var(--font-display);
            font-size: 25px;
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: -0.03em;
            color: var(--fg-1);
        }

        .section-subtitle {
            margin: 5px 0 0;
            font-size: 13px;
            font-weight: 500;
            color: var(--fg-3);
            line-height: 1.35;
        }

        /* ===== Stories : cartes 9:16 en scroll horizontal =====
           Les bulles rondes étaient un emprunt direct à Instagram et ne montraient
           presque rien du contenu. Des cartes hautes montrent le produit. */
        .stories-row {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: 98px;
            gap: 10px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            /* Débord jusqu'aux bords de l'écran : la rangée se prolonge visuellement. */
            margin: 0 -18px;
            padding: 2px 18px 12px;
            /* Sans ça, l'accrochage « start » cale la 1re carte sur le bord du
               conteneur et avale le padding gauche. */
            scroll-padding-left: 18px;
        }

        .stories-row::-webkit-scrollbar {
            display: none;
        }

        .stories-row > * {
            min-width: 0;
            scroll-snap-align: start;
        }

        .story-bubble {
            position: relative;
            aspect-ratio: 9 / 16;
            border-radius: 14px;
            overflow: hidden;
            background: var(--ink-3);
            border: 1px solid var(--hairline-strong);
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .story-bubble:hover {
            transform: translateY(-2px);
            border-color: var(--brand-border);
        }

        .story-bubble img,
        .story-bubble video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            background: var(--ink-3);
        }

        /* Voile bas : ancre le cadenas et donne du poids à la carte. */
        .story-bubble::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 2;
            background: linear-gradient(180deg, transparent 45%, rgba(7, 4, 6, 0.72) 100%);
        }

        .story-bubble::after {
            content: '';
            position: absolute;
            left: 10px;
            bottom: 10px;
            width: 22px;
            height: 22px;
            z-index: 3;
            background-image: var(--lock-icon);
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.58));
        }

        .story-bubble.unblurred::after,
        .story-bubble.no-lock::after {
            content: none;
        }

        /* Compteur 24h : filets fins alignés sous la rangée. */
        .stories-meta {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .progress-bars {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: minmax(0, 1fr);
            gap: 4px;
            flex: 1;
            min-width: 0;
        }

        .progress-bar {
            height: 2px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.1);
            overflow: hidden;
            position: relative;
        }

        .progress-bar-fill {
            position: absolute;
            inset: 0 auto 0 0;
            width: 0%;
            border-radius: 999px;
            background: var(--brand-gradient);
            transition: width 0.45s linear;
        }

        .stories-helper {
            flex: none;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.09em;
            text-transform: uppercase;
            color: var(--fg-4);
        }

        .default-img {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.3);
            font-size: 24px;
        }

        .footer {
            padding: 24px 20px;
            margin-top: 0;
        }

        .footer-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
            margin-bottom: 20px;
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            gap: 14px;
            text-align: center;
        }

        /* ===== Garanties de pied de page =====
           Les trois cartes empilées faisaient doublon avec les cartes de la page.
           Ici : deux colonnes de lignes séparées par des filets, icônes neutres.
           Un pied de page doit rassurer discrètement, pas réclamer l'attention. */
        .footer-security {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0 18px;
            list-style: none;
            margin: 0;
            padding: 0;
            border-top: 1px solid var(--hairline);
        }

        .footer-security-item {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 11px 0;
            border-bottom: 1px solid var(--hairline);
        }

        .footer-security-icon {
            width: 16px;
            height: 16px;
            flex: none;
            color: var(--fg-4);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .footer-security-icon svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .footer-security-text {
            font-size: 11.5px;
            line-height: 1.25;
            color: var(--fg-3);
            font-weight: 500;
        }

        @media (max-width: 380px) {
            .footer-security {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        /* Liens légaux : une seule ligne fluide, séparés par des points médians. */
        .footer-links {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 6px 0;
            margin: 16px auto 0;
            font-size: 12px;
        }

        .footer-link {
            position: relative;
            padding: 0 11px;
            color: var(--fg-4);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-link + .footer-link::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            width: 3px;
            height: 3px;
            margin-top: -1.5px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
        }

        .footer-link:hover {
            color: var(--fg-2);
        }

        .footer-logo {
            display: flex;
            justify-content: center;
            margin: 20px 0 8px;
        }

        .footer-logo .brand-lockup {
            --lockup-h: 30px;
            opacity: 0.85;
        }

        .footer-copyright {
            font-size: 10.5px;
            letter-spacing: 0.03em;
            color: var(--fg-4);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            z-index: 10000;
            overflow-y: auto;
            padding: 14px;
        }

        .modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000001;
            background: rgba(0, 0, 0, 0.72);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }


        .modal-content {
            background: #1a1a1a;
            border-radius: 12px;
            padding: 24px;
            max-width: 600px;
            width: 100%;
            max-height: 90vh;
            max-height: 90dvh;
            overflow-y: auto;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }


        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .modal-title {
            font-size: 20px;
            font-weight: 700;
            color: #fff;
        }

        .modal-close {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 24px;
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s ease;
        }

        .modal-close:hover {
            color: #fff;
        }

        .modal-body {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            line-height: 1.7;
        }

        .modal-body h3 {
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            margin-top: 20px;
            margin-bottom: 12px;
        }

        .modal-body h3:first-child {
            margin-top: 0;
        }

        .modal-body ul {
            margin: 12px 0;
            padding-left: 20px;
        }

        .modal-body li {
            margin-bottom: 8px;
        }

        .modal-body p {
            margin-bottom: 12px;
        }

        .modal-body .modal-lead {
            color: rgba(255, 255, 255, 0.65);
            font-size: 13px;
            margin-bottom: 16px;
        }

        .modal-body h4 {
            color: rgba(255, 255, 255, 0.92);
            font-size: 14px;
            font-weight: 700;
            margin-top: 14px;
            margin-bottom: 8px;
        }

        .modal-body a {
            color: #ff5fa2;
            text-decoration: none;
            text-shadow: none;
            filter: none;
        }

        .modal-body a:hover {
            text-decoration: underline;
        }

        .modal-table-wrap {
            overflow-x: auto;
            margin: 12px 0 16px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .modal-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
            line-height: 1.45;
        }

        .modal-table th,
        .modal-table td {
            padding: 10px 12px;
            text-align: left;
            vertical-align: top;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .modal-table th {
            color: #ff2d78;
            font-weight: 700;
            background: rgba(255, 45, 120, 0.06);
        }

        .modal-table td {
            color: rgba(255, 255, 255, 0.82);
        }

        .modal-table tr:last-child td {
            border-bottom: none;
        }

        @media (max-width: 380px) {
            .footer-link {
                padding: 0 8px;
            }
        }

        /* Premium Registration Modal Styles */
        .registration-content.premium-offer {
            max-width: 440px;
            padding: 0;
            background: #1a1a1a;
        }

        .premium-close {
            position: absolute;
            top: 12px;
            right: 12px;
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 28px;
            cursor: pointer;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            z-index: 10;
        }

        .premium-close:hover {
            color: #fff;
        }

        .premium-header {
            padding: 20px 20px;
            background: #2a2a2a;
            position: relative;
            border-bottom: 1px solid rgba(255, 45, 120, 0.2);
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .premium-avatar-wrapper {
            width: 64px;
            height: 64px;
            position: relative;
            flex-shrink: 0;
        }

        .premium-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #ff2d78;
            box-shadow: 0 2px 8px rgba(255, 45, 120, 0.3);
        }

        .premium-profile-info {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            flex: 1;
        }

        .premium-name {
            display: flex;
            align-items: center;
            gap: 1px;
            font-size: 17px;
            font-weight: 700;
            color: #fff;
        }

        .premium-verified {
            width: 21px;
            height: 21px;
            display: block;
            object-fit: contain;
            flex-shrink: 0;
            align-self: center;
        }

        .premium-body {
            padding: 16px 18px 20px;
        }

        .premium-badge {
            display: inline-block;
            background: linear-gradient(135deg, #ff2d78 0%, #e0106a 100%);
            color: var(--brand-ink);
            padding: 4px 14px;
            border-radius: 14px;
            font-size: 11px;
            font-weight: 700;
            box-shadow: 0 1px 4px rgba(255, 45, 120, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .premium-title {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            text-align: center;
            line-height: 1.3;
        }

        .premium-benefits {
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-bottom: 12px;
        }

        .benefit-item {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 8px 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.2s ease;
        }

        .benefit-item:hover {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 45, 120, 0.3);
        }

        .benefit-icon {
            font-size: 18px;
            flex-shrink: 0;
            line-height: 1;
        }

        .benefit-text {
            flex: 1;
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            line-height: 1.3;
        }

        .benefit-check {
            width: 18px;
            height: 18px;
            background: #ff2d78;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-ink);
            font-size: 12px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .premium-cta-box {
            background: rgba(255, 45, 120, 0.1);
            border: 1px solid rgba(255, 45, 120, 0.4);
            border-radius: 8px;
            padding: 10px 12px;
            margin-bottom: 12px;
            text-align: center;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.4;
        }

        .premium-cta-box strong {
            color: #ff2d78;
            font-weight: 700;
            font-size: 15px;
        }

        .premium-offer-strip {
            background: rgba(255, 45, 120, 0.05);
            border: 1px solid rgba(255, 45, 120, 0.2);
            border-radius: 12px;
            padding: 12px 16px;
            margin-top: 8px;
            margin-bottom: 16px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .premium-offer-label {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #ff2d78;
            opacity: 0.9;
        }

        .premium-offer-line {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 15px;
            flex-wrap: wrap;
        }

        .premium-offer-was {
            text-decoration: line-through;
            color: rgba(255, 255, 255, 0.5);
            font-weight: 500;
            font-variant-numeric: tabular-nums;
        }

        .premium-offer-sep {
            color: rgba(255, 255, 255, 0.3);
            font-weight: 400;
        }

        .premium-offer-now {
            font-weight: 700;
            color: #fff;
            font-variant-numeric: tabular-nums;
        }

        .premium-offer-pct-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 8px;
            border-radius: 6px;
            background: rgba(255, 45, 120, 0.15);
            color: #ff2d78;
            font-size: 13px;
            font-weight: 800;
            font-variant-numeric: tabular-nums;
            margin-left: 2px;
        }


        /* Exit Intent Modal - Mobile-First Design */
        .exit-intent-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* Voile + fort flou pour isoler la carte (lisibilité) */
            background: rgba(0, 0, 0, 0.58);
            z-index: 99999;
            padding: 0;
            overflow-x: hidden;
            overflow-y: auto;
            animation: exitIntentBackdropIn 0.35s ease;
            backdrop-filter: blur(22px) saturate(1.15);
            -webkit-backdrop-filter: blur(22px) saturate(1.15);
        }

        .exit-intent-modal.active {
            display: block;
        }

        /* Zone centrale : comme joinform-center — carte centrée sous le logo */
        .exit-intent-stage {
            position: relative;
            z-index: 1;
            width: 100%;
            min-height: 100vh;
            min-height: 100dvh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 58px 14px 24px;
            box-sizing: border-box;
        }

        @keyframes exitIntentBackdropIn {
            from {
                opacity: 0;
                backdrop-filter: blur(0px);
                -webkit-backdrop-filter: blur(0px);
            }
            to {
                opacity: 1;
                backdrop-filter: blur(22px) saturate(1.15);
                -webkit-backdrop-filter: blur(22px) saturate(1.15);
            }
        }

        /* Wrapper transparent : la carte = .unlock-progress-container (identique landing) */
        .exit-intent-content {
            background: transparent;
            border: none;
            border-radius: 0;
            padding: 10px 12px;
            max-width: 420px;
            width: 100%;
            max-height: 85vh;
            max-height: 85dvh;
            overflow-y: auto;
            overflow-x: hidden;
            position: relative;
            animation: exitPopUp 0.3s ease-out;
            box-shadow: none;
        }

        .exit-intent-content .unlock-progress-container {
            margin-top: 0;
            margin-bottom: 0;
        }

        @keyframes fadeIn {
            from { 
                opacity: 0;
                backdrop-filter: blur(0px);
            }
            to { 
                opacity: 1;
                backdrop-filter: blur(12px);
            }
        }

        @keyframes exitPopUp {
            0% { 
                transform: scale(0.92) translateY(30px);
                opacity: 0;
            }
            100% { 
                transform: scale(1) translateY(0);
                opacity: 1;
            }
        }

        /* Décalé vers l'intérieur : au coin exact il chevauchait l'arrondi
           de la carte et le filet d'accent. */
        .exit-intent-close {
            position: absolute;
            top: 22px;
            right: 22px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid var(--hairline);
            color: var(--fg-2);
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
            z-index: 20;
        }

        .exit-intent-close:hover {
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff;
            border-color: rgba(255, 255, 255, 0.22);
        }

        /* Mobile optimizations */
        @media (max-width: 480px) {
            .exit-intent-content {
                max-width: 95%;
                padding: 10px 10px;
            }
        }

        /* Tablet */
        @media (min-width: 481px) and (max-width: 768px) {
            .exit-intent-content {
                max-width: 440px;
            }
        }

        /* ===== Carte d'offre premium =====
           Signature de la page : filet de marque en haut, halo diffus, prix traité
           comme l'élément héros en display. Alignée à gauche, pas tout centrée. */
        .unlock-progress-container {
            position: relative;
            margin: 16px 0 0;
            padding: 16px 15px 15px;
            background:
                radial-gradient(120% 90% at 50% 0%, rgba(255, 45, 120, 0.16), transparent 62%),
                var(--ink-2);
            border: 1px solid var(--hairline-strong);
            border-radius: 18px;
            text-align: left;
            overflow: hidden;
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
        }

        .unlock-progress-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--brand-gradient);
        }

        .unlock-progress-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--brand-1);
        }

        .unlock-progress-eyebrow::before {
            content: '';
            width: 18px;
            height: 2px;
            border-radius: 2px;
            background: var(--brand-gradient);
        }

        .unlock-progress-title {
            font-family: var(--font-display);
            font-size: 21px;
            font-weight: 800;
            color: var(--fg-1);
            line-height: 1.03;
            margin-bottom: 5px;
            letter-spacing: -0.03em;
        }

        .unlock-progress-text {
            font-size: 13px;
            color: var(--fg-3);
            text-align: left;
            font-weight: 500;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        /* Prix : ligne de base commune, le montant domine. */
        .unlock-offer-block {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--hairline);
            width: 100%;
        }

        .unlock-offer-line {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            justify-content: flex-start;
            gap: 6px 10px;
            margin-bottom: 4px;
        }

        /* Le prix traité au dégradé de marque : c'est l'argument, il doit
           porter la couleur là où les boutons ne la portent plus. */
        .unlock-offer-now {
            font-family: var(--font-display);
            font-size: 30px;
            font-weight: 800;
            line-height: 0.95;
            letter-spacing: -0.035em;
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
        }

        .unlock-offer-unit {
            align-self: center;
            padding: 4px 8px;
            border-radius: 6px;
            border: 1px solid var(--brand-border);
            background: var(--brand-soft-bg);
            color: var(--brand-1);
            font-size: 12px;
            font-weight: 700;
            line-height: 1;
            font-variant-numeric: tabular-nums;
        }

        .unlock-offer-sub {
            margin: 0;
            font-size: 12px;
            font-weight: 500;
            color: var(--fg-4);
            text-align: left;
            line-height: 1.35;
        }

        @media (max-width: 380px) {
            .unlock-offer-now {
                font-size: 34px;
            }
        }

        .unlock-benefits-list {
            display: flex;
            flex-direction: column;
            gap: 7px;
            margin-bottom: 14px;
            text-align: left;
        }

        .unlock-benefit-item {
            color: var(--fg-2);
            font-size: 13px;
            font-weight: 500;
            line-height: 1.3;
            position: relative;
            padding-left: 26px;
        }

        /* Puce en pastille : plus lisible qu'un ✓ nu, et cohérent avec les filets. */
        .unlock-benefit-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 1px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: var(--brand-soft-bg);
            border: 1px solid var(--brand-border);
        }

        .unlock-benefit-item::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 6px;
            width: 6px;
            height: 3px;
            border-left: 1.8px solid var(--brand-1);
            border-bottom: 1.8px solid var(--brand-1);
            transform: rotate(-45deg);
        }

        /* Même logique que le CTA principal : surface sombre, filet de marque,
           l'accent réservé à la flèche. Pas de second aplat rose plein sur la page. */
        .unlock-premium-button {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 46px;
            padding: 0 14px 0 18px;
            border: 1px solid transparent;
            border-radius: 13px;
            background:
                linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
                var(--brand-gradient) border-box;
            color: var(--fg-1);
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            letter-spacing: -0.01em;
            cursor: pointer;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
            transition: transform 0.18s ease, box-shadow 0.18s ease;
        }

        .unlock-premium-button-arrow {
            margin-left: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            flex: none;
            border-radius: 50%;
            background: var(--brand-soft-bg);
            border: 1px solid var(--brand-border);
            color: var(--brand-1);
            transition: transform 0.18s ease;
        }

        .unlock-premium-button-arrow svg {
            width: 14px;
            height: 14px;
        }

        .unlock-premium-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.44);
        }

        .unlock-premium-button:hover .unlock-premium-button-arrow {
            transform: translateX(2px);
        }

        .unlock-premium-button:active {
            transform: translateY(0) scale(0.995);
        }

        .unlock-progress-note {
            margin-top: 10px;
            font-size: 11px;
            font-weight: 500;
            color: var(--fg-4);
            line-height: 1.35;
            text-align: center;
        }

        .unlock-popup-dismiss {
            display: block;
            width: 100%;
            margin-top: 10px;
            padding: 8px 12px;
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.5);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .unlock-popup-dismiss:hover {
            color: rgba(255, 255, 255, 0.78);
        }

        .unlock-popup-dismiss:active {
            transform: scale(0.99);
        }

        /* Preview overlay */
        .preview-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.9);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 100;
            animation: fadeIn 0.2s ease;
        }

        .preview-overlay.active {
            display: flex;
        }

        .preview-cta-btn {
            background: var(--brand-gradient);
            border: none;
            border-radius: 12px;
            padding: 16px 32px;
            color: var(--brand-ink);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(255, 45, 120, 0.3);
            transition: transform 0.2s ease;
        }

        .preview-cta-btn:hover {
            transform: scale(1.05);
        }

        .premium-continue-btn {
            width: 100%;
            padding: 14px;
            background: var(--brand-gradient);
            border: none;
            border-radius: 10px;
            color: var(--brand-ink);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(255, 45, 120, 0.32);
            transition: all 0.2s ease;
            letter-spacing: -0.2px;
        }

        .premium-continue-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 24px rgba(255, 45, 120, 0.4);
        }

        .premium-continue-btn:active {
            transform: scale(0.98);
        }

        .premium-footer-note {
            margin-top: 10px;
            text-align: center;
            font-size: 10px;
            color: rgba(255, 255, 255, 0.4);
            line-height: 1.3;
        }

        .premium-footer-note a {
            color: #ff2d78;
            text-decoration: none;
            font-weight: 600;
        }

        .premium-footer-note a:hover {
            text-decoration: underline;
        }

        .link-cgu,
        .link-privacy {
            color: #ff2d78;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        .link-cgu:hover,
        .link-privacy:hover {
            color: #e0106a;
            text-decoration: underline;
        }

        @media (min-width: 768px) {
            .container {
                box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
            }
        }

        /* Logo fixe en haut — partagé inscription + popups exit-intent */
        .joinform-hero-top,
        .exit-intent-hero-top {
            position: fixed;
            left: 0;
            right: 0;
            top: 0;
            z-index: 100005;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 18px;
            pointer-events: none;
        }

        .joinform-hero-top .brand-lockup,
        .exit-intent-hero-top .brand-lockup {
            --lockup-h: 36px;
        }


        /* ===== Modale d'inscription : feuille inférieure =====
           Une prise d'écran pleine page ressemblait à une pop-up web. Une feuille
           qui monte du bas est le geste natif attendu sur mobile — et le pouce est
           déjà en bas de l'écran, là où se trouvent le champ et le bouton. */
        .joinform-full-modal {
            background: rgba(4, 2, 4, 0.62) !important;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            z-index: 999999 !important;
            align-items: flex-end !important;
            justify-content: center !important;
            padding: 0 !important;
        }

        .joinform-wrapper {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            margin: 0;
            padding: 0;
            position: relative;
        }

        .joinform-center {
            position: relative;
            z-index: 3;
            width: 100%;
            display: flex;
            justify-content: center;
            padding: 0;
        }

        .joinform-card {
            position: relative;
            z-index: 3;
            width: 100%;
            max-width: 480px;
            max-height: 92vh;
            max-height: 92dvh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
            background:
                radial-gradient(130% 60% at 50% 0%, rgba(255, 45, 120, 0.14), transparent 65%),
                var(--ink-1);
            border: 1px solid var(--hairline-strong);
            border-bottom: none;
            border-radius: 26px 26px 0 0;
            padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
            box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.7);
            animation: joinformSheetUp 0.34s cubic-bezier(0.22, 1, 0.36, 1);
        }

        @keyframes joinformSheetUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        @media (prefers-reduced-motion: reduce) {
            .joinform-card { animation: none; }
        }

        .joinform-grabber {
            display: block;
            width: 38px;
            height: 4px;
            margin: 8px auto 0;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.22);
        }

        .joinform-close-btn {
            position: absolute;
            top: 14px;
            right: 14px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid var(--hairline);
            color: var(--fg-2);
            font-size: 22px;
            line-height: 1;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 1000000;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .joinform-close-btn:hover {
            background: rgba(255, 255, 255, 0.14);
            color: #fff;
        }

        .joinform-head {
            padding: 12px 18px 0;
        }

        .joinform-title-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 12px;
        }

        .joinform-price-tag {
            flex: none;
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 800;
            letter-spacing: -0.02em;
            font-variant-numeric: tabular-nums;
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            white-space: nowrap;
        }

        .joinform-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--brand-1);
        }

        .joinform-eyebrow::before {
            content: '';
            width: 18px;
            height: 2px;
            border-radius: 2px;
            background: var(--brand-gradient);
        }

        .joinform-title {
            margin: 6px 0 0;
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 800;
            letter-spacing: -0.03em;
            line-height: 1.03;
            color: var(--fg-1);
        }

        /* Tarif : ligne de prix héros, alignée à gauche comme la carte de la landing. */
        .joinform-price-callout {
            margin: 12px 18px 0;
            padding: 11px 14px;
            border-radius: 13px;
            border: 1px solid var(--hairline);
            background: var(--ink-2);
            text-align: left;
        }

        .joinform-price-callout .unlock-offer-line {
            margin-bottom: 3px;
        }

        .joinform-price-callout .unlock-offer-now {
            font-size: 27px;
        }

        .joinform-price-sub {
            margin-top: 0;
        }

        /* Arguments : lignes lisibles plutôt que pastilles carrées. Des phrases
           entières convainquent mieux que deux mots serrés dans une case. */
        .joinform-cta-strip {
            margin: 10px 18px 0;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0 16px;
            list-style: none;
            padding: 0;
        }

        .joinform-cta-pill {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
        }

        .joinform-pill-icon {
            width: 17px;
            height: 17px;
            flex: none;
            color: var(--brand-1);
        }

        .joinform-pill-icon svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .joinform-pill-label {
            color: var(--fg-2);
            font-weight: 500;
            font-size: 12px;
            line-height: 1.25;
        }

        @media (max-width: 370px) {
            .joinform-cta-strip {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .joinform-form-container {
            padding: 12px 18px 4px;
            background: transparent;
        }

        .joinform-reassure {
            margin: 2px 0 0;
            font-size: 10.5px;
            font-weight: 500;
            line-height: 1.4;
            color: var(--fg-4);
            text-align: center;
        }

        /* Sur grand écran, la feuille se détache du bas et devient une carte flottante. */
        @media (min-width: 768px) {
            .joinform-full-modal {
                align-items: center !important;
            }

            .joinform-card {
                max-height: 88vh;
            max-height: 88dvh;
                border-radius: 24px;
                border-bottom: 1px solid var(--hairline-strong);
                padding-bottom: 18px;
                animation: joinformCardIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
            }

            .joinform-grabber {
                display: none;
            }

            @keyframes joinformCardIn {
                from { opacity: 0; transform: translateY(14px) scale(0.99); }
                to { opacity: 1; transform: none; }
            }
        }

        /* ===== Formulaire d'inscription natif (aucun script tiers) ===== */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .joinform-register-form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .joinform-field {
            display: flex;
            align-items: center;
            gap: 4px;
            min-height: 48px;
            padding: 0 6px 0 16px;
            border: 1px solid transparent;
            border-radius: 999px;
            overflow: hidden;
            background:
                linear-gradient(180deg, rgba(23, 23, 23, 0.92), rgba(15, 15, 15, 0.92)) padding-box,
                var(--brand-gradient) border-box;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.05),
                0 6px 14px rgba(0, 0, 0, 0.24);
            transition: box-shadow 0.2s ease;
        }

        .joinform-field:focus-within {
            box-shadow:
                0 0 0 3px rgba(255, 45, 120, 0.16),
                0 10px 22px rgba(255, 45, 120, 0.22);
        }

        .joinform-field.is-invalid {
            background:
                linear-gradient(180deg, rgba(30, 18, 18, 0.94), rgba(18, 12, 12, 0.94)) padding-box,
                linear-gradient(135deg, #ff6a60 0%, #ff3b30 100%) border-box;
            box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.14);
        }

        .joinform-field-icon {
            flex: none;
            width: 18px;
            height: 18px;
            color: var(--brand-1);
        }

        .joinform-field.is-invalid .joinform-field-icon {
            color: #ff6a60;
        }

        .joinform-field-icon svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .joinform-input {
            flex: 1 1 auto;
            min-width: 0;
            height: 46px;
            border: 0;
            outline: none;
            background: transparent;
            color: #fff;
            font-family: inherit;
            /* 16px minimum : en dessous, iOS zoome automatiquement au focus */
            font-size: 16px;
            line-height: normal;
            padding: 0 10px;
            text-indent: 0;
            -webkit-appearance: none;
            appearance: none;
        }

        .joinform-input::placeholder {
            color: rgba(255, 255, 255, 0.45);
        }

        .joinform-input:-webkit-autofill {
            -webkit-text-fill-color: #fff;
            -webkit-box-shadow: 0 0 0 1000px #141414 inset;
            transition: background-color 9999s ease-in-out 0s;
        }

        .joinform-error {
            display: none;
            align-items: center;
            gap: 6px;
            margin: -4px 0 0;
            padding: 0 14px;
            color: #ff6a60;
            font-size: 12.5px;
            font-weight: 600;
            line-height: 1.3;
        }

        .joinform-error.is-visible {
            display: flex;
        }

        /* Seul aplat de marque plein de tout le parcours : c'est l'action terminale.
           Les CTA de la page sont en surface sombre, celui-ci tranche volontairement. */
        .joinform-submit {
            position: relative;
            width: 100%;
            min-height: 48px;
            padding: 13px 16px;
            border: none;
            border-radius: 13px;
            background: var(--brand-gradient);
            color: var(--brand-ink);
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -0.01em;
            cursor: pointer;
            box-shadow:
                0 1px 2px rgba(0, 0, 0, 0.35),
                0 2px 10px rgba(0, 0, 0, 0.22);
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
        }

        .joinform-submit:hover {
            transform: translateY(-1px);
            box-shadow:
                0 2px 4px rgba(0, 0, 0, 0.32),
                0 4px 14px rgba(0, 0, 0, 0.2);
        }

        .joinform-submit:active {
            transform: translateY(0);
        }

        .joinform-submit.is-loading {
            pointer-events: none;
            opacity: 0.85;
        }

        .joinform-submit-label {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .joinform-submit.is-loading .joinform-submit-label {
            visibility: hidden;
        }

        .joinform-spinner {
            display: none;
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2.5px solid rgba(255, 255, 255, 0.35);
            border-top-color: var(--brand-ink);
            border-radius: 50%;
            animation: joinform-spin 0.7s linear infinite;
        }

        .joinform-submit.is-loading .joinform-spinner {
            display: block;
        }

        @keyframes joinform-spin {
            to { transform: rotate(360deg); }
        }

        @media (prefers-reduced-motion: reduce) {
            .joinform-spinner { animation-duration: 2s; }
            .joinform-submit { transition: none; }
        }

        .joinform-submit,
        .joinform-submit:visited {
            display: block;
            text-align: center;
            text-decoration: none;
            box-sizing: border-box;
        }

        .joinform-fallback {
            margin: 0;
            font-size: 12.5px;
            font-weight: 600;
            line-height: 1.4;
            text-align: center;
            color: var(--fg-2);
        }

        .joinform-fallback a {
            color: var(--brand-1);
            text-decoration: underline;
        }

        .joinform-legal {
            margin: 2px 0 0;
            color: rgba(255, 255, 255, 0.5);
            font-size: 10.5px;
            line-height: 1.45;
            text-align: center;
        }

        .joinform-legal a,
        .joinform-legal a:visited {
            color: var(--brand-1);
            font-weight: 700;
            text-decoration: none;
        }

        .joinform-legal a:hover {
            text-decoration: underline;
        }

        /* Chat Styles */
        .chat-window {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 380px;
            max-width: calc(100vw - 48px);
            height: 440px;
            max-height: calc(100vh - 48px);
            max-height: calc(100dvh - 48px);
            background: #1a1a1a;
            border-radius: 16px;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
            z-index: 10000;
            display: none;
            flex-direction: column;
            overflow: hidden;
            border: 1px solid rgba(255, 45, 120, 0.3);
        }

        .chat-window.active {
            display: flex;
        }

        .chat-header {
            padding: 16px;
            background: #2a2a2a;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .chat-header-profile {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .chat-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #ff2d78;
        }

        .chat-header-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .chat-header-name {
            display: flex;
            align-items: center;
            gap: 1px;
            font-size: 15px;
            font-weight: 700;
            color: #fff;
        }

        .chat-verified {
            width: 21px;
            height: 21px;
            display: block;
            object-fit: contain;
            flex-shrink: 0;
            align-self: center;
        }

        .chat-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background: #30d158;
            border-radius: 50%;
            animation: statusPulse 2s ease-in-out infinite;
        }

        .status-dot.live {
            background: #ff3b30;
            animation: livePulse 1.5s ease-in-out infinite;
        }

        @keyframes statusPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        @keyframes livePulse {
            0%, 100% { 
                opacity: 1;
                transform: scale(1);
            }
            50% { 
                opacity: 0.7;
                transform: scale(1.2);
            }
        }

        .chat-close {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            font-size: 28px;
            cursor: pointer;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s ease;
        }

        .chat-close:hover {
            color: #fff;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .chat-welcome {
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 13px;
            padding: 20px;
        }

        .chat-promo-wrapper {
            max-width: 100%;
            width: 100%;
            align-self: stretch;
        }

        .chat-promo-card {
            background: linear-gradient(160deg, rgba(255, 45, 120, 0.08) 0%, rgba(255, 45, 120, 0.03) 100%);
            border: 1px solid rgba(255, 45, 120, 0.28);
            border-radius: 14px;
            padding: 12px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
        }

        .chat-promo-title {
            font-size: 14px;
            font-weight: 800;
            color: #fff;
            line-height: 1.3;
            margin-bottom: 6px;
        }

        .chat-promo-text {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.78);
            line-height: 1.45;
            margin-bottom: 8px;
        }

        .chat-promo-list {
            list-style: none;
            padding: 0;
            margin: 0 0 10px;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .chat-promo-list li {
            position: relative;
            padding-left: 14px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.35;
        }

        .chat-promo-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            top: 0;
            color: #ff2d78;
            font-weight: 800;
        }

        .chat-promo-button {
            width: 100%;
            border: none;
            border-radius: 10px;
            padding: 10px 12px;
            background: var(--brand-gradient);
            color: var(--brand-ink);
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(255, 45, 120, 0.26);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .chat-promo-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 20px rgba(255, 45, 120, 0.35);
        }

        .chat-mini-error {
            align-self: center;
            width: 100%;
            max-width: 90%;
            border: 1px solid rgba(255, 45, 120, 0.25);
            background: rgba(255, 45, 120, 0.08);
            border-radius: 10px;
            padding: 8px 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            animation: fadeIn 0.16s ease;
        }

        .chat-mini-error-left {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            min-width: 0;
        }

        .chat-mini-error-lock {
            width: 13px;
            height: 13px;
            display: inline-block;
            background-image: var(--lock-icon);
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            flex-shrink: 0;
            opacity: 0.95;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.38));
        }

        .chat-mini-error-text {
            font-size: 11px;
            line-height: 1.35;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 600;
            min-width: 0;
        }

        .chat-mini-error-btn {
            border: 1px solid rgba(255, 45, 120, 0.35);
            background: rgba(255, 45, 120, 0.14);
            color: #ff2d78;
            border-radius: 999px;
            padding: 5px 10px;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
        }

        .message-wrapper {
            display: flex;
            flex-direction: column;
            max-width: 75%;
            align-self: flex-start;
        }

        .message-wrapper.user {
            align-self: flex-end;
        }

        .message-header {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 4px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.5);
        }

        .message-wrapper.user .message-header {
            justify-content: flex-end;
            color: rgba(255, 255, 255, 0.5);
        }

        .message-header-name {
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.7);
        }

        .message-wrapper.user .message-header-name {
            color: rgba(255, 255, 255, 0.7);
        }

        .message-header-verified {
            width: 18px;
            height: 18px;
            display: block;
            object-fit: contain;
            flex-shrink: 0;
            align-self: center;
        }

        .message-header-time {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.4);
        }

        .message {
            padding: 10px 14px;
            border-radius: 16px;
            font-size: 14px;
            line-height: 1.4;
            word-wrap: break-word;
        }

        .message.user {
            background: #ff2d78;
            color: var(--brand-ink);
            border-bottom-right-radius: 4px;
        }

        .message-user-row {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
        }

        .message-unsent-cross {
            width: 16px;
            height: 16px;
            border-radius: 999px;
            background: #ff3b30;
            color: #fff;
            font-size: 11px;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            line-height: 1;
            box-shadow: 0 3px 8px rgba(255, 59, 48, 0.35);
        }

        .message.other {
            background: #2a2a2a;
            color: #fff;
            border-bottom-left-radius: 4px;
            position: relative;
        }

        .message-info {
            background: rgba(255, 255, 255, 0.05);
            border-left: 3px solid #ff2d78;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.8);
            width: 100%;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .message-info-name {
            color: #ff2d78;
            font-weight: 600;
        }

        .message-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            width: 100%;
        }

        .blurred-message-box {
            background: rgba(42, 42, 42, 0.8);
            border-radius: 16px;
            border-bottom-left-radius: 4px;
            padding: 16px 18px;
            position: relative;
            min-width: 200px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .blurred-text {
            filter: blur(12px);
            color: rgba(255, 255, 255, 0.2);
            font-size: 14px;
            line-height: 1.5;
            user-select: none;
            opacity: 0.4;
            pointer-events: none;
        }

        .unlock-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
            backdrop-filter: blur(2px);
        }

        .unlock-button {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--brand-gradient);
            color: var(--brand-ink);
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 8px 20px rgba(255, 45, 120, 0.32);
            border: none;
            letter-spacing: -0.2px;
        }

        .unlock-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 26px rgba(255, 45, 120, 0.4);
        }

        .unlock-button:active {
            transform: translateY(0);
        }

        .chat-typing {
            padding: 12px 16px;
            background: transparent;
        }

        .typing-content {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .typing-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #ff2d78;
        }

        .typing-bubble {
            background: #2a2a2a;
            padding: 12px 16px;
            border-radius: 16px;
            border-bottom-left-radius: 4px;
        }

        .typing-dots {
            display: flex;
            gap: 4px;
            align-items: center;
        }

        .typing-dots span {
            width: 8px;
            height: 8px;
            background: #ff2d78;
            border-radius: 50%;
            animation: typingBounce 1.4s ease-in-out infinite;
        }

        .typing-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes typingBounce {
            0%, 60%, 100% { 
                transform: translateY(0);
                opacity: 0.5;
            }
            30% { 
                transform: translateY(-6px);
                opacity: 1;
            }
        }

        .chat-input-container {
            padding: 12px 16px;
            background: #2a2a2a;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            gap: 8px;
        }

        .chat-input {
            flex: 1;
            background: #1a1a1a;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 10px 16px;
            color: #fff;
            font-size: 14px;
            outline: none;
            transition: border-color 0.2s ease;
        }

        .chat-input:focus {
            border-color: #ff2d78;
        }

        .chat-send {
            width: 40px;
            height: 40px;
            background: var(--brand-gradient);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .chat-send:hover {
            transform: scale(1.05);
        }

        .chat-send svg {
            width: 18px;
            height: 18px;
            color: var(--brand-ink);
        }

        /* =====================================================================
           NOUVEAUX COMPOSANTS — stories, modèles, galerie bento, lecteurs,
           dock flottant, chat. Même vocabulaire que le reste de la page :
           surfaces sombres, filets, dégradé de marque réservé aux accents.
           ===================================================================== */

        /* ===== Pastille 18+ dans le héros ===== */
        .hero-age-chip {
            display: inline-flex;
            align-items: center;
            height: 24px;
            padding: 0 9px;
            margin-bottom: 6px;
            border-radius: 999px;
            border: 1px solid var(--brand-border);
            background: rgba(10, 6, 9, 0.55);
            color: var(--brand-1);
            font-size: 9.5px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
        }

        /* ===== Bio sous le héros ===== */
        .profile-bio {
            position: relative;
            z-index: 4;
            margin: 0 18px;
            padding: 6px 0 0;
            font-size: 13px;
            line-height: 1.45;
            color: var(--fg-2);
        }

        .profile-bio[hidden] { display: none; }

        /* ===== Note sous le CTA ===== */
        .cta-note {
            margin: 8px 0 0;
            font-size: 10.5px;
            font-weight: 500;
            letter-spacing: 0.02em;
            text-align: center;
            color: var(--fg-4);
        }

        /* Stories : la section suit directement le CTA, sans grand vide. */
        .section--stories { padding-top: 12px; }

        /* ===== En-tête de section avec pastille à droite ===== */
        .section-header--row {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 10px;
        }

        .section-header--row > div { min-width: 0; }

        .section-header--row .section-subtitle {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .section-chip {
            flex: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            height: 24px;
            padding: 0 9px;
            margin-bottom: 3px;
            border-radius: 999px;
            border: 1px solid var(--brand-border);
            background: var(--brand-soft-bg);
            color: var(--brand-1);
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        .section-chip:empty,
        .section-chip[hidden] { display: none; }

        .section-chip--hot::before,
        .section-chip--online::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--brand-2);
            box-shadow: 0 0 6px var(--brand-2);
            animation: liveDot 1.2s ease-in-out infinite;
        }

        .section-chip--online::before {
            background: var(--ok);
            box-shadow: 0 0 6px var(--ok);
            animation-duration: 1.6s;
        }

        .section-chip--lock::before {
            content: '';
            width: 11px;
            height: 11px;
            background: var(--lock-icon) center / contain no-repeat;
        }

        [hidden] { display: none !important; }
        .unlock-offer-block[hidden],
        .joinform-price-callout[hidden] { display: none !important; }

        /* ===== Stories : chips et libellé sur la carte ===== */
        .story-bubble {
            padding: 0;
            text-align: left;
            color: var(--fg-1);
        }

        .story-bubble.story-bubble--new {
            border-color: var(--brand-border);
            box-shadow: 0 0 0 1px rgba(255, 45, 120, 0.18), 0 8px 22px rgba(255, 45, 120, 0.16);
        }

        .story-bubble.is-seen { opacity: 0.62; }

        .story-bubble.is-blurred img,
        .story-bubble.is-blurred video {
            filter: blur(9px) brightness(0.62);
            transform: scale(1.12);
        }

        .story-time {
            position: absolute;
            z-index: 3;
            top: 8px;
            left: 8px;
            display: inline-flex;
            align-items: center;
            gap: 3px;
            height: 18px;
            padding: 0 6px;
            border-radius: 999px;
            border: 1px solid var(--hairline-strong);
            background: rgba(7, 4, 6, 0.62);
            color: var(--fg-2);
            font-size: 9.5px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .story-time svg {
            width: 9px;
            height: 9px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
        }

        .story-new {
            position: absolute;
            z-index: 3;
            top: 8px;
            right: 8px;
            display: inline-flex;
            align-items: center;
            height: 18px;
            padding: 0 6px;
            border-radius: 6px;
            background: var(--brand-gradient);
            color: var(--brand-ink);
            font-size: 8.5px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .story-label {
            position: absolute;
            z-index: 3;
            left: 38px;
            right: 8px;
            bottom: 12px;
            font-family: var(--font-display);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: -0.01em;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
        }

        .story-bubble.no-lock .story-label { left: 10px; }

        /* ===== Modèles : carrousel en boucle ===== */
        /* Pas de mask-image sur le conteneur de scroll : Safari iOS le recalcule à
           chaque image et le défilement saccade. Le fondu des bords est posé
           par-dessus, sur la section, sans toucher au scroll. */
        .section--models { position: relative; }

        .section--models::before,
        .section--models::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 24px;
            z-index: 2;
            pointer-events: none;
        }

        .section--models::before {
            left: 0;
            background: linear-gradient(90deg, var(--ink-1), transparent);
        }

        .section--models::after {
            right: 0;
            background: linear-gradient(270deg, var(--ink-1), transparent);
        }

        .models-rail {
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            overscroll-behavior-x: contain;
            scroll-behavior: auto;
            touch-action: pan-x pan-y;
            margin: 0 -18px;
            padding: 2px 0 10px;
        }

        .models-rail::-webkit-scrollbar { display: none; }

        .models-track {
            display: flex;
            gap: 10px;
            width: max-content;
            padding: 0 18px;
        }

        .model-card {
            position: relative;
            flex: 0 0 auto;
            width: 106px;
            aspect-ratio: 3 / 4;
            padding: 0;
            overflow: hidden;
            isolation: isolate;
            border: 1px solid var(--hairline-strong);
            border-radius: 14px;
            background: var(--ink-3);
            color: var(--fg-1);
            text-align: left;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .model-card:hover {
            transform: translateY(-2px);
            border-color: var(--brand-border);
        }

        .model-card:active { transform: scale(0.97); }

        .model-card::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(7, 4, 6, 0.18) 0%, transparent 30%, transparent 50%, rgba(7, 4, 6, 0.88) 100%);
        }

        .model-card img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;
        }

        .model-card.is-blurred img {
            filter: blur(6px) brightness(0.7);
            transform: scale(1.1);
        }

        .model-card--hot {
            border-color: var(--brand-border);
            box-shadow: 0 8px 22px rgba(255, 45, 120, 0.18);
        }

        .model-online {
            position: absolute;
            z-index: 3;
            top: 8px;
            left: 8px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            height: 18px;
            padding: 0 7px;
            border-radius: 999px;
            border: 1px solid var(--hairline-strong);
            background: rgba(7, 4, 6, 0.62);
            color: var(--fg-2);
            font-size: 9.5px;
            font-weight: 700;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .model-online::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--ok);
            box-shadow: 0 0 6px var(--ok);
        }

        .model-online.is-off::before {
            background: var(--fg-4);
            box-shadow: none;
        }

        .model-hot {
            position: absolute;
            z-index: 3;
            top: 8px;
            right: 8px;
            display: grid;
            place-items: center;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--brand-gradient);
            font-size: 10px;
            line-height: 1;
            box-shadow: 0 4px 12px rgba(255, 45, 120, 0.35);
        }

        .model-copy {
            position: absolute;
            z-index: 3;
            left: 9px;
            right: 36px;
            bottom: 9px;
        }

        .model-copy strong {
            display: block;
            font-family: var(--font-display);
            font-size: 13px;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
        }

        .model-copy small {
            display: block;
            margin-top: 2px;
            font-size: 9.5px;
            font-weight: 600;
            color: var(--fg-3);
        }

        .model-lock {
            position: absolute;
            z-index: 3;
            right: 8px;
            bottom: 9px;
            width: 22px;
            height: 22px;
            background: var(--lock-icon) center / contain no-repeat;
            filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.6));
        }

        .model-card--more { border-color: var(--brand-border); }

        .model-card--more::before {
            background: linear-gradient(180deg, rgba(7, 4, 6, 0.4), rgba(7, 4, 6, 0.6) 55%, rgba(7, 4, 6, 0.92));
        }

        .model-more-bg {
            filter: blur(9px) brightness(0.55) saturate(1.2);
            transform: scale(1.18);
        }

        .model-more-copy {
            position: absolute;
            z-index: 3;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            gap: 3px;
            padding: 0 10px 12px;
            text-align: center;
        }

        .model-more-count {
            font-family: var(--font-display);
            font-size: 28px;
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1;
            background: var(--brand-gradient);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
        }

        .model-more-label {
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--fg-2);
        }

        .model-lock--center {
            right: auto;
            bottom: auto;
            top: 34%;
            left: 50%;
            width: 30px;
            height: 30px;
            transform: translate(-50%, -50%);
        }

        /* ===== Galerie : preuve sociale, onglets ===== */
        .gallery-activity {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0 0 12px;
            padding: 6px 12px 6px 6px;
            border-radius: 999px;
            border: 1px solid var(--hairline);
            background: var(--ink-2);
        }

        .activity-stack {
            display: flex;
            flex: none;
        }

        .activity-stack img {
            width: 22px;
            height: 22px;
            margin-left: -7px;
            border: 1.5px solid var(--ink-2);
            border-radius: 50%;
            object-fit: cover;
            background: var(--ink-3);
        }

        .activity-stack img:first-child { margin-left: 0; }

        .activity-text {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 11.5px;
            font-weight: 500;
            color: var(--fg-3);
        }

        .activity-text b {
            color: var(--brand-1);
            font-weight: 700;
        }

        .media-tabs {
            display: flex;
            gap: 6px;
            margin-bottom: 12px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .media-tabs::-webkit-scrollbar { display: none; }

        .media-tabs button {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 32px;
            padding: 0 12px;
            border: 1px solid var(--hairline-strong);
            border-radius: 999px;
            background: var(--ink-2);
            color: var(--fg-3);
            font-family: var(--font-ui);
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
            cursor: pointer;
            transition: color 0.18s ease, border-color 0.18s ease;
        }

        .media-tabs button b {
            display: inline-grid;
            place-items: center;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.08);
            color: var(--fg-2);
            font-size: 10px;
            font-weight: 700;
        }

        .media-tabs button[aria-selected="true"] {
            color: #fff;
            border-color: transparent;
            background:
                linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
                var(--brand-gradient) border-box;
        }

        .media-tabs button[aria-selected="true"] b {
            background: var(--brand-gradient);
            color: var(--brand-ink);
        }

        .peek-hint {
            margin: -4px 0 10px;
            font-size: 11px;
            font-weight: 500;
            color: var(--fg-4);
        }

        .media-empty {
            padding: 30px 16px;
            text-align: center;
            font-size: 13px;
            color: var(--fg-3);
        }

        /* ===== Galerie : grille bento =====
           Motif 1 large + 2 petits : la vignette large occupe toute la rangée en 16/9,
           les petites gardent le 3/4. Chaque tuile porte son type, ses compteurs
           et le cadenas, comme une vraie grille de réseau social. */
        .bento {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 6px;
            transition: opacity 0.13s ease, transform 0.18s ease;
        }

        .bento.is-filtering {
            opacity: 0.35;
            transform: translateY(4px);
        }

        .tile {
            position: relative;
            aspect-ratio: 3 / 4;
            min-width: 0;
            padding: 0;
            overflow: hidden;
            isolation: isolate;
            border: 1px solid var(--hairline);
            border-radius: 12px;
            background: var(--ink-3);
            color: var(--fg-1);
            text-align: left;
            cursor: pointer;
            -webkit-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .tile:hover {
            transform: translateY(-2px);
            border-color: var(--brand-border);
        }

        .tile--wide {
            grid-column: 1 / -1;
            aspect-ratio: 16 / 9;
        }

        /* Tuiles étirées par la grille : le média passe en absolu pour ne pas
           imposer sa hauteur naturelle aux rangées. */
        .tile--two {
            grid-column: span 2;
            aspect-ratio: auto;
        }

        .tile--big {
            grid-column: span 2;
            grid-row: span 2;
            aspect-ratio: auto;
        }

        .tile--two img,
        .tile--two video,
        .tile--big img,
        .tile--big video {
            position: absolute;
            inset: 0;
        }

        .tile--big .media-veil-lock {
            width: 40px;
            height: 40px;
        }

        .bento.is-grid .tile { aspect-ratio: 9 / 16; }
        .bento.is-grid .tile--wide,
        .bento.is-grid .tile--two,
        .bento.is-grid .tile--big { grid-column: auto; grid-row: auto; aspect-ratio: 9 / 16; }

        .tile::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(7, 4, 6, 0.08) 40%, rgba(7, 4, 6, 0.72) 100%);
        }

        .tile img,
        .tile video {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
            transition: transform 0.35s ease, filter 0.35s ease;
        }

        .tile--blurred img,
        .tile--blurred video {
            filter: blur(11px) brightness(0.58);
            transform: scale(1.14);
        }

        .tile.is-peeking img,
        .tile.is-peeking video {
            filter: blur(1.5px) brightness(0.9);
            transform: scale(1.03);
            transition: filter 0.45s ease, transform 0.45s ease;
        }

        .tile.is-peeking .media-veil { opacity: 0; }

        .media-veil {
            position: absolute;
            inset: 0;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            pointer-events: none;
            transition: opacity 0.25s ease;
        }

        .media-veil-lock {
            width: 26px;
            height: 26px;
            background: var(--lock-icon) center / contain no-repeat;
            filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.66));
        }

        .media-veil em {
            font-style: normal;
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: #fff;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
        }

        .tile--wide .media-veil-lock {
            width: 36px;
            height: 36px;
        }

        .media-type {
            position: absolute;
            z-index: 3;
            top: 8px;
            left: 8px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            height: 19px;
            padding: 0 7px;
            border-radius: 999px;
            border: 1px solid var(--hairline-strong);
            background: rgba(7, 4, 6, 0.62);
            color: var(--fg-2);
            font-size: 9px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .media-type svg {
            width: 9px;
            height: 9px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linejoin: round;
        }

        .media-type i {
            font-style: normal;
            color: var(--brand-1);
            letter-spacing: 0;
            text-transform: none;
            font-variant-numeric: tabular-nums;
        }

        .tile-tag {
            position: absolute;
            z-index: 3;
            top: 8px;
            right: 8px;
            display: inline-flex;
            align-items: center;
            height: 19px;
            padding: 0 7px;
            border-radius: 6px;
            border: 1px solid var(--hairline-strong);
            background: rgba(7, 4, 6, 0.62);
            color: #fff;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .tile-tag--hot {
            background: var(--brand-gradient);
            border-color: transparent;
        }

        .media-meta {
            position: absolute;
            z-index: 3;
            left: 7px;
            right: 7px;
            bottom: 7px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 10px;
            font-weight: 600;
            color: #fff;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
            transition: opacity 0.2s ease;
        }

        .media-meta span {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .media-meta i { font-style: normal; }

        .media-meta svg {
            width: 12px;
            height: 12px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .media-likes svg { stroke: var(--brand-1); }

        .media-play {
            position: absolute;
            z-index: 3;
            right: 8px;
            bottom: 8px;
            display: grid;
            place-items: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 1px solid var(--hairline-strong);
            background: rgba(7, 4, 6, 0.62);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .media-play svg {
            width: 11px;
            height: 11px;
            fill: #fff;
            transform: translateX(1px);
        }

        .tile-peek-bar {
            position: absolute;
            z-index: 4;
            left: 8px;
            right: 8px;
            bottom: 5px;
            height: 3px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.18);
            overflow: hidden;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .tile-peek-bar i {
            display: block;
            width: 0;
            height: 100%;
            background: var(--brand-gradient);
        }

        .tile.is-peeking .tile-peek-bar { opacity: 1; }
        .tile.is-peeking .tile-peek-bar i { animation: peekBar var(--peek-duration, 1.2s) linear forwards; }
        .tile.is-peeking .media-meta { opacity: 0; }

        .peek-toast {
            position: fixed;
            z-index: 950;
            left: 50%;
            bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
            display: inline-flex;
            align-items: center;
            gap: 7px;
            max-width: calc(100% - 32px);
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid var(--brand-border);
            background: rgba(14, 10, 13, 0.96);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
            box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
            opacity: 0;
            transform: translateX(-50%) translateY(10px);
            transition: opacity 0.25s ease, transform 0.3s ease;
            pointer-events: none;
        }

        .peek-toast.is-visible {
            opacity: 1;
            transform: translateX(-50%);
        }

        .peek-toast::before {
            content: '';
            width: 12px;
            height: 12px;
            background: var(--lock-icon) center / contain no-repeat;
        }

        /* ===== Bouton compact réutilisable (lecteurs) ===== */
        .sl-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 40px;
            padding: 0 12px 0 16px;
            border: 1px solid transparent;
            border-radius: 12px;
            background:
                linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
                var(--brand-gradient) border-box;
            color: #fff;
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 700;
            letter-spacing: -0.01em;
            white-space: nowrap;
            cursor: pointer;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
            transition: transform 0.18s ease;
        }

        .sl-btn:active { transform: scale(0.98); }

        .sl-btn--solid {
            background: var(--brand-gradient);
            color: var(--brand-ink);
            box-shadow: 0 8px 20px rgba(255, 45, 120, 0.3);
        }

        .sl-btn--pill {
            border-radius: 999px;
            min-height: 38px;
        }

        .sl-btn--block { width: 100%; }

        .sl-btn-arrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            flex: none;
            border-radius: 50%;
            background: var(--brand-soft-bg);
            border: 1px solid var(--brand-border);
            color: var(--brand-1);
        }

        .sl-btn--solid .sl-btn-arrow {
            background: rgba(255, 255, 255, 0.18);
            border-color: transparent;
            color: #fff;
        }

        .sl-btn-arrow svg {
            width: 12px;
            height: 12px;
        }

        /* ===== Dock flottant ===== */
        .dock {
            position: fixed;
            z-index: 900;
            left: 0;
            right: 0;
            bottom: max(10px, env(safe-area-inset-bottom, 0px));
            width: min(calc(100% - 20px), 444px);
            margin-inline: auto;
            opacity: 0;
            pointer-events: none;
            transform: translateY(24px);
            transition: opacity 0.26s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .dock.is-visible {
            opacity: 1;
            pointer-events: auto;
            transform: none;
        }

        .dock button {
            display: grid;
            grid-template-columns: 40px minmax(0, 1fr) auto;
            gap: 10px;
            align-items: center;
            width: 100%;
            min-height: 60px;
            padding: 8px 8px 8px 9px;
            border: 1px solid transparent;
            border-radius: 999px;
            background:
                linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
                var(--brand-gradient) border-box;
            color: var(--fg-1);
            text-align: left;
            cursor: pointer;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
        }

        .dock-avatar {
            position: relative;
            width: 40px;
            height: 40px;
        }

        .dock-avatar img {
            display: block;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--ink-1);
            object-fit: cover;
            background: var(--ink-3);
        }

        .dock-avatar i {
            position: absolute;
            right: 0;
            bottom: 1px;
            width: 11px;
            height: 11px;
            border-radius: 50%;
            border: 2px solid var(--ink-2);
            background: var(--ok);
        }

        .dock-copy { min-width: 0; }

        .dock-copy strong,
        .dock-copy small {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .dock-copy strong {
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            letter-spacing: -0.01em;
        }

        .dock-copy small {
            margin-top: 1px;
            font-size: 11px;
            font-weight: 500;
            color: var(--fg-3);
        }

        .dock-cta {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            flex: none;
            height: 40px;
            padding: 0 6px 0 12px;
            border-radius: 999px;
            background: var(--brand-gradient);
            color: var(--brand-ink);
        }

        .dock-price {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 800;
            letter-spacing: -0.01em;
            font-variant-numeric: tabular-nums;
        }

        .dock-arrow {
            display: grid;
            place-items: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.18);
        }

        .dock-arrow svg {
            width: 14px;
            height: 14px;
        }

        /* ===== Bulle de chat ===== */
        .chat-icon {
            position: fixed;
            z-index: 890;
            right: 16px;
            bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
            display: grid;
            place-items: center;
            width: 50px;
            height: 50px;
            padding: 0;
            border: 1px solid transparent;
            border-radius: 50%;
            background:
                linear-gradient(180deg, var(--ink-3), var(--ink-2)) padding-box,
                var(--brand-gradient) border-box;
            color: var(--brand-1);
            box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
            cursor: pointer;
            transition: transform 0.2s ease, bottom 0.3s ease;
        }

        .chat-icon:active { transform: scale(0.94); }

        .chat-icon svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .chat-notification {
            position: absolute;
            top: -3px;
            right: -3px;
            display: grid;
            place-items: center;
            width: 18px;
            height: 18px;
            border: 2px solid var(--ink-1);
            border-radius: 50%;
            background: var(--live);
            color: #fff;
            font-size: 9.5px;
            font-weight: 800;
            animation: livePulse 2s ease-in-out infinite;
        }

        body.dock-visible .chat-icon {
            bottom: calc(env(safe-area-inset-bottom, 0px) + 84px);
        }

        /* ===== Lecteurs plein écran (stories + lightbox) ===== */
        .story-viewer,
        .media-viewer {
            position: fixed;
            z-index: 100010;
            inset: 0;
            display: grid;
            place-items: center;
            padding: max(8px, env(safe-area-inset-top, 0px)) 8px max(8px, env(safe-area-inset-bottom, 0px));
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.21s ease;
        }

        .story-viewer.is-open,
        .media-viewer.is-open {
            opacity: 1;
            pointer-events: auto;
        }

        .story-overlay,
        .viewer-overlay {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            padding: 0;
            border: 0;
            background: rgba(4, 2, 4, 0.9);
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
            cursor: default;
        }

        .story-shell {
            position: relative;
            z-index: 1;
            width: min(calc(100% - 8px), 400px, 56.25dvh);
            aspect-ratio: 9 / 16;
            overflow: hidden;
            border: 1px solid var(--hairline-strong);
            border-radius: 22px;
            outline: 0;
            background: var(--ink-0);
            box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
        }

        .story-progress {
            position: absolute;
            z-index: 7;
            top: 10px;
            left: 10px;
            right: 10px;
            display: flex;
            gap: 3px;
        }

        .story-progress > span {
            flex: 1;
            height: 2.5px;
            overflow: hidden;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.26);
        }

        .story-progress i {
            display: block;
            width: 0;
            height: 100%;
            border-radius: inherit;
            background: var(--brand-gradient);
        }

        .story-progress i.is-complete { width: 100%; }
        .story-progress i.is-running { animation: storyProgress var(--story-duration, 5s) linear forwards; }

        .story-header {
            position: absolute;
            z-index: 6;
            top: 20px;
            left: 10px;
            right: 10px;
            display: grid;
            grid-template-columns: 34px minmax(0, 1fr) 36px;
            gap: 8px;
            align-items: center;
        }

        .story-header img {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 2px solid var(--brand-2);
            object-fit: cover;
            background: var(--ink-3);
        }

        .story-header div { min-width: 0; }

        .story-header strong,
        .story-header span {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
        }

        .story-header strong {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 700;
        }

        .story-header span {
            margin-top: 1px;
            font-size: 11px;
            color: var(--fg-3);
        }

        .story-close,
        .viewer-close {
            display: grid;
            place-items: center;
            width: 36px;
            height: 36px;
            padding: 0;
            border: 1px solid var(--hairline);
            border-radius: 50%;
            color: #fff;
            background: rgba(7, 4, 6, 0.5);
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .story-stage {
            position: absolute;
            inset: 0;
            background: var(--ink-0);
        }

        .story-stage img,
        .story-stage video {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .story-stage.is-blurred img,
        .story-stage.is-blurred video {
            filter: blur(14px) brightness(0.58);
            transform: scale(1.08);
        }

        .story-stage::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(7, 4, 6, 0.5), transparent 24%, transparent 64%, rgba(7, 4, 6, 0.82));
        }

        .story-nav {
            position: absolute;
            z-index: 4;
            top: 70px;
            bottom: 90px;
            width: 40%;
            padding: 0;
            border: 0;
            background: transparent;
            cursor: pointer;
        }

        .story-prev { left: 0; }
        .story-next { right: 0; }

        .story-lock,
        .viewer-lock {
            position: absolute;
            inset: 0;
            z-index: 3;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
            pointer-events: none;
        }

        .story-stage.is-locked .story-lock,
        .viewer-stage.is-locked .viewer-lock { display: flex; }

        .story-lock-icon,
        .viewer-lock-icon {
            width: 44px;
            height: 44px;
            background: var(--lock-icon) center / contain no-repeat;
            filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7));
        }

        .story-lock em,
        .viewer-lock em {
            font-style: normal;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #fff;
            text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
        }

        .story-footer {
            position: absolute;
            z-index: 6;
            left: 12px;
            right: 12px;
            bottom: 14px;
            display: flex;
            gap: 10px;
            align-items: flex-end;
            justify-content: space-between;
        }

        .story-footer p {
            min-width: 0;
            font-size: 12px;
            line-height: 1.4;
            color: var(--fg-2);
            text-shadow: 0 2px 10px #000;
        }

        .story-footer p:empty { display: none; }

        .preview-bar {
            position: absolute;
            z-index: 8;
            left: 0;
            right: 0;
            top: 0;
            height: 3px;
            background: var(--brand-gradient);
            transform-origin: left;
            animation: previewDrain var(--preview-seconds, 4s) linear forwards;
            pointer-events: none;
        }

        .story-stage .preview-bar {
            top: auto;
            bottom: 0;
        }

        .viewer-shell {
            position: relative;
            z-index: 1;
            width: min(calc(100% - 8px), 400px, 56.25dvh);
            max-height: calc(100dvh - 16px);
            overflow: hidden auto;
            border: 1px solid var(--hairline-strong);
            border-radius: 22px;
            background: var(--ink-1);
            box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
            scrollbar-width: none;
        }

        .viewer-shell::-webkit-scrollbar { display: none; }

        .viewer-header {
            position: absolute;
            z-index: 5;
            top: 0;
            left: 0;
            right: 0;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto 36px;
            gap: 8px;
            align-items: center;
            min-height: 62px;
            padding: 10px 10px 16px 12px;
            background: linear-gradient(180deg, rgba(7, 4, 6, 0.9), rgba(7, 4, 6, 0.55) 60%, transparent);
        }

        .viewer-profile {
            display: flex;
            gap: 8px;
            align-items: center;
            min-width: 0;
        }

        .viewer-profile img {
            width: 32px;
            height: 32px;
            flex: none;
            border-radius: 50%;
            border: 2px solid var(--brand-2);
            object-fit: cover;
            background: var(--ink-3);
        }

        .viewer-profile div { min-width: 0; }

        .viewer-profile strong,
        .viewer-profile span {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .viewer-profile strong {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 700;
        }

        .viewer-profile span {
            margin-top: 1px;
            font-size: 11px;
            color: var(--fg-3);
        }

        .viewer-counter {
            height: 24px;
            padding: 0 8px;
            border: 1px solid var(--hairline-strong);
            border-radius: 999px;
            color: #fff;
            background: rgba(7, 4, 6, 0.6);
            font-size: 10.5px;
            font-weight: 600;
            font-variant-numeric: tabular-nums;
            line-height: 22px;
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
        }

        .viewer-stage {
            --swipe-x: 0px;
            position: relative;
            width: 100%;
            aspect-ratio: 9 / 16;
            overflow: hidden;
            background: var(--ink-0);
            touch-action: pan-y pinch-zoom;
            -webkit-user-select: none;
            user-select: none;
        }

        .viewer-stage img,
        .viewer-stage video {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
            transition: transform 0.22s ease;
            transform: translateX(var(--swipe-x));
        }

        .viewer-stage.is-swiping img,
        .viewer-stage.is-swiping video { transition: none; }

        .viewer-stage.is-blurred img,
        .viewer-stage.is-blurred video {
            filter: blur(13px) brightness(0.55);
            transform: translateX(var(--swipe-x)) scale(1.08);
        }

        .viewer-stage.is-locked::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
            background: linear-gradient(180deg, rgba(7, 4, 6, 0.06), rgba(7, 4, 6, 0.28) 60%, rgba(7, 4, 6, 0.72));
        }

        .viewer-like {
            position: absolute;
            z-index: 4;
            left: 12px;
            bottom: 12px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 36px;
            padding: 0 12px;
            border: 1px solid var(--hairline-strong);
            border-radius: 999px;
            color: #fff;
            background: rgba(7, 4, 6, 0.6);
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            transition: bottom 0.18s ease;
        }

        .viewer-stage.is-locked .viewer-like { bottom: 66px; }

        .viewer-like svg {
            width: 15px;
            height: 15px;
            fill: none;
            stroke: var(--brand-1);
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .viewer-like[aria-pressed="true"] svg {
            fill: var(--brand-2);
            stroke: var(--brand-2);
        }

        .viewer-like.is-popping svg { animation: likePop 0.34s ease; }

        .viewer-stage-cta {
            position: absolute;
            z-index: 4;
            left: 12px;
            right: 12px;
            bottom: 12px;
            display: none;
        }

        .viewer-stage.is-locked .viewer-stage-cta { display: flex; }

        .viewer-nav {
            position: absolute;
            z-index: 4;
            top: 50%;
            display: grid;
            place-items: center;
            width: 36px;
            height: 36px;
            padding: 0;
            border: 1px solid var(--hairline-strong);
            border-radius: 50%;
            color: #fff;
            background: rgba(7, 4, 6, 0.6);
            font-size: 20px;
            line-height: 1;
            transform: translateY(-50%);
            cursor: pointer;
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
        }

        .viewer-nav:disabled { opacity: 0.3; }
        .viewer-prev { left: 8px; }
        .viewer-next { right: 8px; }

        .viewer-footer {
            display: flex;
            gap: 10px;
            align-items: center;
            justify-content: space-between;
            min-height: 58px;
            padding: 10px 12px;
            border-top: 1px solid var(--hairline);
            background: var(--ink-1);
        }

        .viewer-footer p { min-width: 0; }

        .viewer-footer strong,
        .viewer-footer span {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .viewer-footer strong {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 700;
        }

        .viewer-footer span {
            margin-top: 2px;
            font-size: 11px;
            color: var(--fg-3);
        }

        /* ===== Page verrouillée après l'aperçu unique =====
           Les médias se floutent légèrement ; les cadenas et les boutons restent nets. */
        .tile img,
        .tile video,
        .story-bubble img,
        .story-bubble video,
        .model-card img {
            transition: filter 0.35s ease, transform 0.35s ease;
        }

        body.is-locked .tile img,
        body.is-locked .tile video,
        body.is-locked .story-bubble img,
        body.is-locked .story-bubble video {
            filter: blur(var(--locked-blur, 6px)) brightness(0.7);
            transform: scale(1.08);
        }

        /* Le lecteur n'existe plus quand la page est verrouillée d'entrée :
           le curseur indique une action (ouvrir l'inscription), pas une lecture. */
        body.is-locked .tile,
        body.is-locked .story-bubble {
            cursor: pointer;
        }

        body.is-locked .tile:hover img,
        body.is-locked .tile:hover video,
        body.is-locked .tile--blurred:hover img,
        body.is-locked .tile--blurred:hover video {
            transform: scale(1.08);
        }

        /* ===== Apparition au scroll ===== */
        [data-reveal] {
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }

        [data-reveal].is-revealed {
            opacity: 1;
            transform: none;
        }

        @keyframes storyProgress { from { width: 0; } to { width: 100%; } }
        @keyframes peekBar { from { width: 0; } to { width: 100%; } }
        @keyframes previewDrain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
        @keyframes likePop {
            0% { transform: scale(0.72) rotate(-8deg); }
            65% { transform: scale(1.2) rotate(4deg); }
            100% { transform: none; }
        }

        @media (min-width: 1000px) {
            .model-card:hover img { transform: scale(1.05); transition: transform 0.4s ease; }
            .tile:hover img,
            .tile:hover video { transform: scale(1.05); }
            .tile--blurred:hover img,
            .tile--blurred:hover video { transform: scale(1.18); }
        }

        @media (max-width: 360px) {
            .model-card { width: 96px; }
            .dock-copy small { display: none; }
        }

        @media (prefers-reduced-motion: reduce) {
            [data-reveal] { opacity: 1; transform: none; transition: none; }
            .story-viewer, .media-viewer, .dock, .chat-icon { transition: none; }
        }

        /* =====================================================================
           FORMULAIRE PRELINKER (#selector)
           Le script partenaire injecte SON HTML dans #selector ; on le repeint
           aux couleurs de la page. (A) règles génériques par balise, valables
           pour tout formulaire injecté ; (B) neutralisation du positionnement
           des classes « ptprelinker » du script.
           ===================================================================== */
        .joinform-prelinker { display: flex; flex-direction: column; gap: 10px; }

        .joinform-prelinker-wait {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 48px;
            font-size: 13px;
            font-weight: 600;
            color: var(--fg-3);
        }

        .joinform-prelinker-spinner {
            width: 18px;
            height: 18px;
            border: 2.5px solid rgba(255, 255, 255, 0.18);
            border-top-color: var(--brand-1);
            border-radius: 50%;
            animation: joinform-spin 0.7s linear infinite;
        }

        .joinform-prelinker-error {
            display: flex;
            flex-direction: column;
            gap: 10px;
            text-align: center;
        }

        .joinform-prelinker-error p {
            margin: 0;
            font-size: 13px;
            font-weight: 600;
            color: var(--fg-2);
        }

        .joinform-submit--retry { cursor: pointer; }

        /* (A) GÉNÉRIQUE ------------------------------------------------------ */
        #selector, #selector * { box-sizing: border-box; font-family: var(--font-ui) !important; }
        #selector { color: var(--fg-2); font-size: 13px; }
        #selector form { display: grid !important; gap: 10px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
        #selector fieldset { margin: 0 !important; padding: 0 !important; border: 0 !important; }
        #selector h1, #selector h2, #selector h3, #selector h4 { margin: 0 0 4px !important; color: var(--fg-1) !important; font-size: 15px !important; font-weight: 800 !important; }
        #selector p { margin: 0 !important; color: var(--fg-3) !important; font-size: 12px !important; line-height: 1.45 !important; }
        #selector a { color: var(--brand-1) !important; font-weight: 700 !important; text-decoration: none !important; }
        #selector a:hover { text-decoration: underline !important; }

        #selector input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
        #selector select,
        #selector textarea {
            display: block !important; width: 100% !important; min-height: 48px !important; margin: 0 !important; padding: 0 18px !important;
            border: 1px solid transparent !important; border-radius: 999px !important; outline: 0 !important;
            color: #fff !important; font-size: 16px !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 6px 14px rgba(0, 0, 0, 0.24) !important;
            background: linear-gradient(180deg, rgba(23, 23, 23, 0.92), rgba(15, 15, 15, 0.92)) padding-box, var(--brand-gradient) border-box !important;
            -webkit-appearance: none !important; appearance: none !important; transition: box-shadow 0.2s ease !important;
        }
        #selector textarea { min-height: 84px !important; padding: 12px 18px !important; border-radius: 16px !important; }
        #selector input::placeholder, #selector textarea::placeholder { color: rgba(255, 255, 255, 0.45) !important; opacity: 1 !important; }
        #selector input:focus, #selector select:focus, #selector textarea:focus { box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.16), 0 10px 22px rgba(255, 45, 120, 0.22) !important; }

        #selector input[type="checkbox"], #selector input[type="radio"] {
            position: static !important; appearance: none !important; -webkit-appearance: none !important;
            width: 16px !important; height: 16px !important; flex: 0 0 auto !important; margin: 2px 0 0 !important; padding: 0 !important;
            border: 1.5px solid var(--brand-2) !important; border-radius: 4px !important; clip: auto !important;
            opacity: 1 !important; visibility: visible !important; background: transparent !important; box-shadow: none !important; cursor: pointer !important;
        }
        #selector input[type="radio"] { border-radius: 50% !important; }
        #selector input[type="checkbox"]:checked, #selector input[type="radio"]:checked { background: var(--brand-2) !important; box-shadow: inset 0 0 0 3px var(--ink-1) !important; }

        #selector label { display: block !important; color: var(--fg-3) !important; font-size: 11.5px !important; line-height: 1.45 !important; text-align: left !important; }

        #selector button, #selector input[type="submit"], #selector input[type="button"] {
            display: block !important; width: 100% !important; min-height: 48px !important; margin: 0 !important; padding: 13px 16px !important;
            border: 0 !important; border-radius: 13px !important; color: var(--brand-ink) !important; background: var(--brand-gradient) !important;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 10px rgba(0, 0, 0, 0.22) !important; cursor: pointer !important;
            font-family: var(--font-display) !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: -0.01em !important; text-transform: none !important;
        }

        /* (B) SPÉCIFIQUE au script « ptprelinker » ---------------------------- */
        #selector .ptprelinker--box, #selector .ptprelinker-content, #selector .ptprelinker-content-inner, #selector .ptprelinker-content-content, #selector .ptprelinker-register-form, #selector .ptprelinker-_Box { position: static !important; width: 100% !important; max-width: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
        #selector .ptprelinker-overlay, #selector .ptprelinker-close { display: none !important; }
        #selector .ptprelinker-legend-form { display: block !important; margin: 0 0 6px !important; background: transparent !important; color: var(--fg-2) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.4 !important; }
        #selector .ptprelinker-legend-form i { display: none !important; }
        #selector .ptprelinker-input-group { width: 100% !important; margin: 0 !important; padding: 0 !important; }
        #selector .ptprelinker-input-group-prepend, #selector .ptprelinker-label:empty { display: none !important; }
        #selector .ptprelinker-buttons { display: grid !important; gap: 12px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
        #selector .ptprelinker-checkbox { position: static !important; display: grid !important; grid-template-columns: 16px minmax(0, 1fr) !important; gap: 8px !important; align-items: start !important; width: 100% !important; max-width: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; color: var(--fg-3) !important; background: transparent !important; }
        #selector .ptprelinker-label-checkbox::before, #selector .ptprelinker-label-checkbox::after { display: none !important; content: none !important; }
        /* Le script réserve une marge à gauche du libellé pour sa propre case dessinée en ::before ; on l'annule. */
        #selector .ptprelinker-label-checkbox { padding: 0 !important; margin: 0 !important; text-indent: 0 !important; min-height: 0 !important; line-height: 1.45 !important; }
        #selector .ptprelinker-checkbox { align-items: center !important; }
        #selector input[type="checkbox"] { margin-top: 0 !important; }
        #selector .ptprelinker-cgu-link { display: inline !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
        #selector .error-register { margin: 0 !important; color: #ff6a60 !important; font-size: 12.5px !important; line-height: 1.45 !important; }
        #selector .couple-title { display: inline !important; color: inherit !important; border-bottom: 1px dotted var(--brand-border); }
        #selector .ptprelinker-checkbox[style*="display: none"], #selector .ptprelinker-checkbox[style*="display:none"] { display: none !important; }
        #selector .ptprelinker-cgu-text, #selector [class*="cgu-text"] { position: static !important; display: block !important; width: 100% !important; margin: 0 !important; padding: 0 !important; color: var(--fg-4) !important; font-size: 10.5px !important; line-height: 1.45 !important; text-align: center !important; background: transparent !important; }
        #selector .ptprelinker-checkbox__cgu-container, #selector [class*="containers"], #selector [class*="contents-register-form"], #selector .ptprelinker-selector-default, #selector .ptprelinker-show { position: static !important; width: 100% !important; max-width: none !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; opacity: 1 !important; }
