#support-launch{position:fixed;right:24px;bottom:24px;z-index:90;border-radius:28px;background:#325a78;color:white;padding:14px 22px;box-shadow:0 4px 20px #253e5326}#support-panel{position:fixed;right:24px;bottom:24px;width:440px;max-width:calc(100vw - 32px);height:min(720px,calc(100dvh - 40px));z-index:200;display:flex;flex-direction:column;border:1px solid #dbe4ea;border-radius:16px;background:#fff;box-shadow:0 14px 60px #142b4530;overflow:hidden}#support-panel header{padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eaee}#support-panel small{display:block;font-size:12px;color:#73808b;margin:4px 0}#support-messages{flex:1;overflow:auto;padding:16px;background:#f5f7f9}.support-message{margin:0 0 16px;padding:12px;border-radius:10px;background:white;max-width:95%;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.support-message.customer{background:#e7eff8;margin-left:auto}.support-message img{max-width:100%;max-height:180px;object-fit:contain}#support-actions{display:flex;gap:8px;padding:8px 12px;flex-wrap:wrap}#support-actions button{font-size:12px;padding:7px}#support-send{padding:12px;border-top:1px solid #e5eaee}#support-text{box-sizing:border-box;width:100%;height:80px;resize:none;min-height:0;margin:0 0 8px}.support-compose{display:flex;gap:10px;align-items:center}.support-compose label{font-size:13px;cursor:pointer}.support-compose input{width:1px;height:1px;opacity:0;position:absolute}#support-file-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.support-compose button{margin-left:auto}#support-error,#support-config-error{color:#b42318;margin:4px 0;font-size:13px}.support-ticket{display:grid;grid-template-columns:1fr auto;text-align:left;width:100%;gap:8px;padding:18px;margin:10px 0;background:white;white-space:normal}.support-ticket small{grid-column:1/-1;color:#667781}.support-alert{padding:14px;border-left:4px solid #c0392b;background:#fff1ef;color:#9b2f22}.support-urgent{color:#b42318;font-weight:600}@media(max-width:760px){#support-launch{display:none}#support-panel{inset:0;width:100%;max-width:100%;height:100dvh;border-radius:0;box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom)}.support-ticket{grid-template-columns:1fr}#support-text{font-size:16px}.m-bottom:has([onclick*="support"]){grid-template-columns:repeat(4,minmax(0,1fr))}}

#support-reply-notice{position:fixed;right:24px;bottom:84px;z-index:190;max-width:calc(100vw - 32px);padding:14px 18px;background:#fff3e0;border:2px solid #bd6711;color:#773900;border-radius:12px;font-weight:600;box-shadow:0 4px 18px #0002;white-space:normal}#support-dot:not(:empty){display:inline-block;background:#c32e2e;color:white;border-radius:14px;min-width:20px;margin-left:6px;padding:2px 5px}.support-has-unread{position:relative}.support-has-unread:after{content:'新回复';position:absolute;top:0;right:0;border-radius:9px;padding:2px 5px;background:#c32e2e;color:white;font-size:10px}@media(max-width:760px){#support-reply-notice{left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));font-size:14px}}

#support-reasons{max-height:140px;overflow:auto;padding:0 12px;font-size:12px;color:#667781}#support-reasons p{overflow-wrap:anywhere}
