/* CXB Order Status：客户查看进度（0.6.0）。颜色跟随主题（currentColor / 半透明），不强加配色。 */
.cxb-osp{--osp-line:rgba(127,127,127,.25);--osp-muted:rgba(127,127,127,.95);--osp-bg:rgba(127,127,127,.08);margin:0 0 24px}
.cxb-osp *{box-sizing:border-box}
.cxb-osp-h{margin:0 0 14px;font-size:1.25em;line-height:1.3}
.cxb-osp--in-order{margin-top:20px;padding-top:16px;border-top:1px solid var(--osp-line)}
.cxb-osp--in-order .cxb-osp-h{font-size:1.1em}
.cxb-osp-empty,.cxb-osp-meta{color:var(--osp-muted)}
.cxb-osp-meta{margin:-8px 0 16px;font-size:.92em}
.cxb-osp-back{margin:0 0 10px}
.cxb-osp-more{margin:12px 0 0}
.cxb-osp-btn{display:inline-block;padding:.6em 1.2em;border:1px solid currentColor;border-radius:6px;text-decoration:none}
.cxb-osp-orders{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.cxb-osp-order{display:flex;gap:14px;align-items:center;padding:10px;border:1px solid var(--osp-line);border-radius:10px;color:inherit;text-decoration:none}
.cxb-osp-order:hover,.cxb-osp-order:focus-visible{background:var(--osp-bg)}
.cxb-osp-order-img{flex:0 0 72px;width:72px;height:72px;border-radius:8px;overflow:hidden;background:var(--osp-bg)}
.cxb-osp-order-img img{width:100%;height:100%;object-fit:cover;display:block}
.cxb-osp-ph{display:block;width:100%;height:100%}
.cxb-osp-order-b{display:flex;flex-direction:column;gap:2px;min-width:0}
.cxb-osp-order-b span{color:var(--osp-muted);font-size:.92em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cxb-osp-order-b .cxb-osp-count{font-size:.85em}
.cxb-osp-steps{list-style:none;margin:0;padding:0 0 0 22px;position:relative}
.cxb-osp-steps::before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:var(--osp-line)}
.cxb-osp-step{position:relative;margin:0 0 20px;padding:0}
.cxb-osp-step::before{content:"";position:absolute;left:-21px;top:6px;width:12px;height:12px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px var(--osp-bg)}
.cxb-osp-step:not(:first-child)::before{opacity:.45}
.cxb-osp-step-hd{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.cxb-osp-step-hd time{color:var(--osp-muted);font-size:.88em}
.cxb-osp-note{margin:6px 0 0;line-height:1.6;word-break:break-word}
.cxb-osp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-top:10px;max-width:640px}
.cxb-osp-m{position:relative;display:block;aspect-ratio:1/1;width:100%;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--osp-bg);cursor:zoom-in}
.cxb-osp-m img{width:100%;height:100%;object-fit:cover;display:block}
.cxb-osp-m.is-video{background:#1f2937;box-shadow:inset 0 0 0 1px rgba(127,127,127,.45);cursor:pointer}
.cxb-osp-m:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.cxb-osp-play{position:absolute;left:50%;top:50%;width:38px;height:38px;margin:-19px 0 0 -19px;border-radius:50%;background:rgba(0,0,0,.55)}
.cxb-osp-play::after{content:"";position:absolute;left:15px;top:11px;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff}
.cxb-osp-lb{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:52px 56px;background:rgba(0,0,0,.92)}
.cxb-osp-lb-stage{display:flex;max-width:100%;max-height:100%}
.cxb-osp-lb-stage img,.cxb-osp-lb-stage video{max-width:calc(100vw - 112px);max-height:calc(100vh - 110px);object-fit:contain;background:#000}
.cxb-osp-lb-x,.cxb-osp-lb-nav{position:absolute;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:28px;line-height:44px;cursor:pointer}
.cxb-osp-lb-x{top:max(10px,env(safe-area-inset-top,0px));right:10px}
.cxb-osp-lb-nav{top:50%;margin-top:-22px}
.cxb-osp-lb-nav.is-prev{left:8px}
.cxb-osp-lb-nav.is-next{right:8px}
.cxb-osp-lb-x:hover,.cxb-osp-lb-nav:hover,.cxb-osp-lb-x:focus-visible,.cxb-osp-lb-nav:focus-visible{background:rgba(255,255,255,.3);outline:none}
.cxb-osp-lb-cap{position:absolute;left:0;right:0;bottom:max(14px,env(safe-area-inset-bottom,0px));color:#ddd;text-align:center;font-size:13px}
@media (max-width:600px){.cxb-osp-lb{padding:56px 6px}.cxb-osp-lb-stage img,.cxb-osp-lb-stage video{max-width:calc(100vw - 12px)}.cxb-osp-lb-nav{top:auto;bottom:max(8px,env(safe-area-inset-bottom,0px));margin-top:0}}
