
#gs-chatbot{position:fixed;right:18px;bottom:84px;z-index:80;font-family:inherit}
.gs-cb-launcher{width:56px;height:56px;border-radius:50%;border:1px solid var(--line,#e6e8ec);background:#fff;box-shadow:var(--shadow-h,0 8px 24px rgba(0,0,0,.08));display:grid;place-items:center;cursor:pointer}
.gs-cb-launcher img{width:40px;height:40px;border-radius:50%}
.gs-cb-panel{width:min(360px,calc(100vw - 24px));max-height:min(520px,70vh);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-h);display:none;flex-direction:column;overflow:hidden;margin-bottom:10px}
.gs-cb-panel.open{display:flex}
.gs-cb-h{padding:14px 16px;border-bottom:1px solid var(--line-2,#f0f1f4);display:flex;gap:10px;align-items:center}
.gs-cb-h strong{font-size:14.5px}
.gs-cb-h span{display:block;color:var(--muted);font-size:12px}
.gs-cb-body{padding:14px 16px;overflow:auto;display:flex;flex-direction:column;gap:10px}
.gs-cb-msg{background:var(--bg-soft,#f7f8fa);border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.55;max-width:95%}
.gs-cb-msg.me{align-self:flex-end;background:#e8f1ff}
.gs-cb-actions{display:flex;flex-direction:column;gap:8px;padding:0 16px 14px}
.gs-cb-actions button,.gs-cb-actions a.btn-like{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px;text-align:left;font-weight:600;font-size:13.5px;cursor:pointer;color:inherit;text-decoration:none}
.gs-cb-actions button:hover,.gs-cb-actions a.btn-like:hover{border-color:#3182F6;background:#f5f9ff}
.gs-cb-foot{padding:12px 16px 14px;border-top:1px solid var(--line-2);font-size:12.5px;color:var(--muted)}
.gs-cb-kakao{display:inline-flex;align-items:center;gap:6px;background:#FEE500;color:#191600;border-radius:8px;padding:8px 10px;font-weight:700;font-size:13px;text-decoration:none;margin-top:8px}
@media(max-width:640px){#gs-chatbot{right:12px;bottom:72px}}
@media(max-width:840px){#gs-chatbot{bottom:72px;right:12px}}
/* v3 */
.gs-cb-h{position:relative;padding-right:44px}.gs-cb-h img{border-radius:50%;object-fit:cover;object-position:top;background:#fff8e6}
.gs-cb-x{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:8px;background:transparent;font-size:22px;line-height:1;color:var(--muted);cursor:pointer}.gs-cb-x:hover{background:var(--bg-soft,#f2f4f6)}
.gs-cb-launcher img{object-fit:cover;object-position:top}
.gs-cb-actions .primary{background:#3182F6;border-color:#3182F6;color:#fff}.gs-cb-actions .primary:hover{background:#1b64da;color:#fff}
.gs-cb-actions .kakao{background:#FEE500;border-color:#FEE500;color:#191600}
.gs-cb-actions .ghost{background:transparent;border-style:dashed;color:var(--muted);font-weight:500}
.gs-cb-nl{display:flex;flex-direction:column;gap:8px;background:var(--bg-soft,#f7f8fa);border-radius:12px;padding:10px}
.gs-cb-nl input[type=email]{height:40px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:inherit;font-size:14px}
.gs-cb-nl label{font-size:12.5px;color:var(--ink-2);display:flex;gap:6px;align-items:flex-start}
.gs-cb-nl button{height:38px;border:0;border-radius:10px;background:#191f28;color:#fff;font-weight:700;cursor:pointer}
.gs-cb-mail a{color:var(--ink);font-weight:600}
@media(max-width:840px){#gs-chatbot.is-open .gs-cb-panel{position:fixed;left:8px;right:8px;bottom:8px;width:auto;max-height:calc(100dvh - 16px);margin:0;z-index:90}#gs-chatbot.is-open .gs-cb-launcher{display:none}}
/* live support (Telegram bridge) */
.gs-cb-launcher{position:relative}
.gs-cb-badge{position:absolute;top:-2px;right:-2px;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#e5484d;color:#fff;font-size:11.5px;font-weight:750;line-height:20px;text-align:center;box-shadow:0 0 0 2px #fff}
.gs-cb-actions button.live{display:flex;align-items:center;gap:8px;border-color:#cfe0fd;background:#f3f8ff;color:#1b4fb8}
.gs-cb-actions button.live.primary{background:#3182F6;border-color:#3182F6;color:#fff}
.gs-cb-actions button.live:not(.primary)::after{content:"";width:7px;height:7px;border-radius:50%;background:#16a34a;margin-left:auto;box-shadow:0 0 0 3px rgba(22,163,74,.15)}
.gs-cb-panel.is-live .gs-cb-h span::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#16a34a;margin-right:6px;vertical-align:1px}
.gs-cb-panel.is-live{max-height:min(600px,78vh)}
.gs-cb-panel.is-live .gs-cb-body{flex:1;min-height:150px}
.gs-cb-msg.owner{background:#fff;border:1px solid var(--line,#e6e8ec)}
.gs-cb-msg .who{display:block;font-size:11.5px;color:var(--gold-ink,#7a5517);font-weight:700;margin-bottom:2px}
.gs-cb-msg span{white-space:pre-wrap}
.gs-cb-msg time{display:block;font-size:11px;color:var(--muted);margin-top:4px;text-align:right}
.gs-cb-live{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.gs-cb-live:focus-within{border-color:#3182F6;box-shadow:0 0 0 3px rgba(49,130,246,.12)}
.gs-cb-live textarea{border:0;resize:none;font:inherit;font-size:14.5px;line-height:1.5;min-height:44px;max-height:140px;outline:none;padding:2px}
.gs-cb-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.gs-cb-em summary{cursor:pointer;font-size:12.5px;color:var(--ink-2);list-style:none;padding:2px 0}
.gs-cb-em summary::before{content:"✉ ";}
.gs-cb-em summary::-webkit-details-marker{display:none}
.gs-cb-em input{width:100%;height:40px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:inherit;font-size:14px;margin-top:6px}
.gs-cb-em small{display:block;color:var(--muted);font-size:11.5px;margin-top:4px}
.gs-cb-row{display:flex;align-items:center;gap:10px}
.gs-cb-note{flex:1;margin:0;font-size:12px;color:var(--muted);line-height:1.4}.gs-cb-note.err{color:#c2413b}
.gs-cb-live button[type=submit]{flex:none;min-width:84px;min-height:40px;text-align:center;border-radius:10px;font-weight:700}
.gs-cb-live button[aria-busy=true]{opacity:.7}
.gs-cb-foot .gs-cb-kakao{background:transparent;color:var(--muted);padding:0;font-weight:600;font-size:12px;margin-top:6px;text-decoration:underline;text-underline-offset:2px}
html:not([lang="ko"]) .gs-cb-kakao, html[class*="translated-"] .gs-cb-kakao{display:none !important}

/* 2026-10-15: standard support icon launcher (no photo) + i18n tooltip */
#gs-chatbot .gs-cb-launcher{background:#3182F6;border:0;color:#fff;box-shadow:0 8px 22px -6px rgba(49,130,246,.55),0 2px 6px rgba(16,24,40,.12);transition:transform .18s ease,box-shadow .18s ease}
#gs-chatbot .gs-cb-launcher:hover{transform:translateY(-2px);box-shadow:0 12px 26px -6px rgba(49,130,246,.6),0 2px 6px rgba(16,24,40,.12)}
#gs-chatbot .gs-cb-launcher:focus-visible{outline:3px solid rgba(49,130,246,.35);outline-offset:3px}
#gs-chatbot .gs-cb-ico{width:28px;height:28px;display:block}
#gs-chatbot .gs-cb-tip{position:absolute;right:calc(100% + 12px);bottom:12px;white-space:nowrap;background:#191f28;color:#fff;font-size:13px;font-weight:600;padding:8px 12px;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.18);opacity:0;transform:translateX(6px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
#gs-chatbot .gs-cb-tip:after{content:"";position:absolute;right:-5px;top:50%;margin-top:-5px;border:5px solid transparent;border-right:0;border-left-color:#191f28}
@media (hover:hover){#gs-chatbot:not(.is-open) .gs-cb-launcher:hover~.gs-cb-tip{opacity:1;transform:none}}
#gs-chatbot.tip-on:not(.is-open) .gs-cb-tip{opacity:1;transform:none}
#gs-chatbot.is-open .gs-cb-tip{display:none}
@media (max-width:840px){#gs-chatbot .gs-cb-launcher{width:52px;height:52px}#gs-chatbot .gs-cb-ico{width:26px;height:26px}#gs-chatbot .gs-cb-tip{bottom:10px}}
@media (prefers-reduced-motion:reduce){#gs-chatbot .gs-cb-launcher,#gs-chatbot .gs-cb-tip{transition:none}}

/* 2026-10-16 gold G avatar: centred, no status dot inside it (dot stays in the subtitle line only) */
.gs-cb-h .gs-cb-gav{display:inline-flex!important;align-items:center;justify-content:center;text-align:center;padding:0;line-height:1}
.gs-cb-h .gs-cb-gav::before,.gs-cb-panel.is-live .gs-cb-h .gs-cb-gav::before{content:none!important;display:none!important}
.gs-cb-panel.is-live .gs-cb-h div span::before{margin-right:0!important;margin-inline-end:6px}

/* 2026-10-16 always-on green dot right after the title (mirrors in RTL); none on subtitle */
.gs-cb-h div span::before,.gs-cb-panel.is-live .gs-cb-h div span::before{content:none!important;display:none!important}
.gs-cb-h strong::after{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 2px #fff;margin-inline-start:6px;vertical-align:1px}

/* 2026-10-18 compact quick menu: greeting + 6 buttons fit without scrolling on PC; actions scroll smoothly if space runs out (mobile) */
.gs-cb-panel:not(.is-live){max-height:min(560px,78vh)}
.gs-cb-panel:not(.is-live) .gs-cb-body{flex:1 1 auto;min-height:72px}
.gs-cb-actions{gap:6px;padding:0 14px 12px;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-behavior:smooth}
.gs-cb-actions button,.gs-cb-actions a.btn-like{padding:8px 12px;font-size:13px;line-height:1.38;letter-spacing:-.005em;flex:0 0 auto}

/* 2026-10-18 G-Forex Live Signal button: same look as live-chat button, never wraps */
.gs-cb-actions button.gs-cb-sig{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* animated chart icon reused from the hero "차트 패턴 PDF" button (.cta-av-n, keyframes gsNdraw/gsNhd in index.php), namespaced for the chatbot */
.gs-cb-sigav{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;border-radius:50%;background:#f3f6ef;box-shadow:0 0 0 1px #fff,0 0 0 2px #e3c766;margin-inline-end:-3px}
.gs-cb-sigav svg{width:13px;height:13px;fill:none;stroke:#16a34a;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gs-cb-sigav .gs-cb-nln{stroke-dasharray:1;stroke-dashoffset:0;animation:gsCbNdraw 2.5s ease-in-out infinite}
.gs-cb-sigav .gs-cb-nhd{animation:gsCbNhd 2.5s ease-in-out infinite}
@keyframes gsCbNdraw{0%{stroke-dashoffset:1}55%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:0;opacity:0}}
@keyframes gsCbNhd{0%,45%{opacity:0}55%,85%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.gs-cb-sigav .gs-cb-nln,.gs-cb-sigav .gs-cb-nhd{animation:none;stroke-dashoffset:0;opacity:1}}
/* 2026-10-18 footer: short "why" line on its own row (smaller), email below */
.gs-cb-mail .gs-cb-ft{display:block;font-size:11.5px;line-height:1.45;margin-bottom:2px;overflow-wrap:anywhere}
.gs-cb-mail a{font-size:12px}
/* 2026-10-18 header back button (live chat + answer views) */
.gs-cb-h .gs-cb-bk{display:none;flex:0 0 30px;width:30px;height:30px;margin-inline:-6px -2px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink,#191f28);cursor:pointer;align-items:center;justify-content:center}
.gs-cb-h .gs-cb-bk:hover,.gs-cb-h .gs-cb-bk:focus-visible{background:#f2f4f6;outline:none}
/* header back kept in code but not shown: footer back link is used instead (user choice) */
html[dir=rtl] .gs-cb-h .gs-cb-bk svg{transform:scaleX(-1)}
/* 2026-10-18 compaction round 2: tighter menu + footer, stronger greeting */
.gs-cb-actions{gap:5px}
.gs-cb-actions button,.gs-cb-actions a.btn-like{padding:7px 11px;font-size:12.5px;line-height:1.4;min-height:32px}
.gs-cb-actions button.live{gap:7px}
.gs-cb-foot{padding:8px 16px 9px;font-size:11px;line-height:1.35}
.gs-cb-mail .gs-cb-ft{font-size:11px;line-height:1.35;margin-bottom:1px}
.gs-cb-mail a{font-size:11.5px}
.gs-cb-foot .gs-cb-kakao{font-size:11px;margin-top:3px;gap:5px}
.gs-cb-foot .gs-cb-kakao .gs-cb-kkicon{width:12px!important;height:12px!important}
.gs-cb-panel:not(.is-live):not(.gs-sub) .gs-cb-body>.gs-cb-msg:first-child{font-size:14.5px;font-weight:500;color:#191f28;background:#eaf0f8;box-shadow:inset 0 0 0 1px #dbe4f0}
/* 2026-10-18 live chat layout: only the message list scrolls, composer fully visible, one compact footer row (back left, Kakao right KO-only) */
.gs-cb-panel.is-live{height:min(600px,78vh);height:min(600px,78dvh)}
.gs-cb-panel.is-live .gs-cb-h{flex:none}
.gs-cb-panel.is-live .gs-cb-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.gs-cb-panel.is-live .gs-cb-actions{flex:none;overflow:visible;max-height:none;min-height:0;padding:8px 12px 8px}
.gs-cb-panel.is-live .gs-cb-actions>button.ghost{display:none!important}
.gs-cb-panel.is-live .gs-cb-foot,.gs-cb-panel.gs-sub .gs-cb-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 14px 7px;font-size:11.5px;line-height:1.3}
.gs-cb-foot .gs-cb-fbk{background:none;border:0;padding:4px 2px;margin:0;font:inherit;font-size:12px;font-weight:600;color:var(--muted,#6b7684);cursor:pointer;white-space:nowrap;flex:none}
.gs-cb-foot .gs-cb-fbk:hover{color:var(--ink,#191f28);text-decoration:underline;text-underline-offset:2px}
.gs-cb-panel.is-live .gs-cb-foot .gs-cb-kakao,.gs-cb-panel.gs-sub .gs-cb-foot .gs-cb-kakao{margin:0;margin-inline-start:auto;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
@media(max-width:840px){#gs-chatbot.is-open .gs-cb-panel.is-live{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}}
.gs-cb-panel.gs-sub .gs-cb-actions>button.ghost{display:none!important}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions button.primary,.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions a.primary{padding:7px 12px;font-size:13px;min-height:34px}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions button.live{display:none!important}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions:empty,.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions:not(:has(>:not(.live):not(.ghost))){padding:0}
/* 2026-10-18 Q&A link button */
.gs-cb-actions a.gs-cb-qa{display:flex;align-items:center;gap:6px;white-space:nowrap;font:inherit;font-size:12.5px;font-weight:600;line-height:1.4;color:var(--ink,#191f28)}
.gs-cb-actions a.gs-cb-qa>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.gs-cb-actions a.gs-cb-qa .gs-cb-ext{margin-inline-start:auto;flex:none;font-size:11px;opacity:.45}
html[dir=rtl] .gs-cb-actions a.gs-cb-qa .gs-cb-ext{transform:scaleX(-1)}
/* 2026-10-18 live dots: glowing core + soft expanding ring (box-shadow only: no layout change, nothing to clip) */
.gs-cb-actions button.live:not(.primary)::after{background:#22c55e;box-shadow:0 0 6px rgba(34,197,94,.7);animation:gsCbDot 1.9s ease-out .55s infinite}
.gs-cb-actions button.live.gs-cb-sig::after{animation-delay:1.15s}
@keyframes gsCbDot{0%{box-shadow:0 0 6px rgba(34,197,94,.7),0 0 0 0 rgba(34,197,94,.55)}100%{box-shadow:0 0 6px rgba(34,197,94,.7),0 0 0 6px rgba(34,197,94,0)}}
@keyframes gsCbDotH{0%{box-shadow:0 0 0 2px #fff,0 0 6px rgba(34,197,94,.7),0 0 0 2px rgba(34,197,94,.55)}100%{box-shadow:0 0 0 2px #fff,0 0 6px rgba(34,197,94,.7),0 0 0 8px rgba(34,197,94,0)}}
@media (prefers-reduced-motion:reduce){.gs-cb-actions button.live:not(.primary)::after{animation:none}}
/* 2026-10-18 optimistic send status */
.gs-cb-msg .gs-cb-st{display:block;text-align:right;font-size:10.5px;line-height:1.2;margin-top:3px;color:var(--muted,#8b95a1);opacity:.85}
.gs-cb-msg .gs-cb-st.ok{color:#16a34a}
.gs-cb-msg .gs-cb-st.bad{opacity:1}
.gs-cb-msg.gs-cb-pend>span{opacity:.75}
.gs-cb-retry{background:none;border:0;padding:0;font:inherit;font-size:11px;font-weight:700;color:#e5484d;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
/* 2026-10-18 first-line indent for multi-line answer paragraphs (class set by JS only when a block wraps) */
html[lang="ko"] .gs-cb-panel.gs-sub:not(.is-live) .gs-ind{text-indent:1em}
/* 2026-10-18 header: no online dot next to the name (badge stays) */
.gs-cb-h strong::after{content:none!important;display:none!important}
/* chart icon: keep the green line visible most of the cycle */
.gs-cb-sigav svg{stroke-width:2.4}
@keyframes gsCbNdraw{0%{stroke-dashoffset:1;opacity:1}40%,92%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes gsCbNhd{0%,35%{opacity:0}45%,92%{opacity:1}100%{opacity:0}}
/* 2026-10-18 typography: buttons inherit the site font (Pretendard) instead of the browser default, so all menu items match the Q&A link */
#gs-chatbot button,#gs-chatbot input,#gs-chatbot textarea{font-family:inherit}
.gs-cb-actions button,.gs-cb-actions a.btn-like{font-size:12.5px;font-weight:600;line-height:1.4;padding:7px 11px;min-height:34px;box-sizing:border-box}
/* in-answer action link (internal page) */
.gs-cb-actions a.gs-cb-oa{display:inline-flex;align-self:flex-start;align-items:center;border-color:#cfe0fd;background:#f3f8ff;color:#1b4fb8;white-space:nowrap}
.gs-cb-actions a.gs-cb-oa:hover{border-color:#3182F6;background:#eaf2ff}
/* 2026-10-18 menu footer: sentence (+ KO Kakao) only, email hidden */
.gs-cb-foot .gs-cb-mail>a{display:none!important}
.gs-cb-foot .gs-cb-mail .gs-cb-ft{margin-bottom:0}
.gs-cb-panel:not(.is-live):not(.gs-sub) .gs-cb-foot{padding:7px 16px 8px}
/* 2026-10-18 composer email + copy */
.gs-cb-rowl{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.gs-cb-cp{display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}
.gs-cb-cp a{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11.5px;font-weight:600;color:#4e5968;text-decoration:none}
.gs-cb-cp a:hover{text-decoration:underline}
.gs-cb-cp .gs-cb-cpb{flex:none;border:1px solid var(--line,#e5e8eb);background:#fff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;line-height:1.4;color:#4e5968;cursor:pointer;min-height:0}
.gs-cb-cp .gs-cb-cpb:hover{border-color:#3182F6;color:#1b4fb8}
.gs-cb-cp .gs-cb-cpb.ok{border-color:#16a34a;color:#15803d}
.gs-cb-rowl .gs-cb-note{flex:none;font-size:11px}
.gs-cb-rowl .gs-cb-note:empty{display:none}
/* 2026-10-18 alignment: one left/right edge (16px) for bubbles, buttons and action links; bot answer bubbles share full width; uniform gaps */
.gs-cb-panel:not(.is-live) .gs-cb-actions{padding-inline:16px}
.gs-cb-panel:not(.is-live) .gs-cb-body>.gs-cb-msg:not(.me){width:100%;max-width:100%;box-sizing:border-box;align-self:stretch}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-body{padding-bottom:10px}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions{gap:10px;padding-top:0}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions:not(:has(>:not([hidden]):not(.ghost):not(.live))){padding-bottom:0}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-body>.gs-cb-msg{border-radius:12px;padding:10px 12px}
/* in-answer action buttons: full-width rows like menu buttons */
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a,.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>button{display:flex;align-self:stretch;width:100%;box-sizing:border-box;justify-content:flex-start;text-align:start;font-size:12.5px}
/* signal-room join button: centered label + Telegram icon */
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a.gs-cb-tg{justify-content:center;align-items:center;gap:6px;text-align:center}
.gs-cb-tg .gs-cb-tgi{flex:none;width:15px;height:15px;display:block;border-radius:50%}
/* XM/Vantage explore: solid black, centered */
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a.gs-cb-oa{justify-content:center;text-align:center;background:#111;color:#fff;border:1px solid #111;transition:background .15s,transform .15s,box-shadow .15s}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a.gs-cb-oa:hover,.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a.gs-cb-oa:focus-visible{background:#000;border-color:#000;color:#fff;transform:translateY(-1px);box-shadow:0 4px 10px -4px rgba(0,0,0,.35)}

/* 2026-10-18 (그록 봇) '왜 좋나요' answer: gold "why" button above the black XM/Vantage button (same size/shape, 6px gap) */
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a.gs-cb-why{display:flex;justify-content:center;align-items:center;text-align:center;white-space:nowrap;cursor:pointer;color:#1a1406;font-weight:700;background:linear-gradient(135deg,#E2C275,#C9A24B 55%,#A67C2E);border:1px solid #A67C2E;box-shadow:inset 0 1px 0 rgba(255,255,255,.45);text-decoration:none;margin-bottom:-4px;transition:filter .15s,transform .15s,box-shadow .15s}
.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a.gs-cb-why:hover,.gs-cb-panel.gs-sub:not(.is-live) .gs-cb-actions>a.gs-cb-why:focus-visible{filter:brightness(1.07);transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 10px -4px rgba(166,124,46,.55);color:#1a1406}
/* 2026-10-18 unread badge on launcher (그록 봇): 18px red circle, white bold 11px, white ring, pop-in */
#gs-chatbot .gs-cb-launcher .gs-cb-badge{position:absolute;top:-4px;right:-4px;left:auto;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;border-radius:9px;background:#e5484d;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;letter-spacing:-.2px;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(229,72,77,.35);direction:ltr;pointer-events:none;font-variant-numeric:tabular-nums}
#gs-chatbot .gs-cb-launcher .gs-cb-badge[hidden]{display:none}
#gs-chatbot .gs-cb-launcher .gs-cb-badge.pop{animation:gsCbPop .32s cubic-bezier(.2,1.4,.4,1)}
@keyframes gsCbPop{0%{transform:scale(.3);opacity:0}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){#gs-chatbot .gs-cb-launcher .gs-cb-badge.pop{animation:none}}

/* 2026-10-19 mobile clipping fix: panel/buttons fully inside padding + XM100 banner */
#gs-chatbot .gs-cb-panel{box-sizing:border-box}
#gs-chatbot .gs-cb-body,#gs-chatbot .gs-cb-actions{box-sizing:border-box;width:100%;max-width:100%}
#gs-chatbot .gs-cb-actions{overflow-x:hidden;padding-inline:16px}
#gs-chatbot .gs-cb-actions>button,#gs-chatbot .gs-cb-actions>a.btn-like{box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin-inline:0;align-self:stretch;white-space:normal;overflow-wrap:anywhere}
#gs-chatbot .gs-cb-actions>button.gs-cb-sig{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gs-chatbot .gs-cb-actions button.live{position:relative}
#gs-chatbot .gs-cb-actions button.live:not(.primary)::after{flex:0 0 7px;margin-left:auto}
#gs-chatbot .gs-cb-actions>button.gs-cb-xm100{display:block;text-align:left;background:#fff8df;border:1px solid #e3c766;color:#6b4e12;font-weight:700;font-size:12.5px;line-height:1.45;text-decoration:underline;text-decoration-color:#c9a24a;text-underline-offset:3px;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
#gs-chatbot .gs-cb-actions>button.gs-cb-xm100:hover{background:#fdf0c0;border-color:#c9a24a}
@media (max-width:400px){#gs-chatbot .gs-cb-actions>button.gs-cb-sig{font-size:11.5px}}
