/* Real-capture + lazy VP9 clip showcase */
.cap-live {
  padding: clamp(32px, 4.5vw, 56px) 0;
}
.cap-live-in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}
.cap-live-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: 18px;
}
.cap-live-k {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, var(--ink-2, #5a6270));
}
.cap-live-h {
  margin: 0;
  font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 620;
  color: var(--ink, #14171f);
}
.cap-live-credit {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 480;
  color: var(--muted, var(--ink-2, #5a6270));
}
.cap-frame {
  background: #0a0c10;
  color: #eef2fa;
  border: 1px solid rgba(148, 163, 196, 0.24);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cap-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #07080c;
  overflow: hidden;
}
@media (max-width: 899px) {
  .cap-screen { aspect-ratio: 4 / 5; }
}
.cap-screen picture,
.cap-screen img,
.cap-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.cap-vid {
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.cap-frame[data-playing="true"] .cap-vid { opacity: 1; }
.cap-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 12px 16px;
  background: rgba(11, 13, 19, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cap-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cap-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cdd4e3;
  font: 540 0.84rem/1.1 system-ui, -apple-system, sans-serif;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.cap-tab b {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: #93a0b8;
  font-variant-numeric: tabular-nums;
}
.cap-tab:hover { border-color: rgba(255, 255, 255, 0.34); color: #ffffff; }
.cap-tab[aria-selected="true"] {
  background: rgba(143, 162, 255, 0.18);
  border-color: rgba(143, 162, 255, 0.7);
  color: #ffffff;
}
.cap-tab[aria-selected="true"] b { color: #c7d1ff; }
.cap-tab:focus-visible,
.cap-toggle:focus-visible {
  outline: 2px solid #8fa2ff;
  outline-offset: 2px;
}
.cap-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1 1 280px;
}
.cap-detail {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 470;
  color: #b7c0d3;
  line-height: 1.4;
}
.cap-toggle {
  flex: none;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f0f3fa;
  font: 550 0.76rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  cursor: pointer;
}
.cap-toggle:hover { border-color: rgba(143, 162, 255, 0.7); }
