:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
}

.shell {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.hero { margin-bottom: 24px; }
.hero h1 { margin: 4px 0 8px; font-size: clamp(2rem, 7vw, 3rem); }
.hero p { margin: 0; }
.eyebrow { opacity: .65; font-size: .85rem; }

.card {
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 18px;
  padding: 20px;
  margin-top: 16px;
}

.card h2 { margin-top: 0; font-size: 1.1rem; }

.picker,
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.action {
  margin-top: 14px;
}

.action:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.picker input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

video {
  display: block;
  width: 100%;
  max-height: 60vh;
  margin-top: 18px;
  border-radius: 12px;
  background: #000;
}

.metadata {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.metadata div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 8px;
}

.metadata dt { opacity: .65; }
.metadata dd { margin: 0; overflow-wrap: anywhere; }

.capabilities {
  margin: 0;
  padding-left: 1.3em;
}

.note,
.status {
  margin-bottom: 0;
  opacity: .7;
  font-size: .9rem;
}

.status {
  margin-top: 12px;
}

#output-wrap {
  margin-top: 18px;
}


.output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.output-actions .action {
  margin-top: 0;
  text-decoration: none;
}
