/* cs.css — 고객지원 채팅 위젯. */
.cs-fab{position:fixed;right:22px;bottom:22px;width:56px;height:56px;border-radius:50%;z-index:90;
  background:linear-gradient(135deg,var(--acc),var(--acc2));color:#04130c;display:grid;place-items:center;
  box-shadow:0 8px 26px rgba(18,194,122,.4);transition:transform .18s}
.cs-fab:hover{transform:scale(1.06)}
.cs-fab.open{transform:scale(.9);opacity:.9}
.cs-fab svg{width:26px;height:26px}

.cs-panel{position:fixed;right:22px;bottom:88px;width:360px;max-width:calc(100vw - 28px);height:520px;max-height:calc(100vh - 120px);
  background:var(--panel);border:1px solid var(--line);border-radius:18px;z-index:91;display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 18px 60px rgba(0,0,0,.55);opacity:0;transform:translateY(12px) scale(.98);pointer-events:none;transition:.2s}
.cs-panel.show{opacity:1;transform:none;pointer-events:auto}
.cs-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);background:var(--bg2)}
.cs-title{display:flex;align-items:center;gap:8px;font-size:14px}
.cs-dot{width:8px;height:8px;border-radius:50%;background:var(--acc);box-shadow:0 0 8px var(--acc)}
.cs-x{margin-left:auto;color:var(--mut);font-size:16px;width:28px;height:28px;border-radius:8px}
.cs-x:hover{background:var(--panel2);color:var(--txt)}
.cs-list{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.cs-msg{max-width:82%;padding:10px 13px;border-radius:14px;font-size:13.5px;line-height:1.5;white-space:pre-wrap;word-break:break-word}
.cs-msg.bot{align-self:flex-start;background:var(--panel2);border:1px solid var(--line);border-bottom-left-radius:5px}
.cs-msg.me{align-self:flex-end;background:linear-gradient(135deg,var(--acc),var(--accd,#0a9a5e));color:#04130c;border-bottom-right-radius:5px}
.cs-typing{display:flex;gap:4px;align-items:center}
.cs-typing span{width:7px;height:7px;border-radius:50%;background:var(--mut);animation:csBlink 1.2s infinite}
.cs-typing span:nth-child(2){animation-delay:.2s}.cs-typing span:nth-child(3){animation-delay:.4s}
@keyframes csBlink{0%,60%,100%{opacity:.3}30%{opacity:1}}
.cs-input{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}
.cs-input input{flex:1;background:var(--panel2)}
.cs-send{width:42px;height:42px;flex:none;border-radius:11px;background:var(--acc);color:#04130c;display:grid;place-items:center}
.cs-send svg{width:19px;height:19px}
@media(max-width:520px){.cs-panel{right:10px;left:10px;width:auto;bottom:84px}.cs-fab{right:16px;bottom:16px}}
