html:has(.camera-modal[open]),body:has(.camera-modal[open]){overflow:hidden;overscroll-behavior:none}
/* Camera chrome leaves the actor and the centre of the frame unobstructed. */
.camera-modal .camera-live{inset:0 0 calc(140px + env(safe-area-inset-bottom))}
.camera-modal .camera-live:after{background:radial-gradient(ellipse,transparent 62%,#0004);box-shadow:none}
.camera-modal .camera-grain,.camera-modal .camera-battery,.camera-modal .camera-signal,.camera-modal .camera-location,.camera-modal .camera-key-hint,.camera-modal .camera-focus-text{display:none}
.camera-modal .camera-top{left:20px;right:20px;top:20px;display:flex;gap:14px;flex-wrap:nowrap;justify-content:flex-start;font:12px system-ui}
.camera-modal .camera-mode{font:12px system-ui;letter-spacing:.08em;min-width:32px}
.camera-modal .camera-zoom{position:static;display:flex;gap:9px;font:11px system-ui;margin:0}
.camera-modal .camera-zoom>span{display:none}.camera-modal .camera-zoom b{font:11px monospace;min-width:35px}.camera-modal .camera-zoom input{width:100px;min-height:24px;accent-color:#d0d8c7}
.camera-modal .camera-lower{inset:22px 20px auto auto;font:11px monospace;display:block}.camera-modal .camera-count{font:11px monospace}
.camera-modal .viewfinder-corners{inset:65px 14px calc(158px + env(safe-area-inset-bottom))}.camera-modal .viewfinder-corners i{width:17px;height:17px;border-width:1px;opacity:.4}
.camera-modal .camera-middle{top:calc(50% - 70px - env(safe-area-inset-bottom)/2)}
.camera-modal .focus-reticle{width:58px;height:58px;border:1px solid #cad4be66;box-shadow:none;opacity:.65}.camera-modal .focus-ring{inset:-4px;width:64px;height:64px}.camera-modal .focus-ring circle{stroke-width:1.5}.camera-modal.focus-ready .focus-ring circle{stroke-width:2}.camera-modal.focus-ready .focus-reticle{box-shadow:none;opacity:.8}
.camera-modal .camera-find,.camera-modal .camera-lamp{top:auto;bottom:calc(153px + env(safe-area-inset-bottom));min-height:40px;padding:7px 12px;font:11px system-ui;background:#08100bc9;border:1px solid #81907880;box-shadow:none}
.camera-modal .camera-find{right:14px}.camera-modal .camera-lamp{left:14px;right:auto}
.camera-modal .camera-dread{left:16px;right:16px;bottom:calc(201px + env(safe-area-inset-bottom));opacity:0;font-size:10px}.camera-modal.under-watch .camera-dread{opacity:.85}
.camera-modal .camera-message{bottom:calc(112px + env(safe-area-inset-bottom));left:16px;right:16px;max-height:40px;overflow:auto;font:11px/1.6 system-ui;color:#c7d0bd}
.camera-modal .camera-controls{left:16px;right:16px;bottom:calc(8px + env(safe-area-inset-bottom));height:100px;display:grid;grid-template-columns:1fr 100px 1fr;gap:10px}
.camera-modal .capture-main{position:static;transform:none;justify-self:center;gap:3px}.camera-modal .camera-close{justify-self:start;min-height:44px;max-width:100px;font:11px/1.5 system-ui;padding:7px 10px}.camera-modal .camera-mode-tabs{gap:0}.camera-modal .camera-mode-tabs button{min-width:45px;min-height:28px;font-size:11px;padding:3px 8px}
.camera-modal .shutter{width:64px;height:64px}.camera-modal .shutter span{width:48px;height:48px}.camera-modal .shutter.recording span{width:24px;height:24px}
.camera-modal .camera-turn{font-size:26px;min-width:40px;min-height:44px;padding:0;top:calc(50% - 98px);background:transparent;opacity:.65}.camera-modal .camera-turn.left{left:0}.camera-modal .camera-turn.right{right:0}
.camera-modal .camera-rec{top:66px;left:50%;position:fixed;font:12px monospace}
@media(min-width:900px){.camera-modal .camera-top{left:35px;top:26px}.camera-modal .camera-lower{right:35px;top:28px}.camera-modal .camera-zoom input{width:150px}.camera-modal .camera-controls{left:10%;right:10%}}

.camera-modal .viewfinder-corners i:nth-child(1){border-width:1px 0 0 1px}.camera-modal .viewfinder-corners i:nth-child(2){border-width:1px 1px 0 0}.camera-modal .viewfinder-corners i:nth-child(3){border-width:0 0 1px 1px}.camera-modal .viewfinder-corners i:nth-child(4){border-width:0 1px 1px 0}.camera-modal.focus-ready .shutter{border-color:#d9be79}
