/* Talk to Arti chat (preview). Only loaded on /arti. */
.acx-btn{position:fixed;right:16px;bottom:16px;z-index:3000;width:68px;height:68px;padding:0;border:0;border-radius:50%;
  background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.acx-btn .acx-av{display:block;width:68px;height:68px;border-radius:50%;object-fit:cover;border:3px solid var(--cyan);
  box-shadow:0 0 0 2px rgba(12,7,20,.9),0 6px 22px rgba(0,0,0,.55),0 0 18px rgba(34,230,255,.35);background:var(--base)}
.acx-btn .acx-lab{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);white-space:nowrap;
  font-family:var(--b-font);font-weight:700;font-size:12px;line-height:1;letter-spacing:.02em;color:#0c0714;
  background:linear-gradient(90deg,var(--cyan),var(--gold));padding:5px 9px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.5)}
.acx-btn:hover .acx-av{border-color:var(--gold)}
.acx-btn:focus-visible,.acx-send:focus-visible,.acx-x:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.acx-open .acx-btn{display:none}
.acx-panel{position:fixed;right:16px;bottom:16px;z-index:3000;width:min(360px,calc(100vw - 24px));
  height:min(480px,calc(100vh - 96px));height:min(480px,calc(100dvh - 96px));display:none;flex-direction:column;
  background:var(--base-2);color:var(--ink);font-family:var(--b-font);font-size:15px;line-height:1.45;
  border:2px solid var(--violet);border-radius:18px;box-shadow:0 14px 44px rgba(0,0,0,.65),0 0 24px rgba(155,92,255,.3);overflow:hidden}
.acx-open .acx-panel{display:flex}
.acx-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:linear-gradient(90deg,rgba(155,92,255,.35),rgba(34,230,255,.2));
  border-bottom:1px solid rgba(155,92,255,.5)}
.acx-head img{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid var(--cyan)}
.acx-head b{flex:1;font-size:16px;letter-spacing:.02em}
.acx-head small{display:block;font-weight:400;font-size:11px;color:var(--ink-soft);margin-top:1px}
.acx-x{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:var(--ink);font-size:22px;line-height:1;cursor:pointer}
.acx-x:hover{background:rgba(255,255,255,.2)}
.acx-log{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.acx-m{max-width:86%;padding:8px 11px;border-radius:14px;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap}
.acx-m a{color:var(--cyan);text-decoration:underline}
.acx-arti{align-self:flex-start;background:rgba(155,92,255,.22);border:1px solid rgba(155,92,255,.45);border-bottom-left-radius:4px}
.acx-you{align-self:flex-end;background:rgba(34,230,255,.16);border:1px solid rgba(34,230,255,.4);border-bottom-right-radius:4px}
.acx-note{align-self:center;font-size:12px;color:var(--gold);text-align:center;max-width:94%}
.acx-fb{align-self:stretch;font-size:12px;color:var(--ink-soft);border:1px dashed var(--gold);border-radius:10px;padding:6px 9px}
.acx-form{display:flex;gap:8px;padding:10px;border-top:1px solid rgba(155,92,255,.4);background:rgba(12,7,20,.7)}
.acx-in{flex:1;min-width:0;height:42px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:#0c0714;color:var(--ink);
  font:inherit;font-size:16px}
.acx-in:focus{outline:2px solid var(--cyan);outline-offset:1px}
.acx-send{height:42px;padding:0 16px;border:0;border-radius:999px;font:inherit;font-weight:700;color:#0c0714;cursor:pointer;
  background:linear-gradient(90deg,var(--cyan),var(--gold))}
.acx-send:disabled{opacity:.55;cursor:default}
.acx-foot{padding:0 12px 8px;font-size:11px;color:var(--ink-soft);text-align:center;background:rgba(12,7,20,.7)}
@media (max-width:600px){
  .acx-btn{right:12px;bottom:14px;width:60px;height:60px}
  .acx-btn .acx-av{width:60px;height:60px}
  .acx-panel{right:12px;bottom:12px;width:calc(100vw - 24px);height:min(70vh,520px);height:min(70dvh,520px)}
}
