/* ② 结账弹窗 —— merged-checkout/*（origin/main）。 */
.co { position: absolute; left: 120px; top: 45px; width: 1200px; height: 810px; z-index: 50; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(10, 22, 41, .12); display: flex; flex-direction: column; overflow: hidden; animation: kt-pop .25s ease; }
.co-h { flex: none; display: flex; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--divider); }
.co-h > div { display: flex; flex-direction: column; gap: 2px; }
.co-h b { font-size: 18px; font-weight: 600; color: #0A1629; } .co-h small { font-size: 13px; color: #64748B; }
.co-x { margin-left: auto; width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #64748B; }
.co-b { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 440px; }

/* 左栏 */
.bill { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; overflow: hidden; }
.bl-h { display: flex; align-items: baseline; gap: 8px; } .bl-h b { font-size: 15px; font-weight: 600; color: #0A1629; } .bl-h small { font-size: 13px; color: #94A3B8; }
.ord { border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; }
.ord-h { display: flex; align-items: center; gap: 10px; background: #F9FAFB; padding: 12px 16px; border-bottom: 1px solid #E5E7EB; border-radius: 12px 12px 0 0; }
.ord-n { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-700); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.ord-h b { font-size: 14px; font-weight: 600; color: #0A1629; } .ord-h small { font-size: 12px; color: #64748B; }
.ord-b { padding: 4px 16px 12px; }
.svc-card { border-radius: 12px; border: 1px solid #E5E7EB; margin-top: 8px; }
.sc-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--divider); }
.sc-h b { font-size: 14px; font-weight: 600; color: #0A1629; }
.ok-pill { border-radius: 12px; background: #E7F7EF; color: #0F766E; padding: 3px 8px; font-size: 12px; font-weight: 600; }
.sr { border-bottom: 1px solid #F3F4F6; }
.sr-top { display: flex; min-height: 64px; align-items: center; gap: 12px; padding: 12px 16px 4px; }
.sr-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.sr-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sr-main b { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: #0A1629; } .sr-main b .lu { color: #94A3B8; }
.sr-main small { font-size: 12px; color: #64748B; font-variant-numeric: tabular-nums; }
.th-chip { display: inline-flex; height: 40px; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid #E5E7EB; background: #fff; padding: 0 10px 0 6px; font-size: 13px; font-weight: 600; color: #0A1629; }
.th-chip .av { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-700); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kebab { width: 36px; height: 36px; border-radius: 8px; color: #64748B; display: inline-flex; align-items: center; justify-content: center; }
.sr-foot { position: relative; padding: 0 16px 12px 38px; }
.pk-trig { display: inline-flex; height: 40px; min-width: 140px; max-width: 280px; align-items: center; gap: 8px; border-radius: 5px; border: 1px solid #E4E8E9; background: #FAFAFA; padding: 0 12px; font-size: 14px; font-weight: 600; color: #0C0D0D; }
.pk-trig .lu { color: #64748B; margin-left: auto; }
.pk-trig.plain { font-weight: 500; color: #1C3E60; }
.tix { position: relative; width: 20px; height: 16px; border-radius: 3px; background: #3DCAB1; flex: none; }
.tix::before, .tix::after { content: ""; position: absolute; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.tix::before { left: -3px; } .tix::after { right: -3px; }
.pk-drop { position: absolute; left: 38px; top: 46px; width: 320px; z-index: 10; border-radius: 8px; background: #fff; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); padding: 6px; animation: kt-pop .2s ease; }
.pk-opt { border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.pk-opt.on { background: #F1F8F4; }
.pk-l1 { display: flex; align-items: center; gap: 8px; } .pk-l1 b { font-size: 14px; color: #0C0D0D; }
.pk-opt small { font-size: 12px; color: #64748B; }
.pk-use { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #64748B; }
.pk-use .stp { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #E5E7EB; border-radius: 6px; padding: 2px 8px; }
.pk-use .stp i { font-style: normal; color: #94A3B8; } .pk-use .stp b { color: #0A1629; font-size: 13px; }
.orig { font-size: 14px; font-weight: 600; color: #FE964A; }
.sc-add { display: flex; align-items: center; gap: 6px; padding: 12px 16px; font-size: 13px; font-weight: 600; color: #0F766E; }
.links { display: flex; align-items: center; gap: 16px; font-size: 13px; } .links a { color: var(--brand-700); font-weight: 500; }
.links span { margin-left: auto; color: #1C3E60; font-variant-numeric: tabular-nums; }
.adj { height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; border: 1px dashed #D8E0F0; font-size: 13px; font-weight: 500; color: #1C3E60; }
.adj small { color: #94A3B8; }
.totals { margin-top: auto; border-radius: 12px; background: #F9FAFB; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #1C3E60; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; } .totals .g span:last-child { color: #047857; }
.totals .d { font-weight: 600; color: #0A1629; } .totals .d b { font-weight: 700; }

/* 右栏 */
.money { background: #F8FAFB; border-left: 1px solid var(--divider); padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.hero { border-radius: 14px; border: 1px solid #E5E7EB; background: #fff; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero small { font-size: 12px; color: #64748B; } .hero b { font-size: 40px; line-height: 48px; font-weight: 700; color: #0A1629; font-variant-numeric: tabular-nums; transition: color .3s; }
.sec { display: flex; flex-direction: column; gap: 8px; }
.sec-h { display: flex; align-items: baseline; gap: 6px; } .sec-h b { font-size: 13px; font-weight: 600; color: #0A1629; } .sec-h small { font-size: 12px; color: #94A3B8; }
.sec-h a { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--brand-700); }
.ap-empty { margin: 0; font-size: 12px; color: #94A3B8; }
.ap-row { display: flex; align-items: center; gap: 8px; border-radius: 10px; border: 1px solid #E5E7EB; background: #fff; padding: 10px 12px; font-size: 13px; color: #1C3E60; animation: kt-pop .25s ease; }
.ap-row b { margin-left: auto; color: #047857; font-variant-numeric: tabular-nums; }
.tag-gc { border-radius: 4px; background: var(--warning-bg); color: #B45309; padding: 1px 6px; font-size: 11px; font-weight: 700; }
.gft-x { color: #94A3B8; display: inline-flex; }
.ex { border-radius: 12px; background: #fff; border: 1px solid #E5E7EB; padding: 12px; display: flex; flex-direction: column; gap: 10px; animation: kt-pop .2s ease; }
.ex-tabs { display: flex; gap: 3px; border-radius: 10px; background: #F3F4F6; padding: 3px; }
.ex-tabs span { flex: 1; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 500; color: #64748B; }
.ex-tabs span.on { background: #fff; color: #0F7A62; font-weight: 600; box-shadow: 0 1px 2px rgba(10, 22, 41, .08); }
.gft { display: flex; flex-direction: column; gap: 10px; }
.gft-h { display: flex; align-items: center; gap: 6px; color: #3DCAB1; } .gft-h b { font-size: 14px; color: #0A1629; }
.gft-panel { border-radius: 8px; border: 1px solid #F3F4F6; background: #F9FAFB; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.gft-panel small { font-size: 11px; color: #94A3B8; }
.gft-row { display: flex; gap: 8px; }
.gft-f { flex: 1; height: 38px; display: flex; align-items: center; border-radius: 8px; border: 1px solid #E5E7EB; background: #fff; padding: 0 10px; font-size: 13px; color: #0A1629; font-variant-numeric: tabular-nums; }
.gc-f.pin { flex: none; width: 88px; letter-spacing: .1em; }
.gc-f.focus { border-color: #3DCAB1; box-shadow: 0 0 0 3px rgba(61, 202, 177, .3); }
.ph { font-style: normal; color: #94A3B8; letter-spacing: 0; }
.gft-val { flex: 1; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #3DCAB1; background: #fff; font-size: 13px; font-weight: 600; color: #0F7A62; }
.gft-scan { height: 36px; display: inline-flex; align-items: center; border-radius: 8px; border: 1px solid #E5E7EB; padding: 0 12px; font-size: 13px; color: #1C3E60; }
.gft-card { display: flex; align-items: center; gap: 8px; border-radius: 10px; border: 1px solid #E5E7EB; padding: 8px 10px; font-size: 13px; animation: kt-pop .2s ease; }
.gft-ic { width: 32px; height: 32px; border-radius: 8px; background: #ECFBF6; color: #0F766E; display: inline-flex; align-items: center; justify-content: center; }
.gft-card b { color: #0A1629; } .gft-ok { border-radius: 999px; background: #DEF6F1; color: #047857; padding: 0 6px; font-size: 11px; font-weight: 600; } .gft-bal { margin-left: auto; color: #64748B; font-size: 12px; }
.gft-amt { display: flex; align-items: center; gap: 8px; } .gft-amt div { flex: 1; display: flex; flex-direction: column; } .gft-amt b { font-size: 13px; color: #0A1629; } .gft-amt small { font-size: 11px; color: #94A3B8; }
.gft-in { height: 36px; width: 96px; display: inline-flex; align-items: center; border-radius: 8px; border: 1.5px solid #3DCAB1; padding: 0 10px; font-size: 14px; font-weight: 600; color: #0A1629; }
.gft-max { border-radius: 999px; background: #ECFBF6; color: #0F766E; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.gft-rem { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #0F766E; }
.tip-g { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tip-t { min-height: 64px; border-radius: 12px; border: 1px solid #D8E0F0; background: #fff; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.tip-t.on { border: 1.5px solid #3DCAB1; background: #F1F8F4; }
.tip-t b { font-size: 13px; font-weight: 600; color: #0A1629; } .tip-t small { font-size: 11.5px; color: #64748B; }
.tip-in { width: 72px; height: 28px; display: inline-flex; align-items: center; gap: 2px; border-radius: 8px; border: 1px solid #D8E0F0; background: #fff; padding: 0 8px; font-size: 13px; color: #64748B; }
.tip-in i { font-style: normal; color: #94A3B8; }
.note { font-size: 12px; color: #94A3B8; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { height: 84px; border-radius: 14px; border: 1px solid #D8E0F0; background: #fff; padding: 0 16px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tile b { font-size: 16px; font-weight: 700; color: #0A1629; } .tile small { font-size: 12px; color: #64748B; }
.tile.pri { background: #0F766E; border-color: #0F766E; } .tile.pri b { color: #fff; } .tile.pri small { color: #E7F7EF; }
.other { height: 40px; display: flex; align-items: center; gap: 6px; border-radius: 10px; border: 1px solid #E5E7EB; background: #fff; padding: 0 12px; font-size: 13px; color: #1C3E60; white-space: nowrap; overflow: hidden; }
.other small { color: #94A3B8; overflow: hidden; text-overflow: ellipsis; } .other .lu { margin-left: auto; color: #94A3B8; flex: none; }
.cpn { display: flex; flex-direction: column; gap: 12px; height: 100%; animation: kt-pop .2s ease; }
.pills { display: flex; gap: 6px; } .pills span { border-radius: 999px; padding: 6px 12px; font-size: 13px; color: #64748B; border: 1px solid #E5E7EB; background: #fff; }
.pills span.on { background: #0F766E; color: #fff; border-color: #0F766E; font-weight: 600; }
.rd { display: flex; align-items: center; justify-content: space-between; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; padding: 12px 14px; }
.rd.on { border-color: #3DCAB1; background: #E5F8F4; } .rd.on .lu { color: #0F766E; }
.rd div { display: flex; flex-direction: column; } .rd b { font-size: 14px; color: #0A1629; } .rd small { font-size: 12px; color: #047857; }
.tl { font-size: 12px; color: #718096; }
.cp-btns { margin-top: auto; display: flex; gap: 8px; }
.b-out { display: inline-flex; height: 40px; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; border: 1px solid #D8E0F0; background: #fff; padding: 0 16px; font-size: 14px; font-weight: 600; color: #1C3E60; }
.b-out.full { width: 100%; height: 44px; margin-top: auto; }
.b-pri { flex: 1; display: inline-flex; height: 40px; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; background: var(--brand-700); font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; }
.b-pri.sm { flex: none; height: 32px; border-radius: 8px; padding: 0 12px; font-size: 13px; }
.wait { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; animation: kt-pop .2s ease; }
.spin { width: 72px; height: 72px; border-radius: 50%; border: 6px solid #E7F7EF; border-top-color: #3DCAB1; animation: kt-spin 1s linear infinite; margin-top: auto; }
@keyframes kt-spin { to { transform: rotate(360deg); } }
.wait b { font-size: 32px; color: #0A1629; } .wait p { margin: 0; font-size: 16px; font-weight: 600; color: #0A1629; } .wait small { font-size: 13px; color: #64748B; }
.succ { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; animation: kt-pop .25s ease; }
.ok-c { margin-top: 20px; width: 60px; height: 60px; border-radius: 50%; background: var(--success-bg); color: #047857; display: inline-flex; align-items: center; justify-content: center; }
.paid { font-size: 22px; font-weight: 700; color: #0A1629; } .succ > small { font-size: 13px; color: #64748B; }
.rcpt { width: 100%; border-radius: 14px; background: #fff; border: 1px solid #E5E7EB; padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; text-align: left; }
.rcpt div { display: flex; flex-direction: column; } .rcpt small { color: #64748B; } .rcpt b { color: #0A1629; white-space: nowrap; }
.bn { width: 100%; border-radius: 12px; border: 1px solid #ADE8DC; background: #F1F8F4; padding: 12px 14px; display: flex; align-items: center; gap: 10px; text-align: left; }
.bn div { flex: 1; display: flex; flex-direction: column; } .bn b { font-size: 13px; color: #0A1629; } .bn small { font-size: 12px; color: #64748B; }
.b-dark { margin-top: auto; width: 100%; height: 48px; border-radius: 12px; background: #0A1629; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
@keyframes kt-pop { from { transform: scale(.97); opacity: 0; } }
