/* sst-qo-psa-photos-20261204: Quick Order PSA10 in-stock card with 2+ pictures = a layer over the card picture (same box)
 * with ‹ › + dots, same look as the RAW cards (raw-tab.css). Picture 1 (and its PSA frame) is never touched. */
.sst-pp { position: absolute; z-index: 2; box-sizing: border-box; pointer-events: none; }  /* star button stays above (z 3) */
.sst-qo--list .sst-pp { display: none !important; }
.sst-pp__view {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 6px; background: var(--sst-pp-bg, #fff);
}
html[data-sst-theme="dark"] .sst-pp__view { background: var(--sst-pp-bg, #1a1a1c); }
.sst-pp__view[hidden] { display: none !important; }
.sst-pp__view > img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: contain;
  animation: sst-pp-in .16s ease;
}
.sst-pp__frame {
  position: relative; display: block; height: 100%; max-width: 100%; aspect-ratio: 254 / 416;
  background: #f7f7f7 center / 100% 100% no-repeat; animation: sst-pp-in .16s ease;
}
html body .sst-pp__win.sst-psa-frame__win {
  position: absolute; left: 10.4%; top: 25.4%; width: 79.2%; height: 69.2%; overflow: hidden; border-radius: 2px;
}
html body .sst-pp__win img {
  position: absolute; left: 0; top: 0; width: 100% !important; height: 100% !important;
  max-width: none !important; max-height: none !important; min-width: 0 !important; object-fit: fill;
}
@keyframes sst-pp-in { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sst-pp__view > img, .sst-pp__frame { animation: none; } }

html body .sst-qo .sst-pp__nav:not(#sst-pp-never) {
  position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); pointer-events: auto;
  display: grid !important; place-items: center; box-sizing: border-box !important;
  width: 30px !important; height: 30px !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important;
  border: 1px solid #e8e8e8 !important; border-radius: 50% !important;
  background: rgba(255, 255, 255, .9) !important; color: #1a1a1a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14) !important;
  font-size: 0 !important; line-height: 0 !important; cursor: pointer; opacity: .88;
  transition: opacity .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
html body .sst-qo .sst-pp__nav.is-prev:not(#sst-pp-never) { left: 6px; right: auto; }
html body .sst-qo .sst-pp__nav.is-next:not(#sst-pp-never) { right: 6px; left: auto; }
.sst-pp__nav svg {
  display: block; width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
@media (hover: hover) {
  html body .sst-qo .sst-pp__nav:not(#sst-pp-never):hover { opacity: 1; background: #fff !important; }
}
html body .sst-qo .sst-pp__nav:not(#sst-pp-never):active { transform: translateY(-50%) scale(.94); }
html body .sst-qo .sst-pp__nav:not(#sst-pp-never):focus-visible { outline: 2px solid #9e2c5f; outline-offset: 2px; opacity: 1; }
html[data-sst-theme="dark"] body .sst-qo .sst-pp__nav:not(#sst-pp-never) {
  background: rgba(26, 26, 28, .88) !important; color: #ececec !important; border-color: #2c2c30 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45) !important;
}
@media (hover: hover) {
  html[data-sst-theme="dark"] body .sst-qo .sst-pp__nav:not(#sst-pp-never):hover { background: #2a2a2e !important; }
}
.sst-pp__dots {
  position: absolute; left: 0; right: 0; bottom: 6px; z-index: 1;
  display: flex; justify-content: center; gap: 5px; pointer-events: none;
}
.sst-pp__dots i {
  display: block; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0, 0, 0, .25); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
  transition: background-color .15s ease, transform .15s ease;
}
.sst-pp__dots i.is-on { background: #9e2c5f; transform: scale(1.2); }
html[data-sst-theme="dark"] .sst-pp__dots i { background: rgba(255, 255, 255, .3); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
html[data-sst-theme="dark"] .sst-pp__dots i.is-on { background: #e06a9d; }
@media (max-width: 749px) {
  html body .sst-qo .sst-pp__nav:not(#sst-pp-never) { width: 28px !important; height: 28px !important; }
  html body .sst-qo .sst-pp__nav.is-prev:not(#sst-pp-never) { left: 4px; }
  html body .sst-qo .sst-pp__nav.is-next:not(#sst-pp-never) { right: 4px; }
}
