/* stylelint-disable no-descending-specificity */
/* stylelint-disable no-duplicate-selectors */

.agent-assistant-fab.is-action-sit .agent-assistant-fab__bot {
  animation: agent-fab-action-sit-bot 4.2s ease-in-out both;
}

.agent-assistant-fab.is-action-sit .agent-assistant-fab__head {
  animation: agent-fab-action-sit-head 4.2s ease-in-out both;
}

.agent-assistant-fab.is-action-sit .agent-assistant-fab__body {
  animation: agent-fab-action-sit-body 4.2s ease-in-out both;
}

.agent-assistant-fab.is-action-sit .agent-assistant-fab__arm--left {
  animation: agent-fab-action-sit-arm-left 4.2s ease-in-out both;
}

.agent-assistant-fab.is-action-sit .agent-assistant-fab__arm--right {
  animation: agent-fab-action-sit-arm-right 4.2s ease-in-out both;
}

.agent-assistant-fab.is-action-sit .agent-assistant-fab__leg--left {
  z-index: 5;
  animation: agent-fab-action-sit-leg-left 4.2s ease-in-out both;
}

.agent-assistant-fab.is-action-sit .agent-assistant-fab__leg--right {
  z-index: 5;
  animation: agent-fab-action-sit-leg-right 4.2s ease-in-out both;
}

@keyframes agent-fab-action-sit-bot {
  0%,
  100% {
    transform: scale(var(--agent-assistant-bot-scale)) rotate(var(--agent-assistant-robot-tilt));
  }

  22%,
  84% {
    transform: translateY(0.36rem) scale(var(--agent-assistant-bot-scale)) rotate(var(--agent-assistant-robot-tilt));
  }
}

@keyframes agent-fab-action-sit-head {
  0%,
  100% {
    transform: translate(var(--agent-assistant-head-x), var(--agent-assistant-head-y)) rotate(0deg);
  }

  22%,
  84% {
    transform: translate(var(--agent-assistant-head-x), calc(var(--agent-assistant-head-y) + 0.1rem)) rotate(2deg);
  }
}

@keyframes agent-fab-action-sit-body {
  0%,
  100% {
    transform: translate(var(--agent-assistant-body-x), var(--agent-assistant-body-y)) scaleY(1);
  }

  22%,
  84% {
    transform: translate(var(--agent-assistant-body-x), calc(var(--agent-assistant-body-y) + 0.22rem)) scaleY(0.82);
  }
}

@keyframes agent-fab-action-sit-arm-left {
  0%,
  100% {
    transform: rotate(17deg);
  }

  22%,
  84% {
    transform: translate(0.08rem, 0.22rem) rotate(76deg);
  }
}

@keyframes agent-fab-action-sit-arm-right {
  0%,
  100% {
    transform: rotate(-17deg);
  }

  22%,
  84% {
    transform: translate(-0.08rem, 0.22rem) rotate(-76deg);
  }
}

@keyframes agent-fab-action-sit-leg-left {
  0%,
  100% {
    transform: rotate(0deg);
  }

  22%,
  84% {
    transform: translate(0.18rem, -0.18rem) rotate(94deg);
  }
}

@keyframes agent-fab-action-sit-leg-right {
  0%,
  100% {
    transform: rotate(0deg);
  }

  22%,
  84% {
    transform: translate(-0.18rem, -0.18rem) rotate(-94deg);
  }
}
