/* Fill expands left->right, empties from left, expands right->left, empties from right.
 * Uses left/right to resize the container so inner rounded-full elements form concentric ovals.
 * Layout cost is negligible: element is absolute-positioned with will-change, subtree is 3 nodes.
 * translateX offsets push the ovals off-screen at the start/end of each phase. */
@keyframes thinking-grow-empty {
  0% {
    left: 0;
    right: 100%;
    transform: translateX(-80px);
  }
  25% {
    left: 0;
    right: 0;
    transform: translateX(0);
  }
  50% {
    left: 100%;
    right: 0;
    transform: translateX(80px);
  }
  75% {
    left: 0;
    right: 0;
    transform: translateX(0);
  }
  100% {
    left: 0;
    right: 100%;
    transform: translateX(-80px);
  }
}

/* Staggered entrance for text */
@keyframes thinking-slide-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pop-in entrance for countdown */
@keyframes thinking-pop-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Breathing glow on container */
@keyframes thinking-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 20px -4px var(--brand-200);
  }
}

/* Fade-in for the container on mount */
@keyframes thinking-fade-in {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 1;
  }
}
/*$vite$:1*/