@media (max-width: 760px) and (pointer: coarse),
       (max-width: 1024px) and (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  a[data-game-turn] {
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
  }

  [data-game-turn-visible] a[data-game-turn],
  a[data-game-turn]:focus-visible {
    opacity: 1;
    pointer-events: auto;
  }

  a[data-game-turn]:is(:not([href]), [href=""], [href="#"], [hidden], [aria-disabled="true"], .disabled, .is-disabled) {
    visibility: hidden;
  }

  @media (prefers-reduced-motion: reduce) {
    a[data-game-turn] { transition: none; }
  }
}
