/* Pareto — liste des nouveautés d'une version. Partagée par l'application (fenêtre « Nouveautés ») et la page
   publique /nouveautes.html : n'utilise que les variables de couleur communes à app.css et public.css. */
.rn-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.rn-item { display: flex; gap: 14px; padding: 12px; border-radius: 12px; transition: background .15s;
  animation: rn-in .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 55ms + 80ms); }
.rn-item:hover { background: var(--surface-2); }
.rn-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, #0073ea, #7b5cff); box-shadow: 0 8px 18px -8px #5b5cff, inset 0 1px 0 rgba(255,255,255,.35);
  transform: perspective(240px) rotateX(10deg) rotateY(-14deg); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.rn-item:hover .rn-ico { transform: perspective(240px) rotateX(0) rotateY(0) translateZ(12px); }
.rn-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rn-txt { min-width: 0; }
.rn-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rn-line b { font-size: 15px; }
.rn-txt p { margin: 3px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.rn-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 1px 8px; border-radius: 20px; }
.rn-new { background: #d6f5e8; color: #037f4c; }
.rn-better { background: #dbe9ff; color: #0060c2; }
.rn-fix { background: #ffecd1; color: #9a5b00; }
.rn-act { display: inline-block; margin-top: 6px; padding: 0; border: none; background: none; color: var(--primary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rn-act:hover { text-decoration: underline; }
[data-theme=dark] .rn-new { background: #164b38; color: #6fe3b2; }
[data-theme=dark] .rn-better { background: #23406f; color: #9cc8ff; }
[data-theme=dark] .rn-fix { background: #4a3a17; color: #ffd98a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .rn-new { background: #164b38; color: #6fe3b2; }
  :root:not([data-theme=light]) .rn-better { background: #23406f; color: #9cc8ff; }
  :root:not([data-theme=light]) .rn-fix { background: #4a3a17; color: #ffd98a; }
}
@keyframes rn-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .rn-item { animation: none; } .rn-ico { transition: none; } }
