/* Camera V3: real visible video layer, not an off-screen video copied to a canvas.
   The filtered canvas is still used for high-quality capture, never as the only preview. */
.camera-app{background:#050609!important}
.camera-head{background:#050609!important;height:54px;flex:none}
.camera-view{position:relative;flex:1;height:auto!important;min-height:260px!important;max-height:none!important;background:#080808}
.camera-view #cameraSource{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:1!important;z-index:1!important;display:block!important;transform:none}
.camera-view #cameraSource.mirrored{transform:scaleX(-1)!important}
.camera-view #cameraCanvas{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}
.camera-view #cameraGrid{z-index:2}
.camera-view #cameraGate{z-index:4;background:#0b0f16ed}
.camera-view #countdown{z-index:3}
.camera-toolbar{flex:0 0 auto;position:relative;display:grid;grid-template-columns:1fr 1fr 48px;gap:10px;padding:8px 18px 0;background:#050609!important}
.camera-toolbar>button{height:38px;min-width:0;display:grid!important;place-items:center;font-size:13px!important;font-weight:750!important;border-radius:50px!important;background:#20242a!important;border:1px solid #414751!important;color:#fff}
.camera-toolbar>button:active{background:#39444e!important}
.camera-toolbar #cameraAdvanced{position:absolute;z-index:8;bottom:49px;right:16px;width:min(220px,90vw);padding:8px;display:flex;gap:5px;flex-direction:column;background:#1b222dcc;border:1px solid #ffffff30;border-radius:13px;backdrop-filter:blur(20px)}
.camera-toolbar #cameraAdvanced[hidden]{display:none!important}
.camera-toolbar #cameraAdvanced button{border:0;background:#ffffff20;border-radius:8px;min-height:43px;font-size:13px}
.camera-bottom{flex:0 0 auto;background:#050609!important;padding:0 12px max(11px,env(safe-area-inset-bottom))}
.camera-looks[hidden]{display:none!important}
.camera-looks{padding:9px 2px 3px!important}
.camera-shutter-row{margin:8px 0!important}
.camera-shutter{width:72px!important;height:72px!important}
.camera-shutter-row .gallery-link{font-size:23px}
.camera-bottom>p{min-height:16px;font-size:11px;margin:3px 0 1px}
.camera-gate button{min-height:46px}
@media(max-height:680px){.camera-head{height:48px}.camera-shutter{width:65px!important;height:65px!important}.camera-shutter-row{margin:3px 0!important}.camera-toolbar{padding-top:3px}.camera-looks{max-height:86px}}
