.yk-scrollbar {
  position: relative;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
}
.yk-scrollbar__wrap {
  overflow: auto;
  height: 100%;
}
.yk-scrollbar__wrap.yk-scrollbar__wrap--default-hide {
  scrollbar-width: none;
}
.yk-scrollbar__wrap.yk-scrollbar__wrap--default-hide::-webkit-scrollbar {
  display: none;
}
.yk-scrollbar__bar {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: 4px;
}
.yk-scrollbar__bar.yk-scrollbar__bar--vertical {
  top: 0;
  width: 5px;
}
.yk-scrollbar__bar.yk-scrollbar__bar--vertical > div {
  width: 100%;
}
.yk-scrollbar__bar.yk-scrollbar__bar--horizontal {
  left: 0;
  height: 5px;
}
.yk-scrollbar__bar.yk-scrollbar__bar--horizontal > div {
  height: 100%;
}
.yk-scrollbar__thumb {
  position: relative;
  width: 0;
  height: 0;
  border-radius: inherit;
  background-color: var(--gray1);
  transition: background 0.2s;
  cursor: pointer;
}
.yk-scrollbar__thumb:hover,
.yk-scrollbar__thumb:active {
  background-color: var(--gray3);
}
.yk-anchor {
  position: relative;
  height: 100%;
}
.yk-anchor.yk-anchor-show-marker::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--bgColor4);
  content: '';
}
.yk-anchor.yk-anchor-show-marker .yk-anchor-marker {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 7px;
  width: 2px;
  height: 16px;
  border-radius: 4px;
  background-color: var(--pcolor);
  opacity: 0;
  transition: top 0.25s cubic-bezier(0, 1, 0.5, 1), background-color 0.5s, opacity 0.25s;
}
.yk-anchor-list {
  position: static;
  padding-left: 16px;
}
.yk-anchor-list.yk-anchor-list-root {
  padding-left: 8px;
}
.yk-anchor-item {
  position: static;
  list-style: none;
  line-height: 1;
}
.yk-anchor-item .yk-anchor-item-title {
  display: inline-block;
  overflow: hidden;
  padding: 0 8px;
  width: 100%;
  height: 30px;
  border-radius: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gray8);
  line-height: 30px;
}
.yk-anchor-item .yk-anchor-item-title:hover {
  font-weight: 500;
  color: var(--gray);
  background-color: var(--bgColor3);
}
.yk-anchor-item .yk-anchor-item-title.yk-anchor-item-title-active {
  font-weight: 500;
  color: var(--pcolor);
}
.yk-anchor-show-marker .yk-anchor-item-title.yk-anchor-item-title-active {
  font-weight: 500;
  color: var(--gray);
}
