.atgc-btn{position:fixed;right:16px;bottom:18px;z-index:70;display:flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 18px 12px 14px;background:linear-gradient(100deg,#7C2AE8,#FF2E9A);color:#fff;font:700 15px/1 'Manrope',system-ui,sans-serif;box-shadow:0 8px 28px rgba(124,42,232,.45),0 2px 6px rgba(0,0,0,.35);cursor:pointer;transition:transform .15s,bottom .2s}
.atgc-btn svg{width:22px;height:22px}.atgc-btn:hover{transform:translateY(-2px)}.atgc-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
.atgc-btn.atgc-on{display:none}
.atgc-panel{position:fixed;right:16px;bottom:18px;z-index:9000;width:420px;max-width:calc(100vw - 32px);height:min(660px,calc(100vh - 100px));display:flex;flex-direction:column;background:#140a24;border:1px solid rgba(255,255,255,.14);border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.55);overflow:hidden;font:400 16px/1.45 'Manrope',system-ui,sans-serif;color:#fff}
.atgc-panel[hidden]{display:none}
.atgc-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:linear-gradient(100deg,rgba(124,42,232,.55),rgba(255,46,154,.4));border-bottom:1px solid rgba(255,255,255,.12)}
.atgc-av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#0d0618;border:1px solid rgba(255,255,255,.25);overflow:hidden;flex:none}.atgc-av img{width:30px;height:30px;object-fit:contain;display:block}
.atgc-ht{flex:1;display:flex;flex-direction:column;line-height:1.2}.atgc-ht b{font-size:16px}.atgc-ht small{color:#d8cfe8;font-size:13px}
.atgc-x{border:0;background:rgba(255,255,255,.12);color:#fff;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.atgc-log{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.atgc-m{max-width:86%;padding:10px 14px;border-radius:18px;word-wrap:break-word;overflow-wrap:anywhere}
.atgc-a{align-self:flex-start;background:#2a1747;border-bottom-left-radius:6px}
.atgc-u{align-self:flex-end;background:linear-gradient(100deg,#7C2AE8,#FF2E9A);border-bottom-right-radius:6px}
.atgc-m a{color:#ffb3db;text-decoration:underline}.atgc-u a{color:#fff}
.atgc-typ{display:flex;gap:4px;padding:12px 14px}.atgc-typ i{width:7px;height:7px;border-radius:50%;background:#d8cfe8;opacity:.4;animation:atgcB 1s infinite}.atgc-typ i:nth-child(2){animation-delay:.15s}.atgc-typ i:nth-child(3){animation-delay:.3s}
@keyframes atgcB{0%,100%{opacity:.3;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
.atgc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px}.atgc-chips[hidden]{display:none}
.atgc-chip{border:1px solid rgba(255,46,154,.6);background:rgba(255,46,154,.08);color:#fff;border-radius:999px;padding:9px 14px;font:600 14.5px/1.15 'Manrope',system-ui,sans-serif;cursor:pointer}.atgc-chip:hover{background:rgba(255,46,154,.22)}
.atgc-form{display:flex;gap:8px;padding:10px 10px 8px;border-top:1px solid rgba(255,255,255,.1)}
.atgc-in{flex:1;min-width:0;border:1px solid rgba(255,255,255,.18);background:#0d0618;color:#fff;border-radius:999px;padding:12px 15px;font:17px 'Manrope',system-ui,sans-serif}
.atgc-in:focus{outline:2px solid #FF2E9A;outline-offset:0}
.atgc-send{border:0;width:46px;height:46px;flex:none;border-radius:50%;background:linear-gradient(100deg,#7C2AE8,#FF2E9A);color:#fff;display:grid;place-items:center;cursor:pointer}.atgc-send svg{width:20px;height:20px}
.atgc-foot{display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12px;line-height:1.35;color:#b9aecf;text-align:center;padding:0 10px 9px}.atgc-foot span{display:block}.atgc-foot a{color:#d8cfe8;font-weight:700;white-space:nowrap}
@media (max-width:700px){
.atgc-btn{right:12px;padding:0;width:54px;height:54px;justify-content:center}.atgc-btn span{display:none}.atgc-btn svg{width:26px;height:26px}
.atgc-panel{inset:0;right:0;bottom:0;width:100%;max-width:none;height:100%;height:100dvh;border-radius:0;border:0;padding-bottom:env(safe-area-inset-bottom);font-size:17px}
html.atgc-open,html.atgc-open body{overflow:hidden}}

/* b17-37: chat launcher inside the phone sticky bar */
html.atgc-hasbar .atgc-btn{display:none!important}
.atgc-mb{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:60px;min-height:48px;padding:6px 10px;border:2px solid rgba(255,46,154,.75);border-radius:16px;background:rgba(255,46,154,.12);color:#fff;font:800 12px/1 'Manrope',system-ui,sans-serif;cursor:pointer}
.atgc-mb svg{width:22px;height:22px}.atgc-mb:focus-visible{outline:3px solid #fff;outline-offset:2px}
.mbar .atgc-mcall,.c-mobile-bar .atgc-mcall{flex:0 0 auto!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:60px;min-height:48px;padding:6px 10px!important;border-radius:16px!important;font-size:12px!important;line-height:1!important}
.atgc-mcall svg{width:20px;height:20px}
.c-mobile-bar .atgc-mb,.c-mobile-bar .atgc-mcall{border-radius:999px!important}
.atgc-mic{border:1px solid rgba(255,255,255,.3);width:44px;height:44px;border-radius:50%;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}.atgc-mic[hidden]{display:none}.atgc-mic svg{width:20px;height:20px}
.atgc-mic.atgc-rec{background:#e0245e;border-color:#e0245e;animation:atgcP 1.2s infinite}@keyframes atgcP{0%,100%{box-shadow:0 0 0 0 rgba(224,36,94,.6)}50%{box-shadow:0 0 0 8px rgba(224,36,94,0)}}
.atgc-lk{color:#ffb3db;text-decoration:underline;font-weight:700}
@media print{.atgc-btn,.atgc-panel{display:none!important}}

.atgc-m a.atgc-btnlk{display:inline-block;margin:6px 0 2px;padding:9px 14px;border-radius:999px;background:linear-gradient(100deg,#7C2AE8,#FF2E9A);color:#fff!important;font-weight:800;text-decoration:none;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}

/* v2 (Nov 16 2026): the conversation lives in an iframe */
.atgc-frame{flex:1;width:100%;min-height:0;border:0;background:#0d0618;display:block}

/* Nov 16 2026: Brian asked for the chat to go live; atg-vu.css (Oct 22) had hidden the launchers, these win by specificity */
html .atgc-mb{display:flex!important}
html:not(.atgc-hasbar) .atgc-btn{display:flex!important}
html .atgc-btn.atgc-on{display:none!important}
