.wechat-qr-dialog {
  width: min(380px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: #fff;
  color: #0a0a0a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  overflow: visible;
}

.wechat-qr-dialog::backdrop {
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(6px);
}

.wechat-qr-card {
  position: relative;
  margin: 0;
  padding: 24px;
}

.wechat-qr-card h2 {
  margin: 0 44px 18px 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.wechat-qr-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wechat-qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #0a0a0a;
  border-radius: 50%;
  background: #fff;
  color: #0a0a0a;
  font: 400 24px/1 sans-serif;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease;
}

.wechat-qr-close:hover {
  background: #0a0a0a;
  color: #fff;
}

[data-copy-label="微信号"]:focus {
  outline: none;
  box-shadow: none;
}

.wechat-qr-status {
  position: absolute;
  left: 50%;
  bottom: -58px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s;
}

.wechat-qr-status.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 800px) {
  .wechat-qr-card { padding: 20px; }
}
