/* Cue mode (static/cue/cue.js, aio/cue.py): the Hear pill + caption under a section's lead, and the section entrances. Classes only. */
.cue-say{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:14px 0 0}
.v4-center .cue-say,.v4-head.v4-center+.cue-say{justify-content:center}
body.v4 .cue-hear,body.v4 .cue-mute{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px 8px 12px;border-radius:999px;
  font-family:var(--f-head);font-weight:700;font-size:.9375rem;line-height:1;cursor:pointer;border:1px solid rgba(23,35,64,.22);
  background:#ffffff;color:var(--c-navy);transition:border-color .2s var(--ease),background-color .2s var(--ease)}
body.v4 .cue-hear:hover,body.v4 .cue-mute:hover{border-color:var(--c-navy)}
body.v4 .cue-hear:focus-visible,body.v4 .cue-mute:focus-visible{outline:3px solid var(--c-action);outline-offset:2px}
.cue-hear-ic{position:relative;display:inline-block;width:22px;height:22px;border-radius:50%;background:var(--c-action);flex:none}
.cue-hear-ic::before{content:'';position:absolute;left:8px;top:6px;border-style:solid;border-width:5px 0 5px 8px;border-color:transparent transparent transparent #ffffff}
.cue-hear[data-state=pause] .cue-hear-ic::before{left:7px;top:6px;width:8px;height:10px;border:0;border-left:3px solid #ffffff;border-right:3px solid #ffffff}
body.v4 .cue-mute{display:none;padding:8px 14px;font-weight:600;color:var(--c-ink-2)}
html.sound-on body.v4 .cue-mute{display:inline-flex}
/* the caption: the words of the line, shown while it plays (kept for screen readers otherwise) */
.cue-cap{flex-basis:100%;margin:0;font-size:.9375rem;line-height:1.5;color:var(--c-ink-2)}
.cue-cap-line{display:block}
.cue-cap-line b{color:var(--c-navy)}
/* script on: one line at a time (the one playing), in a box that keeps its height so nothing below moves */
.cue-js .cue-cap{min-height:3em;visibility:hidden}
.cue-js .cue-cap-line{display:none}
.cue-js .cue-cap-line.is-now{display:block}
.cue-js.cue-speaking .cue-cap{visibility:visible}
/* night sections: the pill on the dark band */
.v4-band .cue-hear,.v4-band .cue-mute{background:rgba(11,18,34,.55);color:var(--c-night-ink);border-color:rgba(244,241,234,.35)}
.v4-band .cue-cap,.v4-band .cue-cap-line b{color:var(--c-night-ink)}
/* the guide whose line plays */
.v4-cast .v7-guide.is-talking{box-shadow:0 0 0 3px var(--c-ember),var(--shadow-card)}
/* entrances for the voiced parts the site's scroll reveal (v4-rv, static/v4/site.js) does not cover: they rise in once the section scrolls
   into view (JS on, motion allowed); with JS off or reduced motion all stays put */
@media (prefers-reduced-motion:no-preference){
  .cue-js .v6-welcome-copy>*,.cue-js .v7-news-head,.cue-js .v5-formats>li{transition:opacity .6s var(--ease),transform .6s var(--ease)}
  .cue-js:not(.cue-in) .v6-welcome-copy>*,.cue-js:not(.cue-in) .v7-news-head,.cue-js:not(.cue-in) .v5-formats>li{opacity:0;transform:translateY(28px)}
  .cue-js .v6-welcome-copy>*:nth-child(2),.cue-js .v5-formats>li:nth-child(2){transition-delay:.12s}
  .cue-js .v6-welcome-copy>*:nth-child(3){transition-delay:.24s}
  .cue-js .v6-welcome-copy>*:nth-child(n+4){transition-delay:.36s}
}
/* a guide card with a talking portrait: the film fills the stage (face kept in view), no drift, no cut-out over it */
.v4-cast .v9-guide-film .v7-guide-stage{height:380px}
.v4-cast .v9-guide-film .v7-guide-stage::before,.v4-cast .v9-guide-film .v7-guide-stage::after{content:none}
.v4-cast .v7-guide-stage video.cue-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 22%;background:#121b33}
@media (max-width:559px){.v4-cast .v9-guide-film .v7-guide-stage{height:420px}}
/* the AI-optimization stage: two scenes in one 16:9 frame; the first shows until a line plays, then the scene whose line plays sits on top */
/* a guide card plays its own line: hover (desktop) or its badge (any screen); the badge sits on the portrait, bottom left, and pulses
   until it plays; while the line plays it reads Pause */
.v4-cast .v7-guide-stage .cue-badge{position:absolute;z-index:3;left:12px;bottom:12px;min-height:40px;box-shadow:0 6px 18px -6px rgba(11,18,34,.45)}
.v4-cast .v7-guide-stage .cue-badge::after{content:'';position:absolute;inset:-2px;border-radius:inherit;border:2px solid var(--c-action);opacity:0;pointer-events:none}
@media (prefers-reduced-motion:no-preference){.v4-cast li:not(.cue-speaking) .cue-badge::after{animation:cue-ring 2.4s cubic-bezier(.2,.6,.3,1) infinite}}
@keyframes cue-ring{0%{opacity:.85;transform:scale(1)}100%{opacity:0;transform:scale(1.25,1.6)}}
.v4-cast li.cue-speaking .cue-badge{background:var(--c-navy);color:#ffffff;border-color:var(--c-navy)}
.v4-cast li.cue-blocked:not(.cue-speaking) .cue-badge .cue-hear-label::after{content:' (click)'}
/* the Hear pill at the top right of a section (cue.TOP): beside the heading on wide screens, under it on phones */
