/* =========================================================
   紫气东来 · 设计系统
   对标：s.defc.cc（中国红）→ 复刻：紫气东来紫
   映射关系：品牌红 #C8352B → 紫 #7C3AED；浅粉底 #FDF0EE → 浅紫底 #F5F1FC
   金色点缀（提现/金币）保留，与紫色天然搭配
   ========================================================= */
:root {
  --c-primary:        #7C3AED;
  --c-primary-strong: #6D28D9;
  --c-primary-deep:   #5B21B6;
  --c-primary-dark:   #4C1D95;
  --c-primary-light:  #A78BFA;
  --c-primary-tint:   #EFE7FD;

  --c-bg:      #F5F1FC;   /* 页面浅紫底 */
  --c-surface: #FFFFFF;
  --c-text:    #2A2438;
  --c-text-2:  #7A7290;
  --c-text-3:  #A79FB8;

  --c-amount:  #7C3AED;   /* 金额强调色（原站为红） */
  --c-success: #22A45D;   /* 买家/审核通过（语义绿，保留） */
  --c-warn:    #FF9800;   /* 销售成员橙色数字（保留） */

  --grad-brand: linear-gradient(150deg, #A34AF0 0%, #7C3AED 48%, #5B21B6 100%);
  --grad-btn:   linear-gradient(135deg, #9333EA 0%, #6D28D9 100%);
  --grad-gold:  linear-gradient(135deg, #FFD666 0%, #F5A623 100%);
  --grad-banner:linear-gradient(120deg, #6D28D9 0%, #9333EA 60%, #C026D3 100%);

  --r-sm: 8px;  --r-md: 12px;  --r-lg: 16px;  --r-pill: 999px;
  --shadow-card: 0 4px 14px rgba(93, 47, 180, .08);
  --shadow-btn:  0 6px 16px rgba(124, 58, 237, .35);
  --tabbar-h: 58px;
  --topbar-h: 48px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: #E9E4F4;
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.5;
}

/* ===== 应用外壳（桌面预览居中手机框，移动端全屏） ===== */
.app {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c-bg);
  position: relative;
  padding-bottom: calc(var(--tabbar-h) + 16px);
}
@media (min-width: 520px) {
  body { padding: 24px 0; }
  .app {
    min-height: 844px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(60, 30, 110, .25);
  }
}

/* ===== 顶栏 ===== */
.topbar {
  height: var(--topbar-h);
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 30;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
}
.topbar__back {
  position: absolute; left: 6px; top: 0;
  width: 40px; height: var(--topbar-h);
  display: grid; place-items: center; color: #fff;
  text-decoration: none; font-size: 22px;
}

/* ===== 子页顶栏（浅底居中标题） ===== */
.subbar {
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  position: sticky; top: 0; z-index: 30;
  background: var(--c-bg);
  font-size: 16px; font-weight: 700; color: var(--c-text);
}
.subbar__back {
  position: absolute; left: 8px;
  width: 36px; height: 36px; display: grid; place-items: center;
  color: var(--c-text-2); text-decoration: none; font-size: 20px;
}

/* ===== 首页 Hero（新年氛围 → 紫气东来） ===== */
.hero {
  /* v2.33 参考图复刻：日落金山+紫马水墨背景（深紫遮罩保证白字可读，渐变兜底） */
  background:
    linear-gradient(180deg, rgba(40, 10, 80, .38), rgba(50, 15, 95, .55)),
    url('../img/banner/hero-sunset-bg.jpg') center / cover no-repeat,
    var(--grad-brand);
  color: #fff;
  text-align: center;
  padding: 18px 16px 34px;
  position: relative;
  overflow: hidden;
}
.hero__mascot { font-size: 84px; line-height: 1.15; filter: drop-shadow(0 8px 20px rgba(0,0,0,.25)); }
.hero__title { display: inline-block; position: relative; margin-top: 6px; line-height: 1.25; text-align: center; }
/* v2.34 毛笔书法字图（AI 出字图黑转透明），替代 HAPPY NEW YEAR；错落排版 */
.hero__callig { display: block; width: 300px; max-width: 86%; margin: 0 auto; filter: drop-shadow(0 2px 12px rgba(30, 8, 60, .55)); }
.hero__badge {
  display: inline-block; vertical-align: middle;
  background: var(--grad-gold); color: #6b3d00;
  font-size: 13px; font-weight: 800; padding: 2px 12px;
  border-radius: var(--r-pill); letter-spacing: 1px;
  position: absolute; right: -2px; bottom: 2px;
}
.hero__deco { position: absolute; opacity: .8; }

/* ===== 板块（奶油卡 + 紫色药丸标题 + 宫格） ===== */
.sect {
  background: #F3ECFE;
  border-radius: var(--r-lg);
  margin: -22px 12px 12px;
  padding: 12px 10px 14px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.sect--flat { margin-top: 12px; }
.sect__btn {
  display: block; width: 150px; margin: 0 auto 12px;
  background: var(--grad-btn); color: #fff;
  text-align: center; font-weight: 800; font-size: 15px;
  padding: 8px 0; border-radius: var(--r-pill);
  letter-spacing: 2px; box-shadow: var(--shadow-btn);
}
.sect__grid { display: flex; justify-content: space-around; text-align: center; }
.sect__item { width: 30%; text-decoration: none; }
.sect__ico {
  width: 72px; height: 72px; margin: 0 auto;
  background: linear-gradient(135deg, #F6EFFE, #EADCFD);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(109, 40, 217, .12);
  font-size: 40px; line-height: 1.2;
}
.sect__label {
  display: inline-block; margin-top: 8px;
  font-size: 13px; font-weight: 700; color: var(--c-text);
  background: #F5EEFE; border-radius: var(--r-pill);
  padding: 4px 14px; line-height: 1.4;
}

/* ===== 横幅 banner ===== */
.banner {
  margin: 0 12px 12px;
  /* v2.29 美化横幅背景图（渐变兜底防加载失败开天窗） */
  background: var(--grad-banner) url('../img/banner/banner-strip.png') center / cover no-repeat;
  /* v2.30 两条横幅各自专属背景 */
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: var(--r-lg);
  color: #fff;
  display: flex; align-items: center;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.banner--1 {
  /* v2.31 参考图复刻版：文字已烙在图内，纯背景展示 + 细描边与周围模块平滑过渡 */
  background-image: url('../img/banner/banner-hero-1.jpg');
  display: block; padding: 0; min-height: 96px;
  border: 1px solid rgba(139, 92, 246, .22);
}
.banner--2 {
  /* v2.32 参考图复刻版：文字已烙在图内，与 banner--1 同款描边过渡 */
  background-image: url('../img/banner/banner-hero-2.jpg');
  display: block; padding: 0; min-height: 96px;
  border: 1px solid rgba(139, 92, 246, .22);
}
.banner__txt { font-size: 18px; font-weight: 900; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(40, 10, 80, .5); }
.banner__ico {
  margin-left: auto; width: 64px; height: 64px; flex: none;
  background: rgba(255, 255, 255, .18);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.18));
}
.banner__ico img { width: 50px; height: 50px; object-fit: contain; }

/* ===== 渐变用户头部（记账中心/个人中心） ===== */
.userhead {
  background: var(--grad-brand);
  color: #fff;
  padding: 16px 16px 30px;
  position: relative;
}
.userhead__row { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.28);
  border: 2px solid rgba(255,255,255,.65);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800; flex: none;
}
.userhead__name { font-size: 16px; font-weight: 800; }
.userhead__sub  { font-size: 12px; opacity: .9; margin-top: 2px; }
.userhead__chip {
  display: inline-block; margin-top: 4px;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.5);
  padding: 1px 8px; border-radius: var(--r-pill); font-size: 11px;
}

/* ===== 白卡面板 ===== */
.panel {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  margin: 12px;
  padding: 14px;
  box-shadow: var(--shadow-card);
}
.panel--overlap { margin-top: -22px; position: relative; }
.panel__head { display: flex; align-items: center; font-size: 15px; font-weight: 800; }
.panel__more { margin-left: auto; font-size: 12px; color: var(--c-text-2); text-decoration: none; }

/* 余额卡 */
.balance { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 4px; }
.balance__num { font-size: 34px; font-weight: 900; color: var(--c-text); }
.duo { display: flex; text-align: center; margin-top: 8px; }
.duo__item { flex: 1; }
.duo__val { color: var(--c-amount); font-size: 20px; font-weight: 800; }
.duo__label { font-size: 12px; color: var(--c-text-2); margin-top: 2px; }

/* ===== 金色提现按钮 ===== */
.btn-gold {
  background: var(--grad-gold); color: #6b3d00;
  border: none; border-radius: var(--r-pill);
  padding: 7px 20px; font-size: 14px; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 10px rgba(245, 166, 35, .4);
}

/* ===== 面板内模块分隔线（余额区 / 宫格区） ===== */
.panel__sep {
  height: 1px; border: none;
  background: linear-gradient(90deg, transparent, #EDE4FB 15%, #EDE4FB 85%, transparent);
  margin: 14px 0 13px;
}

/* ===== 宫格统计（记账中心） ===== */
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.statgrid__item {
  background: #FAF7FE; border: 1px solid #F0E9FC;
  border-radius: var(--r-md); padding: 12px;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--c-text);
}
.statgrid__ico { font-size: 30px; flex: none; }
.statgrid__label { font-size: 13px; font-weight: 700; }
.statgrid__val { font-size: 12px; color: var(--c-text-2); margin-top: 2px; }

/* ===== 菜单列表 ===== */
.menu { margin: 12px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); background: var(--c-surface); }
.menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; text-decoration: none; color: var(--c-text);
  font-size: 15px; font-weight: 600;
  border-bottom: 1px solid #F4F1FA;
}
.menu a:last-child { border-bottom: none; }
.menu__ico {
  font-size: 22px; width: 40px; height: 40px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #F5F0FE; border-radius: 12px;
}
.menu__arrow { margin-left: auto; color: var(--c-text-3); font-size: 18px; }

/* ===== 功能入口 tiles（我的店铺订单） ===== */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.tiles a {
  width: 33.33%; text-decoration: none; color: var(--c-text);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 0; font-size: 13px; font-weight: 600;
}
.tiles__ico { font-size: 30px; }

/* ===== 按钮 ===== */
.btn {
  display: block; width: 100%;
  border: none; border-radius: var(--r-pill);
  padding: 13px 0; font-size: 16px; font-weight: 800;
  cursor: pointer; text-align: center; text-decoration: none;
}
.btn--grad { background: var(--grad-btn); color: #fff; box-shadow: var(--shadow-btn); letter-spacing: 4px; }
.btn--outline { background: transparent; color: var(--c-primary-strong); border: 1.5px solid var(--c-primary-light); }
.btn--logout { margin: 16px 12px 0; letter-spacing: 6px; }

/* ===== 记录页筛选 tabs ===== */
.pilltabs {
  display: flex; gap: 4px; padding: 10px 8px;
  background: var(--c-bg);
  position: sticky; top: var(--topbar-h); z-index: 20;
}
.pilltabs a {
  flex: 1; text-align: center; text-decoration: none;
  font-size: 14px; color: var(--c-text-2); padding: 6px 0;
  border-bottom: 2.5px solid transparent; font-weight: 600;
}
.pilltabs a.is-active { color: var(--c-primary); border-color: var(--c-primary); font-weight: 800; }

/* ===== 订单卡 ===== */
.ordercard {
  background: var(--c-surface); border-radius: var(--r-lg);
  margin: 10px 12px; padding: 14px; box-shadow: var(--shadow-card);
}
.ordercard__head { display: flex; align-items: center; font-size: 13px; color: var(--c-text-2); }
.ordercard__no { font-weight: 600; color: var(--c-text); }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 1px 7px; border-radius: 4px; color: #fff; margin-left: 6px;
}
.badge--green  { background: var(--c-success); }
.badge--purple { background: var(--c-primary); }
.badge--gold { background: var(--grad-gold); color: #6b3d00; }
.ordercard__body { display: flex; gap: 12px; margin-top: 10px; }
.ordercard__img {
  width: 84px; height: 84px; border-radius: var(--r-md); flex: none;
  background: #F3ECFE; display: grid; place-items: center; font-size: 38px;
}
.ordercard__info { flex: 1; font-size: 13px; }
.ordercard__title { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.ordercard__row { margin-top: 3px; color: var(--c-text-2); }
.ordercard__row b { color: var(--c-amount); font-weight: 800; }
.ordercard__buyer { color: var(--c-text); }
.ordercard__acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.ordercard__acts .btn--outline { width: auto; padding: 7px 18px; font-size: 13px; letter-spacing: 1px; }

/* ===== 汇总红条（销售统计/销售订单）→ 紫条 ===== */
.sumstrip {
  margin: 10px 12px;
  background: var(--grad-btn);
  border-radius: var(--r-md);
  color: #fff;
  display: flex;
  padding: 9px 6px;
  box-shadow: var(--shadow-card);
}
.sumstrip span { flex: 1; text-align: center; font-size: 13px; font-weight: 700; }

/* ===== 成员/提成一类的行 ===== */
.rowitem {
  display: flex; align-items: center; gap: 12px;
  background: var(--c-surface);
  margin: 10px 12px; padding: 14px 16px;
  border-radius: var(--r-md); box-shadow: var(--shadow-card);
}
.rowitem__main { flex: 1; }
.rowitem__title { font-size: 14px; font-weight: 700; }
.rowitem__sub { font-size: 12px; color: var(--c-text-3); margin-top: 3px; }
.rowitem__amt { color: var(--c-amount); font-weight: 800; font-size: 15px; }

/* 成员统计头（橙色数字） */
.mstat { display: flex; background: var(--c-surface); margin: 10px 12px; border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 12px 0; }
.mstat__item { flex: 1; text-align: center; }
.mstat__num { color: var(--c-warn); font-size: 20px; font-weight: 800; }
.mstat__label { font-size: 12px; color: var(--c-text-2); margin-top: 2px; }

/* ===== 表单（提现/登录） ===== */
.form { margin: 14px 14px; }
.field {
  display: flex; align-items: center; gap: 10px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: 13px 14px; margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.field__label { font-size: 13px; color: var(--c-text-2); flex: none; }
.field__label--req::before { content: "*"; color: var(--c-amount); font-weight: 800; }
.field input {
  border: none; outline: none; flex: 1;
  font-size: 14px; color: var(--c-text); background: transparent; min-width: 0;
}
.field input::placeholder { color: var(--c-text-3); }
.field__btn {
  background: var(--grad-btn); color: #fff;
  border: none; border-radius: var(--r-sm);
  padding: 5px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
}

/* ===== 登录/注册页（纯色底 + 金币点缀） ===== */
.auth {
  min-height: 100vh;
  background: #6D3BD8;
  position: relative; overflow: hidden;
  padding: 0 22px 40px;
}
.auth__bar { display: flex; align-items: center; justify-content: center; height: 52px; color: #fff; font-size: 18px; font-weight: 700; position: relative; }
.auth__back { position: absolute; left: 0; font-size: 22px; color: #fff; text-decoration: none; }
.auth__mascot { text-align: center; font-size: 74px; margin: 26px 0 26px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.3)); }
.auth .field { box-shadow: none; }
.auth .btn { margin-top: 4px; }
.auth__deco { position: absolute; font-size: 26px; opacity: .85; }

/* ===== 空状态 / 分页 ===== */
.empty { text-align: center; color: var(--c-text-3); padding: 90px 0; font-size: 15px; letter-spacing: 2px; }
.pager { text-align: center; color: var(--c-text-3); font-size: 13px; padding: 14px 0; }

/* ===== 明细表 ===== */
.tbl { margin: 10px 12px; background: var(--c-surface); border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 4px 12px; font-size: 13px; }
.tbl__row { display: flex; padding: 10px 0; border-bottom: 1px solid #F4F1FA; align-items: center; }
.tbl__row:last-child { border-bottom: none; }
.tbl__head { color: var(--c-text-2); font-weight: 700; }
.tbl__c1 { width: 64px; color: var(--c-amount); font-weight: 800; }
.tbl__c2, .tbl__c3 { flex: 1; }
.tbl__c4 { color: var(--c-success); font-weight: 700; }

/* ===== 底部 tabbar ===== */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 420px;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  background: var(--c-surface);
  display: flex;
  box-shadow: 0 -2px 14px rgba(60, 30, 110, .10);
  z-index: 40;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--c-text-3); font-size: 11px;
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.is-active { color: var(--c-primary); font-weight: 800; }

/* ===== 吉祥物（紫宝）替换 emoji 图标 ===== */
.hero__mascot img,
.auth__mascot img,
.sect__ico img,
.statgrid__ico img,
.tiles__ico img,
.menu__ico img {
  display: block;
  object-fit: contain;
}
.hero__mascot img  { width: 104px; height: auto; margin: 0 auto; }  /* 高自适应保持原比例（微动画裁剪坐标依赖原比例） */
.auth__mascot img  { width: 84px;  height: auto; margin: 0 auto; }
.sect__ico img      { width: 54px;  height: 54px;  margin: 0 auto; }
.statgrid__ico img  { width: 34px;  height: 34px; }
.tiles__ico img     { width: 38px;  height: 38px;  margin: 0 auto; }
.menu__ico img      { width: 30px;  height: 30px; }

/* ===== 个人中心：兑换累计 / 已兑换订单 双卡 ===== */
.duocards { display: flex; gap: 12px; margin-top: 12px; }
.duocards__item {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 18px 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  font-size: 14px; font-weight: 700; color: var(--c-text); text-decoration: none;
}
.duocards__item .tiles__ico { margin: 0; }

/* ===== 绑定信息（收款信息）列表状态 ===== */
.menu__label { flex: 1; }
.bindstat { font-size: 13px; font-weight: 600; margin-right: 4px; }
.bindstat--on  { color: var(--c-text-3); }
.bindstat--off { color: var(--c-amount); }

/* ===== 表单扩展：下拉选择 / 清空按钮 / 蓝色徽标 ===== */
.field__select {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--c-text); padding: 0;
  appearance: none; -webkit-appearance: none;
}
.field--clear .field__clear {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: none; background: #c9c9c9; color: #fff; font-size: 11px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.badge--blue { background: #e8f1ff; color: #2f7bff; }
.field input[disabled] { background: transparent; color: var(--c-text-3); }

/* ===== 收款二维码上传位 ===== */
.qrblock { margin-top: 14px; }
.qrslots { display: flex; gap: 12px; padding: 0 14px; }
.qrslot {
  position: relative; width: 92px; height: 92px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; overflow: visible;
}
.qrslot--filled { border: 1px solid #eee; background: #fff; }
.qrslot--empty  { border: 1px dashed #d9d9d9; background: #fafafa; cursor: pointer; }
.qrslot__plus { font-size: 34px; color: #cfcfcf; line-height: 1; }
.qrpic {
  width: 76px; height: 76px; border-radius: 8px; background: #f3f4f6 center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; color: #c7cbd1; font-size: 12px;
}
.qrpic--img { background-size: cover; }
.qrslot__del {
  position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 12px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ===== 我的推广码：海报页 ===== */
.promo {
  position: relative; overflow: hidden;
  margin: 14px 12px 0; padding: 18px 14px 46px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #EDE4FD 0%, #D8C6FA 38%, #B79BF4 72%, #9F7BEE 100%);
  box-shadow: var(--shadow-card);
  min-height: 620px;
  text-align: center;
}
.promo__deco { position: absolute; opacity: .9; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.promo__cloud {
  position: absolute; width: 120px; height: 54px; border-radius: 40px;
  background: rgba(255,255,255,.75); box-shadow: 0 6px 16px rgba(91,33,182,.15);
}
.promo__store {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 800; color: var(--c-primary-deep); letter-spacing: 1px;
}
.promo__logo {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 3px 8px rgba(91,33,182,.25);
}
.promo__bubble {
  position: relative; z-index: 1;
  width: 240px; height: 240px; margin: 26px auto 30px;
  background: linear-gradient(150deg, #A678F2, #7C3AED);
  border-radius: 48% 52% 46% 54% / 52% 48% 52% 48%;
  box-shadow: 0 14px 34px rgba(91,33,182,.35), inset 0 -8px 20px rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.promo__bubble::before {
  content: ""; position: absolute; left: 30px; bottom: -22px;
  width: 34px; height: 34px; background: #7C3AED;
  border-radius: 0 0 100% 0; transform: rotate(18deg);
}
.promo__slogan {
  font-size: 44px; font-weight: 900; color: #fff; letter-spacing: 4px;
  text-shadow: 0 3px 0 #5B21B6, 0 6px 12px rgba(0,0,0,.28);
  transform: rotate(-6deg);
}
.promo__qrcard {
  position: relative; z-index: 2;
  width: 218px; margin: 0 auto; padding: 16px;
  background: linear-gradient(170deg, #C9AFF7, #A678F2);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(91,33,182,.35);
}
.promo__qrcard canvas { display: block; width: 186px; height: 186px; border-radius: 8px; }
.promo__watermark {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  font-size: 84px; font-weight: 900; color: rgba(255,255,255,.22); line-height: 1;
  pointer-events: none;
}
.promo__hint {
  margin: 18px 24px 0; font-size: 14px; font-weight: 700;
  color: var(--c-amount); text-align: center; letter-spacing: 1px;
}
.promo__copy {
  display: block; width: max-content; margin: 14px auto 0;
  font-size: 15px; font-weight: 800; color: var(--c-primary-strong); letter-spacing: 2px;
  text-decoration: underline; text-underline-offset: 4px;
}
.toast {
  position: fixed; left: 50%; top: 44%; transform: translate(-50%,-50%) scale(.9);
  z-index: 99; min-width: 120px; padding: 18px 22px;
  background: rgba(30,30,30,.88); color: #fff; border-radius: 14px;
  font-size: 15px; font-weight: 700; text-align: center; line-height: 1.5;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.is-show { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* ===== 吉祥物微动画组件（mascot-live）：漂浮 + 挥旗 + 祥云光晕 + 星星点缀 ===== */
.mascot-live { position: relative; display: inline-block; vertical-align: middle; }
.mascot-live .ml-bob { position: relative; display: block; animation: mlBob 3.2s ease-in-out infinite; }
.mascot-live .ml-body { display: block; position: relative; z-index: 1; } /* 尺寸由页面自身的 img 规则控制，避免百分比在 inline-block 内爆版 */
.mascot-live .ml-flag {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2;
  clip-path: polygon(83.6% 30%, 100% 30%, 100% 56.5%, 84.5% 56.5%, 82.2% 45.5%, 83.6% 35.5%);
  transform-origin: 82% 40%;
  animation: mlFlag 1.8s ease-in-out infinite;
}
.mascot-live .ml-glow {
  position: absolute; left: 4%; right: 4%; bottom: -5%; height: 30%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255, 214, 120, .6), rgba(255, 214, 120, 0) 70%);
  border-radius: 50%; filter: blur(3px); pointer-events: none;
  animation: mlGlow 2.4s ease-in-out infinite;
}
.mascot-live .ml-star {
  position: absolute; z-index: 3; color: #ffe9a8; line-height: 1; pointer-events: none;
  text-shadow: 0 0 8px rgba(255, 220, 140, .95);
  animation: mlTwinkle 2.2s ease-in-out infinite;
}
@keyframes mlBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1.2deg); }
}
@keyframes mlFlag {
  0%, 100% { transform: rotate(-6deg) skewX(2deg); }
  50% { transform: rotate(7deg) skewX(-3deg); }
}
@keyframes mlGlow {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.12); }
}
@keyframes mlTwinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(25deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mascot-live .ml-bob, .mascot-live .ml-flag, .mascot-live .ml-glow, .mascot-live .ml-star { animation: none !important; }
}

/* v2.26 预匹配选中详情卡 */
.pm-info {
  border: 1px solid #ddd0f7;
  border-radius: 10px;
  background: #faf8ff;
  padding: 10px 12px;
  font-size: 13px;
}
.pm-info .kv {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}
.pm-info .kv span { color: #8b7bb8; }
.pm-info .kv b { color: #3d2c73; }
