
.chat-launch{position:fixed;right:28px;bottom:26px;z-index:40;background:#c4ab7e;color:#192018;border:1px solid #ddc69f;border-radius:30px;min-height:52px;padding:0 22px;display:flex;align-items:center;gap:10px;box-shadow:0 8px 35px #0007;font-size:14px}.presence-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#959b95;flex-shrink:0}.presence-dot.online{background:#82c898;box-shadow:0 0 0 3px #82c89817}.chat-launch .presence-dot.online{background:#326543;box-shadow:none}.chat-panel{position:fixed;right:28px;bottom:90px;width:390px;height:min(650px,calc(100dvh - 120px));z-index:41;display:flex;flex-direction:column;background:#171d19;border:1px solid #626b54;box-shadow:0 22px 85px #0009;border-radius:10px;overflow:hidden}.chat-panel[hidden]{display:none}.chat-head{padding:20px 20px 16px;background:#242d24;border-bottom:1px solid #46503c;position:relative}.chat-brand{font:16px Georgia,serif;letter-spacing:4px;color:var(--gold)}.chat-subtitle{margin-top:8px;display:flex;align-items:center;gap:8px;font-size:12px;color:#d0d7c8}.chat-close{position:absolute;right:12px;top:13px;min-width:44px;min-height:44px;border:0;background:none;color:#ccd3c5;font-size:24px}.chat-demo{padding:9px 16px;background:#1d241e;border-bottom:1px solid #35402f;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#b2bba9;font-size:10px}.chat-toggle{background:#303b2b;color:#dfdfcc;border:1px solid #606a4e;border-radius:4px;min-height:44px;padding:0 12px;font-size:11px}.chat-log{padding:18px 16px;flex:1;overflow-y:auto;overscroll-behavior:contain;min-height:0}.chat-bubble{font-size:12px;line-height:1.95;padding:12px 14px;background:#252e25;border:1px solid #36412f;border-radius:2px 10px 10px 10px;color:#dce1d4;margin-bottom:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:95%}.chat-bubble.visitor{background:#353c2d;border-color:#5f674d;border-radius:10px 2px 10px 10px;margin-left:auto;width:fit-content;color:#eee8d7}.chat-bubble.notice{background:transparent;border:0;padding:2px 4px;font-size:11px;color:#aeb8a4;max-width:100%}.chat-questions{display:grid;gap:7px;margin:13px 0 18px}.chat-question{border:1px solid #414d37;background:transparent;color:#d2d8c9;padding:10px 12px;min-height:44px;font-size:12px;text-align:left;border-radius:4px;display:flex;justify-content:space-between;gap:12px}.chat-question:hover,.chat-utility:hover{background:#2a3327;border-color:#8a9176}.chat-question span{color:var(--gold)}.chat-feedback{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:17px}.chat-utility{min-height:44px;border:1px solid #4d5941;background:#20291e;color:#d2d9c7;border-radius:4px;padding:8px 13px;font-size:11px}.chat-utility[disabled]{opacity:.5;cursor:default}.chat-bottom{border-top:1px solid #3b4634;padding:10px 15px 13px;background:#1a211b}.chat-shortcuts{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-shortcuts button{background:none;border:0;color:var(--gold);min-height:44px;font-size:11px;padding:5px}.chat-disclaimer{color:#a2ad99;font-size:10px;margin:5px 0 0}.chat-form{display:flex;gap:8px;margin-top:6px}.chat-form[hidden]{display:none}.chat-form input{background:#111811;border:1px solid #5a664b;border-radius:4px;min-width:0;flex:1;padding:11px;color:var(--ink);font:12px 'Microsoft YaHei',sans-serif}.chat-form button{border:0;border-radius:4px;background:var(--gold);color:#172014;min-height:44px;padding:8px 14px;font-size:12px}.chat-input-note{font-size:10px;color:#b5bea8;margin:7px 0 0}.chat-input-note[hidden]{display:none}
@media(max-width:500px){.chat-launch{right:16px;bottom:18px;padding:0 18px}.chat-panel{right:12px;bottom:82px;width:calc(100% - 24px);height:min(650px,calc(100dvh - 100px))}}@media(max-height:500px){.chat-panel{bottom:8px;top:8px;height:auto}.chat-launch{bottom:12px}.chat-head{padding:8px 16px}.chat-demo{padding:4px 12px}}
