/* Section visuals for /guides/bring-viewers-on-air-live-ama/ only.
   Builds on .guide-figure in site.css. Motion runs once when a figure scrolls into
   view (bring-viewers-on-air-live-ama.js adds .oa-motion and .oa-play); without JS
   or under prefers-reduced-motion every figure shows its final, static frame. */
.oa-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:center}
.oa-grid svg{display:block;width:100%;max-width:400px;height:auto;margin-inline:auto}
@media(min-width:701px){.oa-grid.two{grid-template-columns:1fr 1fr;gap:22px}}

.guide-figure .oa-notes{list-style:none;margin:0 auto;padding:0;max-width:400px;counter-reset:oa}
.guide-figure .oa-notes li{counter-increment:oa;position:relative;margin:0;padding-left:38px;font-size:15px;line-height:1.55;color:#fff0ca}
.guide-figure .oa-notes li+li{margin-top:14px}
.guide-figure .oa-notes li::before{content:counter(oa);position:absolute;left:0;top:0;width:25px;height:25px;border-radius:50%;background:#f69e82;color:#2e1845;font-weight:700;font-size:13.5px;line-height:25px;text-align:center}
.guide-figure .oa-notes strong{color:#fff0ca}
.guide-figure .oa-notes span{color:#cfc6f2}

.oa-replay{display:block;margin:14px auto 0;padding:6px 14px;border:1.5px solid #a69ae5;border-radius:999px;background:transparent;color:#fff0ca;font:600 13.5px/1.2 var(--sans);cursor:pointer}
.oa-replay:hover,.oa-replay:focus-visible{background:#a69ae533}
.oa-replay:focus-visible{outline:2px solid #f69e82;outline-offset:2px}
.oa-replay[hidden]{display:none}

/* motion: paused on its first frame until in view, then runs once and rests */
.oa-motion :where(.oa-anim .oa-a){animation-duration:1s;animation-timing-function:cubic-bezier(.2,.7,.2,1);animation-fill-mode:both;animation-play-state:paused}
.oa-motion .oa-anim.oa-play .oa-a{animation-play-state:running}
.oa-anim.oa-reset .oa-a{animation:none!important}
.oa-a{transform-box:fill-box}

/* queue: the third question rises past the second as upvotes come in */
.oa-motion .oa-q-rise{animation-name:oa-rise;animation-duration:1.4s;animation-delay:.5s}
.oa-motion .oa-q-sink{animation-name:oa-sink;animation-duration:1.4s;animation-delay:.5s}
.oa-motion .oa-q-grow{animation-name:oa-grow;animation-duration:1.4s;animation-delay:.2s;transform-origin:0 50%}
.oa-motion .oa-q-pick{animation-name:oa-fade;animation-delay:1.9s}
@keyframes oa-rise{from{transform:translateY(54px)}}
@keyframes oa-sink{from{transform:translateY(-54px)}}
@keyframes oa-grow{from{transform:scaleX(.45)}}
@keyframes oa-fade{from{opacity:0}}

/* draw a line once (paths carry pathLength="1") */
.oa-motion .oa-draw{stroke-dasharray:1;animation-name:oa-draw;animation-timing-function:linear}
@keyframes oa-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.oa-motion .oa-pop{animation-name:oa-pop;transform-origin:50% 50%}
@keyframes oa-pop{from{opacity:0;transform:scale(.6)}}

/* time limit ring fills once, then the check appears */
.oa-motion .oa-ring{animation-name:oa-ring;animation-duration:4.2s;animation-timing-function:ease-in-out}
@keyframes oa-ring{from{stroke-dashoffset:578}to{stroke-dashoffset:0}}

/* backstage pace strips fill left to right */
.oa-motion .oa-fill{animation-name:oa-fill;transform-origin:0 50%;animation-duration:.7s;animation-timing-function:linear}
@keyframes oa-fill{from{transform:scaleX(0)}}

@media print,(prefers-reduced-motion:reduce){.oa-anim .oa-a{animation:none!important}}
