/* The ring itself is the native cursor; its center (16,16) is the click point. */
@media (hover: hover) and (pointer: fine) {
  body { cursor:url('assets/cursor/oracle-ring.png?v=20261206-fill-v1') 16 16,default; }
  dialog::backdrop { cursor:url('assets/cursor/oracle-ring.png?v=20261206-fill-v1') 16 16,default; }
  body :is(a[href],button,summary,[role="button"],[role="link"],[tabindex]:not([tabindex="-1"])) {
    cursor:url('assets/cursor/oracle-ring-active.png?v=20261206-fill-v1') 16 16,pointer;
  }
  body :is(input,textarea,[contenteditable]:not([contenteditable="false"]),[role="textbox"]) { cursor:text; }
  body input[type="range"] { cursor:ew-resize; }
  body :is(select,input[type="checkbox"],input[type="radio"]) { cursor:url('assets/cursor/oracle-ring-active.png?v=20261206-fill-v1') 16 16,pointer; }
  body :is(:disabled,[aria-disabled="true"]) { cursor:not-allowed; }
}
@media (forced-colors: active) {
  body { cursor:auto; }
  dialog::backdrop { cursor:auto; }
  body :is(a[href],button,summary,[role="button"],[role="link"],[tabindex]:not([tabindex="-1"]),select,input[type="checkbox"],input[type="radio"]) { cursor:pointer; }
  body :is(input,textarea,[contenteditable]:not([contenteditable="false"]),[role="textbox"]) { cursor:text; }
  body input[type="range"] { cursor:ew-resize; }
  body :is(:disabled,[aria-disabled="true"]) { cursor:not-allowed; }
}
/* Click feedback remains separate from the native cursor image. */
.oracle-cursor-layer {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
  color: #84e6dd;
}
.oracle-cursor-layer * { pointer-events: none; }
.oracle-cursor-pulse {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
}
.oracle-cursor-layer [hidden] { display: none; }
body:has(dialog[open]) .oracle-cursor-layer { visibility: hidden; }
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .oracle-cursor-layer { display: none; }
}
