html, body { margin: 0; padding: 0; }
body.vc-body {
  font: 15px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1d3557 0%, #0b1220 55%, #070c16 100%);
  color: #e8eefb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.vc {
  width: 100%;
  max-width: 460px;
  height: min(78vh, 720px);
  background: #111c33;
  border: 1px solid #24334f;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.vc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1b2d4d, #13233f);
  border-bottom: 1px solid #24334f;
}
.vc-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #4f8cff, #7c5cff);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 15px;
}
.vc-title { font-weight: 600; font-size: 15px; }
.vc-sub { font-size: 12px; color: #93a3bd; }
.vc-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vc-greet {
  align-self: flex-start;
  max-width: 85%;
  background: #16233d;
  border: 1px solid #24334f;
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 14px;
  color: #cfe0ff;
  white-space: pre-wrap;
}
.vc .msg { display: flex; flex-direction: column; max-width: 78%; }
.vc .msg.me { align-self: flex-end; align-items: flex-end; }
.vc .msg.them { align-self: flex-start; align-items: flex-start; }
.vc .bubble {
  background: #16233d;
  border: 1px solid #24334f;
  border-radius: 14px;
  padding: 10px 13px;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}
.vc .msg.me .bubble {
  background: linear-gradient(135deg, #2f5fd0, #4f8cff);
  border: 0;
  color: #fff;
}
.vc .mt { font-size: 11px; color: #6f819c; margin-top: 4px; }
.vc-send {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #24334f;
  background: #0e1930;
}
.vc-send input {
  flex: 1;
  min-width: 0;
  background: #0b1424;
  border: 1px solid #24334f;
  color: #e8eefb;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
}
.vc-send input:focus { border-color: #4f8cff; }
.vc-send button {
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4f8cff, #7c5cff);
  cursor: pointer;
}
.vc-send button:hover { filter: brightness(1.08); }
