.l-back-top {
  position: fixed;
  z-index: 300;
  overflow: hidden;
  outline: none;
  border-color: transparent;
  background-color: transparent;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  white-space: nowrap;
  border-width: 0.5px;
  border-style: solid;
  transition: background 0.2s linear, border 0.2s linear, color 0.2s linear, opacity 0.2s linear, visibility 0.2s linear;
  touch-action: manipulation;
  box-shadow: var(--td-shadow-3);
  visibility: hidden;
  opacity: 0;
}
.l-back-top__text {
  font: var(--td-font-body-small);
  text-align: center;
  margin-top: var(--td-comp-margin-xxs);
}
.l-back-top__icon {
  font-size: var(--td-font-headline-small);
}
.l-back-top.l-size-m .l-back-top__icon {
  margin-top: 2px;
}
.l-back-top--show {
  visibility: visible;
  opacity: 1;
}
.l-back-top--theme-light {
  border-color: var(--td-component-border);
  background-color: var(--td-bg-color-container);
}
.l-back-top--theme-light:hover {
  border-color: var(--td-bg-color-container-hover);
  background-color: var(--td-bg-color-container-hover);
}
.l-back-top--theme-light .l-back-top__text {
  color: var(--td-text-color-secondary);
}
.l-back-top--theme-light .l-back-top__icon {
  color: var(--td-text-color-primary);
}
.l-back-top--theme-primary {
  border-color: var(--td-brand-color);
  background-color: var(--td-brand-color);
}
.l-back-top--theme-primary:hover {
  border-color: var(--td-brand-color-hover);
  background-color: var(--td-brand-color-hover);
}
.l-back-top--theme-primary .l-back-top__text {
  color: var(--td-text-color-anti);
}
.l-back-top--theme-primary .l-back-top__icon {
  color: var(--td-text-color-anti);
}
.l-back-top--theme-dark {
  border-color: rgba(0, 0, 0, 0.9);
  background-color: rgba(0, 0, 0, 0.9);
}
.l-back-top--theme-dark:hover {
  border-color: rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0.6);
}
.l-back-top--theme-dark .l-back-top__text {
  color: var(--td-text-color-anti);
}
.l-back-top--theme-dark .l-back-top__icon {
  color: var(--td-text-color-anti);
}
.l-back-top.l-size-s {
  width: var(--td-comp-size-xxl);
  height: var(--td-comp-size-xxl);
}
.l-back-top.l-size-s .l-back-top__text {
  display: none;
}
.l-back-top.l-size-m {
  width: var(--td-comp-size-xxxxl);
  height: var(--td-comp-size-xxxxl);
}
.l-back-top.l-size-m .l-back-top__text {
  display: block;
}
.l-back-top--circle {
  border-radius: var(--td-radius-circle);
}
.l-back-top--square {
  border-radius: var(--td-radius-medium);
}
