/* 会员积分与优惠券系统 · 演示版样式 */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --ink: #1b2432;
  --ink2: #5a6478;
  --ink3: #8d97a9;
  --line: #e8ecf3;
  --bg: #f4f6fa;
  --navy: #1f3864;
  --blue: #2e74b5;
  --warm: #e4572e;
  --ok: #12966a;
  --warn: #d97706;
  --radius: 14px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #3a5f9e);
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.topbar .title { font-size: 15px; font-weight: 600; }
.topbar .sub { font-size: 12px; color: var(--ink3); }
.topbar .spacer { flex: 1; }
.topbar .link { font-size: 13px; color: var(--blue); padding: 6px 8px; border-radius: 8px; }
.topbar .link:active { background: #eef3fa; }

/* ---------------- 布局 ---------------- */
.wrap { max-width: 560px; margin: 0 auto; padding: 14px 14px 96px; }
.wrap.wide { max-width: 1040px; padding-bottom: 40px; }
.card {
  background: var(--card, #fff);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(20, 30, 50, .05);
}

/* ---------------- 标签页 ---------------- */
.tabs {
  display: flex; gap: 4px; padding: 4px;
  background: #e9eef7; border-radius: 12px; margin-bottom: 14px;
}
.tab {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 9px;
  font-size: 14px; color: var(--ink2); border: none; background: transparent;
  cursor: pointer; transition: .15s;
}
.tab.active { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 4px rgba(20, 30, 50, .08); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 42px; padding: 0 18px; border: none; border-radius: 11px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .15s;
  background: #eef2f9; color: var(--ink);
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-warm { background: var(--warm); color: #fff; }
.btn-line { background: #fff; border: 1px solid #d8dfeb; color: var(--ink2); font-weight: 500; }
.btn-block { width: 100%; }
.btn-sm {
  height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: #eef3fb; color: var(--blue); border: none; cursor: pointer;
}
.btn-sm.warm { background: #fdeee9; color: var(--warm); }
.btn:disabled { opacity: .45; }

/* ---------------- 会员行 ---------------- */
.list { background: #fff; border-radius: var(--radius); overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-bottom: 1px solid #f2f5fa; cursor: pointer;
}
.row:last-child { border-bottom: none; }
.row:active { background: #fafbfe; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: #e9eff9; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
}
.row-main { flex: 1; min-width: 0; }
.row-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.row-meta {
  font-size: 12px; color: var(--ink3); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.row-side { text-align: right; flex: none; }
.points { font-size: 17px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.points small { font-size: 11px; font-weight: 500; color: var(--ink3); margin-left: 2px; }

.check {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #c8d2e2;
  flex: none; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; transition: .15s;
}
.row.on .check { background: var(--navy); border-color: var(--navy); }
.row.on { background: #f3f7fd; }

/* ---------------- 优惠券卡片 ---------------- */
.coupon {
  display: flex; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 30, 50, .05); margin-bottom: 12px;
  border: 1px solid #eef1f7;
}
.coupon-img {
  width: 112px; flex: none; background: #eef2f9;
  object-fit: cover; object-position: left center;
}
.coupon-body { flex: 1; padding: 11px 13px; min-width: 0; }
.coupon-title { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.coupon-amount { color: var(--warm); font-weight: 800; font-size: 22px; line-height: 1.1; }
.coupon-amount small { font-size: 12px; font-weight: 600; }
.coupon-meta { font-size: 12px; color: var(--ink3); margin-top: 4px; }

/* 竖版：图案作为大图（券库、顾客端用） */
.coupon.v { display: block; }
.coupon.v .cp-banner {
  display: block; width: 100%; height: 130px; object-fit: cover;
  background: #eef2f9;
}
.coupon.v .coupon-body { padding: 12px 14px 14px; }
.coupon.v .coupon-title { font-size: 16px; }

.tag {
  display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 5px;
  background: #eef3fa; color: var(--blue); margin-left: 4px; vertical-align: 1px;
}
.tag.warm { background: #fdeee9; color: var(--warm); }
.tag.ok { background: #e7f7f0; color: var(--ok); }
.tag.grey { background: #f1f3f7; color: var(--ink3); }

/* ---------------- 底部操作条 ---------------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  max-width: 560px; margin: 0 auto; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .2s ease;
}
.bottombar.on { transform: none; }
.bottombar .count { font-size: 13px; color: var(--ink2); flex: 1; }
.bottombar .count b { color: var(--navy); font-size: 16px; }

/* ---------------- 弹出层 ---------------- */
.mask {
  position: fixed; inset: 0; z-index: 40; background: rgba(17, 26, 43, .45);
  opacity: 0; pointer-events: none; transition: .2s;
}
.mask.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: 560px; margin: 0 auto; max-height: 86vh; overflow: auto;
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .24s cubic-bezier(.3, .8, .3, 1);
}
.sheet.on { transform: none; }
.sheet h3 { margin: 0 0 4px; font-size: 17px; }
.sheet .hint { font-size: 12.5px; color: var(--ink3); margin-bottom: 14px; }
.sheet-close { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; border: none; background: #f1f4f9; border-radius: 50%; font-size: 16px; color: var(--ink2); cursor: pointer; }

/* 长表单：头固定、中间滚动、按钮固定在底 */
.sheet.sheet-form { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.sheet-form .s-head { padding: 18px 16px 6px; flex: none; }
.sheet-form .s-body { flex: 1; overflow: auto; padding: 4px 16px 8px; }
.sheet-form .s-foot {
  flex: none; padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #fff;
}

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; color: var(--ink2); margin-bottom: 5px; }
.input, select.input, textarea.input {
  width: 100%; height: 42px; padding: 0 12px;
  border: 1px solid #dbe2ee; border-radius: 10px; background: #fbfcfe;
  font-size: 15px; color: var(--ink); outline: none;
}
textarea.input { height: auto; padding: 10px 12px; resize: vertical; }
.input:focus { border-color: var(--blue); background: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* ---------------- 客户勾选列表（定制券用） ---------------- */
.picker { max-height: 250px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pg-head {
  display: flex; align-items: center; gap: 8px; padding: 7px 12px;
  background: #f6f8fc; font-size: 12.5px; font-weight: 600; color: var(--ink2);
  position: sticky; top: 0; z-index: 1; border-bottom: 1px solid var(--line);
}
.pg-head .btn-sm { margin-left: auto; height: 24px; font-size: 12px; padding: 0 8px; }
.prow {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-bottom: 1px solid #f4f6fa; font-size: 14px; cursor: pointer;
}
.prow:last-child { border-bottom: none; }
.prow:hover { background: #fafbfe; }
.prow input { width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.prow .pname { flex: 1; }
.prow .pmeta { color: var(--ink3); font-size: 12px; }

/* ---------------- 提示 ---------------- */
.empty { text-align: center; color: var(--ink3); font-size: 14px; padding: 42px 0; }
.toast {
  position: fixed; left: 50%; bottom: 120px; transform: translate(-50%, 20px);
  background: rgba(24, 32, 48, .92); color: #fff; font-size: 14px;
  padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: .22s; z-index: 90; max-width: 80%;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 统计条 ---------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { background: #fff; border-radius: 12px; padding: 13px 12px; box-shadow: 0 2px 10px rgba(20,30,50,.05); }
.stat .v { font-size: 22px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat .k { font-size: 12px; color: var(--ink3); margin-top: 1px; }

/* ---------------- 后台表格 ---------------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.tbl th {
  text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ink2);
  background: #f6f8fc; padding: 10px 12px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td { padding: 11px 12px; font-size: 14px; border-bottom: 1px solid #f4f6fa; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .num { font-variant-numeric: tabular-nums; }

/* ---------------- 登录页 ---------------- */
.login { max-width: 460px; margin: 0 auto; padding: 46px 22px 40px; }
.login .brand { font-size: 25px; font-weight: 700; letter-spacing: -.4px; color: var(--navy); }
.login .brand .v { font-size: 11px; font-weight: 500; color: #fff; background: var(--warm); padding: 2px 7px; border-radius: 5px; vertical-align: 6px; margin-left: 6px; }
.login .lead { color: var(--ink3); font-size: 13.5px; margin: 8px 0 26px; }
.role {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: #fff; border-radius: 14px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(20, 30, 50, .05); cursor: pointer;
  border: 1px solid transparent; transition: .15s;
}
.role:hover { border-color: #cfdcf0; transform: translateY(-1px); }
.role .ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: #fff;
}
.role .ico.navy { background: linear-gradient(135deg, #1f3864, #3a5f9e); }
.role .ico.blue { background: linear-gradient(135deg, #2e74b5, #58a0dc); }
.role .ico.warm { background: linear-gradient(135deg, #e4572e, #f08a5d); }
.role b { display: block; font-size: 15.5px; }
.role span { font-size: 12.5px; color: var(--ink3); }
.role .arrow { margin-left: auto; color: #c3ccdb; font-size: 18px; }
.login .foot { text-align: center; color: #a7b0c0; font-size: 12px; margin-top: 26px; line-height: 1.7; }

/* ---------------- 顾客会员卡 ---------------- */
.mcard {
  background: linear-gradient(135deg, #1f3864, #3f6aa8);
  color: #fff; border-radius: 18px; padding: 20px;
  box-shadow: 0 10px 24px rgba(31, 56, 100, .22); margin-bottom: 16px;
}
.mcard .shop { font-size: 13px; opacity: .85; }
.mcard .who { font-size: 20px; font-weight: 700; margin: 6px 0 14px; }
.mcard .pt { font-size: 40px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mcard .ptlabel { font-size: 12.5px; opacity: .8; margin-top: 4px; }
.mcard .no { font-size: 12px; opacity: .7; margin-top: 14px; letter-spacing: .5px; }

.chips { display: flex; gap: 8px; margin: 16px 0 12px; }
.chip {
  padding: 7px 15px; border-radius: 20px; font-size: 13px;
  background: #fff; color: var(--ink2); border: 1px solid var(--line); cursor: pointer;
}
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.sec-title { font-size: 14px; font-weight: 600; color: var(--ink2); margin: 20px 2px 10px; }

.coupon.used { opacity: .55; }
.coupon .times { font-size: 11px; color: var(--ink3); }

@media (max-width: 420px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat .v { font-size: 19px; }
  .coupon-img { width: 96px; }
}

/* ================= 券面（背景库 + 文字生成） ================= */
.face {
  position: relative; width: 100%; aspect-ratio: 750 / 320; overflow: hidden;
  container-type: inline-size; background: #eef2f9;
}
.face > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face-gen { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 7cqw; overflow: hidden; }
.face-gen::after {
  content: ""; position: absolute; right: -8cqw; top: -20cqw; width: 42cqw; height: 42cqw;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.face-amt {
  font-size: 46px; font-size: 17cqw; font-weight: 800; line-height: .92;
  color: #fff; letter-spacing: -.02em; flex: none; white-space: nowrap;
}
.face-amt small { font-size: .34em; font-weight: 700; }
.face-sep {
  flex: none; width: 0; height: 22cqw; margin: 0 5cqw;
  border-left: .45cqw solid rgba(255, 255, 255, .38);
}
.face-info { flex: 1; min-width: 0; color: #fff; position: relative; z-index: 1; }
.face-title { font-size: 5.4cqw; font-weight: 700; line-height: 1.25; }
.face-sub { font-size: 3.1cqw; opacity: .85; margin-top: 1.2cqw; }

.b1 { background: linear-gradient(135deg, #e8572e, #be2d1e); }
.b2 { background: linear-gradient(135deg, #223f74, #3a2c78); }
.b3 { background: linear-gradient(135deg, #12966a, #0c6c54); }
.b4 { background: linear-gradient(135deg, #d64c8a, #96328c); }
.b5 { background: linear-gradient(135deg, #b07920, #8c5414); }
.b6 { background: linear-gradient(135deg, #2e74b5, #1a4a80); }
.b7 { background: linear-gradient(135deg, #5b5f97, #35386b); }
.b8 { background: linear-gradient(135deg, #c0392b, #7b241c); }

/* 背景选择 */
.bg-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.bg-dot {
  width: 40px; height: 26px; border-radius: 7px; cursor: pointer;
  border: 2px solid transparent; position: relative; flex: none;
}
.bg-dot.on { border-color: #1f3864; box-shadow: 0 0 0 2px #dbe6f7; }
.bg-dot.random {
  display: flex; align-items: center; justify-content: center;
  background: #eef2f9; color: #5a6478; font-size: 11px; font-weight: 600;
}

/* ================= 门店/会员 头部卡片 ================= */
.hero {
  border-radius: 18px; padding: 18px; color: #fff; position: relative;
  background: linear-gradient(135deg, #1f3864, #3f6aa8);
  box-shadow: 0 10px 24px rgba(31, 56, 100, .22);
}
.hero-top { display: flex; align-items: center; gap: 12px; }
.hero-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: rgba(255, 255, 255, .18); display: flex; align-items: center;
  justify-content: center; font-size: 18px; font-weight: 700;
}
.hero-name { font-size: 18px; font-weight: 700; }
.hero-sub { font-size: 12.5px; opacity: .82; margin-top: 2px; }
.hero-qr {
  margin-left: auto; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255, 255, 255, .18); border: none; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.hero-qr svg { width: 22px; height: 22px; }
.hero-stats { display: flex; gap: 22px; margin-top: 16px; }
.hero-stat b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-stat span { display: block; font-size: 11.5px; opacity: .8; margin-top: 1px; }

/* ================= 入口列表 ================= */
.entries {
  background: #fff; border-radius: 16px; overflow: hidden; margin-top: 12px;
  box-shadow: 0 2px 10px rgba(20, 30, 50, .05);
}
.entry { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f2f5fa; }
.entry:last-child { border-bottom: none; }
.entry:active { background: #fafbfe; }
.entry-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: #eef3fb; color: #1f3864; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.entry-main { flex: 1; min-width: 0; }
.entry-title { font-size: 15.5px; font-weight: 600; }
.entry-sub { font-size: 12px; color: var(--ink3); margin-top: 1px; }
.entry-arrow { color: #c3ccdb; font-size: 18px; }

/* ================= 子页面导航 ================= */
.nav {
  display: flex; align-items: center; gap: 4px; height: 50px; padding: 0 10px;
  position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav-back { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink2); }
.nav-title { font-size: 16px; font-weight: 600; }
.nav-right { margin-left: auto; font-size: 13px; color: var(--blue); padding: 6px 8px; }

/* ================= 裁剪 ================= */
.crop-box {
  position: relative; width: 100%; aspect-ratio: 750 / 320; overflow: hidden;
  border-radius: 12px; background: #0f1724; touch-action: none; cursor: grab;
}
.crop-box img {
  position: absolute; left: 0; top: 0; user-select: none;
  -webkit-user-drag: none; pointer-events: none;
}
.crop-frame {
  position: absolute; inset: 0; border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 12px; pointer-events: none;
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, .28);
}
.crop-hint { font-size: 11.5px; color: var(--ink3); text-align: center; margin-top: 6px; }

/* ================= 二维码 ================= */
.qr-box {
  width: 216px; height: 216px; margin: 0 auto; background: #fff;
  padding: 10px; border-radius: 14px; border: 1px solid var(--line);
}
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-tip { text-align: center; font-size: 13px; color: var(--ink2); margin-top: 12px; line-height: 1.7; }
.qr-code { text-align: center; font-size: 12px; color: var(--ink3); margin-top: 6px; letter-spacing: 1px; }

/* ================= 数字块 ================= */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.num-card { background: #fff; border-radius: 14px; padding: 12px 10px; text-align: center; box-shadow: 0 2px 10px rgba(20,30,50,.05); }
.num-card b { display: block; font-size: 20px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.num-card span { font-size: 11.5px; color: var(--ink3); }

/* ================= 底部按钮组 ================= */
.foot-actions { display: flex; gap: 10px; margin-top: 14px; }

/* ================= 券卡片（竖版） ================= */
.card-c {
  background: #fff; border-radius: 16px; overflow: hidden; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(20, 30, 50, .06);
}
.card-c-body { padding: 11px 14px 13px; }
.card-c-top { display: flex; align-items: center; gap: 8px; }
.card-c-name { flex: 1; font-size: 15.5px; font-weight: 600; }
.card-c-meta { font-size: 12px; color: var(--ink3); margin-top: 4px; line-height: 1.5; }
.btn-del {
  border: none; background: #fdecec; color: #b91c1c; font-size: 12px; font-weight: 600;
  padding: 5px 10px; border-radius: 8px; cursor: pointer; flex: none;
}

/* ================= 发券时的券选择 ================= */
.pick {
  border-radius: 14px; overflow: hidden; background: #fff; margin-bottom: 10px;
  border: 2px solid transparent; box-shadow: 0 2px 8px rgba(20, 30, 50, .05); cursor: pointer;
}
.pick.on { border-color: #1f3864; box-shadow: 0 0 0 3px #e3edfb; }
.pick-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.pick-name { flex: 1; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-val { font-size: 13px; font-weight: 700; color: var(--warm); }
.pick-ok { font-size: 12px; color: var(--ink3); }
.pick.on .pick-ok { color: var(--navy); font-weight: 600; }

/* ================= 列表项（核销记录等） ================= */
.log-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f2f5fa; }
.log-row:last-child { border-bottom: none; }
.log-main { flex: 1; min-width: 0; }
.log-title { font-size: 14.5px; font-weight: 600; }
.log-sub { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.log-val { font-size: 15px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.log-val.plus { color: var(--ok); }
.log-val.minus { color: var(--warm); }

/* 券面金额：¥ 上标、折 下标 */
.face-amt { display: inline-flex; align-items: baseline; }
.face-amt .cur { font-size: .32em; font-weight: 700; align-self: flex-start; line-height: 1.35; margin-right: .04em; }
.face-amt .suf { font-size: .34em; font-weight: 700; margin-left: .04em; }

/* 券码输入框占位符不要拉宽 */
#code::placeholder { letter-spacing: normal; font-weight: 400; font-size: 17px; }

/* 全屏弹出层（裁剪用） */
.sheet.full { top: 0; bottom: 0; max-height: none; border-radius: 0; }
