/* Пружинные кривые (рассчитаны по физике пружины). Мягкая: перелёт ~2.2% — для перестановок и колец. Упругая: ~12.4% — для плашек, галочек, переключателей. */
:root {
  --spring-soft: cubic-bezier(0.2, 0.9, 0.25, 1.02);
  --spring-pop: cubic-bezier(0.34, 1.45, 0.5, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring-soft: linear(0, 0.08, 0.256, 0.444, 0.616, 0.75, 0.856, 0.93, 0.977, 1.004, 1.017, 1.022, 1.021, 1.017, 1.013, 1.009, 1.006, 1.004, 1.002, 1.001, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
    --spring-pop: linear(0, 0.078, 0.253, 0.466, 0.673, 0.849, 0.981, 1.066, 1.111, 1.124, 1.117, 1.096, 1.07, 1.044, 1.021, 1.004, 0.993, 0.987, 0.985, 0.985, 0.988, 0.991, 0.994, 0.997, 0.999, 1.001, 1.002, 1.002, 1.002, 1.002, 1.001, 1.001, 1, 1, 1);
  }
}
@keyframes springIn { from { transform: scale(0.82); opacity: 0; } }
@keyframes springPop { 0% { transform: scale(0.86); } }
@media (prefers-reduced-motion: reduce) {
  :root { --spring-soft: ease-out; --spring-pop: ease-out; }
}
