/* Star thumb belongs to the conversation only. Menu scrolling stays available. */
#navigation,#navigation *{scrollbar-width:none}
#navigation::-webkit-scrollbar,#navigation *::-webkit-scrollbar{width:0;height:0;display:none}
/* The browser retains scrolling, keyboard access and thumb dragging. */
@supports selector(::-webkit-scrollbar) {
  #sanctum.has-response #thread,
  #sanctum.has-response #thread * {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
}
#thread::-webkit-scrollbar {
  width: 11px;
  height: 9px;
}
#thread::-webkit-scrollbar-track,
#thread::-webkit-scrollbar-corner {
  background: transparent;
  border: 0;
}
#thread::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 0;
  background-color: transparent;
  background-image: linear-gradient(color-mix(in srgb, var(--bg, #fafaf9) 45%, transparent), color-mix(in srgb, var(--bg, #fafaf9) 45%, transparent)), url('/assets/apotheosize-star-display-256.webp');
  background-repeat: no-repeat, repeat-y;
  background-position: center, center top;
  background-size: 100% 100%, 7px auto;
  background-clip: padding-box;
}
#thread::-webkit-scrollbar-thumb:hover,
#thread::-webkit-scrollbar-thumb:active {
  background-image: linear-gradient(color-mix(in srgb, var(--bg, #fafaf9) 18%, transparent), color-mix(in srgb, var(--bg, #fafaf9) 18%, transparent)), url('/assets/apotheosize-star-display-256.webp');
}
#thread::-webkit-scrollbar-thumb:horizontal {
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink, #101010) 22%, transparent);
  background-clip: padding-box;
}
#thread::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}
@supports not selector(::-webkit-scrollbar) {
  #thread {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--ink, #101010) 22%, transparent) transparent;
  }
}
@media (forced-colors: active) {
  #thread::-webkit-scrollbar-thumb,
  #thread::-webkit-scrollbar-thumb:hover,
  #thread::-webkit-scrollbar-thumb:active {
    background: CanvasText;
    background-clip: padding-box;
    border-radius: 999px;
  }
  #thread { scrollbar-color: auto; }
}
