
.hg-support{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:1000;font-family:inherit;color:#342b25}.hg-support-launch{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:13px 20px;border:1px solid #c6a15b;border-radius:999px;background:#684a35;color:#fff7e8;box-shadow:0 6px 24px #39261630;font-size:16px;font-weight:700;user-select:none}.hg-support-launch::-webkit-details-marker{display:none}.hg-support-launch img{width:26px;height:26px;object-fit:contain}.hg-support-launch:focus-visible,.hg-support-close:focus-visible{outline:3px solid #c6a15b;outline-offset:4px}.hg-support.is-open .hg-support-launch{margin-left:auto;width:max-content}.hg-support-panel{position:absolute;right:0;bottom:72px;width:350px;max-width:calc(100vw - 32px);background:#fffdf9;border:1px solid #dfd1bf;border-radius:20px;overflow:hidden;box-shadow:0 16px 55px #30221930}.hg-support-head{display:flex;align-items:center;gap:12px;padding:20px;background:#684a35;color:#fff}.hg-support-head img{width:38px;height:38px;object-fit:contain}.hg-support-head strong{margin:0;font-size:19px;color:#fff}.hg-support-head small{margin:4px 0 0;font-size:13px;color:#ebd6b1}.hg-support-close{margin-left:auto;align-self:flex-start;display:grid;place-items:center;width:32px;height:32px;border:0;background:#ffffff15;border-radius:50%;color:white;font:24px/1 inherit;cursor:pointer}.hg-support-chat{padding:22px;max-height:45dvh;overflow-y:auto}.hg-support-welcome{font-size:18px;font-weight:700;margin:0 0 14px}.hg-support-bubble{padding:16px;border-radius:4px 16px 16px;background:#f5efe5;font-size:15px;line-height:1.8;color:#6b5540}.hg-support-bubble p{margin:0}.hg-support-caption{margin:16px 0 0;color:#897b6d;font-size:13px;line-height:1.7}.hg-support-compose{border-top:1px solid #eee4d8;padding:16px;background:white}.hg-support-compose textarea{box-sizing:border-box;display:block;width:100%;height:68px;padding:10px 12px;resize:none;border:1px solid #e5dace;border-radius:10px;background:#faf8f5;font:14px/1.6 inherit;color:#897b6d}.hg-support-compose button{display:block;margin:12px 0 0 auto;border:0;border-radius:9px;background:#e7ded0;color:#8b7b65;padding:10px 18px;font:14px inherit;cursor:not-allowed}.hg-support.is-open{animation:support-in .18s ease-out}@keyframes support-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.hg-support{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}.hg-support-launch{padding:12px 16px}.hg-support-panel{bottom:68px;width:min(350px,calc(100vw - 32px))}.hg-support-chat{padding:20px;max-height:35dvh}}@media(prefers-reduced-motion:reduce){.hg-support.is-open{animation:none}}

.hg-support{left:auto;right:0;bottom:auto;top:65%;width:48px;animation:none!important}.hg-support-launch,.hg-support.is-open .hg-support-launch{box-sizing:border-box;width:48px;margin:0;min-height:92px;padding:12px 8px;flex-direction:column;gap:6px;border-radius:16px 0 0 16px;touch-action:none;cursor:grab}.hg-support-launch .hg-support-label{writing-mode:vertical-rl;font-size:14px;letter-spacing:2px}.hg-support-launch img{width:24px;height:24px;pointer-events:none}.hg-support[data-edge="left"] .hg-support-launch{border-radius:0 16px 16px 0}.hg-support.is-dragging .hg-support-launch{cursor:grabbing;box-shadow:0 6px 24px #39261650}.hg-support-panel{position:fixed;bottom:auto;right:auto;max-height:calc(100dvh - 32px);overflow-y:auto}.hg-support:not(.is-dragging){transition:left .18s ease,top .18s ease}@media(prefers-reduced-motion:reduce){.hg-support{transition:none!important}}

.hg-support [hidden]{display:none!important}.hg-support,.hg-support *{box-sizing:border-box}.hg-support{font-family:system-ui,"Microsoft YaHei",sans-serif;line-height:1.6}.hg-support-launch{font-family:inherit}.hg-support-head strong{display:block;font-size:19px;line-height:1.6}.hg-support-head small{display:block;font-size:13px;line-height:1.6}.hg-support-chat{display:flex;flex-direction:column;gap:12px;min-height:150px;overscroll-behavior:contain}.hg-support-welcome{font-size:15px;font-weight:400;line-height:1.8;background:#f5efe5;padding:16px;border-radius:4px 16px 16px;margin:0}.hg-support-bubble{max-width:90%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}.hg-support-bubble.mine{align-self:flex-end;background:#eee2ce}.hg-support-bubble small{display:block;color:#897b6d;font-size:12px}.hg-support-bottom{display:flex;align-items:center;gap:10px;margin-top:10px}.hg-support-status{flex:1;font-size:13px;color:#897b6d}.hg-support-compose .hg-support-send{margin:0;background:#684a35;color:#fff7e8;cursor:pointer;white-space:nowrap}.hg-support-compose textarea{color:#342b25;font-size:16px;outline-offset:2px}.hg-support-send:disabled{opacity:.6;cursor:wait}.hg-support-count{position:absolute;top:-6px;left:-6px;background:#b5372e;color:white;min-width:21px;border-radius:20px;font-size:12px;padding:0 5px;writing-mode:horizontal-tb}.hg-support[data-edge="left"] .hg-support-count{left:auto;right:-6px}.hg-support-chat:empty{min-height:150px}

@media (hover:none),(pointer:coarse){.hg-support-compose textarea{font-size:16px!important;line-height:1.6}.hg-support-panel{outline:none}}

.support-image-tools{display:flex;align-items:center;gap:10px;margin:0 0 8px}.support-image-tools small{font-size:13px;color:#897b6d}.support-image-tools .support-image-pick,.support-image-preview .support-image-remove{display:inline-block;margin:0;padding:7px 12px;border:1px solid #cdbca6;border-radius:7px;background:#f5efe5;color:#684a35;font:14px/1.4 inherit;cursor:pointer}.support-image-preview{display:flex;gap:12px;align-items:center;padding:8px;margin-bottom:9px;border:1px solid #e5dace;border-radius:9px;background:#faf8f5}.support-image-preview[hidden]{display:none!important}.support-image-preview img{width:72px;height:60px;object-fit:contain;border-radius:5px}.support-chat-image{display:block;max-width:100%;width:220px;min-height:64px;max-height:240px;object-fit:contain;margin-top:7px;border-radius:8px;background:#eee8df;cursor:zoom-in}.support-chat-image:focus-visible{outline:3px solid #c6a15b;outline-offset:3px}

.support-image-tools .support-image-pick,.support-image-preview .support-image-remove{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;margin:0!important;padding:7px 12px!important;border:1px solid #d9cebd!important;border-radius:7px!important;background:#f5efe5!important;color:#644733!important;font:14px/1.5 inherit;cursor:pointer!important}.support-image-tools button:disabled,.support-image-preview button:disabled{opacity:.5;cursor:wait!important}.support-image-preview{display:flex;align-items:center;gap:12px;margin-bottom:10px;padding:8px;background:#faf8f5;border-radius:9px}.support-image-preview[hidden]{display:none!important}.support-image-preview img{width:80px;height:72px;object-fit:contain;border:1px solid #e5dace;border-radius:6px}.support-chat-image{display:block;max-width:100%;width:220px;height:auto;min-height:60px;max-height:260px;object-fit:contain;background:#f5efe5;border-radius:8px;margin-top:6px;cursor:zoom-in}.support-chat-image:focus-visible{outline:3px solid #c6a15b;outline-offset:2px}

.hg-support-bottom .support-image-tools{margin:0;gap:0;flex:none}.hg-support-bottom .support-image-tools small{display:none}.hg-support-bottom{gap:8px}.hg-support-bottom .support-image-pick{min-height:38px}.hg-support-bottom .hg-support-send{min-height:38px}.hg-support-bottom .hg-support-status{min-width:0}
