/* « Quoi de neuf ? » (nouveautes.php, 16 nov. 2026) : feuille à part, chargée par la seule page des nouveautés,
   versionnée par ELEVES_CSS_VERSION (classes nv-* ; s'appuie sur les variables d'eleves.css). */
.nv-tete { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 12px 0 18px; }
.nv-tete > div { min-width: 0; }
.nv-tete .sous-titre { max-width: 62ch; }
.nv-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nv-rss { width: 20px; height: 20px; }
.nv-mois { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.nv-mois a { display: inline-block; padding: 4px 14px; border: 2px solid var(--encre); border-radius: 999px; background: var(--papier); color: inherit; font-weight: 800; text-decoration: none; font-size: .95rem; }
.nv-mois a small { opacity: .65; font-weight: 700; }
.nv-semaine { margin: 0 0 34px; scroll-margin-top: 16px; }
.nv-semaine > h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 1.35rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px dashed rgba(43, 35, 64, .25); }
.nv-semaine > h2 small { font-family: var(--police); font-size: .9rem; font-weight: 800; opacity: .65; }
.nv-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 18px; }
.nv-carte { display: grid; grid-template-columns: 92px 1fr; gap: 6px 16px; align-items: start; padding: 16px 18px; background: var(--papier); border: var(--trait) solid var(--encre); border-radius: var(--rayon); box-shadow: var(--ombre); scroll-margin-top: 16px; min-width: 0; }
.nv-carte:target { outline: 4px solid var(--jaune); outline-offset: 3px; }
.nv-carte > .nv-dessin { grid-row: span 3; }
.nv-dessin { display: grid; place-items: center; width: 92px; height: 92px; flex: none; }
.nv-dessin .pastille { width: 88px; height: 88px; }
.nv-dessin .pastille .ico { width: 48px; height: 48px; }
.nv-dessin-avatar, .nv-dessin-libre { border: var(--trait) solid var(--encre); border-radius: 50%; background: var(--pc); overflow: hidden; }
.nv-dessin-avatar svg { width: 100%; height: 100%; display: block; }
.nv-dessin-libre svg { width: 76%; height: 76%; display: block; }
.nv-date { font-size: .85rem; font-weight: 800; opacity: .7; }
.nv-carte h3 { font-size: 1.2rem; margin: 0; line-height: 1.2; }
.nv-carte p { margin: 0; line-height: 1.5; }
.nv-pied { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.nv-pour { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--creme); border: 2px solid rgba(43, 35, 64, .25); font-size: .8rem; font-weight: 800; }
.nv-idee { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 6px; border-radius: 999px; background: #FFF1C2; border: 2px solid var(--encre); font-size: .82rem; font-weight: 800; }
.nv-idee .ico { width: 16px; height: 16px; }
.nv-voir { margin-left: auto; }
.nv-plus { text-align: center; margin: 8px 0 30px; }
.nv-histoire { display: grid; grid-template-columns: 92px 1fr; gap: 16px; max-width: 860px; margin: 10px auto 18px; padding: 18px 20px; background: var(--papier); border: var(--trait) solid var(--encre); border-radius: var(--rayon); box-shadow: var(--ombre); }
.nv-histoire > div { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.nv-histoire h2 { margin: 0; font-size: 1.35rem; }
.nv-histoire p { margin: 0; line-height: 1.55; }
.nv-clin-oeil { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: #FFF1C2; border: 2px dashed rgba(43, 35, 64, .45); font-style: italic; }
.nv-clin-oeil .ico { width: 20px; height: 20px; flex: none; margin-top: 2px; font-style: normal; }
.nv-preuve { max-width: 860px; margin: 10px auto 0; padding: 12px 16px; border: 2px solid rgba(43, 35, 64, .25); border-radius: 14px; background: var(--papier); font-size: .92rem; }
.nv-preuve p { margin: 0; }
@media (max-width: 560px) {
  .nv-grille { grid-template-columns: 1fr; }
  .nv-carte { grid-template-columns: 64px 1fr; padding: 14px; gap: 4px 12px; }
  .nv-carte > .nv-dessin { grid-row: span 2; }
  .nv-dessin { width: 64px; height: 64px; }
  .nv-dessin .pastille { width: 60px; height: 60px; }
  .nv-dessin .pastille .ico { width: 32px; height: 32px; }
  .nv-carte p, .nv-pied { grid-column: 1 / -1; }
  .nv-semaine > h2 { font-size: 1.15rem; }
  .nv-actions .btn { flex: 1 1 auto; justify-content: center; }
  .nv-histoire { grid-template-columns: 1fr; padding: 14px; }
}
