dialog.image-viewer {
  width: min(1200px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: .75rem;
  color: #fff;
  background: #19181b;
  border: 1px solid #615c64;
  overflow: auto;
}
.image-viewer::backdrop { background: #111016e8; }
.image-viewer-bar,.image-viewer-controls { display: flex; gap: .6rem; justify-content: space-between; align-items: center; }
.image-viewer-bar p { margin: 0; font-weight: 650; }
.image-viewer-picture { background: #100f11; margin-block: .6rem; }
.image-viewer-picture img { display: block; width: 100%; height: min(70dvh, 730px); object-fit: contain; }
.image-viewer button { color: #fff; background: #342f36; border-color: #777179; }
.image-viewer button:hover { background: #554750; }
.image-viewer button:focus-visible { outline-color: #ff7eae; }
