body { font-family: system-ui, Arial, sans-serif; margin: 0; background: #0b1220; color: #e6eefc; }
.container { max-width: 1100px; margin: 0 auto; padding: 18px; }
h1 { font-size: 20px; margin: 0 0 14px; }
.row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.videoWrap { position: relative; width: 100%; background: #111a2f; border-radius: 12px; overflow: hidden; }
video { width: 100%; height: auto; display: block; }
canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }

.panel { background: #111a2f; border-radius: 12px; padding: 14px; }
.field { margin-bottom: 10px; display: grid; gap: 6px; }
label { font-size: 12px; opacity: 0.9; }
input { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid #2b3a63; background: #0b1220; color: #e6eefc; }
button { padding: 10px 12px; border-radius: 10px; border: 0; cursor: pointer; margin-right: 8px; }
#btnStart { background: #2b7cff; color: #fff; }
#btnStop { background: #ff4d4d; color: #fff; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.status { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.big { font-size: 18px; margin-top: 6px; }
.note { margin-top: 10px; font-size: 12px; opacity: 0.8; }
small { opacity: 0.8; }