/* ============================================================
   宋盟汇 · 设计稿主题层（Ultimate Theme）
   宋氏宗亲全球家园 · 姓氏电商平台
   基于 index-ultimate.html 的金玉奢华视觉体系，统一全站语言
   加载顺序：最后加载，用于覆盖与增强既有设计系统
   ============================================================ */

/* ---------- 一、设计令牌增强 ---------- */
:root {
  /* 主金：更饱和的宗族金 */
  --u-gold: #C9A227;
  --u-gold-light: #E8D59E;
  --u-gold-dark: #8B6F0E;
  --u-gold-accent: #FFD700;

  /* 主玉：更深邃的青玉 */
  --u-jade: #0A5F38;
  --u-jade-light: #1D8B52;
  --u-jade-dark: #043D24;

  /* 皇家蓝 · 朱砂 */
  --u-royal: #1E3A5F;
  --u-royal-light: #3B5998;
  --u-scarlet: #B22222;

  /* 渐变体系 */
  --u-grad-gold: linear-gradient(135deg, #C9A227 0%, #FFD700 50%, #8B6F0E 100%);
  --u-grad-gold-soft: linear-gradient(135deg, rgba(201, 162, 39, 0.14) 0%, rgba(255, 215, 0, 0.05) 100%);
  --u-grad-jade: linear-gradient(135deg, #0A5F38 0%, #1D8B52 100%);
  --u-grad-royal: linear-gradient(135deg, #1E3A5F 0%, #3B5998 100%);
  --u-grad-ink: linear-gradient(135deg, #121212 0%, #080808 100%);
  --u-grad-hero: radial-gradient(120% 90% at 50% 0%, #22483A 0%, #14261F 42%, #0B0B0B 100%);

  /* 阴影体系 */
  --u-sh-xs: 0 1px 3px rgba(0, 0, 0, 0.08);
  --u-sh-sm: 0 3px 10px rgba(0, 0, 0, 0.12);
  --u-sh-md: 0 6px 20px rgba(0, 0, 0, 0.15);
  --u-sh-lg: 0 12px 40px rgba(0, 0, 0, 0.18);
  --u-sh-gold: 0 10px 30px rgba(201, 162, 39, 0.30);
  --u-sh-jade: 0 10px 30px rgba(10, 95, 56, 0.30);

  /* 圆角体系 */
  --u-r-sm: 10px;
  --u-r-md: 14px;
  --u-r-lg: 18px;
  --u-r-xl: 24px;

  /* 过渡 */
  --u-t-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --u-t-base: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 二、品牌标识 ---------- */
.brand-seal {
  background: var(--u-grad-gold) !important;
  color: #141005 !important;
  box-shadow: var(--u-sh-gold);
}

.brand-name {
  background: var(--u-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.06em;
}

.brand-sub {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.5rem !important;
  letter-spacing: 0.06em !important;
}

/* ---------- 三、区块标题：金色竖条 + 渐隐分隔线 ---------- */
.panel-head,
.data-head {
  position: relative;
  padding-bottom: 10px;
}

.panel-head::after,
.data-head::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--u-gold) 0%, rgba(201, 162, 39, 0.25) 40%, transparent 100%);
}

.panel-title,
.data-title {
  font-size: 1.02rem !important;
  letter-spacing: 0.02em;
}

.panel-title::before,
.data-title::before {
  width: 5px !important;
  height: 20px !important;
  border-radius: 3px !important;
  background: var(--u-grad-gold) !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.panel-en {
  color: var(--u-gold-dark) !important;
  opacity: 0.6;
}

/* 二级页头部标题（page-header 体系） */
.ph-title,
.page-header h1 {
  background: linear-gradient(135deg, #FFFFFF 0%, #E8D59E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 四、核心功能图标：立体金玉宫格 ---------- */
.svc-grid {
  gap: 18px 6px !important;
  margin-top: 16px !important;
}

.svc-icon {
  position: relative;
  width: 56px !important;
  height: 56px !important;
  border-radius: var(--u-r-lg) !important;
  box-shadow: var(--u-sh-md) !important;
  transition: var(--u-t-base);
  overflow: hidden;
}

/* 顶部高光，制造立体质感 */
.svc-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

/* 中心内发光 */
.svc-icon::after {
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
  opacity: 0;
  transition: var(--u-t-fast);
  pointer-events: none;
}

.svc-item:hover .svc-icon::after,
.svc-item:active .svc-icon::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.svc-item:active .svc-icon {
  transform: translateY(-2px) scale(1.04);
}

.svc-label {
  font-size: 0.74rem !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------- 五、全球大数据看板：墨底金数 ---------- */
.data-panel {
  background: var(--u-grad-ink) !important;
  border: 1px solid rgba(201, 162, 39, 0.22) !important;
  box-shadow: var(--u-sh-lg);
  position: relative;
  overflow: hidden;
}

/* 顶部金色光晕 */
.data-panel::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.data-title {
  color: #F5EFDF !important;
}

.data-title::before {
  background: var(--u-grad-gold) !important;
}

.data-link {
  color: var(--u-gold-light) !important;
  opacity: 0.85;
}

.data-cell {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(201, 162, 39, 0.14);
  box-shadow: none !important;
}

.data-num {
  background: var(--u-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.14rem !important;
}

.data-label {
  color: rgba(245, 239, 223, 0.62) !important;
}

/* 实时脉冲指示点 */
.data-head .data-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  font-size: 0.56rem;
  color: #7FE0B6;
  letter-spacing: 0.08em;
}

.data-head .data-live i,
.data-head .data-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: uPulse 1.8s infinite;
}

@keyframes uPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ---------- 六、首屏主视觉：金玉光晕 ---------- */
.home-hero {
  background: var(--u-grad-hero) !important;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.30) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* 首屏大字水印：金渐变文字 + 极低透明度（不能填充色块） */
.home-hero .hh-seal {
  background: var(--u-grad-gold) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  opacity: 0.1;
  box-shadow: none !important;
}

.home-hero .hh-title {
  background: linear-gradient(135deg, #FFFFFF 0%, #E8D59E 55%, #C9A227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
}

.home-hero .hh-eyebrow {
  color: var(--u-gold-light) !important;
  opacity: 0.8;
  letter-spacing: 0.24em;
}

.home-hero .hh-stats .hh-num,
.home-hero .hh-stat .hh-num {
  background: var(--u-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 七、卡片与按钮统一 ---------- */
.card {
  border-radius: var(--u-r-lg) !important;
  border-color: #EFE9DA !important;
  transition: var(--u-t-base);
}

.card:hover {
  box-shadow: 0 8px 26px rgba(20, 20, 20, 0.10) !important;
}

.btn {
  border-radius: var(--u-r-sm) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--u-t-base);
}

.btn-primary {
  background: var(--u-grad-jade) !important;
  box-shadow: var(--u-sh-jade);
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-gold,
.btn.btn-gold {
  background: var(--u-grad-gold) !important;
  color: #141005 !important;
  box-shadow: var(--u-sh-gold);
  border: none;
}

/* 标签统一 */
.tag {
  border-radius: 6px !important;
  letter-spacing: 0.02em;
}

/* ---------- 八、图标风格统一 ---------- */
/* 全站 SVG 图标统一线条粗细与圆角端点，保证视觉一致 */
.app-shell svg {
  shape-rendering: geometricPrecision;
}

.app-shell [data-ic],
.app-shell .svc-icon svg,
.app-shell .qa-icon svg,
.app-shell .icon svg {
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 九、宗亲社区信息流 ---------- */
.u-community {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.u-post {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--c-surface, #fff);
  border: 1px solid #F0EBDD;
  border-radius: var(--u-r-md);
  text-decoration: none;
  transition: var(--u-t-fast);
}

.u-post:active {
  transform: scale(0.985);
  background: #FCFAF4;
}

.up-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--u-grad-jade);
  color: #fff;
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(10, 95, 56, 0.22);
}

.up-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.up-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1E1E1E;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-meta {
  font-size: 0.64rem;
  color: #9A948C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.up-arrow {
  flex: 0 0 auto;
  color: var(--u-gold);
  display: grid;
  place-items: center;
}

/* ---------- 十、宋氏人才卡片 ---------- */
.u-talent-scroll > * {
  flex: 0 0 106px;
  min-width: 106px;
}

.u-talent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px 14px;
  background: var(--c-surface, #fff);
  border: 1px solid #F0EBDD;
  border-radius: var(--u-r-lg);
  text-decoration: none;
  transition: var(--u-t-fast);
}

.u-talent:active {
  transform: translateY(-2px);
  box-shadow: var(--u-sh-md);
}

.ut-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-family: var(--f-serif);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--u-sh-sm);
}

.ut-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E1E1E;
}

.ut-branch {
  font-size: 0.64rem;
  color: #9A948C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.ut-tag {
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--u-grad-gold-soft);
  color: var(--u-gold-dark);
  font-size: 0.6rem;
}

/* ---------- 十一、宋氏家训卡片 ---------- */
.u-rule-scroll > * {
  flex: 0 0 216px;
  min-width: 216px;
}

/* 保证首卡与屏幕边缘留白一致 */
.u-rule-scroll {
  padding-left: 14px;
  padding-right: 14px;
  scroll-padding-left: 14px;
}

.u-rule {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 14px;
  border-radius: var(--u-r-lg);
  background:
    linear-gradient(160deg, #FDFBF5 0%, #F7F1E3 100%);
  border: 1px solid #EADFC6;
  box-shadow: 0 6px 18px rgba(139, 111, 14, 0.08);
  text-decoration: none;
  overflow: hidden;
  transition: var(--u-t-fast);
}

/* 金色竖条装饰，呼应家训卷轴 */
.u-rule::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 2px;
  background: var(--u-grad-gold);
}

.u-rule:active {
  transform: translateY(-2px);
}

.ur-seal {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--u-grad-gold);
  color: #141005;
  font-family: var(--f-brush);
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(201, 162, 39, 0.28);
}

.ur-cat {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--u-gold-dark);
  opacity: 0.8;
}

.ur-title {
  font-family: var(--f-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #1E1A14;
  line-height: 1.35;
}

.ur-sum {
  font-size: 0.7rem;
  line-height: 1.6;
  color: #6B6660;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ur-src {
  margin-top: 2px;
  font-size: 0.6rem;
  color: #A9A196;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 十二、宗族总会名片 ---------- */
.u-clanhead {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 18px 16px;
  border-radius: var(--u-r-xl);
  background: var(--u-grad-jade);
  box-shadow: var(--u-sh-jade);
  text-decoration: none;
  overflow: hidden;
}

/* 右上角金色光晕 */
.u-clanhead::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.uch-seal {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: #E8D59E;
  font-family: var(--f-brush);
  font-size: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.uch-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1;
}

.uch-badge {
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.22);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: #F2E4BE;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.uch-title {
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uch-desc {
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uch-meta {
  font-size: 0.6rem;
  color: rgba(232, 213, 158, 0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uch-stats {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  text-align: right;
  position: relative;
  z-index: 1;
}

.uch-stats .us-num {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #E8D59E;
  line-height: 1.3;
}

.uch-stats .us-label {
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.6);
  align-self: center;
}

/* ---------- 十三、全国宗亲分会地图 ---------- */
.u-branchmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.u-branch {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 10px;
  border-radius: var(--u-r-md);
  background: linear-gradient(160deg, #FFFFFF 0%, #FAF7EF 100%);
  border: 1px solid #EFE9DA;
  text-decoration: none;
  transition: var(--u-t-fast);
}

.u-branch:active {
  transform: scale(0.97);
  border-color: #E2D3AF;
}

.ub-prov {
  font-family: var(--f-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E1A14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ub-count {
  font-size: 0.6rem;
  color: var(--u-gold-dark);
}

.ub-list {
  font-size: 0.58rem;
  line-height: 1.5;
  color: #9A948C;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   活动详情页 · 移动端高级版（单列沉浸式）
   ============================================================ */

.act-crumb {
  background: var(--c-bg, #FAF8F3);
  padding: 10px 0 12px;
}

/* ---------- 沉浸封面 ---------- */
.act-hero {
  position: relative;
  padding: 28px 0 36px;
  background: var(--act-cover, #1E6B4E);
  overflow: hidden;
}

/* 深色遮罩：保证任何封面色下白字都清晰 */
.act-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(8, 10, 9, 0.30) 0%, rgba(8, 10, 9, 0.86) 100%);
}

/* 右上角金色光晕 */
.act-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.30) 0%, transparent 70%);
  pointer-events: none;
}

/* 右下角大字水印 */
.act-hero-mark {
  position: absolute;
  right: 4px;
  bottom: -14px;
  font-family: var(--f-brush);
  font-size: 5.6rem;
  line-height: 1;
  color: rgba(201, 162, 39, 0.14);
  pointer-events: none;
  user-select: none;
}

.act-hero-inner {
  position: relative;
  z-index: 1;
}

.act-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.act-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}

.act-tag-gold {
  background: rgba(201, 162, 39, 0.22);
  border: 1px solid rgba(201, 162, 39, 0.50);
  color: #F2E4BE;
}

.act-tag-live {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #7FE0B6;
}

.act-tag-off {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.72);
}

.act-hero-title {
  margin: 0 0 12px;
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.30);
  word-break: break-word;
}

.act-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.80);
}

.act-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.act-hero-meta svg {
  flex: 0 0 auto;
  color: #E8D59E;
}

.act-hero-meta i {
  font-style: normal;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.act-hero-host {
  margin-top: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: rgba(232, 213, 158, 0.82);
}

/* ---------- 内容主体 ---------- */
.act-body {
  background: var(--c-bg, #FAF8F3);
  padding-bottom: 18px;
}

.act-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.act-card {
  background: #FFFFFF;
  border: 1px solid #F1ECE0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 6px 22px rgba(20, 20, 20, 0.07);
}

.act-card-title {
  position: relative;
  margin: 0 0 12px;
  padding-left: 10px;
  font-family: var(--f-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #1E1A14;
}

.act-card-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--u-grad-gold, linear-gradient(135deg, #C9A227, #8B6F0E));
}

/* 关键信息 2×2 宫格 */
.act-kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.act-kv {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 11px;
  border-radius: 12px;
  background: linear-gradient(160deg, #FBF9F3 0%, #F6F2E8 100%);
  border: 1px solid #EFE9DA;
}

.akv-icon {
  color: var(--u-gold-dark, #8B6F0E);
}

.akv-label {
  font-size: 0.62rem;
  color: #9A948C;
}

.akv-value {
  font-family: var(--f-serif);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1E1A14;
  word-break: break-word;
}

/* 报名进度 */
.act-prog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.act-prog-head strong {
  font-family: var(--f-serif);
  font-size: 0.9rem;
  color: #1E1A14;
}

.act-prog-head span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--u-gold-dark, #8B6F0E);
}

.act-prog-bar {
  height: 8px;
  border-radius: 999px;
  background: #F0EADB;
  overflow: hidden;
}

.act-prog-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--u-grad-gold);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
  transition: width 0.5s ease;
}

.act-prog-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.64rem;
  color: #9A948C;
}

.apf-pct {
  font-weight: 700;
  color: var(--u-gold-dark, #8B6F0E);
}

/* 正文 */
.act-article {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #4A453D;
}

.act-article p {
  margin: 0 0 10px;
}

/* 活动信息行 */
.act-info-list {
  display: flex;
  flex-direction: column;
}

.act-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed #F0EBDF;
  font-size: 0.76rem;
}

.act-info-row:last-child {
  border-bottom: 0;
}

.air-label {
  flex: 0 0 auto;
  color: #9A948C;
}

.air-value {
  font-weight: 600;
  color: #1E1A14;
  text-align: right;
  word-break: break-word;
}

/* ---------- 活动相册 ---------- */
.act-photo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.act-photo-head .act-card-title {
  margin: 0;
}

.act-photo-count {
  font-size: 0.64rem;
  color: #9A948C;
}

.act-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.act-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #F3EEE2;
  cursor: zoom-in;
}

.act-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.act-photo:hover img {
  transform: scale(1.05);
}

.act-photo-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 6px 5px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #FFFFFF;
  font-size: 0.6rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.act-photo.is-hidden img {
  opacity: 0.45;
  filter: grayscale(0.4);
}

.act-photo-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #FFFFFF;
  font-size: 0.55rem;
}

.act-photo-del {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
}

.act-photo:hover .act-photo-del {
  opacity: 1;
}

.act-photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 10px;
  border-radius: 12px;
  background: #FBF8F0;
  color: #B0A995;
  text-align: center;
}

.act-photo-empty p {
  margin: 0;
  font-size: 0.68rem;
  color: #9A948C;
}

.act-photo-upload {
  margin-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.act-photo-tip {
  margin: 8px 0 0;
  font-size: 0.6rem;
  color: #B0A995;
  text-align: center;
}

.act-photo-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  border: 1px dashed #D9CFB6;
  border-radius: 12px;
  background: #FBF8F0;
  color: #9A948C;
  font-size: 0.72rem;
  cursor: pointer;
  overflow: hidden;
}

.act-photo-pick.has-img {
  padding: 0;
  border-style: solid;
  background: #000000;
}

.act-photo-pick img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
}

/* 相册灯箱 */
.act-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(12, 11, 9, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.act-lb-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.act-lb-cap {
  position: absolute;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  max-width: 86vw;
  color: #F2EDE2;
  font-size: 0.76rem;
  text-align: center;
}

.act-lb-count {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: #9A948C;
  font-size: 0.66rem;
  letter-spacing: 1px;
}

.act-lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.act-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.act-lb-nav.prev { left: 16px; }
.act-lb-nav.next { right: 16px; }

@media (max-width: 767px) {
  .act-lb-nav.prev { left: 6px; }
  .act-lb-nav.next { right: 6px; }
  .act-photo-del { opacity: 1; }
}

/* 桌面端：内容居中限宽，封面加大留白 */
@media (min-width: 768px) {
  .act-stack {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .act-hero {
    padding: 44px 0 52px;
  }
  .act-hero-title {
    font-size: 1.9rem;
  }
  .act-hero-mark {
    font-size: 7rem;
    right: 8%;
  }
  .act-kv-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .act-photo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
}

/* 极窄屏 */
@media (max-width: 359px) {
  .act-hero-title { font-size: 1.24rem; }
  .act-kv-grid { gap: 8px; }
  .act-kv { padding: 10px 9px; }
  .akv-value { font-size: 0.82rem; }
  .act-card { padding: 13px; border-radius: 16px; }
}

/* ============================================================
   会员权益套餐
   ============================================================ */

.vip-plans {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.vip-plans::-webkit-scrollbar { height: 4px; }
.vip-plans::-webkit-scrollbar-thumb { background: rgba(201,162,39,.3); border-radius: 4px; }
.vip-plan {
  flex: 0 0 82%;
  scroll-snap-align: center;
}
@media (min-width: 640px) {
  .vip-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
  }
  .vip-plan { flex: none; max-width: none; }
}
@media (min-width: 960px) {
  .vip-plans { grid-template-columns: repeat(3, 1fr); }
}

.vip-plan {
  position: relative;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(165deg, #FFFFFF 0%, #FBF8F0 100%);
  border: 1px solid #EEE7D5;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.06);
  overflow: hidden;
}

/* 推荐套餐：金色描边 + 光晕 */
.vip-plan.highlight {
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.20);
}

.vip-plan.highlight::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.vip-plan.owned {
  opacity: 0.82;
}

.vp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.vp-badge {
  font-family: var(--f-serif);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: var(--u-gold-dark, #8B6F0E);
  opacity: 0.75;
}

.vp-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--u-grad-gold);
  color: #141005;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vp-name {
  font-family: var(--f-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #1E1A14;
  letter-spacing: 0.04em;
}

.vp-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #EFE9DA;
}

.vp-price b {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--u-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.vp-price span {
  font-size: 0.58rem;
  color: #9A948C;
}

.vp-rights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}

.vp-right {
  display: flex;
  align-items: center;
  gap: 7px;
}

.vpr-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--u-grad-gold-soft);
  color: var(--u-gold-dark, #8B6F0E);
}

.vpr-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: #2A2620;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vp-cur {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(30, 107, 78, 0.12);
  color: #1E6B4E;
  font-size: 0.54rem;
  font-weight: 700;
}

.vip-plan.is-current {
  border-color: rgba(30, 107, 78, 0.5);
  box-shadow: 0 8px 24px rgba(30, 107, 78, 0.14);
}

.vp-btn {
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  border: none;
  border-radius: 10px;
  background: var(--u-grad-gold);
  color: #141005;
  font-family: var(--f-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.28);
  cursor: pointer;
  transition: var(--u-t-fast);
}

.vp-btn:active {
  transform: scale(0.98);
}

.vp-btn.is-owned {
  background: #F1ECE0;
  color: #9A948C;
  box-shadow: none;
  cursor: default;
}

/* 桌面端三列 */
@media (min-width: 860px) {
  .vip-plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .vip-plan {
    flex: 1;
  }
  .vip-plan.highlight {
    transform: translateY(-6px);
  }
}

/* ============================================================
   企业入驻 · 入口与企业主页
   ============================================================ */

/* 企业入驻入口卡 */
.ent-apply-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 14px 2px;
  padding: 14px;
  border-radius: 16px;
  background: var(--u-grad-jade);
  box-shadow: 0 8px 24px rgba(10, 95, 56, 0.22);
  overflow: hidden;
}

.ent-apply-cta::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.30) 0%, transparent 70%);
  pointer-events: none;
}

.eac-seal {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: #E8D59E;
  font-family: var(--f-brush);
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
}

.eac-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.eac-title {
  font-family: var(--f-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.eac-sub {
  margin-top: 3px;
  font-size: 0.62rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.eac-btn {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--u-grad-gold);
  color: #141005;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.eac-btn:active {
  transform: scale(0.96);
}

/* 企业主页封面 */
.ent-hero {
  position: relative;
  padding: 26px 0 36px;
  background: var(--ent-cover, #1E6B4E);
  overflow: hidden;
}

.ent-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(8, 10, 9, 0.30) 0%, rgba(8, 10, 9, 0.86) 100%);
}

.ent-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.30) 0%, transparent 70%);
  pointer-events: none;
}

.ent-hero-mark {
  position: absolute;
  right: 4px;
  bottom: -14px;
  font-family: var(--f-brush);
  font-size: 5.6rem;
  line-height: 1;
  color: rgba(201, 162, 39, 0.14);
  pointer-events: none;
  user-select: none;
}

.ent-hero-inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   族谱 · 世系路径与后裔可视化
   ============================================================ */

/* 世系路径（世代节点链） */
.lineage-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.lt-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #FCFAF4;
  border: 1px solid #F0EBDF;
  text-decoration: none;
  transition: var(--u-t-fast);
}

.lt-node:active {
  background: #F5F0E3;
}

.lt-node.is-self {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12) 0%, rgba(255, 215, 0, 0.04) 100%);
  border-color: rgba(201, 162, 39, 0.48);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.14);
}

.lt-dot {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #EFE7D2;
  color: var(--u-gold-dark, #8B6F0E);
  font-family: var(--f-serif);
  font-size: 0.68rem;
  font-weight: 700;
}

.lt-node.is-self .lt-dot {
  background: var(--u-grad-gold);
  color: #141005;
  box-shadow: 0 3px 10px rgba(201, 162, 39, 0.3);
}

.lt-node.is-root .lt-dot {
  background: var(--u-grad-jade);
  color: #FFFFFF;
}

.lt-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lt-name {
  font-family: var(--f-serif);
  font-size: 0.86rem;
  font-weight: 700;
  color: #1E1A14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lt-meta {
  font-size: 0.62rem;
  color: #9A948C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 后裔统计三宫格 */
.desc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.ds-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 6px;
  border-radius: 12px;
  background: linear-gradient(160deg, #FBF9F3 0%, #F6F2E8 100%);
  border: 1px solid #EFE9DA;
}

.ds-cell b {
  font-family: var(--f-serif);
  font-size: 1.12rem;
  font-weight: 700;
  background: var(--u-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.ds-cell span {
  font-size: 0.6rem;
  color: #9A948C;
}

/* 世代轴（横向滑动，每代一格） */
.desc-ages {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding: 2px 0 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.desc-ages::-webkit-scrollbar {
  display: none;
}

.aga-cell {
  flex: 0 0 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px 9px;
  border-radius: 12px;
  background: linear-gradient(160deg, #FBF9F3 0%, #F4EFE2 100%);
  border: 1px solid #EFE9DA;
}

.aga-gen {
  font-family: var(--f-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.15;
  background: var(--u-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aga-count {
  font-size: 0.56rem;
  color: #9A948C;
  white-space: nowrap;
}

/* 子区块标题 */
.desc-subtitle {
  margin: 16px 0 8px;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--u-gold-dark, #8B6F0E);
}

/* 全部后裔明细 */
.desc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #FBF9F3;
  text-decoration: none;
}

.dl-row:active {
  background: #F4EFE2;
}

.dl-gen {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--u-gold-dark, #8B6F0E);
  font-size: 0.56rem;
}

.dl-name {
  flex: 1;
  min-width: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: #2A2620;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-meta {
  flex: 0 0 auto;
  font-size: 0.58rem;
  color: #A29C90;
}

/* 云祭拜累计提示 */
.worship-stat {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: #9A948C;
}

/* 数字宗祠 2.0：祭拜礼仪 */
.hall-rituals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}

.hall-ritual {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid #EFE7D6;
  border-radius: 12px;
  background: #FBFAF6;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.hall-ritual strong {
  font-size: 0.72rem;
  color: #2B2820;
}

.hall-ritual span {
  font-size: 0.58rem;
  line-height: 1.4;
  color: #A29C90;
}

.hall-ritual.active {
  border-color: #C9A962;
  background: #FBF3DF;
  box-shadow: 0 2px 8px rgba(201, 169, 98, 0.15);
}

.hall-ritual.active strong {
  color: #8A6E2A;
}

/* 宗祠影像 */
.hall-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 14px 4px;
  scrollbar-width: none;
}

.hall-gallery::-webkit-scrollbar {
  display: none;
}

.hall-gallery-item {
  flex: 0 0 150px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border-radius: 14px;
  color: #FFFFFF;
  text-decoration: none;
  background: linear-gradient(150deg, var(--tone, #8C5A3C), #1A1712);
}

.hgi-seal {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.hgi-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 10px;
}

.hgi-body strong {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
}

.hgi-body small {
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   公益 · 募捐进度
   ============================================================ */

.fund-progress {
  margin: 12px 14px 0;
  padding: 14px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #EFE9DA;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.06);
}

.fp-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.fp-label {
  font-family: var(--f-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: #1E1A14;
}

.fp-pct {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--u-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fp-bar {
  height: 8px;
  border-radius: 999px;
  background: #F1ECE0;
  overflow: hidden;
}

.fp-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--u-grad-gold);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
  transition: width 0.5s ease;
}

.fp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.fp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.fp-stat b {
  font-family: var(--f-serif);
  font-size: 0.8rem;
  color: #1E2A23;
  white-space: nowrap;
}

.fp-stat span {
  font-size: 0.56rem;
  color: #9A948C;
}

/* ---------- 十五、移动端适配 ---------- */
/* 防御：平板及以下强制单列，杜绝主栏被侧栏挤压导致的竖排假象 */
@media (max-width: 980px) {
  .detail-layout {
    grid-template-columns: 1fr !important;
  }
  .detail-side {
    position: static !important;
  }
  .side-cta-card {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .svc-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
  }
  .data-num { font-size: 1.06rem !important; }
  .panel-title, .data-title { font-size: 0.98rem !important; }
}

@media (max-width: 359px) {
  .svc-icon { width: 46px !important; height: 46px !important; }
  .svc-grid { gap: 16px 2px !important; }
  .svc-label { font-size: 0.68rem !important; }
}

/* 尊重系统降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .data-head .data-live::before { animation: none; }
  .svc-icon::after { transition: none; }
}

/* ============================================================
   积分中心
   ============================================================ */

.pts-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 14px 8px;
}
.pts-group-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--c-gold-soft);
  color: var(--c-gold-dark);
}
.pts-group-label {
  color: var(--c-ink);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.pts-group-count {
  color: var(--c-gray-2);
  font-size: .66rem;
  margin-left: auto;
}

.pts-task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 14px;
}

.pts-task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #F0EBDF;
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.03);
}

.pts-task.is-done {
  background: #FBFAF6;
}

.pts-task-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.pts-task-body {
  flex: 1;
  min-width: 0;
}

.pts-task-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pts-task-title strong {
  font-family: var(--f-serif);
  font-size: 0.88rem;
  color: #1B1915;
}

.pts-task-points {
  font-size: 0.62rem;
  font-weight: 700;
  color: #8A6E2A;
  background: #F7F0DC;
  border-radius: 999px;
  padding: 1px 7px;
}

.pts-task-desc {
  margin: 4px 0 0;
  font-size: 0.68rem;
  line-height: 1.6;
  color: #8F887A;
}

.pts-task-bar {
  margin-top: 8px;
}

.pts-task-track {
  height: 6px;
  border-radius: 999px;
  background: #F0EADB;
  overflow: hidden;
}

.pts-task-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #C9A962, #8A6E2A);
}

.pts-task-bar span,
.pts-task-state {
  display: block;
  margin-top: 5px;
  font-size: 0.6rem;
  color: #A79F8F;
}

.pts-task-btn {
  flex: none;
  align-self: center;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.66rem;
  font-weight: 600;
  cursor: pointer;
  background: #F4EFE2;
  color: #8A6E2A;
  white-space: nowrap;
}

.pts-task-btn.gold {
  background: linear-gradient(135deg, #C9A962, #8A6E2A);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(138, 110, 42, 0.25);
}

.pts-task-btn.ghost {
  background: #FFFFFF;
  border: 1px solid #E5DCC6;
  color: #8A6E2A;
}

.pts-task-btn.done {
  background: #F1EEE6;
  color: #A8A296;
}

.pts-task-btn:disabled {
  cursor: default;
}

.pts-tip {
  margin: 10px 14px 0;
  font-size: 0.62rem;
  color: #A79F8F;
  line-height: 1.7;
}

/* 积分商城 */
.pts-goods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 14px;
}

.pts-good {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #F0EBDF;
  overflow: hidden;
}

.pts-good-cover {
  position: relative;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tone, #C9A962), #1A1712);
}

.pts-good-cover span {
  font-family: var(--f-serif);
  font-size: 2.1rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.08em;
}

.pts-good-cover::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.pts-good-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px;
}

.pts-good-name {
  font-family: var(--f-serif);
  font-size: 0.8rem;
  line-height: 1.4;
  color: #1B1915;
}

.pts-good-desc {
  flex: 1;
  margin: 4px 0 0;
  font-size: 0.62rem;
  line-height: 1.5;
  color: #9A9385;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pts-good-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
}

.pts-good-points {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8A6E2A;
}

.pts-good-stock {
  font-size: 0.58rem;
  color: #B0A997;
}

.pts-good-btn {
  width: 100%;
  margin-top: 8px;
  padding: 8px 0;
  border: 0;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #C9A962, #8A6E2A);
  cursor: pointer;
}

.pts-good-btn.disabled {
  background: #F1EEE6;
  color: #A8A296;
  cursor: default;
}

/* 我的兑换 */
.pts-red-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px;
}

.pts-red {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #F0EBDF;
}

.pts-red-main {
  min-width: 0;
}

.pts-red-main strong {
  display: block;
  font-size: 0.78rem;
  color: #1B1915;
}

.pts-red-main small {
  display: block;
  margin-top: 3px;
  font-family: monospace;
  font-size: 0.6rem;
  color: #A79F8F;
}

.pts-red-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.pts-red-side em {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  color: #B8443B;
}

/* 积分明细 */
.pts-ledger {
  margin: 0 14px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #F0EBDF;
  overflow: hidden;
}

.pts-ledger-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #F6F2E8;
}

.pts-ledger-row:last-child {
  border-bottom: 0;
}

.pts-ledger-tag {
  flex: none;
  min-width: 46px;
  padding: 3px 6px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
}

.pts-ledger-tag.plus {
  background: #EAF4EE;
  color: #1E6B4E;
}

.pts-ledger-tag.minus {
  background: #FBEDEC;
  color: #B8443B;
}

.pts-ledger-body {
  flex: 1;
  min-width: 0;
}

.pts-ledger-body strong {
  display: block;
  font-size: 0.74rem;
  color: #2B2820;
}

.pts-ledger-body small {
  display: block;
  margin-top: 2px;
  font-size: 0.58rem;
  color: #A79F8F;
}

.pts-ledger-balance {
  flex: none;
  font-size: 0.6rem;
  color: #A79F8F;
}

@media (min-width: 768px) {
  .pts-sec {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
  .pts-goods {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================= 活动 2.0：影像回顾 / 赞助鸣谢 / 签到墙 ================= */

/* 活动影像回顾横滑条 */
.act-gallery-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.act-gallery-strip::-webkit-scrollbar {
  height: 4px;
}

.act-gallery-strip::-webkit-scrollbar-thumb {
  background: #E2D6B8;
  border-radius: 4px;
}

.ag-item {
  position: relative;
  flex: 0 0 190px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #F3EEE3;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 4px 14px rgba(26, 20, 12, 0.06);
}

.ag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ag-item:hover img {
  transform: scale(1.05);
}

.ag-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62));
  color: #F4EFE4;
  font-size: 0.62rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 活动回顾横幅 */
.act-recap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1A1A1A, #3A3327);
  color: #F2EDE2;
}

.arc-seal {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 98, 0.65);
  border-radius: 8px;
  color: #E4CE96;
  font-size: 0.58rem;
  letter-spacing: 1px;
}

.arc-main {
  flex: 1;
  min-width: 0;
}

.arc-main strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.arc-main p {
  margin: 4px 0 0;
  font-size: 0.62rem;
  color: #BEB6A6;
  line-height: 1.6;
}

.arc-score {
  flex: none;
  color: #E4CE96;
  font-size: 0.9rem;
  font-weight: 700;
}

/* 赞助鸣谢 */
.act-sponsor-tier {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed #EFE6D2;
}

.act-sponsor-tier:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.ast-label {
  flex: none;
  padding-top: 8px;
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  color: #A98B45;
  writing-mode: vertical-rl;
}

.ast-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ast-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 7px;
  border: 1px solid #EEE3CB;
  border-radius: 10px;
  background: #FFFDF7;
}

.ast-logo {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  background: #F3EEE3;
}

.ast-glyph {
  width: 30px;
  height: 30px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(135deg, #C9A962, #E4CE96);
  color: #231F16;
  font-size: 0.8rem;
  font-weight: 700;
}

.ast-body {
  min-width: 0;
}

.ast-body strong {
  display: block;
  font-size: 0.72rem;
  color: #232019;
}

.ast-body small {
  display: block;
  margin-top: 1px;
  font-size: 0.56rem;
  color: #A29C90;
}

.ast-link {
  flex: none;
  font-size: 0.58rem;
  color: #8A6B27;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 98, 0.5);
}

.act-sponsor-tip,
.act-wall-tip {
  margin: 10px 0 0;
  font-size: 0.58rem;
  color: #B0A995;
  text-align: center;
}

/* 签到墙 */
.act-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.aw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border: 1px solid #EDE3CE;
  border-radius: 999px;
  background: #F9F6ED;
}

.aw-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 600;
}

.aw-chip b {
  font-size: 0.66rem;
  font-weight: 600;
  color: #232019;
}

.aw-chip small {
  font-size: 0.54rem;
  color: #A29C90;
}

@media (max-width: 480px) {
  .ag-item {
    flex-basis: 148px;
  }
}

/* ==================== 营销专区（拼团 + 秒杀） ==================== */
.mkt-sec { margin-top: 18px; }
.mkt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 14px; }
.mkt-card { display: flex; flex-direction: column; border: 1px solid var(--c-line-soft); border-radius: 14px; background: var(--c-surface); overflow: hidden; }
.mkt-cover { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; background: linear-gradient(135deg, var(--tone, #C9A962), color-mix(in srgb, var(--tone, #C9A962) 70%, #1A1A1A)); }
.mkt-cover > span:first-child { font-family: var(--f-serif); font-size: 2.4rem; color: rgba(255,255,255,.9); }
.mkt-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(26,26,26,.72); color: #E6D4A8; font-size: .62rem; }
.mkt-badge.red { background: rgba(184,58,58,.85); color: #fff; }
.mkt-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; }
.mkt-name { color: var(--c-ink); font-size: .8rem; font-weight: 600; line-height: 1.4; }
.mkt-desc { color: var(--c-gray-2); font-size: .64rem; margin: 0; }
.mkt-price { display: flex; align-items: baseline; gap: 8px; }
.mkt-now { color: #C0392B; font-family: var(--f-serif); font-size: 1.05rem; font-weight: 600; }
.mkt-origin { color: var(--c-gray-2); font-size: .66rem; text-decoration: line-through; }
.mkt-bar { display: flex; align-items: center; gap: 8px; }
.mkt-track { flex: 1; height: 6px; border-radius: 999px; background: var(--c-bg-2); overflow: hidden; }
.mkt-track i { display: block; height: 100%; border-radius: 999px; background: var(--grad-gold); }
.mkt-bar span { color: var(--c-gray-2); font-size: .62rem; white-space: nowrap; }
.mkt-btn { margin-top: 4px; padding: 8px; border: none; border-radius: 10px; background: var(--c-gold); color: #fff; font-family: inherit; font-size: .74rem; cursor: pointer; }
.mkt-btn.jade { background: var(--c-jade); }
.mkt-btn.gold { background: var(--c-gold); }
.mkt-btn.disabled { background: var(--c-bg-2); color: var(--c-gray-2); cursor: not-allowed; }
.mkt-slots { display: flex; gap: 8px; padding: 0 14px 12px; overflow-x: auto; }
.mkt-slot { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-cream); color: var(--c-gray); font-size: .7rem; white-space: nowrap; }
.mkt-slot.active { border-color: #C0392B; background: rgba(192,57,43,.08); color: #C0392B; font-weight: 600; }
@media (max-width: 600px) { .mkt-grid { grid-template-columns: repeat(2, 1fr); } }
