.gallery #photo-thumbs {
  display:flex; gap:9px; overflow-x:auto; overscroll-behavior-x:contain;
  scrollbar-width:thin; scrollbar-color:#76776b #232421;
}
.gallery #photo-thumbs button {
  flex:0 0 clamp(90px,16%,148px); min-width:0; scroll-margin:8px;
}
.gallery #photo-thumbs img { height:auto; aspect-ratio:1.7; width:100%; object-fit:cover }
.gallery #photo-thumbs button span { max-width:none }
.gallery #photo-surface[data-look=handset] { background:#e9e7df }
.gallery #photo-surface[data-look=handset] .frame-counter { color:#27271f; text-shadow:none }
.gallery #photo-label { max-width:calc(100% - 85px); line-height:1.25 }
.gallery #photo-surface:is([data-look=warm-still],[data-look=blue-still]) { background:#0b0b09 }
.photo-step {
  display:grid; place-content:center; position:absolute; top:50%; z-index:2;
  inline-size:40px; block-size:40px; transform:translateY(-50%);
  background:#171916ba; border:1px solid #ffffff56; border-radius:50%; color:#fffefa;
}
.photo-step.previous { left:12px }
.photo-step.next { right:12px }
.photo-step::after {
  content:""; width:9px; height:9px; border:solid currentColor; border-width:0 1.7px 1.7px 0;
}
.photo-step.previous::after { transform:translateX(2px) rotate(135deg) }
.photo-step.next::after { transform:translateX(-2px) rotate(-45deg) }
.photo-step:hover { background:#171916ed }
@media(max-width:740px) {
  .gallery #photo-thumbs { gap:7px }
  .gallery #photo-thumbs button { flex-basis:clamp(78px,26%,108px) }
  .photo-step { inline-size:36px; block-size:36px }
  .photo-step.previous { left:7px }
  .photo-step.next { right:7px }
}
