.gallery-slider-wrap {
  position: relative;
}

.gallery-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 78%);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery-slider .shot {
  scroll-snap-align: start;
  cursor: zoom-in;
}

.gallery-slider .shot img {
  width: 100%;
  height: 100%;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 17, 26, 0.65);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.gallery-nav:hover {
  background: rgba(15, 17, 26, 0.9);
}

.gallery-nav.prev {
  left: -10px;
}

.gallery-nav.next {
  right: -10px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 5, 12, 0.74);
  z-index: 9999;
  padding: 24px;
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox-dialog {
  position: relative;
  width: min(1100px, 95vw);
  max-width: 95vw;
  max-height: 92vh;
  display: grid;
  place-items: center;
}

.image-lightbox-img {
  width: auto;
  height: auto;
  max-width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.55);
  display: block;
}

.store-badge-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.store-badge {
  width: auto;
  height: 56px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: block;
}

.lightbox-btn {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(15, 17, 26, 0.66);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lightbox-btn:hover {
  background: rgba(15, 17, 26, 0.9);
}

.lightbox-btn.close {
  top: -8px;
  right: -8px;
}

.lightbox-btn.prev {
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-btn.next {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.app-back-row {
  margin: 0 0 14px;
}

.app-meta-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.app-meta-title {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.app-meta-stack {
  font-size: 13.5px;
}

.spacer-12 {
  height: 12px;
}

.spacer-18 {
  height: 18px;
}

.spacer-38 {
  height: 38px;
}

.app-meta-label {
  font-weight: 800;
  font-size: 13px;
}

.app-desc-block {
  margin-top: 10px;
}

#appDescEn {
  display: none;
}

.app-desc-strong {
  color: rgba(231, 231, 239, 0.92);
}

@media (max-width: 900px) {
  .gallery-slider {
    grid-auto-columns: minmax(240px, 86%);
  }

  .gallery-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox-img {
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .lightbox-btn.close {
    top: 0;
    right: 0;
  }

  .store-badge {
    height: 50px;
  }
}
