/* 咨询订单卡片：紧凑尺寸，保持商品图和金色状态 */
.order-card-msg[data-seller]{box-sizing:border-box;width:min(310px,calc(100vw - 44px));max-width:100%;min-width:0;padding:0!important;background:#fff;border:1px solid rgba(39,49,58,.08);border-radius:12px;overflow:hidden}
.order-card-msg[data-seller] .order-card-seller{display:none!important}
.order-card-msg[data-seller] .order-card-inner{display:flex;align-items:stretch;gap:9px;box-sizing:border-box;min-width:0;min-height:86px;padding:9px}
.order-card-msg[data-seller] .order-card-img,.order-card-msg[data-seller] .order-card-img-placeholder{box-sizing:border-box;width:72px;height:72px;flex:0 0 72px;border-radius:8px;object-fit:cover;background:#f1f2f3}
.order-card-msg[data-seller] .order-card-img-placeholder{display:flex;align-items:center;justify-content:center;color:#a0a5a9;font-size:11px}
.order-card-msg[data-seller] .order-card-body{display:flex;flex:1;flex-direction:column;min-width:0;gap:5px}
.order-card-msg[data-seller] .order-card-detail{display:flex;align-items:flex-start;flex:1;min-width:0;gap:6px}
.order-card-msg[data-seller] .order-card-name{flex:1;min-width:0;margin:0;color:#202428;font-size:14px;font-weight:500;line-height:1.35;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.order-card-msg[data-seller] .order-card-price-wrap{flex:0 0 auto;min-width:54px;margin-left:auto;text-align:right;white-space:nowrap}
.order-card-msg[data-seller] .order-card-currency,.order-card-msg[data-seller] .order-card-price{color:#202428;font-size:15px;font-weight:600}
.order-card-msg[data-seller] .order-card-count{display:block;margin-top:4px;color:#8c9297;font-size:13px;line-height:1.1}
.order-card-msg[data-seller] .order-card-status{display:block;margin-top:auto;color:#e2c52f!important;font-size:14px;font-weight:600;line-height:1.2;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-card-msg[data-seller] .order-card-status:empty::before{content:"交易成功 ›"}
.order-card-msg[data-seller] .order-card-status:not(:empty)::after{content:" ›"}
@media (max-width:480px){.order-card-msg[data-seller]{width:min(310px,calc(100vw - 30px))}.order-card-msg[data-seller] .order-card-inner{gap:7px;padding:8px;min-height:76px}.order-card-msg[data-seller] .order-card-img,.order-card-msg[data-seller] .order-card-img-placeholder{width:64px;height:64px;flex-basis:64px;border-radius:7px}.order-card-msg[data-seller] .order-card-name{font-size:13px}.order-card-msg[data-seller] .order-card-currency,.order-card-msg[data-seller] .order-card-price,.order-card-msg[data-seller] .order-card-count{font-size:13px}.order-card-msg[data-seller] .order-card-status{font-size:13px}}
@media (max-width:360px){.order-card-msg[data-seller]{width:calc(100vw - 20px)}.order-card-msg[data-seller] .order-card-inner{gap:6px;padding:7px}.order-card-msg[data-seller] .order-card-img,.order-card-msg[data-seller] .order-card-img-placeholder{width:58px;height:58px;flex-basis:58px}.order-card-msg[data-seller] .order-card-price-wrap{min-width:48px}.order-card-msg[data-seller] .order-card-name{font-size:12px}}


/* 实际聊天订单卡没有 data-seller 属性，以下规则确保发送后的卡片也使用紧凑布局。 */
.order-card-msg{box-sizing:border-box;width:min(310px,calc(100vw - 44px));max-width:100%;min-width:0;padding:0!important;background:#fff;border:1px solid rgba(39,49,58,.08);border-radius:12px;overflow:hidden}
.order-card-msg .order-card-inner{display:flex;align-items:stretch;gap:9px;box-sizing:border-box;min-width:0;min-height:86px;padding:9px}
.order-card-msg .order-card-img,.order-card-msg .order-card-img-placeholder{box-sizing:border-box;width:72px;height:72px;flex:0 0 72px;border-radius:8px;object-fit:cover;background:#f1f2f3}
.order-card-msg .order-card-img-placeholder{display:flex;align-items:center;justify-content:center;color:#a0a5a9;font-size:11px}
.order-card-msg .order-card-body{display:flex;flex:1;flex-direction:column;min-width:0;gap:5px}
.order-card-msg .order-card-detail{display:flex;align-items:flex-start;flex:1;min-width:0;gap:6px}
.order-card-msg .order-card-name{flex:1;min-width:0;margin:0;color:#202428;font-size:14px;font-weight:500;line-height:1.35;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.order-card-msg .order-card-price-wrap{flex:0 0 auto;min-width:54px;margin-left:auto;text-align:right;white-space:nowrap}
.order-card-msg .order-card-currency,.order-card-msg .order-card-price{color:#202428;font-size:15px;font-weight:600}
.order-card-msg .order-card-count{display:block;margin-top:4px;color:#8c9297;font-size:13px;line-height:1.1}
.order-card-msg .order-card-status{display:block;margin-top:auto;color:#e2c52f!important;font-size:14px;font-weight:600;line-height:1.2;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:480px){.order-card-msg{width:min(310px,calc(100vw - 30px))}.order-card-msg .order-card-inner{gap:7px;padding:8px;min-height:76px}.order-card-msg .order-card-img,.order-card-msg .order-card-img-placeholder{width:64px;height:64px;flex-basis:64px;border-radius:7px}.order-card-msg .order-card-name{font-size:13px}.order-card-msg .order-card-currency,.order-card-msg .order-card-price,.order-card-msg .order-card-count{font-size:13px}.order-card-msg .order-card-status{font-size:13px}}
@media (max-width:360px){.order-card-msg{width:calc(100vw - 20px)}.order-card-msg .order-card-inner{gap:6px;padding:7px}.order-card-msg .order-card-img,.order-card-msg .order-card-img-placeholder{width:58px;height:58px;flex-basis:58px}.order-card-msg .order-card-price-wrap{min-width:48px}.order-card-msg .order-card-name{font-size:12px}}
