#sheet.shooting{--foot:calc(66px + env(safe-area-inset-bottom,0px));padding:env(safe-area-inset-top,0px) 0 0;background:#000;overflow:hidden}
.shooting .studio{position:relative;height:100%;max-width:510px;margin:auto;direction:ltr}
.shooting #stage{position:absolute;inset:0 0 var(--foot);width:100%;height:auto;min-height:0;border:0;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#283039,#10151d)}
.shooting #stage video{object-fit:cover!important}.shooting #stage:after{content:"";position:absolute;inset:0;background:linear-gradient(#0003,transparent 23%,transparent 65%,#0006);pointer-events:none}
.shooting #stage.gridOn:before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,transparent 33%,#fffa 33.2%,transparent 33.5%,transparent 66%,#fffa 66.2%,transparent 66.5%),linear-gradient(transparent 33%,#fffa 33.2%,transparent 33.5%,transparent 66%,#fffa 66.2%,transparent 66.5%);pointer-events:none}
.shooting .studio>.bar{position:absolute;z-index:2;inset:12px 0 auto;height:42px;margin:0;pointer-events:none}.shooting .studio>.bar button{pointer-events:auto;position:absolute;color:white}.shooting #heading{display:none}.shooting #close{left:9px;background:none;font:36px/1 Arial;padding:0;width:42px;height:42px;text-shadow:0 1px 3px #333}.shooting #sound{left:50%;transform:translateX(-50%);background:#191919a8;border-radius:28px;padding:8px 15px;font:700 16px/1.5 Arial,sans-serif;white-space:nowrap}
.shooting #cameraRail{position:absolute;z-index:2;right:6px;top:12px;display:grid;gap:4px}.shooting #cameraRail button{position:relative;width:43px;height:43px;padding:7px;background:transparent;color:white;filter:drop-shadow(0px 1px 2px #444);font:25px/1 sans-serif}.shooting #cameraRail svg{width:26px;height:26px;display:block;margin:auto}.shooting #cameraRail button.on:after{content:"";position:absolute;right:4px;bottom:6px;width:7px;height:7px;border-radius:50%;background:#ff355e}
.shooting #lengths{position:absolute;z-index:2;right:0;left:0;bottom:calc(var(--foot) + 109px);justify-content:center;gap:6px;direction:ltr}.shooting #lengths button{background:none;color:#fff;padding:4px 9px;border-radius:16px;text-shadow:0 1px 3px #555;font:bold 14px/1.25 Arial}.shooting #lengths .active{background:white;color:#111;text-shadow:none}
.shooting #captureFilters{position:absolute;bottom:calc(var(--foot) + 22px);left:50%;transform:translateX(-50%);width:min(100%,408px);height:74px;padding:3px 10px;display:grid;grid-template-columns:1fr 1fr 80px 1fr 1fr;place-items:center;gap:3px;direction:ltr;overflow:visible}.shooting #captureFilters button{width:clamp(34px,12vw,52px);aspect-ratio:1;border-radius:50%;border:2px solid #ffffff88;color:transparent;padding:0;background-size:cover;background-position:center}.shooting #captureFilters button:nth-child(3){grid-column:4}.shooting #captureFilters button.active{outline:2px solid white;outline-offset:2px}
.shooting #record{position:absolute;z-index:2;left:50%;transform:translateX(-50%);bottom:calc(var(--foot) + 20px);width:74px;height:74px;border:3px solid white;box-shadow:inset 0 0 0 3px #5558;background:#fe2856;border-radius:50%}
.shooting #gallery{position:absolute;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);left:13px;width:39px;height:39px;border:2px solid white;border-radius:8px;background:#272c30;color:white;padding:4px}
.shooting #gallery svg{width:25px;height:25px}.shooting .modebar{position:absolute;bottom:env(safe-area-inset-bottom,0px);height:65px;left:64px;right:5px;direction:ltr;display:flex;align-items:center;justify-content:center;gap:14px;margin:0}.shooting .modebar button{background:none;color:#aaa;font:700 15px Arial;padding:8px 3px}.shooting .modebar .active{color:white}
#liveMode{display:none}.shooting #liveMode{display:block}.shooting #camera{position:absolute;left:50%;top:41%;transform:translateX(-50%);z-index:2;border-radius:24px;background:#21242c;color:white;font-size:14px}.shooting #stage:has(video)~#capture #camera{display:none}.shooting #guide{font-size:14px;align-content:start;top:23%;direction:rtl}.shooting #cameraControls>.row{margin:0}.shooting #status{z-index:10}
@media(max-height:500px){.shooting #cameraRail{display:flex;top:60px}.shooting #record{height:52px;width:52px}.shooting #captureFilters{height:50px}.shooting #lengths{bottom:calc(var(--foot) + 65px)}}
.shooting #cameraRail.expanded [data-label]:not(:last-child)::before{content:attr(data-label);position:absolute;right:100%;top:50%;transform:translateY(-50%);font:700 13px Arial;color:white}.shooting #cameraRail:not(.expanded) [data-label=Speed]{display:none}#promptLine{position:absolute;inset:24% 60px auto 12%;text-align:center;max-height:36%;overflow:auto;background:#1119;color:white;padding:10px;z-index:3;white-space:pre-wrap;direction:rtl}.shooting #cameraRail{max-height:calc(100% - 235px);overflow-y:auto;overflow-x:hidden;width:141px;justify-items:end;pointer-events:none}.shooting #cameraRail button{pointer-events:auto}#drawer textarea{width:100%;min-height:5rem}
