.wechat-official-follow {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 28px 24px 20px;
  overflow: auto;
  border: 1px solid rgba(235, 184, 87, 0.72);
  border-radius: 18px;
  color: #f4f8ff;
  background: #0c1728;
  font-family: inherit;
  text-align: center;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}

.wechat-official-follow::backdrop {
  background: rgba(0, 5, 12, 0.6);
}

.wechat-official-follow h2 {
  margin: 0 24px 10px;
  font-size: 22px;
  line-height: 1.4;
}

.wechat-official-follow p {
  margin: 0 0 16px;
  color: #b8c9df;
  font-size: 14px;
  line-height: 1.6;
}

.wechat-official-follow__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #f4f8ff;
  background: transparent;
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

.wechat-official-follow__qr {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  border-radius: 10px;
  background: #fff;
}

.wechat-official-follow .wechat-official-follow__account {
  margin-bottom: 12px;
  color: #f4f8ff;
}

.wechat-official-follow code {
  user-select: text;
  font-size: 14px;
}

.wechat-official-follow__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.wechat-official-follow__actions button,
.wechat-official-follow__actions a {
  display: inline-flex;
  min-height: 44px;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #5c718f;
  border-radius: 10px;
  color: #f4f8ff;
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.wechat-official-follow__actions button {
  border-color: #e0ad4f;
  color: #111722;
  background: #e0ad4f;
}

.wechat-official-follow button:hover,
.wechat-official-follow__actions a:hover {
  filter: brightness(1.15);
}

.wechat-official-follow button:focus-visible,
.wechat-official-follow a:focus-visible {
  outline: 2px solid #78adff;
  outline-offset: 3px;
}

.wechat-official-follow .wechat-official-follow__hint,
.wechat-official-follow .wechat-official-follow__status {
  margin-bottom: 0;
  font-size: 12px;
}

.wechat-official-follow .wechat-official-follow__status:not(:empty) {
  margin-top: 10px;
  color: #ffdc75;
}
