#chat-root{--chat-bg:#151b1b;--chat-line:#303c38;--chat-muted:#91a39c;--chat-green:#79c8aa;font:13px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#e4ece8;position:relative;z-index:60}#chat-root *{box-sizing:border-box}#chat-root button,#chat-root input,#chat-root textarea{font:inherit}#chat-root button{cursor:pointer}#chat-root button:disabled{cursor:default;opacity:.5}#chat-root [hidden]{display:none!important}#chat-root button:focus-visible,#chat-root input:focus-visible,#chat-root textarea:focus-visible{outline:2px solid var(--chat-green);outline-offset:2px}.chat-launch{position:fixed;right:28px;bottom:26px;border:1px solid #6a9c87;background:#b2d9c4;color:#14261d;border-radius:50px;padding:13px 22px;box-shadow:0 8px 32px #0006;display:flex;align-items:center;gap:9px;font-weight:600!important}.chat-launch b{border-radius:20px;background:#963f40;color:white;padding:2px 6px;font-size:10px}.chat-window{position:fixed;right:28px;bottom:84px;width:min(690px,calc(100vw - 40px));height:min(620px,calc(100dvh - 110px));background:var(--chat-bg);border:1px solid #466052;border-radius:15px;box-shadow:0 20px 85px #0009;display:flex;flex-direction:column;overflow:hidden}.chat-header{padding:18px 20px;background:linear-gradient(120deg,#283b30,#1b2722);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--chat-line)}.chat-header strong{font-size:17px}.chat-header small{display:block;color:#a6beb1;margin-top:6px;font-size:11px}.chat-header a{color:#bcdbc9}.chat-close{background:none;color:#afc3b8;border:0;font-size:26px!important;padding:0 4px}.chat-body{flex:1;min-height:0;display:flex;flex-direction:column}.chat-login{padding:32px;max-width:460px;margin:auto;width:100%}.chat-welcome{font-size:23px;line-height:1.5;color:#d5ddca;margin-bottom:12px}.chat-login p{color:var(--chat-muted);line-height:1.8;overflow-wrap:anywhere}.chat-login label{display:block;margin:24px 0 16px;color:#c7d7cf}.chat-login input{display:block;margin-top:10px;width:100%}.chat-login button,.chat-add button,.chat-composer button{background:#80bd9f;border:0;border-radius:6px;color:#12281d;padding:10px 17px;white-space:nowrap}.chat-login>button{width:100%}#chat-root input,#chat-root textarea{border:1px solid #3c5046;background:#111817;color:#e9f2ec;border-radius:6px;padding:10px;min-width:0}#chat-root input::placeholder,#chat-root textarea::placeholder{color:#6f877b}.chat-account{padding:12px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--chat-line)}.chat-account small{display:block;margin-top:5px;color:var(--chat-muted);font-size:10px}.chat-account b{font-weight:500;letter-spacing:.5px}.chat-copy{background:none;color:#acd2bd;border:1px solid #3c5347;border-radius:5px;padding:6px 9px;font-size:11px!important}.chat-add{display:flex;gap:8px;padding:10px 17px}.chat-add input{flex:1}.chat-add button{font-size:11px!important}#chat-error{font-size:11px;color:#d9b18a;padding:0 17px;line-height:1.6;max-height:44px;overflow:auto;flex-shrink:0}#chat-error:not(:empty){padding-bottom:10px}.chat-layout{display:flex;flex:1;min-height:0;border-top:1px solid var(--chat-line)}.chat-sidebar{width:195px;flex-shrink:0;background:#111817;border-right:1px solid var(--chat-line);overflow:auto;padding:8px}.chat-room{display:flex;align-items:center;gap:9px;border:1px solid transparent;background:none;color:#dce7df;text-align:left;width:100%;padding:11px 8px;border-radius:8px;margin-bottom:4px;min-width:0}.chat-room.active{background:#263a2e;border-color:#3d5b48}.chat-avatar{display:grid;place-items:center;width:32px;height:34px;background:#35493a;color:#ccddba;border-radius:9px;flex-shrink:0}.chat-room>span:last-child{min-width:0}.chat-room strong{font-size:12px;font-weight:500}.chat-room small{display:block;color:#8da497;font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:5px}.chat-request{padding:10px 5px;border-bottom:1px solid var(--chat-line);font-size:10px;line-height:1.6;color:#cddacb}.chat-request div{display:flex;gap:6px;margin-top:6px}.chat-request button{background:#2b4234;border:1px solid #4c6858;border-radius:4px;padding:4px 8px;color:#bad6c5;font-size:10px!important}.chat-conversation{min-width:0;display:flex;flex-direction:column;flex:1}.chat-room-title{padding:11px 15px;border-bottom:1px solid var(--chat-line);font-size:12px;color:#b5c7bb}.chat-messages{flex:1;overflow-y:auto;padding:18px 16px;overscroll-behavior:contain}.chat-message{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:17px}.chat-message small{font-size:9px;color:#8da398;margin:0 3px 6px}.chat-message p{background:#25352e;border:1px solid #344a3c;border-radius:2px 10px 10px;padding:10px 12px;line-height:1.7;max-width:88%;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.chat-message.mine{align-items:flex-end}.chat-message.mine p{background:#abcdb6;color:#18291f;border-color:#abcdb6;border-radius:10px 2px 10px 10px}.chat-empty{color:#82998b;font-size:11px;line-height:1.9;text-align:center;padding:22px 12px}.chat-composer{border-top:1px solid var(--chat-line);padding:12px 14px;background:#18221d}.chat-composer textarea{display:block;width:100%;resize:none;line-height:1.6}.chat-composer>div{display:flex;align-items:center;justify-content:space-between;margin-top:9px;gap:8px}.chat-composer small{font-size:9px;color:#849b8c}.chat-composer button{padding:7px 18px;font-size:11px!important}.chat-operator{position:relative;inset:auto;width:min(1040px,calc(100vw - 40px));height:calc(100dvh - 64px);margin:32px auto}.chat-operator .chat-sidebar{width:260px}.chat-operator .chat-messages{padding:24px}.chat-operator .chat-message p{font-size:14px}
@media(max-width:570px){.chat-launch{right:16px;bottom:18px;padding:11px 17px}.chat-window{right:10px;bottom:76px;width:calc(100vw - 20px);height:calc(100dvh - 100px);border-radius:12px}.chat-header{padding:14px 15px}.chat-header strong{font-size:15px}.chat-sidebar{width:117px;padding:5px}.chat-room{padding:10px 5px;gap:6px}.chat-avatar{display:none}.chat-room strong{font-size:11px}.chat-room small{font-size:9px}.chat-account{padding:10px 12px}.chat-add{padding:9px 12px}.chat-add input{font-size:11px!important}.chat-messages{padding:14px 10px}.chat-message p{max-width:100%;padding:8px 10px;font-size:11px}.chat-composer{padding:10px}.chat-composer small{display:none}.chat-composer>div{justify-content:flex-end}.chat-operator{inset:auto;width:calc(100vw - 16px);height:calc(100dvh - 16px);margin:8px}.chat-operator .chat-sidebar{width:120px}.chat-operator .chat-messages{padding:12px}.chat-login{padding:24px}}
