.review { position: relative; }
.review .review-hit { position: absolute; inset: 0; display: block; }
.review .review-hit:focus-visible { outline: 2px solid #167c93; outline-offset: 2px; }
@media (hover: hover) {
  .review:hover .identity strong { text-decoration: underline; }
}
.photo-opener, .hero-opener {
  appearance: none; padding: 0; border: 0; background: transparent;
  color: inherit; cursor: zoom-in;
}
.photo-opener { display: block; min-width: 0; }
.photo-opener img { display: block; }
.hero-opener { position: absolute; inset: 0; width: 100%; z-index: 1; }
.hero-opener:focus-visible, .photo-opener:focus-visible { outline: 3px solid #167c93; outline-offset: -3px; }
#photo-viewer {
  width: min(92vw, 740px); max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 12px; margin: auto;
  background: #1e1d1b; color: #fff8eb;
  font: 600 15px/1.3 system-ui, sans-serif;
}
#photo-viewer::backdrop { background: rgb(12 11 10 / 88%); }
html:has(#photo-viewer[open]) { overflow: hidden; }
.viewer-header, .viewer-controls {
  display: flex; align-items: center; padding: 4px 12px; gap: 12px;
}
.viewer-header { justify-content: space-between; }
.viewer-controls { justify-content: center; font-variant-numeric: tabular-nums; }
#photo-viewer button {
  background: transparent; color: inherit; border: 0; cursor: pointer;
  font: inherit; min-width: 44px; min-height: 44px;
}
#photo-viewer button:focus-visible { outline: 2px solid #eee1c7; outline-offset: -3px; }
#photo-viewer [data-step] { font-size: 30px; }
#photo-viewer button:disabled { opacity: .32; cursor: default; }
.viewer-track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; direction: ltr;
}
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-track img {
  box-sizing: border-box; flex: 0 0 100%; width: 100%; min-width: 0;
  max-width: none; height: min(72vh, 740px); height: min(72dvh, calc(100dvh - 135px), 740px);
  object-fit: contain; scroll-snap-align: start;
}
