.hc-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 88;
  border: 1px solid #1f7ae0;
  background: linear-gradient(135deg, #2f8df7 0%, #1f7ae0 100%);
  color: #fff;
  border-radius: 14px;
  padding: 11px 16px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 122, 224, 0.33);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.hc-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31, 122, 224, 0.38);
  filter: brightness(1.02);
}

.hc-toggle:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(31, 122, 224, 0.3);
}

.hc-panel {
  position: fixed;
  left: 16px;
  bottom: 68px;
  width: 340px;
  max-height: 70vh;
  z-index: 88;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(2, 18, 31, 0.18);
  display: none;
  overflow: hidden;
}

.hc-panel.open {
  display: block;
}

.hc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
  font-weight: 900;
}

.hc-body {
  height: 300px;
  overflow: auto;
  padding: 10px;
  background: #f8fafc;
}

.hc-msg {
  margin: 8px 0;
}

.hc-msg .who {
  font-size: 11px;
  color: #64748b;
  font-weight: 900;
}

.hc-msg .txt {
  margin-top: 4px;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  background: #fff;
  padding: 8px 9px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-line;
}

.hc-msg.me .txt {
  background: #ecfeff;
  border-color: #99f6e4;
}

.hc-quick {
  padding: 8px 10px;
  border-top: 1px solid #eef2f7;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: #fff;
}

.hc-chip {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.hc-foot {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid #eef2f7;
}

.hc-foot input {
  flex: 1;
  border: 1px solid #dbe3ea;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
}

.hc-foot button {
  border: 1px solid #0f766e;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  font-weight: 900;
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .hc-panel {
    width: calc(100vw - 20px);
    left: 10px;
    bottom: 62px;
  }
  .hc-toggle {
    left: 10px;
    bottom: 10px;
  }
}
