:root { --bg: #0d0f12; --fg: #e8eef5; --muted:#8fa3b6; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; background: var(--bg); color: var(--fg); }
main { padding: 16px; max-width: 720px; margin: 0 auto; }
h1 { font-size: 18px; margin: 0 0 12px; font-weight: 600; }
.stage { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #111; border: 1px solid #222; border-radius: 8px; overflow: hidden; }
#inputVideo { display: none; }
#outputCanvas { width: 100%; height: 100%; }
.controls { display: flex; gap: 12px; align-items: center; margin: 12px 0 4px; flex-wrap: wrap; }
button, select, label { font-size: 14px; }
button { padding: 8px 12px; border: 0; border-radius: 6px; background: #2a66ff; color: white; }
label { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.note { color: var(--muted); font-size: 12px; }
