.photo-dialog{width:min(94vw,1100px);max-width:none;max-height:94dvh;padding:0;border:0;border-radius:12px;background:#fffaf6;color:#39272e;box-shadow:0 24px 100px #10060b55;overflow:auto}
.photo-dialog::backdrop{background:rgb(24 13 21 / 82%)}
.photo-dialog-inner{display:grid;grid-template-rows:auto minmax(0,1fr) auto;position:relative;padding:20px;gap:12px;max-height:94dvh}
.photo-dialog-top{display:flex;justify-content:space-between;gap:24px;align-items:center}
.photo-dialog-title{font:600 18px/1.3 Onest,sans-serif;margin:0}
.photo-dialog-close{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border:1px solid #a58c98;border-radius:50%;color:inherit;background:transparent;cursor:pointer}
.photo-dialog-close:hover{background:#f2dce6}.photo-dialog-close svg{width:22px;height:22px}
.photo-dialog-image{display:block;width:100%;height:auto;max-height:calc(94dvh - 150px);min-height:0;object-fit:contain}
.photo-dialog-caption{font:400 13px/1.5 Onest,sans-serif;margin:0;color:#5e424e}
.photo-dialog :focus-visible{outline:3px solid #74213f;outline-offset:4px}
.mochees-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
[data-gallery-stage]{touch-action:pan-y pinch-zoom}
[data-slide][aria-pressed=true]{cursor:default}
@media(max-width:600px){.photo-dialog-inner{padding:14px;gap:10px}.photo-dialog{width:96vw}.photo-dialog-title{font-size:16px}.photo-dialog-caption{font-size:12px}}
@media(prefers-reduced-motion:reduce){[data-gallery] *,[data-progress-scene] *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
