/* Public demo library. Keep the video usable with native controls and without JavaScript. */
.demo-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; }
.demo-heading h2 { margin: 0; }
.demo-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--chalk-2); font-size: 0.9rem; }
.demo-summary { max-width: 68ch; margin-bottom: 26px; color: var(--chalk-2); }
.demo-player { margin: 0; }
.demo-player video { display: block; width: 100%; height: auto; background: #000; border: 1px solid var(--rule); border-radius: var(--r-panel); }
.demo-player figcaption { margin-top: 14px; max-width: 80ch; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; }
.demo-transcript { margin-top: 32px; border-top: 1px solid var(--rule); padding-top: 22px; }
.demo-transcript summary { cursor: pointer; font-weight: 600; }
.demo-transcript ol { margin-top: 20px; padding-left: 24px; }
.demo-transcript li { padding: 8px 0 8px 8px; max-width: 72ch; }
.demo-transcript time { font-variant-numeric: tabular-nums; margin-right: 10px; }
.demo-transcript a { text-decoration: underline; text-underline-offset: 3px; }
.closer.band-chalk .btn-primary { color: var(--chalk); }
@media (max-width: 600px) {
  .demo-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .demo-meta { gap: 6px 14px; }
}
