/* 顶栏功能：客服咨询 / 关注我们 / 建议反馈 / 系统消息 弹层样式 */
.km-ov{position:fixed;top:0;right:0;bottom:0;left:0;z-index:99998;background:transparent}
.km-pop{position:fixed;z-index:99999;width:340px;max-height:78vh;overflow:auto;background:#fff;border:1px solid #e9edf3;border-radius:14px;box-shadow:0 18px 48px rgba(31,45,77,.18);padding:0;font-size:14px;color:#1f2d4d;animation:kmPopIn .16s ease-out}
@keyframes kmPopIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.km-pop__hd{position:sticky;top:0;background:#fff;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 16px 12px;border-bottom:1px solid #f1f3f7;font-weight:700;font-size:15px}
.km-pop__x{border:0;background:transparent;color:#aab3c2;font-size:18px;line-height:1;cursor:pointer;padding:2px 4px}
.km-pop__x:hover{color:#36B8F0}
.km-pop__bd{padding:14px 16px 16px}
.km-row{display:flex;align-items:center;gap:8px}
.km-muted{color:#8a93a5;font-size:13px;line-height:1.7}
.km-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;padding:0 14px;border-radius:9px;border:1px solid #CFE9FA;background:#EAF7FE;color:#1B9BD8;font-size:13px;cursor:pointer;font-family:inherit;transition:.15s;white-space:nowrap}
.km-btn:hover{background:#DFF2FE}
.km-btn--primary{border:0;background:linear-gradient(135deg,#56C6F5,#2AA9E6);color:#fff;box-shadow:0 8px 18px rgba(42,169,230,.26)}
.km-btn--primary:hover{background:linear-gradient(135deg,#4BC1F2,#1B9BD8)}
.km-btn--ghost{border:0;background:transparent;color:#8a93a5}
.km-btn--ghost:hover{color:#1B9BD8;background:transparent}
.km-btn[disabled]{opacity:.6;cursor:not-allowed;box-shadow:none}

/* 客服 */
.km-cs__qr{width:150px;height:150px;margin:12px auto 6px;border:1px solid #eef1f6;border-radius:12px;overflow:hidden;background:#f8fafc}
.km-cs__qr img{width:100%;height:100%;object-fit:cover;display:block}
.km-cs__wx{margin:10px 0 14px;padding:10px 12px;border-radius:10px;background:#F6FAFE;display:flex;align-items:center;justify-content:space-between;font-size:13px}
.km-cs__wx b{color:#1B9BD8;letter-spacing:.5px}
.km-faq{margin-top:4px;border-top:1px dashed #edf0f5;padding-top:10px}
.km-faq__t{font-size:12px;color:#a1a9b8;margin-bottom:6px}
.km-faq__q{padding:8px 0;border-bottom:1px dashed #f2f4f8;cursor:pointer;font-size:13px;color:#41506e;display:flex;justify-content:space-between;gap:10px}
.km-faq__q:hover{color:#1B9BD8}
.km-faq__q:last-child{border-bottom:0}
.km-faq__q i{font-style:normal;color:#b9c1cd}
.km-faq__a{display:none;padding:8px 10px;margin:2px 0 8px;background:#F7F9FC;border-radius:8px;color:#6b7488;font-size:13px;line-height:1.7}
.km-faq__a.on{display:block}

/* 关注我们 */
.km-follow__item{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px dashed #f2f4f8}
.km-follow__item:last-child{border-bottom:0}
.km-follow__ico{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#EAF7FE;color:#1B9BD8;font-size:15px;flex:0 0 auto}
.km-follow__main{flex:1;min-width:0}
.km-follow__name{font-size:13px;font-weight:600}
.km-follow__val{font-size:12px;color:#8a93a5;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 建议反馈 */
.km-fb__chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 12px}
.km-fb__chip{padding:6px 12px;border-radius:16px;border:1px solid #e6ebf2;background:#fff;color:#5b6880;font-size:13px;cursor:pointer;transition:.15s}
.km-fb__chip.on{border-color:#2AA9E6;background:#EAF7FE;color:#1B9BD8;font-weight:600}
.km-fb__ta{width:100%;box-sizing:border-box;min-height:104px;resize:vertical;border:1px solid #e6ebf2;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.7;font-family:inherit;color:#1f2d4d;outline:none}
.km-fb__ta:focus,.km-fb__in:focus{border-color:#2AA9E6}
.km-fb__in{width:100%;box-sizing:border-box;height:36px;border:1px solid #e6ebf2;border-radius:10px;padding:0 12px;font-size:13px;font-family:inherit;color:#1f2d4d;outline:none;margin-top:10px}
.km-fb__meta{display:flex;justify-content:space-between;align-items:center;margin-top:8px;font-size:12px;color:#aab3c2}
.km-fb__foot{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}
.km-fb__list{margin-top:16px;border-top:1px dashed #edf0f5;padding-top:10px}
.km-fb__li{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed #f2f4f8;font-size:12px;color:#6b7488}
.km-fb__li:last-child{border-bottom:0}
.km-fb__li b{color:#41506e;font-weight:600;display:block;margin-bottom:2px;font-size:13px}
.km-fb__st{color:#2AA9E6;flex:0 0 auto;font-size:12px}

/* 系统消息 */
.km-msg{display:flex;gap:10px;padding:12px 0;border-bottom:1px dashed #f2f4f8;cursor:pointer}
.km-msg:last-child{border-bottom:0}
.km-msg__dot{width:8px;height:8px;border-radius:50%;background:#FF6B6B;margin-top:6px;flex:0 0 auto}
.km-msg__dot.read{background:#e3e8f0}
.km-msg__main{flex:1;min-width:0}
.km-msg__tt{font-size:13px;font-weight:600;color:#1f2d4d;display:flex;gap:8px;align-items:center}
.km-msg__tag{font-size:11px;font-weight:400;color:#1B9BD8;background:#EAF7FE;border-radius:5px;padding:1px 6px}
.km-msg__tag.sys{color:#8a93a5;background:#F2F4F8}
.km-msg__tag.act{color:#E08A45;background:#FDF1E6}
.km-msg__sum{font-size:12px;color:#8a93a5;margin-top:3px;line-height:1.6}
.km-msg__full{display:none;margin-top:6px;font-size:13px;line-height:1.7;color:#41506e;background:#F7F9FC;border-radius:8px;padding:8px 10px}
.km-msg.open .km-msg__full{display:block}
.km-msg__time{font-size:11px;color:#b9c1cd;margin-top:4px}

/* 红点 */
.km-badge{position:absolute;top:-2px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#FF6B6B;color:#fff;font-size:11px;line-height:16px;text-align:center;font-weight:600;box-shadow:0 2px 6px rgba(255,107,107,.4)}
.km-has-badge{position:relative}

/* toast */
.km-toast{position:fixed;left:50%;bottom:80px;transform:translateX(-50%);z-index:100000;background:rgba(31,45,77,.92);color:#fff;font-size:13px;padding:10px 18px;border-radius:20px;box-shadow:0 10px 26px rgba(31,45,77,.28);animation:kmPopIn .18s ease-out}
@media(max-width:640px){.km-pop{left:8px!important;right:8px;width:auto}}
