/* Shared ZeluPet scrollbar: keep native scrolling and keyboard behavior. */
:root {
  --scrollbar-track: #fbf6eb;
  --scrollbar-thumb: #52735e;
  --scrollbar-thumb-hover: #174d3a;
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-gutter: stable;
}
:where(body *) {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}
/* Fallback for browsers that use the WebKit scrollbar API. */
@supports not (scrollbar-width: thin) {
  ::-webkit-scrollbar { width: 9px; height: 7px; }
  ::-webkit-scrollbar-track { background: var(--scrollbar-track); }
  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border: 2px solid var(--scrollbar-track);
    border-radius: 999px;
    min-height: 32px;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }
  ::-webkit-scrollbar-corner { background: var(--scrollbar-track); }
}
@media (forced-colors: active) {
  html, :where(body *) { scrollbar-color: auto; }
}
