/* Galaxy glass: native, sharp SVG cursors with an identical arrow-tip hotspot.
   Native text, resize, disabled and high-contrast affordances stay available. */
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  :root body,
  :root body * {
    cursor: url('../assets/cursor-arrow.svg?v=3') 5 3, auto;
  }

  :root body :is(a[href], button, summary, select, label[for],
    [role="button"], [role="tab"], input[type="checkbox"], input[type="radio"],
    input[type="file"], input[type="range"], input[type="color"],
    input[type="button"], input[type="submit"], input[type="reset"],
    .dropzone-wide, .purpose-option, .quiz-mode-card, .read-aloud-option),
  :root body :is(a[href], button, summary, label[for], [role="button"],
    [role="tab"], .dropzone-wide, .purpose-option, .quiz-mode-card, .read-aloud-option) * {
    cursor: url('../assets/cursor-arrow-active.svg?v=3') 5 3, pointer;
  }

  :root body :is(textarea,
    input:not(:is([type="checkbox"], [type="radio"], [type="file"], [type="range"], [type="button"], [type="submit"], [type="reset"], [type="color"])),
    [contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]),
  :root body :is([contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]) :not([contenteditable="false"]) {
    cursor: text;
  }

  :root body :is(:disabled, [aria-disabled="true"]),
  :root body :is(:disabled, [aria-disabled="true"]) * {
    /* Unavailable states must win over specific interactive-control selectors. */
    cursor: not-allowed !important;
  }
}
