:root{font-family:system-ui,sans-serif;color:#e9f1f1;background:#101b25}*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:auto;padding:36px 20px}header{display:flex;align-items:center;gap:16px;margin-bottom:28px}.mark{display:grid;place-items:center;background:#bdf5d3;color:#142d25;border-radius:16px;width:52px;height:52px;font-size:30px}h1,h2,p{margin:0}h1{font-size:26px}h2{font-size:19px;margin-bottom:10px}p{line-height:1.5;color:#a8b8bd}header p{font-size:14px}.card{background:#1a2a35;border:1px solid #30434c;border-radius:18px;padding:22px;margin-bottom:16px}label{display:block;font-size:14px;font-weight:650;margin:18px 0 8px}.row,.controls{display:flex;gap:9px;flex-wrap:wrap}input{min-width:0;flex:1;border:1px solid #49616b;border-radius:9px;background:#101d26;color:#fff;padding:11px;font:inherit}button{border:0;border-radius:9px;background:#bdf5d3;color:#173127;padding:11px 16px;font:600 14px system-ui;cursor:pointer}button:disabled{opacity:.45;cursor:default}.secondary,.tabs button{background:#30434c;color:#eaf5f3}.hint{font-size:13px;margin-top:10px}.tabs{display:flex;gap:8px;margin-bottom:18px}.tabs .selected{background:#bdf5d3;color:#173127}.preview{background:#0c151c;border-radius:12px;min-height:240px;display:grid;place-items:center;overflow:hidden;position:relative}.preview video,.preview img{display:none;width:100%;max-height:500px;object-fit:contain}.preview span{color:#8ea1a6;padding:20px;text-align:center}.controls{align-items:end}.controls label{width:100%;margin-bottom:0}.controls input{max-width:100px}.controls button{margin-top:8px}#watch{margin-top:16px}#status{margin-top:16px;color:#bdf5d3;font-size:14px}footer{text-align:center;color:#8ea1a6;font-size:13px}
html:fullscreen{background:#101b25;overflow:auto}.buzz{margin-top:20px}.buzz-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.controls select{min-width:0;flex:1;border:1px solid #49616b;border-radius:9px;background:#101d26;color:#fff;padding:11px;font:inherit}
*,*::before,*::after{-webkit-user-select:none;user-select:none}
.remote-camera select{width:100%;border:1px solid #49616b;border-radius:9px;background:#101d26;color:#fff;padding:11px;font:inherit}
html{touch-action:pan-x pan-y;overscroll-behavior:none}*{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}img,video{-webkit-user-drag:none;user-drag:none}
html.mobile-camera,html.mobile-camera:fullscreen,html.mobile-camera body{width:100%;height:100%;margin:0;background:#000;overflow:hidden}html.mobile-camera main,html.mobile-camera .card,html.mobile-camera #phone{width:100%;height:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:#000}html.mobile-camera header,html.mobile-camera footer,html.mobile-camera .tabs,html.mobile-camera .controls,html.mobile-camera #awakeStatus,html.mobile-camera #status,html.mobile-camera #placeholder{display:none}html.mobile-camera .preview{width:100%;height:100%;min-height:0;border-radius:0;background:#000}html.mobile-camera .preview video{width:100%;height:100%;max-height:none;object-fit:contain}
html.mobile-camera #mobileFullscreen:not([hidden]){display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;white-space:nowrap;background:rgba(0,0,0,.76);color:#fff;border:1px solid rgba(255,255,255,.7);padding:14px 20px}
