.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
}
.custom-cursor.is-visible { opacity: 1; }
.custom-cursor-shape {
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--grey-900);
  color: var(--grey-0);
  white-space: nowrap;
  transition: width .2s var(--ease), height .2s var(--ease), opacity .2s var(--ease);
}
.custom-cursor[data-state="hover"] .custom-cursor-shape { opacity: .3; }
.custom-cursor[data-state="deep"] .custom-cursor-shape { opacity: 1; }
.custom-cursor-content {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  min-height: 32px;
  width: max-content;
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
}
.custom-cursor-content svg { flex: none; }
.custom-cursor-measure {
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
}
.custom-cursor-label {
  font-family: var(--font-display);
  font-size: var(--caption-1-size);
  line-height: var(--caption-1-line);
  font-weight: var(--weight-medium);
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.custom-cursor-shape > * { opacity: 0; transition: opacity .15s ease; }
.custom-cursor[data-state="deep"] .custom-cursor-shape > * { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-active, html.custom-cursor-active * { cursor: none !important; }
}
@media (hover: none), (pointer: coarse) { .custom-cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .custom-cursor-shape, .custom-cursor-shape > * { transition: none; }
}
