@import url('/client/gestures.css');
:root{
  --t-none:0ms;--t-tap:75ms;--t-fast:120ms;--t-base:200ms;--t-sheet:320ms;--t-pop:360ms;--t-settle:480ms;--t-cycle:1100ms;
  --ease:cubic-bezier(.2,.8,.2,1);--spring:cubic-bezier(.32,.72,0,1);--exit:cubic-bezier(.4,0,1,1);
  --motion-balanced:ease-in-out;--motion-linear:linear;
}
@keyframes choir-appear{from{opacity:0}to{opacity:1}}
@keyframes choir-leave{from{opacity:1}to{opacity:0}}
@keyframes choir-panel{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes choir-response{from{opacity:.45;transform:translateY(2px)}to{opacity:1;transform:none}}
@keyframes choir-disclose{from{opacity:.2;transform:scaleY(.94)}to{opacity:1;transform:none}}
@keyframes choir-progress{from{opacity:.55}to{opacity:1}}
body:has(main#app) #app>.panel{animation:var(--platform-panel,choir-panel) var(--t-base) var(--ease)}
main#app button{transition:opacity var(--t-fast) var(--ease),transform var(--t-tap) var(--ease)}
main#app button:active:enabled{transform:scale(.975);opacity:.84}
@media(hover:hover){main#app button:hover:enabled,.pk[data-v]:hover,.sh-x:hover{opacity:.79}}
.pk[data-v],.sh-x{transition:opacity var(--t-fast) var(--ease)}
#notice:not(:empty),.form-error:not(:empty){animation:choir-appear var(--t-fast) var(--ease)}
#notice.notice-leaving{animation:choir-leave var(--t-fast) var(--exit) forwards}
main#app [role=status]:not(:empty){animation:choir-progress var(--t-cycle) var(--motion-balanced) infinite alternate}
main#app .rehearsal [data-reply][aria-pressed=true],main#app .response-changed{animation:var(--platform-panel,choir-response) var(--t-base) var(--ease)}
main#app details[open]>:not(summary){transform-origin:top;animation:var(--platform-panel,choir-disclose) var(--t-base) var(--ease)}
[data-act=song-fav]:active .i{transform:scale(.9)}
[data-act=song-fav][aria-pressed=true] .i{animation:var(--platform-panel,choir-response) var(--t-fast) var(--ease)}
[data-act=song-fav] .i{transition:transform var(--t-fast) var(--spring),opacity var(--t-fast) var(--ease)}
/* Continuous state feedback uses compositor properties. The ceremonial stages
   keep their original keyframes in the business stylesheet. */
@keyframes sk{from{opacity:.5}50%{opacity:.85}to{opacity:.5}}
@keyframes pulse{from{opacity:.7}50%{opacity:1}to{opacity:.7}}
@keyframes wgPulse{from{opacity:.75}50%{opacity:1}to{opacity:.75}}
@keyframes secPulse{from{opacity:.75}55%{opacity:1}to{opacity:.88}}
@keyframes coach-halo{from{opacity:.72}50%{opacity:1}to{opacity:.72}}
@keyframes nh-flash{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
  :root{--platform-panel:choir-appear}
  *,*::before,*::after,::backdrop{
    scroll-behavior:auto!important;transition-property:opacity!important;transition-duration:var(--t-fast)!important;
    animation-duration:var(--t-fast)!important;animation-delay:var(--t-none)!important;animation-iteration-count:1!important;
  }
  main#app button:active:enabled,[data-act=song-fav]:active .i{transform:none}
}
