/* AI StockScanner v6.2.1.3 — authenticated US market ticker */
.market-ticker{
  --market-ticker-duration:42s;
  display:flex;
  align-items:stretch;
  width:100%;
  min-width:0;
  height:66px;
  overflow:hidden;
  background:#03070d;
  border-top:1px solid #172033;
  border-bottom:1px solid #26364d;
  color:#f8fafc;
  position:relative;
  z-index:120;
}
.market-ticker-label{
  flex:0 0 104px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  padding:0 13px;
  background:#07111f;
  border-right:1px solid #26364d;
  position:relative;
  z-index:2;
}
.market-ticker-label strong{
  color:#60a5fa;
  font-size:.67rem;
  line-height:1;
  letter-spacing:.09em;
  white-space:nowrap;
}
.market-ticker-label span{
  color:#94a3b8;
  font-size:.6rem;
  line-height:1;
  white-space:nowrap;
}
.market-ticker-label span.is-live{color:#4ade80}
.market-ticker-label span.is-extended{color:#fbbf24}
.market-ticker-viewport{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  position:relative;
  mask-image:linear-gradient(to right,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%);
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 16px,#000 calc(100% - 16px),transparent 100%);
}
.market-ticker-track{
  display:flex;
  width:max-content;
  min-width:100%;
  height:100%;
  will-change:transform;
  animation:marketTickerMove var(--market-ticker-duration) linear infinite;
}
.market-ticker-group{
  flex:0 0 auto;
  display:flex;
  align-items:stretch;
  gap:0;
  height:100%;
  padding-right:18px;
}
@keyframes marketTickerMove{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
.market-ticker:hover .market-ticker-track,
.market-ticker:focus-within .market-ticker-track{animation-play-state:paused}
.market-ticker-item{
  flex:0 0 188px;
  min-width:188px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  padding:7px 13px;
  border-right:1px solid #1d2a3d;
  color:#f8fafc!important;
  text-decoration:none!important;
  background:transparent;
  transition:background .15s ease;
}
.market-ticker-item:hover,.market-ticker-item:focus-visible{background:#0d1726;outline:none}
.market-ticker-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
.market-ticker-symbol{font-size:.76rem;font-weight:900;letter-spacing:.025em;line-height:1.05;color:#fff}
.market-ticker-price{margin-top:3px;font-size:.92rem;font-weight:800;line-height:1.05;color:#f8fafc;white-space:nowrap}
.market-ticker-change{margin-top:3px;font-size:.67rem;font-weight:900;line-height:1;color:#94a3b8;white-space:nowrap}
.market-ticker-item.is-up .market-ticker-change{color:#22c55e}
.market-ticker-item.is-down .market-ticker-change{color:#ef4444}
.market-ticker-item.is-flat .market-ticker-change{color:#94a3b8}
.market-ticker-spark{flex:0 0 58px;width:58px;height:30px;overflow:visible}
.market-ticker-spark path{fill:none;stroke:#94a3b8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.market-ticker-spark circle{fill:#94a3b8}
.market-ticker-item.is-up .market-ticker-spark path{stroke:#22c55e}
.market-ticker-item.is-up .market-ticker-spark circle{fill:#22c55e}
.market-ticker-item.is-down .market-ticker-spark path{stroke:#ef4444}
.market-ticker-item.is-down .market-ticker-spark circle{fill:#ef4444}
.market-ticker-loading,.market-ticker-error{
  display:flex;
  align-items:center;
  min-width:min(620px,75vw);
  padding:0 22px;
  color:#94a3b8;
  font-size:.78rem;
}
.market-ticker-retry{
  min-height:30px!important;
  margin:0 0 0 10px!important;
  padding:5px 10px!important;
  font-size:.72rem!important;
}
[data-appearance="light"] .market-ticker{background:#fff;border-color:#cbd5e1;color:#172033}
[data-appearance="light"] .market-ticker-label{background:#eef3f9;border-color:#cbd5e1}
[data-appearance="light"] .market-ticker-label strong{color:#1d4ed8}
[data-appearance="light"] .market-ticker-label span{color:#64748b}
[data-appearance="light"] .market-ticker-item{color:#172033!important;border-color:#d7e0eb}
[data-appearance="light"] .market-ticker-item:hover,[data-appearance="light"] .market-ticker-item:focus-visible{background:#eef3f9}
[data-appearance="light"] .market-ticker-symbol,[data-appearance="light"] .market-ticker-price{color:#172033}
@media(max-width:700px){
  .market-ticker{height:60px}
  .market-ticker-label{flex-basis:79px;padding:0 9px}
  .market-ticker-label strong{font-size:.6rem}
  .market-ticker-label span{font-size:.54rem}
  .market-ticker-item{flex-basis:158px;min-width:158px;padding:6px 10px}
  .market-ticker-symbol{font-size:.7rem}.market-ticker-price{font-size:.85rem}.market-ticker-change{font-size:.61rem}
  .market-ticker-spark{flex-basis:45px;width:45px;height:26px}
}
@media(prefers-reduced-motion:reduce){
  .market-ticker-viewport{overflow-x:auto;mask-image:none;-webkit-mask-image:none}
  .market-ticker-track{animation:none!important}
  .market-ticker-group[aria-hidden="true"]{display:none}
}
