body {
  font-family: system-ui, sans-serif;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1rem 6rem;
  line-height: 1.5;
}
header { margin-bottom: 1.5rem; }
header h1 { margin: 0 0 .5rem; }
nav a { margin-right: 1rem; }

.tracks { list-style: none; padding: 0; }
.tracks li {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid #ddd;
}
.tracks .title { flex: 1; }
.tracks li.playing .title { font-weight: 600; }
.tracks time { color: #777; font-size: .9rem; }
.tracks button { width: 2.25rem; height: 2.25rem; cursor: pointer; }

.clip { margin-bottom: 2rem; }
video { width: 100%; background: #000; }

#player {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .75rem 1rem;
  background: #222;
  color: #fff;
}
#player[hidden] { display: none; }
#player button { width: 2.25rem; height: 2.25rem; cursor: pointer; }
#now-title { max-width: 30%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#seek { flex: 1; min-width: 0; }
#time { font-variant-numeric: tabular-nums; font-size: .85rem; white-space: nowrap; }

@media (max-width: 520px) {
  #now-title { display: none; }
}
