#free-tabs #photo-launch{background:transparent url(assets/photo/camera.png) center/100% 100% no-repeat;color:transparent}
#free-tabs #photo-launch:hover{background-image:url(assets/photo/camera-active.png)}
#scene.taking-photo #pond{transform:scale(1)!important}
.photography{position:fixed;left:50%;top:50%;translate:-50% -50%;width:min(100vw,177.77778dvh);aspect-ratio:16/9;z-index:90;overflow:clip;container-type:inline-size;background:black;color:#d0bfad}
.photo-stage{position:absolute;inset:0;display:grid;place-items:center;touch-action:none}
.photo-frame{position:relative;overflow:hidden;touch-action:none}.photo-frame canvas{display:block;width:100%;height:100%}
.thirds,.focus-guide{pointer-events:none;position:absolute;inset:0}
.thirds{background:linear-gradient(to right,transparent calc(33.333% - .5px),#fff7 33.333%,transparent calc(33.333% + .5px),transparent calc(66.667% - .5px),#fff7 66.667%,transparent calc(66.667% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#fff7 33.333%,transparent calc(33.333% + .5px),transparent calc(66.667% - .5px),#fff7 66.667%,transparent calc(66.667% + .5px))}
.focus-guide{display:none;inset:auto;left:-100%;width:300%;top:calc(50% + var(--pos)/2);height:var(--width);translate:0 -50%;rotate:var(--angle);border-block:1px dashed #fffb}.focus-guide.on{display:block}
.photo-panel{position:absolute;right:2.5%;top:4%;bottom:4%;width:17.3%;min-width:min(210px,31%);display:flex;flex-direction:column;gap:.38cqw;padding:.9cqw;background:#080704eb;color:#d0bfad;font:clamp(9px,.74cqw,16px) Proxima,sans-serif;transition:transform .25s ease}
.photo-panel button,.photo-restore{color:inherit;background:transparent;border:1px solid #d0bfad70;padding:.3em .45em}
.photo-panel button[aria-pressed=true],.photo-panel header button{background:#126453}
.photo-panel header,.photo-panel nav,.aids,.ratios{display:flex;align-items:center;gap:.3cqw}
.photo-panel header button{padding:.3em .65em;border:0}.photo-panel h2{flex:1;text-align:center;margin:0;font-size:1.65cqw}.photo-panel nav{border-bottom:1px solid #d0bfad66;padding:.3cqw 0}.photo-panel nav button{flex:1}
.photo-scroll{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain;padding:0 .12cqw;scrollbar-width:thin;scrollbar-color:#776c55 transparent}
.photo-panel fieldset,.aids{border:1px solid #d0bfad66;margin:.45cqw 0;padding:.5cqw}
.photo-panel legend,.recipes button{font:italic 1cqw Bodoni,serif}.aids button:last-child{flex:1}.ratios button{flex:1;min-width:0;padding:.35em 0;font-size:.85em}
.photo-panel label{display:flex;align-items:center;justify-content:space-between;min-height:1.5cqw;gap:.25em}
.photo-panel input{width:59%;margin:0;accent-color:#cdbba8;height:1cqw}
.photo-panel [role=switch]{width:2.15em;height:1.12em;border:0;border-radius:1em;background:#737478;position:relative;transition:background .2s;color:#ddd;text-align:left;padding:0;font-size:1em;line-height:1}
.photo-panel [role=switch]::after{content:'';position:absolute;left:8%;top:10%;height:80%;aspect-ratio:1;border-radius:50%;background:#111;transition:transform .2s}
.photo-panel [role=switch][aria-checked=true]{background:#ffde17}.photo-panel [role=switch][aria-checked=true]::after{transform:translateX(102%)}.photo-panel [data-toggle=night]{padding-left:.15em;background:#ae9983}.photo-panel [data-toggle=night]::after{opacity:.6}
.photo-panel [data-act=capture]{background:#ffde17;color:black;border:0;padding:.4em;font:italic 1.45cqw Bodoni,serif}.photo-panel [data-act=capture]::before{content:'';display:inline-block;width:1.15em;height:1em;vertical-align:middle;margin-right:.45em;background:url(assets/photo/capture.png) center/contain no-repeat}
.recipes button{display:flex;align-items:center;width:100%;gap:.65em;margin-bottom:.32cqw;padding:.55em;text-align:left}.recipes img{width:1.25em;height:1.25em;object-fit:contain}
.quiet-photo .photo-panel{transform:translateX(130%)}.photo-restore{position:absolute;right:2.5%;top:3%;background:black;padding:.5em .8em}
.photo-flash{position:fixed;inset:0;background:white;opacity:0;pointer-events:none}
.photo-toast{position:absolute;bottom:3%;left:2.5%;display:flex;align-items:center;gap:.8cqw;background:#090904ec;color:#d0bfad;text-align:right;padding:.7cqw;font-size:.82cqw;transition:transform .28s ease;transform:translateY(180%);pointer-events:none}.photo-toast.visible{transform:none}.photo-toast strong{display:block;font:italic 1.45cqw Bodoni,serif}
.photo-cages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7cqw}.photo-cages button{aspect-ratio:1.65;padding:.55cqw;background:none;border:1px solid #94812e;border-radius:.4cqw}.photo-cages img{width:100%;height:100%;object-fit:contain}
.photo-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#000b}.photo-viewer[open]{display:grid;place-items:center;animation:photo-in .15s ease}.photo-viewer::backdrop{background:transparent}.photo-viewer .original{width:89%;height:90%;object-fit:contain}.photo-viewer button{position:absolute;width:clamp(34px,4vw,64px);aspect-ratio:1;border:0;background:transparent center/contain no-repeat}.photo-viewer .prev{left:3%;background-image:url(assets/photo/prev.png)}.photo-viewer .next{right:3%;background-image:url(assets/photo/next.png)}.photo-viewer .close,.photo-viewer .download{width:clamp(30px,2.8vw,54px);top:3%}.photo-viewer .close{right:2%;background-image:url(assets/photo/close.png)}.photo-viewer .download{right:calc(2% + clamp(30px,2.8vw,54px) + 6px);background-image:url(assets/photo/download.png)}
@keyframes photo-in{from{opacity:0}to{opacity:1}}
.photo-panel{background:#080704dc}
.photo-panel button[data-act=grid],.photo-panel button[data-act=hide],.photo-restore{font-size:0;min-width:2.3cqw;height:2.1cqw;background-image:url(assets/photo/grid.png);background-size:55%;background-position:center;background-repeat:no-repeat}
.photo-panel button[data-act=hide],.photo-restore{background-image:url(assets/photo/hide.png)}
.photo-panel legend::before,.photo-panel nav button::before,.photo-panel button[data-act=freeze]::before,.photo-panel label:has([data-group])::before,.photo-panel label:has([data-toggle])::before{content:'';display:inline-block;width:1em;height:1em;flex:none;vertical-align:middle;margin-right:.28em;background:var(--graphic) center/contain no-repeat}
.photo-panel label input,.photo-panel label [role=switch]{margin-left:auto}
.photo-panel input[type=range]{appearance:none;background:transparent;cursor:pointer}.photo-panel input[type=range]::-webkit-slider-runnable-track{background:#cdbba8;height:2px;border-radius:3px}.photo-panel input[type=range]::-webkit-slider-thumb{appearance:none;width:.68cqw;height:.68cqw;border-radius:50%;background:#d0bfad;border:1px solid #15110d;margin-top:calc(1px - .34cqw)}
.photo-panel [data-tab=Adjust]{--graphic:url(assets/photo/adjust-tab.png)}.photo-panel [data-tab=Presets]{--graphic:url(assets/photo/presets-tab.png)}.photo-panel [data-act=freeze]{--graphic:url(assets/photo/freeze.png)}
.ratios button::before{content:'';display:block;margin:.1em auto .45em;border:1px solid currentColor;height:1em;aspect-ratio:var(--aspect);width:auto;max-width:100%}
.aids{align-items:stretch}.photo-panel .aids button{height:auto;min-height:2.1cqw}
.photo-panel label.photo-zoom{display:block;margin:.4em 0}.photo-zoom span{display:flex;align-items:center;gap:.4em}.photo-zoom img{width:1.2em;height:1.2em;object-fit:contain}.photo-panel .photo-zoom input{flex:1;margin:0}
.photo-panel [data-act=reset]{display:block;margin:.6em auto}.photo-panel button[data-toggle=night][role=switch]{background:#ffde17;color:black}
.photo-viewer[open]{display:flex;align-items:center;justify-content:center;padding:5dvh 5vw;overflow:hidden;box-sizing:border-box}.photo-viewer img.original{position:static;display:block;width:auto;height:auto;max-width:100%;max-height:90dvh;min-height:0;object-fit:contain;margin:0}
.photo-toast{max-width:calc(100% - 5cqw);padding:clamp(7px,.5cqw,10px) clamp(14px,1.2cqw,25px) clamp(7px,.5cqw,10px) clamp(7px,.5cqw,10px);gap:clamp(12px,1cqw,20px);line-height:1.3}
.photo-toast img{display:block;height:clamp(52px,4.4cqw,90px);width:auto;flex:none;object-fit:contain}.photo-toast strong{margin-bottom:.2em}
.photo-panel button[data-toggle=night]::after{opacity:1}

#scene.photo-preview-open{visibility:hidden}
.photo-stage{container-type:size}
.photo-frame{width:min(100cqw,calc(100cqh * var(--photo-ratio,1.77777778)))}
