/* ===========================================================
   分销裂变秒杀 SaaS —— 用户端 H5 样式
   设计基准：750px 视觉稿 / 移动端优先 / 桌面预览居中
   =========================================================== */
:root {
  --red: #ff2741;
  --red-deep: #d81e06;
  --orange: #ff7a18;
  --gold: #ffd76e;
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1f2126;
  --sub: #8a8f99;
  --line: #eeeef1;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(0, 0, 0, .06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

/* 桌面预览容器 */
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 70px;
}
@media (min-width: 520px) {
  body { background: #e9eaee; }
  .app { box-shadow: 0 0 40px rgba(0,0,0,.08); }
}

/* ---------- 顶部头图 ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #ff5b4a 0%, var(--red) 45%, var(--red-deep) 100%);
  color: #fff;
  padding: 18px 16px 54px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  left: -20%; right: -20%; bottom: -46px;
  height: 90px;
  background: var(--bg);
  border-radius: 50% 50% 0 0;
}
.hero .shop {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; opacity: .92; margin-bottom: 10px;
}
.hero .shop .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.hero h1 { font-size: 22px; margin: 0 0 6px; font-weight: 800; letter-spacing: .5px; }
.hero .sub { font-size: 12.5px; opacity: .9; }

/* 倒计时条 */
.countdown-bar {
  position: absolute; left: 16px; right: 16px; bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 7px 14px;
  z-index: 2;
  backdrop-filter: blur(6px);
}
.countdown-bar .label { font-size: 12px; }
.countdown-bar .label b { font-size: 13px; }
/* 红包挂在倒计时条右端时，把时间块让出来，别把秒数挡住 */
.countdown-bar.pk-on { padding-right: 84px; }
.cd { display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.cd i {
  font-style: normal;
  background: #fff; color: var(--red-deep);
  border-radius: 5px; padding: 2px 5px;
  font-weight: 800; font-size: 13px; min-width: 26px; text-align: center;
}
.cd span { color: #fff; font-size: 12px; }

/* ---------- 通用卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 12px;
  padding: 14px;
}
.card-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; margin-bottom: 10px;
}
.card-title .more { font-size: 12px; color: var(--sub); font-weight: 400; }

/* ---------- 秒杀商品 ---------- */
.goods {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.goods:last-child { border-bottom: none; padding-bottom: 0; }
.goods .thumb {
  width: 96px; height: 96px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 1px;
  position: relative; overflow: hidden;
}
.goods .thumb .tag {
  position: absolute; left: 0; top: 0;
  background: rgba(0,0,0,.42);
  font-size: 10px; padding: 2px 6px; border-radius: 10px 0 10px 0; font-weight: 600;
}
.goods .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.goods .name {
  font-size: 14px; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.goods .intro { font-size: 11.5px; color: var(--sub); margin: 3px 0 6px; }
.goods .price { display: flex; align-items: baseline; gap: 6px; }
.goods .price .now { color: var(--red); font-size: 20px; font-weight: 800; }
.goods .price .now small { font-size: 12px; font-weight: 700; }
.goods .price .old { color: #b6bac2; font-size: 12px; text-decoration: line-through; }
.goods .price .save {
  background: #fff0ef; color: var(--red); font-size: 10px;
  border-radius: 3px; padding: 1px 5px; font-weight: 700;
}
/* 库存进度 */
.stock { margin-top: 7px; }
.stock .bar {
  height: 14px; border-radius: 999px; background: #f0f1f3;
  overflow: hidden; position: relative;
}
.stock .bar .fill {
  height: 100%;
  background: linear-gradient(90deg, #ffb199, var(--red));
  border-radius: 999px; transition: width .5s;
}
.stock .bar .txt {
  position: absolute; inset: 0;
  font-size: 10px; color: #fff; text-align: center; line-height: 14px;
  text-shadow: 0 0 3px rgba(0,0,0,.35); font-weight: 600;
}
.stock .nums { display: flex; justify-content: space-between; font-size: 11px; color: var(--sub); margin-top: 4px; }

/* 抢购按钮 */
.btn-buy {
  align-self: flex-start; margin-top: 8px;
  background: linear-gradient(90deg, #ff7a18, var(--red));
  color: #fff; border: none; border-radius: 999px;
  padding: 7px 22px; font-size: 13px; font-weight: 700;
  box-shadow: 0 3px 10px rgba(255,39,65,.35);
}
.btn-buy:active { transform: scale(.96); }
.btn-buy[disabled] {
  background: #d7d9de; box-shadow: none; color: #fff;
}

/* ---------- 助力区 ---------- */
.help-box { text-align: center; }
.help-tip { font-size: 12.5px; color: var(--sub); margin-bottom: 10px; }
.help-tip b { color: var(--red); font-size: 15px; }
.avatars { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.avatars .slot {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px dashed #d6d8de;
  display: flex; align-items: center; justify-content: center;
  color: #c3c7cf; font-size: 18px; background: #fafbfc;
}
.avatars .slot.on {
  border: none;
  background: linear-gradient(135deg, #ffb199, var(--red));
  color: #fff; font-size: 15px; font-weight: 700;
}
.btn-main {
  display: block; width: 100%;
  background: linear-gradient(90deg, #ff7a18, var(--red));
  color: #fff; border: none; border-radius: 999px;
  padding: 12px; font-size: 15px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(255,39,65,.3);
}
.btn-main:active { transform: scale(.985); }
.btn-ghost {
  display: block; width: 100%; margin-top: 10px;
  background: #fff; color: var(--red);
  border: 1px solid var(--red); border-radius: 999px;
  padding: 11px; font-size: 14px; font-weight: 700;
}

/* ---------- 佣金提示条 ---------- */
.fx-tip {
  background: linear-gradient(100deg, #fff8ec, #fff2e6);
  border: 1px solid #ffe0b8;
  border-radius: 12px; padding: 10px 12px;
  font-size: 12px; color: #8a5a13;
  display: flex; align-items: center; gap: 8px; margin: 12px;
}
.fx-tip b { color: #e9620b; }

/* ---------- 规则 ---------- */
.rule { font-size: 12.5px; color: #61656e; white-space: pre-wrap; line-height: 1.8; }

/* ---------- 底部固定栏 ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  max-width: 480px; margin: 0 auto;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; z-index: 50;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; text-align: center; padding: 8px 0 7px;
  color: var(--sub); font-size: 11px; text-decoration: none;
}
.tabbar a.on { color: var(--red); font-weight: 700; }
.tabbar a .ic { font-size: 19px; display: block; line-height: 1.3; }

/* ---------- 弹层 ---------- */
.mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 20px;
}
.mask.hide { display: none; }
.sheet {
  background: #fff; border-radius: 16px; width: 100%; max-width: 340px;
  max-height: 86vh; overflow: auto; padding: 18px;
  animation: pop .22s ease;
}
@keyframes pop { from { transform: scale(.9); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.sheet h3 { margin: 0 0 14px; font-size: 16px; text-align: center; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--sub); margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; font-size: 14px; outline: none;
  font-family: inherit; background: #fafbfc;
}
.field input:focus, .field textarea:focus { border-color: var(--red); background: #fff; }
.sheet .btn-main { margin-top: 6px; }
.close-x {
  float: right; font-size: 20px; color: #bbb; line-height: 1; cursor: pointer;
  margin: -6px -4px 0 0;
}

/* 海报弹层 */
.poster-wrap { text-align: center; }
.poster-wrap img { width: 100%; border-radius: 12px; display: block; }
.poster-tip { font-size: 11.5px; color: #999; margin: 10px 0 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 42%; transform: translate(-50%,-50%);
  background: rgba(0,0,0,.82); color: #fff;
  padding: 11px 18px; border-radius: 10px; font-size: 13.5px;
  z-index: 999; max-width: 76%; text-align: center;
}
.toast.hide { display: none; }

/* ---------- 推广中心 ---------- */
.wallet {
  background: linear-gradient(150deg, #ff5b4a, var(--red-deep));
  color: #fff; border-radius: var(--radius); padding: 18px; margin: 12px;
  box-shadow: 0 6px 20px rgba(216,30,6,.28);
}
.wallet .t { font-size: 12px; opacity: .85; }
.wallet .n { font-size: 32px; font-weight: 800; margin: 4px 0 14px; letter-spacing: .5px; }
.wallet .row { display: flex; }
.wallet .row div { flex: 1; font-size: 12px; opacity: .92; }
.wallet .row div b { display: block; font-size: 16px; font-weight: 700; margin-top: 2px; }

.grid4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); margin: 12px; padding: 14px 0;
  box-shadow: var(--shadow); text-align: center;
}
.grid4 a { text-decoration: none; color: var(--text); }
.grid4 .n { font-size: 17px; font-weight: 800; }
.grid4 .l { font-size: 11px; color: var(--sub); margin-top: 2px; }

.list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.list-item:last-child { border-bottom: none; }
.list-item .l { color: var(--sub); font-size: 11.5px; }
.badge {
  font-size: 10px; padding: 2px 7px; border-radius: 999px;
  background: #fff0ef; color: var(--red); font-weight: 700;
}
.badge.green { background: #e8f7ee; color: #18a058; }
.badge.gray { background: #f1f2f4; color: #8a8f99; }

.empty { text-align: center; color: #b6bac2; font-size: 12.5px; padding: 22px 0; }

/* 加载中 */
.loading { text-align: center; color: var(--sub); padding: 40px 0; font-size: 13px; }

/* ============================================================
   活动热度条
   ============================================================ */
.stats-bar {
  display: flex; align-items: center; justify-content: space-around;
  margin: 10px 12px 0; padding: 9px 6px;
  background: #fff; border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow); font-size: 11px; color: var(--sub);
}
.stats-bar b { display: block; text-align: center; font-size: 15px; color: var(--red); font-weight: 800; }

/* ============================================================
   排行榜
   ============================================================ */
.rank-tabs { display: flex; gap: 8px; margin: 4px 0 10px; }
.rank-tabs a {
  flex: 1; text-align: center; padding: 7px 0; font-size: 12.5px;
  color: var(--sub); background: #f5f6f8; border-radius: 999px; text-decoration: none;
}
.rank-tabs a.on { color: #fff; background: linear-gradient(135deg, #ff6a3d, var(--red)); font-weight: 700; }

.rank-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 4px; border-bottom: 1px solid var(--line);
}
.rank-row:last-child { border-bottom: none; }
.rank-row .rk { width: 26px; text-align: center; font-size: 13px; font-weight: 800; color: var(--sub); }
.rank-row.top .rk { font-size: 17px; }
.rank-row .av {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffe3d6, #ffd0bd); color: var(--red-deep);
  font-size: 13px; font-weight: 800;
}
.rank-row .nm { flex: 1; font-size: 13.5px; color: var(--text); }
.rank-row .ct { font-size: 12.5px; color: var(--red); font-weight: 700; }

/* ============================================================
   客服弹层
   ============================================================ */
.cs-box { text-align: center; padding: 6px 0 2px; }
.cs-name { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.cs-line { font-size: 13px; color: var(--sub); margin-bottom: 14px; word-break: break-all; }

/* ============================================================
   微信分享引导蒙层
   ============================================================ */
.share-guide {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0, 0, 0, .78);
  color: #fff; text-align: right; padding: 14px 20px;
}
.sg-arrow { font-size: 42px; line-height: 1; color: var(--gold); margin-right: 4px; }
.sg-txt { font-size: 15px; line-height: 1.7; margin-top: 6px; font-weight: 600; }
.sg-close {
  position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%);
  padding: 9px 34px; border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px; font-size: 13px; color: #fff;
}
.hide { display: none !important; }

/* ===== 到店核销码 ===== */
.vc-box {
  text-align: center;
  background: linear-gradient(135deg, #eafaf1, #f2fbf6);
  border: 1px dashed #7ed3a6;
  border-radius: 14px;
  padding: 18px 12px 14px;
  margin: 8px 0 16px;
}
.vc-tip { font-size: 12.5px; color: #5c8a72; }
.vc-code {
  font-size: 34px; font-weight: 800; letter-spacing: 8px;
  color: #0f9d58; margin: 10px 0 8px;
  font-variant-numeric: tabular-nums;
}
.vc-note { font-size: 11.5px; color: #97a3ad; }
.vc-mini {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: #0f9d58; background: #eafaf1; border-radius: 6px; padding: 3px 9px;
}

/* ==================================================================
   悬浮红包（赚佣引导）
   纯 CSS 绘制，不依赖图片：红包体 + 金色“开”印章 + 跳动金币 + 赚xx元胶囊
   动画克制：整体轻微上下浮 + 红包小幅摆动 + 金币错峰跳动

   位置策略：position:fixed 悬浮在右侧「距结束」倒计时条那一行。
   —— 具体 top 由页面脚本读一次倒计时条坐标后写入（标题换行也不会错位）；
   —— 完全脱离文档流，不占任何一行/一列，页面排版不受影响；
   —— 页面怎么滚都停在原处，客户永远知道去哪点转发。
   ================================================================== */
/* 外层只定位、不做动画：保证点击区域固定不动，手指点得准
   （动效交给内层红包体：上下浮 + 左右摆动 + 印章缩放 + 金币跳动） */
.redpack {
  position: fixed; right: 10px; top: 273px;
  left: auto; bottom: auto;
  width: 68px; z-index: 35;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 6px 10px rgba(190, 20, 12, .22));
  transition: filter .15s ease;
}
.redpack.hide { display: none; }
.redpack:active { filter: drop-shadow(0 2px 5px rgba(190, 20, 12, .3)) brightness(.96); }

/* 底部一行小字：明确告诉客户"这东西可以点" */
.rp-tip {
  margin-top: 2px; text-align: center; font-size: 10px; font-weight: 700;
  color: #d81e06; letter-spacing: .3px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .95), 0 0 6px rgba(255, 255, 255, .9);
}

.rp-env {
  position: relative; width: 68px; height: 80px; border-radius: 9px;
  background: linear-gradient(160deg, #ff5142, #dd1a10);
  animation: rpSway 2.6s ease-in-out infinite;
  transform-origin: 50% 88%;
}/* 红包封口 */
.rp-env::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 32px;
  background: linear-gradient(180deg, #ff776a, #ef3126);
  border-radius: 9px 9px 30px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .10);
}
.rp-seal {
  position: absolute; left: 50%; top: 23px; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fff2c2, #f8c93f 58%, #dfa116);
  color: #d81e06; font-size: 17px; font-weight: 800; line-height: 34px; text-align: center;
  box-shadow: 0 3px 7px rgba(120, 20, 10, .25), inset 0 1px 2px rgba(255, 255, 255, .7);
  animation: rpSeal 2.4s ease-in-out infinite;
}
.rp-coin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fff6cf, #f7c93f 58%, #dd9f18);
  box-shadow: 0 2px 4px rgba(120, 20, 10, .22);
}
.rp-coin.c1 { left: 4px; bottom: 9px; animation: rpCoin 2.6s ease-in-out infinite; }
.rp-coin.c2 { left: 15px; bottom: 3px; animation: rpCoin 2.6s .28s ease-in-out infinite; }
.rp-coin.c3 { right: 6px; bottom: 7px; animation: rpCoin 2.6s .14s ease-in-out infinite; }

.rp-pill {
  margin-top: 3px; height: 21px; line-height: 21px; text-align: center;
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .3px;
  border-radius: 11px;
  background: linear-gradient(90deg, #ff9a1e, #ff5a00);
  box-shadow: 0 4px 10px rgba(255, 90, 0, .35);
}

/* 红包体：轻微上下浮 + 左右摆动，肉眼明显"在动"但外层位置不动 */
@keyframes rpSway {
  0%, 100% { transform: translateY(0) rotate(-2.2deg); }
  50% { transform: translateY(-6px) rotate(2.2deg); }
}
@keyframes rpWiggle {
  0%, 100% { transform: rotate(-2.4deg); }
  50% { transform: rotate(2.4deg); }
}
@keyframes rpSeal {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.09); }
}
@keyframes rpCoin {
  0%, 100% { transform: translateY(0) scale(1); opacity: .92; }
  50% { transform: translateY(-7px) scale(1.1); opacity: 1; }
}

/* 系统开启"减少动态效果"时静默，避免眩晕 */
@media (prefers-reduced-motion: reduce) {
  .redpack, .rp-env, .rp-seal, .rp-coin { animation: none; }
}

/* ==================================================================
   转发面板（点红包后弹出）：转发内容就是这张海报
   ================================================================== */
.share-sheet { text-align: center; }
.share-earn { font-size: 12.5px; color: #6b7280; margin: -8px 0 12px; }
.share-earn b { color: #d81e06; font-size: 16px; font-weight: 800; }

.share-poster {
  background: #f5f6f8; border-radius: 12px; padding: 8px;
  margin-bottom: 12px; overflow: hidden;
}
.share-poster img {
  width: 100%; max-height: 44vh; object-fit: contain; border-radius: 9px; display: block;
}
.share-poster .loading {
  padding: 96px 0; color: #b6bac2; font-size: 13px;
  background: linear-gradient(100deg, #f0f1f4 25%, #f7f8fa 37%, #f0f1f4 63%);
  background-size: 400% 100%; border-radius: 9px;
  animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 50% } 100% { background-position: 0 50% } }

.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-btns button {
  height: 76px; border: 0; border-radius: 13px; color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
  background: linear-gradient(135deg, #47c76a, #1f9d43);
  box-shadow: 0 6px 14px rgba(31, 157, 67, .26);
  -webkit-tap-highlight-color: transparent;
}
.share-btns button.moment {
  background: linear-gradient(135deg, #57a9f2, #2577cf);
  box-shadow: 0 6px 14px rgba(37, 119, 207, .26);
}
.share-btns button:active { transform: scale(.97); }
.share-btns b { display: block; font-size: 22px; font-weight: 400; margin-bottom: 5px; }

/* ==================================================================
   微信内"点右上角"引导：微信不允许 JS 直接唤起分享面板，
   只能在用户点完按钮后盖一层指路层，把手指引到「···」
   ================================================================== */
.wx-guide {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, .74);
  color: #fff; padding: 10px 16px; text-align: right;
  animation: fadeIn .16s ease;
}
.wx-guide.hide { display: none; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.wx-guide .dot3 {
  display: inline-block; font-size: 26px; line-height: 1; letter-spacing: 2px;
  padding: 7px 13px; border: 2px dashed rgba(255, 255, 255, .85); border-radius: 12px;
  animation: dot3Pulse 1.4s ease-in-out infinite;
}
@keyframes dot3Pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}
.wx-guide .arrow { display: block; font-size: 22px; margin: 2px 16px 18px 0; opacity: .9; }
.wx-guide .step { font-size: 15px; line-height: 1.9; font-weight: 600; }
.wx-guide .step em { font-style: normal; color: #ffd76e; }
.wx-guide .sub { font-size: 12.5px; opacity: .78; margin-top: 10px; line-height: 1.7; }


/* ==================================================================
   收益排行榜（活动页区块）
   结构照参考图：标题 → 表头（排名/用户名称/收益）→ 榜单行 → 查看更多
   数据由 /api/activity/earn-rank 下发，后台可整体关掉
   ================================================================== */
.act-rank { background: #fff; margin-top: 8px; padding: 16px 0 4px; scroll-margin-top: 8px; }
.rk-title {
  text-align: center; font-size: 17px; font-weight: 800; letter-spacing: .5px;
  color: #e8501f; margin-bottom: 14px;
}
.rk-head {
  display: flex; align-items: center; background: #f4f5f7;
  color: #6b7280; font-size: 12.5px; font-weight: 600;
  padding: 9px 14px;
}
.rk-head span:nth-child(1) { width: 52px; }
.rk-head span:nth-child(2) { flex: 1; }
.rk-head span:nth-child(3) { width: 116px; text-align: right; }

.rk-row {
  display: flex; align-items: center; padding: 11px 14px;
  border-bottom: 1px solid #f6f7f9;
}
.rk-row:last-child { border-bottom: 0; }
.rk-no {
  width: 52px; font-size: 15px; font-weight: 800; color: #9aa0aa;
  font-variant-numeric: tabular-nums;
}
.rk-no .medal { font-size: 23px; line-height: 1; }
.rk-av {
  width: 40px; height: 40px; border-radius: 50%; flex: none; margin-right: 10px;
  background: #eef0f4; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 700;
}
.rk-av.square { border-radius: 8px; }
.rk-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-name {
  flex: 1; min-width: 0; font-size: 14px; color: #2b3038;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding-right: 8px;
}
.rk-earn {
  width: 116px; text-align: right; color: #ff5722;
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rk-earn small { font-size: 11px; font-weight: 500; opacity: .9; }
.rk-more {
  text-align: center; color: #e8282b; font-size: 13px; font-weight: 600;
  padding: 14px 0 10px; cursor: pointer;
}
.rk-more.hide { display: none; }

/* ==================================================================
   页面底部：交易须知 / 技术支持 / 免费建站引导
   结构照参考产品：红色须知行 → 蓝色技术支持行 → 橙色描边引导卡
   猫头像走内联 SVG（promo.js 注入），不依赖图片、不占请求
   ================================================================== */
.pf-wrap {
  background: #fff; margin-top: 8px;
  padding: 20px 16px calc(24px + env(safe-area-inset-bottom));
  text-align: center;
}

/* 第一行：交易须知 | 投诉建议 */
.pf-links {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 13.5px;
}
.pf-links .pf-l { color: #e8282b; text-decoration: none; font-weight: 500; }
.pf-links .pf-l:active { opacity: .6; }
.pf-links i { font-style: normal; color: #e8282b; opacity: .5; }

/* 第二行：品牌 | 仅提供技术支持 › */
.pf-tech {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 12.5px; color: #4b8df8;
}
.pf-tech .pf-mini { width: 17px; height: 17px; flex: none; display: block; }
.pf-tech .pf-mini svg { width: 100%; height: 100%; display: block; }
.pf-tech .pf-brand { font-weight: 700; color: #2f7bff; }
.pf-tech .pf-support { color: #6f9ef0; }
.pf-tech i { font-style: normal; color: #b9cbe8; }
.pf-tech .pf-chev { font-style: normal; color: #9fb6d6; font-size: 14px; line-height: 1; }

/* 引导卡：猫头像 + 两行文案 + 橙色的「马上创建」 */
.pf-card {
  margin-top: 16px;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  text-align: left; text-decoration: none;
  background: linear-gradient(100deg, #fff8f4, #ffefe6);
  border: 1px solid #ffd7c2; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 122, 47, .08);
  transition: transform .12s ease;
}
.pf-card:active { transform: scale(.99); }
.pf-avatar { width: 44px; height: 44px; flex: none; display: block; }
.pf-avatar svg {
  width: 100%; height: 100%; display: block; border-radius: 50%;
  box-shadow: 0 2px 7px rgba(255, 106, 0, .22);
}
.pf-txt { flex: 1; min-width: 0; }
.pf-txt b {
  display: block; font-size: 13.5px; font-weight: 800; line-height: 1.5;
  color: #c2410c; letter-spacing: .2px;
}
.pf-txt em {
  display: block; font-style: normal; font-size: 13.5px; font-weight: 800;
  line-height: 1.5; color: #c2410c;
}
.pf-btn {
  flex: none; margin-left: 4px;
  padding: 9px 18px; border-radius: 22px;
  background: linear-gradient(135deg, #ff8a3d, #ff5f00);
  color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .5px;
  box-shadow: 0 4px 10px rgba(255, 95, 0, .3);
  white-space: nowrap;
}

/* 先付款后填资料：下单弹层里的一行说明 */
.pay-tip { font-size: 11.5px; color: #9aa0aa; text-align: center; line-height: 1.6; margin: -2px 0 10px; }
