html.public-photo-open { overflow: hidden; }
dialog.property-gallery-modal { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #080c14; color: #fff; }
dialog.property-gallery-modal[open] { display: flex; flex-direction: column; }
.property-gallery-modal::backdrop { background: #080c14; }
.property-gallery-modal [hidden] { display: none !important; }
.property-gallery-modal__header { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: 16px; padding: max(14px, env(safe-area-inset-top)) 20px 14px; border-bottom: 1px solid #ffffff24; background: #0e1420; }
.property-gallery-modal__header h2 { margin: 0 0 5px; color: #fff; font: inherit; font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.property-gallery-modal__header span { color: #cbd5e1; font-size: .75rem; }
.property-gallery-modal__close { display: inline-grid; flex-shrink: 0; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff40; border-radius: 10px; color: #fff; background: #ffffff12; cursor: pointer; }
.property-gallery-modal__stage { position: relative; display: grid; flex: 1 1 auto; min-height: 0; place-items: center; overflow: hidden; touch-action: pan-y pinch-zoom; }
.property-gallery-modal__image { width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; }
.property-gallery-modal__nav { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 44px; height: 54px; transform: translateY(-50%); padding: 0; border: 1px solid #ffffff40; border-radius: 10px; color: #fff; background: #111827b3; font-size: 2rem; cursor: pointer; }
.property-gallery-modal__nav.is-prev { left: 16px; }
.property-gallery-modal__nav.is-next { right: 16px; }
.property-gallery-modal__feedback { position: absolute; z-index: 1; margin: 0; padding: 20px; text-align: center; color: #e2e8f0; font-size: .875rem; }
.property-gallery-modal__feedback button { min-height: 44px; padding: 8px 18px; border: 1px solid #ffffff66; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.property-gallery-modal__thumbs { display: flex; flex: 0 0 auto; gap: 8px; overflow-x: auto; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff24; background: #0e1420; }
.property-gallery-modal__thumbs button { position: relative; flex: 0 0 76px; width: 76px; height: 58px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #1e293b; opacity: .6; cursor: pointer; }
.property-gallery-modal__thumbs button[aria-current=true] { border-color: #fff; opacity: 1; }
.property-gallery-modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.property-gallery-modal :is(button, [tabindex]):focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 575px) { .property-gallery-modal__header { padding-inline: 14px; } .property-gallery-modal__nav.is-prev { left: 8px; } .property-gallery-modal__nav.is-next { right: 8px; } .property-gallery-modal__thumbs { padding-inline: 14px; } }
