.wechat-guide-lock,
.wechat-guide-lock body {
  overflow: hidden;
}

.wechat-open-guide {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.38), rgba(255, 255, 255, 0.66) 34%, rgba(255, 255, 255, 0.92) 100%),
    url("./images/wechat-guide-bg.png") center top / cover no-repeat;
  color: #20222a;
}

.wechat-open-guide::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 247, 248, 0.84) 48%, #ffffff 100%);
  content: "";
}

.wechat-open-guide__arrow {
  position: absolute;
  top: -2px;
  right: 0;
  z-index: 2;
  width: 166px;
  height: 166px;
  color: #07080c;
  pointer-events: none;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, 0.42)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.wechat-open-guide__arrow::after {
  display: none;
  content: none;
}

.wechat-open-guide__arrow::before {
  display: none;
  content: none;
}

.wechat-open-guide__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.wechat-open-guide__arrow-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wechat-open-guide__arrow-head {
  fill: currentColor;
}

.wechat-open-guide__panel {
  position: relative;
  width: min(430px, 100%);
  margin-top: 72px;
  padding: 16px 18px 22px;
  border: 1px solid rgba(200, 58, 83, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 80px rgba(32, 34, 42, 0.14);
  text-align: center;
}

.wechat-open-guide__headline {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-align: left;
}

.wechat-open-guide__feature {
  display: grid;
  min-height: 74px;
  place-items: center;
  padding: 9px 8px 8px;
  border: 3px solid #ff4f63;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff2d55, #ff7a45);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 45, 85, 0.28);
}

.wechat-open-guide__feature span {
  display: grid;
  gap: 1px;
  font-size: 24px;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(120, 0, 28, 0.24);
}

.wechat-open-guide__feature b {
  display: block;
  font: inherit;
}

.wechat-open-guide__feature small {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.9;
}

.wechat-open-guide__headline-copy {
  min-width: 0;
}

.wechat-open-guide__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 6px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff0f3;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.wechat-open-guide h1 {
  margin: 0;
  font-size: 24px;
}

.wechat-open-guide__copy {
  margin: 7px 0 0;
  color: #4e5868;
  font-size: 13px;
  line-height: 1.55;
}

.wechat-open-guide__copy strong {
  color: var(--accent-strong);
}

.wechat-open-guide__model-preview {
  display: grid;
  min-height: 128px;
  margin: 0 0 16px;
  align-items: end;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(32, 34, 42, 0) 32%, rgba(32, 34, 42, 0.64) 100%),
    url("./images/wechat-guide-bg.png") center 34% / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.wechat-open-guide__model-preview span {
  display: block;
  padding: 0 14px 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.wechat-open-guide__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.wechat-open-guide__steps div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 6px;
  border-radius: 12px;
  background: #f7f9fc;
}

.wechat-open-guide__steps span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.wechat-open-guide__steps strong {
  font-size: 13px;
}

.wechat-open-guide__steps small {
  color: var(--muted);
  font-size: 11px;
}

.wechat-open-guide__menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px;
  border-radius: 16px;
  background: #eef2f7;
}

.wechat-open-guide__menu div {
  display: grid;
  min-height: 96px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

.wechat-open-guide__menu img {
  width: 100%;
  max-width: 108px;
  height: auto;
  object-fit: contain;
}

.wechat-open-guide__menu .is-highlight {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(200, 58, 83, 0.14);
}

.wechat-open-guide__copylink {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(200, 58, 83, 0.28);
}

.wechat-open-guide__tip {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.wechat-guide-lock body > :not(.wechat-open-guide) { display: none !important; }
.wechat-open-guide {
  --accent: #c83a53; --accent-strong: #9f2237; --muted: #6d7480;
  color-scheme: light; font: 14px/1.5 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}
.wechat-open-guide, .wechat-open-guide * { box-sizing: border-box; }
.wechat-open-guide h1 { line-height: 1.25; font-weight: 800; letter-spacing: 0; }
.wechat-open-guide button { font: inherit; font-weight: 900; }

@media (max-width: 520px) {
  .wechat-open-guide {
    align-items: start;
    padding: 86px 12px 12px;
  }

  .wechat-open-guide__arrow {
    top: -6px;
    right: 0;
    width: 156px;
    height: 156px;
  }

  .wechat-open-guide__panel {
    max-height: calc(100vh - 96px);
    margin-top: 0;
    padding: 12px 14px 14px;
    border-radius: 16px;
    overflow-y: auto;
  }

  .wechat-open-guide__headline {
    grid-template-columns: 104px 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }

  .wechat-open-guide__feature {
    min-height: 86px;
  }

  .wechat-open-guide__feature span {
    font-size: 25px;
    line-height: 0.96;
  }

  .wechat-open-guide__model-preview {
    min-height: 110px;
    margin-bottom: 12px;
  }

  .wechat-open-guide h1 {
    font-size: 24px;
    text-wrap: balance;
  }

  .wechat-open-guide__copy {
    font-size: 14px;
    line-height: 1.55;
  }

  .wechat-open-guide__steps {
    display: none;
  }

  .wechat-open-guide__menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px;
  }

  .wechat-open-guide__menu div {
    min-height: 82px;
  }

  .wechat-open-guide__menu img {
    max-width: 86px;
  }

  .wechat-open-guide__copylink {
    min-height: 40px;
  }

  .wechat-open-guide__tip {
    font-size: 11px;
  }

}
