.motion-pointer {
  position: fixed;
  inset: 0 auto auto 0;
  width: 22px;
  height: 22px;
  z-index: 60;
  pointer-events: none;
  user-select: none;
}
.motion-pointer *, .motion-pointer::before, .motion-pointer::after { pointer-events: none; }
.motion-pointer[hidden], .ambient-toggle, .ambient-play { display: none; }
@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  :root[data-ambient-ready] .ambient-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 6px 9px;
    font: inherit;
    font-size: 14px;
    line-height: 1.15;
    white-space: nowrap;
    color: var(--ink);
    background: var(--card, var(--surface));
    border: 1px solid var(--line);
    border-radius: 3px;
    cursor: pointer;
  }
  .ambient-toggle::before {
    content: '';
    box-sizing: content-box;
    width: 3px;
    height: 11px;
    border-inline: 3px solid currentColor;
  }
  :root[data-ambient-paused] .ambient-toggle::before {
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 6px 0 6px 9px;
    border-inline-start-color: currentColor;
  }
  :root[data-ambient-paused] .ambient-pause { display: none; }
  :root[data-ambient-paused] .ambient-play { display: inline; }
}
@media (max-width: 680px) {
  .ambient-toggle .ambient-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media print, (prefers-reduced-motion: reduce), (forced-colors: active) {
  .motion-pointer { display: none; }
}
