:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #141519;
  color: #f2f3f5;
}

body { margin: 0; }

main {
  display: grid;
  gap: 1rem;
  justify-items: center;
  min-height: 100dvh;
  align-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

form { width: min(100%, 30rem); }
label { display: block; margin-bottom: .5rem; }
.controls { display: flex; gap: .5rem; flex-wrap: wrap; }

input, button {
  font: inherit;
  padding: .75rem 1rem;
  border-radius: .5rem;
  border: 1px solid #868b97;
}

input { flex: 1; min-width: 10ch; }
button { background: #e9ebf2; color: #141519; cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
video { width: 100%; max-height: 86dvh; }
#status:empty { display: none; }
