.contact-main > .wechat-contact:not(:target) { display:none!important }
.contact-main > #wechat.wechat-contact:target {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(48px,9vw,128px);
  max-width:910px; margin:clamp(20px,8vh,80px) auto;
  padding:clamp(28px,5vw,72px) 0;
  border-block:1px solid #474741;
  scroll-margin-top:80px;
}
.wechat-contact:target ~ *,body:has(.wechat-contact:target) .studio-end { display:none!important }
.wechat-contact:focus { outline:none }
.wechat-contact .wechat-heading h1 {
  margin:0 0 13px;
  color:#f5f2eb;
  font:550 clamp(32px,4.1vw,62px)/1.12 var(--studio-body,system-ui);
  letter-spacing:-.045em;
}
.wechat-heading p,.wechat-scan figcaption { color:#b8b7b1; font-size:14px; line-height:1.65; margin:0 }
.contact-main #wechat .wechat-scan { width:246px; max-width:100%; margin:0; display:grid; justify-items:center; gap:14px }
.contact-main #wechat .wechat-scan img { display:block; width:100%; height:auto; background:#fff; border-radius:8px; user-select:auto; -webkit-touch-callout:default }
.wechat-scan figcaption { font-size:13px; text-align:center; text-wrap:balance }
.wechat-save {
  display:inline-flex; align-items:center; gap:9px; min-height:44px;
  text-decoration:none; color:#f0ede7; font-size:15px;
  border-bottom:1px solid #8d8981;
}
.wechat-save:hover { color:#fff; border-color:currentColor }
.wechat-save svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round }
@media(max-width:680px){
  .contact-main > #wechat.wechat-contact:target { display:flex; flex-direction:column; align-items:center; gap:26px; padding:24px 0; margin:0 auto; border:0 }
  .wechat-heading { text-align:center }
  .wechat-contact .wechat-heading h1 { font-size:clamp(30px,8vw,39px); margin-bottom:8px }
  .contact-main #wechat .wechat-scan { width:min(100%,234px); gap:13px }
}
