/* Site-wide square cursor. A white square with mix-blend-mode: difference
   reads black on light backgrounds and white on dark ones. Mouse/trackpad only;
   touch devices keep their normal behaviour. */
@media (pointer: fine) {
  html.sq-cursor, html.sq-cursor *, html.sq-cursor *::before, html.sq-cursor *::after {
    cursor: none !important;
  }
  html.sq-cursor input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  html.sq-cursor textarea, html.sq-cursor [contenteditable="true"] {
    cursor: text !important;
  }
  .sq-cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 2147483647;
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    background: #fff; mix-blend-mode: difference;
    pointer-events: none; opacity: 0;
    will-change: transform;
  }
  .sq-cursor-dot.is-on { opacity: 1; }
}
