    /* ─── Top bar (album-reg-bar style) ─── */
    .news-hero {
      width: 100%;
      margin: 10.875rem auto 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    @media (max-width: 1040px) {
      .news-hero { margin-top: 1rem; }
    }

    .news-title-bar {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-shrink: 0;
    }
    .news-title-bar .back-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.5rem;
      height: 2.5rem;
      border-radius: var(--radius);
      background: var(--secondary, #0f172a);
      color: var(--secondary-text, #fff);
      text-decoration: none;
      transition: all .25s ease;
      flex-shrink: 0;
    }
    .news-title-bar .back-btn:hover {
      background: var(--pink); color: var(--primary-text, #fff);
    }
    .news-title-bar-title {
      margin: 0;
      color: var(--page-text);
      font-size: clamp(1.5rem, 3.5vw, 2rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.2;
    }

    /* ─── Search bar (aligned right on listing) ─── */
    .news-search-bar {
      position: relative;
      width: min(100%, 21.25rem);
      flex-shrink: 0;
    }
    .news-search-bar input {
      width: 100%;
      height: 3rem;
      border: none;
      border-radius: var(--radius);
      padding: 0 2.625rem 0 1rem;
      font-size: 0.9375rem;
      font-family: inherit;
      color: var(--page-text);
      background: rgba(15,23,42,.05);
      outline: none;
      transition: background .2s, box-shadow .2s;
    }
    .news-search-bar input:focus {
      background: rgba(15,23,42,.07);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
    }
    .news-search-bar input::placeholder { color: rgba(15,23,42,.4); }
    .news-search-clear {
      position: absolute; right: 0.625rem; top: 50%; transform: translateY(-50%);
      width: 1.75rem; height: 1.75rem;
      border: none; background: rgba(15,23,42,.08); border-radius: var(--radius-sm);
      color: rgba(15,23,42,.5); font-size: 0.875rem; cursor: pointer;
      display: none; align-items: center; justify-content: center;
      transition: background .15s;
    }
    .news-search-clear.show { display: flex; }
    .news-search-clear:hover { background: rgba(15,23,42,.14); }
    @media (max-width: 640px) {
      .news-hero { flex-wrap: wrap; }
      .news-search-bar { width: 100%; }
    }

    /* ─── Votes bar (article mode – top right) ─── */
    .news-hero-votes {
      display: flex; align-items: center; gap: 0.5rem;
      flex-shrink: 0;
    }
    .hero-vote {
      display: inline-flex; align-items: center; gap: 0.3125rem;
      padding: 0.5rem 0.875rem;
      background: rgba(15,23,42,.05);
      border: none;
      border-radius: var(--radius); cursor: pointer;
      font-size: 0.9375rem; font-weight: 500; color: var(--page-text);
      transition: background .15s, transform .1s;
      -webkit-user-select: none;
      user-select: none;
    }
    .hero-vote:hover { background: rgba(15,23,42,.09); }
    .hero-vote:active { transform: scale(.96); }
    .hero-vote.voted { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }

    /* ─── Cards grid (3 colonnes, vignette + texte) ─── */
    .ncards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-auto-rows: 1fr;       /* toutes les rangées font la même hauteur */
      gap: 1.25rem 1.5rem;
      margin-top: 2rem;
      align-items: stretch;      /* cards stretchent à la hauteur de la rangée */
    }
    .ncard {
      display: flex;
      align-items: stretch;
      gap: 0;             /* pas d'espace entre image et body */
      padding: 0;         /* pas de padding sur la card → image flush */
      background: #fff;
      border-radius: var(--radius);
      overflow: hidden;   /* clip l'image aux coins arrondis gauches */
      text-decoration: none;
      color: var(--page-text);
      transition: background .18s ease;
      position: relative;
      height: 100%;       /* fill la cell de grille (combiné avec grid-auto-rows:1fr) */
    }
    .ncard:hover {
      background: rgba(15,23,42,.04);
    }
    .ncard-img {
      flex: 0 0 190px;        /* un poil plus large (était 160px) → moins carré */
      align-self: stretch;    /* fill la hauteur de la card */
      overflow: hidden;
      background: rgba(15,23,42,.06);
      /* Coins droits arrondis (les gauches sont clippés par card overflow:hidden) */
      border-radius: 0 var(--radius) var(--radius) 0;
      /* CAP la hauteur (cf. commentaire dans accueil.css) : sans ça, une image
         portrait bubble son intrinsèque vers la card via height:100% +
         grid-auto-rows:1fr et stretche toutes les autres cards. */
      max-height: 190px;
    }
    .ncard-badge-new {
      position: absolute;
      top: 0.25rem;
      left: 0.5rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 2px 0.4375rem;
      font-size: 0.5625rem;
      font-weight: 800;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: #fff;
      background: var(--pink, #f42182);
      border-radius: 4px;
      line-height: 1.6;
      z-index: 2;
      box-shadow: 0 2px 6px color-mix(in srgb, var(--primary) 35%, transparent);
      animation: badge-pulse 2s ease-in-out infinite;
    }
    @keyframes badge-pulse {
      0%,100%{opacity:1}
      50%{opacity:.7}
    }
    .ncard-img img {
      width: 100%; height: 100%;
      max-height: 190px;        /* ceinture + bretelles : empêche le bubble intrinsèque */
      object-fit: cover; display: block;
    }
    .ncard-placeholder {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem; opacity: .3;
    }
    .ncard-body {
      flex: 1; min-width: 0;
      display: flex; flex-direction: column;
      gap: 0.3125rem;
      padding: 0.875rem 1rem; /* padding interne (la card n'a plus de padding global) */
    }
    .ncard-title {
      margin: 0;
      font-size: 0.9375rem;
      font-weight: 700; line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .ncard-meta {
      display: flex; align-items: center; gap: 0.3125rem;
      font-size: 0.7812rem; color: rgba(15,23,42,.45); font-weight: 500;
      flex-wrap: wrap;
    }
    .ncard-source { color: var(--pink); font-weight: 600; }
    .ncard-dot { font-size: 0.5rem; }
    .ncard-bottom {
      display: flex; align-items: center; justify-content: space-between;
      gap: 0.5rem; margin-top: 2px;
    }
    .ncard-votes {
      display: flex; gap: 0.375rem;
    }
    .ncard-comments-badge {
      display: inline-flex; align-items: center; gap: 0.25rem;
      font-size: 0.75rem; font-weight: 600;
      color: rgba(15,23,42,.4);
      white-space: nowrap;
    }
    .ncard-comments-badge svg { opacity: .6; }
    .nvote {
      display: inline-flex; align-items: center; gap: 0.3125rem;
      padding: 0.3125rem 0.75rem;
      background: rgba(15,23,42,.05);
      border: none;
      border-radius: 100px;
      cursor: pointer; font-size: 0.75rem; font-weight: 600;
      color: rgba(15,23,42,.45);
      transition: all .18s ease;
    }
    .nvote svg { transition: stroke .18s ease; }
    .nvote-like:hover {
      background: rgba(34,197,94,.12);
      color: #16a34a;
    }
    .nvote-like:hover svg { stroke: #16a34a; }
    .nvote-dislike:hover {
      background: rgba(239,68,68,.12);
      color: #dc2626;
    }
    .nvote-dislike:hover svg { stroke: #dc2626; }
    .nvote:active { transform: scale(.92); }
    .nvote-like.voted {
      background: rgba(34,197,94,.15);
      color: #16a34a;
    }
    .nvote-like.voted svg { stroke: #16a34a; }
    .nvote-dislike.voted {
      background: rgba(239,68,68,.15);
      color: #dc2626;
    }
    .nvote-dislike.voted svg { stroke: #dc2626; }
    .nvote-count { font-size: 0.75rem; }

    @media (max-width: 1280px) {
      .ncards { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
    }
    @media (max-width: 640px) {
      .ncards { grid-template-columns: 1fr; gap: 0.625rem; }
      .ncard-img { flex: 0 0 130px; } /* height géré par align-self:stretch */
    }

    /* ─── Pagination ─── */
    .news-pagination {
      display: flex; align-items: center; justify-content: center;
      gap: 0.375rem; margin-top: 2.25rem; flex-wrap: wrap;
    }
    .pgbtn {
      min-width: 2.5rem; height: 2.5rem;
      border: none; border-radius: var(--radius);
      background: rgba(15,23,42,.05); color: var(--page-text);
      font-size: 0.875rem; font-weight: 600; cursor: pointer;
      transition: all .15s;
    }
    .pgbtn:hover { background: rgba(15,23,42,.09); }
    .pgbtn.active { background: var(--secondary); color: var(--secondary-text, #fff); }
    .pginfo { font-size: 0.8125rem; color: rgba(15,23,42,.45); margin-left: 0.5rem; }

    /* ─── Spinner ─── */
    .news-spinner {
      display: none; text-align: center; padding: 2.5rem 0;
    }
    .news-spinner.show { display: block; }
    .news-spinner::after {
      content: ''; display: inline-block;
      width: 2rem; height: 2rem;
      border: 3px solid rgba(15,23,42,.1);
      border-top-color: var(--pink);
      border-radius: 50%;
      animation: spin .6s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ─── Article detail ─── */
    .article-detail {
      margin-top: 2rem;
      max-width: 56.25rem;
      margin-left: auto;
      margin-right: auto;
    }
    .article-img {
      width: 100%;
      border-radius: var(--radius-lg);
      margin-bottom: 1.75rem;
    }
    .article-title {
      font-size: clamp(1.5rem, 3.5vw, 2.375rem);
      font-weight: 800;
      letter-spacing: -.02em;
      line-height: 1.2;
      margin: 0 0 0.75rem;
    }
    .article-meta {
      display: flex; align-items: center; gap: 0.5rem;
      font-size: 0.875rem; color: rgba(15,23,42,.5); font-weight: 500;
      margin-bottom: 1.75rem;
    }
    .article-content {
      font-size: 1rem;
      line-height: 1.75;
      color: rgba(15,23,42,.85);
      max-width: 48.75rem;
    }
    .article-content p { margin: 0 0 1rem; }
    .article-content table {
      border-collapse: collapse;
      width: 100%;
      margin: 0 0 1rem;
    }
    .article-content td, .article-content th {
      border: 1px solid #ddd;
      padding: 0.5rem 0.75rem;
    }
    .article-content img {
      max-width: 100%;
      height: auto;
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .article-content img:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,0,0,.12);
    }

    /* Bouton PDF */
    .pdf-link {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.375rem 0.875rem;
      background: #fff;
      border: 1px solid rgba(15,23,42,.12);
      border-radius: 12px;
      color: var(--page-text, #0f172a);
      font-size: 0.875rem;
      text-decoration: none;
      box-shadow: 0 1px 3px rgba(0,0,0,.04);
      transition: all .2s ease;
      margin: 0.5rem 0;
    }
    .pdf-link:hover {
      border-color: var(--primary, #db2777);
      box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 12%, transparent);
      transform: translateY(-1px);
    }
    .pdf-link-icon {
      display: flex; align-items: center; justify-content: center;
      width: 2.375rem; height: 2.375rem;
      background: color-mix(in srgb, var(--primary) 8%, transparent);
      border-radius: var(--radius); flex-shrink: 0;
    }
    .pdf-link:hover .pdf-link-icon { background: color-mix(in srgb, var(--primary) 14%, transparent); }
    .pdf-link-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--primary, #db2777); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .pdf-link-info { display: flex; flex-direction: column; gap: 2px; }
    .pdf-link-name { font-weight: 600; line-height: 1.3; color: var(--page-text, #0f172a); }
    .pdf-link-hint { font-size: 0.75rem; color: rgba(15,23,42,.45); }

    /* Lightbox */
    .tiny-lightbox {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,.9); z-index: 99999;
      align-items: center; justify-content: center; padding: 1.25rem;
    }
    .tiny-lightbox.active { display: flex; }
    .tiny-lightbox-close {
      position: absolute; top: 1.875rem; right: 2.5rem;
      font-size: 3rem; color: #fff; cursor: pointer;
      user-select: none; transition: transform .2s ease;
    }
    .tiny-lightbox-close:hover { transform: scale(1.1); }
    .tiny-lightbox-img {
      max-width: 90%; max-height: 90%;
      border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
    }

    /* ─── Separator + Share ─── */
    .article-separator {
      display: flex; align-items: center; justify-content: space-between;
      margin-top: 2.5rem; padding-top: 1.5rem;
      border-top: 1px solid rgba(15,23,42,.08);
    }
    .share-buttons {
      display: flex; align-items: center; gap: 0.5rem;
    }
    .share-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
      padding: 0.5rem 0.875rem;
      border: none;
      border-radius: var(--radius);
      background: rgba(15,23,42,.05);
      color: var(--page-text);
      font-size: 0.8125rem; font-weight: 600;
      cursor: pointer; text-decoration: none;
      transition: background .15s, transform .1s;
    }
    .share-btn:hover { background: rgba(15,23,42,.09); }
    .share-btn:active { transform: scale(.95); }
    .share-btn svg { flex-shrink: 0; }
    .share-btn.copied { background: rgba(16,185,129,.15); color: #059669; }

    /* ─── Comments section ─── */
    .comments-section { margin-top: 2rem; }
    .comments-header {
      display: flex; align-items: center; gap: 0.5rem;
      margin-bottom: 1.25rem;
    }
    .comments-header h3 {
      margin: 0; font-size: 1.125rem; font-weight: 700;
      color: var(--page-text);
    }
    .comments-count {
      display: inline-flex; align-items: center; justify-content: center;
      min-width: 1.5rem; height: 1.5rem; padding: 0 0.4375rem;
      background: rgba(15,23,42,.08); border-radius: 99px;
      font-size: 0.75rem; font-weight: 700; color: rgba(15,23,42,.6);
    }

    /* Comment form */
    .comment-form {
      display: flex; flex-direction: column; gap: 0.625rem;
      margin-bottom: 1.75rem;
      padding: 1rem; border-radius: var(--radius);
      background: rgba(15,23,42,.04);
      border: none;
    }
    .comment-form-row {
      display: flex; gap: 0.625rem;
    }
    .comment-form input,
    .comment-form textarea {
      width: 100%;
      border: 1px solid rgba(15,23,42,.10);
      border-radius: var(--radius);
      padding: 0.625rem 0.875rem;
      font-size: 0.875rem; font-family: inherit;
      color: var(--page-text);
      background: #fff;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
      resize: none;
    }
    .comment-form input:focus,
    .comment-form textarea:focus {
      border-color: var(--pink);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 8%, transparent);
    }
    .comment-form input { flex: 1; height: 2.625rem; }
    .comment-form textarea { min-height: 4.375rem; }
    .comment-form-actions {
      display: flex; justify-content: space-between; align-items: center;
    }
    /* .comment-submit — styles gérés par le système unifié dans fer-modern.css */
    .comment-mention-hint { font-size: 0.75rem; color: #94a3b8; margin: 0; }
    .comment-own-action { font-size: 0.75rem !important; }
    .comment-delete-btn { color: #ef4444 !important; }
    .comment-delete-btn:hover { color: #dc2626 !important; }
    .comment-edit-form { margin-top: 0.375rem; }
    .comment-edit-textarea {
      width: 100%; min-height: 3.75rem; padding: 0.5rem 0.75rem;
      border: 1px solid #e2e8f0; border-radius: 8px;
      font-size: 0.875rem; font-family: inherit; resize: vertical;
      background: var(--page-bg); color: var(--page-text);
    }
    .comment-edit-textarea:focus { outline: none; border-color: var(--pink); }
    .comment-edit-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 0.375rem; }
    .comment-edit-cancel {
      padding: 0.3125rem 0.875rem; border: 1px solid #e2e8f0; border-radius: 8px;
      background: transparent; color: var(--page-text); font-size: 0.8125rem; cursor: pointer;
    }
    .comment-edit-save {
      padding: 0.3125rem 0.875rem; border: none; border-radius: 8px;
      background: var(--pink); color: #fff; font-size: 0.8125rem; font-weight: 600; cursor: pointer;
    }
    .comment-edit-save:hover { opacity: .85; }

    /* Comment items */
    .comment-list { display: flex; flex-direction: column; gap: 0; }
    .comment-item {
      display: flex; gap: 0.75rem;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(15,23,42,.06);
    }
    .comment-item:last-child { border-bottom: none; }
    .comment-avatar {
      flex: 0 0 36px; width: 2.25rem; height: 2.25rem;
      border-radius: 50%;
      background: var(--pink);
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.9375rem; font-weight: 700;
      text-transform: uppercase;
      user-select: none;
    }
    .comment-body { flex: 1; min-width: 0; }
    .comment-head {
      display: flex; align-items: center; gap: 0.5rem;
      margin-bottom: 0.25rem;
    }
    .comment-author {
      font-size: 0.875rem; font-weight: 700;
      color: var(--page-text);
    }
    .comment-date {
      font-size: 0.75rem; color: rgba(15,23,42,.4);
      font-weight: 500;
    }
    .comment-text {
      font-size: 0.875rem; line-height: 1.55;
      color: rgba(15,23,42,.8);
      margin-bottom: 0.5rem;
      word-break: break-word;
    }
    .comment-actions {
      display: flex; align-items: center; gap: 0.75rem;
      flex-wrap: wrap;
    }
    .comment-action-btn {
      display: inline-flex; align-items: center; gap: 0.25rem;
      padding: 3px 0.5rem;
      background: none; border: none;
      border-radius: var(--radius-sm);
      font-size: 0.7812rem; font-weight: 600;
      color: rgba(15,23,42,.45);
      cursor: pointer;
      transition: color .15s, background .15s;
    }
    .comment-action-btn:hover { color: var(--page-text); background: rgba(15,23,42,.05); }
    .comment-action-btn.liked { color: var(--pink); }
    .comment-action-btn .like-count { font-weight: 700; }

    /* Toggle replies button */
    .comment-toggle-replies {
      display: inline-flex; align-items: center; gap: 0.3125rem;
      padding: 3px 0.625rem;
      background: none; border: none;
      border-radius: var(--radius-sm);
      font-size: 0.7812rem; font-weight: 600;
      color: var(--pink);
      cursor: pointer;
      transition: background .15s;
      margin-left: auto;
    }
    .comment-toggle-replies:hover { background: color-mix(in srgb, var(--primary) 6%, transparent); }
    .toggle-replies-arrow {
      transition: transform .2s;
    }
    .comment-toggle-replies.open .toggle-replies-arrow {
      transform: rotate(180deg);
    }

    /* Replies */
    .comment-replies {
      margin-left: 3rem;
      border-left: 2px solid rgba(15,23,42,.06);
      padding-left: 1rem;
    }
    .comment-replies .comment-item {
      padding: 0.75rem 0;
    }
    .comment-replies .comment-avatar {
      flex: 0 0 28px; width: 1.75rem; height: 1.75rem;
      font-size: 0.75rem;
    }

    /* Reply form inline */
    .reply-form-inline {
      display: flex; flex-direction: column; gap: 0.5rem;
      margin: 0.5rem 0 0.25rem 3rem;
      padding: 0.75rem;
      background: rgba(15,23,42,.025);
      border: 1px solid rgba(15,23,42,.06);
      border-radius: 12px;
    }
    .reply-form-inline textarea {
      width: 100%;
      border: 1px solid rgba(15,23,42,.10);
      border-radius: var(--radius-sm);
      padding: 0.5rem 0.75rem;
      font-size: 0.8125rem; font-family: inherit;
      color: var(--page-text);
      background: #fff;
      outline: none; resize: none;
      min-height: 3.125rem;
      transition: border-color .2s;
    }
    .reply-form-inline textarea:focus { border-color: var(--pink); }
    .reply-form-actions {
      display: flex; justify-content: flex-end; gap: 0.5rem;
    }
    .reply-cancel {
      padding: 0.5rem 1rem;
      background: rgba(15,23,42,.05); border: none;
      border-radius: var(--radius-sm);
      font-size: 0.8125rem; font-weight: 600;
      color: rgba(15,23,42,.6);
      cursor: pointer;
      transition: background .15s;
    }
    .reply-cancel:hover { background: rgba(15,23,42,.09); }
    /* .reply-submit — styles gérés par le système unifié dans fer-modern.css */

    /* Comment error/info */
    .comment-msg {
      padding: 0.625rem 0.875rem;
      border-radius: var(--radius);
      font-size: 0.8125rem; font-weight: 500;
      margin-bottom: 0.75rem;
      display: none;
      white-space: pre-line;
    }
    .comment-msg.error, .reply-msg.error { display: block; background: rgba(239,68,68,.08); color: #dc2626; border: 1px solid rgba(239,68,68,.15); }
    .comment-msg.success, .reply-msg.success { display: block; background: rgba(16,185,129,.08); color: #059669; border: 1px solid rgba(16,185,129,.15); }
    .reply-msg { padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.75rem; font-weight: 500; margin-bottom: 0.5rem; display: none; }

    /* @Mentions */
    .comment-mention {
      color: var(--pink);
      font-weight: 700;
      cursor: default;
    }
    .mention-dropdown {
      position: absolute;
      z-index: 999;
      background: #fff;
      border: 1px solid rgba(15,23,42,.12);
      border-radius: var(--radius);
      box-shadow: 0 4px 16px rgba(0,0,0,.10);
      max-height: 10rem;
      overflow-y: auto;
      display: none;
      min-width: 8.75rem;
    }
    .mention-dropdown.show { display: block; }
    .mention-item {
      padding: 0.5rem 0.875rem;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--page-text);
      cursor: pointer;
      transition: background .12s;
    }
    .mention-item:first-child { border-radius: var(--radius) 10px 0 0; }
    .mention-item:last-child { border-radius: 0 0 var(--radius) var(--radius); }
    .mention-item:only-child { border-radius: var(--radius); }
    .mention-item:hover,
    .mention-item.active {
      background: color-mix(in srgb, var(--primary) 8%, transparent);
      color: var(--pink);
    }

    .comments-empty {
      text-align: center; padding: 2rem 1rem;
      color: rgba(15,23,42,.35);
      font-size: 0.875rem; font-weight: 500;
    }

    @media (max-width: 640px) {
      .article-separator { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
      .comment-form-row { flex-direction: column; }
      .comment-replies { margin-left: 1.5rem; padding-left: 0.75rem; }
      .reply-form-inline { margin-left: 1.5rem; }
      .share-btn span { display: none; }
    }
