/* SoloHarness motion is opt-in: without the engine, the original design wins. */
[data-sh-motion] {
  --sh-motion-ready: 1;
}
[data-sh-motion] > [data-sh-motion-helper],
[data-sh-motion] [data-sh-motion-helper],
[data-sh-motion] > [data-sh-motion-control] {
  visibility: hidden;
  pointer-events: none;
}
[data-sh-motion] [data-sh-motion-helper] {
  opacity: 0;
  user-select: none;
}
[data-sh-motion][data-sh-motion-enabled="true"][data-sh-motion-story="true"] [data-sh-motion-helper] {
  visibility: visible;
}
[data-sh-motion][data-sh-motion-enabled="true"] > [data-sh-motion-control] {
  visibility: visible;
  pointer-events: auto;
}
[data-sh-motion] > button[data-sh-motion-control] {
  position: absolute;
  z-index: 4;
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--sh-motion-surface, transparent);
  color: inherit;
  font: 600 13px/1 system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: none;
  letter-spacing: 0;
  transition: none;
}
[data-sh-motion] > button[data-sh-motion-control] > span {
  position: static !important;
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  pointer-events: none;
}
[data-sh-motion] > button[data-sh-motion-control]:hover {
  filter: brightness(.8);
}
[data-sh-motion] > button[data-sh-motion-control]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
[data-sh-motion][data-sh-motion-intro="true"] [data-sh-motion-part] {
  opacity: var(--sh-motion-opacity, 1);
  transform: var(--sh-motion-transform, none);
}
[data-sh-motion] [data-sh-motion-part="dot"] {
  transform-box: fill-box;
  transform-origin: center;
}
[data-sh-motion="home"] > [data-sh-motion-helper="marker"] {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tak-rust, currentColor);
  color: var(--tak-rust, inherit);
  box-shadow: 0 0 0 4px var(--sh-motion-halo, rgba(140, 109, 79, .12));
}
[data-sh-motion="triangle"] [data-sh-motion-helper="traveler"] {
  fill: var(--tak-rust, currentColor);
  stroke: none;
}
[data-sh-motion="triangle"] [data-sh-motion-helper="ring"] {
  fill: none;
  stroke: var(--tak-rust, currentColor);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-reduced-motion: reduce) {
  [data-sh-motion] [data-sh-motion-helper],
  [data-sh-motion] > button[data-sh-motion-control] {
    display: none !important;
  }
  [data-sh-motion][data-sh-motion-intro] [data-sh-motion-part] {
    opacity: 1 !important;
    transform: none !important;
  }
}
