/* Socle isolé : seule une page portant .jerry-next reçoit cette charte. */
.jerry-next {
  color-scheme: dark;
  --j-surface: #141b25;
  --j-surface-raised: #202a36;
  --j-text: #f4efdf;
  --j-muted: #c5c8ce;
  --j-text-accent: #ff7a00;
  --j-line: #5c6878;
  --j-action: #f4efdf;
  --j-action-text: #141b25;
  --j-paper: #f4efdf;
  --j-ink: #202735;
  --j-paper-accent: #a44713;
  --j-body-font: 'Segoe UI', Arial, sans-serif;
  --j-display-font: Impact, 'Arial Narrow', sans-serif;
  --j-reading-font: Georgia, 'Times New Roman', serif;
  --j-space-1: .5rem;
  --j-space-2: 1rem;
  --j-space-3: 1.5rem;
  --j-space-4: 2rem;
  --j-space-6: 3rem;
  --j-space-8: 4rem;
  --j-gutter: clamp(1.25rem, 4vw, 4rem);
  --j-content: 78rem;
  --j-reading: 42rem;
  --j-radius: .25rem;
  --j-touch: 2.75rem;
  --j-duration: 160ms;
  margin: 0;
  background: var(--j-surface);
  color: var(--j-text);
  font: 1rem/1.6 var(--j-body-font);
}
.jerry-next *, .jerry-next *::before, .jerry-next *::after { box-sizing: border-box; }
.jerry-next :where(h1,h2,h3,p,figure,blockquote,dl,dd) { margin: 0; }
.jerry-next :where(a) { color: inherit; text-underline-offset: .25em; }
.jerry-next :where(button,summary,a,input):focus-visible { outline: 3px solid var(--j-text); outline-offset: 5px; }
.jerry-next :where(img) { display: block; max-width: 100%; height: auto; }
.jerry-next :where(h1,h2,h3,p,a,dd) { overflow-wrap: anywhere; }
.jerry-next .j-paper { color-scheme: light; --j-surface: var(--j-paper); --j-text: var(--j-ink); --j-muted: #4c5667; --j-text-accent: var(--j-paper-accent); --j-line: #c1c4c8; background: var(--j-surface); color: var(--j-text); }
@media (prefers-reduced-motion: reduce) { .jerry-next *, .jerry-next *::before, .jerry-next *::after { scroll-behavior: auto; transition-duration: 0s; animation: none; } }
