.photo-motion{isolation:isolate;position:relative;background:#0d1811}
.photo-motion canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;pointer-events:none;transition:opacity .5s;filter:saturate(.88) contrast(1.03)}
.photo-motion.motion-ready canvas{opacity:1}
.photo-motion.motion-ready>img{opacity:0}
.photo-motion .photo-motion-controls{position:absolute;z-index:4;bottom:10px;left:10px;right:10px;display:flex;justify-content:flex-end;align-items:center;gap:6px}
.photo-motion-controls button{border:1px solid #d6bc776e;background:#112317df;color:#ecd5a7;backdrop-filter:blur(6px);font:10px/1.4 var(--sans);padding:7px 9px;border-radius:4px;cursor:pointer;min-height:33px;box-shadow:0 3px 10px #0002}
.photo-motion-controls button:hover{background:#35452df2;border-color:#efcf8e}
.photo-motion-controls button[aria-pressed="true"]{background:#ddc189;color:#173123}
.photo-motion-controls .photo-expand{margin-right:auto}
.photo-motion-controls[hidden],.photo-mode-label[hidden]{display:none!important}
.photo-motion .photo-mode-label{position:absolute;left:12px;top:12px;z-index:4;background:#101b11c9;color:#e7cf9e;padding:6px 8px;border-radius:3px;font:8px var(--sans);letter-spacing:.1em;pointer-events:none}
.photo-dialog{width:min(1030px,95vw);max-width:none;max-height:94dvh;margin:auto;padding:20px;border:1px solid #cbb47770;border-radius:9px;background:#10261b;color:#f6ebd2;box-shadow:0 30px 100px #0008;overflow:auto}
.photo-dialog::backdrop{background:#020e09d4;backdrop-filter:blur(8px)}
.photo-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}
.photo-dialog-header strong{font:28px var(--serif)}
.photo-dialog-header p{font:12px/1.6 var(--sans);color:#bacbbc;margin-top:5px}
.photo-dialog-header button{border:1px solid #b8a0656b;background:#1c3929;color:#e9d19f;font:12px var(--sans);border-radius:4px;padding:9px 12px;cursor:pointer;white-space:nowrap}
.photo-dialog .claim-image{height:auto;width:min(100%,108.8vh);aspect-ratio:8/5;max-height:68vh;border:1px solid #c6ab6445;border-radius:4px;margin:0 auto}
.photo-dialog .claim-image::after{background:linear-gradient(180deg,transparent 70%,#07161055)}
.photo-dialog .photo-motion canvas{filter:none}
.photo-dialog .photo-motion-controls{left:15px;right:15px;bottom:15px}
.photo-dialog .photo-motion-controls button{font-size:12px;padding:9px 12px}
.photo-dialog .photo-expand{display:none}
.photo-dialog .photo-mode-label{font-size:9px;top:15px;left:15px}
.photo-dialog-footer{color:#b7c6b9;font:11px/1.6 var(--sans);margin-top:12px}
.photo-placeholder{height:auto;aspect-ratio:1.75;background:#11291e}
@media(max-width:600px){.photo-dialog{padding:13px}.photo-dialog-header strong{font-size:24px}.photo-dialog-header p{font-size:10px}.photo-dialog .photo-motion-controls{bottom:10px;left:10px;right:10px}.photo-dialog .photo-motion-controls button{font-size:10px;padding:7px 10px}.photo-dialog-footer{font-size:10px}}
