.livechat { display: flex; flex-direction: column; min-width: 0; }
.chat-log { list-style: none; margin: 0; padding: 6px 6px 14px; height: 430px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; }
.chat-log li { flex: none; max-width: 86%; align-self: flex-start; padding: 13px 22px; border-radius: 28px 28px 28px 8px; font-weight: 800; font-size: clamp(1rem, 2vw, 1.3rem); overflow-wrap: anywhere; background: linear-gradient(180deg,#fff,#dfe2ea); box-shadow: inset 0 3px 4px #fff, 0 8px 14px #24507538; animation: bubble-in .4s cubic-bezier(.3,1.7,.5,1); }
.chat-log li.me { align-self: flex-end; border-radius: 28px 28px 8px 28px; background: linear-gradient(180deg,#ffd0ec,#ff6fc0); }
.chat-log li.sent::after { content: "전송됨 ✓"; display: block; margin-top: 2px; font-size: .7rem; font-weight: 700; text-align: right; opacity: .7; }
@keyframes bubble-in { from { opacity: 0; scale: .5; translate: 0 18px; } }
.chat-log li.typing { display: flex; gap: 6px; padding: 19px 22px; }
.typing i { width: 9px; height: 9px; border-radius: 50%; background: #7a8199; animation: typing-dot .9s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-dot { 50% { translate: 0 -6px; opacity: .35; } }
.chat-form { display: flex; gap: 10px; padding: 10px; border-radius: 99px; background: #fff; border: 2px solid #f78ac6; box-shadow: 0 0 0 4px #ffd3ec, 0 14px 26px #7a2a7a26; }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 18px; border: 0; background: transparent; font: inherit; font-size: 1rem; color: inherit; }
.chat-form input:focus { outline: none; }
.chat-form:focus-within { border-color: #e8147f; }
.chat-form button { flex: none; padding: 0 24px; border: 2px solid #fff; border-radius: 99px; color: #fff; font: inherit; font-weight: 800; cursor: pointer; background: linear-gradient(180deg,#ff8fd0,#e8147f); box-shadow: inset 0 3px 4px #ffffff90; }
.chat-form button:active { scale: .94; }
.chat-note { margin-top: 12px; font-size: .78rem; text-align: center; color: #6a3a5c; }
@media (max-width: 860px) { .chat-log { height: 360px; } .chat-form button { padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .chat-log li, .typing i { animation: none; } }

/* 한글 설명은 옛 고정폭 글꼴 대신 부드러운 글꼴로 (영문 라벨은 그대로) */
:root { --mono: Consolas, "Cascadia Mono", "Gowun Dodum", "Malgun Gothic", monospace; }
figcaption, .memo, .tagline, .chat-note { font-family: "Gowun Dodum", Pretendard, "Malgun Gothic", sans-serif; letter-spacing: 0; }
.why-grid figcaption { font-size: 1.02rem; font-weight: 400; }
.memo { font-size: .95rem; }
