.plate-photo-link {
  display: block;
  min-width: 0;
  border-radius: 12px;
  cursor: zoom-in;
}
.plate-photo-link:focus-visible {
  outline: 3px solid #a63c06;
  outline-offset: 2px;
}
.plate-viewer {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(94vw, 1020px);
  max-width: none;
  max-height: 94dvh;
  padding: 12px;
  border: 0;
  border-radius: 16px;
  background: #202124;
  color: #fff;
}
.plate-viewer::backdrop { background: rgb(0 0 0 / 80%); }
.plate-viewer-header, .plate-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
.plate-viewer-controls { justify-content: center; margin-top: 8px; }
.plate-viewer button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #aaa;
  border-radius: 8px;
  color: #fff;
  background: #36383c;
  font-size: 1.4rem;
  cursor: pointer;
}
.plate-viewer button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.plate-viewer img {
  display: block;
  width: 100%;
  height: min(68dvh, 680px, calc(94dvh - 120px));
  object-fit: contain;
  touch-action: pan-y pinch-zoom;
}

