/* ==========================================================================
   Custom Theme-Matched SVG Mouse Cursors (Normal, Hover/Pointer, Loading)
   Applied only on fine-pointer desktop devices; preserves native OS speed.
   All SVG fills and strokes strictly use hsl() tokens matching theme.css.
   ========================================================================== */

@media (pointer: fine) {
  html,
  body,
  .cursor-demo--normal {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M3 2L3 20L8.2 15.1L12.1 23L14.9 21.6L11 13.8L18 13.2L3 2Z' fill='hsl(210%2C100%2C7%25)' stroke='hsl(0%2C0%2C100%25)' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='5.5' cy='6.5' r='1.6' fill='hsl(255%2C100%2C50%25)'/%3E%3C/svg%3E") 3 2, auto;
  }

  a,
  button,
  [role="button"],
  summary,
  label[for],
  input[type="range"],
  input[type="checkbox"],
  input[type="radio"],
  select,
  wistia-player,
  .cursor-demo--hover {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='11' cy='7' r='5' fill='hsla(255%2C100%2C50%25%2C0.18)'/%3E%3Cpath d='M9.5 6.5V15.5L7.1 13.3C6.1 12.4 4.6 12.7 4 13.8C3.6 14.6 3.8 15.6 4.5 16.2L10.3 22.5C11.1 23.4 12.2 24 13.5 24H18.2C20.5 24 22.2 22.2 22.5 19.9L23.2 14.2C23.4 12.7 22.3 11.4 20.8 11.4C20.1 11.4 19.5 11.7 19 12.1C18.7 11.1 17.8 10.4 16.7 10.4C16 10.4 15.3 10.7 14.9 11.2C14.6 10.2 13.7 9.5 12.6 9.5C12.3 9.5 12.1 9.5 11.9 9.6V6.5C11.9 5.2 10.8 4.2 9.5 4.2C8.7 4.2 9.5 5.2 9.5 6.5Z' fill='hsl(255%2C100%2C50%25)' stroke='hsl(0%2C0%2C100%25)' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 10 4, pointer;
  }

  .is-loading,
  .is-loading *,
  [aria-busy="true"],
  [aria-busy="true"] *,
  .cursor-demo--loading {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='10' fill='hsl(0%2C0%2C100%25)' stroke='hsl(255%2C100%2C87%25)' stroke-width='3'/%3E%3Cpath d='M14 4A10 10 0 0 1 24 14' fill='none' stroke='hsl(255%2C100%2C50%25)' stroke-width='3.5' stroke-linecap='round'/%3E%3Ccircle cx='14' cy='14' r='2.5' fill='hsl(210%2C100%2C7%25)'/%3E%3C/svg%3E") 14 14, wait;
  }

  button:disabled,
  button[aria-disabled="true"],
  .btn:disabled,
  .btn[aria-disabled="true"],
  .cursor-demo--disabled {
    cursor: not-allowed;
  }
}
