/* =========================================================
   Live crypto ticker strip (shared by home + پرایس اکشن)
   ========================================================= */
.ticker-strip { position: relative; background: #000; z-index: 2; }
.ticker[hidden] { display: none !important; }
.ticker-strip .ticker {
  position: relative;
  border-block: 1px solid rgba(245,170,3,.2);
  background: #050505;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tk {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-wix); font-size: 14px; color: #e8e8e8;
  border-left: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
.tk b { color: #fff; font-weight: 700; }
.tk em { font-style: normal; font-size: 13px; }
.tk.up em { color: #2bd576; }
.tk.down em { color: #ff5c6c; }
@media (max-width: 760px) {
  .tk { padding: 11px 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}
.tk__p { font-style: normal; font-variant-numeric: tabular-nums; display: inline-block; min-width: 4ch; padding: 1px 4px; border-radius: 5px; }
.tk--tickup .tk__p { animation: tkUp .9s ease-out; }
.tk--tickdown .tk__p { animation: tkDown .9s ease-out; }
@keyframes tkUp { 0% { background: rgba(43,213,118,.35); color: #7dffb4; } 100% { background: transparent; } }
@keyframes tkDown { 0% { background: rgba(255,92,108,.35); color: #ffb0b8; } 100% { background: transparent; } }
