/* 铁手套光标（tools/make_cursors.mjs 生成，原创图形）。试玩页、导览页、3D 场景（scene.html）共用。
   平时：伸出食指；指到能点的东西：指尖亮起余烬；3D 里自由走动：张开的手，拖动视角时握拳，对准光点时指尖亮起。
   热点：指的那只在指尖 (5, 4)，张开、握拳在手心 (16, 16)。每条写三遍：普通 url（兜底）、-webkit-image-set、image-set（高分屏用 @2x）。
   class 由脚本挂在 body 上：cur-free（3D 自由走动）、cur-drag（正在拖）、cur-aim（对准了光点）、cur-idle（看剧情时鼠标不动，藏起来） */
html, body {
  cursor: url(hand.png) 5 4, default;
  cursor: -webkit-image-set(url(hand.png) 1x, url(hand@2x.png) 2x) 5 4, default;
  cursor: image-set(url(hand.png) 1x, url(hand@2x.png) 2x) 5 4, default;
}
a, button, summary, label, select, [role="button"], [role="tab"], [role="radio"], input[type="range"], input[type="checkbox"] {
  cursor: url(hand-lit.png) 5 4, pointer !important;
  cursor: -webkit-image-set(url(hand-lit.png) 1x, url(hand-lit@2x.png) 2x) 5 4, pointer !important;
  cursor: image-set(url(hand-lit.png) 1x, url(hand-lit@2x.png) 2x) 5 4, pointer !important;
}
body.cur-free canvas {
  cursor: url(grab.png) 16 16, grab;
  cursor: -webkit-image-set(url(grab.png) 1x, url(grab@2x.png) 2x) 16 16, grab;
  cursor: image-set(url(grab.png) 1x, url(grab@2x.png) 2x) 16 16, grab;
}
body.cur-free.cur-aim canvas {
  cursor: url(hand-lit.png) 5 4, pointer;
  cursor: -webkit-image-set(url(hand-lit.png) 1x, url(hand-lit@2x.png) 2x) 5 4, pointer;
  cursor: image-set(url(hand-lit.png) 1x, url(hand-lit@2x.png) 2x) 5 4, pointer;
}
body.cur-drag, body.cur-drag * {
  cursor: url(grabbing.png) 16 16, grabbing !important;
  cursor: -webkit-image-set(url(grabbing.png) 1x, url(grabbing@2x.png) 2x) 16 16, grabbing !important;
  cursor: image-set(url(grabbing.png) 1x, url(grabbing@2x.png) 2x) 16 16, grabbing !important;
}
body.cur-idle, body.cur-idle * { cursor: none !important; }
