.site-cursor {
  display: none;
  position: fixed;
  inset: 0 auto auto 0;
  width: 22px;
  height: 22px;
  z-index: 250;
  pointer-events: none;
  user-select: none;
  contain: layout style;
  box-sizing: border-box;
  border: 1px solid #cdcdcd;
  border-radius: 50%;
  background: #000;
  color: #fff;
  transition: border-color 140ms ease, color 140ms ease, transform 160ms ease;
}

.site-cursor.is-pressed {
  transform: scale(.86);
  transition-duration: 140ms, 140ms, 60ms;
}

.site-cursor__icon {
  position: absolute;
  inset: 4px;
  display: block;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url('../images/site-cursor-drone.svg') center / contain no-repeat;
  mask: url('../images/site-cursor-drone.svg') center / contain no-repeat;
}

.site-cursor.is-actionable {
  border-color: var(--accent, #cdfe06);
  color: var(--accent, #cdfe06);
}

.site-cursor__label {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 46px;
  height: 15px;
  padding: 0 5px;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font: 500 9px/1 "IBM Plex Mono", monospace;
  letter-spacing: .02em;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 3px);
  transition: opacity 120ms ease, transform 160ms ease;
  pointer-events: none;
}

.site-cursor.is-actionable .site-cursor__label {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .site-cursor:not([hidden]) {
    display: block;
  }
}
