/* Soft, continuous drifting for quick prompts and the typing bar only. */
@keyframes interfaceFloatNatural {
  0%, 100% { translate: 0 0; }
  24% { translate: 0 -6px; }
  43% { translate: 0 -10px; }
  67% { translate: 0 -3px; }
  83% { translate: 0 -7px; }
}

.suggestion-chip,
.input-bar {
  animation: interfaceFloatNatural 7.2s cubic-bezier(.45, 0, .55, 1) infinite !important;
  will-change: translate;
}

.suggestion-chip:nth-child(2) {
  animation-duration: 8.1s !important;
  animation-delay: -3.2s !important;
}

.suggestion-chip:nth-child(3) {
  animation-duration: 6.5s !important;
  animation-delay: -4.6s !important;
}

.suggestion-chip:nth-child(4) {
  animation-duration: 8.7s !important;
  animation-delay: -1.7s !important;
}

.input-bar {
  animation-duration: 8.4s !important;
  animation-delay: -5.1s !important;
}

@media (max-width:700px) {
  .input-bar { animation-duration: 9s !important; }
}

/* A quick press, then an elastic return on every button. */
button:not(:disabled) {
  transition: scale 340ms cubic-bezier(.2, 1.65, .4, 1);
}

button:not(:disabled):active {
  scale: .94;
  transition-duration: 85ms;
}

@media (prefers-reduced-motion: reduce) {
  .suggestion-chip,
  .input-bar {
    animation: none !important;
    will-change: auto;
  }

  button:not(:disabled) {
    transition: none;
  }
}
