* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  color: #333;
  background: #f6f6f6;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .03);
}

.top-strip {
  height: 24px;
  overflow: hidden;
  background: #fff;
}

.top-strip img {
  display: block;
  width: 70.34px;
  height: 20px;
  object-fit: cover;
}

.main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.main-visual > img {
  display: block;
  width: 100%;
  height: auto;
}

.download-zone {
  position: absolute;
  display: block;
  z-index: 2;
  border-radius: 10px;
}

.zone-one {
  left: 19.39%;
  top: 7.7%;
  width: 53.43%;
  height: 7.7%;
}

.zone-two {
  left: 29.79%;
  top: 38.17%;
  width: 40.9%;
  height: 8.38%;
}

.zone-three {
  left: 12.29%;
  top: 65.64%;
  width: 75.89%;
  height: 30.2%;
}

.merchant-footer {
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
}

.merchant-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.fixed-download {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, 430px);
  min-height: 79px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 104px;
  gap: 10px;
  align-items: center;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .12);
}

.fixed-download img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.app-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.app-copy strong {
  overflow: hidden;
  color: #222;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-copy small {
  overflow: hidden;
  color: #777;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-btn {
  height: 40px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #e6322e;
  font-size: 16px;
  font-weight: 700;
}

@media (min-width: 768px) {
  body {
    background: #eef1f4;
  }
}

@media (max-width: 360px) {
  .fixed-download {
    grid-template-columns: 44px minmax(0, 1fr) 92px;
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .fixed-download img {
    width: 44px;
    height: 44px;
  }

  .app-copy strong {
    font-size: 15px;
  }

  .download-btn {
    font-size: 15px;
  }
}
