/* Real XHS share links; works with existing chat bubble themes. */
.msg-bubble.msg-xhs{padding:10px!important;min-width:0;max-width:min(300px,72vw);white-space:normal;}
.xhs-share-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 2px 10px;}
.xhs-share+.xhs-share{margin-top:12px;}
.xhs-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:12px;border:1px solid rgba(127,127,127,.18);border-radius:14px;background:#fff;color:#242424;text-decoration:none!important;overflow:hidden;box-sizing:border-box;}
.xhs-card-cover{display:flex;width:72px;height:82px;object-fit:cover;border-radius:9px;align-items:center;justify-content:center;}
.xhs-card-placeholder{background:#fff0f2;color:#e83250;font-size:15px;font-weight:800;letter-spacing:-1px;}
.xhs-card-copy{display:flex;min-width:0;flex-direction:column;gap:7px;}
.xhs-card-copy strong{font-size:14px;font-weight:650;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;}
.xhs-card-copy>span{font-size:11px;line-height:1.5;color:#777;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;}
.xhs-card-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding-top:9px;font-size:10px;color:#909090;}
.xhs-card-footer b{font-size:11px;color:#ee3453;font-weight:700;}
.xhs-read-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 2px 0;font-size:10px;line-height:1.4;opacity:.85;}
.xhs-read-row button{font:inherit;color:inherit;background:none;border:0;padding:4px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
.xhs-card:focus-visible,.xhs-read-row button:focus-visible{outline:2px solid #ee3453;outline-offset:3px;}
.xhs-read-row button:disabled{opacity:.5;cursor:wait;}
