/* =========================================================
   世鼎参养 · 海外 H5 商城 + 链动2+1  共享样式
   主题：韩式参红 + 鎏金 / 玻璃拟态 / 多层阴影 / iOS 规范
   ========================================================= */

:root {
  /* 主色：韩式红参红 */
  --primary: #b8202e;
  --primary-deep: #8c1521;
  --primary-grad: linear-gradient(135deg, #b8202e 0%, #e0503c 100%);
  /* 辅色：鎏金 */
  --gold: #c9a227;
  --gold-light: #e3b84b;
  --gold-grad: linear-gradient(135deg, #c9a227 0%, #edd28a 100%);
  /* 文字 */
  --text-main: #1d1d1f;
  --text-sub: #86868b;
  --text-mute: #b0b0b6;
  /* 背景 */
  --bg-grad: linear-gradient(180deg, #fdf7f3 0%, #fbf8f4 40%, #ffffff 100%);
  --bg-page: #fbf8f4;
  /* 玻璃 */
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.5);
  /* 语义色 */
  --success: #2f9e63;
  --warning: #f0932b;
  --danger: #e0563c;
  --info: #4a76c9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Noto Sans KR", "Malgun Gothic", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text-main);
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- iOS 风格细滚动条 ---------- */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background: transparent;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.32);
}

/* =========================================================
   手机外壳（index.html 容器）
   ========================================================= */
.shell-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, #f6e6df 0%, transparent 55%),
    radial-gradient(circle at 85% 90%, #f3ecd8 0%, transparent 55%), #e7e2dc;
}
.phone-shell {
  position: relative;
  width: 375px;
  height: 812px;
  background: #0b0b0d;
  border-radius: 55px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(255, 255, 255, 0.6) inset;
}
.dynamic-island {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 34px;
  background: #000;
  border-radius: 20px;
  z-index: 60;
}
.app-frame {
  display: block;
  width: 100%;
  height: calc(100% - 83px);
  border: none;
  border-radius: 44px 44px 0 0;
  background: var(--bg-page);
  transition: opacity 0.3s ease;
}

/* ---------- 底部 Tab 导航（玻璃拟态） ---------- */
.tab-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 83px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 9px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 0 0 44px 44px;
  border-top: 1px solid var(--glass-border);
  z-index: 40;
}
.tab-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 52px;
  padding: 2px 4px;
  background: none;
  border: none;
  font-size: 10px;
  font-family: inherit;
  color: var(--text-sub);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.tab-item i {
  font-size: 19px;
  height: 22px;
  line-height: 22px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tab-item.active {
  color: var(--primary);
  font-weight: 600;
}
.tab-item.active i {
  transform: scale(1.16) translateY(-1px);
}
.tab-badge {
  position: absolute;
  top: -2px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  line-height: 16px;
  font-weight: 700;
  text-align: center;
}

/* =========================================================
   页面骨架
   ========================================================= */
.page-body {
  width: 100%;
  max-width: 375px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg-grad);
  overflow-x: hidden;
}
.page-content {
  padding: 52px 16px 28px;
}
.page-content.has-dockbar {
  padding-bottom: 92px;
}
/* 独立打开（无 iframe 外壳）时的底部安全区 */
.standalone-safe {
  padding-bottom: 34px;
}

/* ---------- iOS 状态栏 ---------- */
.status-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  z-index: 100;
  pointer-events: none;
}
.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-icons i {
  font-size: 13px;
}
.status-bar.light {
  color: #fff;
}

/* ---------- 页面头（返回 / 标题 / 操作） ---------- */
.page-header {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 90;
}
.page-header .header-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.header-btn {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.header-btn:active {
  background: rgba(0, 0, 0, 0.14);
}
.page-content.has-header {
  padding-top: 104px;
}

/* ---------- 首页顶部（语言 / 搜索 / 通知 / 购物车） ---------- */
.home-topbar {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 10px;
  background: rgba(253, 247, 243, 0.86);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  z-index: 90;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(184, 32, 46, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.home-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(118, 118, 128, 0.12);
}
.home-search i {
  font-size: 13px;
  color: #8e8e93;
}
.home-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-size: 12px;
  font-family: inherit;
  color: var(--text-main);
}
.home-search input::placeholder {
  color: #b6b6bb;
}

/* =========================================================
   通用元件
   ========================================================= */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.07);
}
.solid-card {
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 6px 14px rgba(0, 0, 0, 0.06);
}
.card-pad {
  padding: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 10px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}
.section-title::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: var(--primary-grad);
}
.section-more {
  font-size: 11px;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}
.section-sub {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 3px;
}

/* ---------- 按钮 ---------- */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 18px;
  border: none;
  border-radius: 12px;
  background: var(--primary-grad);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(184, 32, 46, 0.28);
}
.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border: none;
  border-radius: 12px;
  background: var(--gold-grad);
  color: #6b4a08;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(201, 162, 39, 0.3);
}
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border: 1px solid rgba(184, 32, 46, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.mini-btn {
  padding: 7px 12px;
  border: none;
  border-radius: 9px;
  background: var(--primary-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.mini-btn-outline {
  padding: 7px 12px;
  border: 1px solid rgba(184, 32, 46, 0.28);
  border-radius: 9px;
  background: #fff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.w-full {
  width: 100%;
}

/* ---------- 输入 ---------- */
.input-group {
  position: relative;
}
.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-sub);
  font-size: 14px;
  pointer-events: none;
}
.glass-input {
  width: 100%;
  padding: 13px 14px 13px 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}
.glass-input:focus {
  border-color: var(--primary);
}
.glass-input::placeholder {
  color: var(--text-mute);
}
.plain-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.code-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.code-input-row .glass-input {
  flex: 1;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------- 标签 / 徽标 ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.chip.active {
  background: var(--primary-grad);
  color: #fff;
  box-shadow: 0 4px 10px rgba(184, 32, 46, 0.25);
}
.chip-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.chip-scroll::-webkit-scrollbar {
  display: none;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
}
.tag-hot {
  background: rgba(224, 86, 60, 0.12);
  color: #d0391f;
}
.tag-new {
  background: rgba(47, 158, 99, 0.13);
  color: #21804e;
}
.tag-gold {
  background: rgba(201, 162, 39, 0.16);
  color: #8a6a10;
}
.tag-live {
  background: rgba(184, 32, 46, 0.1);
  color: var(--primary);
}
.tag-soft {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-sub);
}

/* ---------- 价格 ---------- */
.price {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.3px;
}
.price .cur {
  font-size: 0.7em;
  margin-right: 1px;
}
.price-old {
  color: var(--text-mute);
  font-size: 11px;
  text-decoration: line-through;
  margin-left: 5px;
  font-weight: 500;
}

/* ---------- 数据统计 ---------- */
.stat-row {
  display: flex;
  align-items: center;
}
.stat-col {
  flex: 1;
  text-align: center;
}
.stat-num {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
}
.stat-num.accent {
  color: var(--primary);
}
.stat-num.gold {
  color: #a37c10;
}
.stat-label {
  font-size: 10px;
  color: var(--text-sub);
  margin-top: 3px;
}
.stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(0, 0, 0, 0.07);
}

/* ---------- 列表条目 ---------- */
.list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.list-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 56px;
}
.setting-group {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.setting-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  color: var(--text-main);
  font-size: 13.5px;
}
.setting-item:last-child {
  border-bottom: none;
}
.setting-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}
.setting-arrow {
  color: #c7c7cc;
  font-size: 12px;
}
.setting-value {
  font-size: 11px;
  color: var(--text-sub);
}

/* ---------- 金刚区（8 宫格） ---------- */
.king-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 4px;
}
.king-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.king-item:active {
  transform: scale(0.94);
}
.king-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}
.king-label {
  font-size: 10.5px;
  color: var(--text-main);
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

/* ---------- Banner ---------- */
.banner-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 158px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}
.banner-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(
    to top,
    rgba(40, 8, 10, 0.78) 0%,
    rgba(40, 8, 10, 0.28) 45%,
    transparent 100%
  );
}
.banner-title {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.banner-desc {
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  margin-top: 3px;
}
.banner-badge {
  align-self: flex-start;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #6b4a08;
  font-size: 9.5px;
  font-weight: 800;
}
.banner-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
}
.banner-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(184, 32, 46, 0.22);
  transition: all 0.3s;
}
.banner-dot.active {
  width: 16px;
  border-radius: 3px;
  background: var(--primary);
}

/* ---------- 商品卡片（横滑） ---------- */
.hscroll {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}
.hscroll::-webkit-scrollbar {
  display: none;
}
.hscroll .p-card {
  flex: 0 0 122px;
  scroll-snap-align: start;
}
.hscroll.wide .p-card {
  flex: 0 0 148px;
}

/* ---------- 商品卡片（通用） ---------- */
.p-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.p-card:active {
  transform: scale(0.97);
}
.p-card > img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.p-card-body {
  padding: 8px 9px 10px;
}
.p-card-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.p-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
  gap: 4px;
}
.p-card-meta .price {
  font-size: 13px;
}
.p-card-sold {
  font-size: 9.5px;
  color: var(--text-mute);
  white-space: nowrap;
}
.p-card-tags {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* ---------- 商品网格 ---------- */
.p-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

/* ---------- 秒杀 ---------- */
.seckill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #b8202e 0%, #8c1521 100%);
}
.seckill-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.countdown .cd-num {
  min-width: 20px;
  padding: 2px 4px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- 瀑布流 ---------- */
.waterfall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  align-items: start;
}
.wf-card {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.wf-card > img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.wf-card:active {
  transform: scale(0.97);
}
.wf-info {
  padding: 9px 11px 11px;
}
.wf-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wf-desc {
  font-size: 10.5px;
  color: var(--text-sub);
  margin-top: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wf-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed rgba(0, 0, 0, 0.07);
}
.wf-avatar {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  object-fit: cover;
}
.wf-author {
  font-size: 10px;
  color: var(--text-sub);
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wf-like {
  font-size: 10px;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ---------- 搜索栏 ---------- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(118, 118, 128, 0.12);
  border-radius: 12px;
  padding: 10px 13px;
}
.search-icon {
  font-size: 14px;
  color: #8e8e93;
}
.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
  font-family: inherit;
}
.search-input::placeholder {
  color: #b6b6bb;
}

/* ---------- 进度条 ---------- */
.progress-track {
  height: 9px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 5px;
  background: var(--primary-grad);
  transition: width 0.6s ease;
  box-shadow: 0 0 8px rgba(184, 32, 46, 0.4);
}
.progress-fill.gold {
  background: var(--gold-grad);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.45);
}

/* ---------- 阶梯 / 步骤 ---------- */
.stepper-track {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.08);
  margin: 30px 0 6px;
}
.stepper-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 2px;
  background: var(--primary-grad);
}
.stepper-node {
  position: absolute;
  top: -9px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.stepper-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-mute);
}
.stepper-node.done .stepper-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.stepper-node.current .stepper-dot {
  border-color: var(--gold);
  background: var(--gold-grad);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}
.stepper-label {
  font-size: 9.5px;
  color: var(--text-sub);
  white-space: nowrap;
}
.stepper-node.done .stepper-label,
.stepper-node.current .stepper-label {
  color: var(--primary);
  font-weight: 700;
}

/* ---------- 时间轴 ---------- */
.timeline-item {
  position: relative;
  padding: 0 0 16px 22px;
  border-left: 1.5px solid rgba(0, 0, 0, 0.09);
}
.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -5.5px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.14);
}
.timeline-item.active::before {
  border-color: var(--primary);
  background: var(--primary);
}
.timeline-title {
  font-size: 12.5px;
  font-weight: 700;
}
.timeline-time {
  font-size: 10.5px;
  color: var(--text-sub);
  margin-top: 2px;
}

/* ---------- 团队结构树 ---------- */
.tree-root {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 13px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid rgba(184, 32, 46, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  min-width: 76px;
}
.tree-node.self {
  background: var(--primary-grad);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(184, 32, 46, 0.3);
}
.tree-node.self .tree-name,
.tree-node.self .tree-role {
  color: #fff;
}
.tree-node.boss {
  border-color: rgba(201, 162, 39, 0.5);
  background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
}
.tree-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}
.tree-name {
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.tree-role {
  font-size: 9px;
  color: var(--text-sub);
  white-space: nowrap;
}
.tree-branch {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding-top: 20px;
  margin-top: 4px;
}
.tree-branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 12px;
  background: rgba(184, 32, 46, 0.3);
}
.tree-branch > .tree-node {
  position: relative;
}
.tree-branch > .tree-node::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 1.5px;
  height: 8px;
  background: rgba(184, 32, 46, 0.3);
}
.tree-hline {
  position: absolute;
  top: 12px;
  height: 1.5px;
  background: rgba(184, 32, 46, 0.3);
}

/* ---------- 礼包卡片 ---------- */
.pkg-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}
.pkg-card.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, #fff6f5 0%, #fff 55%);
  box-shadow: 0 8px 20px rgba(184, 32, 46, 0.16);
}
.pkg-card.diamond.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffbf0 0%, #fff 55%);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.2);
}
.pkg-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-grad);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.pkg-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14);
}
.pkg-body {
  flex: 1;
  min-width: 0;
}
.pkg-name {
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pkg-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 3px;
}
.pkg-origin {
  font-size: 10.5px;
  color: var(--text-mute);
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 500;
}
.pkg-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}
.pkg-perk {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(184, 32, 46, 0.07);
  color: var(--primary);
  font-size: 9.5px;
  font-weight: 700;
}
.pkg-card.diamond .pkg-perk {
  background: rgba(201, 162, 39, 0.14);
  color: #8a6a10;
}

/* ---------- 收益流水 ---------- */
.flow-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.flow-item:last-child {
  border-bottom: none;
}
.flow-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
}
.flow-main {
  flex: 1;
  min-width: 0;
}
.flow-title {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.flow-sub {
  font-size: 10.5px;
  color: var(--text-sub);
  margin-top: 3px;
}
.flow-amount {
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.flow-amount.plus {
  color: var(--primary);
}
.flow-amount.minus {
  color: var(--text-sub);
}
.flow-amount.freeze {
  color: var(--warning);
}

/* ---------- 沉浸式头图 ---------- */
.hero-cover {
  position: relative;
  margin: 0 -16px;
  height: 210px;
  overflow: hidden;
}
.hero-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(251, 248, 244, 1) 2%,
    rgba(251, 248, 244, 0.2) 42%,
    rgba(0, 0, 0, 0.32) 100%
  );
}

/* ---------- 底部固定操作栏 ---------- */
.dock-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 80;
}
.dock-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 42px;
  border: none;
  background: none;
  color: var(--text-sub);
  font-size: 9.5px;
  font-family: inherit;
  cursor: pointer;
}
.dock-icon-btn i {
  font-size: 16px;
}

/* ---------- 数量步进器 ---------- */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9px;
  overflow: hidden;
}
.qty-stepper button {
  width: 28px;
  height: 26px;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-main);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.qty-stepper span {
  min-width: 30px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- 支付方式单选项 ---------- */
.pay-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 13px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.18s ease;
}
.pay-option.active {
  border-color: var(--primary);
  background: #fff8f7;
}
.pay-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
}
.pay-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
}
.pay-desc {
  font-size: 10px;
  color: var(--text-sub);
  margin-top: 2px;
  font-weight: 500;
}
.pay-radio {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 8px;
}
.pay-option.active .pay-radio {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ---------- 关注/复选 ---------- */
.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-sub);
  cursor: pointer;
}
.check-box {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 5px;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 8px;
}
.check-row.checked .check-box {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* ---------- 角色徽标 ---------- */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c9a227, #edd28a);
  color: #5c3f05;
  font-size: 10px;
  font-weight: 800;
}

/* ---------- 空状态 ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 46px 20px;
  color: var(--text-sub);
  font-size: 12.5px;
}
.empty-state i {
  font-size: 40px;
  color: rgba(184, 32, 46, 0.22);
}

/* ---------- 二维码 / 分享海报 ---------- */
.share-poster {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}
.share-poster > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.poster-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(
    to top,
    rgba(140, 21, 33, 0.92) 0%,
    rgba(140, 21, 33, 0.42) 52%,
    transparent 100%
  );
}
.poster-code {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}
.poster-qr {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--primary);
  font-size: 26px;
}

/* ---------- 语言选择表 ---------- */
.sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 900;
  align-items: flex-end;
  justify-content: center;
}
.sheet-overlay.active {
  display: flex;
}
.sheet-card {
  width: 100%;
  max-width: 375px;
  padding: 8px 16px 26px;
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
  animation: sheetIn 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes sheetIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.sheet-grabber {
  width: 38px;
  height: 4px;
  margin: 6px auto 12px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.14);
}
.sheet-title {
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.lang-option:last-child {
  border-bottom: none;
}
.lang-flag {
  width: 30px;
  height: 22px;
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.04);
  font-size: 10px;
  font-weight: 800;
  color: var(--text-sub);
  letter-spacing: 0.5px;
}
.lang-name {
  flex: 1;
}
.lang-check {
  color: var(--primary);
  font-size: 14px;
  opacity: 0;
}
.lang-option.active .lang-check {
  opacity: 1;
}
.lang-option.active .lang-name {
  color: var(--primary);
}

/* ---------- 模态框 ---------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  width: 300px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  padding: 24px 20px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-sub);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
}
.modal-title {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}
.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal-qrcode {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.modal-author {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
  line-height: 1.6;
}

/* ---------- Toast ---------- */
.toast-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 250px;
  padding: 11px 18px;
  border-radius: 12px;
  background: rgba(20, 16, 16, 0.86);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12.5px;
  text-align: center;
  line-height: 1.5;
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.toast-box.show {
  opacity: 1;
}

/* ---------- 作者署名 ---------- */
.author-sign {
  margin-top: 22px;
  text-align: center;
  font-size: 11px;
  color: var(--text-mute);
  padding-bottom: 10px;
}
.author-sign span {
  cursor: pointer;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.16);
}

/* ---------- 涟漪动画 ---------- */
.ripple-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.ripple-btn:active {
  transform: scale(0.97);
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}
.ripple.dark {
  background: rgba(184, 32, 46, 0.16);
}
@keyframes rippleEffect {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* ---------- 悬停效果（桌面预览） ---------- */
@media (hover: hover) {
  .setting-item:hover,
  .list-card:hover,
  .flow-item:hover {
    background: rgba(184, 32, 46, 0.035);
  }
  .p-card:hover,
  .wf-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  }
  .primary-btn:hover,
  .gold-btn:hover,
  .ghost-btn:hover {
    filter: brightness(1.05);
  }
}

/* ---------- 工具类 ---------- */
.row {
  display: flex;
  align-items: center;
}
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.col {
  display: flex;
  flex-direction: column;
}
.grow {
  flex: 1;
  min-width: 0;
}
.gap-4 {
  gap: 4px;
}
.gap-6 {
  gap: 6px;
}
.gap-8 {
  gap: 8px;
}
.gap-10 {
  gap: 10px;
}
.gap-12 {
  gap: 12px;
}
.mt-6 {
  margin-top: 6px;
}
.mt-8 {
  margin-top: 8px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-20 {
  margin-top: 20px;
}
.mb-8 {
  margin-bottom: 8px;
}
.text-xs {
  font-size: 10.5px;
}
.text-sm {
  font-size: 12px;
}
.text-md {
  font-size: 13.5px;
}
.text-lg {
  font-size: 17px;
}
.text-xl {
  font-size: 21px;
}
.strong {
  font-weight: 800;
}
.bold {
  font-weight: 700;
}
.muted {
  color: var(--text-sub);
}
.mute-light {
  color: var(--text-mute);
}
.primary-color {
  color: var(--primary);
}
.gold-color {
  color: #a37c10;
}
.success-color {
  color: var(--success);
}
.center {
  text-align: center;
}
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 12px 0;
}
.divider-dash {
  height: 1px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  margin: 12px 0;
}
.hidden {
  display: none !important;
}

/* =========================================================
   复购模块（全站通用组件）
   · .rp-entry  复购专区入口条（首页 / 复购专区）
   · .rp-item   复购商品行
   · .rp-tip    商品详情复购会员价提示
   ========================================================= */
.rp-entry {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #b8202e, #e0503c);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(184, 32, 46, 0.22);
}
.rp-entry-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.rp-entry-title {
  font-size: 13.5px;
  font-weight: 800;
}
.rp-entry-sub {
  font-size: 10.5px;
  opacity: 0.85;
  margin-top: 3px;
}
.rp-entry-btn {
  flex: 0 0 auto;
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
}

.rp-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
}
.rp-item:last-child {
  border-bottom: none;
}
.rp-thumb {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  border-radius: 12px;
  object-fit: cover;
  background: #f4f4f6;
  cursor: pointer;
}
.rp-info {
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.rp-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.rp-tag {
  display: inline-block;
  vertical-align: middle;
  font-size: 9px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 5px;
  background: rgba(184, 32, 46, 0.09);
  color: var(--primary);
}
.rp-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 7px;
}
.rp-sold {
  font-size: 10.5px;
  color: var(--text-mute);
  margin-top: 5px;
}
.rp-buy-btn {
  flex: 0 0 auto;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--primary-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184, 32, 46, 0.22);
}

.rp-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 12px;
  background: rgba(184, 32, 46, 0.06);
  border: 1px solid rgba(184, 32, 46, 0.14);
}
.rp-tip > i {
  color: var(--primary);
  font-size: 15px;
}
.rp-tip-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
}
.rp-tip-sub {
  font-size: 10.5px;
  color: var(--text-mute);
  margin-top: 2px;
}
.rp-tip-btn {
  flex: 0 0 auto;
  border: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-grad);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
