/* Press juice (press-juice.js): the frame you press Space, Q or R the button slams in with a white rim; a button coming
   off cooldown pings once (the trinket keeps its own ready flash, the ultimate keeps its ready glow after the ping).
   The cooldown sweep gets a bright leading edge so the time left reads at a glance. */
html[data-art-style] body #hud#hud :is(#ultimate,#dash,#trinket).press-slam{animation:press-slam .2s cubic-bezier(.2,1.6,.4,1)}
@keyframes press-slam{0%{transform:scale(1.28);box-shadow:0 0 0 3px #fff,0 0 26px 8px #fff8}55%{transform:scale(.94)}100%{transform:scale(1)}}
html[data-art-style] body #hud#hud :is(#ultimate,#dash).ready-ping{animation:press-ready .55s ease-out}
@keyframes press-ready{0%{transform:scale(1)}30%{transform:scale(1.14);box-shadow:0 0 0 3px #090c10,0 0 24px 8px var(--hud-accent,#d4ff42)}100%{transform:scale(1)}}
html[data-art-style] body #hud#hud :is(#ultimate,#dash,#trinket) .cd-sweep{background:conic-gradient(from 0deg,#05080bd0 calc(var(--cd,0)*360deg - 4deg),#fff8 calc(var(--cd,0)*360deg - 4deg),#fff8 calc(var(--cd,0)*360deg),transparent 0)}
html[data-art-style] body #hud#hud :is(#ultimate,#dash,#trinket)[data-cd="0.000"] .cd-sweep{background:none}
@media (prefers-reduced-motion:reduce){html[data-art-style] body #hud#hud :is(#ultimate,#dash,#trinket):is(.press-slam,.ready-ping){animation:none}}
