.qualification-image[src$="/lengshuitan-store-license.png"],
.store-license-paper img {
  image-orientation: from-image;
  filter: contrast(1.065);
}
.qualification-image[src$="/lengshuitan-store-license.png"] { cursor: zoom-in; }
.store-license-viewer[open] .store-license-paper img {
  filter: url(#store-license-clarity) contrast(1.065);
}
.store-license-open { overflow: hidden; }
.store-license-viewer {
  box-sizing: border-box;
  width: min(96vw, 1540px);
  height: 94vh;
  height: 94dvh;
  max-height: none;
  max-width: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: #17253b;
  background: white;
}
.store-license-viewer[open] { display: flex; flex-direction: column; }
.store-license-viewer:not([open]) { display: none; }
.store-license-viewer::backdrop { background: rgb(9 17 32 / 80%); }
.store-license-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid #e2e7ed;
}
.store-license-bar h2 { flex: 1; margin: 0; font-size: 16px; line-height: 1.5; font-weight: 700; }
.store-license-bar button, .store-license-bar select {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #d9e1e8;
  border-radius: 8px;
  background: white;
  color: #28394c;
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.store-license-bar :is(button, select):focus-visible, .store-license-paper:focus-visible { outline: 2px solid #e47018; outline-offset: -2px; }
.store-license-paper {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f3f5f7;
}
.store-license-paper img {
  flex: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
}
.store-license-viewer:is([data-zoom="original"], [data-zoom="double"]) .store-license-paper img {
  max-width: none;
  max-height: none;
}
.store-license-viewer[data-zoom="double"] .store-license-paper img { width: 2560px; }
@media (max-width: 767px) {
  .store-license-viewer { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; }
  .store-license-bar { padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px; }
}
