body {
  background: #777777;
  margin: 0;
  font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
  font-weight: normal;
  color: #fff;
}

.pages {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 24px;
  font-size: 18px;
}

.pages a {
  color: #adadad;
  text-decoration: none;
}

.pages a[aria-current] {
  color: #fff;
}

.strip-section {
  padding: 24px 24px 8px;
}

.strip-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.strip-section h2 {
  margin: 0;
  font-weight: normal;
  font-size: 18px;
}

.strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip figure {
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  scroll-snap-align: start;
}

.strip figure img {
  width: auto;
  height: auto;
  max-width: 480px;
  max-height: 480px;
  display: block;
  border: 12px solid #ffffff;
  box-sizing: content-box;
  cursor: zoom-in;
}

.strip figcaption {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: #adadad;
}

.nav-row {
  display: flex;
  gap: 4px;
}

.nav {
  background: none;
  border: none;
  padding: 0 4px;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.strip-wrap.at-start .nav.prev,
.strip-wrap.at-end .nav.next {
  color: #adadad;
  cursor: default;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(80, 80, 80, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  border: 0 solid #ffffff;
  box-sizing: content-box;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  padding: 4px 12px;
  cursor: pointer;
  font-family: inherit;
  opacity: 0.85;
}

.lightbox-close:hover {
  opacity: 1;
}
