    /* ─── FLASH NEWS BANNER — compacte, titre défilant ─── */
    /* Bandeau FLASH adouci (juillet 2026) : fini le rouge pleine largeur trop
       agressif pour l'identité sobre — fond carte + liseré rouge + badge rouge.
       L'urgence reste lisible (badge pulsé), le site garde son calme. */
    .flash-banner {
        display: flex; align-items: center; gap: 12px;
        height: 34px; padding: 0 14px;
        background: var(--bg-card);
        color: var(--text-main); text-decoration: none;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        border-bottom: 1px solid var(--border-soft);
        border-left: 4px solid var(--down);
        position: relative; z-index: 9000;
        overflow: hidden;
    }
    .flash-banner:hover .flash-cta { text-decoration: underline; }
    .flash-tag {
        font-size: 9px; font-weight: 900;
        letter-spacing: 1.5px; text-transform: uppercase;
        background: var(--down); color: #fff;
        padding: 3px 8px; border-radius: 3px;
        flex-shrink: 0;
        animation: flashPulse 1.5s ease-in-out infinite;
    }
    @keyframes flashPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

    /* Marquee défilant */
    .flash-marquee { flex: 1; min-width: 0; overflow: hidden; position: relative; height: 100%; display: flex; align-items: center; }
    .flash-marquee-track {
        display: inline-flex; gap: 60px; white-space: nowrap;
        will-change: transform;
        animation: flashScroll 28s linear infinite;
    }
    .flash-marquee-track span { font-size: 12.5px; font-weight: 600; color: var(--text-main); }
    @keyframes flashScroll {
        from { transform: translateX(0); }
        to   { transform: translateX(-50%); }
    }
    .flash-banner:hover .flash-marquee-track { animation-play-state: paused; }

    .flash-cta { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--down); white-space: nowrap; flex-shrink: 0; padding-left: 12px; border-left: 1px solid var(--border-soft); }
    @media (max-width: 768px) {
        .flash-marquee-track span { font-size: 12px; }
        .flash-cta { padding-left: 10px; }
    }

    /* FLUIDITÉ DU SCROLL — `content-visibility:auto` a été RETIRÉ (régression) :
       il casse le paint de blocs entiers (journal de marché invisible) sur
       Safari iOS, surtout en navigation privée. Bug déjà constaté et documenté
       (cf. note près de .bj-journal). On garde uniquement le respect de
       prefers-reduced-motion, sans risque. */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
    }

    /* ═══════════════════════════════════════════════════════════════════
       BARRE DE COTATIONS — style Yahoo Finance (cartes FIXES, non défilantes).
       · Chaque carte : nom, cours, mini-courbe SVG intraday live, variation %
       · Pas de marquee : la barre est statique ; débordement = swipe horizontal
       · Données live via /index.php?api_yf=… (qui renvoie aussi la sparkline)
       · Cours + courbe rafraîchis périodiquement avec transition animée
       · 100 % cliquable, aucun script tiers, RGPD-friendly
    ═══════════════════════════════════════════════════════════════════ */
    .ticker-wrapper {
        background: var(--bg-card); border-bottom: 1px solid var(--border-color);
        width: 100%; max-width: 100%; overflow: hidden; position: relative;
    }
    .ticker-track {
        display: flex; align-items: stretch; gap: 0;
        overflow-x: auto; overflow-y: hidden;
        scrollbar-width: none; -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        cursor: grab;
    }
    .ticker-track::-webkit-scrollbar { display: none; }
    /* Défilement au cliquer-déposer (PC) */
    .ticker-track.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
    .ticker-track.drag * { cursor: grabbing; }
    /* Desktop : nom en haut ; ligne « cours + % » à gauche, courbe à droite. */
    .ticker-item {
        flex: 0 0 auto; min-width: 158px;
        display: grid; align-items: center; column-gap: 8px; row-gap: 2px;
        grid-template-columns: 1fr auto;
        grid-template-areas: "name name" "quote spark";
        padding: 7px 16px;
        text-decoration: none; color: inherit;
        border-right: 1px solid var(--border-color);
        transition: background .12s; scroll-snap-align: start;
    }
    .ticker-item:hover { background: var(--bg-subtle); }
    .ticker-name {
        grid-area: name;
        font-size: 10.5px; font-weight: 700; color: var(--text-muted);
        letter-spacing: .3px; white-space: nowrap; text-transform: uppercase;
    }
    .ticker-quote { grid-area: quote; display: flex; align-items: center; gap: 7px; }
    .ticker-val {
        font-family: ui-monospace, "SF Mono", Menlo, monospace;
        font-variant-numeric: tabular-nums;
        font-size: 13px; font-weight: 700; color: var(--text-main);
        white-space: nowrap;
    }
    /* Mini-courbe SVG intraday */
    .ticker-spark { grid-area: spark; width: 52px; height: 22px; flex-shrink: 0; display: block; overflow: visible; }
    .ticker-spark-path { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
    .ticker-spark-area { stroke: none; opacity: .12; }
    .ticker-pct {
        font-family: ui-monospace, "SF Mono", Menlo, monospace;
        font-variant-numeric: tabular-nums;
        font-size: 11px; font-weight: 800; white-space: nowrap;
    }
    .ticker-pct.up   { color: var(--up); }
    .ticker-pct.down { color: var(--down); }
    .ticker-pct.flat { color: var(--text-muted); }
    .ticker-item.up   .ticker-spark-path { stroke: var(--up); }
    .ticker-item.up   .ticker-spark-area { fill: var(--up); }
    .ticker-item.down .ticker-spark-path { stroke: var(--down); }
    .ticker-item.down .ticker-spark-area { fill: var(--down); }
    .ticker-item.flat .ticker-spark-path { stroke: var(--text-muted); }
    /* Transition animée du cours à chaque rafraîchissement */
    .ticker-val.flash-up   { animation: qtFlashUp   .65s ease; }
    .ticker-val.flash-down { animation: qtFlashDown .65s ease; }
    @keyframes qtFlashUp   { 0% { color: var(--up); }   100% { color: var(--text-main); } }
    @keyframes qtFlashDown { 0% { color: var(--down); } 100% { color: var(--text-main); } }
    /* Tracé « dessiné » de la courbe au 1ᵉʳ rendu */
    .ticker-spark-path.draw { animation: qtSparkDraw 1s ease forwards; }
    @keyframes qtSparkDraw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
    /* Skeleton avant le 1ᵉʳ fetch */
    .ticker-item.is-loading .ticker-val,
    .ticker-item.is-loading .ticker-pct {
        background: linear-gradient(90deg, var(--bg-subtle-2) 0%, var(--border-soft) 50%, var(--bg-subtle-2) 100%);
        background-size: 200% 100%; color: transparent;
        animation: skel-shimmer 1.4s infinite; border-radius: 3px;
    }
    .ticker-item.is-loading .ticker-val  { width: 56px; height: 13px; display: inline-block; }
    .ticker-item.is-loading .ticker-pct  { width: 38px; height: 11px; display: inline-block; }
    .ticker-item.is-loading .ticker-spark { opacity: 0; }
    @media (prefers-reduced-motion: reduce) {
        .ticker-val.flash-up, .ticker-val.flash-down, .ticker-spark-path.draw { animation: none; }
    }
    /* Mobile : carte plus compacte → courbe RÉDUITE placée à côté du nom,
       et ligne « cours + % » en dessous. Réduit nettement la largeur. */
    @media (max-width: 480px) {
        .ticker-item {
            min-width: 116px; padding: 6px 12px; column-gap: 6px; row-gap: 1px;
            grid-template-columns: 1fr auto;
            grid-template-areas: "name spark" "quote quote";
        }
        .ticker-name  { font-size: 9.5px; }
        .ticker-val   { font-size: 12px; }
        .ticker-pct   { font-size: 10px; }
        .ticker-quote { gap: 5px; }
        .ticker-spark { width: 34px; height: 16px; align-self: center; }
    }

    /* ═══════════════════════════════════════════════════════════════════
       SECTIONS F1 (Watchlist) + F2 (Alertes prix) — bas de page index
    ═══════════════════════════════════════════════════════════════════ */
    .bb-section {
        max-width: 100%; margin: 40px 0 0;
        background: var(--bg-card); border: 1px solid rgba(15, 23, 42, 0.16);
        border-radius: 8px; padding: 22px 24px;
    }
    .bb-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--bg-subtle-2); flex-wrap: wrap; }
    .bb-section-h { font-size: 17px; font-weight: 800; color: var(--text-main); margin: 0; letter-spacing: -0.2px; }
    .bb-section-sub { font-size: 12px; color: var(--text-muted); font-weight: 600; }
    /* Watchlist */
    .bb-watch-empty { text-align: center; padding: 18px 8px; color: var(--text-muted); }
    .bb-watch-empty p { margin: 0 0 6px; font-size: 14px; }
    .bb-watch-empty-sub { color: var(--text-muted); font-size: 12.5px; line-height: 1.5; margin-bottom: 18px !important; }
    .bb-watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
    .bb-watch-card { display: block; padding: 12px 14px; background: var(--bg-subtle); border: 1px solid var(--border-soft); border-left: 3px solid #cbd5e1; border-radius: 6px; text-decoration: none; color: inherit; transition: border-color .15s, transform .12s; position: relative; }
    .bb-watch-card:hover { border-color: var(--text-main); transform: translateY(-1px); }
    .bb-watch-card.up   { border-left-color: var(--up); }
    .bb-watch-card.down { border-left-color: var(--down); }
    .bb-watch-name { font-size: 13px; font-weight: 800; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bb-watch-tk   { font-size: 10.5px; font-weight: 600; color: var(--text-faint); margin-top: 2px; }
    .bb-watch-row  { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; }
    .bb-watch-val  { font-size: 13.5px; font-weight: 700; color: var(--text-main); }
    .bb-watch-pct  { font-size: 12px; font-weight: 800; padding: 2px 6px; border-radius: 3px; }
    .bb-watch-pct.up   { color: var(--up); background: var(--up-bg); }
    .bb-watch-pct.down { color: var(--down); background: var(--down-bg); }
    .bb-watch-x { position: absolute; top: 6px; right: 8px; background: transparent; border: none; color: #cbd5e1; font-size: 14px; cursor: pointer; padding: 2px 4px; }
    .bb-watch-x:hover { color: var(--down); }

    /* ═══════════════════════════════════════════════════════════════════
       LAYOUT — Smartphone (défaut) : 1 colonne centrée, ordre naturel.
       Tablette (768-1023px) : 1 colonne plus généreuse.
       PC (≥ 1024px) : DASHBOARD 2 colonnes type feargreedmeter
         · gauche (large)  : search + baromètre + journal + palmarès
         · droite (étroite, sticky) : Bourseur News, visible sans scroll
    ═══════════════════════════════════════════════════════════════════ */
    .wrapper { flex: 1; max-width: 900px; margin: 20px auto; padding: 0 15px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }

    /* Wrapper bas (watchlist + alertes) : aligné visuellement sur .wrapper,
       mais hors du grid pour ne pas se faire écraser par la news-section sticky.
       Mêmes max-widths breakpoint par breakpoint pour conserver l'alignement. */
    .bb-bottom-wrap { max-width: 900px; margin: 0 auto 20px; padding: 0 15px; width: 100%; display: flex; flex-direction: column; gap: 20px; }
    @media (min-width: 768px) and (max-width: 1023px) {
        .bb-bottom-wrap { max-width: 720px; }
    }
    @media (min-width: 1024px) {
        /* PC : 2 colonnes — GAUCHE = Terminal VIP puis watchlist (empilés),
           DROITE = guides & outils (occupe les 2 rangées). Mobile/tablette
           gardent l'empilement pleine largeur (flex column ci-dessus). */
        .bb-bottom-wrap {
            max-width: 1440px; padding: 0 28px; margin-bottom: 28px;
            display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
            gap: 22px 28px; align-items: start;
        }
        .bb-bottom-wrap .term-vip-wide { grid-column: 1; grid-row: 1; margin: 0; }
        .bb-bottom-wrap .bb-watchlist  { grid-column: 1; grid-row: 2; }
        .bb-bottom-wrap .bb-guides     { grid-column: 2; grid-row: 1 / span 2; }
    }

    /* Tablette : 1 colonne plus serrée pour la lecture */
    @media (min-width: 768px) and (max-width: 1023px) {
        .wrapper { max-width: 720px; }
    }

    /* PC ≥ 1024px : 2 colonnes dashboard, encadrement généreux */
    @media (min-width: 1024px) {
        .wrapper {
            max-width: 1440px;
            padding: 0 28px;
            /* Colonne news droite élargie 560→640px (juil. 2026) : Bourseur News
               prend encore plus de place en largeur sur PC (demande user). */
            grid-template-columns: minmax(0, 1fr) 640px;
            gap: 40px;
            align-items: start;
        }
        /* Watchlist désormais dans .bb-bottom-wrap HORS du wrapper-grid
           (cf. HTML) — règle conservée pour résilience legacy. */
        .wrapper > .bb-watchlist { grid-column: 1 / -1; }
        /* Colonne principale (aside) : flux vertical, blocs séparés par 40px définis */
        .wrapper > aside > .search-container { margin-bottom: 30px; }
        .wrapper > aside > .senti-block      { margin-top: 0; margin-bottom: 40px; }
        .wrapper > aside > .bj-journal       { margin-bottom: 40px; }
        .wrapper > aside > .pal-teaser       { margin-bottom: 0; }
        /* Jauge RÉDUITE sur PC (340 → 250px, demande user juil. 2026) : la
           colonne gauche respire et le journal remonte au-dessus du pli. */
        .wrapper > aside .gauge-svg { max-width: 250px; }
        .wrapper > aside .senti-score { font-size: 22px; margin-top: -16px; }

        /* Colonne news droite — FIXE dans le flux : elle reste à sa place et
           défile normalement avec la page (plus de sticky qui suivait le scroll,
           demande user). align-self:start pour qu'elle ne s'étire pas en hauteur. */
        .wrapper > .news-section {
            position: static;
            align-self: start;
            max-height: none;
            overflow: visible;
        }

        /* Cartes news adaptées à la colonne agrandie (~560px) : image confortable,
           hiérarchie typographique lisible (proche de la version mobile) */
        .news-section .news-ws-item { gap: 18px; padding: 18px 0; align-items: flex-start; }
        .news-section .news-ws-img { width: 136px; height: 100px; }
        .news-section .news-ws-imgwrap { width: 136px; }
        .news-section .news-ws-title { font-size: 16px; line-height: 1.3; -webkit-line-clamp: 2; margin-bottom: 6px; }
        .news-section .news-ws-desc { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; margin-bottom: 6px; }
        .news-section .news-ws-meta { font-size: 10.5px; letter-spacing: 0.2px; }
        .news-section .news-ws-item.is-house, .news-section .news-ws-item.is-live-flash { padding-left: 14px; }
        /* Titre "Bourseur News" : panneau latéral net, aligné gauche */
        .news-section { margin-top: 0; margin-bottom: 0; }
        /* (Variante compacte 24px supprimée : la manchette de base — serif 32px,
            centrée, doubles filets, encre froissée — s'applique aussi sur PC.) */
        .news-section .news-tabs { justify-content: flex-start; margin-bottom: 10px; }
        .news-section .news-tab { padding: 9px 16px; font-size: 11.5px; }
        .news-section .news-list-ws { margin-bottom: 0; }

        /* ─── BUMP TAILLES DES BLOCS PRINCIPAUX SUR PC ───────────────
           Les valeurs sub-pixel (10-13 px) rendent flou sur Windows
           avec Segoe UI. Inter à 14-17 px est nettement plus lisible. */

        /* Onglets Bourse/Crypto du baromètre — réduits (demande user juil. 2026) */
        .senti-pill { font-size: 10.5px; padding: 4px 10px; letter-spacing: 0.5px; }
        .senti-title { font-size: 14px; }

        /* Journal de marché — titres et résumés des slots */
        .bj-title { font-size: 19px; }
        .bj-date { font-size: 11px; }
        .bj-tab { font-size: 12px; padding: 7px 14px; }
        .bj-weekend-titre { font-size: 19px; }
        .bj-weekend-resume { font-size: 15.5px; }
        .bj-chip-lbl { font-size: 11.5px; letter-spacing: 1.1px; }
        .bj-chip-time { font-size: 10.5px; }
        .bj-pane-titre { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
        .bj-pane-resume { font-size: 15px; line-height: 1.6; }
        .bj-pane-pending { font-size: 13px; }
        .bj-slot-toggle { font-size: 12px; }
        .bj-section-title { font-size: 13px; }
        .bj-section-body { font-size: 15px; line-height: 1.7; }

        /* Palmarès teaser — vraie présence visuelle sur PC */
        .pal-teaser { padding: 22px 24px 20px; border-left-width: 4px; }
        .pal-teaser-head { margin-bottom: 14px; }
        .pal-teaser-eyebrow { font-size: 15px; letter-spacing: 1.4px; font-weight: 900; }
        .pal-teaser-meta { font-size: 11px; }
        .pal-teaser-rows { gap: 10px; margin-bottom: 14px; }
        .pal-teaser-row { padding: 8px 0; }
        .pal-teaser-tag { font-size: 11px; padding: 4px 10px; letter-spacing: 1px; }
        .pal-teaser-name { font-size: 16.5px; font-weight: 800; }
        .pal-teaser-pct { font-size: 15.5px; font-weight: 800; }
        .pal-teaser-cta { font-size: 13px; padding-top: 14px; letter-spacing: 1.2px; }
        .pal-teaser-skel { font-size: 14px; padding: 22px 0; }

        /* Flash banner haut */
        .flash-banner, .flash-title, .flash-cta { font-size: 12.5px; }
    }

    /* ═══════════════════════════════════════════════
       BAROMÈTRE SENTIMENT — minimaliste, pas de cadre,
       fond transparent intégré
    ═══════════════════════════════════════════════ */
    .senti-block { margin-top: 14px; margin-bottom: 18px; padding: 0; background: transparent; }

    /* En-tête du baromètre : cadre titre à gauche, onglets bourse/crypto à droite.
       gap plus serré + min-width: 0 sur le titre pour éviter toute collision avec le switch. */
    .senti-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
    .senti-header .senti-title { flex-shrink: 1; min-width: 0; }
    .senti-header .senti-switch { flex-shrink: 0; }
    .senti-switch {
        display: inline-flex; gap: 4px;
        background: var(--bg-subtle-2);   /* identique aux onglets du journal (.bj-tabs) */
        border-radius: 999px; padding: 3px;
        margin: 0;
        flex-shrink: 0;
    }
    .senti-pill {
        font-size: 10px; font-weight: 800;
        text-transform: uppercase; letter-spacing: 0.8px;
        background: transparent; color: var(--text-faint);
        border: none; padding: 5px 12px;
        border-radius: 999px; cursor: pointer; font-family: inherit;
        transition: background 0.15s, color 0.15s;
    }
    .senti-pill:hover { color: var(--text-muted); }
    .senti-pill.active { background: var(--bg-card); color: var(--text-main); box-shadow: 0 1px 3px rgba(15,23,42,0.08); }


    /* Titre aligné sur la typographie de "Journal de marché" (.bj-title) : sans-serif, weight 800,
       letter-spacing serré, palette sombre. Encadrement sobre conservé. */
    .senti-title {
        font-family: inherit;
        font-size: 13px; font-weight: 800; font-style: normal;
        color: var(--text-main);
        text-transform: none; letter-spacing: -0.3px;
        line-height: 1.1;
        flex: 0 1 auto;
        min-width: 0;
    }
    /* Titre "Sentiment de marché" — moderne, sans cadre, plus gros, à gauche.
       Aligné verticalement (center) avec le switch Bourse/Crypto à droite. */
    .senti-title-txt {
        display: inline-block;
        font-size: 16px;
        font-weight: 800;
        color: var(--text-main);
        letter-spacing: -0.3px;
        line-height: 1.1;
    }
    .senti-gauge-wrap { display: flex; flex-direction: column; align-items: center; position: relative; }
    /* Effet "vitré" : ombre douce sous la jauge + léger flou colorimétrique.
       Donne au demi-cercle une élévation discrète, façon panneau de cockpit
       institutionnel plutôt qu'écran gaming saturé. */
    .gauge-svg {
        width: 100%; max-width: 270px; display: block; overflow: visible;
        filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.06));
    }

    /* Aiguille — pivot au centre exact du demi-cercle.
       transform-box: view-box force transform-origin à être exprimé
       dans les coordonnées du viewBox SVG (et non dans la bounding-box
       de l'élément <g>, qui est minuscule autour de l'aiguille). */
    #needle {
        transform-box: view-box;
        transform-origin: 110px 110px;
        transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
        transform: rotate(0deg);
    }

    /* Labels SVG en arc — minimaliste, label actif mis en avant */
    .zone-lbl {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-size: 9.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        fill: #cbd5e1;
        transition: fill 0.4s, font-weight 0.4s;
    }
    .zone-lbl.active { fill: var(--text-main); font-weight: 800; }

    .senti-score {
        font-size: 25px; font-weight: 800; color: var(--y-dark);
        line-height: 1; margin-top: -20px;
        font-family: "SF Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums;
    }
    /* Skeleton du score au chargement : barre shimmer au lieu du « -- » vide */
    .senti-score.is-loading {
        color: transparent; border-radius: 5px; min-width: 44px;
        background: linear-gradient(90deg, var(--bg-subtle-2) 0%, var(--border-soft) 50%, var(--bg-subtle-2) 100%);
        background-size: 200% 100%; animation: skel-shimmer 1.4s ease-in-out infinite;
    }
    /* Mobile : la jauge occupait ~350px de hauteur pour une seule info.
       Arc réduit, labels resserrés, score rapproché → ~40% de place en moins. */
    @media (max-width: 640px) {
        .gauge-svg { max-width: 195px; }
        .senti-score { font-size: 21px; margin-top: -14px; }
        .zone-lbl { font-size: 11px; }
        .senti-actions { margin-top: 0; }
    }

    /* Bouton Historique en bas à droite */
    /* Rangée d'actions sous le baromètre : bouton Historique seul, aligné à droite.
       Le bloc V12 (commentaire de la communauté) est sur sa propre ligne au-dessus. */
    .senti-actions { display: flex; justify-content: flex-end; align-items: center; margin-top: 4px; padding-right: 2px; }

    /* Le teaser palmarès (ex-emplacement du bloc communauté) suit juste en dessous. */
    /* Bouton encadré sobre, intentionnellement discret (faible opacité), se ravive au survol */
    .senti-history-btn {
        display: inline-flex; align-items: center; gap: 6px;
        background: transparent; border: 1px solid var(--border-soft);
        padding: 5px 11px; border-radius: 999px;
        font-size: 10px; font-weight: 700; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 1px;
        cursor: pointer; font-family: inherit;
        opacity: 0.65;
        transition: opacity .18s, border-color .18s, color .18s, background .18s;
    }
    .senti-history-btn:hover,
    .senti-history-btn:focus-visible {
        opacity: 1; color: var(--text-main); border-color: var(--text-main); background: var(--bg-subtle);
        outline: none;
    }

    /* ─── Modal historique ─── */
    .senti-modal {
        position: fixed; inset: 0; z-index: 11000;
        display: none; align-items: center; justify-content: center;
        padding: 20px;
    }
    .senti-modal.open { display: flex; }
    .senti-modal-overlay {
        position: absolute; inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(2px);
    }
    .senti-modal-card {
        position: relative;
        background: var(--bg-card);
        width: 100%; max-width: 560px;
        max-height: 90vh; overflow-y: auto;
        border-radius: 8px;
        padding: 22px 22px 18px;
        box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
        animation: modalIn 0.18s ease-out;
    }
    @keyframes modalIn {
        from { opacity: 0; transform: scale(0.96) translateY(8px); }
        to   { opacity: 1; transform: scale(1) translateY(0); }
    }
    .senti-modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
    .senti-modal-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-main); margin: 0; }
    .senti-modal-close {
        background: none; border: none; padding: 4px 8px;
        font-size: 18px; color: var(--text-faint); cursor: pointer;
        line-height: 1; transition: color 0.15s;
    }
    .senti-modal-close:hover { color: var(--text-main); }

    .senti-modal-switch { display: flex; width: fit-content; margin: 0 auto 14px; gap: 4px; background: rgba(241,245,249,0.6); border-radius: 999px; padding: 3px; }
    .senti-modal-stats {
        text-align: center; font-size: 11px; color: var(--text-muted);
        margin-bottom: 8px; font-family: "SF Mono", ui-monospace, monospace;
        font-variant-numeric: tabular-nums;
    }
    .senti-modal-chart { position: relative; height: 200px; margin-bottom: 18px; }

    .senti-modal-table-wrap { max-height: 220px; overflow-y: auto; border: 1px solid var(--bg-subtle-2); border-radius: 4px; }
    .senti-modal-table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .senti-modal-table th, .senti-modal-table td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--bg-subtle-2); }
    .senti-modal-table thead th { background: var(--bg-subtle); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); position: sticky; top: 0; }
    .senti-modal-table tbody td:nth-child(2) { font-family: "SF Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; font-weight: 700; }
    .senti-modal-table tr:last-child td { border-bottom: none; }

    .live-dot { width: 6px; height: 6px; background-color: var(--up); border-radius: 50%; animation: blink 2s infinite; display: inline-block; }
    .live-dot.offline { background-color: var(--down); animation: none; }
    @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

    /* (Styles du bloc communauté supprimés — module retiré du site, juillet 2026) */

    /* ═══════════════════════════════════════════════
       JOURNAL DE MARCHÉ — TIMELINE
    ═══════════════════════════════════════════════ */
    .bj-journal {
        background: var(--bg-card);
        border: 1px solid rgba(15, 23, 42, 0.16);
        border-top: 3px solid var(--brand-line);
        border-radius: 6px;
        padding: 22px 22px 18px;
        margin-bottom: 25px;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    }
    /* ⚠️ NE PAS RÉINTRODUIRE `content-visibility: auto` ICI (ni sur .bb-section,
       footer, .news-section…). Testé DEUX fois, régression à chaque fois :
       Safari iOS (surtout navigation privée) ne peint plus le bloc → journal de
       marché INVISIBLE sur smartphone. Le gain de fluidité ne vaut pas le bug. */
    /* ───────────── JOURNAL DE MARCHÉ — refonte ─────────────
       Hiérarchie : header → onglets CAC 40 / S&P 500 → 3 slots.
       Chaque slot = mini-carte aérée avec rail vertical à gauche.
       Mobile-first : tout reste lisible en 1 colonne. */
    /* Masthead : titre + onglets EN LIGNE, même sur mobile (économie verticale).
       flex-wrap RETIRÉ exprès — les onglets restent à droite du titre. */
    .bj-masthead {
        display: flex; align-items: center; justify-content: space-between;
        gap: 10px; margin: 0 0 16px; padding-bottom: 12px;
        border-bottom: 1px solid var(--bg-subtle-2);
    }
    .bj-title-wrap { display: flex; flex-direction: column; min-width: 0; }
    .bj-title { font-size: 17px; font-weight: 800; color: var(--text-main); letter-spacing: -0.3px; line-height: 1.1; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bj-date  { font-size: 10px; color: var(--text-faint); margin-top: 3px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }

    /* Onglets CAC 40 / S&P 500 — segmented control compact */
    .bj-tabs { display: inline-flex; gap: 3px; background: var(--bg-subtle-2); border-radius: 999px; padding: 3px; flex-shrink: 0; }
    .bj-tab {
        font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .15px;
        color: var(--text-muted); background: transparent; border: none;
        padding: 6px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap;
        transition: background .18s, color .18s, box-shadow .18s;
    }
    .bj-tab:hover { color: var(--text-main); }
    .bj-tab.active { background: var(--bg-card); color: var(--text-main); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
    /* Panes du journal : seul .active est visible. spécificité majorée pour battre
       .bj-timeline { display: flex } qui chargeait après et masquait le toggle. */
    .bj-pane:not(.active) { display: none; }
    .bj-pane.active { display: block; }

    /* Week-end : marchés fermés, récap unique */
    .bj-weekend { padding: 6px 0 2px; }
    .bj-weekend-eyebrow { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #b45309; background: #fef3c7; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
    .bj-weekend-titre { font-size: 17px; font-weight: 800; color: var(--text-main); line-height: 1.3; margin: 0 0 8px; }
    .bj-weekend-resume { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0 0 10px; }
    .bj-weekend-resume strong { color: var(--text-main); }

    /* Live badge (legacy, conservé pour compat) */
    .bj-live-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--accent-strong); color: #fff; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 9px; border-radius: 3px; flex-shrink: 0; }
    .bj-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; animation: blink 2s infinite; display: inline-block; }

    /* ═══════════════════════════════════════════════════════════════
       JOURNAL DE MARCHÉ — V3 CHIPS DE CRÉNEAU (juillet 2026)
       Le stepper décoratif + 3 cartes empilées écrasaient le contenu
       (peu de largeur, rendu brouillon sur smartphone). Désormais :
       3 chips-onglets (Matin / Mi-séance / Clôture, avec état ✓ / ◐ / heure)
       + UN panneau actif pleine largeur, plus grand et plus lisible.
    ═══════════════════════════════════════════════════════════════ */
    .bj-slots-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 0 0 14px; }
    .bj-slot-chip {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        font: inherit; text-align: left; cursor: pointer;
        background: var(--bg-subtle); border: 1px solid var(--border-soft); border-radius: 8px;
        padding: 8px 10px; min-width: 0;
        transition: border-color .18s, background .18s, box-shadow .18s;
    }
    .bj-slot-chip:hover { border-color: var(--brand-line); }
    .bj-slot-chip.is-active { background: var(--bg-card); border-color: var(--text-main); box-shadow: 0 2px 8px rgba(15,23,42,.08); }
    .bj-chip-ico {
        width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 12px; line-height: 1;
        background: var(--bg-subtle-2); color: var(--text-faint); border: 1.5px solid var(--border-soft);
    }
    .bj-slot-chip.is-published .bj-chip-ico { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
    .bj-slot-chip.is-current  .bj-chip-ico { background: var(--up); border-color: var(--up); color: #fff; animation: bj-node-pulse 2.6s ease-in-out infinite; }
    .bj-chip-txt { display: flex; flex-direction: column; min-width: 0; }
    .bj-chip-lbl { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bj-slot-chip.is-active .bj-chip-lbl { color: var(--text-main); }
    .bj-slot-chip.is-current .bj-chip-lbl { color: var(--up); }
    .bj-chip-time { font-size: 9.5px; font-weight: 600; color: var(--text-faint); font-variant-numeric: tabular-nums; }
    @keyframes bj-node-pulse {
        0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
        50%      { box-shadow: 0 0 0 7px rgba(22,163,74,.05); }
    }

    /* ── Bandeau « marché fermé » (férié) dans le pane du journal ── */
    .bj-closed {
        display: flex; gap: 12px; align-items: flex-start;
        background: var(--bg-subtle); border: 1px solid var(--border-soft);
        border-left: 3px solid var(--gold, #b78908); border-radius: 0 8px 8px 0;
        padding: 14px 16px; margin-top: 2px;
    }
    .bj-closed-flag { font-size: 20px; line-height: 1.3; flex-shrink: 0; }
    .bj-closed-txt { font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }
    .bj-closed-txt strong { color: var(--text-main); }
    .bj-closed-sub { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-faint); }

    /* ── Panneau du créneau actif — pleine largeur ── */
    .bj-timeline { display: flex; flex-direction: column; }
    .bj-slot-pane { display: none; animation: bjPaneIn .22s ease; }
    .bj-slot-pane.is-active { display: block; }
    @keyframes bjPaneIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
    .bj-pane-meta { margin: 2px 0 7px; }
    .bj-pane-state {
        display: inline-block;
        font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
        padding: 3px 9px; border-radius: 999px; background: var(--up-bg); color: var(--up);
    }
    .bj-pane-titre  { font-size: 17px; font-weight: 800; color: var(--text-main); line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.2px; }
    .bj-pane-resume { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0 0 10px; }
    .bj-pane-pending {
        font-size: 12.5px; color: var(--text-faint); font-style: italic;
        padding: 16px 0 10px; display: flex; align-items: center; gap: 8px;
    }
    .bj-pending-pulse {
        width: 8px; height: 8px; border-radius: 50%;
        background: #fbbf24; animation: bj-pending 1.4s ease-in-out infinite;
        display: inline-block; flex-shrink: 0;
    }
    @keyframes bj-pending { 0%, 100% { opacity: 0.4; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.2); } }

    /* "Lire l'analyse complète" — sort de la colonne body, occupe toute la largeur du slot.
       Sans grid-column: 1 / -1, l'expansion restait indentée sous le texte du toggle. */
    .bj-slot-details {
        grid-column: 1 / -1;
        margin: 8px 0 0;
    }
    .bj-slot-toggle {
        display: inline-flex; align-items: center; gap: 4px;
        /* Aligné naturellement sur le bord interne du slot (V2 : plus de grid). */
        cursor: pointer; list-style: none;
        font-size: 11px; font-weight: 700; color: var(--text-muted);
        padding: 2px 0; border-bottom: 1px solid transparent;
        transition: color .15s, border-color .15s;
    }
    .bj-slot-toggle::-webkit-details-marker { display: none; }
    .bj-slot-toggle:hover { color: var(--text-main); border-bottom-color: var(--text-main); }
    .bj-slot-toggle::after { content: '↓'; font-size: 11px; margin-left: 2px; transition: transform .2s; display: inline-block; }
    .bj-slot-details[open] .bj-slot-toggle::after { transform: rotate(180deg); }

    .bj-slot-full {
        padding: 20px 22px 14px;
        margin-top: 12px;
        background: #fafafa; border: 1px solid var(--bg-subtle-2);
        border-left: 3px solid var(--brand-line); border-radius: 0 6px 6px 0;
        /* pleine largeur du slot grâce à grid-column: 1 / -1 sur le parent details */
    }
    /* PC ≥ 1024px : on étend la zone de lecture au-delà du slot étroit.
       L'analyse devient plus aérée, taille de texte légèrement augmentée
       pour une lecture confortable longue (Medium-like). */
    @media (min-width: 1024px) {
        .bj-slot-details[open] .bj-slot-full {
            padding: 26px 30px 18px;
        }
    }
    /* PERF — content-visibility:auto sur les <details> fermés.
       Avant : 14,5 KB de HTML d'analyses complètes (3 slots EU + 3 slots US,
       chaque slot contenant 2 sections de plusieurs paragraphes) étaient parsés
       et inclus dans le layout dès le 1ᵉʳ paint, alors qu'INVISIBLES au démarrage.
       Conséquence : le bloc journal apparaissait visiblement plus tard que le
       reste de la page.
       Avec content-visibility:auto, le navigateur SKIPPE le rendu (layout + paint)
       du sous-arbre tant que le détail n'est ni ouvert ni proche du viewport.
       contain-intrinsic-size évite un saut de hauteur quand on ouvre le détail.

       ⚠️ DESKTOP UNIQUEMENT (≥1024px). Sur Safari iOS, content-visibility:auto
       retarde/casse le paint du journal (cf. gotcha projet : bloc journal qui
       « met plus d'une seconde à apparaître, comme s'il chargeait » sur mobile).
       Le gain (skip de 14,5 Ko d'analyses repliées) n'a d'intérêt que sur desktop
       où le journal cohabite avec la colonne news ; sur mobile on privilégie un
       paint INSTANTANÉ. Hors media query, iOS ne reçoit donc jamais la règle. */
    @media (min-width: 1024px) {
        .bj-slot-details:not([open]) > .bj-slot-full {
            content-visibility: auto;
            contain-intrinsic-size: 0 400px;
        }
    }
    .bj-section { margin-bottom: 20px; }
    .bj-section:last-child { margin-bottom: 0; }
    .bj-section-title {
        font-size: 10px; font-weight: 800; color: var(--text-muted);
        text-transform: uppercase; letter-spacing: 1.6px;
        margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px dashed #cbd5e1;
    }
    /* Confort de lecture : +1.5 px sur la taille de texte, +0.10 sur le line-height,
       couleur un cran plus profonde (#1e293b vs var(--text-muted) d'avant) pour le contraste. */
    .bj-section-body { font-size: 15px; line-height: 1.75; color: #1e293b; max-width: 72ch; }
    .bj-section-body p { margin-bottom: 12px; }
    .bj-section-body p:last-child { margin-bottom: 0; }
    @media (min-width: 1024px) {
        .bj-section-body { font-size: 15.5px; line-height: 1.78; }
    }

    @media (max-width: 540px) {
        /* Économie verticale : titre + onglets restent en ligne. Titre réduit + ellipsis si besoin. */
        .bj-title  { font-size: 14.5px; }
        .bj-date   { font-size: 9.5px; margin-top: 2px; }
        /* "Édition du" est masqué sur mobile pour éviter le retour à la ligne :
           seule la date reste affichée, plus compacte sous le titre. */
        .bj-date-prefix { display: none; }
        .bj-tab    { font-size: 10px; padding: 5px 10px; }
        .bj-slots-nav   { gap: 6px; }
        .bj-slot-chip   { padding: 7px 6px; gap: 6px; }
        .bj-chip-ico    { width: 20px; height: 20px; font-size: 10.5px; }
        .bj-chip-lbl    { font-size: 9px; letter-spacing: .7px; }
        .bj-chip-time   { font-size: 8.5px; }
        .bj-pane-titre  { font-size: 15px; margin: 0 0 6px; }
        .bj-pane-resume { font-size: 13px; }
        .bj-slot-toggle { margin-left: 0; }
        .bj-slot-full   { padding: 16px 14px 8px; }
        .bj-pane-state  { font-size: 9px; padding: 2px 7px; }
        .bj-section-body { font-size: 14.5px; line-height: 1.7; }
    }

    /* Slot en attente */
    .bj-slot-pending {
        font-size: 12px; color: var(--text-faint); font-style: italic;
        padding: 8px 0; display: flex; align-items: center; gap: 8px;
    }
    .bj-pending-pulse {
        width: 8px; height: 8px; border-radius: 50%;
        background: #fbbf24; animation: bj-pending 1.4s ease-in-out infinite;
        display: inline-block; flex-shrink: 0;
    }
    @keyframes bj-pending { 0%, 100% { opacity: 0.4; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.2); } }

    /* Fallback legacy */
    .bj-legacy { padding-top: 4px; }
    .bj-legacy-titre { font-size: 16px; font-weight: 800; color: var(--down); margin: 0 0 10px; line-height: 1.35; }
    .bj-legacy-resume { font-size: 13px; line-height: 1.6; color: #292524; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--border-soft); }
    .bj-legacy-resume strong { color: var(--text-main); }

    /* Vide */
    .bj-empty { text-align: center; padding: 30px 14px; color: var(--text-faint); font-size: 13px; line-height: 1.6; }
    .bj-empty-sub { font-size: 11px; color: #cbd5e1; }

    /* Badges in-text */
    /* Noms mis en valeur au bleu badge, sans encadré (aligné sur les articles). */
    .in-text-name { font-weight: 800; color: var(--blue-link-soft); white-space: nowrap; }
    .in-text-val { font-family: ui-monospace, monospace; font-weight: 800; padding: 2px 6px; border-radius: 4px; font-size: 0.9em; white-space: nowrap; }
    .in-text-val.up { background: var(--up-bg); border: 1px solid #bbf7d0; color: var(--up); }
    .in-text-val.down { background: var(--down-bg); border: 1px solid #fecaca; color: var(--down); }
    .in-text-val.neutral { background: var(--bg-subtle-2); border: 1px solid var(--border-soft); color: var(--text-muted); }

    /* TEASER PALMARÈS — encart sobre vers /palmares.
       Fond blanc avec une RÉGLETTE DE BOUGIES (rouge/vert) en filigrane
       (~8 % d'opacité) : 14 chandeliers à mèches et corps variés,
       répartis sur toute la largeur. Couleurs alternées de façon non
       régulière pour évoquer une vraie séance de marché. */
    .pal-teaser {
        display: block; margin: 18px 0 0; padding: 14px 14px 12px;
        background: var(--bg-card); border: 1px solid var(--border-soft); border-top: 3px double var(--gold);
        border-radius: 8px; text-decoration: none; color: inherit;
        transition: box-shadow .15s, transform .15s, border-color .15s;
        position: relative; overflow: hidden;     /* contient les courbes de fond */
    }
    /* ── Bougies rouge/vert en fond, réparties sur toute la largeur ──
       · viewBox 120×40, 14 chandeliers (corps + mèche)
       · preserveAspectRatio="none" + background-size 100% 100% → la
         frise remplit exactement le bloc, mobile et PC identiques
       · Mèches : <path> (groupes par couleur, stroke 0.5)
       · Corps  : <rect> (fill par couleur, largeur 4)
       · Mix non régulier (7 vert / 7 rouge), tailles variées
         (longs corps, petits corps doji, mèches longues/courtes)
       · Opacité 0.08 conservée */
    .pal-teaser::before {
        content: '';
        position: absolute;
        top: 0; bottom: 0; left: 0; right: 0;
        opacity: 0.08;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        pointer-events: none;
        z-index: 0;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'><path d='M5,8 L5,32 M22,11 L22,30 M38,7 L38,28 M55,13 L55,32 M71,9 L71,29 M88,5 L88,26 M114,4 L114,24' stroke='%2316a34a' stroke-width='0.6' fill='none'/><path d='M13,12 L13,30 M30,16 L30,33 M47,18 L47,29 M63,15 L63,34 M80,10 L80,28 M97,7 L97,27 M106,11 L106,31' stroke='%23dc2626' stroke-width='0.6' fill='none'/><rect x='3' y='14' width='4' height='14' fill='%2316a34a'/><rect x='20' y='15' width='4' height='12' fill='%2316a34a'/><rect x='36' y='10' width='4' height='14' fill='%2316a34a'/><rect x='53' y='17' width='4' height='12' fill='%2316a34a'/><rect x='69' y='13' width='4' height='13' fill='%2316a34a'/><rect x='86' y='8' width='4' height='14' fill='%2316a34a'/><rect x='112' y='7' width='4' height='13' fill='%2316a34a'/><rect x='11' y='15' width='4' height='12' fill='%23dc2626'/><rect x='28' y='19' width='4' height='11' fill='%23dc2626'/><rect x='45' y='21' width='4' height='6'  fill='%23dc2626'/><rect x='61' y='18' width='4' height='13' fill='%23dc2626'/><rect x='78' y='14' width='4' height='12' fill='%23dc2626'/><rect x='95' y='11' width='4' height='13' fill='%23dc2626'/><rect x='104' y='15' width='4' height='13' fill='%23dc2626'/></svg>");
    }
    /* Le contenu de la carte doit rester au-dessus des courbes décoratives */
    .pal-teaser > * { position: relative; z-index: 1; }
    .pal-teaser:hover { box-shadow: 0 4px 14px rgba(15,23,42,.08); transform: translateY(-1px); }
    .pal-teaser:hover::before { opacity: 0.11; transition: opacity .2s; }
    .pal-teaser-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
    .pal-teaser-eyebrow { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 800; letter-spacing: -.2px; color: var(--gold, #b78908); }
    .pal-teaser-meta { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-faint); }
    .cac-live-dot { width: 5px; height: 5px; background: var(--up); border-radius: 50%; animation: blink 2s infinite; display: inline-block; }
    .cac-live-dot.offline { background: var(--down); animation: none; }
    /* État "fermé" (hors séance Paris/NY ou week-end) — rouge fixe, distinct
       de "offline" qui signale une erreur réseau côté serveur. */
    .cac-live-dot.closed  { background: var(--down); animation: none; box-shadow: 0 0 0 2px rgba(220,38,38,.15); }
    .pal-teaser-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
    .pal-teaser-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
    .pal-teaser-tag { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; padding: 2px 7px; border-radius: 3px; flex-shrink: 0; }
    .pal-teaser-tag.up { color: var(--up); background: var(--up-bg); }
    .pal-teaser-tag.down { color: var(--down); background: var(--down-bg); }
    .pal-teaser-name { font-size: 12px; font-weight: 700; color: var(--text-main); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pal-teaser-pct { font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 800; flex-shrink: 0; transition: background-color .8s, transform .25s; padding: 1px 5px; border-radius: 3px; }
    .pal-teaser-pct.up { color: var(--up); }
    .pal-teaser-pct.down { color: var(--down); }
    /* F6 — Pulse discret quand la valeur change. La classe is-updated est
       posée 800ms par JS au refresh, le flash de fond signale l'actualisation
       sans distraire. */
    .pal-teaser-pct.is-updated.up   { background-color: rgba(22,163,74,.18); transform: scale(1.04); }
    .pal-teaser-pct.is-updated.down { background-color: rgba(220,38,38,.18); transform: scale(1.04); }
    .senti-score { transition: transform .25s; }
    .senti-score.is-updated { transform: scale(1.05); }
    .pal-teaser-cta { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); padding-top: 8px; border-top: 1px solid var(--bg-subtle-2); }
    .pal-teaser-skel { font-size: 11px; color: var(--text-faint); text-align: center; padding: 14px 0; }
    /* SKELETON LOADERS — remplace "Synchronisation…" texte par des barres animées
       qui imitent la structure finale (tag + nom + %). Effet "perçu plus rapide". */
    .skel { background: linear-gradient(90deg, var(--bg-subtle-2) 0%, var(--border-soft) 50%, var(--bg-subtle-2) 100%); background-size: 200% 100%; animation: skel-shimmer 1.4s ease-in-out infinite; border-radius: 4px; display: inline-block; height: 1em; vertical-align: middle; }
    @keyframes skel-shimmer { 0%{background-position:200% 0;} 100%{background-position:-200% 0;} }
    .pal-teaser-skel-rows { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
    .pal-teaser-skel-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
    .pal-teaser-skel-row .skel-tag  { width: 64px; height: 16px; flex-shrink: 0; }
    .pal-teaser-skel-row .skel-name { flex: 1; height: 14px; }
    .pal-teaser-skel-row .skel-pct  { width: 52px; height: 16px; flex-shrink: 0; }

    /* Teaser portefeuille virtuel → déplacé dans actualite.php (placement
       fin d'article, 1 article sur 5, garde-fou anti-doublon avec un lien
       /calculateurs/ déjà présent dans le corps). CSS migré aussi. */

    /* ── TERMINAL D'ACHAT — encart VIP compact (sous le journal de marché) ──
       Thème CLAIR (jetons du site), double filet doré = identité manchette.
       Volontairement minimal : 1 ligne VIP/nom/prix + titre + 1 phrase. */
    .term-vip {
        display: block; margin-top: 14px; padding: 13px 16px 12px;
        background: var(--bg-card); border: 1px solid var(--border-soft);
        border-top: 3px double var(--gold); border-radius: 8px;
        text-decoration: none; color: inherit;
        transition: box-shadow .15s, transform .15s;
    }
    .term-vip:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,23,42,.08); }
    .term-vip-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
    .term-vip-tag {
        font-size: 9.5px; font-weight: 900; letter-spacing: 1.5px;
        background: var(--gold); color: var(--bg-card);
        border-radius: 4px; padding: 2px 7px; flex-shrink: 0;
    }
    .term-vip-name { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .term-vip-price { margin-left: auto; font-size: 13.5px; font-weight: 800; color: var(--text-main); white-space: nowrap; }
    .term-vip-price s { font-size: 11px; color: var(--text-faint); font-weight: 600; margin-left: 3px; }
    .term-vip-title { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 800; letter-spacing: -.2px; color: var(--text-main); margin-bottom: 3px; }
    .term-vip-txt { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }
    .term-vip-go { font-weight: 800; color: var(--blue-link); white-space: nowrap; }

    /* Variante PLEINE LARGEUR (bandeau bb-bottom, après « les plus lus ») :
       texte à gauche, prix + CTA à droite, cadre doré premium. */
    .term-vip-wide { margin: 0 0 18px; padding: 20px 26px; }
    .term-vip-wide .term-vip-main-flex, .term-vip-wide { }
    .term-vip-wide { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .term-vip-wide .term-vip-title { font-size: 23px; margin-bottom: 4px; }
    .term-vip-wide .term-vip-txt { max-width: 620px; font-size: 13.5px; }
    .term-vip-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; text-align: right; }
    .term-vip-wide .term-vip-price { font-size: 22px; }
    .term-vip-wide .term-vip-price s { font-size: 14px; }
    .term-vip-wide .term-vip-go {
        display: inline-block; background: var(--gold); color: var(--bg-card);
        font-size: 12.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
        padding: 10px 18px; border-radius: 6px; white-space: nowrap;
    }
    .term-vip-wide:hover .term-vip-go { filter: brightness(1.08); }

    @media (max-width: 640px) {
        .term-vip { padding: 11px 13px 10px; margin-top: 12px; }
        .term-vip-title { font-size: 16.5px; }
        .term-vip-txt { font-size: 12px; }
        /* Bandeau large → empilé sur mobile */
        .term-vip-wide { flex-direction: column; align-items: stretch; gap: 12px; padding: 15px 16px; margin-bottom: 14px; }
        .term-vip-wide .term-vip-title { font-size: 18px; }
        .term-vip-aside { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
        .term-vip-wide .term-vip-price { font-size: 19px; }
        .term-vip-wide .term-vip-go { padding: 9px 14px; }
    }

    /* ── « Les plus lus cette semaine » (maillage interne dynamique) ── */
    .top-reads { margin-top: 26px; padding: 16px 18px 14px; background: var(--bg-card); border: 1px solid var(--border-soft); border-top: 3px double var(--y-dark); border-radius: 0 0 8px 8px; }
    .top-reads-h { font-family: Georgia, 'Times New Roman', serif; font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); margin-bottom: 10px; }
    .top-reads-list { margin: 0; padding: 0 0 0 26px; counter-reset: tr; }
    .top-reads-list li { font-size: 13.5px; line-height: 1.5; margin-bottom: 8px; color: var(--text-muted); }
    .top-reads-list li::marker { font-weight: 800; color: var(--gold, #b78908); font-family: Georgia, serif; }
    .top-reads-list a { color: var(--text-main); text-decoration: none; font-weight: 600; }
    .top-reads-list a:hover { color: var(--blue-link-soft); text-decoration: underline; }
    @media (max-width: 640px) {
        .top-reads { padding: 13px 14px 11px; }
        .top-reads-list li { font-size: 13px; }
    }

    /* NEWS SECTION */
    .news-section { margin-top: 10px; margin-bottom: 40px; }
    /* Effet « une de journal » : serif classique + doubles filets typographiques,
       comme la manchette d'un quotidien papier. */
    .news-section-title {
        font-family: Georgia, 'Times New Roman', 'Liberation Serif', serif;
        font-size: 32px; font-weight: 900; text-align: center; color: var(--y-dark);
        text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px;
        border-top: 4px double var(--y-dark);
        border-bottom: 4px double var(--y-dark);
        padding: 10px 8px 12px;
    }
    /* Effet « papier chiffonné » DANS les lettres : l'encre du titre est un fond
       (couleur pleine + plis feDiffuseLighting + grain) découpé par le texte via
       background-clip:text — encre irrégulière de journal papier. Les navigateurs
       sans support gardent la couleur pleine ci-dessus. */
    @supports ((-webkit-background-clip: text) or (background-clip: text)) {
        .news-section-title {
            color: transparent;
            background-color: var(--y-dark);
            /* Plis = REHAUTS BLANCS UNIQUEMENT : la sortie de feDiffuseLighting est
               convertie en alpha (feColorMatrix) → seules les crêtes de froissure
               deviennent blanches (max ~35%), le reste des lettres garde l'encre
               pleine #0f172a (= --y-dark en clair). Fini le voile gris uniforme. */
            background-image:
                url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='w'><feTurbulence type='fractalNoise' baseFrequency='0.035' numOctaves='3' seed='7' stitchTiles='stitch'/><feDiffuseLighting lighting-color='white' surfaceScale='1.8'><feDistantLight azimuth='45' elevation='55'/></feDiffuseLighting><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0.3 0.3 0.3 0 -0.42'/></filter><rect width='100%25' height='100%25' filter='url(%23w)'/></svg>"),
                url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.14 0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
            background-size: 220px 220px, 120px 120px;
            -webkit-background-clip: text;
            background-clip: text;
        }
    }
    .news-tabs { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--border-soft); justify-content: center; }
    .news-tab {
        background: transparent; border: none; border-bottom: 2px solid transparent;
        padding: 10px 20px; font-size: 12px; font-weight: 800;
        text-transform: uppercase; letter-spacing: 1px;
        color: var(--text-faint); cursor: pointer; font-family: inherit;
        transition: color 0.15s, border-color 0.15s; margin-bottom: -1px;
    }
    .news-tab:hover { color: var(--text-muted); }
    .news-tab.active { color: var(--text-main); border-bottom-color: var(--text-main); }
    .news-panel { display: none; }
    .news-panel.active { display: flex; }
    .news-list-ws { display: flex; flex-direction: column; width: 100%; margin-bottom: 0; }
    /* Paire de CTA bas de news : « Voir plus » détaché des cartes au-dessus,
       puis collé à « Voir toutes les archives » pour former un duo net. */
    .news-more-wrap { text-align: center; margin: 22px 0 0; }
    .news-archives-cta { text-align: center; margin-top: 12px; }
    /* Mot FLASH en préfixe de titre — rouge balayé par un éclat clair, visible seulement en live */
    .title-flash-badge {
        font-size: 0.78em; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
        margin-right: 7px; vertical-align: baseline;
        /* Dégradé rouge VISIBLE en permanence (3 stops bien distincts) + un éclat clair
           qui balaie. Au repos : rouge sombre → rouge vif → rouge sombre. En anim :
           un highlight blanc-rosé traverse le mot toutes les 2.2s. */
        background: linear-gradient(100deg,
            #7f1d1d 0%, var(--down) 18%, #ef4444 35%,
            #ffe4e4 48%, #ffffff 50%, #ffe4e4 52%,
            #ef4444 65%, var(--down) 82%, #7f1d1d 100%);
        background-size: 300% 100%;
        background-repeat: repeat;
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent; color: var(--down); /* repli rouge si clip-texte non supporté */
        animation: flashSweep 3s linear infinite;
        text-shadow: 0 0 1px rgba(220,38,38,0.15);
    }
    /* Boucle PARFAITE : le déplacement doit valoir exactement N × taille_tile
       (300%) pour que la vue de fin soit identique à la vue de début. Avec
       l'ancienne valeur 100% → -100% (course de 200%), le motif sautait
       visuellement à chaque répétition. */
    @keyframes flashSweep { from { background-position: 0 0; } to { background-position: -300% 0; } }
    /* Mention "Live" dans la meta — uniquement quand l'alerte est active */
    .news-ws-live { display: inline-flex; align-items: center; gap: 5px; color: var(--down); }
    .news-ws-live .nws-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--down); animation: flashPulse 1.4s ease-in-out infinite; }
    /* LIVE FLASH — fond dégradé rouge subtil + barre rouge animée (seule).
       Gradient horizontal qui s'éteint à 50 % du bloc dans la couleur de fond
       du site (--bg-page = var(--bg-page)), pour ne pas casser la ligne avec une fin
       blanche pure. La barre latérale fixe a été retirée : on garde uniquement
       la barre animée verticale ::before (pulse 2.2s). */
    .news-ws-item.is-live-flash {
        background: linear-gradient(90deg, var(--down-bg) 0%, var(--down-bg) 30%, var(--bg-page) 55%, var(--bg-page) 100%);
        padding-left: 12px;
        position: relative;
    }
    .news-ws-item.is-live-flash::before {
        content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
        background: linear-gradient(180deg, var(--down) 0%, #ef4444 50%, var(--down) 100%);
        animation: flashSweepVert 2.2s linear infinite;
    }
    @keyframes flashSweepVert { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
    /* FLASH RÉCENT (entre fin du live et live_end + 48 h) :
       AUCUN dégradé, AUCUN trait latéral, titre rendu en normal.
       Le statut est signalé uniquement par le label « Flash récent » dans la
       ligne meta. Différenciation discrète, pas tape-à-l'œil. */
    .news-ws-flash-recent {
        display: inline-block; padding: 1px 7px; border-radius: 3px;
        background: rgba(220,38,38,0.10); color: var(--down);
        font-size: 10px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
    }
    /* ANCIEN FLASH (live_end + 48 h à + 7 j) : aucun style spécial sur le bloc,
       label gris foncé seulement. L'article se fond dans le flux chronologique. */
    .news-ws-flash-old {
        display: inline-block; padding: 1px 7px; border-radius: 3px;
        background: var(--bg-subtle-2); color: var(--text-muted);
        font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    }
    .news-ws-item { display: flex; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--border-soft); cursor: pointer; align-items: center; transition: opacity 0.2s; text-decoration: none; color: inherit; }
    .news-ws-item:last-child { border-bottom: none; }
    .news-ws-item:hover { opacity: 0.8; }
    .news-ws-img { width: 140px; height: 100px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--bg-subtle-2); border: 1px solid #e7e5e4; display: block; }
    .news-ws-content { flex: 1; display: flex; flex-direction: column; min-width: 0; justify-content: center; }
    .news-ws-title { font-size: 18px; font-weight: 800; color: var(--y-dark); line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .news-ws-desc { font-size: 14px; color: #4b5563; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
    /* Le wrap calibre la largeur du badge sur celle de l'IMAGE (140px par défaut,
       120 dans le bloc news, 90 en mobile). Le badge prend toujours 100% du wrap
       → largeur identique quel que soit le label (CAC 40, MC, Euro Stoxx 50…). */
    .news-ws-imgwrap { flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; width: 140px; }
    /* Badges cours SOUS la présentation. Le style « Yahoo » (cadre, police,
       couleurs, nom bleu majuscules, % sans cadre) est factorisé dans
       bourseur.css (.bdg-yf). Ici : seulement le layout (rangée + largeur). */
    .news-ws-quotes { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 9px; }
    .news-ws-quote  { max-width: 100%; }
    .news-ws-meta { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #9ca3af; letter-spacing: 0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* CTA bas de news : « Voir plus » et « Voir toutes les archives » partagent
       EXACTEMENT la même boîte (largeur + hauteur) pour un alignement net. */
    .news-cta-btn { width: 260px; max-width: 100%; box-sizing: border-box; white-space: nowrap; }
    .btn-news-more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
    .news-more-arrow { display: inline-block; font-size: 0.85em; line-height: 1; color: #000;
        animation: newsMoreBob 1.4s ease-in-out infinite; }
    @keyframes newsMoreBob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(2px); } }
    @media (prefers-reduced-motion: reduce) { .news-more-arrow { animation: none; } }

    /* Mention discrète "Analyse Bourseur" (éditions maison) */
    .news-ws-item.is-house { border-left: 3px solid var(--brand-line); padding-left: 16px; }
    .news-ws-tag-house {
        display: inline-block;
        background: var(--accent-strong); color: #fff;
        font-size: 9px; font-weight: 800; letter-spacing: 1px;
        padding: 2px 7px; border-radius: 2px; margin-right: 4px;
        text-transform: uppercase;
    }

    /* BARRE DE RECHERCHE */
    .search-container { position: relative; width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin-bottom: 4px; }
    /* Smartphone : la recherche vient se COLLER à la barre des indices (le
       wrapper mettait 20px de marge) + champ un peu moins haut → un écran
       de gagné avant le contenu. */
    @media (max-width: 767px) {
        .wrapper { margin-top: 4px; }
        #stock-search { padding: 9px 14px 9px 36px; border-radius: 7px; }
        .search-icon { left: 12px; }
    }
    /* Tablette uniquement : on borne la largeur de l'aside (search + baromètre) pour
       garder une lecture confortable quand on est en 1 colonne. Sur PC ≥ 1024px, l'aside
       occupe sa colonne (gérée par la grille dashboard ci-dessus) ; sur smartphone,
       pleine largeur naturelle. */
    @media (min-width: 768px) and (max-width: 1023px) {
        .wrapper > aside { max-width: 540px; margin-left: auto; margin-right: auto; width: 100%; }
    }
    .search-input-wrap { position: relative; display: flex; align-items: center; }
    .search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-faint); pointer-events: none; width: 16px; height: 16px; flex-shrink: 0; }
    /* font-size:16px obligatoire pour empêcher iOS Safari de zoomer au focus (anti-zoom). */
    #stock-search { width: 100%; padding: 11px 14px 11px 38px; font-size: 16px; border: 1.5px solid var(--border-soft); border-radius: 8px; outline: none; background: var(--bg-card); color: var(--text-main); transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; }
    #stock-search::placeholder { color: var(--text-faint); font-size: 13px; }
    #stock-search:focus { border-color: var(--text-muted); box-shadow: 0 0 0 3px rgba(100,116,139,0.1); }
    #search-results { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: var(--bg-card); border: 1.5px solid var(--border-soft); border-radius: 8px; overflow: hidden; max-height: 340px; overflow-y: auto; z-index: 2000; box-shadow: 0 8px 24px rgba(0,0,0,0.10); display: none; }
    .search-item { padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--bg-subtle-2); display: flex; align-items: center; gap: 10px; transition: background 0.12s; }
    .search-item:last-child { border-bottom: none; }
    .search-item:hover { background: var(--bg-subtle); }
    .si-left { flex: 1; min-width: 0; }
    .si-name { font-size: 13px; font-weight: 700; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .si-sym  { font-size: 10px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 1px; }
    .si-right { text-align: right; flex-shrink: 0; min-width: 80px; }
    .si-price { font-size: 13px; font-weight: 700; color: var(--text-main); font-family: ui-monospace, monospace; }
    .si-badge { display: inline-block; margin-top: 2px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; font-family: ui-monospace, monospace; }
    .si-badge.up     { color: var(--up); background: var(--up-bg); }
    .si-badge.down   { color: var(--down); background: var(--down-bg); }
    .si-badge.flat   { color: var(--text-muted); background: var(--bg-subtle-2); }
    .si-badge.pre    { color: #92400e; background: #fef3c7; }
    .si-badge.closed { color: var(--text-muted); background: var(--bg-subtle-2); font-weight: 600; }
    .si-spinner { width: 14px; height: 14px; border: 2px solid var(--border-soft); border-top-color: var(--text-faint); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; vertical-align: middle; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .search-no-result { padding: 14px; text-align: center; font-size: 12px; color: var(--text-faint); }

    /* MODALE STOCK */
    .modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000; align-items: center; justify-content: center; padding: 15px; backdrop-filter: blur(2px); }
    .modal-content { background: var(--bg-card); width: 100%; max-width: 600px; padding: 0; box-shadow: 0 10px 25px rgba(0,0,0,0.2); display: flex; flex-direction: column; max-height: 90vh; border-radius: 6px; overflow: hidden; }
    .modal-close { font-size: 24px; cursor: pointer; border: none; background: none; color: var(--text-muted); line-height: 1; flex-shrink: 0; padding: 5px; }
    .stock-modal { max-width: 700px; background: #fafaf9; border-top: 5px solid var(--y-dark); }
    .stock-header { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); background: var(--bg-card); }
    .stock-header-info { flex: 1; }
    .stock-header-sym { font-size: 22px; font-weight: bold; color: var(--y-dark); line-height: 1.2; }
    .stock-header-name { font-size: 13px; color: var(--text-muted); text-transform: uppercase; font-weight: bold; letter-spacing: 0.5px; }
    .stock-header-price { text-align: right; }
    .sh-val { font-size: 24px; font-weight: bold; color: var(--y-dark); font-variant-numeric: tabular-nums; }
    .sh-var { font-size: 13px; font-weight: bold; }
    .stock-body { flex: 1; display: flex; flex-direction: column; padding: 20px; overflow-y: auto; background: var(--bg-card); }
    .stock-chart-container { width: 100%; height: 320px; border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; margin-top: 10px; }

    @media (max-width: 768px) {
        .bj-journal { padding: 16px; }
        .bj-title { font-size: 16px; }
        .bj-pane-titre { font-size: 14.5px; }
        .news-ws-item { gap: 15px; padding: 20px 0; align-items: flex-start; }
        .news-ws-img { width: 90px; height: 90px; }
        .news-ws-imgwrap { width: 90px; }
        .news-ws-title { font-size: 16px; margin-bottom: 4px; }
        .news-ws-desc { font-size: 13px; -webkit-line-clamp: 3; }
        .news-ws-item.is-house { padding-left: 12px; }
        .pm-term-grid { grid-template-columns: 1fr; }
        .pm-col:first-child { border-right: none; border-bottom: 1px solid var(--border-soft); }
        .pm-row-term { padding: 8px 12px; }
    }

    /* ════════════════════════════════════════════════════════════════════
       PC UNIQUEMENT (≥1024px) — agrandissement LÉGER des textes (perçus trop
       petits). Le MENU (header) n'est volontairement PAS touché. Placé en fin
       de bloc → l'emporte sur les surcharges PC précédentes (ordre source).
    ════════════════════════════════════════════════════════════════════ */
    @media (min-width: 1024px) {
        /* Barre flash — plus haute et lisible */
        .flash-banner            { height: 35px; }
        .flash-marquee-track span{ font-size: 13.5px; }
        .flash-cta               { font-size: 12.5px; }

        /* Barre de cotations (CAC 40, S&P 500, Bitcoin…) */
        .ticker-name             { font-size: 11px; }
        .ticker-val              { font-size: 13.5px; }
        .ticker-pct              { font-size: 11.5px; }
        .ticker-item             { min-width: 146px; padding: 6px 14px; }
        .ticker-spark            { width: 44px; height: 18px; }

        /* Onglets Bourse / Crypto (baromètre + news) */
        /* (réduit juil. 2026 — garder ALIGNÉ sur la règle du bloc 2-colonnes) */
        .senti-pill              { font-size: 10.5px; padding: 4px 10px; }
        .news-section .news-tab  { font-size: 13.5px; }
        .news-tab                { font-size: 13.5px; }

        /* Sentiment de marché */
        .senti-title-txt         { font-size: 17px; }
        .senti-title             { font-size: 15px; }

        /* Journal de marché */
        .bj-title                { font-size: 21px; }
        .bj-pane-titre           { font-size: 19px; }

        /* Bourseur News (colonne droite) */
        .news-section-title      { font-size: 32px; }
        .news-section .news-ws-title { font-size: 17.5px; }
        .news-section .news-ws-desc  { font-size: 14px; }
        .news-section .news-ws-meta  { font-size: 11.5px; }
        .news-ws-title           { font-size: 18.5px; }
        .news-ws-desc            { font-size: 14.5px; }

        /* Nudge général léger pour le reste du contenu hérité */
        body                     { font-size: 16.5px; }
        .pal-teaser, .bb-guides-col a { font-size: 14px; }
    }
