/* 右下角微信咨询浮层的样式（从 css/styles.css 和 css/dark-system.css 抽出，给没加载首页样式的页面用；v1.9） */
.consult-follower,.consult-qr-modal{--brand:#4d74ff;--brand-bright:#7895ff;--ink:#f4f6fb;--ink-mute:#8d949f;--ink-soft:#c6cad3;--paper-line:rgba(244,247,255,.11);--paper-line-strong:rgba(244,247,255,.22);--paper-soft:#0a0e15}
.consult-follower{
  --follow-y: 0px;
  position: fixed;
  right: max(26px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 112px;
  height: 112px;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, var(--follow-y), 0);
  transition: opacity .2s ease, visibility 0s;
  pointer-events: none;
  will-change: transform;
}
body.modal-open .consult-follower,body.nav-open .consult-follower,body.image-preview-open .consult-follower{
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility 0s linear .16s;
}
.consult-widget{
  position: relative;
  width: 112px;
  height: 112px;
  pointer-events: auto;
}
.consult-trigger{
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  justify-items: center;
  width: 112px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.consult-trigger-motion{
  display: block;
  width: 76px;
  height: 76px;
  transform-origin: 50% 80%;
  animation: consult-qr-wiggle 6s ease-in-out infinite;
}
.consult-trigger-qr{
  display: block;
  position: relative;
  overflow: hidden;
  width: 76px;
  height: 76px;
  border: 1px solid var(--paper-line-strong);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 26, 48, .22), 0 3px 9px rgba(15, 26, 48, .12);
  transform-origin: 50% 70%;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .2s ease;
}
.consult-trigger-qr-inner{
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.consult-label{
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
@media (hover: hover) and (pointer: fine){.consult-trigger:hover .consult-trigger-qr{
    border-color: var(--brand-bright);
    transform: translateY(-3px) scale(1.1);
  }}
.consult-trigger:active .consult-trigger-qr{
  transform: scale(.94);
}
.consult-trigger:focus-visible{
  outline: none;
}
.consult-trigger:focus-visible .consult-trigger-qr{
  outline: 3px solid rgba(51, 97, 214, .3);
  outline-offset: 4px;
}
.consult-trigger-qr,.consult-qr{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #fff;
}
.consult-trigger-qr-inner img,.consult-qr img{
  position: absolute;
  top: -157.4%;
  left: -72.25%;
  width: 244.45%;
  height: auto;
  max-width: none;
}
.consult-panel{
  position: absolute;
  right: 18px;
  bottom: 104px;
  width: 398px;
  padding: 0;
  border: 1px solid rgba(197, 207, 220, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(10, 20, 48, .22), 0 5px 18px rgba(10, 20, 48, .1);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(24px, 20px, 0) scale(.18);
  transform-origin: calc(100% - 38px) 100%;
  transition:
    transform .48s cubic-bezier(.16, 1, .3, 1),
    opacity .24s ease,
    visibility 0s linear .48s;
  will-change: transform, opacity;
}
.consult-panel::after{
  content: "";
  position: absolute;
  right: 31px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  border-right: 1px solid var(--paper-line-strong);
  border-bottom: 1px solid var(--paper-line-strong);
  background: #fff;
  transform: rotate(45deg);
}
.consult-widget.is-open .consult-panel{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    transform .52s cubic-bezier(.16, 1, .3, 1),
    opacity .22s ease,
    visibility 0s;
}
.consult-widget.is-open .consult-trigger-qr{
  border-color: var(--brand-bright);
}
.consult-widget.is-open .consult-trigger-motion{
  animation-play-state: paused;
}
.consult-panel-head{
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 11px;
  align-items: center;
  padding: 18px 18px 15px;
}
.consult-panel-mark{
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--brand);
}
.consult-panel-mark svg{
  width: 21px;
  height: 21px;
}
.consult-panel-copy strong{
  display: block;
  font-size: 16px;
  line-height: 1.25;
}
.consult-panel-copy span{
  display: block;
  margin-top: 2px;
  color: var(--ink-mute);
  font-size: 12px;
}
.consult-close{
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.consult-close svg{
  width: 20px;
  height: 20px;
}
.consult-close:hover{
  background: var(--paper-soft);
}
.consult-close:focus-visible{
  outline: 2px solid rgba(51, 97, 214, .42);
  outline-offset: 2px;
}
.consult-panel-body{
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-top: 1px solid var(--paper-line);
}
.consult-qr{
  width: 148px;
  border: 1px solid var(--paper-line-strong);
  border-radius: 6px;
}
.consult-details{
  min-width: 0;
  align-self: center;
}
.consult-details > strong{
  display: block;
  font-size: 17px;
  line-height: 1.3;
}
.consult-details > p{
  margin: 7px 0 0;
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.65;
}
.consult-case-link{
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 10px;
  color: #315fd6;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
  text-decoration: underline;
  text-decoration-color: rgba(49, 95, 214, .35);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.consult-case-link span{ min-width: 0; }
.consult-case-link svg{ flex: 0 0 12px; }
.consult-case-link:hover{ color: #2146a6; text-decoration-color: currentColor; }
.consult-case-link:focus-visible{ outline: 2px solid #315fd6; outline-offset: 4px; border-radius: 2px; }
body.contact-qr-open{
  overflow: hidden;
}
body.contact-qr-open .consult-widget{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.consult-qr-modal{
  width: min(360px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 72px rgba(10, 20, 48, .28);
  overflow: hidden;
  pointer-events: auto;
}
.consult-qr-modal::backdrop{
  background: rgba(6, 12, 26, .72);
}
.consult-qr-modal[open]{
  animation: consult-qr-modal-in .24s cubic-bezier(.22, 1, .36, 1) both;
}
.consult-qr-modal-card{
  position: relative;
  padding: 28px 24px 24px;
}
.consult-qr-modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--paper-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.consult-qr-modal-close svg{
  width: 19px;
  height: 19px;
}
.consult-qr-modal-close:hover{
  background: var(--paper-soft);
}
.consult-qr-modal-close:focus-visible{
  outline: 3px solid rgba(51, 97, 214, .3);
  outline-offset: 2px;
}
.consult-qr-modal-copy{
  padding: 5px 38px 18px;
  text-align: center;
}
.consult-qr-modal-copy h2{
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}
.consult-qr-modal-copy p{
  margin: 7px 0 0;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.55;
}
.consult-qr-modal .consult-qr-modal-code{
  width: min(70vw, 260px);
  margin: 0 auto;
  border: 1px solid var(--paper-line-strong);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("../assets/img/wecom-contact-card.jpg");
  background-repeat: no-repeat;
  background-position: 50% 36.5%;
  background-size: 244.45% auto;
}
.consult-qr-modal-code img{
  display: none;
}
@media (max-width: 860px){.consult-follower{
    right: max(18px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    width: 90px;
    height: 100px;
  }.consult-widget{
    width: 90px;
    height: 100px;
  }.consult-trigger{
    width: 90px;
  }.consult-trigger-qr,.consult-trigger-motion{
    width: 66px;
    height: 66px;
  }.consult-label{
    margin-top: 8px;
    font-size: 12px;
  }.consult-panel{
    right: 6px;
    bottom: 96px;
    width: min(350px, calc(100vw - 36px));
    transform-origin: calc(100% - 39px) 100%;
  }.consult-panel::after{
    right: 32px;
  }.consult-panel-head{
    padding: 16px 16px 13px;
  }.consult-panel-body{
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }.consult-qr{
    width: 128px;
  }.consult-details > strong{
    font-size: 15px;
  }.consult-details > p{
    margin: 6px 0 0;
    font-size: 12px;
  }.consult-qr-modal{
    width: min(354px, calc(100vw - 32px));
  }.consult-qr-modal-card{
    padding: 26px 20px 22px;
  }.consult-qr-modal .consult-qr-modal-code{
    width: min(68vw, 250px);
  }}
@media (prefers-reduced-motion: reduce){.consult-follower{
    transform: none !important;
  }.consult-panel,.consult-qr-modal,.consult-trigger-qr{
    transition: none !important;
    animation: none !important;
  }.consult-trigger-motion{
    animation: none !important;
  }}
.consult-trigger-qr-inner img,.consult-qr img{
  top: -45.625%;
  left: -19.375%;
  width: 138.75%;
  height: auto;
}
.consult-qr-modal .consult-qr-modal-code{ background-image: none; }
.consult-qr-modal-code img{ display: block; }
.consult-qr-modal-copy h2{ color: #0d1933; }
.consult-qr-modal-copy p{ color: #667288; }
.consult-contact-methods{
  display: grid;
  gap: 8px;
  margin: 0 18px;
  padding: 13px 0 17px;
  border-top: 1px solid #dce4ef;
}
.consult-contact-methods a{
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
  color: #263650;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
}
.consult-contact-methods a span{ color: #667288; flex-shrink: 0; }
.consult-contact-methods a strong{ font-weight: 400; overflow-wrap: anywhere; }
.consult-contact-methods a:hover strong{ color: #315fd6; text-decoration: underline; }
.consult-contact-methods a:focus-visible{ outline: 2px solid #315fd6; outline-offset: 3px; }
.consult-panel{
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  
  -ms-overflow-style: none;
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}
.consult-panel::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;
}
.consult-wechat-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
  line-height: 1.6;
}
.consult-wechat-row > span{ color: #667288; }
.consult-wechat-row > strong{
  color: #0d1933;
  font-weight: 400;
  letter-spacing: .02em;
  -webkit-user-select: all;
  user-select: all;
}
.consult-copy-button{
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #c5cfdc;
  border-radius: 999px;
  background: #fff;
  color: #315fd6;
  font: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) and (pointer: fine){.consult-copy-button:hover{ background: #f1f5fb; }}
.consult-copy-button:focus-visible{
  outline: 2px solid #315fd6;
  outline-offset: 2px;
}
.consult-copy-status{
  margin: 0;
  color: #1f7a4d;
  font-size: 12px;
  line-height: 1.5;
}
.consult-copy-status:empty{ display: none; }
.consult-qr-modal-hint{
  margin: 12px 0 0;
  color: #667288;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}
.consult-qr-modal-hint:empty{ display: none; }
.consult-qr-modal-wechat{
  justify-content: center;
  margin-top: 10px;
}
.consult-qr-modal .consult-copy-status{
  margin-top: 6px;
  text-align: center;
}
.consult-qr-modal[open]{ visibility: visible; }
@media (max-width: 860px){.consult-copy-button{ min-height: 40px; }.consult-follower.is-docked{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility 0s linear .16s;
  }body.hero-cta-visible .consult-follower:not(.is-panel-open){
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, visibility 0s linear .16s;
  }}
.qr-dialog-id .consult-copy-button{
  border-color: rgba(255, 255, 255, .5);
  background: transparent;
  color: #fff;
}
@media (hover: hover) and (pointer: fine){.qr-dialog-id .consult-copy-button:hover{ background: rgba(255, 255, 255, .08); }}
.qr-dialog-id .consult-copy-button:focus-visible{ outline-color: var(--brand-bright); }
.qr-dialog-id .consult-copy-status{
  flex-basis: 100%;
  color: #6fdc9c;
  text-align: center;
}
.consult-panel{
  color: #0d1933;
  background: rgba(255,255,255,.985);
  border-color: #c5cfdc;
  box-shadow:
    0 24px 70px rgba(3,8,20,.3),
    0 5px 18px rgba(3,8,20,.16);
}
.consult-panel::after{
  background: #fff;
  border-right-color: #c5cfdc;
  border-bottom-color: #c5cfdc;
}
.consult-panel-mark{
  color: #315fd6;
  background: #f1f5fb;
}
.consult-panel-copy strong,.consult-details > strong{
  color: #0d1933;
}
.consult-panel-copy span,.consult-details > p{
  color: #667288;
}
.consult-close{
  color: #263650;
}
.consult-close:hover{
  color: #0d1933;
  background: #f1f5fb;
}
.consult-panel-body{
  border-top-color: #dce4ef;
}
.consult-qr{
  border-color: #1689e8;
}
@media (pointer: coarse){.consult-copy-button{ min-height: 44px; }.consult-close,.consult-qr-modal-close{
    width: 44px;
    height: 44px;
  }.consult-panel-head{ grid-template-columns: 40px 1fr 44px; }}
@media print{.consult-follower{ display: none !important; }}
@keyframes consult-qr-wiggle{
  0%, 82%, 100% { transform: rotate(0deg); }
  86% { transform: rotate(-3deg); }
  89% { transform: rotate(2.5deg); }
  92% { transform: rotate(-1.6deg); }
  95% { transform: rotate(.8deg); }
  98% { transform: rotate(0deg); }
}
@keyframes consult-qr-modal-in{
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* v1.58 手机端：右下角浮动二维码会压住正文，而且手机上扫不了自己屏幕上的码，改成底部联系横栏 */
.consult-bar-label,
.consult-bar-call { display: none; }

@media (max-width: 860px) {
  .consult-follower {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(6, 8, 13, .92);
    border-top: 1px solid rgba(244, 247, 255, .11);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: none;
  }
  .consult-widget {
    display: flex;
    gap: 10px;
    width: 100%;
    height: auto;
  }
  .consult-trigger {
    position: static;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 46px;
    border-radius: 2px;
    background: #3f63e6;
    color: #fff;
  }
  .consult-trigger-motion,
  .consult-label { display: none; }
  .consult-bar-label {
    display: inline;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .consult-bar-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34%;
    min-height: 46px;
    border: 1px solid rgba(244, 247, 255, .22);
    border-radius: 2px;
    color: #f4f6fb;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .consult-panel {
    right: 0;
    bottom: calc(100% + 12px);
    width: min(350px, calc(100vw - 32px));
  }
  .consult-panel::after { display: none; }
}
