/* ============================================================================
   RF Online mouse cursor (LokoOwneD Rework, owner 2026-10-09). Turned on in Super Admin > Configuration >
   Interface > Mouse cursor. URLs are relative to THIS file.
   Performance (owner, 2026-10-09): the cursor is the SYSTEM cursor (.cur files), drawn by Windows, so it never
   lags. The old cursor.js (a picture following the mouse on every frame) fell behind while the 3D was busy and
   made the mouse feel slow - it is no longer loaded (core/main/char3d.php rework_cursor_assets).
   cursor-basic = default, cursor-attack = over anything clickable.
   ========================================================================== */
html, body { cursor: url("cursor-basic.cur"), auto; }

a, button, [role="button"], [role="tab"], [role="menuitem"], [role="option"], label, summary, select,
input[type="checkbox"], input[type="radio"], input[type="submit"], input[type="button"], input[type="file"],
.btn, .nav-link, .dropdown-item, [data-toggle], [onclick], .select2-selection, .select2-results__option,
.rw-icon:not(.empty), .rw-home [data-k], [data-bagi], .page-link,
[style*="cursor: pointer"], [style*="cursor:pointer"] {   /* the 3D home sets style.cursor = "pointer" on its canvas over a character */
  cursor: url("cursor-attack.cur"), pointer !important;
}

/* Touch: the system cursor as always */
@media (pointer: coarse) {
  html, body, a, button { cursor: auto; }
}
