/* The House: the cursors. Brass, made in ChatGPT in the sound buttons' style (source: blender/textures/src/cursors_src.png).
     arrow  everywhere by default (and while looking about)            click point: the tip, 6 1
     hand   a manicule, over anything that can be clicked               click point: the fingertip, 5 1
     grip   while dragging to look round                                 click point: the middle, 16 16
   The scenes set canvas.style.cursor to 'pointer', 'grab' or 'grabbing' as before; the rules below swap in the brass ones
   (a stylesheet's !important outranks the plain inline style). Each is given twice: plain, then with the sharp 2x image for
   screens that can use it; a browser that cannot read the second keeps the first. Phones and tablets show no cursor at all. */
html, body, canvas { cursor: url(assets/ui/cursor_arrow.png) 6 1, default; cursor: -webkit-image-set(url(assets/ui/cursor_arrow.png) 1x, url(assets/ui/cursor_arrow@2x.png) 2x) 6 1, default; cursor: image-set(url(assets/ui/cursor_arrow.png) 1x, url(assets/ui/cursor_arrow@2x.png) 2x) 6 1, default; }
canvas { cursor: url(assets/ui/cursor_arrow.png) 6 1, default !important; cursor: -webkit-image-set(url(assets/ui/cursor_arrow.png) 1x, url(assets/ui/cursor_arrow@2x.png) 2x) 6 1, default !important; cursor: image-set(url(assets/ui/cursor_arrow.png) 1x, url(assets/ui/cursor_arrow@2x.png) 2x) 6 1, default !important; }

a[href], button:not(:disabled), summary, select, label[for], [role="button"], [style*="cursor: pointer"],
#plan .area, #hudmap, #hudsnd, #envelope, #finale.peek #fbook, canvas[style*="cursor: pointer"] {
  cursor: url(assets/ui/cursor_hand.png) 5 1, pointer !important;
  cursor: -webkit-image-set(url(assets/ui/cursor_hand.png) 1x, url(assets/ui/cursor_hand@2x.png) 2x) 5 1, pointer !important;
  cursor: image-set(url(assets/ui/cursor_hand.png) 1x, url(assets/ui/cursor_hand@2x.png) 2x) 5 1, pointer !important;
}

canvas[style*="cursor: grabbing"] {
  cursor: url(assets/ui/cursor_grip.png) 16 16, grabbing !important;
  cursor: -webkit-image-set(url(assets/ui/cursor_grip.png) 1x, url(assets/ui/cursor_grip@2x.png) 2x) 16 16, grabbing !important;
  cursor: image-set(url(assets/ui/cursor_grip.png) 1x, url(assets/ui/cursor_grip@2x.png) 2x) 16 16, grabbing !important;
}

/* all six images fetched as the page opens (2026-12-03): a cursor image is otherwise only fetched the first time it is wanted, and
   until it arrives the browser shows its own plain hand. That showed most on the map (often the first hand a visitor meets), and on a
   screen of the other density (an external monitor: the 1x set; a Retina one: the 2x) */
html::after{content:url(assets/ui/cursor_arrow.png) url(assets/ui/cursor_arrow@2x.png) url(assets/ui/cursor_hand.png) url(assets/ui/cursor_hand@2x.png) url(assets/ui/cursor_grip.png) url(assets/ui/cursor_grip@2x.png);
  position:absolute;width:0;height:0;overflow:hidden;opacity:0;pointer-events:none;z-index:-1}
