.home-room-gallery{position:relative;touch-action:pan-y pinch-zoom;overflow:hidden;background:#e5e9df}.home-room-gallery .home-gallery-open{width:100%;height:100%;display:block;border:0;padding:0;background:transparent;cursor:zoom-in}.home-room-gallery .home-gallery-open img{width:100%;height:100%;object-fit:cover}.home-gallery-enlarge{position:absolute;bottom:18px;left:18px;background:var(--paper);color:var(--green);padding:11px 16px;font-size:11px}.home-gallery-count{position:absolute;top:16px;right:16px;pointer-events:none;background:var(--paper);color:var(--green);padding:5px 12px;font-size:12px;font-variant-numeric:tabular-nums}.home-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:48px;border:0;background:#f7f5efed;color:var(--green);font-size:28px;line-height:1;display:flex;justify-content:center;align-items:center}.home-gallery-arrow[data-direction="-1"]{left:12px}.home-gallery-arrow[data-direction="1"]{right:12px}.home-gallery-arrow:hover{background:#fff}.home-room-gallery button:focus-visible{outline:2px solid var(--green);outline-offset:-4px}#photo-dialog.home-gallery-dialog{max-width:min(1120px,94vw);width:1120px;padding:20px;background:var(--paper);color:var(--green);border:1px solid #aab4a4;max-height:94vh}#photo-dialog.home-gallery-dialog::backdrop{background:#17221ce6}.home-gallery-dialog .home-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}.home-gallery-dialog h2{font-size:20px;font-weight:700;line-height:1.5}.home-gallery-dialog .home-dialog-head button{position:static;background:transparent;border:1px solid #aab4a4;color:var(--green);padding:8px 14px;font-size:12px}.home-dialog-stage{position:relative;touch-action:pan-y pinch-zoom}.home-gallery-dialog .home-dialog-stage img{width:100%;height:65vh;max-height:none;object-fit:contain;background:#e5e9df}.home-dialog-caption{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:12px;font-size:12px;color:var(--green)}.home-dialog-caption p{color:var(--green)}.home-dialog-count{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:600px){.home-gallery-arrow{width:34px;height:42px;font-size:25px}.home-gallery-enlarge{left:14px;bottom:14px;padding:9px 12px;font-size:10px}.home-gallery-count{top:12px;right:12px;font-size:11px}#photo-dialog.home-gallery-dialog{padding:12px}.home-gallery-dialog h2{font-size:17px}.home-gallery-dialog .home-dialog-stage img{height:58vh}.home-dialog-caption{font-size:10px;align-items:start}.home-gallery-dialog .home-dialog-head button{font-size:11px;padding:8px 10px}}
#photo-dialog.home-gallery-dialog .home-dialog-stage img{height:65vh;max-height:calc(100dvh - 180px)}
.home-gallery-dialog .home-dialog-head h2{margin:0}.home-dialog-caption p{margin:0}
@media(max-width:600px){#photo-dialog.home-gallery-dialog .home-dialog-stage img{height:58vh;max-height:calc(100dvh - 170px)}}
