.wechat-contact[hidden], .wechat-contact img[hidden] {
  display: none !important;
}
.wechat-contact {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .5);
  box-sizing: border-box;
}
.wechat-contact__panel {
  position: relative;
  width: 360px;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  padding: 32px 24px 24px;
  box-sizing: border-box;
  border-radius: 6px;
  background: #fff;
  color: #333;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
}
.wechat-contact__panel h2 {
  margin: 0 16px 20px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.wechat-contact__close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  font: 28px/36px Arial, sans-serif;
  cursor: pointer;
}
.wechat-contact__close:hover { color: #111; }
.wechat-contact__close:focus-visible { outline: 2px solid #333; outline-offset: -4px; }
.wechat-contact__image { min-height: 240px; display: flex; align-items: center; justify-content: center; }
.wechat-contact__image img { display: block; width: 240px; height: auto; max-width: 100%; object-fit: contain; }
.wechat-contact__panel p { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: #666; }
