/* 订单筛选 + 实时物流 */
.otabs button, .motabs span { cursor: pointer; }
.otabs button.on, .motabs span.on { color: #111; border-color: #111; }
.orders-empty { padding: 28px 0; color: #999; font: 400 12px/20px var(--sans); }
.morders-empty { padding: 20px 0; color: #999; font: 400 11px/18px var(--sans); }

.order-card__acts button { cursor: pointer; }
.order { grid-template-columns: 180px 1fr 76px 108px 190px; gap: 14px; }
.order__st, .order__act a { white-space: nowrap; }
.order__act { gap: 8px; }
.order-card__acts .live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #ff5a1f; margin-right: 5px; animation: olpulse 1.4s ease-in-out infinite; }
@keyframes olpulse { 0%,100%{opacity:.35;transform:scale(.8)} 50%{opacity:1;transform:scale(1.2)} }

/* 物流面板 */
.olayer { position: fixed; inset: 0; z-index: 950; display: none; align-items: center; justify-content: center; background: rgba(12,12,12,.55); backdrop-filter: blur(8px); padding: 20px; }
.olayer.on { display: flex; }
.olayer__map { height: 230px; margin-top: 14px; border-radius: 14px; overflow: hidden; background: #f4f4f4; position: relative; border: 1px solid #eee; }
.olayer__map-loading { height: 100%; display: grid; place-items: center; color: #999; font: 400 11px/18px var(--sans); text-align: center; padding: 20px; }
.order-map-pin { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 var(--sans); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.order-map-pin--start { background: #111; }
.order-map-pin--end { background: #ff5a1f; }
.order-map-pin--courier { width: 32px; height: 32px; background: #fff; font-size: 15px; border: 1px solid #eee; }
@media (max-width: 600px) { .olayer__map { height: 190px; } }
.obox { width: 560px; max-width: 100%; max-height: 88vh; overflow: auto; background: #fff; border-radius: 24px; padding: 24px 26px; box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.obox__hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.obox__hd p { color: #ff5a1f; font: 500 9px/14px var(--sans); letter-spacing: .16em; }
.obox__hd h2 { margin-top: 4px; font: 700 25px/32px var(--sans); letter-spacing: -.03em; }
.obox__x { width: 30px; height: 30px; border-radius: 50%; background: #f4f4f4; color: #777; font-size: 20px; flex: none; }
.obox__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; padding-bottom: 12px; border-bottom: 1px solid #eee; color: #888; font: 400 10px/16px var(--sans); }
.obox__meta b { color: #111; font-weight: 500; }
.obox__now { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.obox__now b { color: #ff5a1f; font: 600 12px/18px var(--sans); }
.obox__now span { margin-left: auto; color: #999; font: 400 9px/14px var(--sans); }
.otrack { margin-top: 14px; }
.otrack__bar { height: 4px; background: #eee; border-radius: 4px; position: relative; }
.otrack__bar i { display: block; height: 100%; width: 0; background: #111; border-radius: 4px; transition: width .8s linear; }
.otrack__truck { position: absolute; top: -9px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid #ddd; display: grid; place-items: center; font-size: 10px; transform: translateX(-50%); transition: left .8s linear; box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.otrack__cities { display: flex; justify-content: space-between; margin-top: 8px; color: #aaa; font: 400 8px/12px var(--sans); }
.otrack__cities .on { color: #111; }
.otimeline { margin-top: 16px; padding-left: 8px; }
.otimeline__item { position: relative; padding: 0 0 16px 24px; border-left: 1px solid #eee; }
.otimeline__item:last-child { border-left-color: transparent; padding-bottom: 0; }
.otimeline__item::before { content: ""; position: absolute; left: -4px; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: #e4e4e4; }
.otimeline__item.done::before { background: #111; }
.otimeline__item.now::before { background: #ff5a1f; box-shadow: 0 0 0 4px rgba(255,90,31,.12); }
.otimeline__item b { display: block; color: #333; font: 500 11px/18px var(--sans); }
.otimeline__item span { display: block; margin-top: 2px; color: #999; font: 400 9px/15px var(--sans); }
.obox__note { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; color: #aaa; font: 400 9px/15px var(--sans); }

@media (max-width: 600px) {
  .obox { padding: 20px 18px; border-radius: 20px; }
  .obox__hd h2 { font-size: 22px; line-height: 28px; }
}
