.yj-assistant-launch{position:fixed;right:22px;bottom:22px;z-index:9998;display:grid;place-items:center;width:66px;height:66px;padding:0;border:2px solid #fff;border-radius:21px;background:linear-gradient(145deg,#277fe8 4%,#365bd3 58%,#6345bd);box-shadow:0 11px 28px #15345b5c,0 0 0 1px #2262c544;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.yj-assistant-launch:hover{transform:translateY(-3px);box-shadow:0 15px 32px #15345b68,0 0 0 3px #8fc7ff88}
.yj-assistant-launch:focus-visible{outline:3px solid #8bc3ff;outline-offset:3px}
.yj-assistant-launch.is-open{box-shadow:0 11px 28px #15345b5c,0 0 0 3px #8fc7ff88}
.yj-assistant-launch svg{display:block;width:52px;height:52px;filter:drop-shadow(0 3px 3px #15345b4d)}
.yj-robot-antenna,.yj-robot-ear,.yj-robot-chin{fill:none;stroke:#eef9ff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.yj-robot-antenna-tip{fill:#96f4fc}.yj-robot-shell{fill:#eff8ff}.yj-robot-screen{fill:#153c72}.yj-robot-eye{fill:none;stroke:#89ecfa;stroke-width:4;stroke-linecap:round}.yj-robot-smile{fill:none;stroke:#c6f5ff;stroke-width:2.5;stroke-linecap:round}
.yj-assistant-launch::after{content:"站内问答";position:absolute;right:calc(100% + 10px);top:50%;padding:6px 10px;border-radius:8px;background:#163a65;color:#fff;white-space:nowrap;font:600 13px/1.3 system-ui,-apple-system,"Microsoft YaHei",sans-serif;box-shadow:0 5px 16px #15345b3b;opacity:0;pointer-events:none;transform:translate(5px,-50%);transition:opacity .18s ease,transform .18s ease}
.yj-assistant-launch:hover::after,.yj-assistant-launch:focus-visible::after{opacity:1;transform:translate(0,-50%)}
.yj-assistant-launch.is-open::after{display:none}
.yj-assistant-panel{position:fixed;right:22px;bottom:78px;z-index:9999;display:flex;flex-direction:column;width:min(430px,calc(100vw - 24px));max-height:calc(100vh - 104px);max-height:min(690px,calc(100dvh - 104px));border:1px solid #d5e0ed;border-radius:18px;background:#fff;color:#17324f;box-shadow:0 20px 65px #09233e3d;font:15px/1.6 system-ui,-apple-system,"Microsoft YaHei",sans-serif;overflow:hidden}
.yj-assistant-panel[hidden]{display:none}
.yj-assistant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e6edf5;background:#f5f9ff}
.yj-assistant-head strong{display:block;font-size:17px;color:#102b49}
.yj-assistant-head small{display:block;margin-top:2px;color:#60758b;font-size:12px}
.yj-assistant-close{border:0;background:transparent;color:#536f88;font-size:25px;line-height:1;cursor:pointer}
.yj-assistant-body{min-height:125px;overflow-y:auto;padding:16px 18px;overscroll-behavior:contain}
.yj-assistant-message{margin:0 0 13px}
.yj-assistant-question{margin:0 0 14px;padding:10px 12px;border-radius:12px;background:#eaf3ff;color:#143c6b;font-weight:600}
.yj-assistant-source{display:block;margin:10px 0;padding:11px 12px;border:1px solid #e0e9f3;border-radius:12px;color:inherit;text-decoration:none;background:#fff}
.yj-assistant-source:hover,.yj-assistant-source:focus-visible{border-color:#5b9be5;background:#f7fbff;text-decoration:none}
.yj-assistant-source strong{display:block;font-size:14px;color:#1360b7}
.yj-assistant-source small{display:block;color:#697d90;font-size:12px}
.yj-assistant-source span{display:block;margin-top:5px;color:#334c64;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.yj-assistant-hint{margin:10px 0 0;color:#63778b;font-size:12px}
.yj-assistant-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.yj-assistant-suggestions button{padding:5px 9px;border:1px solid #d3e2f3;border-radius:999px;background:#fff;color:#2463a5;font:inherit;font-size:12px;cursor:pointer}
.yj-assistant-form{display:flex;gap:8px;padding:12px 15px;border-top:1px solid #e6edf5;background:#fff}
.yj-assistant-form input{flex:1;min-width:0;border:1px solid #bdd0e4;border-radius:10px;padding:10px 11px;color:#102b49;background:#fff;font:inherit}
.yj-assistant-form input:focus{outline:2px solid #8bc3ff;outline-offset:1px}
.yj-assistant-form button{border:0;border-radius:10px;padding:0 15px;background:#1769d2;color:#fff;font:600 14px system-ui,-apple-system,"Microsoft YaHei",sans-serif;cursor:pointer}
.yj-assistant-form button:disabled{opacity:.55;cursor:wait}
@media(max-width:620px){.yj-assistant-launch{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));width:60px;height:60px;border-radius:19px}.yj-assistant-launch svg{width:48px;height:48px}.yj-assistant-panel{left:0;right:0;bottom:0;width:auto;max-width:none;box-sizing:border-box;max-height:82vh;max-height:min(82dvh,800px);border-radius:18px 18px 0 0}.yj-assistant-body{min-height:180px}}
@media(hover:none){.yj-assistant-launch::after{display:none}}
@media(prefers-reduced-motion:reduce){.yj-assistant-launch,.yj-assistant-launch::after{transition:none}.yj-assistant-launch:hover{transform:none}}
