.app-download-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 10050;
  width: 100%;
  background: linear-gradient(135deg, #123474 0%, #173f92 54%, #0b4ce0 100%);
  color: #fff;
  border-bottom: 3px solid #fecf13;
  box-shadow: 0 8px 24px rgba(5, 18, 48, .16);
}

.app-download-banner.is-visible {
  display: block;
}

.app-download-banner__inner {
  max-width: 769px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-download-banner__main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.app-download-banner__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
  border: 2px solid rgba(254, 207, 19, .42);
}

.app-download-banner__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-download-banner__copy {
  min-width: 0;
  margin-left: 10px;
  flex: 1 1 auto;
}

.app-download-banner__title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.app-download-banner__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-download-banner__stars {
  flex: 0 0 auto;
  color: #fecf13;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
}

.app-download-banner__desc {
  margin: 4px 0 0;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  overflow: hidden;
}

.app-download-banner__desc span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-download-banner__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-download-banner__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fecf13;
  color: #123474;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.app-download-banner__download:active {
  transform: scale(.96);
  background: #f6c207;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}

.app-download-banner__download-icon {
  width: 18px;
  height: 18px;
}

.app-download-banner__close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #c7d2fe;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-download-banner__close:active {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.app-download-banner__close svg {
  width: 23px;
  height: 23px;
}

@media (min-width: 640px) {
  .app-download-banner__inner {
    padding: 13px 16px;
  }

  .app-download-banner__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 29px;
  }

  .app-download-banner__title {
    font-size: 18px;
  }

  .app-download-banner__desc {
    font-size: 14px;
  }

  .app-download-banner__download {
    min-height: 42px;
    padding: 0 20px;
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .app-download-banner__inner {
    padding: 9px 8px;
    gap: 7px;
  }

  .app-download-banner__icon {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    font-size: 22px;
  }

  .app-download-banner__copy {
    margin-left: 8px;
  }

  .app-download-banner__title {
    font-size: 14px;
  }

  .app-download-banner__stars {
    font-size: 10px;
    letter-spacing: 0;
  }

  .app-download-banner__download {
    min-height: 34px;
    padding: 0 10px;
    font-size: 14px;
  }

  .app-download-banner__close {
    width: 32px;
    height: 32px;
  }
}
