/* Fotoğraf görüntüleyici (tekne ve kabin turu sayfaları): tam ekran, parmakla kaydırma, üstte sayaç ve kapat.
   Bileşen: src/components/site/viewer/PhotoViewer.tsx. assets/catalog.css içindeki genel dialog kuralları
   (küçük kutu, sabit yükseklikli fotoğraf, çerçeveli düğmeler) bu seçicilerle geçersiz kalır. */
html:has(dialog.band-viewer[open]) { overflow:hidden; }
dialog.band-viewer { position:fixed; inset:0; box-sizing:border-box; width:auto; height:auto; max-width:none; max-height:none; margin:0; padding:0; border:0; border-radius:0; background:#07191d; color:#fff; overflow:hidden; }
dialog.band-viewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
dialog.band-viewer::backdrop { background:#07191d; }
dialog.band-viewer .bv-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:max(.55rem,env(safe-area-inset-top)) max(.7rem,env(safe-area-inset-right)) .35rem max(1.05rem,env(safe-area-inset-left)); }
dialog.band-viewer .bv-count { font-size:.95rem; font-weight:600; letter-spacing:.03em; font-variant-numeric:tabular-nums; color:#dfe9ec; }
dialog.band-viewer button { display:grid; place-items:center; box-sizing:border-box; width:44px; height:44px; min-width:0; min-height:0; margin:0; padding:0; border:1px solid #ffffff38; border-radius:50%; background:#12333acc; color:#fff; cursor:pointer; -webkit-tap-highlight-color:transparent; }
dialog.band-viewer button:hover { background:#1d4a53; }
dialog.band-viewer button:focus { outline:none; }
dialog.band-viewer button:focus-visible { outline:2px solid #fff; outline-offset:2px; }
dialog.band-viewer .bv-track { display:flex; min-height:0; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior:contain; scrollbar-width:none; outline:none; }
dialog.band-viewer .bv-track::-webkit-scrollbar { display:none; }
dialog.band-viewer .bv-slide { flex:0 0 100%; box-sizing:border-box; min-width:0; height:100%; margin:0; scroll-snap-align:center; scroll-snap-stop:always; }
dialog.band-viewer .bv-slide img { display:block; width:100%; height:100%; object-fit:contain; user-select:none; -webkit-user-drag:none; }
dialog.band-viewer .bv-nav { position:absolute; top:50%; transform:translateY(-50%); }
dialog.band-viewer .bv-prev { left:max(.45rem,env(safe-area-inset-left)); }
dialog.band-viewer .bv-next { right:max(.45rem,env(safe-area-inset-right)); }
dialog.band-viewer .bv-caption { justify-self:center; box-sizing:border-box; width:100%; max-width:70rem; margin:0; min-height:2.8em; padding:.6rem 1.1rem max(.85rem,env(safe-area-inset-bottom)); text-align:center; font-size:.92rem; line-height:1.4; color:#e3ecee; }
@media (max-width:719px) {
  dialog.band-viewer .bv-nav { width:38px; height:38px; background:#0c272da6; border-color:#ffffff2e; }
}
@media (min-width:720px) {
  dialog.band-viewer .bv-top { padding:.9rem 1.2rem .5rem 1.5rem; }
  dialog.band-viewer .bv-nav { width:52px; height:52px; }
  dialog.band-viewer .bv-prev { left:1.2rem; }
  dialog.band-viewer .bv-next { right:1.2rem; }
  dialog.band-viewer .bv-slide { padding-inline:5.2rem; }
  dialog.band-viewer .bv-caption { font-size:1rem; padding-bottom:1.1rem; }
}
