.appstore-gallery {
  max-width: 1240px;
  padding-top: clamp(42px, 7vw, 84px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.appstore-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}

.appstore-gallery-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.appstore-gallery-head p {
  color: var(--muted);
  max-width: 560px;
  margin: 0;
  font-size: 1.02rem;
}

.appstore-platform + .appstore-platform {
  margin-top: 42px;
}

.appstore-platform-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.appstore-platform-title::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}

.appstore-shot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(520px, 72%);
  gap: 14px;
  margin: 0;
  padding: 0 0 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--accent) transparent;
}

.appstore-shot-strip.portrait {
  grid-auto-columns: minmax(238px, 31%);
}

.appstore-shot {
  background: #050609;
  border: 1px solid var(--line);
  border-radius: 15px;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 22px 54px #00000038;
}

.appstore-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.appstore-shot figcaption {
  color: var(--muted);
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 13px 15px 15px;
  font-size: 0.83rem;
  line-height: 1.4;
}

.appstore-shot figcaption strong {
  color: var(--text);
}

.editor-page .appstore-gallery {
  color: #f4f5f8;
}

.editor-page .appstore-gallery-head p,
.editor-page .appstore-shot figcaption {
  color: #aeb3bd;
}

.editor-page .appstore-platform-title::after {
  background: #ffffff22;
}

.editor-page .appstore-shot {
  border-color: #ffffff22;
}

.editor-page .appstore-shot figcaption {
  background: #11141c;
  border-top-color: #ffffff1c;
}

.editor-page .appstore-shot figcaption strong {
  color: #fff;
}

.support-appstore-gallery {
  padding-top: 8px;
}

@media (width <= 760px) {
  .appstore-gallery-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .appstore-shot-strip,
  .appstore-shot-strip.portrait {
    grid-auto-columns: 88%;
  }

  .appstore-platform + .appstore-platform {
    margin-top: 30px;
  }
}
