:root{color-scheme:dark;font-family:system-ui,"Yu Gothic UI",sans-serif;background:#10141b;color:#e8eef8}*{box-sizing:border-box}body{margin:0}header{padding:20px 32px;border-bottom:1px solid #293241;display:flex;justify-content:space-between;align-items:center}.brand{font-weight:700;font-size:22px;letter-spacing:.4px}.badge{font-size:12px;background:#233549;color:#91d6ee;border-radius:5px;padding:5px 9px;margin-left:14px}main{max-width:1320px;margin:auto;padding:24px}.screen{aspect-ratio:16/9;background:#080b10;border:1px solid #263143;border-radius:12px;position:relative;overflow:hidden;max-height:65vh}.screen video{width:100%;height:100%;object-fit:contain}.screen #empty{position:absolute;inset:0;display:grid;place-items:center;color:#91a1b5;pointer-events:none}.toolbar,.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.toolbar{margin:18px 0 8px}button,select{border:1px solid #36536a;border-radius:6px;padding:10px 14px;color:inherit;background:#203548;font:inherit}button{cursor:pointer;background:#165d70}button:hover{background:#22798f}button:disabled{opacity:.5;cursor:wait}.secondary{background:#202936}select{max-width:360px}.hint,footer{font-size:13px;color:#9dabbd;line-height:1.7}#error{color:#ffb3a7;white-space:pre-wrap}.metrics{padding:14px;background:#171f2a;border-radius:8px;font:13px ui-monospace,monospace;margin:18px 0}.columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:20px}.panel{padding:22px;background:#171e28;border:1px solid #2b3647;border-radius:10px}h2{margin:0 0 14px;font-size:19px}h3{font-size:15px}p{font-size:14px;line-height:1.6}label{display:block;font-size:14px;margin:12px 0 6px}textarea{width:100%;height:85px;resize:vertical;background:#0f151f;color:#bdcedf;border:1px solid #334257;border-radius:6px;padding:10px;font:12px ui-monospace,monospace;margin:10px 0}details{margin-bottom:16px}summary{cursor:pointer;color:#9cc9de}footer{margin-top:24px}.peer{padding:12px 0;border-top:1px solid #2b3647;font-size:13px}.peer button{margin-left:10px;padding:5px 10px}[hidden]{display:none!important}
:root pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere} .screen:fullscreen{max-height:none;border:0;border-radius:0;width:100vw;height:100vh}
input[type=number]{display:block;width:100px;margin-top:6px;padding:8px;background:#0f151f;color:inherit;border:1px solid #36536a;border-radius:6px;font:inherit}input[type=checkbox]{accent-color:#22798f;margin-right:6px}#restartCapture{margin-top:10px}
