/* Egen muspekare: turkos prick + mjuk ring (bara för mus/styrplatta) */
.dc-cursor, .dc-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2147483647;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}
.dc-cursor {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: #3fd3ea;
  box-shadow: 0 0 0 1px rgba(10, 16, 32, 0.25);
  transition: opacity .25s, width .25s, height .25s, margin .25s;
}
.dc-cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(63, 211, 234, 0.55);
  transition: opacity .25s, width .35s cubic-bezier(.2,.7,.1,1), height .35s cubic-bezier(.2,.7,.1,1), margin .35s cubic-bezier(.2,.7,.1,1), background .3s, border-color .3s;
}
html.dc-cursor-on .dc-cursor, html.dc-cursor-on .dc-cursor-ring { opacity: 1; }
html.dc-cursor-on.dc-cursor-out .dc-cursor, html.dc-cursor-on.dc-cursor-out .dc-cursor-ring { opacity: 0; }

/* Över länkar och knappar: större, fylld ring */
html.dc-cursor-hover .dc-cursor-ring {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  background: rgba(63, 211, 234, 0.12);
  border-color: rgba(63, 211, 234, 0.8);
}
html.dc-cursor-hover .dc-cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
html.dc-cursor-down .dc-cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* Dölj vanliga pekaren – men behåll textmarkören i fält */
html.dc-cursor-on, html.dc-cursor-on * { cursor: none !important; }
html.dc-cursor-on input, html.dc-cursor-on textarea, html.dc-cursor-on select, html.dc-cursor-on [contenteditable] { cursor: auto !important; }
html.dc-cursor-text .dc-cursor, html.dc-cursor-text .dc-cursor-ring { opacity: 0 !important; }

@media (pointer: coarse), (hover: none) {
  .dc-cursor, .dc-cursor-ring { display: none !important; }
}
