/* ============================================================================
 * 售前AI客服气泡挂件样式（1:1 复刻 doc/ui/CAIE官网首页-standalone.html 定稿）
 * 作用域：全部选择器带 .presales-widget 前缀，防污染全站（提示词要求#4）
 * 结构：轮询气泡(.presale) + 机器人吉祥物 + 客服弹窗(.chat-win) + 兜底notice卡 + 二维码lightbox
 * 新增（定稿缺失,按设计稿风格补）：「更多问题」面板 .ps-more
 * ==========================================================================*/

/* ===== 联系售前 polling bubble (AWS-style floating) =====
 * ⚠️z-index 必须高过 caieglobal 首页原有的 .fixed-consult-bar(z-index:9999 底部黄色考务咨询条),
 *   否则挂件会被原页面客服栏压住;bottom 抬高到 100 避开底部黄条(约56px高)不被遮挡 */
/* 定位:大屏沉到底部(calc(100vh-170) 胜出,离底约73px,2026-07-16累计上移20px),矮屏上贴菜单下方(≥544,不进菜单542以上);
   下限544=菜单(.right-side-bar top255+h287=底542)下方,避免矮屏顶菜单 */
.presales-widget .presale { position: fixed; right: 2px; top: max(544px, calc(100vh - 170px)); z-index: 10001; display: flex; flex-direction: row; align-items: center; gap: 14px; }
.presales-widget .ps-bubble { position: relative; width: 236px; cursor: pointer; background: linear-gradient(180deg, #ffffff, #f7f9ff); border: 1px solid #e3e9fb; border-radius: 16px; padding: 15px 18px; box-shadow: 0 12px 30px rgba(20,50,140,.16), 0 2px 6px rgba(20,50,140,.07); font-size: 14px; line-height: 1.6; color: #1f2733; text-align: left; transition: transform .34s cubic-bezier(.34,1.7,.4,1), box-shadow .28s, border-color .28s; }
.presales-widget .ps-bubble::after { content: ""; position: absolute; right: -6px; top: 50%; margin-top: -6px; transform: rotate(45deg); width: 12px; height: 12px; background: #f7f9ff; border-top: 1px solid #e3e9fb; border-right: 1px solid #e3e9fb; }
@keyframes psFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.presales-widget .ps-close { position: absolute; left: -9px; top: -9px; right: auto; transform: none; width: 22px; height: 22px; border-radius: 50%; border: none; background: #fff; color: #8a97ab; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 3px 10px rgba(15,30,70,.22); transition: color .18s, background .18s, transform .25s cubic-bezier(.34,1.56,.5,1), box-shadow .18s; z-index: 2; }
.presales-widget .ps-close:hover { color: #fff; background: #ff5a72; transform: scale(1.18) rotate(90deg); box-shadow: 0 5px 14px rgba(255,90,114,.5); }
.presales-widget .ps-close:active { transform: scale(1.05) rotate(90deg); }
/* 气泡 hover：弹性放大 */
.presales-widget .ps-bubble:hover { transform: scale(1.06); border-color: #b9d0ff; box-shadow: 0 22px 46px rgba(30,94,255,.24); }
.presales-widget .ps-bubble:hover .ps-text { color: #1e5eff; }
.presales-widget .ps-bubble:hover::after { border-color: #b9d0ff; }
.presales-widget .ps-text { display: inline-block; transition: color .28s; }
.presales-widget .ps-text.in { animation: psSlideIn .5s cubic-bezier(.22,.68,.3,1) both; }
.presales-widget .ps-text.out { animation: psSlideOut .32s ease-in both; }
@keyframes psSlideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes psSlideOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-12px); } }
.presales-widget .ps-bubble.hide { opacity: 0; transform: translateX(10px) scale(.96); pointer-events: none; animation: none; transition: opacity .3s, transform .3s; }
/* trigger: robot mascot */
.presales-widget .ps-mascot { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 7px; animation: psBob 3.4s ease-in-out infinite; }
.presales-widget .ps-mascot .bot-wrap { position: relative; filter: drop-shadow(0 12px 20px rgba(30,94,255,.4)); transition: transform .2s cubic-bezier(.34,1.56,.5,1); }
.presales-widget .ps-mascot:hover { animation: none; }
.presales-widget .ps-mascot:hover .bot-wrap { transform: translateY(-3px) scale(1.05); }
.presales-widget .ps-mascot .bot { width: 72px; height: auto; display: block; }
.presales-widget .ps-tag { font-size: 12.5px; font-weight: 600; color: #1f3a80; background: #fff; border: 1px solid #dce6fb; padding: 4px 13px; border-radius: 999px; box-shadow: 0 4px 12px rgba(15,30,70,.14); letter-spacing: .5px; transition: color .2s, background .2s; }
.presales-widget .ps-mascot:hover .ps-tag { color: #fff; background: linear-gradient(135deg, #2f74ff, #1e5eff); border-color: transparent; }
@keyframes psBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .presales-widget .ps-bubble, .presales-widget .ps-mascot { animation: none; } }

/* ===== 智能客服弹窗 chat window =====
 * z-index 10002 盖过原页面客服栏(9999);bottom 抬高到 90 让输入框完整露在底部黄条之上不被遮 */
.presales-widget .chat-win { position: fixed; right: 24px; bottom: 90px; z-index: 10002; width: 384px; height: 588px; max-height: calc(100vh - 130px); background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 64px rgba(15,30,70,.28), 0 8px 24px rgba(15,30,70,.16), 0 2px 6px rgba(15,30,70,.1); opacity: 0; transform: translateY(24px) scale(.97); pointer-events: none; transition: opacity .3s cubic-bezier(.22,.68,.3,1), transform .3s cubic-bezier(.22,.68,.3,1); }
.presales-widget .chat-win.open { opacity: 1; transform: none; pointer-events: auto; }
/* header */
.presales-widget .chat-hd { position: relative; padding: 22px 20px 20px; background: linear-gradient(120deg, #2f74ff, #1e5eff 55%, #14c4ff); color: #fff; flex: none; }
.presales-widget .chat-hd::after { content: ""; position: absolute; right: -30px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }
.presales-widget .chat-hd-row { position: relative; display: flex; align-items: center; gap: 13px; z-index: 1; }
.presales-widget .chat-ava { position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 4px 12px rgba(10,40,120,.28); display: flex; align-items: center; justify-content: center; flex: none; }
.presales-widget .chat-ava .st-dot { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: #34e08a; border: 2px solid #2f74ff; box-shadow: 0 0 0 3px rgba(52,224,138,.25); }
.presales-widget .chat-hd .ttl { font-size: 17px; font-weight: 600; letter-spacing: .3px; }
.presales-widget .chat-hd .sub { font-size: 12.5px; opacity: .92; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.presales-widget .chat-hd .sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6ff0a8; box-shadow: 0 0 6px #34e08a; flex: none; }
.presales-widget .chat-x { position: absolute; right: 14px; top: 16px; width: 30px; height: 30px; border: none; background: rgba(255,255,255,.16); color: #fff; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .18s, transform .28s cubic-bezier(.34,1.56,.5,1); z-index: 2; }
.presales-widget .chat-x:hover { background: rgba(255,255,255,.32); transform: rotate(90deg); }
/* body */
.presales-widget .chat-body { flex: 1; overflow-y: auto; padding: 20px 18px 8px; background: #f4f7fc; display: flex; flex-direction: column; gap: 14px; }
.presales-widget .chat-body::-webkit-scrollbar { width: 6px; }
.presales-widget .chat-body::-webkit-scrollbar-thumb { background: #d3dce8; border-radius: 999px; }
.presales-widget .chat-day { align-self: center; font-size: 11px; color: #97a3b6; background: #e9eef6; padding: 3px 12px; border-radius: 999px; letter-spacing: .3px; }
.presales-widget .msg { display: flex; gap: 10px; max-width: 86%; animation: psMsgIn .35s cubic-bezier(.22,.68,.3,1) both; }
@keyframes psMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.presales-widget .msg .m-ava { width: 32px; height: 32px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, #2f74ff, #14c4ff); box-shadow: 0 3px 8px rgba(30,94,255,.3); align-self: flex-end; }
.presales-widget .m-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.presales-widget .msg.me .m-col { align-items: flex-end; }
.presales-widget .msg .m-bub { font-size: 14px; line-height: 1.65; padding: 11px 14px; border-radius: 3px 15px 15px 15px; background: #fff; color: #1f2733; box-shadow: 0 2px 8px rgba(15,30,70,.07); word-break: break-word; }
.presales-widget .msg .m-bub a { color: #1e5eff; text-decoration: underline; }
/* 微信号可点击复制小胶囊 */
.presales-widget .ans-wx { display: inline-flex; align-items: center; gap: 4px; margin: 0 2px; padding: 1px 8px; border-radius: 999px; background: #eaf0ff; color: #1e5eff; font-weight: 600; cursor: pointer; user-select: all; vertical-align: baseline; transition: background .15s; }
.presales-widget .ans-wx:hover { background: #d9e4ff; }
.presales-widget .ans-wx:active { background: #c7d7ff; }
.presales-widget .ans-wx svg { width: 11px; height: 11px; opacity: .75; }
/* 挂件内「已复制」轻提示 */
.presales-widget .ps-toast { position: absolute; left: 50%; bottom: 66px; transform: translate(-50%, 8px); background: rgba(20,32,60,.92); color: #fff; font-size: 12.5px; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(15,30,70,.28); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; z-index: 5; white-space: nowrap; }
.presales-widget .ps-toast.show { opacity: 1; transform: translate(-50%, 0); }
.presales-widget .m-time { font-size: 10.5px; color: #a7b2c4; padding: 0 4px; }
.presales-widget .msg.me { align-self: flex-end; flex-direction: row-reverse; }
.presales-widget .msg.me .m-bub { background: linear-gradient(135deg, #2f74ff, #1e5eff); color: #fff; border-radius: 15px 3px 15px 15px; box-shadow: 0 4px 12px rgba(30,94,255,.3); }
/* quick-reply chips */
.presales-widget .chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 16px 12px; background: #f4f7fc; }
.presales-widget .chat-chip { font-size: 12.5px; color: #1e5eff; background: #fff; border: 1px solid #d3e2fd; border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: background .18s, color .18s, transform .18s cubic-bezier(.34,1.56,.5,1), box-shadow .18s; }
.presales-widget .chat-chip:hover { background: #1e5eff; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(30,94,255,.34); border-color: transparent; }
.presales-widget .chat-chip:active { transform: translateY(0); }
.presales-widget .chat-chip.chip-human { display: inline-flex; align-items: center; gap: 5px; background: #eaf1ff; border-color: #cfe0ff; font-weight: 600; text-decoration: none; }
.presales-widget .chat-chip.chip-human:hover { background: #1e5eff; color: #fff; border-color: transparent; }
.presales-widget .chat-chip.chip-human::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0v5a2 2 0 0 1-2 2h-1v-6h3M4 12v5a2 2 0 0 0 2 2h1v-6H4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 16 0v5a2 2 0 0 1-2 2h-1v-6h3M4 12v5a2 2 0 0 0 2 2h1v-6H4'/%3E%3C/svg%3E") center/contain no-repeat; }
/* 「更多问题」chip 与展开面板（定稿缺失,按设计稿风格补,视觉与 chat-chip 同族） */
.presales-widget .chat-chip.chip-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.presales-widget .chat-chip.chip-more::after { content: "▾"; font-size: 10px; transition: transform .2s; }
.presales-widget .chat-chip.chip-more.on::after { transform: rotate(180deg); }
.presales-widget .ps-more { display: none; max-height: 168px; overflow-y: auto; margin: 0 16px 10px; background: #fff; border: 1px solid #d3e2fd; border-radius: 12px; box-shadow: 0 6px 18px rgba(30,94,255,.12); }
.presales-widget .ps-more.open { display: block; animation: psMsgIn .28s cubic-bezier(.22,.68,.3,1) both; }
.presales-widget .ps-more::-webkit-scrollbar { width: 5px; }
.presales-widget .ps-more::-webkit-scrollbar-thumb { background: #d3dce8; border-radius: 999px; }
.presales-widget .ps-more .pm-item { padding: 9px 14px; font-size: 13px; color: #1f2733; cursor: pointer; border-bottom: 1px solid #f0f4fa; display: flex; justify-content: space-between; gap: 8px; transition: background .15s, color .15s; }
.presales-widget .ps-more .pm-item:last-child { border-bottom: none; }
.presales-widget .ps-more .pm-item:hover { background: #f4f8ff; color: #1e5eff; }
.presales-widget .ps-more .pm-hot { flex: none; font-size: 11px; color: #a7b2c4; }
/* QR / image reply card */
.presales-widget .qr-card { margin-top: 8px; width: 172px; background: #fff; border: 1px solid #e6ecf6; border-radius: 14px; padding: 12px; box-shadow: 0 3px 12px rgba(15,30,70,.08); cursor: zoom-in; transition: transform .18s, box-shadow .18s; }
.presales-widget .qr-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30,94,255,.18); }
.presales-widget .qr-card .qr-img { width: 148px; height: 148px; display: block; border-radius: 8px; }
.presales-widget .qr-card .qr-img img, .presales-widget .qr-card .qr-img svg { width: 100%; height: 100%; border-radius: 8px; display: block; }
.presales-widget .qr-card .qr-cap { margin-top: 9px; font-size: 12px; color: #5b6b7f; text-align: center; line-height: 1.5; }
.presales-widget .qr-card .qr-cap b { color: #1e5eff; font-weight: 600; }
.presales-widget .qr-card .qr-hint { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10.5px; color: #a7b2c4; margin-top: 5px; }
/* 转人工 button inside a bot message */
.presales-widget .m-human { margin-top: 9px; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; background: linear-gradient(135deg, #2f74ff, #1e5eff); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; border: none; border-radius: 999px; padding: 9px 16px; cursor: pointer; box-shadow: 0 4px 12px rgba(30,94,255,.32); transition: transform .18s cubic-bezier(.34,1.56,.5,1), box-shadow .18s; }
.presales-widget a.m-human:hover { color: #fff; }
.presales-widget .m-human:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30,94,255,.42); }
.presales-widget .m-human:active { transform: translateY(0); }
/* 兜底/异常提示卡（不暴露错误;设计稿 chat-notice 同款） */
.presales-widget .chat-notice { align-self: stretch; margin: 2px 2px; background: linear-gradient(135deg, #eef4ff, #e7eeff); border: 1px solid #d7e3fb; border-radius: 14px; padding: 14px 15px; display: flex; gap: 12px; box-shadow: 0 2px 8px rgba(30,94,255,.08); animation: psMsgIn .35s cubic-bezier(.22,.68,.3,1) both; }
.presales-widget .chat-notice .nt-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(140deg, #2f74ff, #14c4ff); box-shadow: 0 4px 10px rgba(30,94,255,.3); }
.presales-widget .chat-notice .nt-body { flex: 1; min-width: 0; }
.presales-widget .chat-notice .nt-ttl { font-size: 13.5px; font-weight: 600; color: #1f2733; }
.presales-widget .chat-notice .nt-txt { font-size: 12.5px; color: #5b6b7f; line-height: 1.6; margin-top: 3px; }
.presales-widget .chat-notice .nt-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.presales-widget .chat-notice .nt-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 7px 13px; cursor: pointer; border: 1px solid transparent; transition: transform .16s, box-shadow .16s, background .16s; }
.presales-widget .chat-notice .nt-btn.primary { background: linear-gradient(135deg, #2f74ff, #14c4ff); color: #fff; box-shadow: 0 4px 10px rgba(30,94,255,.3); }
.presales-widget .chat-notice .nt-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 7px 15px rgba(30,94,255,.42); }
.presales-widget .chat-notice .nt-btn.ghost { background: rgba(255,255,255,.75); color: #45506a; border-color: #d7e3fb; }
.presales-widget .chat-notice .nt-btn.ghost:hover { background: #fff; }
/* 富引导卡布局变体(还原设计稿:蓝色柔和 / 居中 / 内嵌二维码 三种样式) */
.presales-widget .chat-notice.nt-soft { background: linear-gradient(135deg, #f2f6fe, #eaf1fc); border-color: #d8e4f8; }
.presales-widget .chat-notice.nt-soft .nt-ic { background: linear-gradient(140deg, #3f6fe0, #5b9bf5); box-shadow: 0 4px 10px rgba(47,116,255,.28); }
.presales-widget .chat-notice.nt-soft .nt-btn.primary { background: linear-gradient(135deg, #3f6fe0, #5b9bf5); box-shadow: 0 4px 10px rgba(47,116,255,.28); }
.presales-widget .chat-notice.nt-center { flex-direction: column; align-items: center; text-align: center; }
.presales-widget .chat-notice.nt-center .nt-acts { justify-content: center; }
.presales-widget .chat-notice.nt-center .nt-ic { width: 40px; height: 40px; border-radius: 50%; }
.presales-widget .chat-notice .nt-qrthumb { flex: none; width: 62px; height: 62px; border-radius: 10px; background: #fff; border: 1px solid #d7e3fb; padding: 5px; cursor: pointer; align-self: center; overflow: hidden; transition: transform .16s, box-shadow .16s; }
.presales-widget .chat-notice .nt-qrthumb:hover { transform: scale(1.05); box-shadow: 0 6px 16px rgba(30,94,255,.28); }
.presales-widget .chat-notice .nt-qrthumb svg, .presales-widget .chat-notice .nt-qrthumb canvas, .presales-widget .chat-notice .nt-qrthumb img { width: 100% !important; height: 100% !important; display: block; border-radius: 6px; }
/* 样式画廊「N号 · 布局」标签(仅调试预览) */
.presales-widget .nt-label { align-self: stretch; display: flex; align-items: center; gap: 8px; margin: 10px 2px 0; font-size: 12px; color: #97a3b6; }
.presales-widget .nt-label .no { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 6px; background: #1e5eff; color: #fff; font-size: 11px; font-weight: 700; }
.presales-widget .nt-label .nl-t { font-weight: 500; color: #5b6b7f; }
.presales-widget .nt-label .nl-line { flex: 1; height: 1px; background: #e6ecf6; }
/* lightbox */
.presales-widget .img-zoom { position: fixed; inset: 0; z-index: 10010; background: rgba(10,20,45,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .26s; }
.presales-widget .img-zoom.open { opacity: 1; pointer-events: auto; }
.presales-widget .img-zoom .zc { background: #fff; border-radius: 20px; padding: 22px; text-align: center; transform: scale(.9); transition: transform .3s cubic-bezier(.22,.68,.3,1); box-shadow: 0 30px 70px rgba(10,20,45,.4); }
.presales-widget .img-zoom.open .zc { transform: scale(1); }
.presales-widget .img-zoom .zc img, .presales-widget .img-zoom .zc svg { width: 260px; height: 260px; border-radius: 10px; display: block; }
.presales-widget .img-zoom .zc .zt { margin-top: 14px; font-size: 14px; color: #1f2733; font-weight: 500; }
.presales-widget .img-zoom .zc .zs { margin-top: 4px; font-size: 12.5px; color: #97a3b6; }
/* qrcodejs 会同时生成 canvas+img,只显示 canvas,隐藏 img(否则被 .zc img 规则撑成260px压到文字上) */
.presales-widget .qr-img[data-gen] img, .presales-widget .img-zoom .zc .qr-gen img { display: none !important; }
.presales-widget .qr-img[data-gen] canvas { width: 148px !important; height: 148px !important; display: block !important; border-radius: 8px; }
.presales-widget .img-zoom .zc .qr-gen { width: 220px; height: 220px; margin: 0 auto; }
.presales-widget .img-zoom .zc .qr-gen canvas { width: 220px !important; height: 220px !important; display: block !important; border-radius: 8px; }
/* typing indicator */
.presales-widget .msg.typing .m-bub { display: flex; gap: 4px; align-items: center; padding: 13px 15px; }
.presales-widget .msg.typing .m-bub i { width: 6px; height: 6px; border-radius: 50%; background: #b3c0d4; display: inline-block; animation: psTypeb 1.2s infinite; }
.presales-widget .msg.typing .m-bub i:nth-child(2) { animation-delay: .18s; }
.presales-widget .msg.typing .m-bub i:nth-child(3) { animation-delay: .36s; }
@keyframes psTypeb { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
/* input */
.presales-widget .chat-input { flex: none; border-top: 1px solid #eef2f7; background: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.presales-widget .chat-input input { flex: 1; border: none; outline: none; font: inherit; font-size: 14px; color: #1f2733; background: none; }
.presales-widget .chat-input input::placeholder { color: #aab4c4; }
.presales-widget .chat-send { width: 40px; height: 40px; border-radius: 10px; border: none; background: linear-gradient(135deg, #2f74ff, #1e5eff); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s; flex: none; }
.presales-widget .chat-send:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30,94,255,.4); }
.presales-widget .chat-send:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
/* 响应式:按设计稿,窄屏隐藏气泡入口,弹窗全屏 */
@media (max-width: 820px) {
  .presales-widget .presale { display: none; }
  .presales-widget .chat-win { right: 12px; bottom: 12px; width: calc(100vw - 24px); height: calc(100vh - 24px); }
}
