/* Static native cursors: touch, focus styling, and reduced motion stay native. */
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  body {
    cursor: var(--bubble-cursor, default);
  }

  body :is(
    a[href], area[href], button, summary, select, label[for],
    [role="button"], [role="link"], [role="tab"], [role="slider"],
    input[type="button"], input[type="submit"], input[type="reset"],
    input[type="checkbox"], input[type="radio"], input[type="range"],
    input[type="file"], input[type="color"]
  ) {
    cursor: var(--bubble-cursor-link, pointer);
  }

  body :is(
    textarea, input:not([type]), input[type="text"], input[type="search"],
    input[type="email"], input[type="url"], input[type="tel"],
    input[type="password"], input[type="number"], [role="textbox"],
    [contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]
  ),
  body :is([contenteditable=""], [contenteditable="true"], [contenteditable="plaintext-only"]) * {
    cursor: text;
  }

  body :is(:disabled, [aria-disabled="true"]),
  body :is(:disabled, [aria-disabled="true"]) * {
    cursor: not-allowed !important;
  }
}
