/* Keep native scrolling while making its chrome consistent across concepts. */
:root {
  color-scheme: light;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #bdc5cd transparent;
}

@supports selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #bdc5cd;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #929da8;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Phone layouts, including the embedded preview, scroll without a fixed rail. */
@media (max-width: 760px) {
  * {
    scrollbar-width: none;
  }

  ::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}
