.support-launch,.support-panel,.support-desk{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
html.support-scroll-lock{overflow:hidden!important;overscroll-behavior:none}
body.support-scroll-lock{position:fixed;left:0;right:0;width:100%;height:auto!important;overflow:hidden!important;overscroll-behavior:none}
.support-mask{position:fixed;inset:0;z-index:10040;background:rgba(21,34,54,.35);touch-action:none}
.support-launch{position:fixed;right:20px;bottom:24px;z-index:10050;width:56px;height:auto;padding:10px 4px 12px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:linear-gradient(180deg,#09cd68 0%,#07c160 100%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;box-shadow:0 10px 26px rgba(7,193,96,.28),0 0 0 4px rgba(7,193,96,.12);transition:transform .18s ease,box-shadow .18s ease}
.support-launch:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(7,193,96,.34),0 0 0 5px rgba(7,193,96,.16)}
.support-launch-icon{width:34px;height:34px;border-radius:50%;background:#fff;color:#07c160;display:grid;place-items:center;flex:none;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.support-launch-icon svg{width:20px;height:20px;fill:none;stroke:#07c160;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}
.support-launch-text{display:flex;flex-direction:column;align-items:center;line-height:1.25;font-size:12px;letter-spacing:.5px;color:#fff}
.support-launch-text b{font-weight:600}
.support-launch>svg{width:30px;height:30px;fill:#fff;stroke:none;display:block}
.support-nav-icon svg{width:22px;height:22px;fill:#07c160;stroke:none;display:block}
.support-launch .badge{position:absolute;top:-4px;right:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#ff4d4f;color:#fff;font-size:11px;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}
.support-nav-btn,.site-header a.support-nav-btn,button.support-nav-btn{position:relative;display:inline-flex;align-items:center;gap:8px;height:36px;margin:0 8px;padding:0 12px 0 5px;border:1px solid #d7e6dc;border-radius:999px;background:#f4f8f5;color:#152236;font-size:13px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;vertical-align:middle;overflow:visible}
.support-nav-btn:hover{background:#e8f6ee;color:#152236}
.support-nav-icon{position:relative;width:22px;height:22px;display:grid;place-items:center;flex:none;background:transparent}
.support-nav-icon svg{width:22px;height:22px;fill:#07c160;stroke:none;display:block}
.support-nav-badge{position:static;display:inline-block;flex:none;min-width:16px;height:16px;margin-left:2px;padding:0 4px;border-radius:8px;background:#ff4d4f;color:#fff;font-size:11px;font-weight:700;line-height:16px;text-align:center;vertical-align:1px}
.support-nav-badge[hidden],.menu-count[hidden],.support-panel[hidden],.support-mask[hidden],.support-launch .badge[hidden],.support-rate-thanks[hidden],.support-rate-advice[hidden]{display:none!important}
.menu-count{display:inline-block;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:9px;background:#ff4d4f;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;vertical-align:1px}
.support-nav-btn.on-dark{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff}
.support-nav-btn.on-dark:hover{background:rgba(255,255,255,.16);color:#fff}
.support-panel{position:fixed;right:90px;bottom:24px;z-index:10050;width:min(460px,calc(100vw - 108px));height:min(640px,calc(100vh - 72px));height:min(640px,calc(100dvh - 72px));background:#fff;border:1px solid #e7ebf0;border-radius:16px;box-shadow:0 18px 50px rgba(21,34,54,.16);display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain}
.support-panel:has(.support-agent){width:min(820px,calc(100vw - 24px));height:min(720px,calc(100dvh - 88px))}
.support-head{background:#07c160;color:#fff;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.support-head-user{display:flex;align-items:center;gap:8px;min-width:0}
.support-head .support-avatar{width:28px;height:28px}
.support-head strong{font-size:15px;font-weight:600}
.support-head small{display:block;color:rgba(255,255,255,.9);font-size:12px;margin-top:1px}
.support-head button{border:0;background:transparent;color:#fff;font-size:22px;line-height:1}
.support-body{flex:1;min-height:0;overflow:auto;padding:14px;background:#f7f9fb;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.support-avatar-wrap{position:relative;flex:none;width:32px;height:32px;display:block}
img.support-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;background:#eef2f6;display:block}
.support-vip{position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;border-radius:50%;background:#fff8e6;color:#c8960c;border:1px solid #e6c15a;font-style:normal;font-weight:800;font-size:10px;line-height:12px;text-align:center;font-family:Georgia,"Times New Roman",serif;pointer-events:none;box-shadow:0 1px 2px rgba(160,110,0,.25)}
.support-faq{display:flex;flex-direction:column;gap:8px}
.support-faq button{text-align:left;border:1px solid #e7ebf0;background:#fff;border-radius:10px;padding:10px 12px;color:#152236}
.support-dock{flex:none;padding:0 12px;background:#fff;text-align:center}
.support-dock .support-human{display:inline-block;width:auto;min-height:0;margin:0;padding:5px 2px 7px;border:0;background:transparent;color:#98a2b0;font-size:12px;font-weight:400;line-height:1.4;text-align:center}
.support-dock .support-human:hover{color:#0b8f49}
.support-row{display:flex;align-items:flex-end;gap:8px;margin:0 0 10px}
.support-row.me{flex-direction:row-reverse}
.support-row .support-msg{max-width:calc(100% - 40px);margin:0}
.support-item{margin:0 0 10px}
.support-item .support-row{margin:0}
.support-time{margin:3px 40px 0;font-size:11px;line-height:1.4;color:#98a2b0}
.support-item.me .support-time{text-align:right}
.support-msg{max-width:86%;margin:0 0 10px;padding:8px 10px;border-radius:12px;font-size:14px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.support-msg.me{background:#07c160;color:#fff;border-bottom-right-radius:4px}
.support-msg.bot,.support-msg.agent{background:#fff;border:1px solid #e7ebf0;border-bottom-left-radius:4px}
.support-msg a{color:#0b8f49;text-decoration:underline}
.support-msg.me a{color:#fff}
.support-msg .who{display:block;font-size:11px;color:#8993a1;margin-bottom:2px}
.support-msg.me .who{color:rgba(255,255,255,.8)}
.support-msg.system{max-width:100%;background:transparent;color:#5f6b7b;text-align:center;font-size:13px;padding:4px 0}
.support-typing{color:#8993a1}
.support-warn{margin:0 0 10px;padding:8px 10px;border-radius:10px;background:#fff7e6;color:#8a5a00;font-size:13px;line-height:1.5}
.support-rate{margin:0 0 12px;padding:12px;border-radius:12px;background:#fff;border:1px solid #e7ebf0}
.support-stars{display:flex;gap:2px;margin:8px 0 4px;touch-action:none;user-select:none;cursor:ew-resize}
.support-stars button{flex:1;border:0;background:transparent;color:#d5dbe3;font-size:32px;line-height:1;padding:4px 0}
.support-stars button.on{color:#f5a623}
.support-rate-count{min-height:22px;font-size:14px;font-weight:600;color:#152236}
.support-rate-thanks,.support-rate-done strong{display:block;color:#0b8f49;font-size:13px;line-height:1.5;margin:6px 0}
.support-rate-advice{display:block;margin:8px 0;color:#5f6b7b;font-size:13px}
.support-rate-advice textarea{display:block;width:100%;box-sizing:border-box;min-height:72px;margin-top:6px;border:1px solid #e7ebf0;border-radius:8px;padding:8px;font:inherit;resize:vertical}
.support-rate-actions{display:flex;align-items:center;gap:12px;margin-top:8px}
.support-rate-submit{border:0;background:#07c160;color:#fff;border-radius:8px;height:36px;padding:0 14px;white-space:nowrap}
.support-rate-later,.support-history-btn,.support-back,.support-rate-old{border:0;background:transparent;color:#0b8f49;font-size:13px;padding:6px 0}
.support-follow{margin-top:14px}
.support-account{position:absolute;left:16px;right:16px;top:72px;z-index:3;padding:14px 16px;border-radius:14px;background:#fff;box-shadow:0 12px 32px rgba(21,34,54,.18);border:1px solid #e7ebf0}
.support-account strong{display:block;font-size:16px;margin-bottom:8px;word-break:break-all}
.support-account p{margin:0;color:#5f6b7b;font-size:13px}
.support-account-row{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:4px 0}
.support-account-row span{color:#8993a1}
.support-account-close{position:absolute;top:8px;right:8px;border:0;background:transparent;font-size:20px;line-height:1;color:#5f6b7b}
.support-avatar.is-account{cursor:pointer}
.support-header-btn{display:inline-flex;align-items:center;gap:6px;flex:none;height:36px;margin-left:12px;padding:0 12px 0 8px;border-radius:999px;background:#fff;color:#152236;font-size:13px;font-weight:600;line-height:1;white-space:nowrap}
.support-header-btn svg:not(.support-bubble){width:20px;height:20px;fill:#07c160;stroke:none}
a.support-header-btn svg.support-bubble,
button.support-nav-btn svg.support-bubble{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.support-past{padding:8px 0 12px;border-bottom:1px solid #e7ebf0}
.support-past-title{font-size:12px;color:#5f6b7b;margin-bottom:8px}
.support-form{display:flex;align-items:center;gap:8px;padding:10px;border-top:1px solid #e7ebf0;background:#fff}
.support-form input{flex:1;min-width:0;width:auto;border:1px solid #e7ebf0;border-radius:8px;padding:8px 10px;font-size:14px}
.support-form button{flex:0 0 auto;white-space:nowrap;border:0;background:#07c160;color:#fff;border-radius:8px;height:40px;min-width:72px;padding:0 16px;line-height:40px}
.support-form .support-attach{display:inline-flex;align-items:center;justify-content:center;min-width:40px;width:40px;padding:0;background:#fff;color:#5f6b7b;border:1px solid #e7ebf0}
.support-form .support-attach svg{width:20px;height:20px}
.support-form .support-attach:hover{color:#07c160;border-color:#07c160}
.support-form .support-attach.is-busy{opacity:.5;cursor:wait}
.support-img-link{display:block;margin-top:2px;line-height:0}
.support-img{display:block;max-width:180px;max-height:220px;border-radius:6px;object-fit:contain;background:#f2f3f5}
.support-img-tip{display:block;margin-top:6px;font-size:12px;line-height:1.4;color:#8993a1}
.support-agent{display:flex;min-height:0;flex:1}
.support-list{width:280px;border-right:1px solid #e7ebf0;overflow:auto;background:#fff}
.support-list button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;border-bottom:1px solid #f0f2f5;background:#fff;padding:10px;font-size:13px}
.support-list button .support-avatar-wrap{width:28px;height:28px}
.support-list button .support-avatar{width:28px;height:28px}
.support-list .support-vip{width:12px;height:12px;font-size:9px;line-height:10px;right:-2px;bottom:-2px}
.support-list button .support-list-text{min-width:0;flex:1}
.support-list button .support-list-text b,.support-list button .support-list-text div{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.support-list button.active{background:#edf9f2}
.support-list-unread{flex:none;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ff4d4f;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
.support-thread{flex:1;display:flex;flex-direction:column;min-width:0}
.support-desk{position:relative;height:calc(100vh - 220px);min-height:520px;background:#fff;border:1px solid #e7ebf0;border-radius:12px;display:flex;flex-direction:column;overflow:hidden}
.support-desk .support-agent{flex:1}
@media(max-width:1400px){
#primary-nav{gap:14px}
}
@media(max-width:1100px){
.menu-toggle{margin-left:auto}
.support-header-btn{margin-left:8px}
}
@media(max-width:767px){
#page-topbar .member-btn{padding:6px 8px;margin-right:4px;font-size:12px}
#page-topbar .member-btn .discount-tag{display:none}
#page-topbar .support-nav-btn{height:32px;margin:0 4px;padding:0 8px;gap:0}
#page-topbar .support-nav-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.support-desk{height:calc(100dvh - 210px);min-height:0}
.support-desk .support-agent{flex-direction:column}
.support-desk .support-list{width:100%;height:96px;display:flex;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid #e7ebf0}
.support-desk .support-list button{flex:0 0 168px;height:100%;border-bottom:0;border-right:1px solid #f0f2f5}
.support-panel{padding-top:env(safe-area-inset-top)}
.support-form{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.support-form input{font-size:16px}
.support-faq button{min-height:44px}
.support-dock .support-human{min-height:0;padding:8px 4px}
}
@media(max-width:640px){
.support-launch{right:12px;bottom:calc(16px + env(safe-area-inset-bottom));width:48px;padding:8px 4px 10px;gap:4px}
.support-launch-icon{width:28px;height:28px}
.support-launch-icon svg{width:17px;height:17px}
.support-launch-text{font-size:11px}
body.support-scroll-lock .support-launch{visibility:hidden}
.support-panel{left:0;right:0;bottom:0;width:100%;height:100%;height:100dvh;border-radius:0;border:0}
.support-list{width:108px}
.support-desk .support-list{width:100%}
}
