/* Use the painted tip as the click point. Touch devices keep native behavior. */
@media (hover: hover) and (pointer: fine) {
  :root {
    --paintbrush-cursor: url('./paintbrush-cursor.svg') 4 36;
  }

  body {
    cursor: var(--paintbrush-cursor), auto;
  }

  a, button, summary, label, select,
  input[type='button'], input[type='submit'], input[type='reset'],
  input[type='checkbox'], input[type='radio'] {
    cursor: var(--paintbrush-cursor), pointer;
  }

  input:not([type='button']):not([type='submit']):not([type='reset']):not([type='checkbox']):not([type='radio']),
  textarea, [contenteditable='true'] {
    cursor: text;
  }

  button:disabled, input:disabled, select:disabled, textarea:disabled {
    cursor: not-allowed;
  }
}
