/* ============================================================
   rainbow-comet-cursor.css — efek kursor global (Semua Halaman)
   Dipakai oleh js/rainbow-cursor.js. CSP-safe: 'self' + inline style
   (style-src mengizinkan 'unsafe-inline').
   ============================================================ */
html.rainbow-cursor,
html.rainbow-cursor body {
  cursor: none !important;
}
html.rainbow-cursor a,
html.rainbow-cursor button,
html.rainbow-cursor input,
html.rainbow-cursor select,
html.rainbow-cursor textarea,
html.rainbow-cursor label,
html.rainbow-cursor summary,
html.rainbow-cursor [role="button"] {
  cursor: none !important;
}

#rainbow-cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100000;
}

/* Hormati pengguna yang memilih reduced motion */
@media (prefers-reduced-motion: reduce) {
  #rainbow-cursor-canvas { display: none; }
  html.rainbow-cursor,
  html.rainbow-cursor body,
  html.rainbow-cursor a,
  html.rainbow-cursor button,
  html.rainbow-cursor input,
  html.rainbow-cursor select,
  html.rainbow-cursor textarea,
  html.rainbow-cursor label,
  html.rainbow-cursor summary,
  html.rainbow-cursor [role="button"] { cursor: auto !important; }
}