[data-story-step], [data-story-shown-until], [data-story-shown-from], [data-story-press] {
  animation-duration: 22s;
  animation-timing-function: var(--ease-settle);
  animation-iteration-count: infinite;
}

@keyframes story-salimMessage {
  0%, 1.36% { opacity: 0; }
  3.64%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="salimMessage"] { animation-name: story-salimMessage; }

@keyframes story-camilleReply {
  0%, 5.91% { opacity: 0; }
  8.18%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="camilleReply"] { animation-name: story-camilleReply; }

@keyframes story-actions {
  0%, 10.45% { opacity: 0; }
  12.73%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="actions"] { animation-name: story-actions; }

@keyframes story-runtimeLink {
  0%, 16.36% { opacity: 0; }
  18.64%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="runtimeLink"] { animation-name: story-runtimeLink; }

@keyframes story-devChat {
  0%, 20.00% { opacity: 0; }
  22.27%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="devChat"] { animation-name: story-devChat; }

@keyframes story-camillePrompt {
  0%, 23.64% { opacity: 0; }
  25.91%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="camillePrompt"] { animation-name: story-camillePrompt; }

@keyframes story-agentReply {
  0%, 28.18% { opacity: 0; }
  30.45%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="agentReply"] { animation-name: story-agentReply; }

@keyframes story-editRefunds {
  0%, 31.82% { opacity: 0; }
  34.09%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="editRefunds"] { animation-name: story-editRefunds; }

@keyframes story-editTest {
  0%, 34.09% { opacity: 0; }
  36.36%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="editTest"] { animation-name: story-editTest; }

@keyframes story-testRun {
  0%, 36.36% { opacity: 0; }
  38.64%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="testRun"] { animation-name: story-testRun; }

@keyframes story-salimFollowing {
  0%, 40.91% { opacity: 0; }
  43.18%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="salimFollowing"] { animation-name: story-salimFollowing; }

@keyframes story-agentQuestion {
  0%, 45.45% { opacity: 0; }
  47.73%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="agentQuestion"] { animation-name: story-agentQuestion; }

@keyframes story-salimChoice {
  0%, 50.00% { opacity: 0; }
  52.27%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="salimChoice"] { animation-name: story-salimChoice; }

@keyframes story-salimAnswer {
  0%, 54.55% { opacity: 0; }
  56.82%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="salimAnswer"] { animation-name: story-salimAnswer; }

@keyframes story-agentDone {
  0%, 59.09% { opacity: 0; }
  61.36%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="agentDone"] { animation-name: story-agentDone; }

@keyframes story-pullRequest {
  0%, 62.73% { opacity: 0; }
  65.00%, 92.27% { opacity: 1; }
  96.82%, 100% { opacity: 0; }
}
[data-story-step="pullRequest"] { animation-name: story-pullRequest; }

@keyframes story-shown-until-salimAnswer {
  0%, 54.55% { height: auto; }
  54.59%, 100% { height: 0; }
}
@keyframes story-shown-from-salimAnswer {
  0%, 54.55% { height: 0; }
  54.59%, 100% { height: auto; }
}
[data-story-shown-until="salimAnswer"] { animation-name: story-shown-until-salimAnswer; }
[data-story-shown-from="salimAnswer"] { animation-name: story-shown-from-salimAnswer; }
[data-story-shown-until="salimAnswer"], [data-story-shown-from="salimAnswer"] { overflow: hidden; }

@keyframes story-press-startRuntime {
  0%, 11.36% { background-color: transparent; color: var(--color-muted); }
  13.18% { transform: scale(0.85); background-color: var(--color-selected); }
  14.55%, 100% {  }
}
[data-story-press="startRuntime"] { animation-name: story-press-startRuntime; }

@keyframes story-press-submitAnswer {
  0%, 50.91% { transform: none; }
  52.73% { transform: scale(0.9); }
  54.09%, 100% { transform: none; }
}
[data-story-press="submitAnswer"] { animation-name: story-press-submitAnswer; }

@media (prefers-reduced-motion: reduce) {
  [data-story-step], [data-story-shown-until], [data-story-shown-from], [data-story-press] { animation: none; }
  [data-story-shown-until] { height: 0; }
}
