/* Customer pages only. The visual hotspot is the ball's center button. */
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  :root {
    --lb-pokeball-cursor: url("/pokeball-cursor.svg") 13 13;
    cursor: var(--lb-pokeball-cursor), auto;
  }

  /* Leave disabled/busy actions and existing pack drag controls to their own cursors. */
  :root body :is(a[href], button:enabled, summary, [role="button"], [role="link"], [role="tab"]):not(
    [aria-disabled="true"], [aria-busy="true"], [data-lb-auth-unavailable], [data-checking] *, [inert] *,
    [draggable="true"], .tear-control, .hero-card, .prism-tear, .prism-stack
  ) {
    cursor: var(--lb-pokeball-cursor), pointer;
  }
}

/* Low-priority defaults preserve any more specific component cursor and native text/resize handling. */
@layer lb-cursor-defaults {
  @media (hover: hover) and (pointer: fine) and (forced-colors: none) {
    :where(input, textarea, select, option, label, [draggable="true"], :disabled, [inert]) {
      cursor: auto;
    }

    :where([aria-disabled="true"]) {
      cursor: not-allowed;
    }

    :where([contenteditable]:not([contenteditable="false"]),
      h1, h2, h3, h4, h5, h6, p, li, dt, dd, th, td, blockquote, pre, figcaption
    ):not(:where(a[href] *, button *, summary *, [role="button"] *, [role="link"] *, [role="tab"] *,
      [aria-disabled="true"] *, [draggable="true"] *, [inert] *)) {
      cursor: auto;
    }
  }
}
