.tx-clean-home .tx-market-strip {
  border-top: 1px solid #d8dce2;
  border-bottom: 1px solid #d8dce2;
  background: #f1f3f5;
}

.tx-clean-home .tx-market-news,
.tx-clean-home .tx-fx-row {
  position: relative;
  overflow: hidden;
  background: #f1f3f5;
}

.tx-clean-home .tx-market-news::before,
.tx-clean-home .tx-market-news::after,
.tx-clean-home .tx-fx-row::before,
.tx-clean-home .tx-fx-row::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 56px;
  height: 100%;
  pointer-events: none;
}

.tx-clean-home .tx-market-news::before,
.tx-clean-home .tx-fx-row::before {
  left: 0;
  background: linear-gradient(90deg, #f1f3f5, rgba(241, 243, 245, 0));
}

.tx-clean-home .tx-market-news::after,
.tx-clean-home .tx-fx-row::after {
  right: 0;
  background: linear-gradient(270deg, #f1f3f5, rgba(241, 243, 245, 0));
}

.tx-clean-home .tx-market-track {
  width: max-content;
  min-height: 34px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  padding: 0;
  animation: txNewsTickerFinal 160s linear infinite;
  will-change: transform;
}

.tx-clean-home .tx-market-pill {
  flex: 0 0 auto;
  min-width: max-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-right: 2px solid #cfd3da;
  border-radius: 0;
  color: #202833;
  background: #f1f3f5;
  box-shadow: none;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.tx-clean-home .tx-market-pill:nth-child(even) {
  background: #e8ebef;
}

.tx-clean-home .tx-market-pill:hover {
  color: #071b3a;
  background: #dde2e8;
  transform: none;
}

.tx-clean-home .tx-market-pill time,
.tx-clean-home .tx-market-pill strong {
  color: inherit;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.tx-clean-home .tx-market-pill time {
  font-weight: 900;
}

.tx-clean-home .tx-market-pill strong {
  max-width: 520px;
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
}

.tx-clean-home .tx-fx-row {
  min-height: 34px;
  border-top: 1px solid #d8dce2;
}

.tx-clean-home .tx-fx-track {
  width: max-content;
  min-height: 34px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  animation: txFxTickerFinal 120s linear infinite;
  will-change: transform;
}

.tx-clean-home .tx-fx-label,
.tx-clean-home .tx-fx-card {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-right: 2px solid #cfd3da;
  border-radius: 0;
  color: #202833;
  background: #f1f3f5;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.tx-clean-home .tx-fx-label,
.tx-clean-home .tx-fx-card:nth-child(even) {
  background: #e8ebef;
}

.tx-clean-home .tx-fx-card small,
.tx-clean-home .tx-fx-card strong,
.tx-clean-home .tx-fx-card em {
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.tx-clean-home .tx-fx-label,
.tx-clean-home .tx-fx-card small,
.tx-clean-home .tx-fx-card em {
  font-weight: 900;
}

.tx-clean-home .tx-fx-card strong {
  font-weight: 500;
}

.tx-clean-home .tx-fx-card.is-up em {
  color: #18864b;
}

.tx-clean-home .tx-fx-card.is-down em {
  color: #d62f43;
}

.tx-clean-home .tx-fx-card.is-flat em {
  color: #4b5563;
}

.tx-clean-home .tx-market-strip:hover .tx-market-track,
.tx-clean-home .tx-market-strip:hover .tx-fx-track {
  animation-play-state: paused;
}

@keyframes txNewsTickerFinal {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

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

@media (max-width: 820px) {
  .tx-clean-home .tx-market-track {
    animation-duration: 140s;
  }

  .tx-clean-home .tx-fx-track {
    animation-duration: 100s;
  }

  .tx-clean-home .tx-market-pill,
  .tx-clean-home .tx-fx-label,
  .tx-clean-home .tx-fx-card {
    padding: 0 13px;
  }

  .tx-clean-home .tx-market-pill strong {
    max-width: 340px;
  }
}
