/* ── CASTELL CURSORS: shared by every page ──
   Three custom cursors: arrow (everything), pointer (clickable), grab (draggable).
   Text boxes keep the browser's normal text cursor (I-beam).
   Link this file at the END of <head>, after the page's own <style>.
   Images are 32×32 pixel art in castellcursor/. The numbers after each image are the hotspot
   (the pixel that clicks); the word at the end is the fallback if the image doesn't load. */
:root {
  --cur:         url('castellcursor/cursor-arrow.png')   0 0,   auto;
  --cur-pointer: url('castellcursor/cursor-pointer.png') 12 0,  pointer;
  --cur-grab:    url('castellcursor/cursor-grab.png')    18 17, grab;
}

html { cursor: var(--cur); }

/* browsers give these their own cursors, so set them too */
a[href], button, [role="button"], summary, label, select { cursor: var(--cur-pointer); }

/* text boxes: the browser's normal I-beam */
input, textarea { cursor: text; }

/* Windows contrast themes: switch back to the system cursors, which follow the person's theme.
   Every cursor rule uses these three variables, so this one block covers all pages */
@media (forced-colors: active) {
  :root {
    --cur:         auto;
    --cur-pointer: pointer;
    --cur-grab:    grab;
  }
}