/* Static appearance only. All movement is driven by hamster-motion.js via the
   native Web Animations API -- no @keyframes / animation / transition here. */

.loading[data-motion-loading] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.motion-stage {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.motion-sprite {
  position: relative;
  z-index: 1;
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.motion-shadow {
  position: absolute;
  z-index: 0;
  bottom: 6px;
  left: 50%;
  width: 64px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0) 70%);
}

.motion-dots {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.motion-dots span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}

.motion-demo-label {
  margin: 0;
  font-size: 0.8em;
  color: #70706b;
}

.motion-pause {
  border: 0;
  border-radius: 0;
  min-height: 44px;
  padding: 8px 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: transparent;
  color: inherit;
  font-size: 0.85em;
  cursor: pointer;
}

.motion-pause:disabled {
  color: #70706b;
  cursor: default;
}

/* Ephemeral transition sprite for peek/ready/saved/error cues. Absolutely
   positioned so it never affects the layout of the container it's dropped
   into (the container is expected to already be position: relative). */
.motion-cue-sprite {
  position: absolute;
  top: 12px;
  right: 70px;
  width: 56px;
  height: 62px;
  object-fit: contain;
  pointer-events: none;
  z-index: 5;
}

.motion-figure {
  display: inline-block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .motion-dots {
    display: none;
  }
}

#flow-content{position:relative}
.love-reader-nav>.motion-cue-sprite{right:154px;top:8px;width:38px;height:40px}

#toast{display:flex;align-items:center;gap:8px}
#toast>.motion-cue-sprite{position:static;order:-1;width:28px;height:32px;flex:none}

.report-heading>.motion-result-character,.demo-screen-label>.motion-result-character{width:72px;height:86px;object-fit:contain;border-radius:0}
