#main .skpg-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 8px 0 24px;
}
#main .skpg-photos a {display: grid; gap: 8px; color: inherit; text-decoration: none;}
#main .skpg-photos img {display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #22272b;}
#main .skpg-photos a:hover span {color: #ff9a71;}
#main .skpg-photos a:focus-visible, #main .skpg-viewer button:focus-visible {outline: 2px solid #ff9a71; outline-offset: 3px;}
#main .skpg-viewer {
  width: min(920px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: clamp(12px, 3vw, 24px);
  border: 1px solid #66615a;
  background: #171a1d;
  color: #ece8de;
  color-scheme: dark;
}
#main .skpg-viewer::backdrop {background: #08090be8;}
#main .skpg-viewer[open] {animation: skpg-appear 180ms ease-out;}
#main .skpg-top, #main .skpg-nav {display: flex; align-items: center; justify-content: space-between; gap: 8px;}
#main .skpg-top h2 {margin: 0; color: inherit; font-size: 19px;}
#main .skpg-viewer button {min-height: 44px; padding: 8px 14px; border: 1px solid #77716a; background: #1f2327; color: inherit; font: inherit; cursor: pointer;}
#main .skpg-viewer button:hover {border-color: #ff9a71;}
#main .skpg-viewer figure {margin: 12px 0;}
#main .skpg-viewer figure img {display: block; width: 100%; height: min(58dvh, 530px); object-fit: contain; background: #121416;}
#main .skpg-viewer figcaption {padding-top: 8px;}
#main .skpg-viewer output {white-space: nowrap; color: #c1b9a9;}
@media (max-width: 540px) {
  #main .skpg-photos {gap: 8px;}
  #main .skpg-photos a {font-size: 13px;}
  #main .skpg-photos img {aspect-ratio: 1;}
  #main .skpg-top h2, #main .skpg-viewer button {font-size: 14px;}
}
@keyframes skpg-appear {from {opacity: .4;} to {opacity: 1;}}
@media (prefers-reduced-motion: reduce) {#main .skpg-viewer[open] {animation: none;}}
