/* ══════════════════════════════════════════════════════════════════════════
   LA BARRE DE DÉFILEMENT SEULE — 25/09/2026 (Maha : « la barre de scroll bien
   adaptée au thème de la page »). Même barre que marbre-academie.css (31/08),
   SANS rien d autre : pour les pages exclues de l injection du vhost (elles
   ont leur propre décor, que marbre-academie repeindrait).
   Jour = or sur crème · Nuit (body[data-theme=dark]) ou page toujours sombre
   (<html data-barre="nuit">) = or sur bleu nuit.
   ══════════════════════════════════════════════════════════════════════════ */
html{ scrollbar-width:thin; scrollbar-color:#a8823a #ece2cd; }
::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-track{ background:#ece2cd; }
::-webkit-scrollbar-thumb{ background:linear-gradient(180deg,#cda869 0%,#a8823a 100%); border-radius:8px; border:2px solid #ece2cd; }
::-webkit-scrollbar-thumb:hover{ background:linear-gradient(180deg,#e8b93a 0%,#8a6512 100%); }
::-webkit-scrollbar-corner{ background:#ece2cd; }

html[data-barre="nuit"], html:has(body[data-theme="dark"]){ scrollbar-color:#9a7a2e #0b1220 !important; }
html[data-barre="nuit"] ::-webkit-scrollbar-track, html:has(body[data-theme="dark"]) ::-webkit-scrollbar-track{ background:#0b1220 !important; }
html[data-barre="nuit"] ::-webkit-scrollbar-thumb, html:has(body[data-theme="dark"]) ::-webkit-scrollbar-thumb{ background:linear-gradient(180deg,#c9971b 0%,#7a5f22 100%) !important; border:2px solid #0b1220 !important; }
html[data-barre="nuit"] ::-webkit-scrollbar-thumb:hover, html:has(body[data-theme="dark"]) ::-webkit-scrollbar-thumb:hover{ background:linear-gradient(180deg,#e8b93a 0%,#a8823a 100%) !important; }
html[data-barre="nuit"] ::-webkit-scrollbar-corner, html:has(body[data-theme="dark"]) ::-webkit-scrollbar-corner{ background:#0b1220 !important; }
