button.photo-zoom {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 0;
  cursor: zoom-in;
  text-align: left;
  min-height: 44px;
}
.frame button.photo-zoom {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
}
.photo-zoom-dialog[open] {
  display: flex;
  flex-direction: column;
  width: min(1100px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0.75rem 0.75rem 1rem;
  border: 0;
  border-radius: 0.75rem;
  background: #111111;
  color: #ffffff;
  box-sizing: border-box;
}
.photo-zoom-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}
.photo-zoom-close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  margin: 0 0 0.75rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font: 700 1rem system-ui, sans-serif;
  cursor: pointer;
}
.photo-zoom-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 8.5rem);
  object-fit: contain;
  margin: 0 auto;
  background: #111111;
}
.photo-zoom-caption {
  margin: 0.75rem 0 0;
  line-height: 1.4;
  color: #ffffff;
  font: 400 0.95rem/1.4 system-ui, sans-serif;
}
.photo-zoom-dialog :focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
