.demo-orbs, .demo-particles, .demo-celebration, .demo-subtitle-box { display: none; }
[hidden] { display: none !important; }
.recorded-demo-page .demo-wrapper { width: 100%; max-width: calc(var(--recorded-frame-width, 1440px) + 26px); padding: 10px 12px; }
.recorded-demo-page .demo-header { margin-bottom: 8px; }
.recorded-demo-page .demo-progress { margin-bottom: 8px; }
.recorded-demo-page .demo-btn { padding: 8px 12px; }
.demo-content-card { border-radius: 6px; background: var(--slate-900); }
.recorded-demo-page .demo-content-card { flex: 0 0 auto; }
.demo-content-zone { display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; }
.recorded-demo-page .demo-content-zone { height: var(--recorded-frame-height, auto); flex: none; }
#recorded-video { width: 100%; height: 100%; object-fit: contain; display: block; }
#recorded-caption { box-sizing: border-box; padding: 8px 16px; margin: 0; min-height: 42px; color: var(--slate-300); border-top: 1px solid var(--slate-700); font-size: 14px; }
.recorded-chapter-navigation { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 8px; align-items: center; }
.demo-progress-labels { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; }
.demo-progress-labels::-webkit-scrollbar { display: none; }
.recorded-chapter-arrow { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--slate-700); border-radius: 4px; background: var(--slate-900); color: var(--cyan-400); cursor: pointer; }
.recorded-chapter-arrow svg { width: 18px; height: 18px; }
.recorded-chapter-arrow:disabled { opacity: 0.3; cursor: default; }
.demo-progress-label { flex: 0 0 auto; border: 0; background: transparent; font: inherit; font-size: 12px; white-space: nowrap; text-align: left; cursor: pointer; }
progress { display: block; width: 100%; height: 4px; accent-color: var(--cyan-400); }
.demo-controls svg { width: 20px; height: 20px; }
.demo-controls { flex-shrink: 0; }
#recorded-status { font-size: 14px; min-height: 20px; color: var(--amber-400); text-align: center; margin: 0; }
#recorded-status:empty { display: none; }
.recorded-feedback { flex-shrink: 0; }
.recorded-clock { color: var(--slate-300); font-size: 13px; font-variant-numeric: tabular-nums; align-self: center; min-width: 90px; text-align: center; }
.recorded-intro { position: absolute; inset: 0; display: flex; align-items: center; padding: 40px; background: #080f1d; overflow: hidden; transition: opacity 240ms ease, visibility 240ms ease; }
.recorded-intro-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.recorded-intro-copy { position: relative; width: 100%; max-width: 640px; margin: 0 auto; text-align: center; color: #f8fafc; }
.recorded-intro-brand { color: var(--cyan-400); font-size: 13px; font-weight: 600; margin: 0 0 20px; }
.recorded-intro h2 { font-size: 48px; line-height: 1.1; margin: 0 0 18px; }
.recorded-intro-summary { color: #e2e8f0; font-size: 18px; line-height: 1.6; margin: 0 0 28px; }
.recorded-start { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; min-width: 238px; padding: 12px 20px; border: 1px solid var(--teal-400); border-radius: 6px; background: var(--teal-600); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.recorded-start:hover { background: var(--teal-500); }
.recorded-start:disabled { cursor: wait; opacity: 0.8; }
.recorded-start svg { width: 18px; height: 18px; }
.recorded-intro-meta { color: var(--slate-300); font-size: 12px; margin: 14px 0 0; }
.recorded-intro.is-dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.recorded-prompt { position: absolute; inset: 18px; display: flex; align-items: flex-start; justify-content: center; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 240ms ease; }
.recorded-prompt.is-visible { opacity: 1; visibility: visible; }
.recorded-prompt-copy { box-sizing: border-box; width: 100%; max-width: 760px; padding: 20px 24px; border: 1px solid var(--teal-500); border-radius: 6px; background: var(--slate-900); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.recorded-prompt-label { margin: 0 0 10px; color: var(--cyan-400); font-size: 13px; font-weight: 600; }
.recorded-prompt-text { margin: 0; color: var(--slate-100); font-size: 18px; line-height: 1.55; }
.recorded-prompt-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; margin-bottom: 14px; }
.recorded-prompt-sender { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--cyan-400); font-size: 14px; font-weight: 600; }
.recorded-prompt-sender svg { width: 16px; height: 16px; }
.recorded-prompt-submitted { color: var(--slate-300); font-size: 12px; }
.recorded-prompt-status { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--slate-700); color: var(--cyan-400); font-size: 13px; }
.recorded-wait { position: absolute; top: 18px; right: 18px; box-sizing: border-box; max-width: 360px; padding: 16px 20px; border: 1px solid var(--teal-500); border-radius: 6px; background: var(--slate-900); pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 240ms ease; }
.recorded-wait.is-visible { opacity: 1; visibility: visible; }
.recorded-wait-detail { margin: 0; color: var(--slate-100); font-size: 15px; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .recorded-intro, .recorded-prompt, .recorded-wait { transition: none; } }
button:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 2px; }
.recorded-demo-page .demo-content-card:fullscreen { width: 100%; height: 100%; border: 0; }
.recorded-demo-page .demo-content-card:fullscreen .demo-content-zone { height: auto; flex: 1; }
@media (min-width: 701px) and (max-height: 650px) {
  .recorded-intro { padding: 20px; }
  .recorded-intro h2 { font-size: 32px; margin-bottom: 12px; }
  .recorded-intro-summary { font-size: 15px; margin-bottom: 16px; }
  .recorded-intro-brand { margin-bottom: 12px; }
}
@media (max-width: 700px) {
  .recorded-demo-page .demo-wrapper { height: auto; min-height: 100dvh; padding: 12px; overflow: visible; }
  body.recorded-demo-page { overflow-y: auto; height: auto; }
  .demo-header { flex-wrap: wrap; }
  .demo-title { width: 100%; font-size: 20px; }
  .recorded-demo-page .demo-content-zone { height: auto; aspect-ratio: var(--recorded-aspect, 1.6); }
  #recorded-caption { min-height: 64px; }
  .recorded-intro { padding: 16px; }
  .recorded-intro h2 { font-size: 28px; margin-bottom: 10px; }
  .recorded-intro-brand { font-size: 11px; margin-bottom: 10px; }
  .recorded-intro-summary { font-size: 13px; line-height: 1.4; margin-bottom: 14px; }
  .recorded-start { min-height: 42px; min-width: 210px; padding: 9px 14px; font-size: 13px; }
  .recorded-intro-meta { font-size: 10px; margin-top: 10px; }
  .demo-content-zone:has(.recorded-intro:not(.is-dismissed)) { min-height: 280px; }
  .demo-content-zone:has(.recorded-prompt.is-visible) { min-height: 420px; }
  .recorded-prompt { inset: 12px; align-items: center; }
  .recorded-prompt-copy { padding: 16px; }
  .recorded-prompt-label { margin-bottom: 8px; font-size: 12px; }
  .recorded-prompt-text { font-size: 15px; line-height: 1.5; }
  .recorded-wait { top: 12px; left: 12px; right: 12px; max-width: none; padding: 12px 16px; }
  .recorded-wait-detail { font-size: 13px; }
}
