.chat-page[data-v-f7dc915c]{height:100%;display:flex;flex-direction:column;background:#f0f2f5;max-width:760px;margin:0 auto;position:relative}.chat-header[data-v-f7dc915c]{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top));background:linear-gradient(135deg,#1f8fff,#3b9eff);color:#fff;flex-shrink:0}.header-left[data-v-f7dc915c]{display:flex;align-items:center;gap:10px}.avatar[data-v-f7dc915c]{width:38px;height:38px;border-radius:50%;background:#ffffff40;display:flex;align-items:center;justify-content:center;font-size:18px}.title[data-v-f7dc915c]{font-weight:600;font-size:15px}.status[data-v-f7dc915c]{font-size:12px;opacity:.95}.status.online[data-v-f7dc915c]:before,.status.offline[data-v-f7dc915c]:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.status.online[data-v-f7dc915c]:before{background:#4dff88}.status.offline[data-v-f7dc915c]:before{background:#ffb020}.ticket-no[data-v-f7dc915c]{font-size:13px;background:#fff3;padding:3px 10px;border-radius:12px;white-space:nowrap}.channel-hint[data-v-f7dc915c]{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:7px 12px;background:#f0f6fc;border-bottom:1px solid #d9e8f5;font-size:12px}.channel-hint .hint-text[data-v-f7dc915c]{color:#5b6b7a}.channel-hint a[data-v-f7dc915c]{color:#229ed9;font-weight:600;text-decoration:none;padding:2px 8px;border:1px solid #bfe0f2;border-radius:12px;background:#fff}.channel-hint a[data-v-f7dc915c]:hover{background:#e8f4fb}.channel-hint a[data-v-f7dc915c]:nth-of-type(2){color:#5865f2;border-color:#ccd0f8}.channel-hint a[data-v-f7dc915c]:nth-of-type(2):hover{background:#edeeff}.channel-hint .hint-close[data-v-f7dc915c]{margin-left:auto;border:none;background:transparent;color:#8a9aa9;font-size:16px;line-height:1;cursor:pointer;padding:0 2px}.channel-hint .hint-close[data-v-f7dc915c]:hover{color:#5b6b7a}.chooser-card[data-v-f7dc915c]{width:min(320px,100%);background:#fff;border:1px solid #e8eaee;border-radius:16px;padding:28px 20px 16px;box-shadow:0 8px 28px #00000012}.chooser-icon[data-v-f7dc915c]{font-size:40px;line-height:1}.chooser-title[data-v-f7dc915c]{margin:12px 0 4px;font-size:19px;color:#1a1d24}.chooser-sub[data-v-f7dc915c]{margin:0 0 18px;font-size:13px;color:#888}.chooser-option[data-v-f7dc915c]{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;margin-bottom:10px;border:1px solid #dde2e8;border-radius:12px;background:#fafbfc;cursor:pointer;text-align:left;text-decoration:none;font-family:inherit}.chooser-option[data-v-f7dc915c]:hover{border-color:#1f8fff;background:#f0f7ff}.chooser-option.tg[data-v-f7dc915c]{background:#f5faff;border-color:#cfe6ff}.chooser-option.dc[data-v-f7dc915c]{background:#f6f7ff;border-color:#d5d8ff}.option-icon[data-v-f7dc915c]{font-size:24px;flex-shrink:0}.option-text[data-v-f7dc915c]{flex:1;display:flex;flex-direction:column;gap:2px}.option-name[data-v-f7dc915c]{font-size:14.5px;font-weight:600;color:#1a1d24}.option-desc[data-v-f7dc915c]{font-size:12px;color:#9097a1}.option-arrow[data-v-f7dc915c]{color:#b8bdc4;font-size:18px;flex-shrink:0}.center-state[data-v-f7dc915c]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#888;padding:24px;text-align:center}.big-icon[data-v-f7dc915c]{font-size:40px}.spinner[data-v-f7dc915c]{width:28px;height:28px;border:3px solid #d8dde3;border-top-color:#1f8fff;border-radius:50%;animation:spin-f7dc915c .8s linear infinite}@keyframes spin-f7dc915c{to{transform:rotate(360deg)}}.msg-list[data-v-f7dc915c]{flex:1;overflow-y:auto;padding:16px 12px 8px;overscroll-behavior:contain}.scroll-bottom-space[data-v-f7dc915c]{height:8px}.msg-row[data-v-f7dc915c]{display:flex;margin-bottom:12px}.msg-row.from-customer[data-v-f7dc915c]{justify-content:flex-end}.msg-row.from-agent[data-v-f7dc915c]{justify-content:flex-start}.msg-row.from-system[data-v-f7dc915c]{justify-content:center}.system-msg[data-v-f7dc915c]{font-size:12px;color:#999;background:#0000000d;padding:4px 12px;border-radius:10px}.revoked-msg[data-v-f7dc915c]{font-size:12px;color:#b8bdc4;padding:2px 12px}.bubble-quote[data-v-f7dc915c]{font-size:12px;color:#666;background:#0000000d;border-left:3px solid #1f8fff;border-radius:4px;padding:4px 8px;margin-bottom:6px;white-space:pre-wrap;word-break:break-word;text-align:left}.pay-card[data-v-f7dc915c]{margin:6px auto;max-width:92%;background:linear-gradient(160deg,#f0fff0,#e8f8e0);border:1px solid #b7eb8f;border-radius:10px;padding:10px 14px;font-size:13.5px;line-height:1.7;color:#333;white-space:pre-line;word-break:break-word;box-shadow:0 2px 8px #52c41a1f}.bubble[data-v-f7dc915c]{max-width:78%;padding:9px 12px;border-radius:14px;background:#fff;box-shadow:0 1px 2px #0000000f;position:relative}.bubble.mine[data-v-f7dc915c]{background:#1f8fff;color:#fff;border-bottom-right-radius:4px}.bubble[data-v-f7dc915c]:not(.mine){border-bottom-left-radius:4px}.bubble-text[data-v-f7dc915c]{white-space:pre-wrap;word-break:break-word;line-height:1.45;font-size:14px}.bubble-img[data-v-f7dc915c]{max-width:100%;max-height:280px;border-radius:8px;cursor:zoom-in;object-fit:contain;background:#eee;min-width:120px;min-height:80px}.bubble-meta[data-v-f7dc915c]{display:flex;align-items:center;gap:6px;margin-top:4px;justify-content:flex-end}.time[data-v-f7dc915c]{font-size:11px;opacity:.6}.pending[data-v-f7dc915c]{font-size:11px;opacity:.7}.retry-btn[data-v-f7dc915c]{font-size:13px;cursor:pointer;padding:0 2px}.toggle-original[data-v-f7dc915c]{font-size:11px;opacity:.65;margin-top:3px;text-decoration:underline;color:inherit;padding:0}.bubble-original[data-v-f7dc915c]{margin-top:4px;padding-top:4px;border-top:1px dashed rgba(0,0,0,.15);font-size:12px;opacity:.75;white-space:pre-wrap;word-break:break-word}.msg-row.failed .bubble[data-v-f7dc915c]{outline:1px solid rgba(255,80,80,.6)}.jump-btn[data-v-f7dc915c]{position:absolute;bottom:90px;left:50%;transform:translate(-50%);background:#fff;color:#1f8fff;border:1px solid #d5e6ff;padding:6px 14px;border-radius:16px;font-size:12px;box-shadow:0 2px 10px #0000001a;z-index:10}.fade-enter-active[data-v-f7dc915c],.fade-leave-active[data-v-f7dc915c]{transition:opacity .2s}.fade-enter-from[data-v-f7dc915c],.fade-leave-to[data-v-f7dc915c]{opacity:0}.history-tip[data-v-f7dc915c]{text-align:center;font-size:12px;color:#b0b5bd;padding:6px 0 10px}.topics-bar[data-v-f7dc915c]{flex-shrink:0;display:flex;flex-wrap:wrap;gap:6px;padding:6px 10px 0;background:#fff;border-top:1px solid #eef0f3}.topic-btn[data-v-f7dc915c]{flex-shrink:0;display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#1f8fff;background:#eef6ff;border:1px solid #d5e9ff;padding:4px 10px;border-radius:12px;white-space:normal;text-align:left;max-width:100%;line-height:1.3}.topic-btn.highlight[data-v-f7dc915c]{color:#ff8f1f;background:#fff7ef;border-color:#ffe3c2}.topic-btn[data-v-f7dc915c]:disabled{opacity:.55;cursor:not-allowed}.topic-icon[data-v-f7dc915c]{font-size:12px}.input-bar[data-v-f7dc915c]{flex-shrink:0;display:flex;align-items:flex-end;gap:8px;padding:10px 12px;padding-bottom:calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e8eaee}.img-btn[data-v-f7dc915c]{font-size:20px;padding:8px;border-radius:8px;flex-shrink:0}.img-btn.disabled[data-v-f7dc915c]{opacity:.5;cursor:not-allowed;pointer-events:none}.emoji-wrap[data-v-f7dc915c]{position:relative;flex-shrink:0;display:flex}.emoji-btn.active[data-v-f7dc915c]{background:#e8f3ff}.sticker-panel[data-v-f7dc915c]{position:absolute;bottom:calc(100% + 10px);left:0;width:264px;padding:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:#fff;border:1px solid #e8eaee;border-radius:12px;box-shadow:0 6px 24px #0000001f;z-index:20}.sticker-item[data-v-f7dc915c]{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 2px;border-radius:8px}.sticker-item[data-v-f7dc915c]:hover{background:#f2f7fd}.sticker-item[data-v-f7dc915c]:disabled{opacity:.5;cursor:not-allowed}.sticker-item-emoji[data-v-f7dc915c]{font-size:28px;line-height:1.2}.sticker-item-label[data-v-f7dc915c]{font-size:11px;color:#8a94a0}.bubble.sticker[data-v-f7dc915c]{background:transparent;box-shadow:none;padding:2px 4px;max-width:none}.bubble-sticker[data-v-f7dc915c]{font-size:46px;line-height:1.25;cursor:default}.chat-page.dragging[data-v-f7dc915c]{outline:2px dashed #1f8fff;outline-offset:-6px;background:#f5faff}textarea[data-v-f7dc915c]{flex:1;resize:none;border:1px solid #dde2e8;border-radius:10px;padding:9px 12px;font-size:16px;line-height:1.4;overflow-y:auto;max-height:152px;background:#fafbfc}textarea[data-v-f7dc915c]:focus{border-color:#1f8fff;background:#fff}.send-btn[data-v-f7dc915c]{flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#1f8fff;color:#fff;font-size:16px;display:flex;align-items:center;justify-content:center}.send-btn[data-v-f7dc915c]:disabled{background:#b9d9ff;cursor:not-allowed}.input-bar.disabled[data-v-f7dc915c]{padding:14px 12px;padding-bottom:calc(14px + env(safe-area-inset-bottom))}.closed-tip[data-v-f7dc915c]{flex:1;text-align:center;color:#999;font-size:13px}.new-ticket-btn[data-v-f7dc915c]{margin-top:8px;background:#1f8fff;color:#fff;padding:8px 20px;border-radius:18px;font-size:13px}.preview-mask[data-v-f7dc915c]{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d9;z-index:500;display:flex;align-items:center;justify-content:center;cursor:zoom-out}.preview-mask img[data-v-f7dc915c]{max-width:92vw;max-height:90vh;object-fit:contain}@media (min-width: 768px){.chat-page[data-v-f7dc915c]{box-shadow:0 0 40px #00000014}}@media (max-width: 360px){.bubble[data-v-f7dc915c]{max-width:88%}.chat-header[data-v-f7dc915c]{padding-left:10px;padding-right:10px}.avatar[data-v-f7dc915c]{width:32px;height:32px;font-size:16px}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#app{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,PingFang SC,Microsoft YaHei,sans-serif;font-size:14px;color:#222;background:#f5f6f8;-webkit-font-smoothing:antialiased}button{font-family:inherit;cursor:pointer;border:none;background:none}input,textarea{font-family:inherit;outline:none}img{display:block}.toast-wrap{position:fixed;top:16px;left:50%;transform:translate(-50%);z-index:999;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}.toast{display:inline-flex;align-items:center;gap:8px;background:#fffffff7;color:#333;padding:10px 18px;border-radius:999px;font-size:13px;line-height:1.4;max-width:80vw;box-shadow:0 6px 24px #00000024,0 0 0 1px #0000000d;word-break:break-word;animation:toast-in .22s cubic-bezier(.21,1.02,.73,1)}.toast:before{flex-shrink:0;width:18px;height:18px;border-radius:50%;color:#fff;font-size:12px;font-weight:700;line-height:18px;text-align:center}.toast.info:before{content:"i";background:#1f8fff}.toast.success:before{content:"✓";background:#52c41a}.toast.error:before{content:"✕";background:#ff4d4f}.toast.warn:before{content:"!";background:#faad14}@keyframes toast-in{0%{opacity:0;transform:translateY(-10px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.toast-list-leave-active{transition:opacity .25s ease,transform .25s ease}.toast-list-leave-to{opacity:0;transform:translateY(-8px) scale(.96)}.toast-fade-enter-active,.toast-fade-leave-active{transition:opacity .2s ease,transform .2s ease}.toast-fade-enter-from,.toast-fade-leave-to{opacity:0;transform:translateY(-8px)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#0000002e;border-radius:3px}::-webkit-scrollbar-track{background:transparent}
