* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050505;
  color: #fff;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

main {
  position: relative;
  width: 100%;
  height: 100%;
}

video {
  display: block;
  width: 100vw;
  height: 100vh;
  background: #111;
  object-fit: cover;
}

.panel {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  max-width: 560px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(16px);
}

.topline,
.controls,
.meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topline,
.meta {
  justify-content: space-between;
}

.topline strong {
  font-size: 15px;
}

.topline span,
.meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

select,
button {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
}

select {
  min-width: 0;
  flex: 1;
  padding: 0 10px;
}

button {
  flex: 0 0 72px;
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 0.45;
}

@media (max-width: 520px) {
  .controls {
    display: grid;
    grid-template-columns: 1fr 72px 72px;
  }
}
