/*
 * SCROLLBAR OWNER — canonical Millenova scrollbar chrome.
 * All other Styles/*.css files may define overflow/scroll-snap/gutter behavior,
 * but scrollbar width, color and WebKit scrollbar chrome belong only here.
 */

:root {
  --mn-scrollbar-size: 6px;
  --mn-scrollbar-thumb: rgba(255,58,167,.56);
  --mn-scrollbar-thumb-end: rgba(110,242,255,.58);
}

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

*:hover,
*:focus-within,
*.is-scrolling {
  scrollbar-color: var(--mn-scrollbar-thumb) transparent;
}

*::-webkit-scrollbar {
  width: var(--mn-scrollbar-size);
  height: var(--mn-scrollbar-size);
  display: block;
}

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

*::-webkit-scrollbar-thumb {
  min-height: 28px;
  border-radius: 999px;
  background: transparent;
}

*:hover::-webkit-scrollbar-thumb,
*:focus-within::-webkit-scrollbar-thumb,
*.is-scrolling::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      var(--mn-scrollbar-thumb),
      var(--mn-scrollbar-thumb-end)
    );
}

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

/* Compact horizontal discovery chips intentionally suppress scrollbar chrome. */
.mplayer-stage-discovery__filter-chips {
  scrollbar-width: none;
}

.mplayer-stage-discovery__filter-chips::-webkit-scrollbar {
  display: none;
}
