/* Nintendo-Master — feuille de style principale.
   Reprend l'identité du site actuel (décor Mario, bloc central blanc, barre bleue,
   étiquettes rouges) en CSS natif, sans Bootstrap ni jQuery. */

:root {
    --nm-blue: #18719f;      /* #1c82b3 de l'original, assombri : contraste AA aussi sur fond gris */
    --nm-blue-dark: #15668d;
    --nm-label: #e31b1b;     /* idem pour #ff2424 */
    --nm-red: #c41d1d;
    --nm-purple: #9157cd;
    --nm-yellow: #f4c036;
    --nm-navy: #2b304e;
    --nm-orange: #cf3e0b;
    --nm-text: #333;
    --nm-muted: #6b6b6b;
    --nm-border: #e2e2e2;
    --nm-surface: #fff;
    --nm-surface-alt: #f7f7f7;
    --nm-caption: rgb(49 49 49 / 90%);
    --nm-radius: 10px;
    /* Police du système : Segoe UI sous Windows (comme avant), San Francisco sur Mac et iPhone,
       Roboto sur Android ; nettement plus lisible sur téléphone qu'Arial. */
    --nm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font: 15px/1.5 var(--nm-font);
    color: var(--nm-text);
    background: #9bc7e2;
}
/* Paysage Mario de l'original, ancré en bas ; pas sur mobile, où il ne se voit pas. */
@media (min-width: 641px) {
    body { background: #9bc7e2 url(/img/deco.webp) bottom center / 100% auto no-repeat fixed; }
}

a { color: var(--nm-blue); text-decoration: none; }
a:hover { color: var(--nm-blue-dark); text-decoration: underline; }
/* Liens au fil d'un texte : soulignés, pas seulement distingués par la couleur (WCAG 1.4.1). */
.site-main p a:not([class]), .meta a:not(.tag), .form-note a { text-decoration: underline; text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
.icon { width: 22px; height: 22px; flex: none; }
/* Logo Switch 2 (plus large que haut) : 18 px de haut, centré dans la hauteur des autres icônes (22 px). */
.icon.icon-switch2 { width: 34px; height: 18px; margin-block: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bloc central */
.page {
    max-width: 1290px; margin: 12px auto; background: var(--nm-surface);
    /* clip et non hidden : coins arrondis gardés, sans empêcher l'en-tête collant sur mobile. */
    border-radius: var(--nm-radius); overflow: clip; box-shadow: 0 2px 12px rgb(0 0 0 / 15%);
}

/* En-tête */
.site-header {
    position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 16px;
    background: linear-gradient(to bottom, #fff 0, #ececec 100%); z-index: 40;
}
.site-logo img { display: block; width: 230px; height: auto; }
.site-nav { flex: 1; min-width: 0; }
.site-nav > ul { list-style: none; margin: 0; padding: 0 0 0 20px; display: flex; flex-wrap: wrap; justify-content: flex-start; }
.site-nav > ul > li { position: relative; min-width: 0; max-width: 100%; }
.site-nav > ul > li > a, .nav-disclosure > summary, .site-tools .tool {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 14px; color: #3a3f5c; font-size: 1.15rem;
}
.nav-disclosure > summary { list-style: none; cursor: pointer; }
.nav-disclosure > summary::-webkit-details-marker { display: none; }
.site-nav > ul > li > a:hover, .nav-disclosure > summary:hover, .site-tools .tool:hover { color: var(--nm-blue); text-decoration: none; }
.site-nav span { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 0; text-align: center; overflow-wrap: anywhere; }
.site-nav .caret { width: 14px; height: 14px; }
.nav-disclosure[open] .caret { rotate: 180deg; }
.submenu {
    position: absolute; z-index: 20; top: 100%; left: 0; width: min(18rem, 90vw); max-height: 50vh; overflow: auto;
    list-style: none; margin: 0; padding: 6px 0; background: #fff;
    border: 1px solid var(--nm-border); border-radius: 6px; box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
}
.site-nav li:last-child > .nav-disclosure > .submenu { left: auto; right: 0; }
.submenu a { display: block; padding: 7px 16px; color: var(--nm-text); overflow-wrap: anywhere; }
.submenu a:focus-visible { outline-offset: -3px; }
.submenu a:hover { background: var(--nm-surface-alt); text-decoration: none; }

.site-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
/* Menu du compte (profil, réglages, admin, déconnexion). */
.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu-list {
    position: absolute; right: 0; top: 100%; z-index: 30; min-width: 220px; list-style: none; margin: 4px 0 0; padding: 6px 0;
    background: #fff; border: 1px solid var(--nm-border); border-radius: 6px; box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
}
.account-menu-list a, .account-menu-list .link-button {
    display: block; width: 100%; padding: 10px 16px; text-align: left; color: var(--nm-text); font: inherit; background: none; border: 0; cursor: pointer;
}
.account-menu-list li:last-child { border-top: 1px solid var(--nm-border); margin-top: 4px; padding-top: 4px; }
.account-menu-list a:hover, .account-menu-list .link-button:hover { background: var(--nm-surface-alt); text-decoration: none; }
.search-toggle { display: inline-grid; place-items: center; border: 0; background: none; cursor: pointer; padding: 8px; color: #3a3f5c; }
.search-toggle .icon { width: 26px; height: 26px; }
.search-toggle[hidden], .header-search[hidden] { display: none; }
.header-search {
    order: 4; flex: 0 0 100%; min-width: 0; display: flex; justify-content: center; padding-block: 6px 10px;
}
.header-search input, .search-form input {
    border: 1px solid var(--nm-border); border-radius: 6px 0 0 6px; padding: 8px 10px; font: inherit; width: 260px; min-width: 0;
}
.header-search button, .search-form button {
    border: 0; background: var(--nm-blue); color: #fff; padding: 0 14px; font: inherit; border-radius: 0 6px 6px 0; cursor: pointer;
}
.search-form { display: flex; margin: 8px 0 16px; }
.header-search input, .search-form input { flex: 1; }
.header-search input { max-width: 32rem; }

/* Barre bleue : fil d'Ariane + réseaux */
.subbar { display: flex; align-items: stretch; justify-content: space-between; background: var(--nm-blue); color: #fff; font-size: .82rem; }
.crumbs { padding: 9px 20px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumbs a { color: #fff; }
.crumbs span { opacity: .7; padding: 0 4px; }
.social { display: flex; }
.social a { display: flex; align-items: center; gap: 6px; padding: 0 14px; color: #fff; font-size: .95rem; }
.social .icon { width: 1.1em; height: 1.1em; }
.social a:hover { text-decoration: none; filter: brightness(1.1); }
.social .fb { background: #3b5998; }
.social .tw { background: #14171a; }
.social .yt { background: #e62117; }
.social .rss { background: #b8530a; }

.site-main { padding: 24px 16px 32px; }

/* Grille principale */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 424px; gap: 20px; }
.panel { background: var(--nm-surface); }
.panel + .panel { margin-top: 20px; }
.panel-title { font-size: 1.3rem; font-weight: normal; margin: 16px 0 10px; }
.breadcrumb { font-size: .85rem; color: var(--nm-muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--nm-muted); }

/* Cartes de la une : étiquette rouge + bandeau de titre sombre */
.card {
    position: relative; display: block; overflow: hidden; border-radius: var(--nm-radius);
    border: 1px solid var(--nm-border); background: #232323; color: #fff;
}
.card:hover { text-decoration: none; color: #fff; }
.card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover img { transform: scale(1.03); }
.card .label {
    position: absolute; top: 0; left: 32px; background: var(--nm-label); color: #fff;
    padding: 4px 22px; font-size: 1rem; box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
}
.card .caption {
    position: absolute; left: 0; right: 0; bottom: 0; background: var(--nm-caption);
    padding: 10px 20px; font-size: 1.05rem; line-height: 1.3;
}
.card .caption b { font-weight: bold; }
.featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: minmax(210px, auto); grid-auto-rows: minmax(168px, auto); gap: 10px; }
.featured .card { display: grid; grid-template: minmax(3rem, 1fr) auto / minmax(0, 1fr); }
.featured .card img { position: absolute; inset: 0; }
.featured .card .label { position: relative; inset: auto; align-self: start; justify-self: start; margin: 10px 12px 0; max-width: calc(100% - 24px); overflow-wrap: anywhere; }
.featured .card .caption { position: relative; inset: auto; overflow-wrap: anywhere; }
.featured .card:nth-child(1) { grid-column: 1 / -1; }
.featured .card:nth-child(1) .caption { font-size: 1.35rem; }
.featured .card:nth-child(4) { grid-column: 2; grid-row: 2 / span 2; }
.tests-column { display: grid; grid-template-rows: repeat(4, 1fr); gap: 30px; }
.tests-column .card { min-height: 120px; }

/* Pastilles */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: 22px 0 10px; }
.pills a { min-width: 112px; text-align: center; padding: 3px 18px; border-radius: 20px; color: #fff; font-size: 1rem; }
.pills a:hover { text-decoration: underline; text-underline-offset: 2px; }
.pill-switch { background: var(--nm-red); }
.pill-ns2 { background: var(--nm-purple); }
.pills .pill-rdv { background: var(--nm-yellow); color: var(--nm-navy); }
.pill-news { background: var(--nm-navy); }
.pill-rss { background: var(--nm-orange); }

/* Listes de news */
.day-title { font-size: 1.3rem; font-weight: bold; margin: 26px 0 8px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item {
    position: relative; display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 12px;
    padding: 12px 40px 12px 0;
}
.news-item img { border-radius: 4px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-item h2, .news-item h3 { font-size: 1rem; margin: 2px 0 4px; }
/* Bloc en ligne : la zone cliquable prend toute la hauteur de ligne (24 px, WCAG 2.5.8). */
.news-item h2 a, .news-item h3 a { color: var(--nm-text); display: inline-block; }
/* Fil de l'accueil : lignes compactes alternées ; résumé pour les news importantes et les tests. */
.news-list--feed .news-item { padding: 8px 40px 8px 8px; align-items: center; }
.news-list--feed .news-item:nth-child(even) { background: var(--nm-surface-alt); }
.news-list--feed .news-item .bubble { top: 50%; transform: translateY(-50%); }
.review-item { border-left: 4px solid var(--nm-blue); }
.review-item img { aspect-ratio: 3 / 4; }
.news-item.review-item { align-items: start; }
.tag.tag-review { background: var(--nm-blue); text-transform: uppercase; }

/* Notes des tests (sur 10) et attente des previews : couleurs de l'ancien site. */
.conclusion-body { display: flex; gap: 16px; align-items: flex-start; }
.score { flex: none; margin: 0; min-width: 84px; padding: 14px 10px; border-radius: 6px; color: #fff; font-size: 1.5rem; font-weight: bold; text-align: center; }
.score--label { font-size: .95rem; }
.score--inline { display: inline-block; min-width: 0; margin-left: 6px; padding: 0 6px; font-size: .75rem; border-radius: 3px; vertical-align: 1px; }
.score--small { position: absolute; right: 0; top: 50%; transform: translateY(-50%); min-width: 0; padding: 4px 8px; font-size: .9rem; }
.score--low { background: #c9302c; }
.score--mid { background: #f0ad4e; color: #222; }
.score--high { background: #2e7d32; }
@media (max-width: 640px) { .conclusion-body { flex-direction: column; } }
.news-excerpt { margin: 0; color: #666; font-size: .92rem; overflow-wrap: anywhere; }
.bubble {
    position: absolute; top: 12px; right: 0; min-width: 26px; height: 26px; padding: 0 7px;
    display: grid; place-items: center; background: var(--nm-blue); color: #fff; border-radius: 50% 50% 50% 0;
    font-size: .8rem;
}
.bubble:hover { color: #fff; text-decoration: none; }

.meta { font-size: .8rem; color: var(--nm-muted); }
/* 24 px de haut au moins : cible tactile suffisante (WCAG 2.5.8). */
.tag {
    display: inline-flex; align-items: center; min-height: 24px; font-size: .72rem; padding: 0 7px; border-radius: 3px;
    background: var(--nm-label); color: #fff; margin-right: 6px; vertical-align: middle;
}
.tag:hover { color: #fff; text-decoration: none; opacity: .85; }

/* Article (news, test) */
.article-header h1 { font-size: 1.7rem; min-width: 0; overflow-wrap: anywhere; }
.article-cover { margin: 12px 0; border-radius: var(--nm-radius); width: 100%; }
.article-body { font-size: 1.02rem; line-height: 1.65; overflow-wrap: anywhere; }
.article-body iframe { max-width: 100%; border: 0; }
.article-body .embed { position: relative; aspect-ratio: 16 / 9; margin: 1em 0; }
.article-body .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.embed-facade { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: #1b1b1b; color: #fff; text-decoration: none; border-radius: 4px; }
.embed-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed-play { position: relative; display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.2em; border-radius: 999px; background: rgb(0 0 0 / .75); font-weight: bold; transition: background .15s; }
.embed-play::before { content: ""; border-style: solid; border-width: .5em 0 .5em .85em; border-color: transparent transparent transparent #fff; }
.embed-facade:hover .embed-play, .embed-facade:focus-visible .embed-play { background: var(--nm-label); }
.embed-note { position: absolute; left: 0; right: 0; bottom: 0; padding: .4em .8em; font-size: .75rem; background: linear-gradient(transparent, rgb(0 0 0 / .8)); text-align: left; }
.article-body img { border-radius: 4px; max-width: 100%; height: auto; }
.article-body::after { content: ""; display: table; clear: both; }
.article-body h2, .article-body h3, .article-body hr { clear: both; }
/* Intertitres comme sur l'ancien site : bleus, soulignés d'un filet. */
.article-body h2 { color: var(--nm-blue); border-bottom: 1px solid var(--nm-blue); padding-bottom: 4px; font-size: 1.35rem; }
.article-cover-wrap { position: relative; margin: 12px 0; }
.article-cover-wrap .article-cover { margin: 0; display: block; }
.article-cover-wrap .label { position: absolute; top: 0; left: 32px; background: var(--nm-label); color: #fff; padding: 4px 22px; box-shadow: 0 2px 6px rgb(0 0 0 / 25%); }
.article-cover-wrap .label:hover { color: #fff; text-decoration: none; }
.article-body .text-center { text-align: center; }
.article-body .text-right { text-align: right; }
.article-body .float-left { float: left; margin: .3em 1.2em .6em 0; max-width: 45%; }
.article-body .float-right { float: right; margin: .3em 0 .6em 1.2em; max-width: 45%; }
.article-body .img-center { display: block; margin: 1em auto; }
.article-body figure.img-center { display: table; }
.article-body img.smiley { display: inline; vertical-align: middle; border-radius: 0; }
@media (max-width: 640px) {
    .article-body .float-left, .article-body .float-right { float: none; display: block; margin: .6em auto; max-width: 100%; }
}
.article-body blockquote { margin: 1em 0; padding: 8px 14px; border-left: 4px solid var(--nm-yellow); background: var(--nm-surface-alt); }
.news-up { height: 1em; width: auto; vertical-align: middle; }
.article-body details { margin: 1em 0; border: 1px dashed var(--nm-muted); padding: 8px 12px; border-radius: 6px; }
.article-body details summary { cursor: pointer; font-weight: bold; color: var(--nm-muted); }
.article-table-scroll { max-width: 100%; overflow-x: auto; margin: 1em 0; }
.article-table-scroll:focus-visible { outline-offset: -2px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.article-table-scroll caption { text-align: start; padding-block-end: .35em; }
.article-body th, .article-body td { border: 1px solid var(--nm-border); padding: 6px 10px; text-align: left; vertical-align: top; }
.article-table-scroll :is(th, td) { min-width: 7ch; overflow-wrap: break-word; }
.article-body th { background: var(--nm-surface-alt); }
.article-body figure { margin: 1em 0; }
.article-body figcaption { font-size: .85rem; color: var(--nm-muted); text-align: center; margin-top: 4px; }
.article-sources { font-size: .85rem; color: var(--nm-muted); margin-top: 16px; }

/* Commentaires */
.comment { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--nm-border); }
.comment img.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.comment-body { overflow-wrap: anywhere; }
.comment-body p { margin: .3em 0; }
.spoiler { border: 1px dashed var(--nm-muted); padding: 6px 10px; border-radius: 4px; }
.spoiler summary { cursor: pointer; font-weight: bold; color: var(--nm-muted); }

/* Jeux */
.platform-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.platform-filter a { padding: 4px 10px; border: 1px solid var(--nm-border); border-radius: 20px; font-size: .85rem; background: var(--nm-surface-alt); }
.platform-filter a[aria-current="page"] { background: var(--nm-blue); color: #fff; border-color: var(--nm-blue); }
.game-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.game-grid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 4px; display: block; margin-bottom: 6px; }
.game-grid strong { display: block; font-size: .92rem; line-height: 1.3; }
.game-header { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.game-header img { border-radius: var(--nm-radius); width: 100%; }
.game-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 12px; }
.game-facts dt { font-weight: bold; color: var(--nm-muted); }
.game-facts dd { margin: 0; }
.calendar { width: 100%; border-collapse: collapse; }
.calendar th, .calendar td { text-align: left; padding: 8px; border-bottom: 1px solid var(--nm-border); }

/* Tests */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.verdict > div { padding: 12px 14px; border-radius: 6px; }
.verdict h2 { font-size: 1rem; }
.verdict ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.verdict .pros li::marker { color: #2e9d3a; }
.verdict .cons li::marker { color: var(--nm-red); }
.verdict .pros { background: #eef8ee; border-left: 4px solid #2e9d3a; }
.verdict .cons { background: #fbeeee; border-left: 4px solid var(--nm-red); }
.conclusion { background: var(--nm-surface-alt); border: 1px solid var(--nm-border); border-radius: 6px; padding: 14px; }

/* Archives (forum, blogs) */
.archive-notice {
    background: #fff8e1; border: 1px solid var(--nm-yellow); border-radius: 6px; padding: 10px 14px; font-size: .9rem; margin: 0 0 16px;
}
.archive-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.archive-table th { text-align: left; font-size: .8rem; color: var(--nm-muted); font-weight: normal; padding: 6px 8px; border-bottom: 2px solid var(--nm-border); }
.archive-table td { padding: 10px 8px; border-bottom: 1px solid var(--nm-border); vertical-align: top; }
.archive-table td:not(:first-child) { white-space: nowrap; width: 1%; }

/* Profils */
.profile-header { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; margin-bottom: 16px; }
.avatar-lg { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--nm-border); }
.profile-bio { white-space: pre-line; background: var(--nm-surface-alt); border-radius: 6px; padding: 12px; overflow-wrap: anywhere; }
.columns { columns: 2 260px; padding-left: 18px; }
.team { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
.team a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .9rem; }
.team img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* Formulaires */
.form-panel { max-width: 460px; margin: 0 auto; }
.form-panel form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.form-panel label { font-weight: bold; margin-top: 8px; }
.form-panel input[type="text"], .form-panel input[type="email"], .form-panel input[type="password"], .form-panel input[type="url"] {
    font: inherit; padding: 10px; border: 1px solid #ccc; border-radius: 6px;
}
.form-panel .checkbox { font-weight: normal; display: flex; gap: 8px; align-items: center; }
.danger-zone { border: 1px solid #e3b4b4; border-radius: 6px; padding: 12px; background: #fff7f7; }
.button-danger { background: #c41d1d; }
.flash { margin: 0 0 16px; padding: 10px 14px; border-radius: 6px; background: #e8f4ea; border: 1px solid #b7dcbf; color: #1d5b2c; }
.button-danger:hover { background: #9e1717; }
.button { border: 0; border-radius: 6px; background: var(--nm-blue); color: #fff; padding: 10px 16px; font: inherit; cursor: pointer; margin-top: 10px; }
.button:hover { background: var(--nm-blue-dark); }
.link-button { border: 0; background: none; color: var(--nm-blue); font: inherit; cursor: pointer; padding: 0; }
.form-error { color: var(--nm-red); margin: 0; font-size: .9rem; }
.form-status { background: #eef8ee; border-left: 4px solid #2e9d3a; padding: 10px; }

/* Discord */
/* Colonne de l'accueil : calendrier des sorties et sondage côte à côte, carte Discord. */
.side-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; align-items: start; }
.side-box { background: var(--nm-surface); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; font-size: .88rem; }
.side-box h2 { display: flex; align-items: center; gap: 6px; margin: 0; padding: 6px 10px; color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.side-box--calendar h2 { background: var(--nm-blue); }
.side-box--poll h2 { background: #23883b; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box--calendar li { padding: 6px 10px; border-bottom: 1px solid var(--nm-border); }
.side-box--calendar li:nth-child(even) { background: var(--nm-surface-alt); }
.side-box--calendar li a { display: block; }
.profile-comments li { padding: 8px 0; border-bottom: 1px solid var(--nm-border); }
.profile-comments li > a { text-decoration: underline; text-underline-offset: 2px; }
.side-box--calendar li span { display: block; font-size: .78rem; color: var(--nm-muted); }
.side-box-more { margin-top: auto; padding: 6px; text-align: center; background: var(--nm-surface-alt); font-size: .82rem; }
.poll-question { margin: 8px 10px; font-weight: bold; }
.side-box--poll form { display: grid; gap: 4px; padding: 0 10px 10px; }
.poll-option { display: flex; gap: 6px; align-items: baseline; cursor: pointer; }
.side-box--poll .button { margin-top: 6px; background: #23883b; }
.poll-results li { padding: 3px 10px; }
.poll-meter { display: block; height: 18px; margin-top: 2px; border-radius: 3px; background: linear-gradient(90deg, #7ccf8c var(--share), #e6e6e6 var(--share)); font-size: .72rem; line-height: 18px; padding-left: 6px; color: #123; }
.poll-total { margin: 6px 10px 10px; font-size: .78rem; color: var(--nm-muted); }
.discord-card { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 6px; background: #5865f2; color: #fff; line-height: 1.35; }
.discord-card:hover { color: #fff; text-decoration: none; background: #4752c4; }
.discord-card .icon { width: 38px; height: 38px; flex: none; }
.discord-card b { display: block; font-size: 1.05rem; }
@media (max-width: 640px) { .side-boxes { grid-template-columns: 1fr; } }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 20px 0 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: block; padding: 6px 11px; border: 1px solid var(--nm-border); border-radius: 4px; background: var(--nm-surface); }
.pagination [aria-current="page"] span { background: var(--nm-blue); color: #fff; border-color: var(--nm-blue); }

/* Pied de page */
.site-footer { background: #2b2b2b; color: #bbb; padding: 20px; font-size: .85rem; }
.site-footer a { color: #ddd; }
.footer-grid p a { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 24px; align-items: start; padding: 10px 10px 16px; }
.footer-grid p { margin: 0 0 10px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { text-decoration: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #3c3c3c; color: #ddd; }
.footer-social a:hover { background: var(--nm-blue); color: #fff; }
.footer-social .icon { width: 18px; height: 18px; }
@media (max-width: 900px) { .footer-social { justify-content: center; } }
.footer-logo img { width: 200px; height: auto; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.footer-note { margin: 0; padding-top: 12px; border-top: 1px solid #3c3c3c; text-align: center; font-size: .8rem; color: #999; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-logo img { margin: 0 auto; } }

/* Tablette en paysage et petit portable (901-1100 px) : en-tête sur une ligne, deux colonnes
   avec une colonne latérale plus étroite (calendrier, sondage restent visibles). */
@media (max-width: 1100px) {
    .site-logo img { width: 190px; }
    .site-nav > ul { padding-left: 4px; }
    .site-nav > ul > li > a, .nav-disclosure > summary, .site-tools .tool { padding: 6px 9px; font-size: 1rem; }
    .layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .side-boxes { grid-template-columns: 1fr; }
    .tests-column { gap: 12px; }
    .featured { grid-template-rows: minmax(190px, auto); grid-auto-rows: minmax(150px, auto); }
}

/* Tablette en portrait (641-900 px) : une colonne ; menu sous le logo, centré. */
@media (max-width: 900px) {
    .layout { grid-template-columns: minmax(0, 1fr); }
    .side-boxes { grid-template-columns: 1fr 1fr; }
    .tests-column { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; gap: 10px; }
    .site-header { flex-wrap: wrap; justify-content: space-between; }
    .site-nav { order: 3; flex-basis: 100%; }
    .site-nav > ul { justify-content: center; padding-left: 0; }
    .featured { grid-template-rows: minmax(220px, auto); grid-auto-rows: minmax(160px, auto); }
}

/* Mobile */
@media (max-width: 640px) {
    .page { margin: 0; border-radius: 0; }
    /* Les onglets passent à la ligne si le texte ou les libellés grandissent. */
    .site-header { padding: 6px 12px 0; gap: 0 8px; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 6px rgb(0 0 0 / 10%); }
    .site-tools { position: relative; gap: 0; }
    .account-menu { position: static; }
    .account-menu-list { max-height: 60dvh; overflow-y: auto; }
    .site-logo img { width: 140px; }
    .site-tools .tool, .search-toggle { padding: 8px; color: #4a4f6a; }
    .site-tools .icon, .search-toggle .icon { width: 22px; height: 22px; }
    .site-nav { margin: 4px -12px 0; border-top: 1px solid #e3e3e3; }
    .site-nav > ul { justify-content: space-evenly; padding: 0 4px; }
    .site-nav > ul > li > a, .nav-disclosure > summary { flex-direction: row; gap: 5px; font-size: .86rem; padding: 10px 5px; }
    .site-nav .icon { width: 17px; height: 17px; }
    .site-nav .icon.icon-switch2 { width: 26px; height: 14px; margin-block: 1.5px; }
    .site-nav .caret { width: 9px; height: 9px; }
    .site-nav > ul > li { position: static; }
    .submenu, .site-nav li:last-child > .nav-disclosure > .submenu { left: 8px; right: 8px; width: auto; }
    /* Icônes seules : libellé masqué à l'écran mais lu par les lecteurs d'écran ; pastille en coin. */
    .site-tools .tool { position: relative; }
    .site-tools .tool-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .site-tools .tool .badge { position: absolute; top: -4px; right: -8px; margin: 0; }
    /* Barre bleue : le fil d'Ariane seul (les réseaux sont dans le pied de page). */
    .subbar { font-size: .8rem; }
    .crumbs { flex: 1; padding: 7px 12px; }
    .social { display: none; }
    /* La une : bandeau défilant au doigt (une carte et le bord de la suivante) au lieu de
       quatre grandes cartes empilées. */
    .featured { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 4px; }
    .featured .card { flex: 0 0 86%; min-height: 9rem; scroll-snap-align: start; }
    .featured .card .caption, .featured .card:nth-child(1) .caption { font-size: .98rem; padding: 8px 14px; }
    .featured .card .label { padding: 3px 12px; font-size: .85rem; }
    .tests-column { grid-template-columns: 1fr 1fr; gap: 8px; }
    .tests-column .card { aspect-ratio: 4 / 3; min-height: 0; }
    .tests-column .card .caption { font-size: .85rem; padding: 6px 10px; }
    .side-boxes { grid-template-columns: 1fr; }
    /* Rubriques : une seule ligne défilante. */
    .pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 8px; margin: 14px -16px 4px; padding: 0 16px; scrollbar-width: none; }
    .pills::-webkit-scrollbar { display: none; }
    .pills a { flex: none; min-width: 0; padding: 4px 14px; font-size: .85rem; }
    /* Fil : fond blanc et séparateurs fins, titres sur 3 lignes au plus, compteur de
       commentaires à droite de la ligne date (les titres gardent toute la largeur). */
    .news-item { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #ececec; }
    .news-list--feed .news-item { padding: 12px 0; align-items: start; }
    .news-list--feed .news-item:nth-child(even) { background: none; }
    .news-item img { border-radius: 6px; }
    .news-item .meta { padding-right: 34px; font-size: .78rem; }
    .news-item h2, .news-item h3 { font-size: .98rem; font-weight: 600; line-height: 1.3; margin: 4px 0 0; }
    .news-item h2 a, .news-item h3 a { display: block; min-height: 24px; overflow-wrap: anywhere; }
    .news-item .bubble, .news-list--feed .news-item .bubble { top: 12px; transform: none; min-width: 24px; height: 24px; font-size: .72rem; }
    .review-item { grid-template-columns: 72px minmax(0, 1fr); border-left: 0; }
    .review-item img { aspect-ratio: 3 / 4; }
    .day-title { font-size: 1.15rem; margin-top: 18px; }
    .news-item .news-excerpt { display: none; }
    .article-header h1 { font-size: 1.35rem; }
    .game-header, .verdict { grid-template-columns: 1fr; }
    .game-header img { max-width: 220px; }
    .header-search input { width: 200px; }
    html { scroll-padding-top: var(--nm-header-height, 0px); }
}

@media (max-height: 480px) {
    .site-header { position: relative; }
    .account-menu-list { position: absolute; top: 100%; right: 0; }
    html { scroll-padding-top: 0; }
}

/* Formulaire de commentaire */
.comment-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 16px; }
.comment-form textarea { font: inherit; padding: 10px; border: 1px solid #ccc; border-radius: 6px; resize: vertical; }
.comment-form .button { justify-self: end; margin-top: 0; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.form-actions .button { margin-top: 0; }
.emoji-picker { position: relative; }
.emoji-picker summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; user-select: none; }
.emoji-picker summary::-webkit-details-marker { display: none; }
.emoji-panel { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; display: grid; grid-template-columns: repeat(8, 2.2em); gap: 2px; padding: 6px; background: #fff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 4px 14px rgb(0 0 0 / .15); }
.emoji-panel button { display: grid; place-items: center; min-height: 2.2em; border: 0; background: none; font-size: 1.3em; line-height: 1.6; cursor: pointer; border-radius: 4px; }
.emoji-panel { max-height: 300px; overflow-y: auto; }
.emoji-group { grid-column: 1 / -1; margin: 4px 2px 0; font-size: .75rem; font-weight: bold; color: var(--nm-muted); }
.emoji-picker summary img { vertical-align: -2px; }
/* Smileys de l'ancien site dans les commentaires et messages. */
img.smiley { display: inline; vertical-align: -3px; border-radius: 0; }
.emoji-panel button:hover, .emoji-panel button:focus-visible { background: #e8f2f8; }
.inline-form { display: inline; }

/* Sondages */
.poll { border-bottom: 1px solid var(--nm-border); padding: 12px 0; }
.poll h2 { font-size: 1.05rem; }
.poll ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.poll li { display: grid; grid-template-columns: minmax(0, 1fr) 160px 48px; gap: 10px; align-items: center; }
.poll-bar { height: 10px; background: var(--nm-surface-alt); border-radius: 5px; overflow: hidden; }
.poll-bar span { display: block; height: 100%; background: var(--nm-blue); }

.badge { background: var(--nm-label); color: #fff; border-radius: 10px; padding: 0 6px; font-size: .75rem; margin-left: 4px; }

/* Publicité : place réservée (aucun décalage du contenu au chargement), libellé discret. */
.ad { display: block; margin: 20px auto; text-align: center; list-style: none; min-height: calc(var(--ad-min-height, 250px) + 20px); }
.ad-label { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #707070; margin-bottom: 4px; }
.ad-preview { min-height: var(--ad-min-height, 250px); display: grid; place-items: center; padding: 10px; color: #777; font-size: .85rem; border: 1px dashed #c8c8c8; background: repeating-linear-gradient(45deg, #f5f5f5 0 10px, #efefef 10px 20px); }
/* Emplacement non rempli : invisible mais garde sa place (pas de saut de la page). */
.ad:has(ins[data-ad-status="unfilled"]) { visibility: hidden; }
aside > .ad--sidebar:first-child { margin-top: 0; }
@media (max-width: 1100px) { .ad[data-devices="desktop"] { display: none; } }
@media (min-width: 1101px) { .ad[data-devices="mobile"] { display: none; } }

/* Pages légales : largeur de lecture confortable, tableaux défilants sur mobile. */
.legal { max-width: 860px; margin: 0 auto; line-height: 1.6; }
.legal h2 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.legal ul { padding-left: 1.3em; }
.table-scroll { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #e3e3e3; }
.legal th { background: #f3f7fa; }
.form-note { font-size: .85rem; color: #666; margin: 8px 0 0; }
@media (max-width: 640px) { .social a span { display: none; } .social .icon { width: 1.3em; height: 1.3em; } }

/* Pages détaillées : article et commentaires dans la colonne principale. */
.main-col { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.main-col > .panel + .panel { margin-top: 0; }

/* En-tête d'un jeu (fiche, news, test, preview, images), comme sur l'ancien site. */
.game-tabs { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px;
    margin-bottom: 16px; padding: 10px 16px 0; background: var(--nm-label); color: #fff; border-radius: var(--nm-radius) var(--nm-radius) 0 0;
    border-bottom: 3px solid var(--nm-label); }
.game-tabs-title { padding-bottom: 8px; min-width: 0; }
.game-tabs-platform { display: block; color: #fff; font-size: .78rem; }
.game-tabs-platform:hover { color: #fff; }
.game-tabs-name { display: block; font-size: 1.3rem; line-height: 1.2; }
.game-tabs nav { display: flex; flex-wrap: wrap; }
.game-tabs nav a, .game-tabs nav span { padding: 7px 14px; color: #fff; border-radius: 4px 4px 0 0; font-size: .92rem; }
.game-tabs nav a:hover { background: rgb(255 255 255 / 18%); text-decoration: none; color: #fff; }
.game-tabs nav .is-active { background: #fff; color: var(--nm-text); }
.game-tabs nav .is-disabled { color: rgb(255 255 255 / 55%); }

/* Fiche résumée d'un jeu (colonne de droite des news et tests). */
.game-card { background: var(--nm-surface); border: 1px solid var(--nm-border); border-radius: var(--nm-radius); overflow: hidden; margin-bottom: 16px; font-size: .88rem; }
.game-card h2 { margin: 0; padding: 6px 10px; background: var(--nm-blue); text-align: center; font-size: 1rem; font-weight: normal; line-height: 1.3; }
.game-card h2 a { color: #fff; }
.game-card-body { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 10px; }
.game-card-body img { width: 84px; height: auto; border-radius: 3px; }
.game-card dl { margin: 0; }
.game-card dt { display: inline; font-weight: bold; color: var(--nm-blue-dark); }
.game-card dt::after { content: "\00a0:\00a0"; }
.game-card dd { display: inline; margin: 0; }
.game-card dd::after { content: ""; display: block; margin-bottom: 4px; }
.game-card ul { margin: 0; padding-left: 1.1em; }

/* News liées : cartes illustrées. */
.news-cards { margin-top: 20px; }
.news-cards .card { aspect-ratio: 16 / 7; margin-bottom: 12px; }
.news-cards .card .caption { font-size: .95rem; padding: 8px 14px; }
.news-cards .card .bubble { top: 8px; right: 8px; }
@media (max-width: 640px) {
    .game-tabs-name { font-size: 1.1rem; }
    /* Onglets sur une ligne, défilant au doigt (déclaré après .game-tabs nav pour l'emporter). */
    .game-tabs nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
    .game-tabs nav a, .game-tabs nav span { padding: 6px 10px; white-space: nowrap; }
    .game-header img { margin: 0 auto; }
}

/* Lien d'évitement : visible seulement au clavier. */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--nm-navy); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 8px; color: #fff; }
.site-main:focus { outline: none; }

/* Réactions « j'aime / j'aime pas ». */
.reactions { display: flex; gap: 8px; margin: 14px 0 0; }
.reaction { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--nm-border); border-radius: 999px; background: var(--nm-surface); color: var(--nm-muted); font: inherit; font-size: .88rem; cursor: pointer; }
.reaction .icon { width: 16px; height: 16px; }
.reaction .flip { transform: rotate(180deg); }
.reaction:hover { border-color: var(--nm-blue); color: var(--nm-blue); text-decoration: none; }
.reaction--like[aria-pressed="true"] { background: #e3f1e6; border-color: #2e7d32; color: #2e7d32; }
.reaction--dislike[aria-pressed="true"] { background: #fbe4e4; border-color: #c9302c; color: #c9302c; }
.comment .reactions { margin-top: 6px; }
.comment .reaction { padding: 2px 9px; font-size: .8rem; }
.comment-edit { margin-top: 6px; font-size: .88rem; }
.comment-edit summary { cursor: pointer; color: var(--nm-blue); }
.comment-edit form { margin-top: 8px; }

/* Filtres des listes de jeux : première lettre et genre. */
.letter-filter { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0; }
.letter-filter a { min-width: 2em; padding: 2px 6px; text-align: center; border: 1px solid var(--nm-border); border-radius: 4px; font-size: .85rem; }
.letter-filter a[aria-current] { background: var(--nm-blue); border-color: var(--nm-blue); color: #fff; }
.genre-filter { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .9rem; }
.genre-filter select { font: inherit; padding: 4px 8px; border: 1px solid var(--nm-border); border-radius: 4px; }

/* Suivre un jeu ou une discussion ; notifications. */
.comments-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.follow-form { display: inline-block; margin: 6px 0; }
.follow-button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--nm-blue); border-radius: 999px; background: var(--nm-surface); color: var(--nm-blue); font: inherit; font-size: .88rem; cursor: pointer; }
.follow-button .icon { width: 15px; height: 15px; }
.follow-button[aria-pressed="true"] { background: var(--nm-blue); color: #fff; }
.notifications { list-style: none; margin: 0; padding: 0; }
.notifications li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 8px; border-bottom: 1px solid var(--nm-border); }
.notifications li.is-unread { background: #eef6fb; }
.notifications time { flex: none; font-size: .8rem; color: var(--nm-muted); }

/* Annuaire des membres. */
.member-grid { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.member-grid li { display: grid; justify-items: center; gap: 4px; text-align: center; }
.member-grid a { display: grid; justify-items: center; gap: 6px; }
.member-grid img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.member-title { font-size: .82rem; color: var(--nm-muted); }

/* Focus clavier visible sur tous les fonds (blanc, barre bleue, boutons colorés) :
   anneau blanc intérieur, anneau sombre extérieur. */
:focus-visible { outline: 3px solid #1d2733; outline-offset: 2px; }
/* Sur les fonds sombres (barre bleue, pied de page, onglets rouges, bandeau) : contour blanc. */
.subbar :focus-visible, .site-footer :focus-visible, .game-tabs :focus-visible, .announce :focus-visible, .skip-link:focus-visible { outline-color: #fff; }
.site-main:focus-visible { outline: none; box-shadow: none; }

/* Téléphone, compléments déclarés après les règles qu'ils adaptent. */
@media (max-width: 640px) {
    /* Filtres des listes (consoles, lettres) : une rangée défilante chacun, au lieu de six
       lignes de boutons avant le premier jeu. */
    .platform-filter, .letter-filter {
        flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px; scrollbar-width: none;
    }
    .platform-filter::-webkit-scrollbar, .letter-filter::-webkit-scrollbar { display: none; }
    .platform-filter a, .letter-filter a { flex: none; }
    /* Chapeau des articles, souvent entièrement en gras : allégé pour ne pas écraser l'écran. */
    .article-body > p:first-child > strong:only-child, .article-body > p:first-child > b:only-child { font-weight: 600; }
}

/* Commentaire en attente de modération (vu par son seul auteur). */
.comment.is-held .comment-body { opacity: .7; }
.held-note { color: #8a5a00; background: #fff4d6; border-radius: 4px; padding: 1px 6px; font-size: .8rem; }

/* Corrections de l'audit (communes aux deux styles). */
.button.button-danger { background: #c41d1d; }
.button.button-danger:hover { background: #9e1717; }
.form-panel select, .form-panel input[type="date"], .form-panel input[type="search"], .form-panel input[type="number"] {
    font: inherit; padding: 10px; border: 1px solid #ccc; border-radius: 6px; background: #fff; color: inherit;
}
.form-panel input[type="file"] { font: inherit; }
.form-panel input[type="file"]::file-selector-button {
    font: inherit; margin-right: 10px; padding: 8px 14px; border: 1px solid #ccc; border-radius: 6px; background: var(--nm-surface-alt); cursor: pointer;
}
.form-error--top { padding: 10px 12px; border-radius: 6px; background: #fdecec; border: 1px solid #f1b9b9; margin-bottom: 6px; }
.form-panel .checkbox a { text-decoration: underline; text-underline-offset: 2px; }
.reading-time { white-space: nowrap; }
@media (max-width: 640px) {
    /* Onglets du profil : quatre entrées, à la ligne plutôt que coupées au bord de l'écran. */
    .platform-filter.profile-tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding: 0; }
}

/* En-tête collant sur téléphone : les ancres (#commentaires, #c123) ne passent pas dessous. */
@media (max-width: 640px) { html { scroll-padding-top: 112px; } }
/* Champs : bordure contrastée (3:1 au moins) et cases, boutons radio à la couleur du site. */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="date"], input[type="number"], select, textarea { border-color: #8a90a0; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--nm-blue); width: 18px; height: 18px; }
.button.button-small { margin-top: 0; padding: 6px 12px; font-size: .9rem; }

/* Double authentification (paramètres du compte). */
.inline-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.inline-row input { flex: 1 1 200px; font: inherit; padding: 8px 10px; border: 1px solid #8a90a0; border-radius: 6px; }
.recovery-codes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.recovery-codes code { font-size: 1rem; }
.two-factor-qr { display: block; background: #fff; padding: 8px; border: 1px solid var(--nm-border); border-radius: 8px; }

/* Tweets intégrés dans les anciennes news (<blockquote class="twitter-tweet">) : carte sobre, sans script de X. */
.article-body blockquote.twitter-tweet { max-width: 550px; margin: 1em auto; padding: 14px 16px; border: 1px solid var(--nm-border); border-left: 4px solid #1d1d1f; border-radius: 12px; background: var(--nm-surface, #fff); font-size: .95rem; }
.article-body blockquote.twitter-tweet p { margin: 0 0 .5em; }
.article-body blockquote.twitter-tweet > a:last-child { display: inline-block; font-size: .85rem; color: var(--nm-muted); }
.article-body blockquote.twitter-tweet > a:last-child::after { content: " · voir sur X ↗"; }
