/* ============================================================
   The King Tech — Market Rates Ticker
   ============================================================ */

.market-ticker {
  width: 100%;
  overflow: hidden;
  background: #1f1f25;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.market-ticker-track {
  display: flex;
  width: max-content;
  animation: market-ticker-scroll 45s linear infinite;
}

.market-ticker:hover .market-ticker-track {
  animation-play-state: paused;
}

.market-ticker-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.market-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  font-size: 13px;
  line-height: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.market-ticker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.market-ticker-pair {
  font-weight: 700;
  color: #629d23;
}

.market-ticker-price {
  color: #e5e5e5;
}

.market-ticker-empty {
  padding: 9px 22px;
  font-size: 13px;
  color: #9a9aa2;
}

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

@media (prefers-reduced-motion: reduce) {
  .market-ticker-track {
    animation: none;
    overflow-x: auto;
  }
}

@media (max-width: 991px) {
  .market-ticker-item {
    padding: 7px 16px;
    font-size: 12px;
  }

  .market-ticker-icon {
    width: 16px;
    height: 16px;
    font-size: 10px;
  }
}
