.download-opening {
  padding-top: 32px;
}

.download-mast {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.download-mast .badge {
  margin-top: 8px;
  margin-bottom: 12px;
}

.download-mast h1 {
  margin-top: 12px;
  margin-bottom: 0;
}

.download-primary {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.download-store-main {
  min-height: 76px;
  padding: 16px 40px;
}

.download-store-main strong {
  font-size: var(--text-xl);
}

.download-facts {
  margin-top: 28px;
}

.download-facts .fact-pill {
  flex-wrap: wrap;
}

.download-fact-note {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: var(--text-sm);
}

.download-opening .toc {
  margin-top: 48px;
  margin-bottom: 48px;
}

.download-region .prose {
  max-width: var(--reading);
  margin-inline: auto;
}

.download-verification {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 48px;
}

.download-identity {
  margin-bottom: 32px;
}

.download-identity .verify-name {
  margin-bottom: 0;
}

.download-identity .verify-sub {
  margin-bottom: 0;
}

.download-shot-reference {
  padding-top: 8px;
}

.download-shot-reference .shot-pair {
  gap: 24px;
}

.download-shot-reference .official-shot {
  flex: 0 1 280px;
  min-width: 0;
}

.download-restore-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

.download-restore-notes {
  display: grid;
  gap: 24px;
}

.download-restore-notes .card p {
  margin-top: 16px;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.9;
}

.download-restore-tail {
  max-width: var(--reading);
  margin-top: 32px;
  margin-bottom: 0;
  line-height: 1.9;
}

.download-next {
  margin-top: 32px;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.9;
}

@media (max-width: 1100px) {
  .download-verification {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .download-restore-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .download-restore-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .download-opening {
    padding-top: 20px;
  }

  .download-primary {
    margin-top: 24px;
  }

  .download-store-main {
    min-height: 72px;
    padding: 16px 24px;
  }

  .download-store-main strong {
    font-size: var(--text-lg);
  }

  .download-facts {
    margin-top: 24px;
  }

  .download-facts .fact-pill:first-child {
    flex-basis: 100%;
  }

  .download-opening .toc {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .download-shot-reference .official-shot {
    flex: 0 0 auto;
  }

  .download-restore-notes {
    grid-template-columns: minmax(0, 1fr);
  }
}