html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050812;
  color: #dbeafe;
  font-family: Arial, sans-serif;
}

.market-tape {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(34, 211, 238, .16);
  border-bottom: 1px solid rgba(34, 211, 238, .1);
  background:
    radial-gradient(circle at 12% 50%, rgba(34, 211, 238, .12), transparent 22rem),
    linear-gradient(90deg, rgba(2, 6, 16, .98), rgba(7, 16, 28, .96)),
    #050812;
}

.market-tape-track {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-inline: .75rem;
  animation: market-scroll 40s linear infinite;
  will-change: transform;
}

.market-item,
.market-loading {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: .46rem;
  padding: 0 .18rem;
  color: #dbeafe;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
}

.market-item--primary {
  padding: .26rem .48rem;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 999px;
  background: rgba(34, 211, 238, .08);
}

.market-symbol {
  color: #67e8f9;
  font-weight: 900;
  letter-spacing: .04em;
}

.market-price {
  color: #fff;
  font-weight: 800;
}

.market-change {
  min-width: 48px;
  padding: .17rem .34rem;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  text-align: center;
}

.market-change.is-up {
  background: rgba(0, 255, 163, .12);
  color: #86efac;
}

.market-change.is-down {
  background: rgba(248, 113, 113, .12);
  color: #fca5a5;
}

.market-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(148, 163, 184, .55);
  box-shadow: 0 0 8px rgba(34, 211, 238, .4);
}

.market-loading {
  color: #8fa0ba;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

@media (prefers-reduced-motion: reduce) {
  .market-tape-track {
    animation: none;
    transform: none;
  }
}
