.l-anchor {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  background: var(--td-bg-color-container);
  width: 200px;
  color: var(--td-text-color-primary);
  font: var(--td-font-body-medium);
}
.l-anchor .l-is-active > a {
  color: var(--td-brand-color);
}
.l-anchor__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background-color: var(--td-component-stroke);
  cursor: pointer;
}
.l-anchor__line-cursor-wrapper {
  position: absolute;
  display: block;
  height: 0;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.24, 0.41, 0.51, 0.9);
}
.l-anchor__line-cursor-wrapper .l-anchor__line-cursor {
  width: 1px;
  height: 100%;
  background-color: var(--td-brand-color);
}
.l-anchor__item {
  padding: var(--td-comp-paddingTB-xxs) var(--td-comp-paddingTB-l);
  display: flex;
  flex-direction: column;
}
.l-anchor__item.l-is-active {
  font-weight: 500;
}
.l-anchor__item .l-anchor__item {
  padding: var(--td-comp-paddingTB-xxs) var(--td-comp-paddingTB-l);
}
.l-anchor__item-link {
  display: inline-block;
  position: relative;
  overflow: hidden;
  word-break: break-all;
  color: var(--td-text-color-primary);
  text-decoration: none;
  text-align: justify;
}
.l-anchor a {
  transition: color 0.2s linear;
}
.l-anchor a:hover {
  color: var(--td-brand-color);
  cursor: pointer;
}
.l-anchor a:active {
  color: var(--td-brand-color-active);
}
.l-anchor.l-size-s {
  width: 120px;
}
.l-anchor.l-size-l {
  width: 320px;
}
.l-anchor__target {
  cursor: pointer;
  font: var(--td-font-body-medium);
  color: var(--td-text-color-primary);
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
.l-anchor__target .l-anchor__copy {
  display: none;
  margin: 0 0 0 var(--td-comp-margin-xs);
}
.l-anchor__target:hover .l-anchor__copy {
  display: inline-block;
}
.l-anchor__target:target::after {
  display: inline-block;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--td-radius-circle);
  background-color: var(--td-brand-color);
  vertical-align: middle;
  animation: fadeOut 2s 2s linear 1;
  animation-fill-mode: forwards;
}
