.gallery-photo{display:block;position:relative;cursor:zoom-in}
.gallery-photo:focus-visible{outline:3px solid #cd7d22;outline-offset:4px}
.gallery-photo-lead{overflow:hidden}
.gallery-enlarge-label{position:absolute;right:18px;bottom:18px;background:rgba(255,255,255,.95);color:#102f45;padding:8px 13px;border-radius:4px;font-size:.85rem;font-weight:600;box-shadow:0 2px 12px #0003}
.gallery-hint{font-size:.85rem;margin-top:10px}
.gallery-action [data-gallery-open]{font:inherit;color:inherit;background:none;border:0;border-bottom:1px solid currentColor;padding:8px 0;cursor:pointer;min-height:44px}
.gallery-action [data-gallery-open]:focus-visible{outline:3px solid #cd7d22;outline-offset:4px}
.photo-viewer{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:20px 28px;background:#0b1219;color:#fff;box-sizing:border-box;overflow:hidden}
.photo-viewer[open]{display:flex;flex-direction:column;gap:14px}
.photo-viewer::backdrop{background:rgba(6,14,21,.96)}
.photo-viewer p{margin:0;color:#fff;line-height:1.5}
.photo-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}
.photo-viewer-name{font-size:1rem;font-weight:600}
.photo-viewer button{font:inherit;cursor:pointer;color:#fff;background:#1f2c37;border:1px solid #61727e;border-radius:6px;min-width:48px;min-height:48px}
.photo-viewer button:hover{background:#344c5d}
.photo-viewer button:focus-visible{outline:3px solid #e5b87c;outline-offset:3px}
.photo-viewer-close{display:flex;align-items:center;justify-content:center;gap:12px;padding:5px 15px;flex-shrink:0}
.photo-viewer-close span{font-size:1.8rem;line-height:1}
.photo-viewer-stage{position:relative;flex:1;min-height:0;touch-action:pan-y pinch-zoom}
.photo-viewer .photo-viewer-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;user-select:none}
.photo-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);width:50px;height:58px;padding:0;box-shadow:0 2px 14px #0006;background:rgba(19,32,43,.85)!important}
.photo-viewer-nav span{display:block;font:2.8rem/1 Georgia,serif;margin-top:-3px}
.photo-viewer-prev{left:8px}.photo-viewer-next{right:8px}
.photo-viewer [hidden]{display:none}
.photo-viewer-details{flex-shrink:0;text-align:center;min-height:48px;font-size:.95rem}
.photo-viewer-count{font-size:.85rem;color:#bfd8eb!important;margin-bottom:3px!important}
@media(max-width:680px){.gallery-enlarge-label{right:12px;bottom:12px;padding:6px 10px}.photo-viewer{padding:14px 10px;gap:10px}.photo-viewer-name{font-size:.9rem}.photo-viewer-toolbar{gap:10px}.photo-viewer-close{gap:8px;padding:5px 10px}.photo-viewer-nav{width:44px;height:50px;min-width:44px;min-height:50px}.photo-viewer-prev{left:2px}.photo-viewer-next{right:2px}.photo-viewer-details{font-size:.87rem}}
