.download-main {
  min-height: 100vh;
  padding: 112px 24px 0;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

.download-hero,
.download-list,
.install-note {
  width: min(860px, 100%);
  margin: 0 auto;
}

.download-hero {
  padding: 56px 0 34px;
}

.download-hero h1 {
  margin: 0;
  color: #102126;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
}

.download-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #38565f;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
}

.download-list {
  padding: 4px 0 26px;
}

.download-row {
  padding: 18px 0 22px;
}

.download-row + .download-row {
  margin-top: 4px;
}

.download-row h2 {
  margin: 0 0 8px;
  color: #102126;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 700;
}

.file-line {
  margin: 0;
  color: #078e96;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  word-break: break-all;
}

.file-line a {
  color: #078e96;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 174, 178, .35);
  padding-bottom: 2px;
}

.file-line a:hover {
  color: #116db6;
  border-bottom-color: #116db6;
}

.file-line.muted {
  color: #6d8388;
}

.file-state {
  display: inline-block;
  margin-left: 12px;
  color: #078e96;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.file-state.is-missing {
  color: #6d8388;
}

.install-note {
  padding: 26px 0 76px;
}

.install-note h2 {
  margin: 0 0 10px;
  color: #102126;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.install-note p {
  max-width: 720px;
  margin: 0;
  color: #38565f;
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 720px) {
  .download-main {
    padding: 84px 20px 0;
  }

  .download-hero {
    padding: 36px 0 22px;
  }

  .download-hero h1 {
    font-size: 34px;
  }

  .download-hero p {
    font-size: 15px;
    line-height: 1.75;
  }

  .download-row {
    padding: 15px 0 18px;
  }

  .download-row h2 {
    font-size: 20px;
  }

  .file-line {
    font-size: 15px;
  }

  .file-state {
    display: block;
    margin: 4px 0 0;
  }

  .install-note {
    padding-bottom: 58px;
  }
}


.qr-state {
  position: relative;
  cursor: default;
}

.file-state-label {
  display: inline-block;
}

.qr-popover {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  width: 180px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(8, 174, 178, .16);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(16, 33, 38, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 20;
}

.qr-popover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(8, 174, 178, .16);
  border-top: 1px solid rgba(8, 174, 178, .16);
  transform: translateX(-50%) rotate(45deg);
}

.qr-popover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.qr-state.is-ready:hover .qr-popover,
.qr-state.is-ready:focus-within .qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 720px) {
  .qr-popover {
    width: 140px;
    left: 0;
    transform: translateX(0);
  }

  .qr-popover::before {
    left: 20px;
    transform: rotate(45deg);
  }

  .qr-state.is-ready:hover .qr-popover,
  .qr-state.is-ready:focus-within .qr-popover {
    transform: translateX(0) translateY(0);
  }
}
