.pchat{position:fixed;right:20px;bottom:20px;z-index:50;font-family:Inter,system-ui,sans-serif}
.pc-open{display:inline-flex;align-items:center;gap:10px;background:#2EE6A6;color:#0A0B0F;border:0;border-radius:999px;padding:13px 20px;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.45)}
.pc-open:hover{filter:brightness(1.05)}.pchat.on .pc-open{display:none}
.pc-dot{width:9px;height:9px;border-radius:50%;background:#0A0B0F;box-shadow:0 0 0 3px rgba(10,11,15,.15)}
.pc-panel{width:370px;max-width:calc(100vw - 24px);height:540px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#12151C;border:1px solid #2A2F3A;border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.55);overflow:hidden}
.pc-panel[hidden]{display:none}
.pc-head{display:flex;justify-content:space-between;align-items:flex-start;padding:16px 16px 12px;border-bottom:1px solid #1F2430}
.pc-title{margin:0;font-weight:700;color:#F4F5F7;font-size:16px}.pc-sub{margin:2px 0 0;color:#9AA3B2;font-size:12px}
.pc-close{background:none;border:0;color:#9AA3B2;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.pc-log{flex:1;overflow-y:auto;padding:14px 14px 4px;display:flex;flex-direction:column;gap:10px}
.pc-msg{max-width:86%;padding:10px 13px;border-radius:14px;font-size:14.5px;line-height:21px;word-wrap:break-word}
.pc-msg.ai{background:#1A1E27;color:#E6E9EE;border-top-left-radius:4px;align-self:flex-start}
.pc-msg.me{background:#2EE6A6;color:#0A0B0F;border-top-right-radius:4px;align-self:flex-end;font-weight:500}
.pc-msg.err{color:#FFB4B4}
.pc-msg a{color:#2EE6A6}.pc-msg.me a{color:#0A0B0F}
.pc-msg.typing span{display:inline-block;width:6px;height:6px;margin:0 2px;border-radius:50%;background:#9AA3B2;animation:pcb 1s infinite}
.pc-msg.typing span:nth-child(2){animation-delay:.15s}.pc-msg.typing span:nth-child(3){animation-delay:.3s}
@keyframes pcb{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.pc-sugs{display:flex;flex-wrap:wrap;gap:8px;padding:6px 14px 8px}
.pc-sugs button{background:#0D0F14;border:1px solid #2A2F3A;color:#D5DAE2;border-radius:999px;padding:7px 12px;font-size:13px;cursor:pointer}
.pc-sugs button:hover{border-color:#2EE6A6;color:#2EE6A6}
.pc-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #1F2430}
.pc-form input{flex:1;min-height:42px;background:#0D0F14;border:1px solid #2A2F3A;border-radius:12px;color:#F4F5F7;padding:0 12px;font-size:15px}
.pc-form input:focus{outline:2px solid #2EE6A6;outline-offset:0;border-color:transparent}
.pc-form button{width:44px;border:0;border-radius:12px;background:#2EE6A6;color:#0A0B0F;font-size:17px;cursor:pointer}
.pc-foot{margin:0;padding:0 14px 12px;color:#6B7280;font-size:12px}.pc-foot a{color:#9AA3B2}
.pc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:480px){.pchat{right:12px;bottom:12px}.pchat.on{left:12px;right:12px;bottom:12px}.pc-panel{width:auto;height:calc(100vh - 24px)}}
@media (prefers-reduced-motion:reduce){.pc-msg.typing span{animation:none}}
