/* ============================================================
 * ExpressTracking.css — ExpressTracking.html 独立样式
 * 弹性自适应布局，参考 Address
 * ============================================================ */

/* 返回箭头 */
.tab-back {
    position: absolute; left: 0.31rem; top: 0.52rem;
    border: 0; background: transparent; color: #666;
    padding: 0.08rem 0 0.06rem 0; cursor: pointer; line-height: 1;
    display: flex; align-items: center; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
/* 返回箭头尺寸已统一至 /back-nav.css */

/* 标题圆点（本页取消蓝色点） */
.tab-bar .tab-btn.active::after { display: none; }

html, body { height: 100%; }
html {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
html::-webkit-scrollbar { display: none; }
body {
            scrollbar-width: none;
            -ms-overflow-style: none;
            display: flex;
            flex-direction: column;
            font-family: Arial, sans-serif;
            font-size: 0.32rem;
            background: #f5f5f5;
            margin: 0;
            padding: 0;
            color: #333;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }
body::-webkit-scrollbar { display: none; }

/* ── 顶部栏（由 myinfo-tab-bar.css 统一管理）── */

/* ── 弹性容器 ── */
.container {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: none;
            margin: 0.02rem auto 0 auto;
            padding: 0 0.31rem;
            box-sizing: border-box;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
.container::-webkit-scrollbar { display: none; }
@media (min-width: 1070px) {
            .container {
                max-width: 96vw;
            }
        }/* ── 摘要行 ── */
.summary-row {
flex-shrink: 0;
            display: flex;
            align-items: baseline;
            justify-content: space-between; > * + * { margin-left: 0.19rem; }
padding: 0 0.04rem 0.15rem;
            color: #9e9e9e;
            font-size: 0.30rem;
        }
        /* ── 摘要行 ── */
.summary-row > * + * { margin-left: 0.19rem; }

/* ── 可滚动列表 ── */
.tracking-list {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
.tracking-list::-webkit-scrollbar { display: none; }
.tracking-empty {
            color: #b0b0b0;
            text-align: center;
            font-size: 0.30rem;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 50vh;
            width: 100%;
        }

/* ── 订单卡片（相同订单号合并）── */
.tracking-card {
            width: 100%;
            box-sizing: border-box;
            background: #fff;
            border-radius: 0.33rem;
            margin-bottom: 0.40rem;
            overflow: hidden;
            padding: 0.20rem 0 0.24rem;
        }
.card-header {
            display: flex;
            align-items: baseline;
            justify-content: flex-start;
            padding: 0.18rem 0.36rem;
            font-size: 0.32rem;
        }
.card-header-label { color: #b0b0b0; white-space: nowrap; margin-right: 0.06rem; }
.card-header-value { color: rgb(102, 102, 102); font-weight: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.card-header-arrow { color: #c8c8c8; font-size: 0.42rem; line-height: 1; margin-left: 0.06rem; flex: none; }
.card-header-link { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.card-header-sub {
            text-align: right;
            color: #b0b0b0;
            font-size: 0.30rem;
            padding: 0;
            white-space: nowrap;
            flex: none;
            margin-left: 0.2rem;
        }
.card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.36rem 0.20rem;
        }
.card-footer-order {
            color: #b0b0b0;
            font-size: 0.30rem;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-family: "PingFang SC", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
        }
/* ── 快递条目之间的分割线 ── */
.tracking-divider {
            height: 0.02rem;
            background: #f0f0f0;
            margin: 0.20rem 0.36rem;
        }

/* ── 快递条目 ── */
.tracking-item {
            width: 100%;
            box-sizing: border-box;
            border: none;
            background: transparent;
            padding: 0.20rem 0.36rem;
            margin-bottom: 0;
            text-align: left;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }
.tracking-item:active, .tracking-item:focus, .tracking-item:focus-visible {
            outline: none;
            background: transparent;
            box-shadow: none;
        }
.tracking-item:focus-visible {
            outline: none !important;
        }
.tracking-main {
display: flex;
            align-items: flex-start; > * + * { margin-left: 0.19rem; }
flex-wrap: nowrap;
        }
.tracking-main > * + * { margin-left: 0.19rem; }
.tracking-body {
            flex: 1;
            min-width: 0;
            overflow: hidden;
        }
.tracking-order {
display: flex;
            flex-direction: column;
            align-items: stretch;
margin-bottom: 0.14rem;
        }
.order-time {
            text-align: right;
            color: #999;
            font-size: 0.28rem;
            margin-top: 0;
            margin-bottom: 0.04rem;
        }
.order-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
.order-row > * + * { margin-left: 0.19rem; }
.order-no {
            min-width: 0;
            color: #333;
            font-size: 0.35rem;
            font-weight: 600;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
.status-pill {
            flex: none;
            color: #1976d2;
            background: #e3f2fd;
            border-radius: 999px;
            padding: 0.06rem 0.15rem;
            font-size: 0.27rem;
            max-width: 46%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
.status-pill.done { color: #2e7d32; background: #e8f5e9; }
.status-pill.warn { color: #ef6c00; background: #fff3e0; }
.meta-grid {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            color: #666;
            font-size: 0.32rem;
            line-height: 1.45;
            margin-bottom: 0.14rem;
        }
.meta-grid > * { margin-left: 0.72rem; margin-top: 0.12rem; }
.meta-grid > *:nth-child(2n+1) { margin-left: 0; }
.meta-grid > *:nth-child(-n+2) { margin-top: 0; }
.meta-label { color: #b0b0b0; white-space: nowrap; }
.meta-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.latest-trace {
            margin-top: 0.20rem;
            margin-bottom: 0.18rem;
            color: #888;
            font-size: 0.28rem;
            line-height: 1.4;
            display: flex;
            align-items: center;
        }
.latest-trace-text {
            flex: 1;
            min-width: 0;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
.latest-trace-arrow {
            flex: none;
            color: #c8c8c8;
            font-size: 0.36rem;
            line-height: 1;
            margin-left: 0.12rem;
        }
.chev {
            flex: none;
            color: #c8c8c8;
            font-size: 0.41rem;
            line-height: 1;
            padding-top: 0.44rem;
        }

/* ── NEW 徽标：绿色加粗闪烁，无底色框 ── */
@keyframes blink-new {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.new-badge {
    color: #4caf50;
    font-weight: bold;
    font-size: 0.26rem;
    margin-left: 0.12rem;
    display: inline;
}

/* ── 寄出/发货标签（内嵌于快递单号文字中）── */
.ship-badge {
    font-size: 0.35rem;
    font-weight: 600;
}
.ship-badge.ship-out { color: #ef6c00; }
.ship-badge.ship-in  { color: #1976d2; }