/* GRFTSH_UI_SCROLLBARS_V1
   Barres de défilement harmonisées (Edge/Chromium, Firefox).
   Aucun overflow modifié : conserve le défilement et l’accessibilité native.
   Aucun color-scheme forcé : les formulaires conservent leur apparence.
*/
:root {
  scrollbar-width: thin;
  scrollbar-color: #626262 #101010;
}

/* Les propriétés scrollbar-* ne sont pas héritées par tous les conteneurs. */
:where(body, body *) {
  scrollbar-width: thin;
  scrollbar-color: #626262 #101010;
}

/* Fallback pour les moteurs WebKit anciens sans prise en charge de scrollbar-color. */
@supports not (scrollbar-color: #626262 #101010) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #101010;
  }
  ::-webkit-scrollbar-thumb {
    background: #626262;
    border-radius: 8px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #858585;
  }
}
