@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  :root {
    --cursor-default: url("cursors/default.svg") 4 3, default;
    --cursor-pointer: url("cursors/pointer.svg") 13 4, pointer;
    --cursor-text: url("cursors/text.svg") 16 16, text;
    --cursor-zoom-in: url("cursors/zoom-in.svg") 13 13, zoom-in;
    --cursor-grab: url("cursors/grab.svg") 16 16, grab;
    --cursor-grabbing: url("cursors/grabbing.svg") 16 16, grabbing;
  }

  body { cursor: var(--cursor-default); }

  body :is(a[href], button, summary, [role="button"], label[for], select, input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], input[type="range"], input[type="color"], input[type="file"]) {
    cursor: var(--cursor-pointer);
  }

  .search-form input::-webkit-search-cancel-button { cursor: var(--cursor-pointer); }

  .prose,
  body :is(input:not([type]), input[type="text"], input[type="search"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], input[type="number"], textarea, [contenteditable=""], [contenteditable="true"]) {
    cursor: var(--cursor-text);
  }

  .gallery-content a:has(img),
  .gallery-content img,
  .article-main article .prose img { cursor: var(--cursor-zoom-in); }

  .lightbox.is-zoomed .lightbox-image > img { cursor: var(--cursor-grab); }
  .lightbox.is-dragging .lightbox-image > img { cursor: var(--cursor-grabbing); }

  body :is(button, input, select, textarea):disabled,
  body [role="button"][aria-disabled="true"] { cursor: not-allowed; }
}
