.ver-tag{display:inline-block;vertical-align:middle;margin-left:6px;padding:2px 8px;border-radius:6px;background:#EEF2FF;color:#5E6AD2;font-size:12px;font-weight:600;line-height:1.6}
/* 支付订单 v1.0 —— 页面专属（公共基础 = _common/web-list.css + spec-fab.js） */

/* 分段 Tab（状态 / 来源） */
.tabs { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; flex-wrap: wrap; }
.tabs-src { margin: 0 0 16px; }
.seg { display: flex; background: #F1F3F5; border-radius: 8px; padding: 4px; gap: 8px; }
.seg-item { padding: 8px 16px; border-radius: 6px; font-size: 13px; color: #5F6368; cursor: pointer; border: none; background: none; font-family: inherit; font-weight: 500; white-space: nowrap; }
.seg-item:hover { color: #202124; }
.seg-item.active { background: #fff; color: #202124; font-weight: 600; box-shadow: 0 2px 2px rgba(0,0,0,.06); }

/* 展开筛选 */
.toggle { color: #5E6AD2; cursor: pointer; font-size: 13px; padding: 4px 8px; border-radius: 6px; font-weight: 500; user-select: none; }
.toggle:hover { background: #F5F6FF; }
.range-sep { color: #9AA0A6; font-size: 13px; }
.date-wrap { display: inline-flex; }

/* 列头 + 订单卡（参考发货订单【独立卡片】式；列宽按比例均布，头列/体列同比例对齐） */
.content .pay-head { flex-shrink: 0; display: flex; align-items: center; background: #F9FAFB; border: 1px solid #F1F3F5; border-bottom: 2px solid #E8EAED; border-radius: 8px 8px 0 0; height: 38px; padding: 0 20px; font-size: 13px; font-weight: 600; color: #5F6368; }
.pay-head .ph { white-space: nowrap; }
.ph-info { flex: 2 1 0; }
.ph-price { flex: 1 1 0; }
.ph-qty { flex: 1 1 0; }
.ph-pay { flex: 1 1 0; }
.ph-amt { flex: 1 1 0; }

/* 列表滚动区（唯一滚动） */
.list { flex: 1 1 0%; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 14px 0 16px; }
.pay-list { display: flex; flex-direction: column; gap: 14px; }

/* 订单卡（白色圆角卡片 = 卡头 + 表体 + 底部操作条） */
.ocard { background: #fff; border: 1px solid #F1F3F5; border-radius: 8px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ocard:hover { border-color: #E8EAED; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.ocard-head { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: #FAFBFC; border-bottom: 2px solid #F1F3F5; flex-wrap: wrap; font-size: 12px; }
.oc-no { font-size: 13px; font-weight: 700; color: #202124; }
.ocard-head .stt { }
.hd-sep { width: 2px; height: 14px; background: #E8EAED; flex-shrink: 0; }
.hd-item { color: #5F6368; white-space: nowrap; }
.hd-item b { color: #5F6368; font-weight: 500; }
.ocard-body { display: flex; align-items: center; padding: 14px 20px; }
.oc-col { white-space: nowrap; }
.oc-info { flex: 2 1 0; min-width: 0; }
.oc-info .oc-box { font-size: 13px; font-weight: 600; color: #202124; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-info .oc-prod { font-size: 12px; color: #5F6368; margin-top: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-info .oc-sku { color: #9AA0A6; margin-left: 8px; }
.oc-info .oc-prod .pm-sep { color: #D1D5DB; margin: 0 8px; }
.oc-price { flex: 1 1 0; }
.oc-price b { font-size: 14px; font-weight: 700; color: #5E6AD2; font-family: inherit; }
.oc-price .oc-unit { font-size: 12px; color: #5F6368; margin-left: 2px; }
.oc-qty { flex: 1 1 0; }
.oc-qty .oc-x { color: #9AA0A6; font-weight: 700; margin-right: 1px; }
.oc-qty b { font-size: 15px; font-weight: 700; color: #5E6AD2; font-family: inherit; }
.oc-pay { flex: 1 1 0; }
.oc-amt { flex: 1 1 0; }
.oc-amt b { font-size: 14px; font-weight: 700; color: #5E6AD2; font-family: inherit; }
.oc-amt .oc-unit { font-size: 12px; color: #5F6368; margin-left: 2px; }
.oc-pay { width: 130px; }
.oc-amt { width: 150px; }
.oc-amt b { font-size: 14px; font-weight: 700; color: #5E6AD2; font-family: inherit; }
.oc-amt .oc-unit { font-size: 12px; color: #5F6368; margin-left: 2px; }
.ocard-ops { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 2px solid #F1F3F5; background: #FAFBFC; }

/* 支付状态标签（语义色） */
.stt { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.stt.t-pending { background: #FFF4E5; color: #FF9900; }
.stt.t-done { background: #ECFDF5; color: #15803D; }
.stt.t-cancel { background: #FEF2F2; color: #FF3B30; }

/* 支付方式标签（复用类型） */
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.tag.pts { background: #EEF2FF; color: #5E6AD2; }
.tag.wx { background: #E8F6EE; color: #0E9F6E; }

/* 详情弹窗（分组表单） */
.detail-modal { width: 720px; max-width: 92vw; }
.dv-group { margin-bottom: 16px; }
.dv-group:last-child { margin-bottom: 0; }
.dv-gh { font-size: 13px; font-weight: 700; color: #202124; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #F1F3F5; }
.dv-grid { display: grid; grid-template-columns: 96px 1fr 96px 1fr; gap: 12px 16px; font-size: 13px; }
.dv-lbl { color: #9AA0A6; font-weight: 500; }
.dv-val { color: #202124; font-weight: 600; word-break: break-all; }
.dv-empty { text-align: center; color: #9AA0A6; padding: 16px 0; font-size: 13px; }

/* 抽卡结果表（复用抽卡记录弹窗样式） */
.draw-scroll { overflow-x: auto; }
.dc-table { width: 100%; border-collapse: collapse; }
.dc-table th, .dc-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #F2F3F5; font-size: 13px; color: #374151; vertical-align: middle; }
.dc-table th { background: #F9FAFB; font-weight: 600; color: #5F6368; font-size: 12.5px; }
.dc-table tr:last-child td { border-bottom: none; }
.dc-cardno { color: #5E6AD2; font-weight: 600; cursor: pointer; }
.dc-cardno:hover { text-decoration: underline; }
.dc-no { color: #5F6368; font-weight: 600; }
.dg-cell { background: #F5F6FF; border-radius: 6px; padding: 8px 10px; text-align: center; vertical-align: middle; white-space: nowrap; border-right: 1px solid #EEF0F5; }
.dg-name { font-size: 13px; font-weight: 600; color: #202124; display: inline-flex; align-items: center; }
.dg-count { font-size: 12px; color: #9AA0A6; font-weight: 400; display: inline-flex; align-items: center; margin-left: 8px; }
.dg-count b { color: #5E6AD2; font-weight: 600; font-size: 13px; }
.rate-tag { display: inline-flex; align-items: center; background: #E3F2FB; color: #0F74B8; border-radius: 99px; padding: 2px 8px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
/* v3.0: 抽卡结果 主品/赠品 Tab + 赠品表（触发抽号/规则/限编数量） */
.res-seg { display: inline-flex; margin: 2px 0 10px; }
.res-seg .seg-item { padding: 5px 16px; font-size: 12.5px; }
.res-gift-n { color: #E8860C; margin-left: 2px; }
.gift-trig { font-weight: 600; color: #202124; white-space: nowrap; }
.gift-rule { color: #E8860C; font-size: 11px; margin-top: 2px; white-space: nowrap; }
.gift-ltd { color: #9CA3AF; font-size: 11px; }
/* v3.0(追加): 详情弹窗 2 Tab（订单信息/抽取结果）——Tab条固定在弹窗头部下方，不随内容滚动、不压表单 */
.detail-tabs { flex-shrink: 0; padding: 12px 20px; background: #fff; border-bottom: 1px solid #F1F3F5; }

/* 卡图查看（lightbox） */
.img-lightbox { position: fixed; inset: 0; z-index: 3100; background: rgba(0,0,0,.78); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.img-lightbox.show { display: flex; }
.img-lightbox img { max-width: 460px; max-height: 640px; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.img-close { color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; line-height: 1; opacity: .9; padding: 7px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.img-close:hover { opacity: 1; background: rgba(255,255,255,.18); }
#detailMask { z-index: 3000; }

/* 说明面板（spec-fab.js 浮层内内容） */
.spec-hd { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: #202124; user-select: none; }
.spec-hd:hover { background: #F9FAFB; }
.spec-arrow { transition: transform .2s; color: #9AA0A6; }
.spec-bd { flex: 1; overflow-y: auto; min-height: 0; padding: 0 20px 18px; }
.spec-section { margin-top: 16px; }
.spec-section:first-child { margin-top: 0; }
.spec-h { font-size: 13px; font-weight: 700; color: #202124; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid #F1F3F5; }
.spec-section p { font-size: 12.5px; color: #5F6368; line-height: 1.8; }
.spec-section ul { font-size: 12.5px; color: #5F6368; line-height: 1.8; padding-left: 18px; margin: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.spec-table th { background: #F9FAFB; padding: 6px 12px; text-align: left; font-size: 11.5px; color: #9AA0A6; border-bottom: 1px solid #F1F3F5; }
.spec-table td { padding: 6px 12px; border-bottom: 1px solid #F5F6F7; color: #5F6368; word-break: break-word; line-height: 1.7; vertical-align: top; }
.log-item { font-size: 12.5px; color: #5F6368; line-height: 1.7; padding: 5px 0; border-bottom: 1px dashed #F1F3F5; }
.log-item:last-child { border-bottom: none; }
.log-item b { color: #5E6AD2; font-weight: 600; margin-right: 6px; }
