/* Nodetrail market tapes. First-party only. Does not change security headers. */
.nt-markets{background:#070814;border-bottom:1px solid var(--line);color:var(--ink)}
.nt-tape{height:28px;display:flex;align-items:stretch;border-bottom:1px solid rgba(92,100,128,.35)}
.nt-tape:last-of-type{border-bottom:0}
.nt-tape-view{flex:1;overflow:hidden;min-width:0}
.nt-tape-track{display:inline-flex;align-items:center;height:28px;width:max-content;will-change:transform}
.nt-set{display:inline-flex;align-items:center;height:28px}
.nt-item{display:inline-flex;align-items:center;gap:7px;padding:0 16px;height:28px;white-space:nowrap;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:0;color:var(--ink)}
.nt-item img{width:16px;height:16px;object-fit:contain;flex:none;display:block}
.nt-sym{font-weight:700;letter-spacing:.02em;color:var(--cream)}
.nt-px{color:var(--ink-2);font-weight:500}
.nt-ch{font-weight:650;min-width:4.4em}
.nt-ch.up{color:var(--ok)}
.nt-ch.down{color:var(--flag)}
.nt-ch.flat{color:var(--muted)}
.nt-markets-credit{margin:0;padding:3px 16px 4px;font-size:11px;line-height:1.35;color:var(--muted);text-align:right}
.nt-markets-credit a{color:var(--ink-2);text-decoration:underline;text-underline-offset:2px}
.nt-markets-credit a:hover{color:var(--ink)}
.nt-markets.live .nt-tape-track{animation:nt-roll 52s linear infinite}
.nt-markets.live .nt-tape[data-tape="stocks"] .nt-tape-track{animation-duration:58s;animation-direction:reverse}
.nt-markets.live:hover .nt-tape-track,
.nt-markets.live:focus-within .nt-tape-track{animation-play-state:paused}
@keyframes nt-roll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){
  .nt-markets.live .nt-tape-track,
  .nt-markets.live .nt-tape[data-tape="stocks"] .nt-tape-track{animation:none}
  .nt-tape-view{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
}
@media (max-width:520px){
  .nt-item{padding:0 12px;font-size:11.5px;gap:6px}
  .nt-markets-credit{text-align:left;padding:3px 12px 5px}
}
