/* Montage · the animated icon library: what the icons look like and how they move (the drawings are in js/icons.js).

   Use:  <i class="ai" data-icon="NAME" aria-hidden="true"></i>
   Size: 24px; set width and height on the <i>, or --ai (for example .card .ai { --ai: 20px }). These rules have no
         specificity, so any rule of a page wins.
   Line: currentColor; --ai-stroke sets the width (default 1.5, in the 24 grid's units, so it scales with the size).
   Host: the icon plays its own animation when the nearest a, button, summary, label, li, .ai-host or [data-ai-host]
         around it is hovered or focused from the keyboard.
   Loop: data-anim="loop" plays it again after a rest, while it is on screen.

   Every hover animation of an icon lasts that icon's --ai-t, with no delay (choreography is in the keyframes' percentages):
   js/icons.js takes the first part to end as the end of the play. Transform, opacity and stroke-dashoffset only.
   Parts turn about their own box (transform-box: fill-box) unless a pivot on the grid is named (view-box, in grid units).
   Easing, as css/site.css names it: out cubic-bezier(.16,1,.3,1), io cubic-bezier(.65,0,.35,1); a snappy start is
   cubic-bezier(.2,.8,.3,1). */

:where(.ai) {
  display: inline-block;
  width: var(--ai, 24px);
  height: var(--ai, 24px);
  flex: none;
  vertical-align: middle;
  line-height: 0;
  font-style: normal;
  --ai-t: 560ms;
}
.ai > svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--ai-stroke, 1.5);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ai .ai-ghost { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .ai svg * { transform-box: fill-box; transform-origin: 50% 50%; }

  /* ---- entering: each part draws itself once, staggered (js/icons.js sets --d per part and --ai-base per icon) ---- */
  .ai.is-pending path { opacity: 0; }
  .ai.is-drawing path:not(.ai-ghost) { animation: ai-draw 500ms cubic-bezier(.16, 1, .3, 1) calc(var(--ai-base, 0ms) + var(--d, 0ms)) backwards; }

  /* ---- playing ---- */
  .ai.is-play * { animation-duration: var(--ai-t); animation-timing-function: cubic-bezier(.65, 0, .35, 1); animation-fill-mode: none; }

  /* the interface */
  .ai[data-icon="play"] { --ai-t: 480ms; }
  .ai[data-icon="play"].is-play .ai-tri { animation-name: ai-play; }

  .ai[data-icon="pause"].is-play .ai-l { animation-name: ai-pause-l; }
  .ai[data-icon="pause"].is-play .ai-r { animation-name: ai-pause-r; }

  .ai[data-icon="sound-on"] { --ai-t: 600ms; }
  .ai[data-icon="sound-on"].is-play .ai-spk,
  .ai[data-icon="sound-off"].is-play .ai-spk { animation-name: ai-spk; transform-origin: 100% 50%; }
  .ai[data-icon="sound-on"].is-play .ai-w1 { animation-name: ai-wave-1; }
  .ai[data-icon="sound-on"].is-play .ai-w2 { animation-name: ai-wave-2; }
  .ai[data-icon="sound-off"].is-play .ai-x { animation-name: ai-quarter; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }

  .ai[data-icon="expand"] { --ai-t: 520ms; }
  .ai[data-icon="expand"].is-play .ai-tl { animation-name: ai-ex-tl; }
  .ai[data-icon="expand"].is-play .ai-tr { animation-name: ai-ex-tr; }
  .ai[data-icon="expand"].is-play .ai-br { animation-name: ai-ex-br; }
  .ai[data-icon="expand"].is-play .ai-bl { animation-name: ai-ex-bl; }

  .ai[data-icon="arrow-right"], .ai[data-icon="arrow-left"] { --ai-t: 500ms; }
  .ai[data-icon="arrow-right"].is-play .ai-go { animation-name: ai-nudge-r; }
  .ai[data-icon="arrow-left"].is-play .ai-go { animation-name: ai-nudge-l; }
  .ai[data-icon="chevron-right"], .ai[data-icon="chevron-down"] { --ai-t: 460ms; }
  .ai[data-icon="chevron-right"].is-play .ai-ch { animation-name: ai-nudge-r-s; }
  .ai[data-icon="chevron-down"].is-play .ai-ch { animation-name: ai-nudge-d-s; }

  .ai[data-icon="plus"], .ai[data-icon="close"] { --ai-t: 520ms; }
  .ai[data-icon="plus"].is-play .ai-x,
  .ai[data-icon="close"].is-play .ai-x { animation-name: ai-quarter; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }

  .ai[data-icon="check"] { --ai-t: 480ms; }
  .ai[data-icon="check"].is-play .ai-c { animation-name: ai-rd; }

  .ai[data-icon="copy"] { --ai-t: 500ms; }
  .ai[data-icon="copy"].is-play .ai-front { animation-name: ai-copy-f; }
  .ai[data-icon="copy"].is-play .ai-back { animation-name: ai-copy-b; }

  .ai[data-icon="mail"].is-play .ai-env { animation-name: ai-mail; }
  .ai[data-icon="mail"].is-play .ai-flap { animation-name: ai-flap; transform-origin: 50% 0; }

  .ai[data-icon="external"] { --ai-t: 500ms; }
  .ai[data-icon="external"].is-play .ai-go { animation-name: ai-ext; }

  /* what it makes */
  .ai[data-icon="terminal"] { --ai-t: 600ms; }
  .ai[data-icon="terminal"].is-play .ai-pr { animation-name: ai-term-pr; }
  .ai[data-icon="terminal"].is-play .ai-cur { animation-name: ai-term-cur; }

  .ai[data-icon="message"] { --ai-t: 600ms; }
  .ai[data-icon="message"].is-play .ai-b { animation-name: ai-msg; transform-origin: 0 100%; }
  .ai[data-icon="message"].is-play .ai-l1 { animation-name: ai-rd-a; }
  .ai[data-icon="message"].is-play .ai-l2 { animation-name: ai-rd-b; }

  .ai[data-icon="pencil"] { --ai-t: 600ms; }
  .ai[data-icon="pencil"].is-play .ai-pen { animation-name: ai-pen; transform-box: view-box; transform-origin: 3.6px 20.4px; }
  .ai[data-icon="pencil"].is-play .ai-ink { animation-name: ai-ink; }

  .ai[data-icon="film"] { --ai-t: 600ms; }
  .ai[data-icon="film"].is-play .ai-holes { animation-name: ai-film; }
  .ai[data-icon="film"].is-play .ai-h1 { animation-name: ai-fade-out; }
  .ai[data-icon="film"].is-play .ai-h4 { animation-name: ai-fade-in; }

  .ai[data-icon="cube"] { --ai-t: 600ms; }
  .ai[data-icon="cube"].is-play .ai-la { animation-name: ai-cube-l; transform-origin: 0 50%; }
  .ai[data-icon="cube"].is-play .ai-ra { animation-name: ai-cube-r; transform-origin: 100% 50%; }
  .ai[data-icon="cube"].is-play .ai-edge { animation-name: ai-cube-e; }

  .ai[data-icon="shapes"] { --ai-t: 600ms; }
  .ai[data-icon="shapes"].is-play .ai-sq { animation-name: ai-quarter-a; }
  .ai[data-icon="shapes"].is-play .ai-ci { animation-name: ai-hop; }
  .ai[data-icon="shapes"].is-play .ai-tr { animation-name: ai-squeeze; }

  .ai[data-icon="type"].is-play .ai-bar { animation-name: ai-type-bar; }
  .ai[data-icon="type"].is-play .ai-stem { animation-name: ai-rd-a; }
  .ai[data-icon="type"].is-play .ai-foot { animation-name: ai-rd-c; }

  .ai[data-icon="chart"] { --ai-t: 600ms; }
  .ai[data-icon="chart"].is-play :is(.ai-b1, .ai-b2, .ai-b3) { transform-origin: 50% 100%; }
  .ai[data-icon="chart"].is-play .ai-b1 { animation-name: ai-bar-1; }
  .ai[data-icon="chart"].is-play .ai-b2 { animation-name: ai-bar-2; }
  .ai[data-icon="chart"].is-play .ai-b3 { animation-name: ai-bar-3; }

  .ai[data-icon="wave"] { --ai-t: 600ms; }
  .ai[data-icon="wave"].is-play .ai-w1 { animation-name: ai-eq-1; }
  .ai[data-icon="wave"].is-play .ai-w2 { animation-name: ai-eq-2; }
  .ai[data-icon="wave"].is-play .ai-w3 { animation-name: ai-eq-3; }
  .ai[data-icon="wave"].is-play .ai-w4 { animation-name: ai-eq-4; }
  .ai[data-icon="wave"].is-play .ai-w5 { animation-name: ai-eq-5; }

  .ai[data-icon="music"] { --ai-t: 600ms; }
  .ai[data-icon="music"].is-play .ai-note { animation-name: ai-music; transform-box: view-box; transform-origin: 13px 20px; }

  .ai[data-icon="mic"] { --ai-t: 600ms; }
  .ai[data-icon="mic"].is-play .ai-cap { animation-name: ai-mic; }
  .ai[data-icon="mic"].is-play .ai-gl { animation-name: ai-mic-l; }
  .ai[data-icon="mic"].is-play .ai-gr { animation-name: ai-mic-r; }

  .ai[data-icon="captions"] { --ai-t: 600ms; }
  .ai[data-icon="captions"].is-play .ai-c1 { animation-name: ai-rd-a; }
  .ai[data-icon="captions"].is-play .ai-c2 { animation-name: ai-rd-b; }
  .ai[data-icon="captions"].is-play .ai-c3 { animation-name: ai-rd-c; }
  .ai[data-icon="captions"].is-play .ai-c4 { animation-name: ai-rd-d; }

  .ai[data-icon="scissors"].is-play :is(.ai-ba, .ai-bb) { transform-box: view-box; transform-origin: 12.6px 12px; }
  .ai[data-icon="scissors"].is-play .ai-ba { animation-name: ai-snip-a; }
  .ai[data-icon="scissors"].is-play .ai-bb { animation-name: ai-snip-b; }

  /* versions */
  .ai[data-icon="branch"] { --ai-t: 600ms; }
  .ai[data-icon="branch"].is-play .ai-br { animation-name: ai-rd-a; }
  .ai[data-icon="branch"].is-play .ai-nd { animation-name: ai-pop-late; }

  .ai[data-icon="commit"].is-play .ai-nd { animation-name: ai-pulse; }
  .ai[data-icon="commit"].is-play :is(.ai-l, .ai-r) { animation-name: ai-rd-b; }

  .ai[data-icon="history"] { --ai-t: 600ms; }
  .ai[data-icon="history"].is-play :is(.ai-loop, .ai-hands) { transform-box: view-box; transform-origin: 12px 12px; }
  .ai[data-icon="history"].is-play .ai-hands { animation-name: ai-rewind; }
  .ai[data-icon="history"].is-play .ai-loop { animation-name: ai-history; }

  .ai[data-icon="compare"] { --ai-t: 600ms; }
  .ai[data-icon="compare"].is-play .ai-div { animation-name: ai-compare; }

  /* plans */
  .ai[data-icon="download"] { --ai-t: 600ms; }
  .ai[data-icon="download"].is-play .ai-go { animation-name: ai-drop; }
  .ai[data-icon="download"].is-play .ai-tray { animation-name: ai-tray; }

  .ai[data-icon="gpu"] { --ai-t: 600ms; }
  .ai[data-icon="gpu"].is-play .ai-fan { animation-name: ai-spin; animation-timing-function: cubic-bezier(.45, .05, .2, 1); }

  .ai[data-icon="cpu"] { --ai-t: 600ms; }
  .ai[data-icon="cpu"].is-play .ai-die { animation-name: ai-pulse; }
  .ai[data-icon="cpu"].is-play .ai-pt { animation-name: ai-pin-t; }
  .ai[data-icon="cpu"].is-play .ai-pr { animation-name: ai-pin-r; }
  .ai[data-icon="cpu"].is-play .ai-pb { animation-name: ai-pin-b; }
  .ai[data-icon="cpu"].is-play .ai-pl { animation-name: ai-pin-l; }

  .ai[data-icon="layers"].is-play .ai-top { animation-name: ai-lift; }
  .ai[data-icon="layers"].is-play .ai-bot { animation-name: ai-sink; }

  .ai[data-icon="gauge"] { --ai-t: 600ms; }
  .ai[data-icon="gauge"].is-play .ai-nd { animation-name: ai-needle; transform-box: view-box; transform-origin: 12px 14px; }

  .ai[data-icon="library"] { --ai-t: 600ms; }
  .ai[data-icon="library"].is-play .ai-lean { animation-name: ai-lean; transform-box: view-box; transform-origin: 17.45px 20px; }

  .ai[data-icon="database"].is-play .ai-top { animation-name: ai-db-top; }
  .ai[data-icon="database"].is-play .ai-mid { animation-name: ai-db-mid; }

  .ai[data-icon="coins"] { --ai-t: 600ms; }
  .ai[data-icon="coins"].is-play .ai-coin { animation-name: ai-coin; }
  .ai[data-icon="coins"].is-play .ai-stack { animation-name: ai-coin-stack; }

  .ai[data-icon="lifebuoy"] { --ai-t: 600ms; }
  .ai[data-icon="lifebuoy"].is-play .ai-bands { animation-name: ai-quarter; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }

  .ai[data-icon="users"].is-play .ai-two { animation-name: ai-bob; }
  .ai[data-icon="users"].is-play .ai-h1 { animation-name: ai-bob-late; }

  .ai[data-icon="briefcase"].is-play .ai-case { animation-name: ai-case; transform-box: view-box; transform-origin: 12px 4px; }

  .ai[data-icon="shield"].is-play .ai-sh { animation-name: ai-press; }
  .ai[data-icon="shield"].is-play .ai-ck { animation-name: ai-rd-b; }

  .ai[data-icon="lock"] { --ai-t: 600ms; }
  .ai[data-icon="lock"].is-play .ai-sk { animation-name: ai-shackle; }
  .ai[data-icon="lock"].is-play .ai-bd { animation-name: ai-lock-body; }

  .ai[data-icon="infinity"] { --ai-t: 600ms; }
  .ai[data-icon="infinity"].is-play .ai-inf { animation-name: ai-dim; }
  .ai[data-icon="infinity"].is-play .ai-run { animation-name: ai-run; }

  .ai[data-icon="calendar"].is-play .ai-r1 { animation-name: ai-ring-1; }
  .ai[data-icon="calendar"].is-play .ai-r2 { animation-name: ai-ring-2; }
  .ai[data-icon="calendar"].is-play .ai-day { animation-name: ai-pulse-late; }

  .ai[data-icon="clock"] { --ai-t: 600ms; }
  .ai[data-icon="clock"].is-play .ai-mn { animation-name: ai-sweep; transform-box: view-box; transform-origin: 12px 12px; }

  .ai[data-icon="question"].is-play .ai-q { animation-name: ai-tilt; transform-box: view-box; transform-origin: 12px 17.25px; }

  .ai[data-icon="receipt"] { --ai-t: 600ms; }
  .ai[data-icon="receipt"].is-play .ai-paper { animation-name: ai-lift-s; }
  .ai[data-icon="receipt"].is-play .ai-l1 { animation-name: ai-rd-a; }
  .ai[data-icon="receipt"].is-play .ai-l2 { animation-name: ai-rd-b; }
  .ai[data-icon="receipt"].is-play .ai-l3 { animation-name: ai-rd-c; }
}

/* ---- keyframes ---- */
@keyframes ai-draw {
  from { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
  15% { opacity: 1; }
  to { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; }
}
/* drawing a part again, in a window of the play: a whole, a (0-60%), b (25-80%), c (45-100%), d (65-100%) */
@keyframes ai-rd { from { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation-timing-function: cubic-bezier(.3, .7, .4, 1); } 6% { opacity: 1; } to { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; } }
@keyframes ai-rd-a { 0% { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation-timing-function: cubic-bezier(.3, .7, .4, 1); } 4% { opacity: 1; } 60%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; } }
@keyframes ai-rd-b { 0%, 25% { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation-timing-function: cubic-bezier(.3, .7, .4, 1); } 29% { opacity: 1; } 80%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; } }
@keyframes ai-rd-c { 0%, 45% { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation-timing-function: cubic-bezier(.3, .7, .4, 1); } 49% { opacity: 1; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; } }
@keyframes ai-rd-d { 0%, 65% { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation-timing-function: cubic-bezier(.3, .7, .4, 1); } 69% { opacity: 1; } 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; } }

@keyframes ai-play { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translateX(1.5px) scale(.84); } 100% { transform: none; } }
@keyframes ai-pause-l { 0% { transform: none; } 35% { transform: scaleY(.7); } 70%, 100% { transform: none; } }
@keyframes ai-pause-r { 0%, 20% { transform: none; } 55% { transform: scaleY(.7); } 90%, 100% { transform: none; } }
@keyframes ai-spk { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 18% { transform: scale(.9); } 55%, 100% { transform: none; } }
@keyframes ai-wave-1 { 0% { opacity: 1; transform: none; } 22% { opacity: 0; transform: translateX(-2px); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 60%, 100% { opacity: 1; transform: none; } }
@keyframes ai-wave-2 { 0%, 14% { opacity: 1; transform: none; } 38% { opacity: 0; transform: translateX(-2.5px); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 85%, 100% { opacity: 1; transform: none; } }
@keyframes ai-ex-tl { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translate(-1.5px, -1.5px); } 100% { transform: none; } }
@keyframes ai-ex-tr { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translate(1.5px, -1.5px); } 100% { transform: none; } }
@keyframes ai-ex-br { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translate(1.5px, 1.5px); } 100% { transform: none; } }
@keyframes ai-ex-bl { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translate(-1.5px, 1.5px); } 100% { transform: none; } }
@keyframes ai-nudge-r { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 32% { transform: translateX(3px); } 100% { transform: none; } }
@keyframes ai-nudge-l { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 32% { transform: translateX(-3px); } 100% { transform: none; } }
@keyframes ai-nudge-r-s { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translateX(2.5px); } 100% { transform: none; } }
@keyframes ai-nudge-d-s { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translateY(2.5px); } 100% { transform: none; } }
@keyframes ai-quarter { from { transform: none; } to { transform: rotate(90deg); } }
@keyframes ai-copy-f { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translate(1.5px, 1.5px); } 100% { transform: none; } }
@keyframes ai-copy-b { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translate(-1px, -1px); } 100% { transform: none; } }
@keyframes ai-mail { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translateY(-1.5px) rotate(-5deg); } 100% { transform: none; } }
@keyframes ai-flap { 0%, 15% { transform: none; } 45% { transform: scaleY(.6); } 85%, 100% { transform: none; } }
@keyframes ai-ext { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translate(2px, -2px); } 100% { transform: none; } }
@keyframes ai-term-pr { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 28% { transform: translateX(1.5px); } 60%, 100% { transform: none; } }
@keyframes ai-term-cur {
  0%, 15% { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation-timing-function: cubic-bezier(.3, .7, .4, 1); }
  18% { opacity: 1; }
  55% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; animation-timing-function: steps(1, end); }
  70% { opacity: 0; animation-timing-function: steps(1, end); }
  85%, 100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; }
}
@keyframes ai-msg { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 30% { transform: scale(.93); } 100% { transform: none; } }
@keyframes ai-pen { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 30% { transform: translateX(1.5px) rotate(-7deg); } 60% { transform: translateX(3px) rotate(2deg); } 100% { transform: none; } }
@keyframes ai-ink {
  0%, 8% { stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(.3, .7, .4, 1); }
  60% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 1; }
  75% { opacity: 1; }
  100% { stroke-dasharray: 1 1; stroke-dashoffset: 0; opacity: 0; }
}
@keyframes ai-film { from { transform: none; } to { transform: translateY(-4px); } }
@keyframes ai-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ai-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ai-cube-l { 0%, 100% { transform: none; } 45% { transform: scaleX(1.3); } }
@keyframes ai-cube-r { 0%, 100% { transform: none; } 45% { transform: scaleX(.7); } }
@keyframes ai-cube-e { 0%, 100% { transform: none; } 45% { transform: translateX(2.24px); } }
@keyframes ai-quarter-a { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 55%, 100% { transform: rotate(90deg); } }
@keyframes ai-hop { 0%, 10% { transform: none; } 40% { transform: translateY(-2.5px); } 75%, 100% { transform: none; } }
@keyframes ai-squeeze { 0%, 25% { transform: none; } 55% { transform: scale(.8); } 100% { transform: none; } }
@keyframes ai-type-bar { 0% { transform: none; } 35% { transform: scaleX(1.1); } 100% { transform: none; } }
@keyframes ai-bar-1 { 0% { transform: none; } 30% { transform: scaleY(.3); } 70%, 100% { transform: none; } }
@keyframes ai-bar-2 { 0%, 10% { transform: none; } 40% { transform: scaleY(.3); } 80%, 100% { transform: none; } }
@keyframes ai-bar-3 { 0%, 20% { transform: none; } 50% { transform: scaleY(.3); } 90%, 100% { transform: none; } }
@keyframes ai-eq-1 { 0%, 100% { transform: none; } 30% { transform: scaleY(2.2); } 65% { transform: scaleY(.8); } }
@keyframes ai-eq-2 { 0%, 100% { transform: none; } 25% { transform: scaleY(.5); } 60% { transform: scaleY(1.3); } }
@keyframes ai-eq-3 { 0%, 100% { transform: none; } 35% { transform: scaleY(.55); } 70% { transform: scaleY(1.05); } }
@keyframes ai-eq-4 { 0%, 100% { transform: none; } 20% { transform: scaleY(1.5); } 55% { transform: scaleY(.6); } }
@keyframes ai-eq-5 { 0%, 100% { transform: none; } 40% { transform: scaleY(2.5); } 75% { transform: scaleY(.9); } }
@keyframes ai-music { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 30% { transform: translateY(-1px) rotate(-8deg); } 65% { transform: rotate(4deg); } 100% { transform: none; } }
@keyframes ai-mic { 0% { transform: none; } 30% { transform: translateY(-1px); } 60%, 100% { transform: none; } }
@keyframes ai-mic-l { 0% { opacity: 0; transform: translateX(1.5px); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(-1px); } }
@keyframes ai-mic-r { 0% { opacity: 0; transform: translateX(-1.5px); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(1px); } }
@keyframes ai-snip-a { 0%, 45%, 100% { transform: none; } 22%, 67% { transform: rotate(-18deg); } }
@keyframes ai-snip-b { 0%, 45%, 100% { transform: none; } 22%, 67% { transform: rotate(18deg); } }
@keyframes ai-pop-late { 0%, 45% { transform: scale(0); animation-timing-function: cubic-bezier(.3, .7, .4, 1); } 75% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes ai-pulse { 0% { transform: none; } 30% { transform: scale(.65); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 65% { transform: scale(1.1); } 100% { transform: none; } }
@keyframes ai-pulse-late { 0%, 15% { transform: none; } 40% { transform: scale(.4); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 75% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes ai-rewind { from { transform: none; } to { transform: rotate(-360deg); } }
@keyframes ai-history { 0% { transform: none; } 35% { transform: rotate(-25deg); } 100% { transform: none; } }
@keyframes ai-compare { 0% { transform: none; } 30% { transform: translateX(-3.5px); } 70% { transform: translateX(3px); } 100% { transform: none; } }
@keyframes ai-drop {
  0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .75, 0); }
  40% { transform: translateY(5px); opacity: 0; }
  41% { transform: translateY(-6px); opacity: 0; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  100% { transform: none; opacity: 1; }
}
@keyframes ai-tray { 0%, 34% { transform: none; } 46% { transform: translateY(1px); } 72%, 100% { transform: none; } }
@keyframes ai-spin { from { transform: none; } to { transform: rotate(540deg); } }
@keyframes ai-pin-t { 0% { transform: none; } 15% { transform: translateY(-1.25px); } 35%, 100% { transform: none; } }
@keyframes ai-pin-r { 0%, 15% { transform: none; } 30% { transform: translateX(1.25px); } 50%, 100% { transform: none; } }
@keyframes ai-pin-b { 0%, 30% { transform: none; } 45% { transform: translateY(1.25px); } 65%, 100% { transform: none; } }
@keyframes ai-pin-l { 0%, 45% { transform: none; } 60% { transform: translateX(-1.25px); } 80%, 100% { transform: none; } }
@keyframes ai-lift { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translateY(-1.75px); } 100% { transform: none; } }
@keyframes ai-sink { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 40% { transform: translateY(1.75px); } 100% { transform: none; } }
@keyframes ai-lift-s { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translateY(-1.25px); } 100% { transform: none; } }
@keyframes ai-needle { 0% { transform: none; animation-timing-function: cubic-bezier(.3, .7, .4, 1); } 30% { transform: rotate(-75deg); } 65% { transform: rotate(14deg); } 100% { transform: none; } }
@keyframes ai-lean {
  0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  40% { transform: rotate(18deg); }
  52% { transform: rotate(18deg); animation-timing-function: cubic-bezier(.55, 0, .8, .3); }
  84% { transform: rotate(-1.5deg); }
  100% { transform: none; }
}
@keyframes ai-db-top { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translateY(-2px); } 100% { transform: none; } }
@keyframes ai-db-mid { 0%, 10% { transform: none; } 45% { transform: translateY(-.75px); } 100% { transform: none; } }
@keyframes ai-coin {
  0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.5, 0, .75, 0); }
  40% { transform: translateY(8px) scaleY(.3); opacity: 0; }
  41% { transform: translateY(-5px); opacity: 0; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  100% { transform: none; opacity: 1; }
}
@keyframes ai-coin-stack { 0%, 36% { transform: none; } 46% { transform: translateY(.75px); } 70%, 100% { transform: none; } }
@keyframes ai-bob { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translateY(-1.75px); } 70%, 100% { transform: none; } }
@keyframes ai-bob-late { 0%, 20% { transform: none; } 50% { transform: translateY(-1px); } 85%, 100% { transform: none; } }
@keyframes ai-case { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 35% { transform: translateY(-1.5px) rotate(-4deg); } 70% { transform: translateY(.2px) rotate(1deg); } 100% { transform: none; } }
@keyframes ai-press { 0% { transform: none; } 30% { transform: scale(.92); } 100% { transform: none; } }
@keyframes ai-shackle {
  0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  30% { transform: translateY(-2.5px); }
  50% { transform: translateY(-2.5px); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
  70% { transform: translateY(.4px); }
  100% { transform: none; }
}
@keyframes ai-lock-body { 0%, 66% { transform: none; } 76% { transform: translateY(.6px); } 100% { transform: none; } }
@keyframes ai-dim { 0%, 100% { opacity: 1; } 20%, 80% { opacity: .3; } }
@keyframes ai-run {
  0% { stroke-dasharray: .2 .8; stroke-dashoffset: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { stroke-dasharray: .2 .8; stroke-dashoffset: -1; opacity: 0; }
}
@keyframes ai-ring-1 { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 25% { transform: translateY(-1.5px); } 55%, 100% { transform: none; } }
@keyframes ai-ring-2 { 0%, 12% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 37% { transform: translateY(-1.5px); } 67%, 100% { transform: none; } }
@keyframes ai-sweep { from { transform: none; } to { transform: rotate(360deg); } }
@keyframes ai-tilt { 0% { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 30% { transform: rotate(-12deg); } 70% { transform: rotate(6deg); } 100% { transform: none; } }
