.case-photo-viewer {
  box-sizing: border-box;
  width: min(94vw, 1280px);
  max-height: 94vh;
  color: #e2e8f0;
  background: #101b31;
  border: 1px solid #39516f;
  border-radius: 14px;
  padding: 12px;
}
.case-photo-viewer::backdrop { background: rgb(3 9 20 / 88%); }
.case-photo-viewer header { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.case-photo-viewer button { font: inherit; cursor: pointer; }
.case-photo-viewer img { display: block; width: 100%; max-height: 76vh; object-fit: contain; }
.case-photo-viewer figcaption { padding: 8px 2px 2px; }
main figure a { cursor: zoom-in; }
main figure a:focus-visible { outline: 2px solid #67e8f9; outline-offset: 3px; }

body > header {
  color-scheme: light;
  color: #102a40;
  background: #f7fafc;
  border-bottom-color: #d8e2ec;
}
body > header .back { color: #334f68; }
body > header a:focus-visible { outline-color: #176070; }
