#ticker {
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}

#tickerTrack {
  display: inline-block;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  will-change: transform;
}

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

.tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px;
  font-size: 2rem;
}

.tick.up .price { color: var(--success); }
.tick.down .price { color: var(--danger); }
.tick.flat .price { color: var(--text-dim); }

.tick .name {
  color: var(--text);
  font-weight: 500;
}

.tick .price {
  font-weight: 600;
}
