:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: #f4f5f7;
  background: #101214;
  font-synthesis: none;
  font-optical-sizing: auto;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
    ellipse at 48% -15%,
    #244635 0,
    #171d1a 30rem,
    #101214 64rem
  );
}
.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 40px;
}
header {
  margin-bottom: 24px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #92d5ad;
}
h1,
h2 {
  font-family: ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(38px, 8vw, 58px);
  line-height: 1.05;
  margin: 10px 0;
}
h2 {
  font-size: 22px;
  margin: 8px 0;
}
header p,
.hint,
footer {
  color: #a9b0b2;
}
.page-links {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.page-links a {
  color: #a9e4bc;
  font-size: 14px;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.card {
  border: 1px solid #ffffff18;
  background: #191d1eef;
  border-radius: 18px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 18px 50px #0002;
}
.preview {
  position: relative;
  aspect-ratio: 16/9;
  background: #090b0a;
  border-radius: 12px;
  overflow: hidden;
}
.preview video,
.watch-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #090b0a;
  border-radius: 12px;
}
.media-source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.capture-settings label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
}
.capture-settings select {
  width: 100%;
}
.capture-hint {
  margin-bottom: 0;
}
.pill {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 99px;
  padding: 6px 10px;
  background: #272d29;
  font-size: 12px;
}
.actions,
.share {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.share input {
  flex: 1;
  min-width: 0;
}
input,
select,
button {
  font: inherit;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #ffffff24;
  color: #f4f5f7;
  background: #111513;
}
button {
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
button.primary {
  background: #83d6a2;
  color: #112017;
  border: 0;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
select:disabled {
  opacity: 0.6;
  cursor: wait;
}
.message {
  color: #c7ceca;
  min-height: 24px;
}
.hint {
  font-size: 13px;
  line-height: 1.5;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.stats div {
  border: 1px solid #ffffff14;
  border-radius: 12px;
  padding: 13px;
}
.stats strong,
.stats span {
  display: block;
}
.stats strong {
  font:
    700 24px ui-sans-serif,
    system-ui,
    sans-serif;
}
.stats span {
  margin-top: 4px;
  font-size: 12px;
  color: #a9b0b2;
}
.join label {
  font-weight: 700;
}
.watch-shell video {
  aspect-ratio: 16/9;
}
.hidden {
  display: none;
}
footer {
  font-size: 12px;
  margin-top: 28px;
}
@media (max-width: 520px) {
  .shell {
    padding-top: 34px;
  }
  .card {
    padding: 15px;
  }
  .share {
    flex-direction: column;
  }
  .share button {
    min-height: 46px;
  }
  .stats {
    gap: 6px;
  }
  .stats div {
    padding: 10px 8px;
  }
  .stats strong {
    font-size: 20px;
  }
  .stats span {
    font-size: 11px;
  }
}
