/* ★ 2026-11-06 관리자 도움말 채팅 위젯 (fragments/help_chat.html + assets/js/pages/comm/help_chat.js)
 *  사용자 승인 신규 CSS(CLAUDE.md 규칙 3 — 3안 중 '위젯 전체를 새 CSS로').
 *  모양은 사용자가 보낸 상담 위젯 스크린샷(홈·대화·설정·대화방) 구성을 따른다. 상표·색은 무용연 것만.
 *  모든 규칙은 .help-chat 아래에만 건다. ⚠️ 관리자 전역 nav{flex-direction:column} 등이 있어 nav 태그는 쓰지 않는다.
 *  색은 styles.css 값: 주황 #F58233(진하게 #D36A29, 옅게 #FEF8F5·#FDE6D6),
 *  글자 #22211F·#343130·#696461·#A39E9D, 선·배경 #DEDCDB·#EDEDEC·#F2F2F1·#F7F7F7, 빨강 #ff2056, 초록 #00C951.
 *  body 가 font-size 62.5%(10px)라 글자 크기는 px 로 고정한다. styles.css 의 img{width:100%} 도 여기서 되돌린다.
 *  애니메이션: 패널 열기/닫기, 탭 전환, 대화방 들어가기/나오기, 새 메시지, 챗봇 버튼, 떠 있는 버튼 아이콘.
 *  (prefers-reduced-motion 이면 모두 끈다)
 */
.help-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9000; /* kendo 알림창(10000+)보다 아래 */
  font-family: "Pretendard Variable", pretendard, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #22211F;
  --hc-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.help-chat *,
.help-chat *::before,
.help-chat *::after { box-sizing: border-box; }
.help-chat [hidden] { display: none !important; }
.help-chat p { margin: 0; }
/* 관리자 전역 리셋이 div·span·p 등에 글자색(#343130)을 직접 건다 → 위젯 안에서는 부모 색을 따른다 */
.help-chat :where(div, span, p, a, b, strong, label, em, i) { color: inherit; }
.help-chat button { cursor: pointer; font-family: inherit; color: inherit; background: none; }
.help-chat button:disabled { cursor: default; }
.help-chat img { width: auto; max-width: none; }

/* ── 떠 있는 버튼: 닫혀 있으면 주황 말풍선, 열리면 흰 ✕ ── */
.help-chat .help-chat-fab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-left: auto;
  border-radius: 50%;
  background: #F58233;
  color: #fff;
  box-shadow: 0 6px 20px rgba(52, 49, 48, 0.24);
  transition: transform 0.2s var(--hc-ease), background-color 0.2s ease, color 0.2s ease;
}
.help-chat .help-chat-fab:hover { background: #D36A29; }
.help-chat .help-chat-fab:active { transform: scale(0.94); }
.help-chat .help-chat-fab svg {
  position: absolute;
  width: 28px;
  height: 28px;
  transition: transform 0.25s var(--hc-ease), opacity 0.2s ease;
}
.help-chat .help-chat-fab-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.help-chat.is-open .help-chat-fab { background: #fff; color: #343130; }
.help-chat.is-open .help-chat-fab:hover { background: #F7F7F7; }
.help-chat.is-open .help-chat-fab-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.help-chat.is-open .help-chat-fab-close { opacity: 1; transform: none; }
.help-chat .help-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 10px;
  background: #ff2056;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  animation: hc-pop 0.3s var(--hc-ease);
}
.help-chat.is-open .help-chat-badge { display: none; }

/* ── 패널 ── */
.help-chat .help-chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 680px;
  max-height: calc(100vh - 128px);
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 16px 56px rgba(52, 49, 48, 0.2), 0 2px 8px rgba(52, 49, 48, 0.06);
  transform-origin: bottom right;
  animation: hc-panel-in 0.28s var(--hc-ease);
}
.help-chat .help-chat-panel.is-closing { animation: hc-panel-out 0.18s ease-in forwards; }
.help-chat .help-chat-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  animation: hc-fade 0.22s ease;
}
.help-chat .help-chat-view[data-view="room"] { animation: hc-slide-in 0.28s var(--hc-ease); }
.help-chat .help-chat-view.is-back { animation: hc-slide-back 0.28s var(--hc-ease); }
.help-chat .help-chat-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 24px 24px;
}
.help-chat .help-chat-head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 16px 20px 8px 24px;
}
.help-chat .help-chat-head-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.help-chat .help-chat-head.is-big { padding-top: 28px; padding-bottom: 16px; }
.help-chat .help-chat-head.is-big .help-chat-head-title { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.help-chat .help-chat-icon-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #696461;
  transition: background-color 0.15s ease;
}
.help-chat .help-chat-icon-btn:hover { background: #F2F2F1; }
.help-chat .help-chat-icon-btn svg { width: 22px; height: 22px; }
/* 닫기는 떠 있는 ✕ 가 맡는다 — 전체 화면(좁은 화면)일 때만 머리에 보인다 */
.help-chat .help-chat-m-close { display: none; }

/* ── 홈: 회색 바탕 + 흰 카드 ── */
.help-chat .help-chat-view.is-home { background: #F7F7F7; }
.help-chat .help-chat-head.is-home { padding: 40px 24px 24px 40px; }
.help-chat .help-chat-brand { display: flex; flex: 1; align-items: center; gap: 20px; }
.help-chat .help-chat-brand img { width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 2px 8px rgba(52, 49, 48, 0.1); }
.help-chat .help-chat-brand span { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.help-chat .help-chat-card {
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(52, 49, 48, 0.04);
  animation: hc-rise 0.32s var(--hc-ease) both;
}
.help-chat .help-chat-card + .help-chat-card { animation-delay: 0.05s; }
.help-chat .help-chat-recent { margin-bottom: 18px; padding: 0 !important; border: 0 !important; }
.help-chat .help-chat-recent:hover { background: none !important; }
.help-chat .help-chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 8px 8px 22px;
  border-radius: 26px;
  background: #F2F2F1;
  transition: box-shadow 0.15s ease, background-color 0.15s ease;
}
.help-chat .help-chat-input-row:focus-within { background: #fff; box-shadow: 0 0 0 2px #F58233 inset; }
.help-chat .help-chat-input-row textarea {
  flex: 1;
  min-height: 38px;
  max-height: 120px;
  padding: 8px 0;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  line-height: 1.4;
  color: #22211F;
}
.help-chat .help-chat-input-row textarea::placeholder { color: #A39E9D; }
.help-chat .help-chat-send {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F58233;
  color: #fff;
  transition: transform 0.15s var(--hc-ease), background-color 0.15s ease;
}
.help-chat .help-chat-send:hover { background: #D36A29; }
.help-chat .help-chat-send:active { transform: scale(0.9); }
.help-chat .help-chat-send:disabled { background: #DEDCDB; }
.help-chat .help-chat-send svg { width: 18px; height: 18px; }

/* 상태줄(입력칸 아래 가운데) */
.help-chat .help-chat-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  color: #A39E9D;
}
.help-chat .help-chat-status::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00C951;
}
.help-chat .help-chat-status.is-warn::before { background: #F5B731; }
.help-chat .help-chat-status.is-off::before { background: #A39E9D; }

/* 안 읽은 알림 카드 */
.help-chat .help-chat-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #A39E9D;
}
.help-chat .help-chat-link { padding: 0; font-size: 15px; font-weight: 700; color: #343130; }
.help-chat .help-chat-link:hover { color: #F58233; }
.help-chat .help-chat-notice + .help-chat-notice { margin-top: 18px; padding-top: 18px; border-top: 1px solid #F2F2F1; }
.help-chat .help-chat-notice-row { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-right: 16px; }
.help-chat .help-chat-notice-txt { flex: 1; min-width: 0; }
.help-chat .help-chat-notice-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; font-size: 15px; }
.help-chat .help-chat-notice-meta span { font-size: 13px; color: #A39E9D; }
.help-chat .help-chat-notice-tit { font-size: 17px; font-weight: 700; line-height: 1.4; }
.help-chat .help-chat-notice-body {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  font-size: 15px;
  color: #343130;
  white-space: pre-wrap;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.help-chat .help-chat-notice-img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.help-chat .help-chat-notice-row > .help-chat-dot { position: absolute; top: 18px; right: 0; }
.help-chat .help-chat-notice-btn {
  display: block;
  margin-top: 14px;
  padding: 14px 0;
  border-radius: 14px;
  background: #FEF8F5;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: #D36A29;
  transition: background-color 0.15s ease;
}
.help-chat .help-chat-notice-btn:hover { background: #FDE6D6; }
.help-chat .help-chat-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2056;
}
.help-chat .help-chat-empty { margin: 24px 0; font-size: 14px; text-align: center; color: #A39E9D; }

/* ── 대화 목록 ── */
.help-chat .help-chat-alert-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 16px 22px;
  border-radius: 14px;
  background: #F2F2F1;
  font-size: 15px;
  color: #A39E9D;
}
.help-chat .help-chat-alert-line > .help-chat-dot { display: none; }
.help-chat .help-chat-alert-line span { flex: 1; }
.help-chat .help-chat-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.help-chat .help-chat-filter {
  padding: 7px 14px;
  border: 1px solid #DEDCDB;
  border-radius: 18px;
  background: #fff;
  font-size: 13px;
  color: #696461;
  transition: all 0.15s ease;
}
.help-chat .help-chat-filter.is-on { border-color: #22211F; background: #22211F; color: #fff; }
.help-chat .help-chat-avatar { flex-shrink: 0; width: 48px; height: 48px; border: 1px solid #EDEDEC; border-radius: 50%; object-fit: cover; background: #fff; }
.help-chat .help-chat-room {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: calc(100% + 24px);
  margin: 0 -12px;
  padding: 14px 12px;
  border-radius: 18px;
  text-align: left;
  transition: background-color 0.15s ease;
  animation: hc-rise 0.28s var(--hc-ease) both;
}
.help-chat .help-chat-room:nth-child(2) { animation-delay: 0.03s; }
.help-chat .help-chat-room:nth-child(3) { animation-delay: 0.06s; }
.help-chat .help-chat-room:nth-child(n+4) { animation-delay: 0.09s; }
.help-chat .help-chat-room:hover { background: #F2F2F1; }
.help-chat .help-chat-room-body { flex: 1; min-width: 0; }
.help-chat .help-chat-room-top { display: flex; align-items: baseline; gap: 8px; }
.help-chat .help-chat-room-tit { min-width: 0; overflow: hidden; font-size: 16px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.help-chat .help-chat-room-time { flex-shrink: 0; font-size: 13px; color: #A39E9D; }
.help-chat .help-chat-room-sub {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  font-size: 15px;
  color: #343130;
  word-break: break-all;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.help-chat .help-chat-room > .help-chat-dot { align-self: center; margin-left: 4px; }
.help-chat .help-chat-state {
  flex-shrink: 0;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
}
.help-chat .help-chat-state.is-WAITING { background: #FDE6D6; color: #D36A29; }
.help-chat .help-chat-state.is-OPEN { background: #F2F2F1; color: #343130; }
.help-chat .help-chat-state.is-CLOSED { background: #F7F7F7; color: #A39E9D; }
/* '새 문의하기' — 목록 위에 떠 있는 알약 버튼 */
.help-chat .help-chat-foot { position: relative; flex-shrink: 0; height: 0; }
.help-chat .help-chat-primary {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 26px;
  border-radius: 18px;
  background: #FEF8F5;
  box-shadow: 0 4px 16px rgba(52, 49, 48, 0.12);
  font-size: 17px;
  font-weight: 700;
  color: #22211F;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: transform 0.15s var(--hc-ease), background-color 0.15s ease;
  animation: hc-pill-in 0.32s var(--hc-ease) both;
}
.help-chat .help-chat-primary:hover { background: #FDE6D6; }
.help-chat .help-chat-primary:active { transform: translateX(-50%) scale(0.96); }
.help-chat .help-chat-primary svg { width: 22px; height: 22px; transform: rotate(-30deg); }
.help-chat .help-chat-view[data-view="list"] .help-chat-scroll { padding-bottom: 96px; }

/* ── 대화방 ── */
.help-chat .help-chat-head.is-room { min-height: 72px; padding: 14px 16px 10px 12px; }
.help-chat .help-chat-room-brand { display: flex; align-items: center; gap: 12px; font-size: 19px; }
.help-chat .help-chat-room-brand img { width: 36px; height: 36px; border-radius: 50%; }
.help-chat .help-chat-more { position: relative; }
.help-chat .help-chat-more-menu {
  position: absolute;
  top: 44px;
  right: 0;
  z-index: 2;
  min-width: 136px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(52, 49, 48, 0.18);
  transform-origin: top right;
  animation: hc-pop 0.18s var(--hc-ease);
}
.help-chat .help-chat-more-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  text-align: left;
}
.help-chat .help-chat-more-menu button:hover { background: #F2F2F1; }
.help-chat .help-chat-msgs { padding-top: 12px; }
.help-chat .help-chat-day { margin: 4px 0 16px; font-size: 12px; text-align: center; color: #A39E9D; }
.help-chat .help-chat-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 28px;
  animation: hc-msg-in 0.3s var(--hc-ease) both;
}
.help-chat .help-chat-msg.is-mine { align-items: flex-end; animation-name: hc-msg-in-mine; }
/* 상대 글(챗봇·운영자·문의자) — 말풍선 없이 본문 + 아래 '로고 이름, 시간' */
.help-chat .help-chat-bubble {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.help-chat .help-chat-msg.is-ADMIN:not(.is-mine) .help-chat-bubble {
  padding: 12px 16px;
  border-radius: 4px 20px 20px 20px;
  background: #FEF8F5;
}
.help-chat .help-chat-msg.is-mine .help-chat-bubble {
  max-width: 82%;
  padding: 12px 20px;
  border-radius: 22px;
  background: #F2F2F1;
}
.help-chat .help-chat-msg-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: #A39E9D; }
.help-chat .help-chat-msg-meta .help-chat-avatar { width: 22px; height: 22px; }

/* 챗봇 버튼 — 오른쪽 정렬 흰 알약, 하나씩 떠오른다 */
.help-chat .help-chat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 8px 0 20px;
}
.help-chat .help-chat-chip {
  padding: 12px 22px;
  border: 1px solid #EDEDEC;
  border-radius: 24px;
  background: #fff;
  font-size: 16px;
  color: #343130;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s var(--hc-ease), opacity 0.2s ease;
  animation: hc-chip-in 0.3s var(--hc-ease) both;
}
.help-chat .help-chat-chip:nth-child(2) { animation-delay: 0.03s; }
.help-chat .help-chat-chip:nth-child(3) { animation-delay: 0.06s; }
.help-chat .help-chat-chip:nth-child(4) { animation-delay: 0.09s; }
.help-chat .help-chat-chip:nth-child(5) { animation-delay: 0.12s; }
.help-chat .help-chat-chip:nth-child(n+6) { animation-delay: 0.15s; }
.help-chat .help-chat-chip:hover { border-color: #DEDCDB; background: #F7F7F7; }
.help-chat .help-chat-chip:active { transform: scale(0.96); }
.help-chat .help-chat-chip:disabled { opacity: 0.45; }
.help-chat .help-chat-room-status { margin: 0; padding: 10px 24px; border-top: 1px solid #F2F2F1; }
.help-chat .help-chat-composer { flex-shrink: 0; padding: 10px 20px 20px; }

/* ── 설정 ── */
.help-chat .help-chat-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 28px;
  border-bottom: 1px solid #EDEDEC;
  animation: hc-rise 0.3s var(--hc-ease) both;
}
.help-chat .help-chat-profile img { width: 80px; height: 80px; border-radius: 26px; object-fit: cover; background: #F2F2F1; }
.help-chat .help-chat-profile-name { margin-top: 14px; font-size: 22px; font-weight: 800; }
.help-chat .help-chat-profile-sub { margin-top: 4px; font-size: 15px; color: #A39E9D; }
.help-chat .help-chat-profile-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #F2F2F1;
  font-size: 14px;
  font-weight: 600;
  color: #343130;
}
.help-chat .help-chat-profile-edit:hover { background: #EDEDEC; }
.help-chat .help-chat-profile-edit svg { width: 16px; height: 16px; }
.help-chat .help-chat-set-sec { margin: 24px 0 6px; font-size: 14px; font-weight: 700; color: #A39E9D; }
.help-chat .help-chat-set-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 17px;
  color: #22211F;
}
.help-chat .help-chat-set-row > svg { flex-shrink: 0; width: 26px; height: 26px; color: #343130; }
.help-chat .help-chat-set-label { flex: 1; min-width: 0; }
.help-chat .help-chat-set-desc { display: block; margin-top: 2px; font-size: 13px; color: #A39E9D; }
.help-chat .help-chat-set-arrow { font-size: 22px; color: #A39E9D; }
.help-chat .help-chat-switch {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 34px;
  border-radius: 17px;
  background: #EDEDEC;
  transition: background-color 0.2s ease;
}
.help-chat .help-chat-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(52, 49, 48, 0.24);
  transition: transform 0.22s var(--hc-ease);
}
.help-chat .help-chat-switch[aria-checked="true"] { background: #F58233; }
.help-chat .help-chat-switch[aria-checked="true"]::after { transform: translateX(22px); }
.help-chat a.help-chat-set-row { color: inherit; border-radius: 12px; transition: background-color 0.15s ease; }
.help-chat a.help-chat-set-row:hover { background: #F7F7F7; }

/* ── 하단 탭바 ── */
.help-chat .help-chat-tabbar {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  flex-shrink: 0;
  background: #F7F7F7;
}
.help-chat .help-chat-tab {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: #A39E9D;
  transition: color 0.15s ease;
}
.help-chat .help-chat-tab svg { width: 28px; height: 28px; transition: transform 0.2s var(--hc-ease); }
.help-chat .help-chat-tab:active svg { transform: scale(0.88); }
.help-chat .help-chat-tab.is-on { color: #22211F; font-weight: 700; }
.help-chat .help-chat-tab.is-on svg { fill: currentColor; stroke: #fff; animation: hc-pop 0.25s var(--hc-ease); }
.help-chat .help-chat-tab[data-tab="settings"].is-on svg { fill: none; stroke: currentColor; stroke-width: 2.6; }
.help-chat .help-chat-tab .help-chat-dot { position: absolute; top: 12px; left: calc(50% + 10px); }

/* ── 좁은 화면: 전체 화면 ── */
@media (max-width: 600px) {
  .help-chat { right: 16px; bottom: 16px; }
  .help-chat.is-open .help-chat-fab { display: none; }
  .help-chat .help-chat-m-close { display: flex; }
  .help-chat .help-chat-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}

/* ── 애니메이션 ── */
@keyframes hc-panel-in { from { opacity: 0; transform: translateY(16px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes hc-panel-out { to { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes hc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hc-slide-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes hc-slide-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes hc-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hc-msg-in { from { opacity: 0; transform: translate(-8px, 8px); } to { opacity: 1; transform: none; } }
@keyframes hc-msg-in-mine { from { opacity: 0; transform: translate(8px, 8px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes hc-chip-in { from { opacity: 0; transform: translateY(8px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes hc-pill-in { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes hc-pop { 0% { transform: scale(0.7); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .help-chat *,
  .help-chat *::before,
  .help-chat *::after { animation: none !important; transition: none !important; }
}

/* 홈 카드 안 최근 대화 한 줄은 목록 행의 바깥 여백·떠오름을 쓰지 않는다 */
.help-chat .help-chat-room.help-chat-recent { width: 100%; margin: 0 0 18px; animation: none; }
