/* Gameplay Excellence 6.1 – card accessibility on touch Android/WebView.
 * Some Android 8 WebViews report (pointer:coarse) but NOT (hover:none).
 * Treat either media query as a touch device to prevent sticky-hover lifts. */
@media (hover: none), (pointer: coarse) {
  #app .hand .c:hover {
    z-index: 1;
  }
  #app .hand .c.ok:hover,
  #app .hand .c.no:hover,
  #app .hand .c.actionable:hover {
    transform: translateY(var(--arc,0px)) rotate(var(--rot,0deg));
  }
  /* Explicit selection remains visible if selection support is enabled. */
  #app .hand .c.selected:hover {
    z-index: 5;
    transform: translateY(-18px) !important;
  }
  /* Legacy Classic previously had a 36px action bar on Android 8. */
  #app:not(.premium-game) .bar {
    height: auto;
    min-height: 44px;
  }
  #app:not(.premium-game) .bar > .btn {
    min-height: 44px;
  }
}
