/* ============ orb — the assistant's particle mind (js/core/orb.js) ============
   The canvas does all the motion. CSS only sizes the box and, under reduced
   motion, carries the state as a quiet opacity step on a single still frame. */

.orb {
  --orb-size: 44px;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--orb-size);
  height: var(--orb-size);
  line-height: 0;
  vertical-align: middle;
  pointer-events: none;
  contain: strict;
}

.orb--fill {
  display: block;
  width: 100%;
  height: 100%;
}

.orb__canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* the bitmap is square; a non-square 'fill' box centres it undistorted */
}

/* reduced motion: the sphere holds still; the state reads as presence, not movement */
.is-reduced .orb { transition: opacity var(--d-ui) var(--ease-ui); }
.is-reduced .orb[data-state='idle'] { opacity: 0.72; }
.is-reduced .orb[data-state='listening'] { opacity: 1; }
.is-reduced .orb[data-state='thinking'] { opacity: 0.5; }
.is-reduced .orb[data-state='answering'] { opacity: 0.86; }
.is-reduced .orb[data-state='speaking'] { opacity: 1; }
