/* MEGAWIDE 4-state cartoon motion: affects IT Guy image only. */
#mcc-it-guy-image {
  transform-origin: 50% 88% !important;
  will-change: transform;
  animation: mcc-cartoon-welcome 2.45s ease-in-out infinite !important;
}
#mcc-it-guy.is-thinking #mcc-it-guy-image {
  animation: mcc-cartoon-thinking 1.6s ease-in-out infinite !important;
}
#mcc-it-guy.is-answering #mcc-it-guy-image {
  animation: mcc-cartoon-answering 1.1s ease-in-out infinite !important;
}
#mcc-it-guy.is-resolved #mcc-it-guy-image {
  animation: mcc-cartoon-success 1.45s ease-in-out infinite !important;
}
@keyframes mcc-cartoon-welcome {
  0%,100% { transform: translate3d(0,0,0) rotate(-1deg); }
  50%     { transform: translate3d(0,-10px,0) rotate(2deg); }
}
@keyframes mcc-cartoon-thinking {
  0%,100% { transform: translate3d(0,-1px,0) rotate(-2deg); }
  50%     { transform: translate3d(0,-7px,0) rotate(2deg); }
}
@keyframes mcc-cartoon-answering {
  0%,100% { transform: translate3d(0,0,0) rotate(0deg); }
  45%     { transform: translate3d(0,-9px,0) rotate(2.4deg); }
}
@keyframes mcc-cartoon-success {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  30%     { transform: translate3d(0,-12px,0) scale(1.045); }
  65%     { transform: translate3d(0,-2px,0) scale(1.01); }
}
/* Respect device/browser reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  #mcc-it-guy-image,
  #mcc-it-guy.is-thinking #mcc-it-guy-image,
  #mcc-it-guy.is-answering #mcc-it-guy-image,
  #mcc-it-guy.is-resolved #mcc-it-guy-image {
    animation: none !important;
    will-change: auto;
  }
}

/* MCC_CARTOON_SIZE_BEGIN */
/* Keep CSS animations intact: individual scale is separate from transform. */
#mcc-it-guy-image {
  scale: 1.15;
}
/* MCC_CARTOON_SIZE_END */
