/* ⑩ 礼品卡 —— 取自 origin/main 的 Tailwind class（gift-cards-tab.tsx、gift-cards/_components/*、issued/page.tsx、[cardId]/page.tsx）
 * 与顾客网页（public-access/store/[account]/gift-cards，深色站点主题）。所有类名 gf- 前缀。 */
.gf-full { position: absolute; inset: 0; }
.gf-gap { flex: 1; }
.gf-sub { color: #64748B; font-size: 12px; }
.gf-mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.gf-trig { color: #94A3B8; flex: none; }
.gf-card { border-radius: 16px; border: 1px solid #E5E7EB; background: #fff; box-shadow: 0 2px 8px rgba(10, 22, 41, .04); }
.gf-p20 { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.gf-fresh { animation: gf-fresh 1.5s ease 2; }
@keyframes gf-fresh { 40% { background: #E7F7EF; } }
.gf-caret { display: inline-block; width: 1.5px; height: 18px; background: #0F766E; margin-left: 1px; animation: gf-blink 1s steps(1) infinite; vertical-align: middle; }
@keyframes gf-blink { 50% { opacity: 0; } }

/* 按钮 */
.gf-bp, .gf-bo, .gf-bg { display: inline-flex; height: 36px; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; padding: 0 14px; font-size: 14px; font-weight: 500; white-space: nowrap; flex: none; }
.gf-bp { background: #0F766E; color: #fff; }
.gf-bp.off { opacity: .45; }
.gf-bp.red { background: #DC2626; }
.gf-bp.wide { width: 100%; height: 44px; font-size: 15px; font-weight: 600; }
.gf-bp.big, .gf-bg.big { height: 44px; flex: 1; font-size: 14px; font-weight: 600; }
.gf-bo { border: 1px solid #3DCAB1; background: #fff; color: #0F766E; }
.gf-bg { border: 1px solid #D8E0F0; background: #fff; color: #1C3E60; }
.gf-ib { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #D8E0F0; display: inline-flex; align-items: center; justify-content: center; color: #64748B; }
.gf-sw { width: 36px; height: 20px; border-radius: 999px; background: #D8E0F0; position: relative; flex: none; display: inline-block; }
.gf-sw i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .2s; }
.gf-sw.on { background: #0F766E; } .gf-sw.on i { left: 18px; }

/* 状态徽标（card-status-badge.tsx） */
.gf-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.gf-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gf-b-act { background: #DEF6F1; color: #047857; }
.gf-b-pen { background: #F3F4F6; color: #64748B; }
.gf-b-frz { background: #E0F2FE; color: #0369A1; }

/* 卡面 */
.gf-face { position: relative; border-radius: 12px; background: linear-gradient(135deg, var(--c) 0%, color-mix(in srgb, var(--c) 72%, #0A1629) 100%); color: #fff; overflow: hidden; flex: none; }
.gf-face::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.gf-face:not(.big):not(.gf-fph) { height: 88px; padding: 10px 12px; }
.gf-fk { position: absolute; left: 12px; top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; opacity: .9; }
.gf-fpromo { position: absolute; right: 10px; top: 9px; z-index: 1; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #DC2626; font-size: 11px; font-weight: 700; padding: 1px 7px; }
.gf-fval { position: absolute; left: 12px; bottom: 9px; font-size: 22px; font-weight: 700; }
.gf-face.big { width: 320px; height: 200px; padding: 18px 20px; display: flex; flex-direction: column; }
.gf-fhead { display: flex; justify-content: space-between; font-size: 13px; position: relative; z-index: 1; }
.gf-fhead span { opacity: .85; }
.gf-fbal { margin-top: auto; display: flex; flex-direction: column; }
.gf-fbal small { font-size: 12px; opacity: .85; }
.gf-fbal b { font-size: 32px; font-weight: 700; line-height: 1.15; }
.gf-ffoot { margin-top: 10px; display: flex; justify-content: space-between; font-size: 12px; opacity: .9; font-family: ui-monospace, Menlo, monospace; }
.gf-face.gf-fph { width: 100%; height: 196px; padding: 18px 20px; display: flex; flex-direction: column; border-radius: 16px; }
.gf-thumb { width: 32px; height: 20px; border-radius: 4px; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 70%, #0A1629)); flex: none; }

/* ---------- 营销助手外框 ---------- */
.gf-vp { flex: 1; min-height: 0; position: relative; overflow: hidden; background: #fff; }
.gf-cam { position: absolute; left: 0; right: 0; top: 0; padding: 26px 32px 40px; display: flex; flex-direction: column; gap: 18px; }
.gf-ph { display: flex; align-items: flex-start; gap: 12px; }
.gf-ph .gf-trig { margin-top: 6px; }
.gf-ph h1, .gf-ih h1 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 600; color: #0A1629; }
.gf-ph p, .gf-ih p { margin: 2px 0 0; font-size: 13px; line-height: 20px; color: #64748B; }
.gf-tabs { display: flex; gap: 28px; border-bottom: 1px solid #EDEFF0; }
.gf-tab { display: inline-flex; align-items: center; gap: 6px; padding-bottom: 10px; font-size: 14px; font-weight: 500; color: #64748B; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.gf-tab.on { color: #0A1629; font-weight: 600; border-bottom-color: #3DCAB1; }
.gf-stub { padding: 6px 20px; }
.gf-srow { display: flex; align-items: center; gap: 12px; height: 56px; color: #0F766E; }
.gf-srow + .gf-srow { border-top: 1px solid #F3F4F6; }
.gf-srow b { flex: 1; font-size: 14px; color: #0A1629; font-weight: 600; } .gf-srow span { font-size: 14px; color: #1C3E60; width: 80px; } .gf-srow small { color: #64748B; width: 70px; }

/* 概览 */
.gf-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gf-metric { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.gf-metric small { font-size: 13px; color: #64748B; }
.gf-metric b { font-size: 26px; font-weight: 700; color: #0A1629; font-variant-numeric: tabular-nums; }
.gf-metric span { font-size: 12px; color: #94A3B8; }
.gf-ovh { display: flex; align-items: center; gap: 12px; }
.gf-ovh h3 { margin: 0; font-size: 17px; font-weight: 600; color: #0A1629; }
.gf-ovh p { margin: 2px 0 0; font-size: 13px; color: #64748B; }
.gf-acts { display: flex; align-items: center; gap: 8px; }
.gf-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.gf-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gf-sh { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 8px; }
.gf-sh > b, .gf-sh > div > b { font-size: 15px; font-weight: 600; color: #0A1629; }
.gf-sh > div { display: flex; flex-direction: column; gap: 2px; }
.gf-sh small { font-size: 12px; color: #64748B; }
.gf-sh a { font-size: 13px; font-weight: 500; color: #0F766E; }
.gf-rlist { padding: 0 8px 8px; }
.gf-rrow { display: grid; grid-template-columns: 32px 90px minmax(0, 1fr) 140px 74px 86px 50px; align-items: center; gap: 10px; height: 46px; padding: 0 10px; border-radius: 10px; font-size: 13px; color: #1C3E60; }
.gf-rrow + .gf-rrow { border-top: 1px solid #F3F4F6; }
.gf-cust { color: #0F766E; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-num b { font-weight: 600; color: #0A1629; } .gf-num small { color: #94A3B8; font-size: 12px; }
.gf-time { color: #64748B; font-size: 12px; }
.gf-dl { color: #0F766E; font-size: 13px; font-weight: 500; white-space: nowrap; text-align: right; }
.gf-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 4px 18px 16px; }
.gf-tile { display: flex; flex-direction: column; gap: 4px; border-radius: 12px; padding: 4px; }
.gf-tile b { font-size: 13px; font-weight: 600; color: #0A1629; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-tile small { font-size: 12px; color: #64748B; }
.gf-rules { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.gf-rules > b { font-size: 15px; font-weight: 600; color: #0A1629; }
.gf-rules > small { font-size: 12px; color: #64748B; margin-bottom: 6px; }
.gf-rule { display: flex; align-items: center; justify-content: space-between; height: 40px; border-top: 1px solid #F3F4F6; font-size: 13px; color: #1C3E60; }
.gf-rule i { font-style: normal; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: #F3F4F6; color: #64748B; }
.gf-rule i.on { background: #DEF6F1; color: #047857; }
.gf-rules a { margin-top: 6px; font-size: 13px; font-weight: 500; color: #0F766E; }

/* ---------- 已发出列表 ---------- */
.gf-bc { font-size: 13px; color: #64748B; } .gf-bc i { font-style: normal; margin: 0 4px; color: #94A3B8; } .gf-bc b { color: #0A1629; font-weight: 500; }
.gf-ih { display: flex; align-items: center; gap: 8px; }
.gf-tool { display: flex; align-items: center; gap: 12px; }
.gf-search { width: 280px; height: 36px; border-radius: 10px; border: 1px solid #D8E0F0; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; color: #94A3B8; font-size: 14px; }
.gf-search.focus { border: 2px solid #0F766E; padding: 0 11px; }
.gf-search b { color: #0A1629; font-weight: 500; } .gf-search i { font-style: normal; }
.gf-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #F3F4F6; }
.gf-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: #64748B; white-space: nowrap; border: 1px solid transparent; }
.gf-pill i { font-style: normal; font-size: 12px; color: #94A3B8; }
.gf-pill.on { background: #fff; color: #0A1629; box-shadow: 0 1px 2px rgba(10, 22, 41, .08); border-color: #E5E7EB; }
.gf-table { overflow: hidden; }
.gf-th, .gf-tr { display: grid; grid-template-columns: 210px minmax(0, 1fr) 90px 150px 96px 104px 108px 104px 56px; align-items: center; gap: 10px; padding: 0 18px; }
.gf-th { height: 40px; background: #F9FAFB; font-size: 12px; font-weight: 500; color: #64748B; }
.gf-tr { height: 56px; border-top: 1px solid #F3F4F6; font-size: 13px; color: #1C3E60; }
.gf-tr.dim { opacity: .55; }
.gf-cardc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gf-cardc > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.gf-cardc b { font-size: 13px; color: #0A1629; } .gf-cardc small { font-size: 12px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-balc { display: flex; flex-direction: column; gap: 5px; } .gf-balc b { font-weight: 600; color: #0A1629; }
.gf-balc i { height: 4px; border-radius: 2px; background: #EDEFF0; overflow: hidden; } .gf-balc s { display: block; height: 100%; background: #3DCAB1; }

/* ---------- 卡详情 ---------- */
.gf-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #64748B; width: fit-content; }
.gf-hero { padding: 24px; display: flex; gap: 28px; }
.gf-hr { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gf-ht { display: flex; align-items: center; gap: 10px; }
.gf-ht h2 { margin: 0; font-size: 20px; font-weight: 600; color: #0A1629; }
.gf-dstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gf-dstat { border-radius: 12px; background: #F9FAFB; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.gf-dstat small { font-size: 12px; color: #64748B; } .gf-dstat b { font-size: 18px; font-weight: 700; color: #0A1629; }
.gf-dacts { display: flex; gap: 8px; margin-top: 4px; }
.gf-dgrid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 16px; align-items: start; }
.gf-ct { font-size: 15px; font-weight: 600; color: #0A1629; display: flex; align-items: baseline; gap: 8px; }
.gf-ct small { font-size: 12px; font-weight: 400; color: #94A3B8; }
.gf-irow { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; } .gf-irow span { color: #64748B; } .gf-irow b { color: #0A1629; font-weight: 500; text-align: right; }
.gf-lth, .gf-ltr { display: grid; grid-template-columns: 1.2fr 1.1fr .9fr .7fr .8fr; gap: 10px; font-size: 13px; align-items: center; }
.gf-lth.log, .gf-ltr.log { grid-template-columns: 1fr .8fr .8fr 1fr 1.6fr; }
.gf-lth { color: #64748B; font-size: 12px; padding-bottom: 6px; border-bottom: 1px solid #F3F4F6; }
.gf-ltr { color: #1C3E60; height: 34px; }
.gf-role { font-size: 12px; font-weight: 600; color: #0F766E; }
.gf-tag { width: fit-content; border-radius: 6px; background: #DEF6F1; color: #047857; font-size: 12px; font-weight: 600; padding: 1px 8px; }
.gf-pos { color: #047857; font-weight: 600; }
.gf-menu { position: absolute; z-index: 50; left: 897px; top: 292px; width: 200px; border-radius: 12px; background: #fff; border: 1px solid #E5E7EB; box-shadow: 0 12px 32px rgba(10, 22, 41, .14); padding: 6px; display: flex; flex-direction: column; animation: kt-pop .18s ease; }
.gf-menu span { height: 36px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; font-size: 13px; color: #1C3E60; }
.gf-menu span.red { color: #DC2626; }

/* ---------- 弹窗 ---------- */
.gf-dwrap { position: absolute; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.gf-dlg { pointer-events: auto; background: #fff; border-radius: 18px; box-shadow: 0 12px 32px rgba(10, 22, 41, .18); display: flex; flex-direction: column; position: relative; animation: kt-pop .22s ease; max-height: 860px; }
.gf-w960 { width: 960px; } .gf-w760 { width: 760px; } .gf-w640 { width: 640px; } .gf-w600 { width: 600px; } .gf-w520 { width: 520px; } .gf-w480 { width: 480px; } .gf-w440 { width: 440px; } .gf-w400 { width: 400px; }
.gf-dh { display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px 12px; }
.gf-dh > div:first-child { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.gf-dh b { font-size: 18px; font-weight: 600; color: #0A1629; }
.gf-dh small { font-size: 13px; color: #64748B; }
.gf-x { color: #64748B; flex: none; margin-top: 2px; } .gf-x.abs { position: absolute; right: 16px; top: 16px; }
.gf-df { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid #EDEFF0; background: #F9FAFB; border-radius: 0 0 18px 18px; }
.gf-sb { padding: 4px 22px 18px; display: flex; flex-direction: column; gap: 16px; }
.gf-sec { display: block; font-size: 13px; font-weight: 600; color: #0A1629; margin-bottom: 8px; }
.gf-sech { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gf-sech small { font-size: 12px; color: #94A3B8; }
.gf-req { font-style: normal; color: #DC2626; }
.gf-opt { font-size: 12px; font-weight: 400; color: #94A3B8; }
.gf-segc { display: inline-flex; padding: 3px; border-radius: 10px; background: #F3F4F6; gap: 2px; }
.gf-segc span { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 13px; font-weight: 500; color: #64748B; white-space: nowrap; }
.gf-segc span.on { background: #fff; color: #0A1629; box-shadow: 0 1px 2px rgba(10, 22, 41, .1); font-weight: 600; }
.gf-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gf-f > span:first-child { font-size: 13px; font-weight: 500; color: #1C3E60; }
.gf-f small { font-size: 12px; color: #94A3B8; }
.gf-in { height: 40px; border-radius: 10px; border: 1px solid #D8E0F0; display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 14px; color: #0A1629; min-width: 0; background: #fff; }
.gf-in.focus { border: 2px solid #0F766E; padding: 0 11px; }
.gf-in.search { color: #94A3B8; } .gf-in.search b { color: #0A1629; font-weight: 500; }
.gf-in.sm { height: 32px; width: 220px; font-size: 13px; }
.gf-f.ro .gf-in { background: #F9FAFB; color: #64748B; }
.gf-in b { font-weight: 500; }
.gf-phd, .gf-pre { font-style: normal; color: #94A3B8; }
.gf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gf-hint { margin: 8px 0 0; font-size: 13px; color: #0F766E; font-weight: 500; }
.gf-info { margin: 0; display: flex; gap: 8px; align-items: flex-start; border-radius: 10px; background: #E0F2FE; color: #0369A1; font-size: 12px; line-height: 1.55; padding: 9px 12px; }
.gf-info .lu { flex: none; margin-top: 1px; }
.gf-warn { margin: 0; display: flex; gap: 8px; align-items: flex-start; border-radius: 10px; background: #FEF3C7; color: #B45309; font-size: 13px; line-height: 1.55; padding: 10px 12px; }
.gf-warn .lu { flex: none; margin-top: 2px; }
.gf-warn.blue { background: #E0F2FE; color: #0369A1; }
.gf-warn.red { background: #FEECED; color: #DC2626; }

/* 模板列表 */
.gf-tlf { display: flex; gap: 6px; padding: 0 22px 10px; }
.gf-tlh, .gf-tlr { display: grid; grid-template-columns: minmax(0, 1.6fr) 1.1fr .7fr .9fr .7fr; gap: 10px; align-items: center; padding: 0 22px; }
.gf-tlh { height: 36px; background: #F9FAFB; font-size: 12px; color: #64748B; }
.gf-tlr { height: 54px; border-top: 1px solid #F3F4F6; font-size: 13px; color: #1C3E60; }
.gf-tlr b { color: #0A1629; font-weight: 600; } .gf-tlr small { color: #94A3B8; }
.gf-pill2 { font-style: normal; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 8px; background: #DEF6F1; color: #047857; }

/* 模板编辑器 */
.gf-onsale { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #1C3E60; margin-right: 10px; margin-top: 2px; }
.gf-edb { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0; border-top: 1px solid #EDEFF0; }
.gf-edl { padding: 14px 22px 16px; display: flex; flex-direction: column; gap: 14px; }
.gf-edl section { display: flex; flex-direction: column; gap: 8px; }
.gf-edl section > .gf-sec { margin-bottom: 0; }
.gf-modes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gf-mode { border-radius: 10px; border: 1px solid #D8E0F0; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.gf-mode b { font-size: 13px; color: #0A1629; font-weight: 600; white-space: nowrap; } .gf-mode small { font-size: 11px; color: #64748B; line-height: 1.35; }
.gf-mode.on { border: 1.5px solid #3DCAB1; background: #F1F8F4; }
.gf-tg { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gf-tg > div { display: flex; flex-direction: column; } .gf-tg b { font-size: 13px; color: #0A1629; font-weight: 500; } .gf-tg small { font-size: 12px; color: #64748B; }
.gf-facerow { display: flex; align-items: center; gap: 14px; }
.gf-fl { width: 56px; font-size: 13px; color: #64748B; flex: none; }
.gf-sws { display: flex; gap: 8px; }
.gf-swatch { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.gf-swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0F766E; }
.gf-edr { border-left: 1px solid #EDEFF0; background: #F9FAFB; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.gf-sl { font-size: 12px; font-weight: 600; color: #94A3B8; }
.gf-pface { height: 184px; border-radius: 16px; padding: 16px 18px; color: #fff; display: flex; flex-direction: column; gap: 2px; background: linear-gradient(135deg, var(--c) 0%, color-mix(in srgb, var(--c) 70%, #0A1629) 100%); transition: background .3s; }
.gf-pface b { font-size: 14px; } .gf-pface > span { font-size: 12px; opacity: .85; }
.gf-pface strong { margin-top: auto; font-size: 30px; font-weight: 700; } .gf-pface small { font-size: 12px; opacity: .9; min-height: 16px; }
.gf-buyer { border-radius: 12px; background: #fff; border: 1px solid #E5E7EB; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.gf-buyer small { font-size: 12px; color: #64748B; }
.gf-buyer > div { display: flex; align-items: baseline; gap: 8px; } .gf-buyer b { font-size: 20px; color: #0A1629; } .gf-buyer s { color: #94A3B8; font-size: 13px; }
.gf-pchip { border-radius: 999px; background: #FEECED; color: #DC2626; font-size: 11px; font-weight: 700; padding: 1px 8px; }

/* 开新卡 */
.gf-steps { display: flex; align-items: center; gap: 6px; margin: 4px 14px 0 0; }
.gf-steps span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #94A3B8; white-space: nowrap; }
.gf-steps span i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #D8E0F0; font-style: normal; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.gf-steps span.on { color: #0A1629; font-weight: 600; } .gf-steps span.on i { border: 0; background: #0F766E; color: #fff; }
.gf-steps em { width: 18px; height: 1px; background: #D8E0F0; }
.gf-ttg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gf-tt { position: relative; border-radius: 10px; border: 1px solid #E5E7EB; padding: 12px 10px 9px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.gf-tt i { position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.gf-tt small { font-size: 12px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gf-tt b { font-size: 18px; color: #0A1629; font-weight: 700; }
.gf-tt em { font-style: normal; font-size: 11px; color: #94A3B8; } .gf-tt em.red { color: #DC2626; font-weight: 600; }
.gf-tt.on { background: #F1F8F4; border: 1.5px solid #3DCAB1; }
.gf-custw { position: relative; display: flex; flex-direction: column; }
.gf-drop { position: absolute; left: 0; right: 0; top: 74px; z-index: 3; border-radius: 10px; background: #fff; border: 1px solid #E5E7EB; box-shadow: 0 10px 24px rgba(10, 22, 41, .12); padding: 4px; }
.gf-drop > span { height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 8px; background: #F1F8F4; font-size: 14px; }
.gf-drop b { color: #0A1629; font-weight: 600; } .gf-drop small { color: #64748B; }
.gf-av { width: 36px; height: 36px; border-radius: 50%; background: #E7F7EF; color: #0F766E; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gf-av.sm { width: 28px; height: 28px; font-size: 11px; }
.gf-csel { height: 52px; border-radius: 10px; border: 1px solid #E5E7EB; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.gf-csel > div { display: flex; flex-direction: column; } .gf-csel b { font-size: 14px; color: #0A1629; } .gf-csel small { font-size: 12px; color: #64748B; }
.gf-csel a { font-size: 13px; color: #0F766E; font-weight: 500; }
.gf-sf { display: flex; align-items: center; gap: 20px; padding: 14px 22px; border-top: 1px solid #EDEFF0; background: #F9FAFB; border-radius: 0 0 18px 18px; }
.gf-sf.col { justify-content: space-between; }
.gf-sf.col > div:first-child { display: flex; flex-direction: column; gap: 2px; } .gf-sf.col b { font-size: 14px; color: #0A1629; } .gf-sf.col small { font-size: 12px; color: #64748B; }
.gf-fbtn { display: flex; gap: 8px; }
.gf-fig { display: flex; flex-direction: column; gap: 1px; }
.gf-fig small { font-size: 12px; color: #64748B; } .gf-fig b { font-size: 17px; color: #0A1629; font-weight: 700; font-variant-numeric: tabular-nums; } .gf-fig b.grn { color: #047857; }

/* 收款 */
.gf-pb { padding: 4px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.gf-prow { display: flex; justify-content: space-between; font-size: 14px; color: #64748B; } .gf-prow b { color: #0A1629; font-weight: 500; }
.gf-prow.strong b { font-weight: 700; }
.gf-due { border-radius: 14px; background: #F1F8F4; padding: 14px 16px; display: flex; flex-direction: column; } .gf-due small { font-size: 13px; color: #0F766E; } .gf-due b { font-size: 30px; color: #0A1629; font-weight: 700; }
.gf-ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gf-ptile { border-radius: 14px; border: 1px solid #D8E0F0; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; color: #0F766E; }
.gf-ptile b { font-size: 15px; color: #0A1629; } .gf-ptile small { font-size: 12px; color: #64748B; }
.gf-ptile.on { border: 1.5px solid #3DCAB1; background: #F1F8F4; }

/* 收据 */
.gf-rc { align-items: center; text-align: center; padding: 26px 26px 22px; gap: 10px; }
.gf-ok { width: 52px; height: 52px; border-radius: 50%; background: #DEF6F1; color: #047857; display: inline-flex; align-items: center; justify-content: center; }
.gf-rt { font-size: 19px; color: #0A1629; font-weight: 600; }
.gf-pinbox { width: 100%; border-radius: 12px; border: 1px dashed #D8E0F0; background: #F9FAFB; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gf-pinbox small { font-size: 12px; color: #64748B; margin-top: 4px; }
.gf-mono.lg { font-size: 18px; color: #0A1629; }
.gf-reveal { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #3DCAB1; color: #0F766E; font-size: 14px; font-weight: 600; background: #fff; }
.gf-pin { font-size: 32px; font-weight: 700; letter-spacing: 8px; color: #0A1629; animation: kt-pop .25s ease; }
.gf-rc .gf-warn { text-align: left; }
.gf-rbtn { width: 100%; display: flex; gap: 10px; }

/* 快速发卡 / 批量 */
.gf-chip2 { display: inline-flex; align-items: center; gap: 4px; height: 26px; border-radius: 999px; background: #E7F7EF; color: #0F766E; padding: 0 9px; font-size: 13px; font-weight: 500; animation: kt-pop .2s ease; }
.gf-amts { display: flex; gap: 8px; }
.gf-amt { height: 38px; min-width: 72px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #D8E0F0; font-size: 14px; font-weight: 600; color: #1C3E60; }
.gf-amt.on { border: 1.5px solid #3DCAB1; background: #F1F8F4; color: #0F766E; }
.gf-bmode { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 0 22px 14px; }
.gf-bmode > .gf-sub { white-space: nowrap; }
.gf-bmode .gf-steps { margin: 0 0 0 auto; }
.gf-rtab { border-radius: 12px; border: 1px solid #E5E7EB; overflow: hidden; }
.gf-rr { display: grid; grid-template-columns: 24px 1fr 160px; align-items: center; gap: 10px; height: 38px; padding: 0 14px; font-size: 13px; color: #1C3E60; }
.gf-rr + .gf-rr { border-top: 1px solid #F3F4F6; }
.gf-rr.h { background: #F9FAFB; color: #64748B; font-size: 12px; } .gf-rr b { font-weight: 500; color: #0A1629; } .gf-rr.h b { color: #64748B; }
.gf-cb { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #D8E0F0; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.gf-cb.on { border: 0; background: #0F766E; }
.gf-btpl { display: flex; align-items: center; gap: 10px; border-radius: 12px; background: #F9FAFB; padding: 12px 14px; }
.gf-btpl b { font-size: 14px; color: #0A1629; } .gf-btpl small { margin-left: auto; font-size: 12px; color: #64748B; }
.gf-bstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gf-bstats > div { border-radius: 12px; border: 1px solid #E5E7EB; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.gf-bstats small { font-size: 12px; color: #64748B; } .gf-bstats b { font-size: 22px; color: #0A1629; } .gf-bstats span { font-size: 12px; color: #94A3B8; }
.gf-sms { border-radius: 14px; background: #F3F4F6; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.gf-sms small { font-size: 12px; color: #64748B; font-weight: 600; }
.gf-sms p { margin: 0; width: fit-content; max-width: 88%; border-radius: 16px 16px 16px 4px; background: #fff; padding: 10px 14px; font-size: 13px; line-height: 1.55; color: #0A1629; box-shadow: 0 1px 2px rgba(10, 22, 41, .06); }

/* 充值 / 冻结 / 退款 / 二维码 */
.gf-rbox { border-radius: 12px; background: #F9FAFB; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.gf-rads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gf-rad { height: 40px; border-radius: 10px; border: 1px solid #D8E0F0; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 14px; color: #1C3E60; }
.gf-rad i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #D8E0F0; flex: none; }
.gf-rad.on { border: 1.5px solid #3DCAB1; background: #F1F8F4; } .gf-rad.on i { border: 5px solid #0F766E; }
.gf-rmodes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gf-rmode { position: relative; border-radius: 12px; border: 1px solid #D8E0F0; padding: 12px 14px 12px 40px; display: flex; flex-direction: column; gap: 2px; }
.gf-rmode i { position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #D8E0F0; }
.gf-rmode b { font-size: 14px; color: #0A1629; } .gf-rmode small { font-size: 12px; color: #64748B; }
.gf-rmode.on { border: 1.5px solid #3DCAB1; background: #F1F8F4; } .gf-rmode.on i { border: 5px solid #0F766E; }
.gf-chips { display: flex; flex-wrap: wrap; gap: 6px; } .gf-chips .gf-pill { border-color: #E5E7EB; }
.gf-qrb { padding: 4px 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gf-qr { border-radius: 14px; border: 1px solid #E5E7EB; padding: 14px; background: #fff; display: inline-flex; }
.gf-qrb small { font-size: 13px; color: #64748B; }

/* ---------- 顾客手机（深色站点主题，英文） ---------- */
.gf-stagebg { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, #E8F3F0 0%, #DCE6EA 60%, #D3DDE3 100%); display: flex; align-items: center; justify-content: center; gap: 72px; }
.gf-phone { width: 414px; height: 860px; border-radius: 60px; background: #0B0B0F; padding: 12px; box-shadow: 0 30px 70px rgba(10, 22, 41, .35), inset 0 0 0 2px #2A2D35; flex: none; }
.gf-screen { position: relative; width: 390px; height: 836px; border-radius: 48px; overflow: hidden; background: #020617; color: #fff; font-family: Outfit, Inter, system-ui, sans-serif; }
.gf-status { position: absolute; top: 0; left: 0; right: 0; height: 48px; z-index: 6; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px; background: #020617; }
.gf-status b { font-size: 15px; font-weight: 600; }
.gf-sbr { display: flex; align-items: center; gap: 7px; }
.gf-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; } .gf-sig i { width: 3px; background: #fff; border-radius: 1px; }
.gf-sig i:nth-child(1) { height: 4px; } .gf-sig i:nth-child(2) { height: 6px; } .gf-sig i:nth-child(3) { height: 8px; } .gf-sig i:nth-child(4) { height: 11px; }
.gf-bat { width: 24px; height: 12px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .5); padding: 1px; display: inline-flex; } .gf-bat i { flex: 1; border-radius: 1.5px; background: #fff; }
.gf-pvp { position: absolute; top: 48px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.gf-psc { position: absolute; left: 0; right: 0; top: 0; transition: transform .6s ease; }
.gf-stop { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 20px; background: rgba(2, 6, 23, .85); border-bottom: 1px solid rgba(255, 255, 255, .06); color: #CBD5E1; }
.gf-stop b { font-size: 17px; font-weight: 600; color: #fff; }
.gf-slogo { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #3DCAB1 0%, #0F766E 100%); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex: none; }
.gf-ghero { padding: 36px 22px 28px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(circle at 70% 0%, #134E4A 0%, #0F172A 55%, #020617 100%); }
.gf-ghero h1 { margin: 0; font-size: 34px; line-height: 1.12; font-weight: 700; }
.gf-ghero p { margin: 0; font-size: 15px; line-height: 1.55; color: #CBD5E1; }
.gf-gpills { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.gf-gp { height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; color: #fff; }
.gf-gp.main { border: 0; background: linear-gradient(90deg, #3DCAB1 0%, #059669 100%); color: #022C22; }
.gf-gsec { padding: 22px 20px 6px; display: flex; flex-direction: column; gap: 12px; }
.gf-gsec h3 { margin: 0; font-size: 20px; font-weight: 600; }
.gf-pcard { display: flex; align-items: center; gap: 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(15, 23, 42, .8); padding: 10px; }
.gf-pcard .gf-face { width: 130px; }
.gf-pcard > div:last-child { display: flex; flex-direction: column; gap: 4px; } .gf-pcard b { font-size: 15px; } .gf-pcard small { font-size: 12px; color: #94A3B8; }
.gf-pcard.on { border-color: #3DCAB1; box-shadow: 0 0 0 1px #3DCAB1; }
.gf-gfoot { color: #94A3B8; font-size: 12px; }
.gf-gsec.how { padding-bottom: 30px; }
.gf-how { display: flex; gap: 12px; } .gf-how i { font-style: normal; color: #3DCAB1; font-weight: 700; } .gf-how b { font-size: 14px; } .gf-how small { display: block; font-size: 13px; color: #94A3B8; }
.gf-sheetbg { position: absolute; inset: 0; background: rgba(2, 6, 23, .6); z-index: 7; animation: kt-fade .2s ease; }
.gf-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; border-radius: 24px 24px 0 0; background: #0B1120; border-top: 1px solid rgba(255, 255, 255, .1); padding: 10px 18px 18px; display: flex; flex-direction: column; gap: 8px; animation: gf-up .35s ease; }
@keyframes gf-up { from { transform: translateY(40%); opacity: 0; } }
.gf-grab { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.gf-sheet h3 { margin: 2px 0 0; font-size: 18px; }
.gf-sum { display: flex; gap: 12px; align-items: center; }
.gf-sum .gf-face { width: 112px; height: 72px !important; }
.gf-sum > div:last-child { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.gf-sum > div:last-child > div { display: flex; justify-content: space-between; color: #94A3B8; } .gf-sum b { color: #fff; font-weight: 500; } .gf-sum b.grn { color: #3DCAB1; }
.gf-sum .tot { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 3px; } .gf-sum .tot b { color: #3DCAB1; font-weight: 700; }
.gf-gl { font-size: 12px; color: #94A3B8; font-weight: 600; margin-top: 2px; }
.gf-gseg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gf-gseg span { height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #CBD5E1; }
.gf-gseg span.on { border-color: #3DCAB1; background: rgba(61, 202, 177, .12); color: #fff; font-weight: 600; }
.gf-gf { display: flex; flex-direction: column; gap: 3px; }
.gf-gf > span:first-child { font-size: 12px; color: #CBD5E1; } .gf-gf em { font-style: normal; color: #64748B; margin-left: 4px; }
.gf-gin { height: 36px; border-radius: 10px; background: rgba(15, 23, 42, .9); border: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; padding: 0 12px; font-size: 14px; }
.gf-gin.focus { border-color: #3DCAB1; } .gf-gin i { font-style: normal; color: #475569; }
.gf-gnote { margin: 2px 0 0; font-size: 12px; color: #94A3B8; }
.gf-gcta { height: 48px; border-radius: 999px; background: linear-gradient(90deg, #3DCAB1 0%, #059669 100%); color: #022C22; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.gf-gcta.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-weight: 600; }
.gf-gsucc { padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.gf-gchk { display: inline-flex; align-items: center; gap: 6px; width: fit-content; border-radius: 999px; background: rgba(61, 202, 177, .14); color: #3DCAB1; font-size: 13px; font-weight: 600; padding: 4px 12px; }
.gf-gsucc h2, .gf-glink h2 { margin: 0; font-size: 28px; font-weight: 700; }
.gf-gsucc p { margin: 0; font-size: 14px; line-height: 1.55; color: #CBD5E1; }
.gf-gnum { display: flex; align-items: center; gap: 10px; border-radius: 12px; background: rgba(15, 23, 42, .9); border: 1px solid rgba(255, 255, 255, .1); padding: 10px 14px; }
.gf-gnum small { font-size: 12px; color: #94A3B8; } .gf-gnum b { font-size: 15px; } .gf-gnum span { margin-left: auto; font-size: 13px; color: #3DCAB1; font-weight: 600; }
.gf-gnum { flex-wrap: wrap; } .gf-gnum small { width: 100%; }
.gf-gpin { display: flex; gap: 10px; border-radius: 12px; background: rgba(61, 202, 177, .08); border: 1px solid rgba(61, 202, 177, .3); padding: 12px 14px; color: #3DCAB1; }
.gf-gpin > div { display: flex; flex-direction: column; gap: 3px; } .gf-gpin b { color: #fff; font-size: 14px; } .gf-gpin small { color: #94A3B8; font-size: 12px; line-height: 1.5; }
.gf-glink { padding: 26px 22px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.gf-eye { font-size: 12px; color: #3DCAB1; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.gf-lqr { align-self: center; border-radius: 16px; background: #fff; padding: 12px; display: inline-flex; }
.gf-lcap { text-align: center; font-size: 13px; color: #94A3B8; }
.gf-pow { text-align: center; font-size: 11px; color: #475569; }
.gf-panel { width: 420px; border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(10, 22, 41, .14); padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px; color: #0A1629; }
.gf-panel > small { font-size: 13px; font-weight: 600; color: #0F766E; letter-spacing: .02em; }
.gf-panel h2 { margin: 0; font-size: 24px; font-weight: 700; }
.gf-pnote { margin: 0; display: inline-flex; align-items: center; gap: 8px; width: fit-content; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 13px; font-weight: 600; padding: 6px 12px; }
.gf-psteps { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gf-psteps li { display: flex; align-items: center; gap: 12px; height: 46px; border-radius: 12px; padding: 0 12px; font-size: 16px; color: #94A3B8; transition: background .25s, color .25s; }
.gf-psteps li > span { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #D8E0F0; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.gf-psteps li.done { color: #1C3E60; } .gf-psteps li.done > span { border: 0; background: #E7F7EF; color: #0F766E; }
.gf-psteps li.cur { background: #F1F8F4; color: #0A1629; font-weight: 600; } .gf-psteps li.cur > span { border: 0; background: #0F766E; color: #fff; }
