.download-modal {
  padding: 12px;
}

.download-modal__backdrop {
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.download-modal__dialog {
  width: min(100%, 620px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid #292b40;
  border-radius: 16px;
  background: #0b0c19;
  color: #f7f7fb;
  padding: 48px 42px 38px;
  text-align: left;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .68);
}

.download-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #aeb0c2;
  font: 700 32px/1 system-ui, sans-serif;
  cursor: pointer;
}

.download-modal__dialog h2 {
  margin: 0 42px 24px;
  color: #ff4d5d;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0;
}

.download-modal__dialog > p {
  margin: 0 0 8px;
  max-width: none;
  color: #b9bbce;
  font-size: clamp(.95rem, 2.5vw, 1.08rem);
  line-height: 1.8;
  font-weight: 700;
}

.download-modal__fallback {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid #292b40;
  border-radius: 8px;
  background: #090a15;
}

.download-modal__fallback p {
  margin: 0;
  max-width: none;
  color: #b9bbce;
  font-size: .92rem;
  line-height: 1.75;
  font-weight: 700;
}

.download-modal__actions {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.download-modal__primary,
.download-modal__secondary {
  min-height: 56px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0;
}

.download-modal__primary {
  background: linear-gradient(90deg, #ff4d5d, #ff9d00);
  color: #fff;
  box-shadow: none;
}

.download-modal__secondary {
  background: #fff;
  color: #ff4d4d;
}

html[dir="rtl"] .download-modal__dialog {
  text-align: right;
}

html[lang="ru"] .download-modal__dialog h2 {
  margin-left: 0;
  margin-right: 0;
}

html[dir="rtl"] .download-modal__close {
  right: auto;
  left: 14px;
}

@media (max-width: 520px) {
  .download-modal__dialog {
    padding: 42px 20px 26px;
  }

  .download-modal__actions {
    grid-template-columns: 1fr;
  }
}
  /* i i s 7 . c o m */