:root {
  --scrollbar-thumb: #8b8883;
}

:root[data-theme="dark"] {
  --scrollbar-thumb: #747474;
}

@media (forced-colors: none) {
  @supports not selector(::-webkit-scrollbar) {
    * {
      scrollbar-width: thin;
      scrollbar-color: var(--scrollbar-thumb) transparent;
    }
  }

  ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--scrollbar-thumb);
  }

  ::-webkit-scrollbar-button {
    display: none;
  }
}
