* { box-sizing: border-box; }

html { background: #fff8f1; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: #38221b;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.download-page {
  position: relative;
  width: min(100%, 1024px);
  margin: 0 auto;
  line-height: 1.5;
}

.reference-art { display: block; width: 100%; height: auto; }

.hotspot {
  position: absolute;
  display: block;
  border-radius: 999px;
  outline-offset: 2px;
}

.hotspot:focus-visible { outline: 3px solid #743417; }

.hero-android { left: 5.8%; top: 28%; width: 17%; height: 3.2%; }
.hero-ios { left: 23.5%; top: 28%; width: 15%; height: 3.2%; }
.official-note {
  position: absolute;
  top: 32.3%;
  left: 8.95%;
  width: 34%;
  margin: 0;
  color: #806c62;
  font-size: clamp(9px, 1.2vw, 12px);
  line-height: 1.4;
}
.qr-android { left: 78.7%; top: 72.4%; width: 15%; height: 3.3%; }
.qr-ios { left: 78.7%; top: 76.3%; width: 15%; height: 3.3%; }

.hotspot[aria-disabled="true"] { cursor: not-allowed; }

.qr-replacement {
  position: absolute;
  left: 79.8828125%;
  top: 59.375%;
  display: grid;
  width: 12.890625%;
  aspect-ratio: 1;
  place-items: center;
  padding: .390625%;
  background: #fff;
}

#app-qrcode, #app-qrcode canvas, #app-qrcode img { display: block; width: 100% !important; height: 100% !important; }

.qr-brand { position: absolute; width: 35.6%; height: auto; left: 32.2%; top: 32.95%; border-radius: 25%; }

.registration {
  position: absolute;
  right: 0;
  bottom: 1.1%;
  left: 0;
  font-size: 12px;
  text-align: center;
}
.registration a { color: #94776d; text-decoration: none; }
.registration a:hover { color: #ff6a00; text-decoration: underline; }
.registration a:focus-visible { outline: 2px solid #ff6a00; outline-offset: 4px; }

.status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.status.is-visible {
  position: fixed;
  z-index: 10;
  right: max(4%, calc((100vw - 940px) / 2));
  bottom: 24px;
  left: max(4%, calc((100vw - 940px) / 2));
  width: auto;
  height: auto;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 12px rgba(72, 40, 24, .12);
  color: #7b6257;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 520px) {
  .registration { bottom: .65%; font-size: 10px; }
  .hotspot { min-height: 30px; }
}
