/* v3.7.0 · 로이주 AI 상담 챗봇 (오른쪽 아래) */
#rjcb{--cb-p:#FF3D8E;--cb-v:#8B5CF6;--cb-n:#0E1A3A;--cb-m:#6B7290;--cb-l:#ECEDF3;position:fixed;right:22px;bottom:22px;z-index:9990;font-family:Pretendard,"Pretendard Variable",-apple-system,BlinkMacSystemFont,"Noto Sans KR","Noto Sans JP","Noto Sans",sans-serif;font-size:15px;line-height:1.55;color:var(--cb-n);-webkit-font-smoothing:antialiased}
#rjcb *,#rjcb *:before,#rjcb *:after{box-sizing:border-box}
#rjcb button{font:inherit;cursor:pointer}
#rjcb .cb-av{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;flex:none;color:#fff;background:linear-gradient(135deg,var(--cb-p),var(--cb-v));position:relative;box-shadow:0 6px 16px -6px rgba(139,92,246,.6)}
#rjcb .cb-av.sm{width:34px;height:34px}#rjcb .cb-av.sm svg{width:19px;height:19px}
#rjcb .cb-av.xs{width:28px;height:28px;box-shadow:none}#rjcb .cb-av.xs svg{width:16px;height:16px}
#rjcb .cb-on{position:absolute;width:12px;height:12px;border-radius:50%;background:#22C55E;border:2.5px solid #fff}
/* 버튼 */
#rjcb .cb-fab{position:relative;display:flex;align-items:center;gap:10px;border:0;padding:7px 18px 7px 7px;border-radius:999px;background:#fff;color:var(--cb-n);box-shadow:0 18px 40px -14px rgba(14,26,58,.45),0 0 0 1px rgba(14,26,58,.06);transition:transform .25s cubic-bezier(.2,.9,.3,1.2),box-shadow .25s}
#rjcb .cb-fab:hover{transform:translateY(-3px);box-shadow:0 24px 48px -16px rgba(255,61,142,.55),0 0 0 1px rgba(255,61,142,.25)}
#rjcb .cb-fab .cb-av{width:48px;height:48px}
#rjcb .cb-fab .cb-on{left:42px;top:5px}
#rjcb .cb-lb{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;text-align:left}
#rjcb .cb-lb b{font-size:15.5px;font-weight:800;letter-spacing:-.01em}
#rjcb .cb-lb small{font-size:11.5px;font-weight:600;color:var(--cb-p);margin-top:2px}
#rjcb .cb-ring{position:absolute;left:7px;top:7px;width:48px;height:48px;border-radius:50%;pointer-events:none;box-shadow:0 0 0 0 rgba(255,61,142,.55);animation:cbRing 2.2s ease-out infinite}
@keyframes cbRing{0%{box-shadow:0 0 0 0 rgba(255,61,142,.5)}80%,100%{box-shadow:0 0 0 18px rgba(255,61,142,0)}}
#rjcb.open .cb-ring{display:none}
#rjcb.open .cb-fab .cb-lb{display:none}#rjcb.open .cb-fab{padding:7px}
/* 말풍선 알림 */
#rjcb .cb-tease{position:absolute;right:0;bottom:76px;width:264px;display:flex;gap:10px;align-items:flex-start;background:#fff;border-radius:18px 18px 4px 18px;padding:14px 30px 14px 14px;box-shadow:0 22px 50px -18px rgba(14,26,58,.45),0 0 0 1px rgba(14,26,58,.06);cursor:pointer;animation:cbPop .45s cubic-bezier(.2,.9,.3,1.25) both}
#rjcb .cb-tease[hidden]{display:none}
#rjcb .cb-tease p{margin:0;font-size:14px;font-weight:600;line-height:1.45}
#rjcb .cb-tx{position:absolute;right:6px;top:4px;border:0;background:none;color:var(--cb-m);font-size:18px;line-height:1;padding:4px 6px}
@keyframes cbPop{from{opacity:0;transform:translateY(10px) scale(.92)}to{opacity:1;transform:none}}
/* 창 */
#rjcb .cb-pan{position:absolute;right:0;bottom:78px;width:392px;height:min(640px,calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 30px 80px -24px rgba(14,26,58,.5),0 0 0 1px rgba(14,26,58,.07);transform-origin:calc(100% - 30px) 100%;opacity:0;transform:translateY(12px) scale(.96);transition:opacity .22s,transform .25s cubic-bezier(.2,.9,.3,1.1)}
#rjcb.open .cb-pan{opacity:1;transform:none}
#rjcb .cb-pan[hidden]{display:none}
#rjcb header{display:flex;align-items:center;gap:11px;padding:14px 12px 14px 16px;background:linear-gradient(120deg,#FF3D8E,#A855F7 60%,#7C3AED);color:#fff}
#rjcb header .cb-av{background:rgba(255,255,255,.2);box-shadow:none;width:42px;height:42px}
#rjcb header .cb-on{right:-1px;bottom:-1px}
#rjcb .cb-ti{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
#rjcb .cb-ti b{font-size:16px;font-weight:800}
#rjcb .cb-ti small{font-size:12px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#rjcb .cb-hb{width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;display:grid;place-items:center;flex:none}
#rjcb .cb-hb:hover{background:rgba(255,255,255,.26)}
#rjcb .cb-log{flex:1;overflow-y:auto;padding:16px 14px 8px;background:#F7F7FB;overscroll-behavior:contain}
#rjcb .cb-m{display:flex;gap:8px;margin:0 0 12px;align-items:flex-end}
#rjcb .cb-m.me{justify-content:flex-end}
#rjcb .cb-b{max-width:84%;padding:10px 14px;border-radius:18px;font-size:14.5px;line-height:1.6;word-break:break-word;animation:cbPop .3s ease both}
#rjcb .cb-m.ai .cb-b{background:#fff;border:1px solid var(--cb-l);border-bottom-left-radius:6px}
#rjcb .cb-m.me .cb-b{background:linear-gradient(135deg,#FF3D8E,#C04CF0);color:#fff;border-bottom-right-radius:6px}
#rjcb .cb-m.err .cb-b{background:#FFF6F8;border-color:#FFD3E1}
#rjcb .cb-b a{color:#D6246E;font-weight:700;text-decoration:underline;text-underline-offset:2px}
#rjcb .cb-m.me .cb-b a{color:#fff}
#rjcb .cb-acts{margin-top:10px}
#rjcb .cb-inqb{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:var(--cb-n);color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700}
#rjcb .cb-chips{display:flex;flex-wrap:wrap;gap:6px;margin:-2px 0 14px 36px}
#rjcb .cb-chips button{border:1.5px solid #F4C2D8;background:#fff;color:#C2185B;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;transition:background .15s,border-color .15s}
#rjcb .cb-chips button:hover{background:#FFF0F6;border-color:var(--cb-p)}
#rjcb .cb-dots{display:inline-flex;gap:4px;margin-right:8px;vertical-align:middle}
#rjcb .cb-dots i{width:7px;height:7px;border-radius:50%;background:#C9A2F5;animation:cbDot 1.1s infinite ease-in-out}
#rjcb .cb-dots i:nth-child(2){animation-delay:.15s}#rjcb .cb-dots i:nth-child(3){animation-delay:.3s}
@keyframes cbDot{0%,80%,100%{transform:translateY(0);opacity:.5}40%{transform:translateY(-5px);opacity:1}}
#rjcb .cb-tw{font-size:13px;color:var(--cb-m)}
#rjcb .cb-in{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 8px;border-top:1px solid var(--cb-l);background:#fff}
#rjcb .cb-in textarea{flex:1;resize:none;border:1.5px solid #E3E5EE;border-radius:14px;padding:10px 13px;font:inherit;font-size:15px;line-height:1.45;max-height:120px;outline:none;color:var(--cb-n);background:#fff;transition:border-color .15s,box-shadow .15s}
#rjcb .cb-in textarea:focus{border-color:var(--cb-p);box-shadow:0 0 0 4px rgba(255,61,142,.1)}
#rjcb .cb-in button{width:44px;height:44px;border:0;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#FF3D8E,#8B5CF6);flex:none}
#rjcb.busy .cb-in button{opacity:.5;pointer-events:none}
#rjcb .cb-inq{display:flex;align-items:center;justify-content:center;gap:6px;padding:4px 0 12px;font-size:12.5px;font-weight:700;color:var(--cb-m);text-decoration:none;background:#fff}
#rjcb .cb-inq:hover{color:var(--cb-p)}
@media(max-width:560px){
  #rjcb{right:14px;bottom:14px}
  #rjcb .cb-fab{padding:6px 14px 6px 6px}#rjcb .cb-fab .cb-av,#rjcb .cb-ring{width:44px;height:44px}#rjcb .cb-ring{left:6px;top:6px}#rjcb .cb-fab .cb-on{left:38px}
  #rjcb .cb-lb b{font-size:14px}
  #rjcb .cb-pan{position:fixed;left:0;right:0;bottom:0;top:auto;width:100%;height:min(88vh,100%);height:min(88dvh,100%);border-radius:22px 22px 0 0;transform-origin:50% 100%}
  #rjcb.open .cb-fab{display:none}
  #rjcb .cb-tease{bottom:70px;width:240px}
  #rjcb .cb-in textarea{font-size:16px}
}
@media print{#rjcb{display:none}}
/* v3.7.2 · 버튼 크게 · 말풍선 + 반짝이 아이콘 */
#rjcb .cb-fab{gap:12px;padding:8px 24px 8px 8px}
#rjcb .cb-fab .cb-av.cb-fav{width:62px;height:62px;background:linear-gradient(140deg,#FF3D8E 0%,#C04CF0 55%,#7C3AED 100%);box-shadow:0 10px 24px -8px rgba(192,76,240,.7),inset 0 0 0 2px rgba(255,255,255,.18)}
#rjcb .cb-fab .cb-fav svg{width:36px;height:36px;filter:drop-shadow(0 2px 3px rgba(80,0,90,.25));animation:cbBob 3.2s ease-in-out infinite}
@keyframes cbBob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-2px) rotate(-4deg)}}
#rjcb .cb-ring{left:8px;top:8px;width:62px;height:62px}
#rjcb .cb-fab .cb-on{left:56px;top:7px;width:14px;height:14px}
#rjcb .cb-lb b{font-size:18px}
#rjcb .cb-lb small{font-size:12.5px;margin-top:3px}
#rjcb .cb-tease{bottom:94px}
#rjcb .cb-pan{bottom:96px}
@media(max-width:560px){
  #rjcb .cb-fab{padding:6px 18px 6px 6px;gap:10px}
  #rjcb .cb-fab .cb-av.cb-fav,#rjcb .cb-ring{width:54px;height:54px}#rjcb .cb-ring{left:6px;top:6px}
  #rjcb .cb-fab .cb-fav svg{width:31px;height:31px}
  #rjcb .cb-fab .cb-on{left:48px;top:5px}
  #rjcb .cb-lb b{font-size:16px}#rjcb .cb-lb small{font-size:11.5px}
  #rjcb .cb-tease{bottom:80px}
}
#rjcb .cb-tease .cb-fav svg{width:24px;height:24px}
#rjcb header .cb-fav svg{width:28px;height:28px}
