/* CoffeeCake default cursor. Native rendering avoids pointer lag or JavaScript. */
@media (hover: hover) and (pointer: fine) {
  body,
  body * {
    cursor: url('../cursors/coffeecake-default.svg') 4 4, auto !important;
  }

  /* Keep the approved default artwork on links and buttons. */
  body a,
  body button,
  body [role="button"],
  body input:is([type="submit"], [type="button"], [type="reset"]),
  body summary {
    cursor: url('../cursors/coffeecake-default.svg') 4 4, pointer !important;
  }

  /* Retain familiar editing, disabled, drag and resize affordances. */
  body input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  body textarea,
  body [contenteditable=""],
  body [contenteditable="true"],
  body [contenteditable="true"] * {
    cursor: text !important;
  }
  body select,
  body input:is([type="range"], [type="color"], [type="file"]) {
    cursor: auto !important;
  }
  body [draggable="true"], body [draggable="true"] * { cursor: grab !important; }
  body [draggable="true"]:active, body [draggable="true"]:active * { cursor: grabbing !important; }
  body :disabled, body [aria-disabled="true"], body [aria-disabled="true"] * { cursor: not-allowed !important; }
  body #wpadminbar, body #wpadminbar * { cursor: auto !important; }
  body #wpadminbar a, body #wpadminbar button { cursor: pointer !important; }
}
