.ly-container { max-width: 800px; margin: 0 auto; color: #333; }
.ly-chat-frame { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); display: flex; flex-direction: column; height: 480px; overflow: hidden; position: relative; }
.ly-messages { flex: 1; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 24px; padding-bottom: 20px; }
.ly-messages::-webkit-scrollbar { width: 6px; }
.ly-messages::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
.ly-msg { display: flex; align-items: flex-start; gap: 12px; max-width: 85%; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.ly-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ly-avatar svg { width: 20px; height: 20px; }
.ly-bubble-group { display: flex; flex-direction: column; gap: 4px; }
.ly-bubble { padding: 14px 18px; font-size: 15px; line-height: 1.6; border-radius: 12px; position: relative; word-wrap: break-word; }
.ly-bubble strong { color: #00769D; font-weight: 700; }
.ly-bubble p { margin: 0 0 8px 0; }
.ly-bubble ul { margin: 0; padding-left: 0; }
.ly-bubble.processing { display: flex; align-items: center; gap: 4px; padding: 18px; min-width: 50px; }
.typing-dot { width: 6px; height: 6px; background: #999; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
.ly-time { font-size: 11px; color: #9CA3AF; margin-top: 2px; }
.ly-msg.bot .ly-avatar { background: #00769D; color: white; }
.ly-msg.bot .ly-bubble { background: #F3F4F6; color: #1F2937; border-top-left-radius: 4px; }
.ly-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.ly-msg.user .ly-avatar { background: #E5E7EB; color: #6B7280; }
.ly-msg.user .ly-bubble { background: linear-gradient(135deg, #0093E9 0%, #005878 100%); color: #fff; border-top-right-radius: 4px; box-shadow: 0 2px 5px rgba(0,88,120,0.3); }
.ly-msg.user .ly-time { text-align: right; }
.ly-controls { border-top: 1px solid #F3F4F6; background: #fff; padding: 16px 24px 7px 24px; display: flex; flex-direction: column; gap: 16px; }
.ly-suggestions-scroll { position: relative; width: 100%; overflow: hidden; }
.ly-pills-wrapper { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; justify-content: flex-start; align-items: center; scrollbar-width: thin; scrollbar-color: #E5E7EB transparent; }
.ly-pills-wrapper::-webkit-scrollbar { height: 3px; display: block; }
.ly-pills-wrapper::-webkit-scrollbar-track { background: transparent; }
.ly-pills-wrapper::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 10px; }
.ly-pills-wrapper::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }
.ly-pill { white-space: nowrap; background: #fff; margin-top: 5px; margin-right: 2px; border: 1px solid #E5E7EB; padding: 0 16px; height: 34px; border-radius: 99px; color: #555; font-size: 13px; cursor: pointer; transition: all 0.2s; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ly-pill:hover { border-color: #0093E9; color: #00769D; background: #F0F9FF; transform: translateY(-1px); }
.ly-input-area { display: flex; gap: 12px; align-items: center; }
.ly-input-area input { flex: 1; padding: 14px 20px; border: 1px solid #E5E7EB; border-radius: 8px; font-size: 15px; outline: none; height: 44px; transition: 0.2s; color: #333; }
.ly-input-area input:focus { border-color: #0093E9; box-shadow: 0 0 0 3px rgba(0, 147, 233, 0.1); }
.ly-input-area button { width: 60px; height: 44px; border: none; border-radius: 8px; background: linear-gradient(135deg, #6DD5FA 0%, #0093E9 100%); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.1s; flex-shrink: 0; }
.ly-input-area button:hover { opacity: 0.9; transform: scale(1.05); }
.ly-input-area button svg { width: 20px; height: 17px; margin-left: -2px; }