.download-app-dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.download-app-dialog-mask.is-open { display: flex; }
.download-app-dialog-stack {
  width: 440px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* PC Figma: 440 / padding 36 / radius 40 / outline / gap 18 */
.download-app-dialog-card {
  width: 440px;
  max-width: 100%;
  padding: 36px;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  color: #fff;
  background: #0d0d0d;
  border: 0;
  border-radius: 40px;
  outline: 1px solid rgba(255, 255, 255, 0.2);
  outline-offset: -1px;
  font-family: "PingFang SC", "Noto Sans SC", sans-serif;
}

.download-app-dialog-brand {
  position: relative;
  display: block;
  width: 183px;
  height: 49px;
  flex: 0 0 auto;
}
.download-app-dialog-brand img {
  position: absolute;
  top: -4px;
  left: 0;
  display: block;
  width: 183px;
  height: 57px;
  object-fit: contain;
}

.download-app-dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.download-app-dialog-title {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  word-wrap: break-word;
}

.download-app-dialog-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  word-wrap: break-word;
}

.download-app-dialog-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 4px 12px;
  color: #ec237f;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  word-wrap: break-word;
  border-radius: 21px;
  outline: 1px solid #ec237f;
  outline-offset: -1px;
}

.download-app-dialog-qr {
  position: relative;
  width: 180px;
  height: 180px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  flex: 0 0 auto;
}
.download-app-dialog-qr > img,
.download-app-dialog-qr > canvas {
  display: block;
  width: 164px;
  height: 164px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
}

.download-app-dialog-url {
  max-width: 100%;
  overflow: hidden;
  color: #ec237f;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: break-word;
}
.download-app-dialog-url:hover { color: #ff5b9f; }

.download-app-dialog-cta { display: none; }

.download-app-dialog-close {
  width: 36px;
  height: 36px;
  padding: 0;
  flex: 0 0 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.download-app-dialog-close img { display: block; width: 36px; height: 36px; }

@media (max-width: 767px) {
  .download-app-dialog-mask {
    padding: 16px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .download-app-dialog-stack { width: 300px; }
  .download-app-dialog-card {
    width: 300px;
    padding: 24px 20px;
    border-radius: 20px;
  }
  .download-app-dialog-brand { width: 127px; height: 34px; }
  .download-app-dialog-brand img { top: -3px; width: 127px; height: 40px; }
  .download-app-dialog-copy { gap: 10px; }
  .download-app-dialog-title { font-size: 14px; line-height: 20px; }
  .download-app-dialog-desc { font-size: 12px; line-height: 18px; }
  .download-app-dialog-badge {
    padding: 3px 10px;
    font-size: 12px;
    line-height: 18px;
    border-radius: 18px;
  }
  .download-app-dialog-cta {
    align-self: stretch;
    min-height: 46px;
    padding: 12px 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    text-decoration: none;
    background: linear-gradient(135deg, #ff5f6e 0%, #fe2a7f 50%, #8c206e 100%);
    border-radius: 9px;
  }
}
