#marketTicker {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  height: 36px;
  padding: 9px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cloud);
  color: var(--slate);
  font-family: var(--fm);
  font-size: 12.5px;
  white-space: nowrap;
}

#marketTicker .tt {
  display: inline-flex;
  width: max-content;
}

#marketTicker .tt[data-ready] {
  will-change: transform;
}

#marketTicker .ticker-quotes {
  display: flex;
  flex: none;
  gap: 42px;
  padding-right: 42px;
}

#marketTicker b { color: var(--ink); font-weight: 500; }
#marketTicker i { font-style: normal; }
#marketTicker .up { color: #0EA66B; }
#marketTicker .dn { color: #E0524E; }
#marketTicker .na { color: var(--slate-l); }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #marketTicker .tt[data-ready] { animation: market-ticker-scroll 90s linear infinite; }
  #marketTicker[data-mouse-over] .tt { animation-play-state: paused; }
}

@keyframes market-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  #marketTicker { overflow-x: auto; scrollbar-width: none; }
  #marketTicker::-webkit-scrollbar { display: none; }
  #marketTicker .tt[data-ready] { will-change: auto; }
  #marketTicker .ticker-quotes[aria-hidden] { display: none; }
}
