/* Tokene mobile tape continuity v1.
   Touch-only devices must not retain sticky hover/focus pauses after tapping ticker links.
   Preserve normal keyboard focus behavior on desktop and OS reduced-motion accessibility. */
@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .tokene-market-tape .tokene-market-tape__track,
  .tokene-news-tape .tokene-news-tape__track {
    animation-play-state: running !important;
  }
}


/* Mobile ticker motion button and explicitly requested JavaScript scrolling.
 * Never bypass reduced-motion automatically: only a direct click enables it. */
.tk-tape-motion-button[hidden]{display:none!important;}
@media(max-width:991.98px){
  body.tk-flat-preview .tokene-market-tape .tk-tape-motion-button:not([hidden]){
    display:inline-flex!important;position:absolute;z-index:7;
    right:7px;top:5px;height:28px;min-width:40px;
    align-items:center;justify-content:center;cursor:pointer;
    border:1px solid #54718e;border-radius:7px;
    background:#13233a;color:#f0f7ff;font:700 15px/1 sans-serif;
    box-shadow:0 1px 4px rgba(0,0,0,.45);
  }
  body.tk-flat-preview.tk-black .tokene-market-tape .tk-tape-motion-button{
    background:#181818;border-color:#666;color:#fff;
  }
  body.tk-flat-preview .tokene-market-tape .tk-tape-motion-button:focus-visible{
    outline:2px solid #82b9ff;outline-offset:2px;
  }
  body.tk-flat-preview.tk-tape-manual-pause .tokene-market-tape__track,
  body.tk-flat-preview.tk-tape-manual-pause .tokene-news-tape__track,
  body.tk-flat-preview.tk-tape-js-play .tokene-market-tape__track,
  body.tk-flat-preview.tk-tape-js-play .tokene-news-tape__track{
    animation:none!important;transform:none!important;
    animation-play-state:paused!important;will-change:auto!important;
  }
  body.tk-flat-preview.tk-tape-js-play .tokene-market-tape__viewport,
  body.tk-flat-preview.tk-tape-js-play .tokene-news-tape__viewport{
    overflow:hidden!important;direction:ltr!important;scroll-behavior:auto!important;
  }
  body.tk-flat-preview.tk-tape-manual-pause .tokene-market-tape__viewport,
  body.tk-flat-preview.tk-tape-manual-pause .tokene-news-tape__viewport{
    overflow-x:auto!important;direction:ltr!important;scroll-behavior:auto!important;
  }
}
