/* Snow Goose: iOS-style press and spring for buttons. Pairs with spring.js.
   Only animates transform (scale) on .btn, [data-spring] and .opt inside .sg.
   No layout, size, colour or text changes. Off under prefers-reduced-motion. */
.sg .btn.sg-dn,.sg [data-spring].sg-dn,.sg .opt.sg-dn{animation:sgPress 90ms cubic-bezier(.2,.7,.3,1) forwards}
.sg .btn.sg-up,.sg [data-spring].sg-up,.sg .opt.sg-up{animation:sgSpring 320ms both}
@keyframes sgPress{from{transform:scale(1)}to{transform:scale(.96)}}
@keyframes sgSpring{
  0%{transform:scale(.96);animation-timing-function:cubic-bezier(.2,.9,.3,1)}
  45%{transform:scale(var(--sg-ov,1.03));animation-timing-function:cubic-bezier(.34,1.56,.64,1)}
  100%{transform:scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .sg .btn.sg-dn,.sg [data-spring].sg-dn,.sg .opt.sg-dn,
  .sg .btn.sg-up,.sg [data-spring].sg-up,.sg .opt.sg-up{animation:none;transform:none}
}
