/* Shared look for the Live AI Lab camera lessons (live-scavenger, live-depth). Loads after vlm-shared.css. */
.cam-wrap { position: relative; border-radius: 14px; overflow: hidden; background: #14162b; }
.cam-wrap canvas { display: block; width: 100%; height: auto; border-radius: 0 !important; background: #14162b !important; }
/* The <video> must stay rendered (iOS Safari stops decoding display:none videos); we draw it onto canvases. */
video.cam-video { position: absolute; top: 0; left: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.cam-off {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px;
  color: #e9eaff; font-weight: 800; background: radial-gradient(circle at 50% 40%, #2a2d55, #14162b 70%);
}
.cam-off .big { font-family: var(--font-head); font-size: clamp(1.1rem, 3vw, 1.5rem); display: block; margin-bottom: 6px; }
.cam-off .ic { width: 42px; height: 42px; margin-bottom: 6px; opacity: .85; }
.cam-msg { border: 2px solid var(--bad); background: color-mix(in srgb, var(--bad) 10%, var(--card)); color: var(--ink); border-radius: 12px; padding: 8px 12px; font-weight: 700; font-size: .88rem; }
.speedo { display: flex; gap: 6px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .78rem; font-weight: 700; }
.speedo span { background: rgba(20, 22, 43, .78); color: #fff; padding: 3px 8px; border-radius: 999px; }
.speedo span.dev { background: color-mix(in srgb, var(--accent) 85%, #000); }
.cam-wrap .speedo { position: absolute; left: 8px; bottom: 8px; z-index: 3; pointer-events: none; }
.src-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.src-row .btn { min-height: 40px; }
.photo-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.chal { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: .92rem; padding: 6px 0; }
.chal .tick { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); flex: none; margin-top: 2px; }
.chal.done .tick { background: var(--good); border-color: var(--good); }
.chal.done { color: var(--good); }
.privacy { display: flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 700; color: var(--muted); margin: 0; }
.privacy .ic { width: 16px; height: 16px; flex: none; }
@media (prefers-reduced-motion: reduce) { .pop-in, .flash { animation: none !important; } }
