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

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-text-primary);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--dur-fast) var(--ease-soft),
    height var(--dur-fast) var(--ease-soft),
    background-color var(--dur-fast) var(--ease-soft);
}

.cursor-dot.is-hover {
  width: 34px;
  height: 34px;
  background: var(--color-accent);
}

@media (hover: none), (pointer: coarse) {
  #cursor-trail,
  .cursor-dot {
    display: none;
  }
}
