.app-download-page {
  background: #101012;
}

.app-download {
  box-sizing: border-box;
  color: #e3e3e5;
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100vh - 120px);
  padding: 34px 20px 64px;
}

.app-download__hero {
  align-items: flex-end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.app-download__brand {
  align-items: center;
  display: flex;
  gap: 18px;
  min-width: 0;
}

.app-download__logo {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  display: inline-flex;
  flex: 0 0 72px;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  width: 72px;
}

.app-download__logo img {
  display: block;
  height: 100% !important;
  object-fit: contain;
  width: 100% !important;
}

.app-download__brand-copy h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.app-download__brand-copy p {
  color: #969699;
  font-size: 15px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.app-download__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.app-download__badges span {
  background: rgba(0, 192, 255, .1);
  border: 1px solid rgba(0, 192, 255, .26);
  border-radius: 999px;
  color: #8ee5ff;
  font-size: 13px;
  line-height: 20px;
  padding: 7px 13px;
  white-space: nowrap;
}

.app-download__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-download-card {
  background: #1a1a20;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, .22);
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 310px;
  overflow: hidden;
}

.app-download-card__visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 310px;
  overflow: hidden;
  position: relative;
}

.app-download-card__visual--phone {
  background: radial-gradient(circle at 50% 20%, rgba(0, 192, 255, .26), transparent 34%), #14151b;
}

.app-download-card__visual--tv {
  background: radial-gradient(circle at 50% 20%, rgba(64, 204, 146, .24), transparent 34%), #14151b;
}

.app-download-card__device {
  align-items: center;
  background: linear-gradient(145deg, #25252c, #111217);
  border: 2px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 18px 44px rgba(0, 0, 0, .36);
  display: flex;
  justify-content: center;
  position: relative;
}

.app-download-card__device--phone {
  border-radius: 28px;
  height: 214px;
  width: 112px;
}

.app-download-card__device--tv {
  border-radius: 18px;
  height: 132px;
  width: 218px;
}

.app-download-card__device--tv::after {
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  bottom: -28px;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 78px;
}

.app-download-card__play {
  border-bottom: 17px solid transparent;
  border-left: 25px solid #00c0ff;
  border-top: 17px solid transparent;
  display: block;
  height: 0;
  margin-left: 6px;
  width: 0;
}

.app-download-card__body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 30px;
}

.app-download-card__icon {
  align-items: center;
  background: #101012;
  border-radius: 14px;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  width: 48px;
}

.app-download-card__icon img {
  display: block;
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.app-download-card h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.app-download-card__meta {
  color: #6f6f71;
  font-size: 14px;
  line-height: 1.4;
  margin: 10px 0 0;
}

.app-download-card__desc {
  color: #a9a9ad;
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.app-download-card__btn {
  align-items: center;
  background: #00c0ff;
  border: 1px solid #00c0ff;
  border-radius: 6px;
  box-sizing: border-box;
  color: #061219 !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  max-width: 220px;
  padding: 0 24px;
  text-decoration: none !important;
  transition: transform .16s ease, background .18s ease, border-color .18s ease;
  width: 100%;
}

.app-download-card__btn:hover {
  background: #22c9ff;
  border-color: #22c9ff;
  transform: translateY(-1px);
}

.app-download-card__btn--ghost {
  background: transparent;
  color: #00c0ff !important;
}

.app-download-card__btn--ghost:hover {
  background: rgba(0, 192, 255, .1);
  color: #51d6ff !important;
}

.app-download__notice {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  margin-top: 18px;
  padding: 18px 20px;
}

.app-download__notice h2 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 8px;
}

.app-download__notice p {
  color: #a9a9ad;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 820px) {
  .app-download-page {
    padding-top: var(--site-head-mobile-body-pad-single, 54px);
  }

  .app-download {
    min-height: auto;
    padding: 14px 12px calc(var(--hsj-mobile-tabbar-height, 52px) + env(safe-area-inset-bottom, 0px) + 28px);
  }

  .app-download__hero {
    align-items: flex-start;
    display: block;
    margin-bottom: 14px;
  }

  .app-download__brand {
    gap: 12px;
  }

  .app-download__logo {
    border-radius: 14px;
    flex-basis: 56px;
    height: 56px;
    width: 56px;
  }

  .app-download__logo img {
    height: 100% !important;
    width: 100% !important;
  }

  .app-download__brand-copy h1 {
    font-size: 24px;
  }

  .app-download__brand-copy p {
    font-size: 13px;
    margin-top: 5px;
  }

  .app-download__badges {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .app-download__badges span {
    font-size: 12px;
    padding: 5px 10px;
  }

  .app-download__grid {
    display: block;
  }

  .app-download-card {
    display: grid;
    grid-template-columns: 35% 65%;
    margin-bottom: 12px;
    min-height: 170px;
  }

  .app-download-card__visual {
    min-height: 170px;
  }

  .app-download-card__device--phone {
    border-radius: 18px;
    height: 118px;
    width: 62px;
  }

  .app-download-card__device--tv {
    border-radius: 12px;
    height: 74px;
    width: 118px;
  }

  .app-download-card__device--tv::after {
    bottom: -17px;
    height: 5px;
    width: 48px;
  }

  .app-download-card__play {
    border-bottom-width: 11px;
    border-left-width: 17px;
    border-top-width: 11px;
    margin-left: 4px;
  }

  .app-download-card__body {
    padding: 18px 14px;
  }

  .app-download-card__icon {
    display: none;
  }

  .app-download-card h2 {
    font-size: 17px;
  }

  .app-download-card__meta {
    font-size: 12px;
    margin-top: 7px;
  }

  .app-download-card__desc {
    font-size: 12px;
    line-height: 1.55;
    margin: 10px 0 14px;
  }

  .app-download-card__btn {
    font-size: 13px;
    height: 36px;
    max-width: 150px;
    padding: 0 14px;
  }

  .app-download__notice {
    padding: 14px;
  }
}
