/* The "How TrueLife Giving works" explainer (web/js/explainer.js). Scenes are laid out on a fixed 1280×720 canvas
   that is scaled to the player width, so sizes below are canvas pixels. Uses the site's indigo brand. */

.xv { --xv-navy: #0e1330; --xv-navy-2: #171d45; --xv-ink: #141828; --xv-ink-2: #464d63; --xv-muted: #6c7389;
  --xv-accent: #4f46e5; --xv-accent-2: #4338ca; --xv-bright: #a5b4fc; --xv-soft: #eef0ff; --xv-cream: #f6f7fb;
  --xv-good: #0b7d2a; --xv-good-bg: #e6f5ea; --xv-bad: #b42323; --xv-bad-bg: #fdeaea; --xv-warn: #8a5a00; --xv-warn-bg: #fff4d6;
  --xv-ease: cubic-bezier(.22, 1, .36, 1); }

.xv-player { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 26px; background: var(--xv-navy);
  box-shadow: 0 24px 60px rgba(14, 19, 48, .28); outline: none; font-family: var(--font); color: var(--xv-ink); }
.xv-player:focus-visible { box-shadow: 0 0 0 4px rgba(79, 70, 229, .45), 0 24px 60px rgba(14, 19, 48, .28); }
.xv-player.is-playing.is-idle { cursor: none; }
.xv-stage { position: absolute; inset: 0; overflow: hidden; }
.xv-canvas { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; }

/* scenes + transitions */
.xv-scene { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); filter: blur(10px); pointer-events: none;
  transition: opacity .9s var(--xv-ease), transform .9s var(--xv-ease), filter .9s var(--xv-ease); }
.xv-scene.active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.xv-scene-body { position: absolute; inset: 0; overflow: hidden; }
.xv-dark { background: var(--xv-navy); color: #eef1fa; }
.xv-light { background: var(--xv-cream); }

.xv-beat { opacity: 0; filter: blur(8px); transition: opacity .85s var(--xv-ease), transform .85s var(--xv-ease), filter .85s var(--xv-ease); }
.xv-beat.from-up { transform: translateY(28px); } .xv-beat.from-down { transform: translateY(-28px); }
.xv-beat.from-left { transform: translateX(-44px); } .xv-beat.from-right { transform: translateX(44px); }
.xv-beat.from-scale { transform: scale(.86); }
.xv-beat.on { opacity: 1; filter: none; transform: none; }
.xv-instant, .xv-instant * { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .xv-scene, .xv-scene.active, .xv-beat, .xv-beat.on { transform: none !important; filter: none !important; }
  .xv-scene, .xv-beat { transition-duration: .35s; }
  .xv-ping, .xv-pulse { animation: none !important; display: none; }
}

/* decoration */
.xv-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.xv-glow.g1 { width: 760px; height: 760px; left: -200px; top: -260px; background: radial-gradient(circle, rgba(79, 70, 229, .45), transparent 65%); }
.xv-glow.g2 { width: 900px; height: 700px; left: 190px; top: -200px; background: radial-gradient(circle, rgba(99, 102, 241, .35), transparent 65%); }
.xv-glow.g3 { width: 700px; height: 700px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(79, 70, 229, .42), transparent 65%); }
.xv-glow.g4 { width: 760px; height: 760px; left: -220px; bottom: -320px; background: radial-gradient(circle, rgba(99, 102, 241, .38), transparent 65%); }
.xv-glow.g5 { width: 1000px; height: 800px; left: 140px; top: -120px; background: radial-gradient(circle, rgba(79, 70, 229, .5), transparent 62%); }
.xv-blob { position: absolute; border-radius: 50%; background: var(--xv-soft); }
.xv-blob.b1 { width: 640px; height: 640px; right: -180px; top: -200px; }
.xv-blob.b2 { width: 560px; height: 560px; left: -200px; bottom: -260px; }
.xv-blob.b3 { width: 620px; height: 620px; right: -200px; bottom: -280px; }

/* type */
.xv-eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--xv-accent); }
.xv-eyebrow.dark { color: var(--xv-bright); }
.xv-h1 { margin: 0; font-size: 66px; font-weight: 800; line-height: 1.04; letter-spacing: -.03em; color: #fff; }
.xv-h1.big { font-size: 84px; }
.xv-h1.accent, .accent-dark { color: var(--xv-bright); }
.xv-h2 { margin: 14px 0 0; font-size: 56px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--xv-ink); }
.xv-h2.on-dark { color: #fff; }
.xv-h2 .accent { color: var(--xv-accent); }
.xv-lead { font-size: 22px; line-height: 1.5; color: var(--xv-ink-2); margin: 22px 0 0; }
.xv-lead.on-dark { color: #c7cce3; }
.xv-sub { font-size: 14px; color: var(--xv-muted); }
.xv-dark .xv-sub { color: #9aa3c2; }
.num { font-variant-numeric: tabular-nums; }
.xv-mark { width: 40px; height: 40px; display: block; }

/* layouts */
.xv-center { position: absolute; inset: 0 0 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.xv-split { position: absolute; inset: 0 0 110px; display: grid; grid-template-columns: 1fr 470px; align-items: center; gap: 64px; padding: 0 96px; }
.xv-split.wide-right { grid-template-columns: 1fr 560px; }
.xv-col { position: absolute; inset: 0 0 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 96px; }
.xv-col.left { align-items: flex-start; text-align: left; }
.xv-bullets { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.xv-bullets li { display: flex; align-items: center; gap: 14px; font-size: 22px; color: var(--xv-ink-2); }
.xv-bullets.on-dark li { color: #d8dcf0; }
.xv-tick { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--xv-accent); color: #fff; flex: none; }
.xv-tick svg { width: 18px; height: 18px; stroke-width: 3; }

/* pills (status: always icon + label) */
.xv-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.xv-pill svg { width: 14px; height: 14px; stroke-width: 3; }
.xv-pill.good { background: var(--xv-good-bg); color: var(--xv-good); }
.xv-pill.bad { background: var(--xv-bad-bg); color: var(--xv-bad); }
.xv-pill.warn { background: var(--xv-warn-bg); color: var(--xv-warn); }
.xv-pill.info { background: #e8f0fc; color: #1f5fb8; }

/* 1: why gifts stop */
.xv-months { display: flex; gap: 18px; }
.xv-month { width: 150px; padding: 18px 16px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .5s, border-color .5s, opacity .85s var(--xv-ease), transform .85s var(--xv-ease), filter .85s var(--xv-ease); }
.xv-month-name { font-size: 16px; font-weight: 600; color: #9aa3c2; }
.xv-month-amt { font-size: 30px; font-weight: 800; margin-top: 2px; }
.xv-chip-status { margin-top: 10px; height: 30px; position: relative; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 15px; font-weight: 700; color: #7ee2a0; }
.xv-chip-status svg { width: 16px; height: 16px; stroke-width: 3; }
.xv-swap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; transition: opacity .4s; }
.xv-swap.bad { opacity: 0; color: #ff9b9b; }
.xv-month.is-bad, .xv-month.is-stopped { background: rgba(242, 107, 107, .12); border-color: rgba(242, 107, 107, .45); }
.xv-month.is-stopped { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.xv-month.is-stopped .xv-swap.bad { color: #9aa3c2; }
.xv-month:nth-child(6) .xv-swap.ok { color: #9aa3c2; }
.xv-month.is-bad .xv-swap.ok, .xv-month.is-stopped .xv-swap.ok { opacity: 0; }
.xv-month.is-bad .xv-swap.bad, .xv-month.is-stopped .xv-swap.bad { opacity: 1; }
.xv-minicard { margin: 30px 0 0; width: 300px; padding: 18px 22px; border-radius: 18px; text-align: left;
  background: linear-gradient(135deg, #2b2f5a, #1c2048); border: 1px solid rgba(255, 255, 255, .14); }
.xv-minicard-top { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.xv-minicard-num { font-size: 24px; letter-spacing: .06em; margin-top: 14px; font-weight: 600; }
.xv-minicard-exp { font-size: 14px; color: #9aa3c2; margin-top: 4px; }
.xv-stop-title { margin-top: 34px; }

/* 2: giving page */
.xv-phone { position: relative; width: 420px; padding: 24px; border-radius: 34px; background: #fff; border: 1px solid #e3e6ef;
  box-shadow: 0 30px 60px rgba(20, 24, 40, .16); overflow: hidden; }
.xv-phone-head { display: flex; gap: 12px; align-items: center; font-size: 17px; padding-bottom: 16px; border-bottom: 1px solid #e3e6ef; }
.xv-amts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.xv-amt { padding: 14px 0; text-align: center; border-radius: 12px; border: 1.5px solid #d3d8e5; font-size: 19px; font-weight: 700; transition: all .35s; }
.xv-amt.is-on { border-color: var(--xv-accent); background: var(--xv-soft); color: var(--xv-accent-2); }
.xv-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-top: 14px; border-radius: 12px; background: #f2f4f9; }
.xv-seg-opt { padding: 10px 0; text-align: center; border-radius: 9px; font-size: 16px; font-weight: 600; color: var(--xv-muted); transition: all .35s; }
.xv-seg-opt.is-on { background: #fff; color: var(--xv-ink); box-shadow: 0 1px 3px rgba(20, 24, 40, .12); }
.xv-seg-opt.is-on.is-off { background: transparent; color: var(--xv-muted); box-shadow: none; }
.xv-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.xv-method { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 0; border-radius: 12px; border: 1.5px solid #d3d8e5;
  font-size: 16px; font-weight: 600; transition: all .35s; }
.xv-method.is-on { border-color: var(--xv-accent); background: var(--xv-soft); color: var(--xv-accent-2); }
.xv-cover { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 16px; color: var(--xv-ink-2); }
.xv-check { width: 26px; height: 26px; border-radius: 7px; border: 2px solid #c3c9d8; display: grid; place-items: center; color: transparent; flex: none; transition: all .3s; }
.xv-check svg { width: 16px; height: 16px; stroke-width: 3.2; }
.xv-check.is-on { background: var(--xv-accent); border-color: var(--xv-accent); color: #fff; }
.xv-give-btn { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--xv-accent); color: #fff; text-align: center; font-size: 19px; font-weight: 700;
  transition: transform .2s, background .2s; }
.xv-give-btn.is-pressed { background: var(--xv-accent-2); transform: scale(.97); }
.xv-swap-wrap { display: inline-grid; }
.xv-swap-txt { display: inline-grid; }
.xv-swap-txt > span { grid-area: 1 / 1; transition: opacity .35s, transform .35s; }
.xv-swap-txt .b { opacity: 0; transform: translateY(8px); }
.xv-swap-txt.is-b .a { opacity: 0; transform: translateY(-8px); }
.xv-swap-txt.is-b .b { opacity: 1; transform: none; }
.xv-done { position: absolute; inset: 0; background: rgba(255, 255, 255, .96); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 18px; color: var(--xv-ink-2); }
.xv-done b { font-size: 30px; color: var(--xv-ink); }
.xv-done-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--xv-good-bg); color: var(--xv-good); display: grid; place-items: center; margin-bottom: 8px; }
.xv-done-ico svg { width: 38px; height: 38px; stroke-width: 3; }

/* 3: card updater */
.xv-cards { display: flex; align-items: center; gap: 34px; margin-top: 40px; }
.xv-bigcard { width: 360px; height: 210px; padding: 26px 28px; border-radius: 24px; text-align: left; display: flex; flex-direction: column;
  background: linear-gradient(135deg, #3a3f7a, #1f2452); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  transition: opacity .6s, transform .6s, filter .6s; }
.xv-bigcard.new { background: linear-gradient(135deg, #5b52f0, #3a2fc4); }
.xv-bigcard.old.is-dim { opacity: .45; transform: scale(.94); filter: saturate(.4); }
.xv-bigcard-top { display: flex; justify-content: space-between; align-items: center; font-size: 22px; }
.xv-bigcard-num { margin-top: auto; font-size: 30px; font-weight: 600; letter-spacing: .08em; }
.xv-bigcard-exp { margin-top: 6px; font-size: 16px; color: #c7cce3; }
.xv-flow-arrow { color: var(--xv-bright); }
.xv-flow-arrow svg { width: 48px; height: 48px; }
.xv-badge { margin-top: 34px; display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px; background: var(--xv-bright); color: var(--xv-navy);
  font-size: 19px; font-weight: 700; }
.xv-giftrow { margin-top: 20px; display: flex; align-items: center; gap: 22px; padding: 14px 24px; border-radius: 16px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12); font-size: 19px; color: #d8dcf0; }
.xv-giftrow b { color: #fff; }

/* 4: retries */
.xv-cal { margin-top: 30px; display: grid; grid-template-columns: repeat(14, 66px); gap: 8px; }
.xv-day { position: relative; height: 104px; border-radius: 14px; background: #fff; border: 1px solid #e3e6ef; padding: 10px 0 0; text-align: center; transition: all .4s; }
.xv-day.payday { background: var(--xv-soft); border-color: #c9ccfb; }
.xv-day.is-good { border-color: var(--xv-good); box-shadow: 0 0 0 3px rgba(11, 125, 42, .15); }
.xv-dow { font-size: 13px; font-weight: 700; color: var(--xv-muted); }
.xv-dnum { font-size: 22px; font-weight: 700; margin-top: 2px; }
.xv-dot { position: absolute; left: 50%; bottom: 12px; margin-left: -15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.xv-dot svg { width: 16px; height: 16px; stroke-width: 3.2; }
.xv-dot.bad { background: var(--xv-bad-bg); color: var(--xv-bad); }
.xv-dot.warn { background: var(--xv-warn-bg); color: var(--xv-warn); }
.xv-dot.good { background: var(--xv-good-bg); color: var(--xv-good); }
.xv-cal-key { margin-top: 10px; font-size: 14px; color: var(--xv-muted); }
.xv-cal-key span { display: inline-flex; align-items: center; gap: 8px; }
.xv-payday-swatch { width: 14px; height: 14px; border-radius: 4px; background: var(--xv-soft); border: 1px solid #c9ccfb; display: inline-block; }
.xv-notes { margin-top: 18px; display: grid; gap: 10px; }
.xv-note { display: flex; align-items: center; gap: 14px; font-size: 19px; color: var(--xv-ink-2); }
.xv-note .xv-pill { min-width: 112px; justify-content: center; }
.xv-retry-bottom { width: 1028px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.xv-rules { margin-top: 18px; display: grid; gap: 10px; justify-items: start; }
.xv-rule { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid #e3e6ef;
  font-size: 16px; font-weight: 600; color: var(--xv-ink); box-shadow: 0 6px 18px rgba(20, 24, 40, .06); }
.xv-rule svg { color: var(--xv-accent); }

/* 5: reminders */
.xv-stack { position: relative; height: 540px; }
.xv-bubble { position: absolute; left: 0; top: 0; width: 400px; padding: 18px 20px; border-radius: 22px 22px 22px 6px; background: #fff; color: var(--xv-ink);
  font-size: 17px; line-height: 1.45; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.xv-link { color: var(--xv-accent); font-weight: 700; text-decoration: underline; }
.xv-email { position: absolute; right: 0; top: 172px; width: 290px; z-index: 1; padding: 18px; border-radius: 18px; background: #f2f4f9; color: var(--xv-ink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .28); transition: opacity .85s var(--xv-ease), transform .85s var(--xv-ease), filter .85s var(--xv-ease); }
.xv-email-top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.xv-email-top svg { color: var(--xv-accent); }
.xv-line-ph { height: 9px; border-radius: 99px; background: #d9dde8; margin-top: 12px; }
.xv-line-ph.w80 { width: 80%; } .xv-line-ph.w60 { width: 60%; }
.xv-email-btn { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 10px; background: var(--xv-accent); color: #fff; font-size: 14px; font-weight: 700; }
.xv-fix { position: absolute; left: 30px; right: 40px; top: 318px; z-index: 2; padding: 24px; border-radius: 24px; background: #fff; color: var(--xv-ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.xv-fix-title { font-size: 22px; }
.xv-field { margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid #d3d8e5; font-size: 18px; color: var(--xv-ink-2); }
.xv-field svg { color: var(--xv-muted); }
.xv-fix-done { position: absolute; inset: 0; background: rgba(255, 255, 255, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 21px; font-weight: 700; color: var(--xv-ink); }

/* 6: zero markup */
.xv-money { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.xv-node { display: flex; align-items: center; gap: 14px; padding: 20px 26px; border-radius: 20px; background: #fff; border: 1px solid #e3e6ef;
  box-shadow: 0 14px 36px rgba(20, 24, 40, .1); font-size: 22px; text-align: left; }
.xv-node.church { border-color: #c9ccfb; }
.xv-node-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--xv-accent); color: #fff; display: grid; place-items: center; }
.xv-node-ico svg { width: 26px; height: 26px; }
.xv-pipe { position: relative; width: 170px; height: 6px; border-radius: 9px; background: #d6d9fb; overflow: hidden; }
.xv-pulse { position: absolute; top: 0; left: -40%; width: 40%; height: 100%; border-radius: 9px; background: var(--xv-accent); animation: xv-flow 1.6s linear infinite; }
@keyframes xv-flow { to { left: 100%; } }
.xv-cutrow { margin-top: 30px; display: flex; align-items: center; gap: 22px; padding: 14px 18px 14px 26px; border-radius: 18px; background: #fff; border: 1px solid #e3e6ef; font-size: 21px; color: var(--xv-ink-2); }
.xv-cut { min-width: 110px; padding: 6px 16px; border-radius: 12px; background: var(--xv-bad-bg); color: var(--xv-bad); font-size: 30px; text-align: center; transition: background .4s, color .4s; }
.xv-cut.is-zero { background: var(--xv-good-bg); color: var(--xv-good); }
.xv-flat { margin-top: 28px; font-size: 18px; font-weight: 600; color: var(--xv-muted); }
.xv-plans { margin-top: 12px; display: flex; gap: 14px; }
.xv-plan { display: flex; flex-direction: column; gap: 2px; min-width: 170px; padding: 14px 20px; border-radius: 16px; background: #fff; border: 1px solid #e3e6ef; font-size: 18px; }
.xv-plan .num { font-size: 22px; font-weight: 800; }
.xv-plan small { font-size: 14px; font-weight: 500; color: var(--xv-muted); }
.xv-plan.pop { border-color: var(--xv-accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, .14); }

/* 7: dashboard */
.xv-dash { padding: 28px; border-radius: 26px; background: #fff; color: var(--xv-ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.xv-dash-top { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.xv-dash-total { font-size: 54px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.xv-dash .xv-sub { color: var(--xv-muted); }
.xv-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; margin: 18px 0 8px; padding-bottom: 1px; border-bottom: 1px solid #e6e9f1; }
.xv-bar { flex: 1; height: 0; border-radius: 4px 4px 0 0; background: #2a78d6; transition: height .8s var(--xv-ease); transition-delay: var(--d); }
.xv-bars.is-grown .xv-bar { height: var(--hgt); }
.xv-dash-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e3e6ef; font-size: 16px; color: var(--xv-ink-2); }
.xv-dash-line:last-child { border-bottom: 0; }
.xv-dash-line b { color: var(--xv-ink); }

/* 8: close */
.xv-logo { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 14px; border-radius: 18px; background: #fff; color: var(--xv-ink);
  font-size: 24px; font-weight: 800; margin-bottom: 34px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.xv-ctas { display: flex; gap: 18px; margin-top: 34px; }
.xv-cta { display: inline-flex; align-items: center; gap: 12px; padding: 20px 34px; border-radius: 999px; background: #fff; color: var(--xv-ink) !important;
  font-size: 22px; font-weight: 700; text-decoration: none !important; transition: background .2s; }
.xv-cta:hover { background: var(--xv-soft); }
.xv-cta.primary { background: var(--xv-accent); color: #fff !important; box-shadow: 0 12px 30px rgba(79, 70, 229, .4); }
.xv-cta.primary:hover { background: var(--xv-accent-2); }
.xv-cta svg { width: 24px; height: 24px; }
.xv-cta:focus-visible { outline: 4px solid var(--xv-bright); outline-offset: 2px; }

/* poster */
.xv-poster { position: absolute; inset: 0; background: linear-gradient(135deg, #0e1330, #1b2160 70%, #2a2a8a); color: #fff; overflow: hidden; }
.xv-poster-text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 5%, 48px); }
.xv-poster .xv-eyebrow { font-size: clamp(10px, 1.2vw, 13px); }
.xv-poster-title { margin-top: 8px; font-size: clamp(24px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.xv-poster-scenes { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: clamp(11px, 1.3vw, 14px); color: #b9bfdc; }
.xv-poster-scenes span:not(:last-child)::after { content: "·"; margin: 0 9px; color: rgba(255, 255, 255, .3); }
@media (max-width: 640px) { .xv-poster-scenes { display: none; } }
.xv-bigplay { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); background: none; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; }
.xv-bigplay:focus-visible { outline: none; }
.xv-bigplay:focus-visible .xv-bigplay-btn { box-shadow: 0 0 0 6px var(--xv-bright); }
.xv-ping { position: absolute; width: clamp(80px, 11vw, 112px); height: clamp(80px, 11vw, 112px); border-radius: 50%; background: rgba(165, 180, 252, .3);
  animation: xv-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes xv-ping { 75%, 100% { transform: scale(1.6); opacity: 0; } }
.xv-bigplay-btn { position: relative; width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); border-radius: 50%; background: var(--xv-accent); color: #fff;
  display: grid; place-items: center; box-shadow: 0 16px 40px rgba(79, 70, 229, .5), 0 0 0 4px rgba(255, 255, 255, .2); transition: transform .3s; }
.xv-bigplay:hover .xv-bigplay-btn { transform: scale(1.1); }
.xv-bigplay-btn svg { width: clamp(28px, 4vw, 42px); height: clamp(28px, 4vw, 42px); margin-left: 4px; }
.xv-duration { position: absolute; right: 16px; top: 16px; padding: 4px 12px; border-radius: 99px; background: rgba(14, 19, 48, .7); font-size: 12px; font-weight: 700; }

/* captions + controls */
.xv-captions { position: absolute; left: 0; right: 0; bottom: 74px; display: flex; justify-content: center; padding: 0 40px; pointer-events: none; transition: bottom .3s; }
.xv-player.is-playing.is-idle .xv-captions { bottom: 26px; }
.xv-caption { margin: 0; max-width: 760px; padding: 8px 16px; border-radius: 10px; background: rgba(14, 19, 48, .82); color: #fff; text-align: center;
  font-size: clamp(12px, 1.6vw, 18px); font-weight: 500; line-height: 1.4; }
@media (max-width: 640px) { .xv-captions { bottom: 54px; padding: 0 12px; } }
.xv-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 10px; color: #fff;
  background: linear-gradient(to top, rgba(14, 19, 48, .9), rgba(14, 19, 48, .45) 60%, transparent); transition: opacity .3s; }
.xv-player.is-playing.is-idle .xv-controls:not(:focus-within) { opacity: 0; }
.xv-bar-track { position: relative; height: 20px; display: flex; align-items: center; cursor: pointer; touch-action: none; border-radius: 4px; outline: none; }
.xv-bar-track:focus-visible { box-shadow: 0 0 0 2px var(--xv-bright); }
.xv-rail { position: relative; width: 100%; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .25); overflow: hidden; transition: height .15s; }
.xv-bar-track:hover .xv-rail { height: 6px; }
.xv-fill { position: absolute; inset: 0 auto 0 0; background: var(--xv-bright); }
.xv-hoverfill { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, .25); }
.xv-marker { position: absolute; top: 50%; width: 3px; height: 10px; border-radius: 99px; background: rgba(14, 19, 48, .85); transform: translate(-50%, -50%); pointer-events: none; }
.xv-knob { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%) scale(0); transition: transform .15s; pointer-events: none; }
.xv-bar-track:hover .xv-knob, .xv-bar-track:focus-visible .xv-knob { transform: translate(-50%, -50%) scale(1); }
.xv-tip { position: absolute; bottom: 24px; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: 7px; background: rgba(14, 19, 48, .95);
  font-size: 12px; font-weight: 600; pointer-events: none; }
.xv-ctrl-row { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.xv-ctrl { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.xv-ctrl:hover { background: rgba(255, 255, 255, .15); }
.xv-ctrl:focus-visible { outline: 2px solid var(--xv-bright); }
.xv-ctrl svg { width: 20px; height: 20px; }
.xv-time { font-size: 14px; }
.xv-dim { color: rgba(255, 255, 255, .55); }
.xv-scene-label { margin-left: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .xv-scene-label { display: none; } .xv-controls { padding: 24px 10px 6px; } .xv-ctrl { width: 34px; height: 34px; } }
.xv-grow { flex: 1; }
.xv-replay { position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; border: 0;
  background: rgba(255, 255, 255, .95); color: var(--xv-ink); font: 600 14px var(--font); cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.xv-replay:hover { background: #fff; }

/* transcript */
.xv-transcript { margin-top: 16px; padding: 12px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--text-2); }
.xv-transcript summary { cursor: pointer; font-weight: 700; color: var(--text); }
.xv-transcript ol { margin: 12px 0 4px; padding: 0; list-style: none; display: grid; gap: 8px; }
.xv-transcript b { color: var(--text); }
.xv-jump { margin-right: 8px; border: 0; background: none; padding: 0; font: 700 14px var(--font); color: var(--accent); cursor: pointer; font-variant-numeric: tabular-nums; }
.xv-jump:hover { text-decoration: underline; }
