/* v139 mobile quote trigger: show original 获取报价 button after 70% scroll, placed at old back-to-top position */
@media (max-width:991px){
  .back-to-top{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
  .kang-service-float{display:none!important}
  body.kang-mobile-quote-float-ready.kang-mobile-quote-float-visible .kang-service-float{position:fixed!important;right:18px!important;bottom:34px!important;top:auto!important;left:auto!important;transform:none!important;z-index:1205!important;display:flex!important;flex-direction:column!important;gap:0!important;align-items:center!important;justify-content:center!important;pointer-events:auto!important}
  body.kang-mobile-quote-float-ready.kang-mobile-quote-float-visible .kang-service-float .service-item{display:none!important}
  body.kang-mobile-quote-float-ready.kang-mobile-quote-float-visible .kang-service-float .service-item.tone-quote{display:flex!important;width:60px!important;height:60px!important;min-height:60px!important;padding:8px!important;border-radius:50%!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:linear-gradient(180deg,#0fb96b 0%,#087d49 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.45)!important;box-shadow:0 16px 34px rgba(7,137,78,.32),0 0 0 8px rgba(19,185,107,.10)!important;animation:kangQuoteFloatIn .28s ease both!important}
  body.kang-mobile-quote-float-ready.kang-mobile-quote-float-visible .kang-service-float .service-item.tone-quote .service-item-kicker{font-size:13px!important;line-height:1.18!important;font-weight:900!important;letter-spacing:.02em!important;color:#fff!important}
  body.kang-service-open .kang-service-float{display:none!important}
  body.kang-mobile-open .kang-service-float{display:none!important}
  .kang-service-panel{bottom:18px!important}
}
@media (max-width:420px){
  body.kang-mobile-quote-float-ready.kang-mobile-quote-float-visible .kang-service-float{right:16px!important;bottom:30px!important}
}
@keyframes kangQuoteFloatIn{from{opacity:0;transform:translateY(18px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}

/* v140 mobile service panel: keep phone number and WeChat ID fully visible; mobile only, no desktop impact */
@media (max-width:767px){
  .kang-service-panel{
    left:12px!important;
    right:12px!important;
    bottom:max(12px, env(safe-area-inset-bottom))!important;
    max-height:calc(100vh - 72px)!important;
    padding:18px 14px 16px!important;
    border-radius:26px!important;
  }
  .service-dialog-grid-clean{
    padding:16px 12px!important;
    gap:14px!important;
    border-radius:24px!important;
  }
  .service-copy-title-clean{
    font-size:20px!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .service-contact-layout{
    grid-template-columns:112px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:stretch!important;
  }
  .service-contact-qr-card{
    padding:10px 8px!important;
    gap:8px!important;
  }
  .service-contact-info-card{
    padding:10px!important;
    gap:10px!important;
    min-width:0!important;
  }
  .service-response-pill-clean{
    padding:10px!important;
  }
  .service-response-pill-clean strong{
    font-size:16px!important;
    line-height:1.35!important;
  }
  .service-wechat-info-card{
    padding:10px 9px!important;
    gap:9px!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .service-wechat-info-line,
  .service-preview-contact-line{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    overflow:visible!important;
  }
  .service-wechat-info-line .service-line-label,
  .service-preview-contact-line .service-line-label{
    display:block!important;
    margin:0 0 4px!important;
    font-size:12px!important;
    line-height:1.25!important;
  }
  .service-wechat-info-line .service-line-value,
  .service-preview-contact-line .service-line-value{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:18px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:break-all!important;
    overflow-wrap:anywhere!important;
  }
  .service-wechat-info-card .service-copy-btn{
    width:100%!important;
    min-height:42px!important;
    height:42px!important;
    font-size:14px!important;
  }
  .service-phone-card-clean{
    padding:15px 16px!important;
    border-radius:20px!important;
  }
  .service-phone-line-clean{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  .service-phone-info-clean{
    display:block!important;
    min-width:0!important;
    overflow:visible!important;
    white-space:normal!important;
  }
  .service-phone-info-clean .service-line-label{
    display:block!important;
    margin:0 0 4px!important;
    font-size:17px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .service-phone-info-clean .service-line-value,
  .kang-qr-preview .service-preview-phone-card .service-line-value{
    display:block!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:24px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    word-break:normal!important;
  }
  .service-phone-line-clean .service-action-btn{
    min-width:112px!important;
    height:46px!important;
    padding:0 14px!important;
    border-radius:16px!important;
    font-size:15px!important;
    flex-shrink:0!important;
  }
  .kang-qr-preview .service-preview-contact-card,
  .kang-qr-preview .service-preview-phone-card{
    width:100%!important;
    max-width:100%!important;
  }
}
@media (max-width:374px){
  .service-contact-layout{grid-template-columns:1fr!important}
  .service-qr-frame-clean{width:116px!important}
  .service-qr-frame-clean .service-qr-image-large{width:100px!important;height:100px!important}
  .service-phone-line-clean{grid-template-columns:1fr!important}
  .service-phone-line-clean .service-action-btn{width:100%!important}
}
