:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#0b1220;color:#f0f6ff}*{box-sizing:border-box}body{max-width:620px;margin:auto;padding:24px}h1{font-size:44px;margin:12px 0}p{line-height:1.55;color:#b8c7db}.badge{font-size:11px;font-weight:800;letter-spacing:.1em;color:#67e8c8}#state{padding:14px 16px;margin:18px 0;background:#163a35;border-radius:12px;font-weight:700}#state.enabled{background:#854d0e}.preview{position:relative;overflow:hidden;border-radius:18px;background:#182337;min-height:180px}video{width:100%;display:block;transform:scaleX(-1)}canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#metrics,.hint{font-size:13px}.controls{display:flex;flex-wrap:wrap;gap:10px}button,select{font:inherit;padding:13px 16px;border:0;border-radius:12px;background:#25344b;color:white}button{background:#67e8c8;color:#08352b;font-weight:700}#enable{width:100%;background:#fbbf24;color:#422006}button:disabled{opacity:.4}#error{color:#fda4af;min-height:1em}#gesture{font-weight:600}
