/* Caption style chips: each animated (engine) style's label wears a still of its own look, in its own face.
   Used by the dashboard composer and the clip editor's Captions panel. --cl-acc = the picked caption colour. */
.cl-name{display:inline-block;line-height:1.05;white-space:nowrap;color:#fff;letter-spacing:.01em;font-weight:700}
[data-cl="quiet"] .cl-name{font-family:'Geist','Inter',system-ui,sans-serif;font-weight:650;text-transform:none;letter-spacing:-.01em;font-size:.95em;
  text-shadow:0 1px 6px rgba(0,0,0,.9)}
[data-cl="clean"] .cl-name{font-family:'Poppins',sans-serif;font-weight:800;text-transform:none;
  background:linear-gradient(90deg,#fff 58%,rgba(255,255,255,.5) 58%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
[data-cl="punchy"] .cl-name{font-family:'Poppins',sans-serif;font-weight:800;text-transform:uppercase;font-size:1.04em;color:var(--cl-acc,#ffd200);
  -webkit-text-stroke:.07em #000;paint-order:stroke fill;text-shadow:.06em .06em 0 #000}
[data-cl="slam"] .cl-name{font-family:'Anton',sans-serif;font-weight:400;text-transform:uppercase;font-size:1.16em;letter-spacing:.03em;
  transform:rotate(-4deg);text-shadow:0 .06em 0 rgba(0,0,0,.55),0 0 .3em rgba(0,0,0,.6)}
[data-cl="bubble"] .cl-name{font-family:'Poppins',sans-serif;font-weight:800;text-transform:none;color:#16171c;background:#f1f0f4;
  border-radius:.6em;padding:.2em .42em .24em;box-shadow:0 .12em .4em rgba(0,0,0,.35)}
[data-cl="marker"] .cl-name{font-family:'Montserrat',sans-serif;font-weight:900;text-transform:none;font-size:.95em;
  background:var(--cl-acc,#ffd200);border-radius:.16em;padding:.1em .16em;color:#0b0d12}
[data-cl="sweep"] .cl-name{font-family:'Montserrat',sans-serif;font-weight:900;text-transform:none;font-size:.95em;
  background:linear-gradient(90deg,var(--cl-acc,#ffd200) 50%,#fff 66%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.8))}
[data-cl="neon"] .cl-name{font-family:'Outfit',sans-serif;font-weight:800;text-transform:none;color:#fff;-webkit-text-stroke:.03em var(--cl-acc,#ffd200);
  text-shadow:0 0 .12em var(--cl-acc,#ffd200),0 0 .4em var(--cl-acc,#ffd200)}
[data-cl="editorial"] .cl-name{font-family:'Geist',system-ui,sans-serif;font-weight:600;text-transform:none}
[data-cl="editorial"] .cl-name b{font-family:'Playfair Display',serif;font-weight:900;font-size:1.04em;color:var(--cl-acc,#ffd200);line-height:.8}
[data-cl="weight"] .cl-name{font-family:'Geist',system-ui,sans-serif;text-transform:none;font-weight:300}
[data-cl="weight"] .cl-name b{font-weight:800}
[data-cl="wipe"] .cl-name{font-family:'Poppins',sans-serif;font-weight:800;text-transform:none;-webkit-text-stroke:.08em #000;paint-order:stroke fill;
  -webkit-mask:linear-gradient(90deg,#000 66%,rgba(0,0,0,.22) 66%);mask:linear-gradient(90deg,#000 66%,rgba(0,0,0,.22) 66%)}
[data-cl="glitch"] .cl-name{font-family:'Space Grotesk',sans-serif;font-weight:700;text-transform:none;
  text-shadow:-.09em 0 #ff1f4b,.09em 0 #18e4ff,0 1px 4px rgba(0,0,0,.8)}
/* black captions: keep the accent-coloured labels readable on a dark chip */
.cl-dark [data-cl="punchy"] .cl-name{color:#fff}
.cl-dark [data-cl="marker"] .cl-name{background:#d6dae3}
.cl-dark [data-cl="sweep"] .cl-name{background-image:linear-gradient(90deg,#8a90a0 50%,#fff 66%)}
.cl-dark [data-cl="neon"] .cl-name{-webkit-text-stroke-color:#8a90a0;text-shadow:0 0 .3em rgba(255,255,255,.35)}
.cl-dark [data-cl="editorial"] .cl-name b{color:#c9ced8}
/* the "New" tag on the Animated group */
.cl-new{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.2;
  text-transform:none;color:#04121f;background:linear-gradient(90deg,#5fd0ff,#3d7bff);vertical-align:1px}
/* The chips MOVE the way their style does (owner, Nov 14 2026: "the animated captions are not animated" on the
   clipping view; the chips were stills): looping while the chip is picked or under the pointer, a still otherwise
   and under reduced motion. Only transform / opacity / background-position / filter / mask move (cheap), and only the
   label inside the chip, so no chip changes size. Classic styles' chips are untouched. */
@keyframes cl-pop{0%,100%{transform:scale(1)}18%{transform:scale(1.14)}36%{transform:scale(1)}}
@keyframes cl-slam{0%,40%,100%{transform:rotate(-4deg) scale(1)}8%{transform:rotate(-4deg) scale(1.45);opacity:.2}18%{transform:rotate(-4deg) scale(.94);opacity:1}26%{transform:rotate(-4deg) scale(1.03)}}
@keyframes cl-sweep{0%{background-position:100% 0}60%,100%{background-position:0 0}}
@keyframes cl-glow{0%,100%{filter:brightness(.8)}50%{filter:brightness(1.35)}}
@keyframes cl-wipe{0%{-webkit-mask-position:100% 0;mask-position:100% 0}65%,100%{-webkit-mask-position:0 0;mask-position:0 0}}
@keyframes cl-glitch{0%,62%,100%{transform:none}64%{transform:translate(-.06em,.02em) skewX(-6deg)}67%{transform:translate(.06em,-.02em)}70%{transform:none}}
@keyframes cl-fade{0%,100%{opacity:.55}45%{opacity:1}}
@keyframes cl-mark{0%{background-size:0 100%}45%,100%{background-size:100% 100%}}
@keyframes cl-weight{0%,100%{letter-spacing:.01em}50%{letter-spacing:.06em}}
button[data-cl][data-cl="sweep"] .cl-name{background-size:300% 100%;background-image:linear-gradient(90deg,var(--cl-acc,#ffd200) 33%,#fff 50%)}
.cl-dark button[data-cl][data-cl="sweep"] .cl-name{background-image:linear-gradient(90deg,#8a90a0 33%,#fff 50%)}
button[data-cl][data-cl="wipe"] .cl-name{-webkit-mask-size:300% 100%;mask-size:300% 100%;-webkit-mask-image:linear-gradient(90deg,#000 33%,rgba(0,0,0,.22) 50%);mask-image:linear-gradient(90deg,#000 33%,rgba(0,0,0,.22) 50%)}
button[data-cl][data-cl="marker"] .cl-name{background-repeat:no-repeat;background-image:linear-gradient(var(--cl-acc,#ffd200),var(--cl-acc,#ffd200));background-color:transparent;color:#0b0d12}
.cl-dark button[data-cl][data-cl="marker"] .cl-name{background-image:linear-gradient(#d6dae3,#d6dae3)}
@media (prefers-reduced-motion:no-preference){
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="punchy"] .cl-name,
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="bubble"] .cl-name,
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="editorial"] .cl-name{animation:cl-pop 1.6s ease-in-out infinite}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="slam"] .cl-name{animation:cl-slam 1.8s ease-out infinite}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="sweep"] .cl-name,
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="clean"] .cl-name{animation:cl-sweep 1.8s linear infinite;background-size:300% 100%}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="neon"] .cl-name{animation:cl-glow 1.4s ease-in-out infinite}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="wipe"] .cl-name{animation:cl-wipe 1.8s ease-out infinite}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="glitch"] .cl-name{animation:cl-glitch 1.5s steps(1,end) infinite}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="quiet"] .cl-name{animation:cl-fade 2s ease-in-out infinite}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="marker"] .cl-name{animation:cl-mark 1.6s ease-out infinite}
  :is(button[data-cl][aria-pressed="true"],button[data-cl].selected,button[data-cl]:hover)[data-cl="weight"] .cl-name{animation:cl-weight 1.8s ease-in-out infinite}
}
button[data-cl]:not([aria-pressed="true"]):not(.selected):not(:hover)[data-cl="marker"] .cl-name{background-size:100% 100%}
button[data-cl]:not([aria-pressed="true"]):not(.selected):not(:hover)[data-cl="sweep"] .cl-name{background-position:33% 0}
button[data-cl]:not([aria-pressed="true"]):not(.selected):not(:hover)[data-cl="wipe"] .cl-name{-webkit-mask-position:33% 0;mask-position:33% 0}
