html.misc-document {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #101010;
  scroll-behavior: auto;
}
.misc-page {
  position: fixed;
  inset: 0;
  bottom: auto;
  width: 100%;
  height: var(--gallery-height, 100dvh);
  overflow: hidden;
  overscroll-behavior: none;
  background: #101010;
  color: #fff;
}
.misc-page a:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 6px;
}
.gallery-header,
.gallery-footer {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 32px;
  pointer-events: none;
  font-size: 14px;
  line-height: 1.4;
}
.gallery-header {
  top: 0;
  height: 190px;
  padding-top: 20px;
  align-items: flex-start;
  background: linear-gradient(#000a, transparent);
}
.gallery-header > * {
  pointer-events: auto;
}
.misc-page .navigation {
  position: absolute;
  top: var(--edge);
  left: var(--desktop-gutter, var(--edge));
  z-index: 3;
  color: #fff;
  mix-blend-mode: normal;
  text-shadow: 0 1px 8px #000b;
}
.gallery-brand {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 112px;
}
.gallery-brand img {
  width: 100%;
  height: auto;
  filter: invert(1);
}
.gallery-footer {
  bottom: 0;
  min-height: 100px;
  align-items: flex-end;
  padding-bottom: 24px;
  background: linear-gradient(transparent, #000b);
}
.gallery-footer h1 {
  font-size: 14px;
  white-space: nowrap;
}
.infinite-gallery {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.infinite-gallery.is-dragging,
.infinite-gallery.is-dragging * {
  cursor: grabbing !important;
}
.keyboard-navigation .infinite-gallery:focus-visible {
  outline: 1px solid #fff8;
  outline-offset: -8px;
}
.gallery-tiles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.misc-page .gallery-tile {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background: #1b1b1b;
  pointer-events: auto;
  cursor: grab;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}
.gallery-noscript {
  position: fixed;
  z-index: 3;
  left: 24px;
  right: 24px;
  top: 45%;
  text-align: center;
}
.gallery-noscript a {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .gallery-header,
  .gallery-footer {
    padding-inline: 20px;
    font-size: 12px;
  }
  .gallery-header {
    height: 160px;
    padding-top: max(14px, env(safe-area-inset-top));
  }
  .misc-page .navigation {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    left: 20px;
    font-size: 15px;
  }
  .gallery-brand {
    top: max(20px, env(safe-area-inset-top));
    width: 88px;
  }
  .gallery-footer {
    min-height: 110px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .gallery-footer h1 {
    font-size: 12px;
  }
}
