/* AI Supernode | Premium floating contact card V0.28.9.
   Scoped to the existing widget: no global typography, layout or API changes. */
.wechat-consult{
  position:fixed;right:24px;bottom:24px;z-index:45;
  width:max-content;max-width:calc(100vw - 28px);
  font-family:Inter,"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;
  line-height:1.5;-webkit-font-smoothing:antialiased;
}
.wechat-consult-panel{
  position:relative;isolation:isolate;overflow:hidden;
  box-sizing:border-box;width:240px;max-width:100%;
  border:1px solid rgba(146,208,231,.27);border-radius:18px;
  background:linear-gradient(155deg,#112337 0%,#0c1b2b 50%,#08121e 100%);
  color:#f1f5fa;text-align:center;
  box-shadow:0 22px 55px rgba(0,0,0,.39),0 0 0 1px rgba(255,255,255,.025),inset 0 1px rgba(255,255,255,.055);
}
.wechat-consult-panel:before{
  content:"";position:absolute;inset:0 0 auto;height:2px;
  background:linear-gradient(90deg,transparent 2%,#97e5f2 38%,#79bfff 72%,transparent 100%);
  pointer-events:none;
}
.wechat-consult-heading{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  min-height:67px;padding:17px 16px 12px;
  border-bottom:1px solid rgba(139,183,216,.15);text-align:left;
}
.wechat-consult-heading strong{
  display:block;min-width:0;color:#f1f5fa;
  font-size:16px;font-weight:750;line-height:1.35;letter-spacing:.015em;
}
.wechat-consult-heading strong:before{
  content:"";display:inline-block;vertical-align:middle;
  width:7px;height:7px;margin:-2px 9px 0 0;border-radius:50%;
  background:#97e5f2;box-shadow:0 0 11px rgba(151,229,242,.58);
}
.wechat-consult-heading strong:after{
  content:"添加微信 · 获取方案与报价";display:block;
  margin:6px 0 0 16px;color:#9bb4c9;
  font-size:11px;font-weight:450;line-height:1.45;letter-spacing:0;
}
.wechat-consult-close{
  position:static;flex:0 0 29px;display:grid;place-items:center;
  width:29px;height:29px;padding:0;
  border:1px solid rgba(135,175,206,.22);border-radius:9px;
  background:rgba(21,43,65,.92);color:#b0c5d3;
  font:400 21px/1 Arial,sans-serif;cursor:pointer;
  box-shadow:none;transition:background .18s,border-color .18s,color .18s;
}
.wechat-consult-close:hover{color:#fff;border-color:rgba(151,229,242,.55);background:#22425c}
.wechat-consult-body{
  display:flex;flex-direction:column;align-items:center;gap:0;
  padding:17px 16px 16px;box-sizing:border-box;
}
.wechat-consult-qr{
  display:block;box-sizing:border-box;width:188px;height:188px;max-width:100%;
  border:12px solid #fff;border-radius:13px;object-fit:contain;
  background:#fff;image-rendering:auto;
  box-shadow:0 0 0 1px rgba(151,229,242,.2),0 10px 24px rgba(0,0,0,.19);
}
.wechat-consult-body p{
  margin:14px 0 0;color:#e9f4fb;font-size:14px;font-weight:700;
  line-height:1.4;letter-spacing:.01em;text-align:center;
}
.wechat-consult-body p:after{
  content:"使用微信扫一扫添加顾问";display:block;margin-top:4px;
  color:#9ab3c4;font-size:11px;font-weight:400;letter-spacing:0;line-height:1.55;
}
.wechat-consult-form-link{
  display:inline-flex;align-items:center;justify-content:center;
  width:100%;min-height:41px;box-sizing:border-box;margin:16px 0 0;padding:9px 10px;
  border:1px solid rgba(151,229,242,.25);border-radius:10px;
  background:linear-gradient(115deg,rgba(27,74,106,.53),rgba(21,46,74,.72));
  color:#c1ecf3;font-size:12px;font-weight:650;line-height:1.4;
  text-decoration:none;transition:border-color .2s,background .2s;
}
.wechat-consult-form-link:after{content:"↗";margin-left:7px;font-size:14px;line-height:1}
.wechat-consult-form-link:hover{color:#fff;border-color:rgba(151,229,242,.58);background:#193850}
.wechat-consult-launcher,.wechat-consult-fallback{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:46px;padding:0 17px;border:1px solid rgba(151,229,242,.38);
  border-radius:13px;background:linear-gradient(145deg,#153951,#0d263e);
  color:#e0f9ff;font-family:inherit;font-size:13px;font-weight:750;
  line-height:1.3;text-decoration:none;cursor:pointer;
  box-shadow:0 11px 30px rgba(0,0,0,.31),inset 0 1px rgba(255,255,255,.08);
  transition:border-color .18s,background .18s;
}
.wechat-consult-launcher:before,.wechat-consult-fallback:before{
  content:"";width:7px;height:7px;border-radius:50%;
  background:#97e5f2;box-shadow:0 0 10px rgba(151,229,242,.7);
}
.wechat-consult-launcher:hover,.wechat-consult-fallback:hover{
  border-color:#97e5f2;background:#1a405a;color:#fff;
}
.wechat-consult-mobile-link{display:none}
.wechat-consult [hidden]{display:none!important}
.wechat-consult button:focus-visible,.wechat-consult a:focus-visible{
  outline:3px solid #97e5f2;outline-offset:3px;
}
@media(max-width:680px){
  .wechat-consult{right:calc(12px + env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .wechat-consult-panel{width:232px}
  .wechat-consult-body{padding:15px 14px 14px}
  .wechat-consult-qr{width:180px;height:180px}
  .wechat-consult-mobile-link{
    display:inline-flex;align-items:center;justify-content:center;
    margin-top:12px;min-height:34px;width:100%;padding:6px 8px;
    border:1px solid rgba(151,229,242,.26);border-radius:9px;
    color:#c3f0f5;background:rgba(24,63,89,.56);
    font-size:12px;font-weight:650;line-height:1.4;text-decoration:none;
  }
  .wechat-consult-form-link{margin-top:9px}
}
@media(max-height:560px){
  .wechat-consult-panel{max-height:calc(100dvh - 22px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-height:450px){
  .wechat-consult-heading{min-height:auto;padding-top:10px;padding-bottom:9px}
  .wechat-consult-body{padding:9px 12px 11px}
  .wechat-consult-qr{width:125px;height:125px;border-width:7px}
  .wechat-consult-body p{margin-top:7px}
  .wechat-consult-form-link{margin-top:8px;min-height:34px}
}
@media(prefers-reduced-motion:reduce){
  .wechat-consult-close,.wechat-consult-form-link,.wechat-consult-launcher,.wechat-consult-fallback{transition:none}
}
@media print{.wechat-consult{display:none!important}}
