.support-fab {
  position: fixed;
  right: 24px;
  bottom: 112px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(194, 59, 46, .35);
  background: #F2E9D8;
  color: #211C15;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(40, 28, 16, .18);
  cursor: pointer;
}
.support-fab:hover { background: #FBF5E9; }
.support-fab .dot { width: 8px; height: 8px; border-radius: 50%; background: #C23B2E; }

.support-panel {
  position: fixed;
  right: 24px;
  bottom: 168px;
  z-index: 9001;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 200px);
  display: none;
  flex-direction: column;
  background: #FBF5E9;
  border: 1px solid rgba(95, 84, 68, .25);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(40, 28, 16, .22);
  overflow: hidden;
  font-family: "Microsoft YaHei", sans-serif;
}
.support-panel.open { display: flex; }
.support-head {
  padding: 14px 16px;
  background: #2B2418;
  color: #F2E9D8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.support-head b { font-size: 15px; letter-spacing: .04em; }
.support-head small { display: block; margin-top: 3px; font-size: 11px; color: rgba(242,233,216,.65); }
.support-close { border: 0; background: none; color: #F2E9D8; font-size: 20px; cursor: pointer; line-height: 1; }

.support-body { flex: 1; overflow-y: auto; padding: 14px; background: #F7F1E4; }
.support-msg { display: flex; margin-bottom: 10px; }
.support-msg.user { justify-content: flex-end; }
.support-bubble {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.support-msg.assistant .support-bubble { background: #fff; color: #211C15; border: 1px solid rgba(95,84,68,.14); }
.support-msg.user .support-bubble { background: #C23B2E; color: #fff; }
.support-msg.assistant .support-bubble a { color: #A82F27; font-weight: 700; }
.support-order { margin: 4px 0 12px 0; }
.support-order a {
  display: inline-block; padding: 8px 12px; border-radius: 8px;
  background: #C23B2E; color: #fff; font-size: 13px; text-decoration: none;
}
.support-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #F7F1E4; }
.support-quick button {
  border: 1px solid rgba(95,84,68,.22); background: #fff; color: #5F5444;
  border-radius: 999px; padding: 6px 10px; font-size: 12px; cursor: pointer;
}
.support-foot { border-top: 1px solid rgba(95,84,68,.14); padding: 10px 12px; background: #FBF5E9; }
.support-inputrow { display: flex; gap: 8px; }
.support-input {
  flex: 1; min-width: 0; height: 38px; border: 1px solid rgba(95,84,68,.28);
  border-radius: 8px; padding: 0 10px; font-size: 13px; outline: none; background: #fff;
}
.support-input:focus { border-color: #C23B2E; }
.support-send {
  width: 62px; border: 0; border-radius: 8px; background: #C23B2E; color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.support-send:disabled { opacity: .5; cursor: default; }
.support-handoff {
  margin-top: 8px; width: 100%; border: 0; background: none; color: #8C7A60;
  font-size: 12px; text-align: center; cursor: pointer; text-decoration: underline;
}
.support-note { margin-top: 6px; font-size: 10px; color: #9A968D; text-align: center; line-height: 1.4; }

@media (max-width: 600px) {
  .support-fab { right: 14px; bottom: 86px; padding: 10px 14px; font-size: 13px; }
  .support-panel { right: 12px; left: 12px; bottom: 140px; width: auto; height: 56vh; max-height: 480px; }
}
