#cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: normal;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
  transform: translate(-50%, -50%);
  will-change: transform;
}

#cursor canvas {
  display: block;
}

#cursor.cursor--small {
  width: 8px;
  height: 8px;
}

#cursor.cursor--small canvas { display: none; }
#cursor.cursor--small::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
}

#cursor-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

#cursor.cursor--view #cursor-text { opacity: 1; }
