/* NewsTech /recruit · entry 垂直滑块（对标 mCustomScrollbar） */
.nt-vscroll {
  position: relative;
  display: block;
  width: 100%;
  z-index: 2;
}
.nt-vscroll-viewport {
  position: relative;
  overflow: hidden;
  height: 360px;
  margin-bottom: 0;
  border: 0;
  background: transparent;
}
.nt-vscroll-viewport.nt-vscroll--auto {
  height: auto;
  max-height: 360px;
}
.nt-vscroll-content {
  position: relative;
  padding: 0 22px 8px 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.nt-vscroll-rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16px;
  z-index: 3;
  opacity: 0.75;
  transition: opacity 0.2s ease-in-out;
}
.nt-vscroll:hover .nt-vscroll-rail,
.nt-vscroll.is-dragging .nt-vscroll-rail,
.nt-vscroll.is-scrolling .nt-vscroll-rail {
  opacity: 1;
}
.nt-vscroll.is-idle .nt-vscroll-rail {
  opacity: 0.55;
}
.nt-vscroll.no-scroll .nt-vscroll-rail {
  display: none;
}
.nt-vscroll-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: color-mix(in srgb, var(--fc-ink, #fff) 15%, transparent);
}
.nt-vscroll-thumb {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  margin-left: -2px;
  min-height: 30px;
  background: color-mix(in srgb, var(--fc-ink, #fff) 75%, transparent);
  cursor: pointer;
  touch-action: none;
  border-radius: 0;
  transition: width 0.15s ease, margin-left 0.15s ease, background-color 0.2s ease;
}
.nt-vscroll-thumb:hover,
.nt-vscroll.is-dragging .nt-vscroll-thumb {
  width: 6px;
  margin-left: -3px;
  background: color-mix(in srgb, var(--fc-ink, #fff) 90%, transparent);
}

/* scheme：深色底用浅色滑块；纸色底用深色滑块 */
.fc-root.fc-scheme-paper .nt-vscroll-track {
  background: rgba(0, 0, 0, 0.12);
}
.fc-root.fc-scheme-paper .nt-vscroll-thumb {
  background: rgba(0, 0, 0, 0.55);
}
.fc-root.fc-scheme-paper .nt-vscroll-thumb:hover,
.fc-root.fc-scheme-paper .nt-vscroll.is-dragging .nt-vscroll-thumb {
  background: rgba(0, 0, 0, 0.78);
}
.fc-root.fc-scheme-basic .nt-vscroll-thumb,
.fc-root.fc-scheme-vivid .nt-vscroll-thumb,
.fc-root.fc-scheme-colorful .nt-vscroll-thumb {
  background: color-mix(in srgb, var(--fc-accent, #fff) 78%, transparent);
}
.fc-root.fc-scheme-basic .nt-vscroll-thumb:hover,
.fc-root.fc-scheme-vivid .nt-vscroll-thumb:hover,
.fc-root.fc-scheme-colorful .nt-vscroll-thumb:hover,
.fc-root.fc-scheme-basic .nt-vscroll.is-dragging .nt-vscroll-thumb,
.fc-root.fc-scheme-vivid .nt-vscroll.is-dragging .nt-vscroll-thumb,
.fc-root.fc-scheme-colorful .nt-vscroll.is-dragging .nt-vscroll-thumb {
  background: var(--fc-accent, #fff);
}

/* 移动端：略矮 + 细边框，贴近招聘页 sp 样式 */
@media (max-width: 560px) {
  .nt-vscroll-viewport {
    height: 160px;
    border: 1px solid color-mix(in srgb, var(--fc-ink, #fff) 12%, transparent);
    padding: 12px 10px 12px 12px;
  }
  .nt-vscroll-viewport.nt-vscroll--auto {
    height: auto;
    max-height: 220px;
  }
  .nt-vscroll-content {
    padding-right: 18px;
  }
}
