/* Loaded on the Labs hub. Text stays visible throughout each cue. */
#faq .lab-faq-heading {
  display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;
}
#faq .lab-faq-heading h2 {margin:0}
.lab-dialogue {position:relative;flex:0 0 96px;height:64px;color:var(--lab-plum)}
.lab-dialogue span {
  position:absolute;box-sizing:border-box;border:1.5px solid currentColor;
  background:var(--series-panel);border-radius:13px 13px 13px 3px;
}
.lab-dialogue-question {
  left:0;top:2px;width:57px;height:35px;display:flex;gap:4px;align-items:center;justify-content:center;
}
.lab-dialogue-question i {width:5px;height:5px;border-radius:50%;background:currentColor}
.lab-dialogue .lab-dialogue-reply {
  right:2px;bottom:3px;width:53px;height:33px;color:var(--lab-gold);border-radius:12px 12px 3px 12px;
}
.lab-dialogue-reply::before,.lab-dialogue-reply::after {
  content:"";position:absolute;left:10px;top:10px;width:29px;height:2px;background:currentColor;
  border-radius:2px;transform-origin:left;
}
.lab-dialogue-reply::after {top:18px;width:18px}
#series-page #main-content #faq .series-answer {
  position:relative;padding-inline-start:clamp(23px,2.4vw,34px);
}
#faq .series-answer::before {
  content:"";position:absolute;left:8px;top:22px;width:3px;height:32px;
  border-radius:8px;background:linear-gradient(var(--lab-plum),var(--lab-gold));transform-origin:top;
}
#formats tbody td:first-child {position:relative}
#formats tbody td:first-child::after {
  content:"";display:block;margin-top:9px;width:clamp(30px,55%,92px);height:3px;border-radius:4px;
  background:linear-gradient(90deg,var(--lab-gold),var(--lab-plum));transform-origin:left;
}
.lab-offer-detail strong {display:table;position:relative}
.lab-offer-detail strong::after {
  content:"";position:absolute;bottom:-5px;left:0;width:100%;height:3px;border-radius:4px;
  background:linear-gradient(90deg,var(--lab-gold),transparent);transform-origin:left;
}
@media(prefers-reduced-motion:no-preference) {
  .lab-in-view .lab-dialogue-question i {animation:lab-typing 3.8s ease-in-out infinite}
  .lab-in-view .lab-dialogue-question i:nth-child(2) {animation-delay:.18s}
  .lab-in-view .lab-dialogue-question i:nth-child(3) {animation-delay:.36s}
  .lab-in-view .lab-dialogue-reply {animation:lab-reply 3.8s ease-in-out infinite}
  .lab-in-view .lab-dialogue-reply::before,.lab-in-view .lab-dialogue-reply::after {animation:lab-write 3.8s ease-in-out infinite}
  .lab-in-view .lab-dialogue-reply::after {animation-delay:.2s}
  #faq .series-answer.lab-in-view::before {animation:lab-question-in .75s ease-out both}
  #faq .series-answer.lab-in-view {animation:lab-answer-in .48s ease-out both}
  #formats .lab-in-view tr td:first-child::after {animation:lab-format-trace 5.4s ease-in-out infinite}
  #formats .lab-in-view tr:nth-child(2) td:first-child::after {animation-delay:.65s}
  #formats .lab-in-view tr:nth-child(3) td:first-child::after {animation-delay:1.3s}
  .lab-in-view .lab-offer-detail:not([hidden]) strong::after {animation:lab-price-stroke .8s ease-out both}
  .lab-in-view .lab-offer-detail:not([hidden]) {animation:lab-answer-in .45s ease-out both}
  #learn .lab-in-view li::before {animation:lab-step-beacon 5s ease-out infinite}
  #learn .lab-in-view li:nth-child(2)::before {animation-delay:.55s}
  #learn .lab-in-view li:nth-child(3)::before {animation-delay:1.1s}
  #learn .lab-in-view li:nth-child(4)::before {animation-delay:1.65s}
  .lab-resource-notes.lab-in-view .lab-resource {animation:lab-answer-in .55s ease-out both}
  .lab-resource-notes .lab-resource:nth-child(2) {animation-delay:.12s}
  .lab-resource-notes .lab-resource:nth-child(3) {animation-delay:.24s}
  .lab-resource-notes .lab-resource:nth-child(4) {animation-delay:.36s}
}
@keyframes lab-typing {0%,26%,100% {transform:translateY(0)} 13% {transform:translateY(-5px)}}
@keyframes lab-reply {0%,26% {transform:translate(3px,4px)} 50%,100% {transform:translate(0,0)}}
@keyframes lab-write {0%,28% {transform:scaleX(.15);opacity:.45} 58%,100% {transform:scaleX(1);opacity:1}}
@keyframes lab-question-in {from {transform:scaleY(.12)} to {transform:scaleY(1)}}
@keyframes lab-answer-in {from {transform:translateY(9px);opacity:.78} to {transform:translateY(0);opacity:1}}
@keyframes lab-format-trace {0%,100% {transform:scaleX(.34);opacity:.55} 35%,65% {transform:scaleX(1);opacity:1}}
@keyframes lab-price-stroke {from {transform:scaleX(.08)} to {transform:scaleX(1)}}
@keyframes lab-step-beacon {
  0%,60%,100% {box-shadow:0 0 0 0 transparent}
  16% {box-shadow:0 0 0 5px color-mix(in srgb,var(--lab-gold) 35%,transparent)}
  42% {box-shadow:0 0 0 11px transparent}
}
