/* FlamEL Akusta floating WeChat contact — shared */
.wechat-float {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #07c160;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(7, 193, 96, 0.35);
}
.wechat-float svg { width: 26px; height: 26px; }
.wechat-float::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: #1c2430;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
}
.wechat-float:hover::after,
.wechat-float:focus-visible::after { opacity: 1; }

.wechat-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  place-items: center;
  padding: 20px;
}
.wechat-modal-overlay.is-open { display: grid; }
.wechat-modal-content {
  position: relative;
  width: min(340px, 92vw);
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px 18px;
  text-align: center;
  color: #1c2430;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.wechat-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b736c;
  cursor: pointer;
}
.wechat-modal-content h3,
.wechat-modal-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
}
.wechat-id-copy {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #07c160;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.wechat-id-copy:hover,
.wechat-id-copy:focus-visible {
  color: #059669;
}
.wechat-copy-toast {
  position: fixed;
  z-index: 90;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 1;
  transition: opacity .2s ease;
}
.wechat-copy-toast.is-hide { opacity: 0; }
.wechat-modal-content .media {
  display: block;
  width: min(200px, 70%);
  margin: 0 auto 14px;
  border-radius: 8px;
}
.wechat-contact-list {
  display: grid;
  gap: 8px;
  text-align: left;
}
.wechat-contact-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.92rem;
}
.wechat-contact-item strong { color: #374151; }
.wechat-contact-item a { color: #0f4c3a; text-decoration: none; word-break: break-all; }

@media (max-width: 640px) {
  .wechat-float { right: 12px; bottom: 76px; width: 50px; height: 50px; }
}
