/* 智能客服聊天组件样式（香槟金主题） */
.qk-fab { position: fixed; right: 24px; bottom: 24px; width: 56px; height: 56px;
  border-radius: 50%; background: linear-gradient(135deg, #c9a96a, #b08d4f); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 4px 16px rgba(176,141,79,.4); cursor: pointer; z-index: 9998;
  animation: qk-pulse 2s infinite; }
@keyframes qk-pulse { 0%,100% { box-shadow: 0 4px 16px rgba(176,141,79,.4); }
  50% { box-shadow: 0 4px 26px rgba(176,141,79,.75); } }
.qk-chat { position: fixed; right: 24px; bottom: 92px; width: 370px; max-width: calc(100vw - 48px);
  height: 500px; max-height: calc(100vh - 140px); background: #fff; border-radius: 16px;
  border: 1px solid #e8e2d5;
  box-shadow: 0 8px 32px rgba(0,0,0,.2); display: none; flex-direction: column;
  overflow: hidden; z-index: 9999; }
.qk-chat.open { display: flex; }
.qk-chat-head { background: linear-gradient(135deg, #c9a96a, #b08d4f); color: #fff;
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.qk-chat-head .t { font-size: 15px; font-weight: bold; }
.qk-chat-head .s { font-size: 11px; opacity: .85; margin-top: 2px; }
.qk-chat-head .x { cursor: pointer; font-size: 18px; opacity: .8; }
.qk-chat-head .x:hover { opacity: 1; }
.qk-chat-body { flex: 1; padding: 12px; overflow-y: auto; background: #faf9f7;
  display: flex; flex-direction: column; gap: 10px; }
.qk-msg { max-width: 88%; padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.7;
  word-break: break-word; color: #1a1a1a; }
.qk-msg.bot { background: #fff; align-self: flex-start; border: 1px solid #e8e2d5;
  border-bottom-left-radius: 4px; }
.qk-msg.user { background: linear-gradient(135deg, #c9a96a, #b08d4f); color: #fff; align-self: flex-end;
  border-bottom-right-radius: 4px; }
.qk-msg.bot ol, .qk-msg.bot ul { padding-left: 18px; margin: 4px 0; }
.qk-msg.bot b { color: #b08d4f; }
.qk-related { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 95%; }
.qk-related span { font-size: 12px; background: #fff; border: 1px solid #e8e2d5;
  border-radius: 14px; padding: 4px 10px; color: #b08d4f; cursor: pointer; }
.qk-related span:hover { background: rgba(176,141,79,.1); }
.qk-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #faf9f7;
  border-top: 1px solid #e8e2d5; max-height: 76px; overflow-y: auto; }
.qk-quick span { font-size: 12px; background: #fff; border: 1px solid #e8e2d5;
  border-radius: 14px; padding: 4px 10px; color: #b08d4f; cursor: pointer; white-space: nowrap; }
.qk-quick span:hover { background: rgba(176,141,79,.1); }
.qk-chat-input { display: flex; border-top: 1px solid #e8e2d5; padding: 8px 10px; gap: 8px;
  background: #fff; align-items: center; }
.qk-chat-input input { flex: 1; border: 1px solid #e8e2d5; border-radius: 20px;
  padding: 8px 14px; font-size: 13px; outline: none; color: #1a1a1a; }
.qk-chat-input input:focus { border-color: #b08d4f; }
.qk-send { background: linear-gradient(135deg, #c9a96a, #b08d4f); color: #fff; border: none;
  border-radius: 20px; padding: 8px 16px; font-size: 13px; cursor: pointer; }
.qk-human { background: none; border: none; color: #999; font-size: 12px; cursor: pointer;
  padding: 8px 4px; }
.qk-human:hover { color: #b08d4f; }
/* 留言列表（超管） */
.qk-msgs { display: flex; flex-direction: column; gap: 8px; }
.qk-msgitem { background: #fff; border: 1px solid #e8e2d5; border-radius: 8px;
  padding: 8px 10px; font-size: 12px; }
.qk-msgitem .meta { color: #999; font-size: 11px; margin-bottom: 4px; }
.qk-msgitem .done { color: #52c41a; }
.qk-msgitem button { margin-top: 6px; font-size: 12px; padding: 3px 10px; border-radius: 12px;
  border: 1px solid #e8e2d5; background: #fff; cursor: pointer; }
