
.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}
/* support-mobile-focus-fix */
#hg-support-input{font-size:16px!important;line-height:1.6;font-family:inherit}#hg-support button:not(.hg-support-launch){touch-action:manipulation}

.hg-support-attachments{display:flex;align-items:center;gap:10px;margin-bottom:10px}.hg-support-pick{border:1px solid #d3bea0!important;background:#fffaf1!important;color:#684a35!important;border-radius:8px;padding:8px 12px!important;margin:0!important;cursor:pointer!important;font:14px inherit}.hg-support-file-note{font-size:12px;color:#897b6d}.hg-support-preview{display:flex;align-items:center;gap:10px;margin-bottom:10px}.hg-support-preview img{width:72px;height:72px;object-fit:cover;border-radius:8px}.hg-support-preview button{margin:0!important;cursor:pointer!important}.hg-support-message-image{display:block;max-width:100%;max-height:220px;border-radius:8px;margin-top:8px;cursor:zoom-in}.support-image-view{border:0;border-radius:12px;padding:12px;max-width:94vw;max-height:94dvh;background:#fffdf9}.support-image-view::backdrop{background:#000a}.support-image-view img{display:block;max-width:85vw;max-height:78dvh;object-fit:contain}.support-image-view button{display:block;margin:12px auto 0;padding:8px 18px;font-size:16px}

/* support-image-next-to-send */
.hg-support-attachments{display:none}.hg-support-bottom{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.hg-support-bottom .hg-support-status{flex:0 0 100%;font-size:12px}.hg-support-bottom .hg-support-pick{min-height:40px;white-space:nowrap}.hg-support-bottom .hg-support-send{min-height:40px}

/* support-compose-serif */
#hg-support .hg-support-compose{font-family:Songti SC,STSong,SimSun,serif}#hg-support-input{font-family:Songti SC,STSong,SimSun,serif!important;font-size:16px!important;font-weight:400}#hg-support .hg-support-compose button{font-family:Songti SC,STSong,SimSun,serif!important;font-size:18px;line-height:1.4;font-weight:400}#hg-support .hg-support-status{font-size:14px}
