/* Native cursors follow the pointer without a tracking script or page overlay. */
@media (hover: hover) and (pointer: fine) {
  :root {
    --gator-rest: url('/assets/gator-cursor-closed.png') 2 2, auto;
    --gator-click: url('/assets/gator-cursor-open.png') 2 2, pointer;
  }

  html, body { cursor: var(--gator-rest); }

  body :is(a[href], button:enabled, summary, select:enabled,
    input[type='checkbox']:enabled, input[type='radio']:enabled,
    input[type='button']:enabled, input[type='submit']:enabled,
    input[type='reset']:enabled, label:has(input:enabled), label[for]) {
    cursor: var(--gator-click);
  }

  body :is(input[type='text'], input[type='tel'], input[type='email'],
    input[type='number'], input[type='search'], input[type='password'], textarea,
    [contenteditable='true']) { cursor: text; }

  body .continue-button:disabled,
  body :is(button:disabled, input:disabled, select:disabled, textarea:disabled) {
    cursor: not-allowed;
  }

  @media (forced-colors: active) {
    :root { --gator-rest: auto; --gator-click: pointer; }
  }
}
