/* PC 端右侧自定义可拖动滚动条样式（配套 custom-scrollbar.v2.js） */

/* 1) 右侧黑色导航条整体左移，让出最右侧空间给滚动条 */
.rightNavigation {
  right: 14px !important;
}

/* 2) 滚动条容器：贴屏幕最右侧，轨道贯穿整个视口高度 */
.custom-scrollbar {
  position: fixed;
  right: 0;
  top: 0;
  width: 10px;
  height: 100vh;
  z-index: 2020;
  user-select: none;
  -webkit-user-select: none;
}

/* 3) 滑轨：贯穿全屏 */
.cs-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}
.cs-track.is-hover {
  background: rgba(0, 0, 0, 0.15);
}

/* 4) 滑块：高度按可视比例，悬停加宽变主色 */
.cs-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 5px;
  background: #5c5c5c;
  cursor: grab;
  transition: background 0.2s;
}
.cs-thumb.is-hover {
  background: #009bbc;
  width: 14px;
}
.cs-thumb:active {
  cursor: grabbing;
  background: #009bbc;
}

/* 5) 窄屏时隐藏滚动条，避免挤占内容空间 */
@media (max-width: 1280px) {
  .custom-scrollbar {
    display: none !important;
  }
}
