/* Бегущая лента топ-35 ликвидных акций — только десктоп, над шапкой */
.lotos-tape {
  display: none;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  height: 2rem;
  background-color: var(--tblr-bg-surface);
  background-image: linear-gradient(to right, transparent, var(--tblr-border-color) 12%, var(--tblr-border-color) 88%, transparent);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 1px;
}
@media (min-width: 768px) {
  .lotos-tape:not([hidden]) {
    display: block;
  }
}
.lotos-tape::before,
.lotos-tape::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  z-index: 1;
  pointer-events: none;
}
.lotos-tape::before {
  left: 0;
  background: linear-gradient(to right, var(--tblr-bg-surface), transparent);
}
.lotos-tape::after {
  right: 0;
  background: linear-gradient(to left, var(--tblr-bg-surface), transparent);
}
.lotos-tape-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation-name: lotos-tape-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 45s;
}
.lotos-tape:hover .lotos-tape-track {
  animation-play-state: paused;
}
.lotos-tape-seq {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  gap: 1.1rem;
  white-space: nowrap;
}
.lotos-tape-sector {
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tblr-secondary);
  white-space: nowrap;
  padding-right: 0.15rem;
}
.lotos-tape-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
  color: inherit;
  white-space: nowrap;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.lotos-tape-item:hover {
  text-decoration: none !important;
  color: #206bc4;
}
.lotos-tape-sep {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tblr-secondary);
  font-size: 0.75rem;
  line-height: 1;
  padding: 0 0.1rem;
}
.lotos-tape-price {
  color: var(--tblr-secondary);
}
.lotos-tape-chg.is-up {
  color: #2fb344;
}
.lotos-tape-chg.is-down {
  color: #d63939;
}
.lotos-tape-chg.is-flat {
  color: var(--tblr-secondary);
}
@keyframes lotos-tape-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
