:root {
  font-family: system-ui, sans-serif;
  font-synthesis: none;
  color: #141414;
  background: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 5px;
}
main {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}
nav {
  font-size: 0.875rem;
}
.watch {
  min-height: 100svh;
  padding-block: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.watch nav {
  align-self: flex-end;
}
.screen {
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #000;
  color: #b7b7b7;
}
.standby {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
#live-player:not(:empty) {
  position: absolute;
  inset: 0;
}
iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.recordings {
  padding-block: 32px;
}
h1 {
  margin-block: 32px 24px;
  font-size: 1.5rem;
  font-weight: 600;
}
#catalog-message {
  color: #666;
  font-size: 0.875rem;
}
#catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 24px;
}
.recording {
  min-width: 0;
}
video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.recording h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-block: 12px 4px;
  overflow-wrap: anywhere;
}
.recording p {
  color: #666;
  font-size: 0.8125rem;
  margin: 0;
}
[hidden] {
  display: none;
}
@media (max-width: 960px) {
  #catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  #catalog {
    grid-template-columns: 1fr;
  }
}
