.wechat-contact {
  border-top: 1px solid #34414b;
  color: #f4f3ef;
  background: #0d1720;
  color-scheme: dark;
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13.75rem;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5.2rem) clamp(1.25rem, 5vw, 4.8rem);
}
.contact-copy h2 {
  margin: 0;
  color: #f4f3ef;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.contact-copy p {
  margin: .8rem 0 1.5rem;
  color: #c3cfd5;
  font-size: 1rem;
  line-height: 1.7;
}
.wechat-account {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1.35rem;
}
.wechat-label {
  display: block;
  margin-bottom: .2rem;
  color: #ecc098;
  font-size: .875rem;
  line-height: 1.35;
}
#wechat-id {
  display: block;
  color: #fff;
  font: 550 clamp(1.45rem, 2.1vw, 1.75rem)/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace;
  user-select: all;
}
#copy-wechat {
  padding: .55rem .95rem;
  min-height: 44px;
  border: 1px solid #788f9e;
  border-radius: 4px;
  color: #e0e9ee;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .94rem;
}
#copy-wechat:hover { border-color: #c0dfef; background: #1a2b37; }
.wechat-status {
  display: block;
  min-height: 1.4em;
  margin-top: .45rem;
  color: #bdd7e9;
  font-size: .875rem;
  line-height: 1.4;
}
.contact-qr { width: min(100%, 13.75rem); margin: 0; }
.contact-qr a { display: block; border-radius: 5px; }
.contact-qr img { display: block; width: 100%; height: auto; border-radius: 5px; }
.contact-qr figcaption {
  margin-top: .65rem;
  color: #bbcad4;
  font-size: .875rem;
  line-height: 1.5;
  text-align: center;
}
.wechat-contact :focus-visible { outline: 2px solid #afd6f4; outline-offset: 4px; }
@media (max-width: 700px) {
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1.25rem;
    padding: 2.5rem 1rem 2.75rem;
    text-align: center;
  }
  .contact-copy p { margin: .65rem auto 1.15rem; max-width: 18em; text-wrap: balance; }
  .wechat-account { justify-content: center; text-align: left; }
  .wechat-status { min-height: 0; }
  .wechat-status:empty { margin: 0; }
}
