.chat-points { margin-top: 28px; display: grid; gap: 12px; }
.chat-points li { position: relative; padding-left: 22px; color: #c5ccd6; font-size: 15px; }
.chat-points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

.chat {
  display: flex;
  flex-direction: column;
  height: 560px;
  background: linear-gradient(180deg, #18202a, #11161d);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #c5ccd6;
  border-bottom: 1px solid var(--graphite-line);
}
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }

.msg { max-width: 86%; }
.msg p { padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.65; white-space: pre-line; word-break: break-word; }
.msg-bot p { background: rgba(255, 255, 255, .06); color: #e6eaf0; border-top-left-radius: 4px; }
.msg-user { align-self: flex-end; }
.msg-user p { background: var(--accent); color: #fff; border-top-right-radius: 4px; }
.msg-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: rgba(60, 200, 168, .14);
  color: var(--ok);
}
.msg-typing { color: var(--ink-3); font-size: 13px; padding: 4px 2px; }

.chat-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px; }
.chat-options:not(:empty) { padding-bottom: 12px; }
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 74, 42, .55);
  background: transparent;
  color: #ffd9cf;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.chip:hover, .chip:focus-visible { background: rgba(226, 74, 42, .18); outline: none; }

.chat-form { display: flex; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--graphite-line); }
.chat-form input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font: inherit;
  font-size: 14px;
}
.chat-form input:focus { outline: none; border-color: var(--accent); }
.chat-form .btn { border: 0; cursor: pointer; font-family: inherit; }
.chat-hint { padding: 0 18px 12px; font-size: 12px; color: var(--ink-3); }
.chat-hint a { color: inherit; }
.chat-noscript { padding: 18px; color: #f0a58f; font-size: 14px; }
.chat:not(.is-ready) .chat-form, .chat:not(.is-ready) .chat-hint { display: none; }

.contact-mail { margin-top: 28px; font-size: 15px; color: #c5ccd6; }
.contact-mail a { color: #fff; border-bottom: 1px solid var(--accent); }
.contact-mail a:hover { color: var(--accent); }

.beian { color: inherit; }
.beian:hover { color: #c5ccd6; }

@media (max-width: 600px) {
  .chat { height: 520px; }
  .msg { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .chip { transition: none; }
}
