/* A small, centred screen-only pointer. No trail or position easing. */
.tenant-screen-cursor {
  --cursor-ink: #c2461a;
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0;
  contain: layout style;
  transform: translate3d(-60px, -60px, 0);
}
.tenant-screen-cursor[data-visible="true"] {
  opacity: 1;
}
.tenant-screen-cursor .cursor-disc {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cursor-ink);
  transform: scale(0.3);
  transform-origin: center;
  transition: transform 120ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tenant-screen-cursor svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tenant-screen-cursor[data-action="true"] .cursor-disc {
  transform: scale(1);
}
.tenant-screen-cursor .cursor-action {
  opacity: 0;
  transition: opacity 120ms ease;
}
.tenant-screen-cursor[data-action="true"] .cursor-action {
  opacity: 1;
}
.tenant-screen-cursor[data-pressed="true"] .cursor-disc {
  transform: scale(0.24);
}
.tenant-screen-cursor[data-action="true"][data-pressed="true"] .cursor-disc {
  transform: scale(0.8);
}
/* Native hiding is installed only while a visible custom pointer is active. */
#phone-screen.tenant-cursor-active,
#phone-screen.tenant-cursor-active * {
  cursor: none !important;
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .tenant-screen-cursor {
    display: none !important;
  }
  #phone-screen.tenant-cursor-active,
  #phone-screen.tenant-cursor-active * {
    cursor: auto !important;
  }
}
