/* ==========================================================================
   二级页（从「我的」菜单与首页入口进入的页面）
   尺寸全部来自源站 390 宽实测：docs/research/pages/*.json
   ========================================================================== */

/* 顶部标题栏：源站 uni-page-head 实测 h=44，内容垂直中心 22.5（返回箭头 y12.5 h20） */
.sub-head {
  height: 44px;
  background: rgb(255, 64, 64);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 30;
}

.sub-head__back {
  position: absolute;
  left: 10px;
  top: 12.5px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-head__back::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.sub-head__right {
  position: absolute;
  right: 15px;
  top: 12.5px;
  height: 20px;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
}

.sub-page { min-height: 100vh; background: #f3f2f8; }

/* ---------------------------- 设置中心 ---------------------------- */
.st-group {
  margin: 15px 15px 0;
  background: #fff;
  border-radius: 8px;
  padding: 3px;
}
.st-group + .st-group { margin-top: 15px; }

.st-row {
  position: relative;
  height: 55px;
  padding: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
}

/* 源站每行之间是 1px 间隙 + 一条 hairline（行顶 62/118/174…，间距 56） */
.st-row + .st-row { margin-top: 1px; }
.st-row + .st-row::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: -1px;
  height: 1px;
  background: #ebebeb;
}

.st-row__t { font-size: 16.8px; line-height: 22px; color: #000; }
.st-row__v {
  position: absolute;
  right: 27px;
  top: 18.5px;
  font-size: 13.6px;
  line-height: 18px;
  color: #666;
}
.st-row__arrow {
  position: absolute;
  right: 12px;
  top: 21.5px;
  width: 6px;
  height: 12px;
  background: no-repeat center/6px 12px;
}
.st-row__arrow::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-top: 3px;
  border-top: 1px solid #c8c9cc;
  border-right: 1px solid #c8c9cc;
  transform: rotate(45deg);
}

/* 大号字体行：两行文字 + 右侧 switch，总高 55 但内容 27 + 16 */
.st-row--switch { height: 55px; align-items: flex-start; padding-top: 12px; }
.st-row__switchbox { display: flex; flex-direction: column; width: 100%; }
.st-row__switchline { display: flex; align-items: center; justify-content: space-between; height: 27px; }
.st-row__switchlabel { font-size: 17px; line-height: 22px; color: rgba(0, 0, 0, 0.9); }
.st-row__switchdesc { margin-top: 0; font-size: 13px; line-height: 16px; color: #666; }

.st-switch {
  position: relative;
  width: 52px;
  height: 27px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s;
}
.st-switch::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.st-switch.is-on { background: #f64040; border-color: #f64040; }
.st-switch.is-on::after { transform: translateX(25px); }

/* ---------------------------- 收益统计 ---------------------------- */
.in-body { background: #fff; padding: 22px 13px 0; min-height: calc(100vh - 59px); box-sizing: border-box; }

.in-card {
  background: #fff;
  border-radius: 17px;
  /* 源站实测：box-shadow: rgba(150,150,150,.7) 0 1px 4px 0 */
  box-shadow: 0 1px 4px rgba(150, 150, 150, 0.7);
  padding: 17px 16px 19px;
}
.in-card + .in-card, .in-row + .in-card { margin-top: 24px; }

.in-card__icon {
  width: 21px;
  height: 21px;
  background: no-repeat center/21px 21px;
}
.in-card__label { margin-top: 10px; font-size: 13px; line-height: 17px; color: rgba(0, 0, 0, 0.9); }
.in-card__sub { margin-top: 6px; font-size: 10px; line-height: 14px; color: #999; }
.in-card__num { margin-top: 14px; font-size: 26px; line-height: 35px; color: rgb(255, 33, 53); }

.in-row { display: flex; gap: 21.8px; margin-top: 24px; }
.in-row .in-card { flex: 1; margin: 0; padding: 17px 16px; }
.in-row .in-card__num { font-size: 21px; line-height: 28px; }

.in-card__head { display: flex; align-items: center; justify-content: space-between; }
.in-card__more { display: flex; align-items: center; font-size: 13px; line-height: 17px; color: rgb(72, 177, 241); }
.in-card__more::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-top: 1px solid #c8c9cc;
  border-right: 1px solid #c8c9cc;
  transform: rotate(45deg);
}

.in-cols { display: flex; flex-wrap: wrap; margin-top: 18px; }
.in-cols > div { width: 50%; font-size: 12px; line-height: 22px; color: rgb(151, 149, 150); }

.in-today { margin: 10px 0 0 13px; font-size: 14px; line-height: 27px; color: #000; }
.in-today b { font-size: 20px; font-weight: 400; color: rgb(253, 66, 61); }
.in-today i { font-size: 14px; font-style: normal; color: rgb(253, 66, 61); }
.in-hint { margin: 27px 0 0 13px; font-size: 12px; line-height: 16px; color: rgb(201, 201, 201); }

/* ---------------------------- 举报维权 / 我的任务（tab 页） ---------------------------- */
.sub-tabs {
  display: flex;
  height: 44px;
  background: #fff;
  position: sticky;
  top: 44px;
  z-index: 20;
}
.sub-tabs__item {
  flex: 1;
  position: relative;
  font-size: 14px;
  color: #333;
  background: none;
  border: 0;
  cursor: pointer;
}
.sub-tabs__item.is-active { color: rgb(255, 64, 64); font-weight: 700; }
.sub-tabs__item.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 3px;
  margin-left: -24px;
  border-radius: 2px;
  background: rgb(255, 64, 64);
}

/* 源站：我的任务 390x24@89 fs14；举报维权 y94 h20 fs12 红色 */
.sub-tip { height: 24px; line-height: 24px; font-size: 14px; text-align: center; color: #333; background: transparent; }
.sub-tip--center { height: 20px; line-height: 20px; margin-top: 5px; font-size: 12px; color: rgb(255, 64, 64); }

.sub-empty { margin-top: 55px; text-align: center; }
.sub-empty__img { width: 170px; height: 125px; margin: 0 auto; background: no-repeat center/170px 125px; }
.sub-empty__txt { font-size: 12px; line-height: 16px; color: rgb(153, 153, 153); }

.sub-body-pad { padding-top: 56px; }
.sub-fab {
  position: fixed;
  right: 12px;
  bottom: 96px;
  width: 67px;
  height: 67px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  font-size: 12px;
  color: #333;
  cursor: pointer;
}

/* ---------------------------- 消息中心 ---------------------------- */
.mg-card { margin: 13px 13px 0; background: #fff; border-radius: 12px; padding: 10px 0; }
.mg-grid { display: flex; flex-wrap: wrap; }
.mg-item {
  width: 25%;
  height: 57px;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0;
}
.mg-item__icon { width: 34px; height: 34px; background: no-repeat center/34px 34px; }
.mg-item__txt { margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 19px; color: rgba(0, 0, 0, 0.9); }
.mg-body { min-height: 200px; }

/* ---------------------------- 会员中心 ---------------------------- */
.vip-top { height: 125px; background: no-repeat center/100% 100%; }
.vip-top .sub-head { background: transparent; color: #3a3a3a; }
.vip-top .sub-head__back::before { border-color: #3a3a3a; }
.vip-user { display: flex; align-items: center; height: 80px; padding-left: 20px; }
.vip-avatar { width: 50px; height: 50px; border-radius: 50%; background: no-repeat center/50px 50px; }
.vip-user__meta { margin-left: 12px; font-size: 17px; line-height: 27px; color: #fff; }

.vip-tabs { display: flex; height: 44px; background: #fff; overflow-x: auto; }
.vip-tabs__item {
  flex: 0 0 94px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 18px;
  color: #333;
  cursor: pointer;
}
.vip-tabs__item.is-active { color: #3a3a3a; position: relative; }
.vip-tabs__item.is-active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: #c8a96a;
}

.vip-card {
  margin: 15px 15px 0;
  height: 380px;
  border-radius: 20px;
  background: no-repeat center/100% 100%;
  padding: 20px;
  box-sizing: border-box;
}
.vip-card__title { font-size: 16px; line-height: 21px; color: #333; }
.vip-card__expire { margin-top: 8px; font-size: 12px; line-height: 16px; color: #5a5347; }
.vip-benefits { margin-top: 10px; font-size: 14px; line-height: 28px; color: #2b2b2b; }
.vip-benefits b { font-weight: 400; color: #e8362f; }
.vip-foot { margin-top: 15px; font-size: 14px; line-height: 19px; color: #999; text-align: center; cursor: pointer; }

/* ---------------------------- 赏金 ---------------------------- */
.cash-top {
  position: relative;
  height: 253px;
  background: no-repeat center/100% 100%;
  padding-bottom: 0;
}
.cash-top .sub-head { background: transparent; }
.cash-label {
  margin-top: 11px;
  text-align: center;
  font-size: 16px;
  line-height: 21px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cash-q {
  width: 14px; height: 14px; margin-left: 6px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  position: relative;
}
.cash-q::after {
  content: "?"; position: absolute; inset: 0; font-size: 10px; line-height: 13px;
  text-align: center; color: #fff;
}
.cash-num { margin-top: 10px; text-align: center; font-size: 30px; line-height: 40px; color: #fff; }

.cash-body {
  position: relative;
  margin-top: -62px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  min-height: calc(100vh - 191px);
  padding-top: 5px;
  box-sizing: border-box;
}
.cash-tabs { display: flex; height: 44px; }
.cash-tab {
  flex: 1;
  position: relative;
  border: 0;
  background: none;
  font-size: 16px;
  color: #333;
  cursor: pointer;
}
.cash-tab.is-active { color: rgb(255, 64, 64); font-weight: 700; }
.cash-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 24px;
  height: 3px;
  margin-left: -12px;
  border-radius: 2px;
  background: rgb(255, 64, 64);
}
.cash-tip { height: 26px; line-height: 26px; text-align: center; font-size: 15px; color: #999; }
.cash-foot {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 5px 39px 10px;
  background: #fff;
}
.cash-btn {
  width: 100%;
  height: 45px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #ff6a3d, #ff4d3d);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cash-btn__icon {
  width: 16px; height: 16px; margin-right: 6px;
  border: 1.5px solid #fff; border-radius: 3px;
  position: relative;
}
.cash-btn__icon::after {
  content: ""; position: absolute; left: 3px; top: 4px; width: 6px; height: 4px;
  border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg);
}

/* ---------------------------- 悬赏主余额 ---------------------------- */
.bal { padding: 19px 16px 0; font-size: 13px; line-height: 22px; color: rgb(154, 154, 154); }
.bal p { margin: 0; }
.bal-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; line-height: 19px; color: rgba(0, 0, 0, 0.9); }
.bal-row b { font-weight: 400; color: rgb(255, 64, 64); }
.bal-row__right { font-size: 12px; }
.bal-row--sub { margin-top: 18px; color: rgba(0, 0, 0, 0.9); }
.bal-help { font-size: 12px; color: rgb(61, 165, 255); }
.bal-link { color: rgb(61, 165, 255); text-decoration: none; }
.bal-p { margin: 0; }
.bal-p b { font-weight: 400; color: rgb(255, 64, 64); }
.bal-strong { color: rgba(0, 0, 0, 0.9); }
.bal-strong em { font-style: normal; color: rgb(255, 0, 0); }
.bal .sub-empty { margin-top: 15px; }

/* ---------------------------- 我的店铺 ---------------------------- */
.shop-top {
  position: relative;
  height: 210px;
  background: no-repeat center/100% 100%;
  padding-top: 0;
}
.shop-top .sub-head { background: transparent; }
.shop-user { display: flex; align-items: center; padding: 16px 15px 0; }
.shop-avatar { width: 80px; height: 80px; border-radius: 50%; background: no-repeat center/80px 80px; }
.shop-user__meta { margin-left: 15px; }
.shop-name { display: flex; align-items: center; font-size: 20.8px; line-height: 27px; color: #fff; }
.shop-score { width: 24px; height: 24px; margin-left: 6px; background: no-repeat center/24px 24px; }
.shop-sub { margin-top: 3px; display: flex; gap: 14px; font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, 0.8); }
.shop-deco {
  margin: 14px 0 0 15px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.shop-stat { margin-top: 0; background: #f7f8fa; border-radius: 12px 12px 0 0; padding: 16px 0 0; min-height: calc(100vh - 210px); }
.shop-stat__title { display: flex; align-items: center; justify-content: space-between; padding: 0 15px; font-size: 16px; line-height: 21px; color: rgba(0, 0, 0, 0.9); }
.shop-stat__caret {
  width: 8px; height: 8px; margin-right: 4px;
  border-right: 1px solid #bbb; border-bottom: 1px solid #bbb;
  transform: rotate(45deg) translateY(-2px);
}
.shop-stat .sub-tabs { background: transparent; }
.shop-stat__tip { margin-top: 12px; text-align: center; font-size: 12px; line-height: 21px; color: #666; }
.shop-stat .sub-empty { margin-top: 26px; }

/* ---------------------------- 弹窗 ---------------------------- */
.mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mask__close {
  position: relative;
  margin-top: 14px;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.mask__close::before, .mask__close::after {
  content: ""; position: absolute; left: 10px; top: 16.5px; width: 15px; height: 1.5px; background: #fff;
}
.mask__close::before { transform: rotate(45deg); }
.mask__close::after { transform: rotate(-45deg); }

.dlg {
  width: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px 18px;
  box-sizing: border-box;
  position: relative;
  text-align: center;
}
.dlg__title {
  position: absolute;
  left: 50%;
  top: -14px;
  width: 176px;
  margin-left: -88px;
  height: 34px;
  line-height: 34px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff8a6e, #ff4b3e);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.dlg__body { font-size: 15px; line-height: 26px; color: #333; text-align: left; padding: 6px 2px 18px; }
.dlg__btns { display: flex; gap: 14px; }
.dlg__btn {
  flex: 1; height: 40px; border: 1px solid #ddd; border-radius: 20px;
  background: #fff; color: #999; font-size: 15px; cursor: pointer;
}
.dlg__btn--main { border: 0; background: linear-gradient(90deg, #ff7a5c, #ff3b30); color: #fff; }

/* 实名认证弹窗：插画背景 + 文案 + 两个按钮 */
.dlg--auth {
  width: 300px;
  padding: 148px 14px 12px;
  background: no-repeat top center/300px 150px, #fff;
  text-align: left;
}
.dlg-auth__body { font-size: 12.5px; line-height: 19px; color: #333; }
.dlg-auth__body p { margin: 0; }
.dlg-auth__body em { font-style: normal; color: #ff3b30; }
.dlg-auth__q { margin: 2px 0; }
.dlg-auth__main {
  width: 100%; height: 38px; margin-top: 12px; border: 0; border-radius: 19px;
  background: linear-gradient(90deg, #ff9a8b, #ff5c4d); color: #fff; font-size: 15px; cursor: pointer;
}
.dlg-auth__sub {
  width: 100%; height: 30px; margin-top: 4px; border: 0; background: none;
  color: #999; font-size: 14px; cursor: pointer;
}

/* ---------------------------- 管理悬赏 ---------------------------- */
.tm-notice {
  display: flex; align-items: center; height: 40px; padding: 0 15px;
  background: #fff; margin: 8px 13px 0; border-radius: 6px;
}
.tm-badge { width: 30px; height: 16px; background: no-repeat center/30px 16px; flex: 0 0 auto; }
.tm-notice__view { flex: 1; height: 20px; min-height: 20px; overflow: hidden; margin: 0 8px; }
.tm-notice__line { height: 20px; line-height: 20px; font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-more { flex: 0 0 auto; font-size: 12px; color: #999; cursor: pointer; }

.tm-states { display: flex; height: 44px; margin-top: 6px; background: #fff; overflow-x: auto; }
.tm-state {
  flex: 0 0 78px; position: relative; height: 44px; border: 0; background: none;
  font-size: 14px; color: #666; cursor: pointer;
}
.tm-state.is-active { color: rgb(255, 64, 64); font-weight: 700; }
.tm-state.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 24px; height: 3px;
  margin-left: -12px; border-radius: 2px; background: rgb(255, 64, 64);
}
.tm-search { display: flex; align-items: center; gap: 10px; padding: 14px 15px 0; }
.tm-search__input {
  flex: 1; height: 36px; border: 0; border-radius: 18px; background: #f3f4f6;
  padding: 0 14px; font-size: 14px; color: #333; outline: none;
}
.tm-search__btn {
  width: 28px; border: 0; background: none; color: rgb(255, 64, 64);
  font-size: 14px; cursor: pointer;
}
.tm-tip { margin-top: 14px; text-align: center; font-size: 13px; line-height: 27px; color: #999; }
.tm-list { min-height: 300px; padding-top: 20px; }
.tm-publish {
  position: fixed; right: 15px; bottom: 154px; width: 60px; height: 60px;
  border: 0; border-radius: 50%; background: no-repeat center 12px/26px 26px, #d0021b;
  cursor: pointer;
}
.tm-publish span {
  position: absolute; left: 0; right: 0; bottom: 8px; font-size: 11px; color: #fff; text-align: center;
}
.tm-list .sub-empty { margin-top: 40px; }

/* ==========================================================================
   营销活动页（新手福利 / 每日福利 / 悬赏奖励榜 / 推广奖励榜 / 发布类型 / 邀请好友）
   数值全部来自源站 390 宽实测，统一乘以 --u 做等比缩放；
   页面本身限制最大宽度，避免桌面端被拉成巨型海报。
   ========================================================================== */
.mk {
  position: relative;
  width: 100%;
  max-width: calc(460 * var(--u));
  margin: 0 auto;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  overflow: hidden;
}
.mk-back {
  position: absolute;
  left: calc(10 * var(--u));
  top: calc(11 * var(--u));
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  border: 0;
  background: none;
  padding: 0;
  z-index: 12;
  cursor: pointer;
}
.mk-back::before {
  content: "";
  position: absolute;
  left: calc(7 * var(--u));
  top: 50%;
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  margin-top: calc(-5.5 * var(--u));
  border-left: calc(2 * var(--u)) solid #fff;
  border-bottom: calc(2 * var(--u)) solid #fff;
  transform: rotate(45deg);
  border-radius: calc(1 * var(--u));
}

/* ---------------------------- 新手福利 ---------------------------- */
.wf { padding-top: calc(331 * var(--u)); }
.wf-card {
  position: relative;
  margin: 0 calc(19 * var(--u));
  background: #fff;
  border-radius: calc(8 * var(--u));
  padding: calc(4 * var(--u)) calc(10 * var(--u)) calc(12 * var(--u));
  box-shadow: 0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(120, 40, 0, 0.12);
}
.wf-meta { position: relative; padding: 0 0 calc(8 * var(--u)); }
.wf-meta__r {
  display: flex; justify-content: space-between;
  font-size: calc(14 * var(--u)); line-height: calc(19 * var(--u)); color: #000;
  padding: 0 calc(4 * var(--u));
}
.wf-meta__r em { font-style: normal; }
.wf-meta__r--sub {
  margin-top: calc(9 * var(--u));
  font-size: calc(11 * var(--u)); line-height: calc(15 * var(--u)); color: #999;
}
.wf-wm {
  position: absolute; left: calc(4 * var(--u)); top: calc(4 * var(--u));
  width: calc(331 * var(--u)); height: calc(24 * var(--u));
  background: url(../img/page/word_water_mark_icon.png) center/100% 100% no-repeat;
  opacity: 0.5; pointer-events: none;
}
.wf-title {
  margin-top: calc(22 * var(--u));
  text-align: center;
  font-size: calc(18 * var(--u));
  font-weight: 700;
  letter-spacing: calc(0.5 * var(--u));
  color: rgba(0, 0, 0, 0.9);
}
.wf-cd {
  margin-top: calc(22 * var(--u));
  display: flex; align-items: center; justify-content: center;
  gap: calc(3 * var(--u));
}
.wf-cd__label { font-size: calc(12 * var(--u)); color: rgb(242, 42, 0); margin-right: calc(2 * var(--u)); }
.wf-cd__box {
  min-width: calc(18 * var(--u)); height: calc(22 * var(--u));
  display: inline-flex; align-items: center; justify-content: center;
  background: rgb(242, 42, 0); border-radius: calc(2 * var(--u));
  color: #fff; font-size: calc(17 * var(--u)); font-weight: 400;
  padding: 0 calc(2 * var(--u));
}
.wf-cd__unit { font-size: calc(10.3 * var(--u)); color: rgb(242, 42, 0); }
.wf-item { display: flex; gap: calc(8 * var(--u)); padding: calc(10 * var(--u)) calc(2 * var(--u)) 0; }
.wf-item:first-of-type { padding-top: calc(25 * var(--u)); }
.wf-item__no {
  flex: 0 0 auto;
  width: calc(18 * var(--u)); height: calc(18 * var(--u));
  margin-top: calc(2 * var(--u));
  border-radius: 50%; background: linear-gradient(180deg, #ffb347, #ff7a18);
  color: #fff; font-size: calc(12 * var(--u)); text-align: center; line-height: calc(18 * var(--u));
}
.wf-item__body { flex: 1; min-width: 0; }
.wf-item__head { display: flex; align-items: center; gap: calc(4 * var(--u)); }
.wf-item__t { font-size: calc(15 * var(--u)); color: rgba(0, 0, 0, 0.9); }
.wf-item__prize { font-size: calc(13 * var(--u)); color: rgb(255, 45, 45); font-weight: 700; }
.wf-item__btn {
  margin-left: auto; flex: 0 0 auto;
  height: calc(22 * var(--u)); padding: 0 calc(6 * var(--u));
  border: 0; border-radius: calc(11 * var(--u));
  background: linear-gradient(90deg, #ff6b5b, #ff2d2d);
  color: #fff; font-size: calc(10 * var(--u)); line-height: 1; cursor: pointer;
}
.wf-item__desc {
  margin-top: calc(6 * var(--u));
  font-size: calc(12 * var(--u)); line-height: calc(21 * var(--u)); color: #999;
}
.wf-item__desc em { font-style: normal; color: #999; }
.wf-daily {
  display: block;
  margin: calc(56 * var(--u)) auto calc(20 * var(--u));
  width: calc(233 * var(--u)); height: calc(44 * var(--u));
  border: 0; background: none;
  background: url(../img/page/daily_welfare_button_icon.png) center/100% 100% no-repeat;
  color: transparent; font-size: 0; cursor: pointer;
}

/* ---------------------------- 每日福利 ---------------------------- */
.dw { background-color: #fbf0e6; padding-bottom: calc(17 * var(--u)); }
.dw-cd { padding-top: calc(38 * var(--u)); text-align: center; }
.dw-cd__t { font-size: calc(11 * var(--u)); color: rgb(96, 32, 12); line-height: calc(15 * var(--u)); }
.dw-cd__row {
  margin-top: calc(11 * var(--u));
  display: flex; align-items: center; justify-content: center; gap: calc(4 * var(--u));
}
.dw-cd__box {
  min-width: calc(26 * var(--u)); height: calc(26 * var(--u));
  display: inline-flex; align-items: center; justify-content: center;
  background: rgb(43, 43, 43); border-radius: calc(4 * var(--u));
  color: #fff; font-size: calc(17 * var(--u));
}
.dw-cd__u { font-size: calc(10 * var(--u)); color: #000; }
.dw-card {
  margin: calc(14 * var(--u)) calc(36 * var(--u)) 0;
  background: #fff; border-radius: calc(10 * var(--u));
  box-shadow: 0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(200, 120, 40, 0.08);
}
.dw-card + .dw-card { margin-top: calc(10 * var(--u)); }
.dw-card__head {
  display: flex; align-items: center;
  padding: calc(13 * var(--u)) calc(15 * var(--u)) 0;
  white-space: nowrap;
}
.dw-card__ic {
  margin-right: calc(4 * var(--u));
  width: calc(31 * var(--u)); height: calc(32 * var(--u));
  background: no-repeat center/100% 100%;
  flex: 0 0 auto;
}
.dw-card__t { font-size: calc(14 * var(--u)); font-weight: 700; color: #000; }
.dw-card__t small { font-size: calc(11.5 * var(--u)); font-weight: 400; color: rgb(242, 42, 0); }
.dw-row {
  display: flex; align-items: center; gap: calc(6 * var(--u));
  padding: 0 calc(15 * var(--u));
  height: calc(66 * var(--u));
  position: relative;
}
.dw-row::after {
  content: ""; position: absolute; left: calc(15 * var(--u)); right: calc(15 * var(--u)); bottom: 0;
  height: 1px; background: #f2f2f2; transform: scaleY(0.5);
}
.dw-row:last-child::after { display: none; }
.dw-row__no {
  flex: 0 0 auto;
  width: calc(22 * var(--u)); height: calc(22 * var(--u));
  border-radius: 50%; background: linear-gradient(180deg, #ffb347, #ff6a00);
  color: #fff; font-size: calc(12 * var(--u)); text-align: center; line-height: calc(22 * var(--u));
}
.dw-row__main { flex: 1; min-width: 0; }
.dw-row__head { display: flex; align-items: center; justify-content: space-between; gap: calc(6 * var(--u)); }
.dw-row__t { font-size: calc(14 * var(--u)); font-weight: 700; color: #000; white-space: nowrap; }
.dw-row__barline { display: flex; align-items: center; gap: calc(8 * var(--u)); margin-top: calc(8 * var(--u)); }
.dw-row__prize { font-size: calc(15 * var(--u)); font-weight: 700; color: rgb(255, 45, 20); white-space: nowrap; }
.dw-bar { flex: 1; height: calc(6 * var(--u)); border-radius: calc(3 * var(--u)); background: #ececec; }
.dw-bar__fill { height: 100%; width: 0; border-radius: calc(3 * var(--u)); background: linear-gradient(90deg, #ff9a6b, #ff5b3b); }
.dw-bar__cnt { flex: 0 0 auto; font-size: calc(12 * var(--u)); color: #9a9a9a; line-height: calc(16 * var(--u)); }
.dw-btn {
  flex: 0 0 auto; align-self: center;
  height: calc(34 * var(--u)); padding: 0 calc(7 * var(--u)); white-space: nowrap;
  border: 0; border-radius: calc(17 * var(--u));
  background: linear-gradient(90deg, #ff5b3b, #ff2d2d);
  color: #fff; font-size: calc(13 * var(--u)); cursor: pointer;
}
.dw-banner, .dw-warn {
  display: block;
  margin: calc(31 * var(--u)) calc(17 * var(--u)) 0;
  width: calc(356 * var(--u)); height: calc(74 * var(--u));
  background: no-repeat center/100% 100%;
}
.dw-banner { background-image: url(../img/page/dian_tuan_bang_min_icon.png); }
.dw-warn { margin-top: calc(10 * var(--u)); background-image: url(../img/page/daily_warn_icon.png); }

/* ---------------------------- 发布类型 ---------------------------- */
.pb { background: rgb(243, 242, 248); padding-bottom: calc(20 * var(--u)); }
.pb .sub-head { background: rgb(255, 74, 49); height: calc(45 * var(--u)); }
.pb-body { padding: calc(15 * var(--u)); }
.pb-h { font-size: calc(16 * var(--u)); line-height: calc(21 * var(--u)); color: #000; }
.pb-sec { margin-bottom: calc(8 * var(--u)); }
.pb-sec + .pb-sec { margin-top: calc(8 * var(--u)); }
.pb-grid {
  display: flex; align-items: flex-start;
  margin: calc(8 * var(--u)) 0 0;
  background: #fff; border-radius: calc(5 * var(--u));
  padding: calc(17 * var(--u)) 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 1px 1px 0, rgba(0, 0, 0, 0.19) 0 1px 5px 0;
}
.pb-item {
  flex: 0 0 calc(80 * var(--u));
  text-align: center; border: 0; background: none; padding: 0; cursor: pointer;
}
.pb-item__ic {
  display: block; margin: 0 auto;
  width: calc(34 * var(--u)); height: calc(31 * var(--u));
  background: no-repeat center/contain;
}
.pb-item__t { display: block; margin-top: calc(10 * var(--u)); font-size: calc(13 * var(--u)); color: rgba(0, 0, 0, 0.9); }
.pb-banner {
  display: block;
  margin: calc(8 * var(--u)) 0 0;
  width: calc(360 * var(--u)); height: calc(65 * var(--u));
  background: url(../img/page/tasker_publish_banner.png) center/100% 100% no-repeat;
  border-radius: calc(5 * var(--u));
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px 0, rgba(0, 0, 0, 0.19) 0 2px 10px 0;
}
.pb-rules { margin-top: calc(8 * var(--u)); }
.pb-rules h4 { margin: 0 0 calc(10 * var(--u)); font-size: calc(16 * var(--u)); line-height: calc(21 * var(--u)); color: #000; }
.pb-rules p { margin: 0; font-size: calc(13 * var(--u)); line-height: calc(20 * var(--u)); color: rgba(0, 0, 0, 0.9); }
.pb-rules p em { font-style: normal; color: rgb(236, 52, 59); }

/* ---------------------------- 排行榜（悬赏奖励 / 推广奖励） ---------------------------- */
.rk { position: relative; width: 100%; max-width: calc(460 * var(--u)); margin: 0 auto; background: #fff; overflow: hidden; }
.rk__bg {
  position: absolute; left: 0; top: 0; right: 0;
  height: calc(var(--bgh, 1300) * var(--u));
  background: url(../img/page/dw_ranking_bg_icon-min.png) top center/100% 100% no-repeat;
  z-index: 0;
}
.rk__inner { position: relative; z-index: 1; }
.rk-nav { display: flex; align-items: center; height: calc(44 * var(--u)); padding-left: calc(54 * var(--u)); padding-top: calc(-3 * var(--u)); }
.rk-switch {
  position: relative;
  width: calc(265 * var(--u)); height: calc(28 * var(--u));
  border: 1px solid #fff; border-radius: calc(15 * var(--u));
  display: flex; align-items: stretch;
  margin-top: calc(2 * var(--u));
}
.rk-switch__item {
  position: relative; z-index: 2;
  flex: 1; border: 0; background: none;
  font-size: calc(13 * var(--u)); line-height: 1; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.rk-switch__item.is-on { color: rgb(255, 64, 64); font-weight: 700; }
.rk-switch__bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 50%;
  background: #fff; border-radius: calc(12 * var(--u));
  transition: transform 0.2s;
}
.rk-switch__bar.is-right { transform: translateX(100%); }
.rk-rule {
  position: absolute; right: 0; top: calc(12 * var(--u));
  height: calc(20 * var(--u)); padding: 0 calc(5 * var(--u));
  display: flex; align-items: center; gap: calc(2 * var(--u));
  background: rgb(251, 133, 119);
  border-radius: calc(10 * var(--u)) 0 0 calc(10 * var(--u));
  color: #fff; font-size: calc(12 * var(--u));
  border: 0; cursor: pointer;
}
.rk-rule i {
  width: calc(9 * var(--u)); height: calc(9 * var(--u));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='none' stroke='white' stroke-width='2'/><text x='12' y='17' font-size='13' text-anchor='middle' fill='white'>?</text></svg>") center/100% 100% no-repeat;
}
.rk-period { display: flex; align-items: flex-start; justify-content: center; gap: calc(10 * var(--u)); padding-top: calc(10 * var(--u)); }
.rk-period__pill {
  height: calc(29 * var(--u)); padding: 0 calc(8 * var(--u));
  display: flex; align-items: center;
  border: 1px solid #fff; border-radius: calc(3 * var(--u));
  font-size: calc(14 * var(--u)); color: #fff;
}
.rk-last {
  width: calc(30 * var(--u)); padding: calc(3 * var(--u)) 0;
  background: rgb(255, 243, 221); border-radius: calc(2 * var(--u));
  color: rgb(255, 80, 81); font-size: calc(12 * var(--u)); line-height: calc(16 * var(--u));
  text-align: center; border: 0; cursor: pointer;
}
.rk-hero {
  position: relative;
  margin: calc(10 * var(--u)) 0 0;
  height: calc(375 * var(--u));
  background: url(../img/page/dw_rank_top_bg_icon.png) center top/90% 100% no-repeat;
  display: flex; flex-direction: column; align-items: center;
}
.rk-hero--promote { height: calc(325 * var(--u)); }
.rk-hero__head { display: flex; align-items: center; padding-top: calc(30 * var(--u)); }
.rk-hero__ico { width: calc(25 * var(--u)); height: calc(26 * var(--u)); background: no-repeat center/100% 100%; }
.rk-hero__t { margin-left: calc(11 * var(--u)); font-size: calc(23 * var(--u)); font-weight: 700; color: rgb(217, 42, 25); line-height: calc(31 * var(--u)); }
.rk-hero--promote .rk-hero__t { font-size: calc(20 * var(--u)); line-height: calc(27 * var(--u)); }
.rk-hero__k { margin-top: calc(10 * var(--u)); font-size: calc(18 * var(--u)); color: rgb(51, 51, 51); line-height: calc(24 * var(--u)); }
.rk-hero__v { font-size: calc(16 * var(--u)); color: rgb(217, 42, 25); line-height: calc(21 * var(--u)); }
.rk-hero__v b { font-weight: 400; }
.rk-cta {
  margin-top: calc(9 * var(--u));
  height: calc(30 * var(--u)); padding: 0 calc(8 * var(--u)); min-width: calc(100 * var(--u));
  border: 1px solid rgb(255, 80, 81); border-radius: calc(3 * var(--u));
  background: rgb(255, 80, 81); color: #fff; font-size: calc(12 * var(--u)); cursor: pointer;
}
.rk-hero__foot { margin-top: calc(60 * var(--u)); font-size: calc(20 * var(--u)); font-weight: 700; color: #fff; }
.rk-hero--promote .rk-hero__foot { margin-top: calc(66 * var(--u)); font-size: calc(16 * var(--u)); font-weight: 400; }

.rk-list {
  position: relative; z-index: 1;
  margin: calc(11 * var(--u)) 0 0 calc(19.5 * var(--u));
  width: calc(351 * var(--u));
}
.rk-list__cap { height: calc(8 * var(--u)); background: linear-gradient(rgb(255, 129, 129), rgb(255, 72, 77)); border-radius: calc(10 * var(--u)) calc(10 * var(--u)) 0 0; }
.rk-thead {
  display: flex; align-items: center;
  height: calc(50 * var(--u)); padding: 0 calc(15 * var(--u));
  background: rgb(255, 72, 77); font-size: calc(14 * var(--u)); color: #fff;
}
.rk-thead--promote { height: calc(43 * var(--u)); font-size: calc(15 * var(--u)); }
.rk-thead span:nth-child(1) { flex: 0 0 calc(96 * var(--u)); }
.rk-thead span:nth-child(2) { flex: 1; padding-left: calc(3 * var(--u)); }
.rk-thead span:nth-child(3) { flex: 0 0 calc(96 * var(--u)); padding-left: calc(2 * var(--u)); }
.rk-thead--promote span:nth-child(1) { flex: 0 0 calc(64 * var(--u)); }
.rk-thead--promote span:nth-child(3) { flex: 0 0 calc(96 * var(--u)); }
.rk-swiper {
  margin: calc(12 * var(--u)) calc(15 * var(--u)) 0;
  border: 1px solid rgb(255, 72, 77); border-radius: calc(5 * var(--u));
  height: calc(30 * var(--u)); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: calc(13 * var(--u)); color: rgb(254, 49, 44);
  background: #fff;
}
.rk-swiper span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-rows { background: #fff; }
.rk-swiper + .rk-rows { margin-top: calc(14 * var(--u)); }
.rk-row {
  display: flex; align-items: center;
  height: calc(49 * var(--u)); padding: 0 calc(15 * var(--u));
  border-bottom: 0.5px solid #f5f5f5;
  font-size: calc(15 * var(--u));
}
.rk-row__rank { flex: 0 0 calc(96 * var(--u)); display: flex; align-items: center; gap: calc(6 * var(--u)); }
.rk-row--promote .rk-row__rank { flex: 0 0 calc(64 * var(--u)); overflow: visible; }
.rk-row--promote .rk-row__name { flex: 0 0 auto; width: max-content; overflow: visible; text-overflow: clip; }
.rk-row--promote .rk-row__val { padding-left: calc(32 * var(--u)); }
.rk-row__name { flex: 1; min-width: 0; font-size: calc(13 * var(--u)); color: rgba(0, 0, 0, 0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-row__val { flex: 1; font-weight: 700; color: rgba(0, 0, 0, 0.9); }
.rk-row__prize { flex: 0 0 calc(96 * var(--u)); font-weight: 700; color: rgb(255, 3, 16); padding-right: calc(5 * var(--u)); }
.rk-medal {
  position: relative;
  width: calc(26 * var(--u)); height: calc(26 * var(--u));
  border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: calc(12 * var(--u)); font-weight: 700;
  background: linear-gradient(160deg, #ffe07a, #f0a500);
  box-shadow: inset 0 calc(1 * var(--u)) calc(2 * var(--u)) rgba(255, 255, 255, 0.8);
}
.rk-medal::before {
  content: ""; position: absolute; left: 50%; top: calc(-5 * var(--u));
  margin-left: calc(-7 * var(--u)); width: calc(14 * var(--u)); height: calc(8 * var(--u));
  background: #e8402f; border-radius: calc(2 * var(--u)) calc(2 * var(--u)) 0 0;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
  z-index: -1;
}
.rk-medal--2 { background: linear-gradient(160deg, #f2f6fb, #9fb0c4); }
.rk-medal--2::before { background: #93a4b6; }
.rk-medal--3 { background: linear-gradient(160deg, #ffd6ae, #d1793a); }
.rk-medal--3::before { background: #c9793f; }
.rk-badge {
  width: calc(20 * var(--u)); height: calc(20 * var(--u)); flex: 0 0 auto;
  border: 1px solid rgb(255, 82, 87); border-radius: 50%;
  color: rgb(255, 82, 87); font-size: calc(12 * var(--u));
  display: flex; align-items: center; justify-content: center;
}
.rk-backtop {
  position: fixed; right: calc(20 * var(--u)); bottom: calc(40 * var(--u));
  width: calc(70 * var(--u)); height: calc(70 * var(--u));
  border: 0; background: url(../img/page/back-top.png) center/100% 100% no-repeat;
  z-index: 30; cursor: pointer;
}

/* ---------------------------- 邀请好友 ---------------------------- */
.iv { background-color: #f6f2ee; }
.iv-head {
  position: absolute; left: 0; right: 0; top: 0; height: calc(44 * var(--u));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: calc(16 * var(--u)); font-weight: 700; z-index: 11;
}
.iv-head__rule {
  position: absolute; right: calc(15 * var(--u)); top: calc(12 * var(--u));
  font-size: calc(15 * var(--u)); font-weight: 400; color: #fff;
  border: 0; background: none; cursor: pointer;
}
.iv-poster {
  display: block; width: 100%; height: auto;
  margin-top: calc(55 * var(--u));
}
.iv-code {
  position: absolute; left: calc(37 * var(--u)); top: calc(366 * var(--u));
  width: calc(316 * var(--u)); height: calc(45 * var(--u));
  display: flex; align-items: center;
  padding: 0 calc(12 * var(--u)) 0 calc(23 * var(--u));
  border-radius: calc(6 * var(--u));
  background: linear-gradient(90deg, #ff6a2a, #ff3d2e);
  color: #fff; font-size: calc(19 * var(--u));
}
.iv-code b { color: rgb(255, 246, 13); font-weight: 400; margin-left: calc(4 * var(--u)); }
.iv-code__copy {
  margin-left: auto; height: calc(24 * var(--u)); padding: 0 calc(10 * var(--u));
  border: 0; border-radius: calc(12 * var(--u));
  background: #fff; color: rgb(255, 64, 64); font-size: calc(12 * var(--u)); cursor: pointer;
}
.iv-share { display: flex; padding: calc(43 * var(--u)) calc(57 * var(--u)) 0; justify-content: space-between; }
.iv-share__i { width: calc(56 * var(--u)); text-align: center; border: 0; background: none; padding: 0; cursor: pointer; }
.iv-share__ic { display: block; margin: 0 auto; width: calc(33 * var(--u)); height: calc(33 * var(--u)); background: no-repeat center/100% 100%; }
.iv-share__t { display: block; margin-top: calc(3 * var(--u)); font-size: calc(14 * var(--u)); color: rgba(0, 0, 0, 0.9); }
.iv-tip {
  margin: calc(6 * var(--u)) calc(37 * var(--u)) 0;
  padding: calc(8 * var(--u)) 0;
  font-size: calc(12 * var(--u)); line-height: calc(16 * var(--u)); color: #666; text-align: center;
}
.iv-block { margin: calc(39 * var(--u)) calc(37 * var(--u)) 0; }
.iv-block__t { font-size: calc(16 * var(--u)); line-height: calc(24 * var(--u)); color: rgb(255, 5, 2); }
.iv-block p { margin: 0; font-size: calc(16 * var(--u)); line-height: calc(24 * var(--u)); color: rgb(48, 49, 51); }
.iv-block p em { font-style: normal; color: rgb(255, 5, 2); }
.iv-block p i { font-style: normal; font-size: calc(14 * var(--u)); color: #666; }
.iv-block p s { text-decoration: none; font-size: calc(12 * var(--u)); color: #7d7d7d; }
.iv-rule-link { margin: calc(34 * var(--u)) calc(37 * var(--u)) 0; font-size: calc(13 * var(--u)); line-height: calc(19 * var(--u)); color: rgba(0, 0, 0, 0.9); }
.iv-rule-link b { color: rgb(255, 5, 2); font-weight: 400; }
.iv-sec { margin: calc(34 * var(--u)) calc(37 * var(--u)) 0; }
.iv-sec__h { display: flex; align-items: center; gap: calc(20 * var(--u)); font-size: calc(17 * var(--u)); color: rgb(255, 22, 82); line-height: calc(22 * var(--u)); }
.iv-sec__h i { width: calc(20 * var(--u)); height: calc(20 * var(--u)); background: no-repeat center/100% 100%; flex: 0 0 auto; }
.iv-sec__img { display: block; margin: calc(11 * var(--u)) auto 0; background: no-repeat center/100% 100%; }
.iv-sec__btn {
  display: block; margin: calc(14 * var(--u)) auto 0;
  width: calc(189 * var(--u)); height: calc(38 * var(--u));
  border: 0; background: no-repeat center/100% 100%; cursor: pointer;
}
.iv-sec__p { margin: calc(10 * var(--u)) 0 0; font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); color: #000; }
.iv-sec__p small { font-size: calc(13 * var(--u)); color: #9b9b9b; }
.iv-sec__p em { font-style: normal; color: rgb(255, 0, 0); }
.iv-foot { display: flex; gap: calc(11 * var(--u)); margin: calc(30 * var(--u)) calc(37 * var(--u)) calc(30 * var(--u)); }
.iv-foot a { flex: 1; height: calc(68 * var(--u)); background: no-repeat center/100% 100%; cursor: pointer; }

/* 每日福利：问号小标 */
.dw-q {
  width: calc(14 * var(--u)); height: calc(14 * var(--u)); flex: 0 0 auto;
  border: 1px solid #bbb; border-radius: 50%;
  color: #9a9a9a; font-size: calc(10 * var(--u)); line-height: calc(12 * var(--u));
  text-align: center; cursor: pointer;
}

/* 邀请页：未生成推广码时的奖励弹层 */
.iv-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, 0.55);
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: calc(175 * var(--u));
}
.iv-reward {
  position: relative;
  width: calc(317 * var(--u));
  border-radius: calc(12 * var(--u));
  padding: calc(22 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  background: linear-gradient(180deg, #ff9412 0%, #ff6a1f 46%, #ff2a63 100%);
  color: #fff; text-align: center;
  box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(120, 0, 30, 0.28);
}
.iv-reward__badge {
  position: absolute; right: calc(12 * var(--u)); top: calc(12 * var(--u));
  border: 1px solid #ffe08a; color: #ffe08a;
  border-radius: calc(10 * var(--u)); padding: 0 calc(8 * var(--u));
  font-size: calc(11 * var(--u)); line-height: calc(16 * var(--u));
}
.iv-reward__t { font-size: calc(27 * var(--u)); font-weight: 700; letter-spacing: calc(1 * var(--u)); }
.iv-reward__s { margin-top: calc(4 * var(--u)); font-size: calc(12 * var(--u)); color: rgba(255, 255, 255, 0.88); }
.iv-reward__empty { margin-top: calc(26 * var(--u)); font-size: calc(26 * var(--u)); font-weight: 700; }
.iv-reward__btn {
  display: block; margin: calc(16 * var(--u)) auto 0;
  width: calc(240 * var(--u)); height: calc(44 * var(--u));
  border: 0; border-radius: calc(22 * var(--u));
  background: linear-gradient(90deg, #ffe08a, #ffc94d);
  color: #e8373b; font-size: calc(18 * var(--u)); font-weight: 700; cursor: pointer;
}
.iv-reward__tip { margin-top: calc(10 * var(--u)); font-size: calc(12 * var(--u)); color: rgba(255, 255, 255, 0.82); }

/* ---------------------------- 协议正文 / 设置补充 ---------------------------- */
.doc-page { background: #fff; }
.doc { padding: calc(16 * var(--u)) calc(20 * var(--u)) calc(40 * var(--u)); }
.doc__meta {
  padding-bottom: calc(10 * var(--u));
  border-bottom: 0.5px solid #eee;
  font-size: calc(12 * var(--u)); line-height: calc(17 * var(--u)); color: #999;
}
.doc__h {
  margin: calc(18 * var(--u)) 0 calc(6 * var(--u));
  font-size: calc(15 * var(--u)); line-height: calc(21 * var(--u));
  font-weight: 700; color: rgba(0, 0, 0, 0.9);
}
.doc__p {
  margin: 0 0 calc(6 * var(--u));
  font-size: calc(13.5 * var(--u)); line-height: calc(23 * var(--u));
  color: #555; text-align: justify;
}
.doc__tip {
  margin: calc(20 * var(--u)) calc(15 * var(--u)) 0;
  font-size: calc(12 * var(--u)); line-height: calc(18 * var(--u)); color: #999;
}

.st-row--danger .st-row__t { color: #ff3b30; }

/* 二次确认弹窗 */
.dlg--sec { width: calc(300 * var(--u)); padding: calc(28 * var(--u)) calc(18 * var(--u)) calc(14 * var(--u)); }
.dlg--sec .dlg__title {
  position: static; width: auto; margin: 0 0 calc(16 * var(--u));
  background: none; color: rgba(0, 0, 0, 0.9);
  font-size: calc(16 * var(--u)); font-weight: 700; text-align: center;
  transform: none; left: auto; top: auto; border-radius: 0;
}
.sec-field { margin-bottom: calc(10 * var(--u)); }
.sec-field input {
  width: 100%; height: calc(42 * var(--u)); box-sizing: border-box;
  padding: 0 calc(12 * var(--u));
  border: 1px solid #e6e6ea; border-radius: calc(6 * var(--u));
  background: #fafafa; font-size: calc(14 * var(--u)); color: #000; outline: 0;
}
.sec-field input:focus { border-color: #ff4a31; background: #fff; }
.sec-field--row { display: flex; gap: calc(8 * var(--u)); }
.sec-sms {
  flex: 0 0 calc(96 * var(--u)); height: calc(42 * var(--u));
  border: 1px solid #ff4a31; border-radius: calc(6 * var(--u));
  background: #fff; color: #ff4a31; font-size: calc(12.5 * var(--u)); cursor: pointer;
}
.sec-sms:disabled { border-color: #ddd; color: #aaa; }
.sec-tip { margin: 0; font-size: calc(13 * var(--u)); line-height: calc(20 * var(--u)); color: #666; text-align: center; }
.sec-dev {
  position: relative; padding: calc(10 * var(--u)) calc(12 * var(--u));
  border: 1px solid #eee; border-radius: calc(8 * var(--u));
}
.sec-dev + .sec-dev { margin-top: calc(8 * var(--u)); }
.sec-dev__n { font-size: calc(13.5 * var(--u)); color: #000; }
.sec-dev__d { margin-top: calc(4 * var(--u)); font-size: calc(11.5 * var(--u)); color: #999; }
.sec-dev__out {
  position: absolute; right: calc(10 * var(--u)); top: 50%; margin-top: calc(-13 * var(--u));
  height: calc(26 * var(--u)); padding: 0 calc(10 * var(--u));
  border: 1px solid #ff4a31; border-radius: calc(13 * var(--u));
  background: #fff; color: #ff4a31; font-size: calc(12 * var(--u)); cursor: pointer;
}
.dlg__btns { display: flex; gap: calc(10 * var(--u)); margin-top: calc(16 * var(--u)); }
.dlg__btn {
  flex: 1; height: calc(40 * var(--u));
  border: 0; border-radius: calc(20 * var(--u));
  background: linear-gradient(90deg, #ff6b5b, #ff2d2d);
  color: #fff; font-size: calc(15 * var(--u)); cursor: pointer;
}
.dlg__btn--ghost { background: #f2f2f5; color: #555; }
.dlg__btn--wide { width: 100%; margin-top: calc(16 * var(--u)); }

/* 规则弹层 */
.dlg--rule { width: calc(300 * var(--u)); padding: calc(28 * var(--u)) calc(18 * var(--u)) calc(14 * var(--u)); }
.dlg--rule .dlg__title {
  position: static; width: auto; margin: 0 0 calc(12 * var(--u));
  background: none; color: rgba(0, 0, 0, 0.9);
  font-size: calc(16 * var(--u)); font-weight: 700; text-align: center;
  transform: none; left: auto; top: auto; border-radius: 0;
}
.rule-body { max-height: calc(320 * var(--u)); overflow: auto; }
.rule-p { margin: 0 0 calc(8 * var(--u)); font-size: calc(13 * var(--u)); line-height: calc(21 * var(--u)); color: #555; }

/* 关于我们 */
.about { background: #fff; }
.about__logo {
  width: calc(76 * var(--u)); height: calc(76 * var(--u)); margin: calc(28 * var(--u)) auto 0;
  border-radius: calc(18 * var(--u));
  background: url(../img/logo.png) center/100% 100% no-repeat;
}
.about__name { margin-top: calc(12 * var(--u)); text-align: center; font-size: calc(18 * var(--u)); font-weight: 700; color: #000; }
.about__ver { margin-top: calc(4 * var(--u)); text-align: center; font-size: calc(12 * var(--u)); color: #999; }
.about__slogan { margin-top: calc(6 * var(--u)); text-align: center; font-size: calc(12.5 * var(--u)); color: #bbb; }
.about .st-group { margin-top: calc(26 * var(--u)); }
.about__copy { margin-top: calc(30 * var(--u)); text-align: center; font-size: calc(11.5 * var(--u)); color: #c4c4c8; }

/* 大号字体 / 隐藏金额（任务显示开关） */
html.is-bigfont .td-title { font-size: 19px; }
html.is-bigfont .td-step__t,
html.is-bigfont .td-step__d { font-size: 15px; line-height: 24px; }
html.is-hideprice .task-item__price,
html.is-hideprice .task-item__money { visibility: hidden; }

/* hidden 属性优先级（.mask 自带 display:flex 会覆盖） */
.mask[hidden], .oth-mask[hidden], .iv-mask[hidden] { display: none !important; }

/* 掌门人页 */
.master-hero {
  margin: calc(15 * var(--u));
  padding: calc(18 * var(--u)) calc(16 * var(--u));
  border-radius: calc(10 * var(--u));
  background: linear-gradient(135deg, #ff6b5b, #ff2d2d);
  color: #fff;
}
.master-hero__t { font-size: calc(18 * var(--u)); font-weight: 700; }
.master-hero__d { margin-top: calc(6 * var(--u)); font-size: calc(12.5 * var(--u)); line-height: calc(19 * var(--u)); opacity: 0.92; }
.master-perk {
  display: flex; align-items: baseline; gap: calc(8 * var(--u));
  padding: calc(9 * var(--u)) calc(10 * var(--u));
  margin-bottom: calc(6 * var(--u));
  border-radius: calc(6 * var(--u));
  background: #fff8f5;
}
.master-perk b { flex: 0 0 calc(64 * var(--u)); font-size: calc(13 * var(--u)); color: #ff2d2d; }
.master-perk span { font-size: calc(12.5 * var(--u)); line-height: calc(19 * var(--u)); color: #555; }
.master-foot { padding: calc(8 * var(--u)) calc(20 * var(--u)) calc(30 * var(--u)); }
.master-foot .dlg__btn { width: 100%; }

/* 后续任务弹层 */
.fup-row {
  display: flex; align-items: center; gap: calc(8 * var(--u));
  padding: calc(10 * var(--u)) 0;
  border-bottom: 0.5px solid #f0f0f2;
}
.fup-row:last-child { border-bottom: 0; }
.fup-row__main { flex: 1; min-width: 0; }
.fup-row__t { font-size: calc(13.5 * var(--u)); color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fup-row__d { margin-top: calc(4 * var(--u)); font-size: calc(11.5 * var(--u)); color: #999; }
.fup-row__btn {
  flex: 0 0 auto; height: calc(28 * var(--u)); padding: 0 calc(12 * var(--u));
  border: 1px solid #ff4a31; border-radius: calc(14 * var(--u));
  background: #fff; color: #ff4a31; font-size: calc(12 * var(--u)); cursor: pointer;
}
