/* AO3 AI composer reference-mark motion (calmer 4.2s / 2.1s; homepage + AI Studio)
   Consolidated by Claude from the owner-approved handoff AO3-Studio-Contact-FINAL-v106 (its integration/*-approved-reference.css cascade,
   in the same order). Only rules that can never apply were removed (selectors needing a class/id/element absent from this
   page and its scripts; declarations overridden later by the same selector in the same context; unused or redefined
   keyframes). "from x.css" marks the original source file of each run of rules. */
/* from ai-logo-motion.css */
#ai .ao3-reference-tile{overflow:visible}
#ai.ai-lab .ao3-composer.is-writing .ao3-reference-mark .mark-triangle{animation:ao3PlayTriangle 4.2s cubic-bezier(.4,0,.2,1) infinite}
#ai.ai-lab .ao3-composer.is-writing .ao3-reference-mark .mark-circle{animation:ao3PlayCircle 4.2s .12s cubic-bezier(.4,0,.2,1) infinite}
#ai.ai-lab .ao3-composer.is-writing .ao3-reference-mark .mark-bars{animation:ao3PlayBarsTilt 4.2s .2s ease-in-out infinite}
#ai.ai-lab .ao3-composer.is-writing .ao3-reference-mark .mark-bars rect{animation:ao3PlayBar 2.1s cubic-bezier(.4,0,.2,1) infinite}
#ai.ai-lab .ao3-composer.is-writing .ao3-reference-mark .mark-bars rect:nth-child(2){animation-delay:.14s}
#ai.ai-lab .ao3-composer.is-writing .ao3-reference-mark .mark-bars rect:nth-child(3){animation-delay:.28s}
@keyframes ao3PlayTriangle{0%,100%{color:#fff;transform:translate(0,0) rotate(0) scale(1)}10%{color:#fff;transform:translate(0,2.75px) rotate(-5.5deg) scale(1.028,0.967)}23%{color:#BC1913;transform:translate(-2.2px,-12.65px) rotate(-9.9deg) scale(0.989,1.022)}36%{transform:translate(1.1px,1.65px) rotate(5.5deg) scale(1.033,0.967)}45%{transform:translate(0,-3.85px) rotate(-2.75deg) scale(0.994,1.011)}55%,72%{color:#fff;transform:translate(0,0) rotate(0) scale(1)}82%{transform:translate(0.55px,-3.3px) rotate(6.05deg)}92%{transform:translate(0,0) rotate(-2.75deg)}}
@keyframes ao3PlayCircle{0%,9%,100%{color:#fff;transform:translate(0,0) scale(1)}18%{transform:translate(0,2.75px) scale(1.071,0.928)}32%{color:#BC1913;transform:translate(1.65px,-14.85px) scale(0.956,1.044)}44%{transform:translate(0,2.2px) scale(1.071,0.934)}53%{transform:translate(-1.1px,-4.95px) scale(0.984,1.016)}64%,76%{color:#fff;transform:translate(0,0) scale(1)}86%{transform:translate(1.65px,-3.85px) scale(1.022,0.978)}95%{transform:translate(0,0) scale(1)}}
@keyframes ao3PlayBarsTilt{0%,18%,64%,100%{transform:rotate(0)}30%{transform:rotate(4.95deg)}46%{transform:rotate(-3.3deg)}55%{transform:rotate(1.65deg)}}
@keyframes ao3PlayBar{0%,65%,100%{color:#fff;transform:translateY(0) scale(1)}14%{transform:translateY(1.65px) scale(1.016,0.972)}32%{color:#BC1913;transform:translateY(-10.45px) scale(0.984,1.028)}48%{transform:translateY(1.1px) scale(1.016,0.978)}}
@media(prefers-reduced-motion:reduce){
  #ai .ao3-reference-mark *{animation:none!important;transition:none!important}
}
#ai .ao3-reference-mark .mark-triangle,#ai .ao3-reference-mark .mark-circle,#ai .ao3-reference-mark .mark-bars rect{color:#fff;fill:currentColor;transition:transform .3s ease,color .3s ease}
#ai .ao3-reference-mark .mark-bars rect{transform-box:fill-box;transform-origin:center}
