/* Reading uses the arrow; only editable fields show the text cursor. */
body { cursor: default; caret-color: transparent; }
a, button, [role="button"], summary { cursor: pointer; }
input:not([readonly]):not([disabled]), textarea:not([readonly]):not([disabled]),
[contenteditable="true"] { cursor: text; caret-color: auto; }
input[type="checkbox"], input[type="radio"], input[type="submit"],
input[type="button"], input[type="range"], select { cursor: pointer; }

/* Two restrained lighting layers adapt to dark and pale surfaces. */
.cursor-light {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  mix-blend-mode: screen;
}
.cursor-light.is-visible { opacity: 1; }
.cursor-light::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  top: -11rem;
  left: -11rem;
  border-radius: 50%;
  pointer-events: none;
}
.cursor-light::before {
  background: radial-gradient(circle, rgba(255,221,232,.10), rgba(234,90,120,.04) 32%, transparent 70%);
}
.cursor-light-tint { mix-blend-mode: multiply; }
.cursor-light-tint::before {
  background: radial-gradient(circle, rgba(211,38,63,.05), rgba(211,38,63,.02) 35%, transparent 70%);
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-light { display: none; }
}
