/* 连续对话页（/guides/:guideId）——对应 src/pages/guide-chat-page.js */
.chat-screen { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 88px; }
.chat-status { padding: 11px 16px; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); background: white; }
.chat-status img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-status strong, .chat-status small { display: block; }
.chat-status strong { font-size: 13px; }
.chat-status small { margin-top: 3px; color: var(--jade-dark); font-size: 10px; }
.chat-messages { flex: 1; padding: 17px 15px 185px; display: flex; flex-direction: column; gap: 13px; overflow: auto; background: linear-gradient(#fffaf4, #fffdf9); }
.chat-message { display: flex; gap: 8px; align-items: flex-start; }
.chat-message > img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover; }
.chat-message > div { max-width: 79%; padding: 11px 13px; border-radius: 17px; background: white; box-shadow: var(--shadow-soft); font-size: 12px; line-height: 1.65; }
.chat-message.is-user { justify-content: flex-end; }
.chat-message.is-user > div { background: linear-gradient(135deg, #35b9aa, #149b9a); color: white; }
.chat-message [data-route] { margin-top: 8px; padding: 8px 11px; border-radius: 15px; background: var(--orange); color: white; font-size: 11px; font-weight: 700; }
.chat-loading { color: var(--muted); font-size: 11px; text-align: center; }
.chat-composer { position: absolute; z-index: 60; left: 0; right: 0; bottom: 76px; padding: 8px 14px 10px; border-top: 1px solid var(--line); background: rgba(255, 252, 246, .97); }
.suggestion-title { margin-bottom: 6px; color: var(--muted); font-size: 10px; }
.suggestion-row { display: flex; gap: 6px; overflow: auto; scrollbar-width: none; }
.suggestion-row button { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #f4c39f; border-radius: 14px; font-size: 9px; }
.chat-composer form { height: 43px; margin-top: 7px; padding: 4px 5px 4px 11px; display: grid; grid-template-columns: auto 1fr auto; gap: 7px; align-items: center; border: 1px solid var(--line); border-radius: 24px; background: white; }
.chat-composer input { min-width: 0; border: 0; outline: 0; background: transparent; }
.chat-composer [type="submit"] { padding: 8px 12px; border-radius: 18px; background: var(--orange); color: white; }

/* typing 占位：发送后到回答出现前的三点动画 */
.chat-message.is-typing > div { padding: 13px 15px; }
.typing-dots { display: flex; gap: 5px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .35; animation: typing-bounce 1s ease-in-out infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce { 40% { opacity: 1; transform: translateY(-3px); } }

/* 最新消息出现动画 */
.chat-message:last-child { animation: message-in var(--dur-med) var(--ease-out); }
@keyframes message-in { from { opacity: 0; transform: translateY(8px); } }
