/* KARTA 1.5.42 — reduce expensive desktop pointer hover repaint.
 * A large stadium board may contain dozens of images and nested layers; CSS
 * filter:brightness on the entire hovered tile/face triggers compositing work
 * on every tile boundary. Keep the affordance as an inexpensive inset border.
 * Scope to real mouse/trackpad devices and live game only. Never affect mobile
 * gestures, touchscreens, gameplay animations, or modal layout. */
@media (hover: hover) and (pointer: fine) {
  /* The parent WordPress theme may implement an animated DOM cursor that
     follows every mousemove. It must not paint on top of the live board. The
     OS cursor remains visible and normally clickable. */
  html.karta-test-room-view :is(.custom-cursor,#custom-cursor,.cursor-dot,#cursor-dot,.cursor-outline,#cursor-outline,.mouse-cursor,.mouse-follower,.cursor-follower) {
    display:none !important;
  }
  html.karta-test-room-view #karta-stadium-test {
    cursor:default;
  }
  html.karta-test-room-view #karta-stadium-test :is(button:not(:disabled),a[href],.fe-tile.inspectable-club,.fe-tile.inspectable-tile) {
    cursor:pointer;
  }
  /* Legacy theme styling uses up to 11 repeated IDs and !important for tile
     hover filters, so match that specificity only here, rather than changing
     the rest of the 2.5MB stylesheet. */
  #karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test .stadium-layout .fe-tile:hover {
    filter:none !important;
    -webkit-filter:none !important;
    box-shadow:inset 0 0 0 2px rgba(198,170,254,.6) !important;
  }
  #karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test#karta-stadium-test .stadium-layout .stadium-tile:hover .stadium-tile-face {
    filter:none !important;
    -webkit-filter:none !important;
  }
}
