@charset "utf-8";

:root {
  --bg: #ffffff;
  --text-main: #222;
  --text-sub: #888;
  --danger: #df1a1a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text-main);
  font-size: 12px;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.install {
  background: #f2f2f2;
  text-align: center;
  padding: 26px 0 18px;
}

.install-top {
  width: 78px;
  height: 78px;
  margin: 0 auto;
}

.install-top img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.install-title {
  margin-top: 10px;
  font-size: clamp(24px, 4.6vw, 46px);
  line-height: 1.2;
  font-weight: 500;
}

.install-url {
  margin-top: 6px;
  font-size: clamp(14px, 2.6vw, 26px);
  color: #555;
  word-break: break-all;
  padding: 0 14px;
}

.install2 {
  text-align: center;
  color: #8c8c8c;
  font-size: clamp(14px, 2.1vw, 26px);
  line-height: 2.1em;
}

.install2 span {
  margin: 0 12px;
}

.install2 strong {
  color: inherit;
  font-weight: 400;
}

.install4 {
  text-align: center;
  margin-top: 24px;
}

.install4 button {
  width: min(84vw, 360px);
  height: 46px;
  border: 0;
  border-radius: 23px;
  background: var(--danger);
  color: #fff;
  font-size: clamp(20px, 3.2vw, 34px);
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(160, 160, 160, 0.35);
}

.install4 button.ios-post-click-tip {
  color: #d2d2d2;
  font-size: clamp(14px, 2.8vw, 24px);
  font-weight: 500;
}

.install4 button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.install3 {
  margin-top: 28px;
}

.erweidws {
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border: 1px solid #ececec;
  padding: 7px;
  background: #fff;
}

.erweidws img,
.erweidws canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.install5 {
  text-align: center;
  margin-top: 14px;
  font-size: clamp(16px, 3vw, 28px);
  color: #444;
}

.tips {
  text-align: center;
  margin: 14px auto 0;
  color: #7a7a7a;
  font-size: 14px;
  max-width: 92vw;
  line-height: 1.5;
}

.mask {
  z-index: 2000;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.mask[hidden] {
  display: none !important;
}

.mask-text {
  margin-top: 46px;
  text-align: center;
  color: #fff;
  font-size: clamp(20px, 5vw, 42px);
  font-weight: 700;
  padding: 0 16px;
}

.mask-steps {
  width: min(90vw, 520px);
  margin: 20px auto 0;
  color: #fff;
  font-size: clamp(14px, 3.4vw, 24px);
  line-height: 1.6;
  padding-left: 0;
  list-style: none;
}

.mask-steps li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mask-steps li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  background: center/contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 18 3.85 12.3l1.4-1.4 4.3 4.3 9.2-9.2 1.4 1.4z'/%3E%3C/svg%3E");
}

.mask-arrow {
  position: absolute;
  top: 16px;
  right: 22px;
  width: 74px;
  height: 74px;
  border-top: 6px solid #fff;
  border-right: 6px solid #fff;
  border-radius: 4px;
  transform: rotate(45deg);
}

.mask-arrow[hidden] {
  display: none;
}

.mask-btn {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(84vw, 360px);
  height: 42px;
  border: 0;
  border-radius: 21px;
  background: #1f8cf4;
  color: #fff;
  font-size: 16px;
}

@media (max-width: 430px) {
  .install-top {
    width: 72px;
    height: 72px;
  }

  .erweidws {
    width: 152px;
    height: 152px;
  }
}
