.nv-demo-chapters, .nv-demo-observations { margin: 1.5rem 0; }
.nv-demo-chapters h3 { margin: 0 0 .75rem; }
.nv-demo-chapters ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .45rem 1.5rem; }
.nv-demo-chapters a, .nv-demo-observations a { display: inline-block; padding: .25rem 0; text-underline-offset: .18em; }
.nv-demo-observations dt { font-weight: 600; }
.nv-demo-observations dd { margin: .15rem 0 .65rem; overflow-wrap: anywhere; }

.nv-demo-controls {
  color: #f8fbff;
  background: #0b1429;
  padding: .7rem .85rem .85rem;
}
.nv-demo-controls[hidden], .nv-demo-toolbar [hidden] { display: none; }
.nv-demo-progress { width: 100%; display: block; margin: 0 0 .65rem; }
.nv-demo-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; }
.nv-demo-toolbar .nv-button {
  color: #f8fbff;
  background: transparent;
  border: 1px solid #91a5c5;
  min-height: 2.5rem;
  padding: .3rem .65rem;
}
.nv-demo-toolbar .nv-button:hover, .nv-demo-toolbar .nv-button[aria-pressed="true"] { background: #283d61; }
.nv-demo-toolbar [data-rv-volume] { width: clamp(3.5rem, 12vw, 6.5rem); }
.nv-demo-toolbar [data-rv-clock] { font-variant-numeric: tabular-nums; }
.nv-demo-toolbar label { display: flex; align-items: center; gap: .4rem; }
.nv-demo-toolbar select { color: #15233b; background: #fff; min-height: 2.5rem; }
.nv-demo-controls :focus-visible { outline: 2px solid #bfd8ff; outline-offset: 2px; }
[data-rv-localized-player]:fullscreen, .nv-demo-expanded {
  display: flex;
  flex-direction: column;
  background: #0b1429;
}
.nv-video-player.nv-demo-expanded { position: fixed; inset: 0; z-index: 9999; max-width: none; width: 100%; margin: 0; }
[data-rv-localized-player]:fullscreen video, .nv-demo-expanded video {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: contain;
}
