/* ==========================================================================
   璞玉心养 · Demo 官网  style.css
   调性：茶空间，不是医院。玉绿 × 茶金 × 宣纸底。
   ========================================================================== */

:root {
  --paper: #f7f4ee;
  --paper-2: #f0ebe0;
  --white: #ffffff;
  --line: #e6dfd1;
  --jade: #5e8b7e;
  --jade-deep: #3e5c50;
  --ink-green: #2f4a40;
  --gold: #c8a97e;
  --gold-deep: #a9885a;
  --ink: #2e2a25;
  --muted: #6f6759;
  --shadow: 0 12px 32px rgba(46, 42, 37, 0.09);
  --shadow-sm: 0 4px 14px rgba(46, 42, 37, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  /* —— 字体：全站统一黑体 ——
     自托管「思源黑体 / Noto Sans SC」，@font-face 见 assets/css/fonts.css
     （字体文件放本站 assets/fonts/，不走任何境外 CDN，国内直连）。
     回退栈显式列出各平台优质黑体，并彻底剔除 宋体(SimSun)/仿宋：
     原先引 Google Fonts 的 Noto Serif SC，国内被墙 → 加载失败后回退 SimSun，
     这才是「部分设备字体难看」的真正原因。
     注：--serif 为历史命名，现已指向黑体；若日后想让标题单独回到衬线体，只改这一行即可。 */
  --hei: "Puyu Sans SC", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "HONOR Sans CN",
         "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
         "Noto Sans SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", system-ui, -apple-system, sans-serif;
  --serif: var(--hei);
  --sans: var(--hei);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container { width: min(1120px, 92%); margin: 0 auto; }

h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 600; color: var(--ink); }

::selection { background: rgba(94, 139, 126, 0.25); }

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--jade); color: #fff; }
.btn--primary:hover { background: var(--jade-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { border-color: var(--jade); color: var(--jade-deep); background: transparent; }
.btn--ghost:hover { background: rgba(94, 139, 126, 0.1); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--light { background: #fff; color: var(--jade-deep); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 15px 34px; font-size: 16.5px; }
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 223, 209, 0.8);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-family: var(--serif); font-size: 21px; letter-spacing: 2px; color: var(--ink); }
.logo-text span { font-size: 10.5px; letter-spacing: 3.5px; color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 13px;
  font-size: 15px;
  color: var(--muted);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav a:hover { color: var(--jade-deep); background: rgba(94, 139, 126, 0.08); }
.nav a.active { color: var(--jade-deep); font-weight: 600; background: rgba(94, 139, 126, 0.12); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 5% 24px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; border-radius: 12px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Hero 首屏
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(200, 169, 126, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(94, 139, 126, 0.14), transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  letter-spacing: 4px;
  color: var(--gold-deep);
  margin-bottom: 18px;
  font-weight: 600;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.32;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.hero h1 em { font-style: normal; color: var(--jade-deep); }
.hero .slogan-en { font-size: 13px; letter-spacing: 5px; color: var(--muted); margin-bottom: 22px; }
.lede { font-size: 16px; color: var(--muted); max-width: 560px; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--muted);
}
.chip--jade { border-color: rgba(94, 139, 126, 0.45); color: var(--jade-deep); background: rgba(94, 139, 126, 0.08); }
.chip--gold { border-color: rgba(200, 169, 126, 0.55); color: var(--gold-deep); background: rgba(200, 169, 126, 0.1); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.jade-art { position: relative; width: min(380px, 100%); }
.jade-art .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}
.jade-art .blob--1 { width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, rgba(94, 139, 126, 0.28), rgba(94, 139, 126, 0.05)); top: -8%; right: -6%; }
.jade-art .blob--2 { width: 240px; height: 240px; background: radial-gradient(circle at 60% 40%, rgba(200, 169, 126, 0.3), rgba(200, 169, 126, 0.04)); bottom: -4%; left: -4%; }
.jade-art svg { position: relative; z-index: 2; margin: 0 auto; }
.float-chip {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--jade-deep);
  box-shadow: var(--shadow-sm);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip small { color: var(--muted); font-size: 12px; margin-left: 6px; }
.float-chip--1 { top: 8%; left: -5%; animation-delay: 0.4s; }
.float-chip--2 { top: 40%; right: -7%; animation-delay: 1.4s; }
.float-chip--3 { bottom: 4%; left: 4%; animation-delay: 2.2s; }
@media (max-width: 767px) {
  .float-chip { font-size: 12.5px; padding: 6px 13px; }
  .float-chip small { font-size: 11px; margin-left: 4px; }
  .float-chip--1 { top: 0; left: -2%; }
  .float-chip--2 { top: auto; bottom: 2%; right: -2%; }
  .float-chip--3 { display: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* 首页 Hero 照片背景：文字与玉璧图形保持在照片之上 */
.hero--photo {
  position: relative;
  background-size: cover;
  background-position: center 36%;
}
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(200, 169, 126, 0.12), transparent 60%),
    linear-gradient(94deg,
      rgba(247, 244, 238, 0.97) 6%,
      rgba(247, 244, 238, 0.92) 38%,
      rgba(247, 244, 238, 0.66) 66%,
      rgba(247, 244, 238, 0.3) 100%);
}
.hero--photo > .container { position: relative; z-index: 1; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-stats .stat { flex: 1; text-align: center; }
.hero-stats .stat + .stat { border-left: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--serif); font-size: 26px; color: var(--jade-deep); }
.hero-stats span { font-size: 13px; color: var(--muted); }

@media (max-width: 1023px) {
  .hero { padding: 56px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .jade-art { width: min(300px, 76%); }
  .float-chip--2 { right: -3%; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stats .stat { flex: 1 1 40%; }
  .hero-stats .stat:nth-child(3) { border-left: none; }
}

/* --------------------------------------------------------------------------
   通用 Section
   -------------------------------------------------------------------------- */
.section { padding: 84px 0; }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: linear-gradient(160deg, #334f44, var(--ink-green) 60%, #2b4237); color: #e9e4d8; }
.section--dark h2, .section--dark h3 { color: #f5f1e6; }
.section--dark p { color: rgba(233, 228, 216, 0.82); }
.section--tight { padding: 60px 0; }

.section-head { max-width: 680px; margin-bottom: 46px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker { margin-bottom: 12px; }
.section-head--center .kicker::after { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.4; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }
.section--dark .section-head p { color: rgba(233, 228, 216, 0.78); }

/* --------------------------------------------------------------------------
   卡片与栅格
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .card-tag {
  display: inline-block;
  font-size: 12.5px;
  color: var(--jade-deep);
  background: rgba(94, 139, 126, 0.1);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.icon-badge {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(94, 139, 126, 0.12);
  color: var(--jade-deep);
  font-size: 21px;
  margin-bottom: 16px;
}
.icon-badge--gold { background: rgba(200, 169, 126, 0.16); color: var(--gold-deep); }

@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* --------------------------------------------------------------------------
   痛点共鸣区
   -------------------------------------------------------------------------- */
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-card::before {
  content: "“";
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  color: rgba(200, 169, 126, 0.6);
  display: block;
  margin-bottom: 6px;
}
.pain-card p { font-family: var(--serif); font-size: 16.5px; color: var(--ink); line-height: 1.8; }
.pain-card span { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.pain-card span::before { content: "—— "; }

/* --------------------------------------------------------------------------
   产品阶梯
   -------------------------------------------------------------------------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tier-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tier-card--core { border: 1.5px solid var(--jade); box-shadow: var(--shadow); }
.tier-card--core::after {
  content: "核心产品";
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--jade);
  color: #fff;
  font-size: 12.5px;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 2px;
}
.tier-num { font-size: 12.5px; letter-spacing: 3px; color: var(--gold-deep); margin-bottom: 10px; font-weight: 600; }
.tier-card h3 { font-size: 19px; margin-bottom: 6px; }
.tier-price { font-family: var(--serif); font-size: 22px; color: var(--jade-deep); margin: 6px 0 14px; }
.tier-price small { font-size: 12.5px; color: var(--muted); font-family: var(--sans); }
.tier-card ul { margin-bottom: 20px; flex: 1; }
.tier-card li {
  font-size: 13.8px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 7px;
  line-height: 1.6;
}
.tier-card li::before { content: "·"; position: absolute; left: 8px; color: var(--jade); font-weight: 700; }
.tier-note { font-size: 12px; color: #a39a89; margin-top: 8px; }

@media (max-width: 1023px) { .ladder { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ladder { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   内容栏目 / Tab
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tab {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  color: var(--muted);
  transition: all 0.2s ease;
}
.tab:hover { border-color: var(--jade); color: var(--jade-deep); }
.tab.active { background: var(--jade); border-color: var(--jade); color: #fff; font-weight: 600; }

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.content-thumb {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  color: #fff;
  font-size: 17px;
  letter-spacing: 2px;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}
.content-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.55s ease;
}
.content-card:hover .content-thumb img { transform: scale(1.05); }
.content-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 32, 28, 0.06) 26%, rgba(24, 32, 28, 0.6) 100%);
}
.content-thumb .thumb-title { position: relative; z-index: 2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.content-thumb i {
  position: absolute; bottom: 10px; right: 14px;
  z-index: 2;
  font-style: normal;
  font-size: 12px;
  font-family: var(--sans);
  background: rgba(0, 0, 0, 0.36);
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.thumb--1 { background: linear-gradient(135deg, #6b9a8b, #3e5c50); }
.thumb--2 { background: linear-gradient(135deg, #8ba88f, #52796a); }
.thumb--3 { background: linear-gradient(135deg, #c8a97e, #a9885a); }
.thumb--4 { background: linear-gradient(135deg, #7f9e9a, #4f7370); }
.thumb--5 { background: linear-gradient(135deg, #5e8b7e, #35544a); }
.content-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.content-meta { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.tag {
  font-size: 12px;
  padding: 2px 11px;
  border-radius: 999px;
  background: rgba(94, 139, 126, 0.1);
  color: var(--jade-deep);
}
.tag--gold { background: rgba(200, 169, 126, 0.16); color: var(--gold-deep); }
.content-body h3 { font-size: 16.5px; line-height: 1.55; margin-bottom: 8px; }
.content-body p { font-size: 13.5px; color: var(--muted); flex: 1; }

/* --------------------------------------------------------------------------
   语录带 / 价值主张
   -------------------------------------------------------------------------- */
.quote-band { text-align: center; max-width: 780px; margin: 0 auto; }
.quote-band .mark { font-family: var(--serif); font-size: 60px; color: var(--gold); line-height: 0.6; margin-bottom: 18px; }
.quote-band h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.6; }
.quote-band p { margin-top: 18px; color: var(--muted); }

/* --------------------------------------------------------------------------
   关于页 · 时间线
   -------------------------------------------------------------------------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--jade), rgba(200, 169, 126, 0.5));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute; left: -31px; top: 9px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--jade);
}
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item h4 span { color: var(--gold-deep); font-size: 13.5px; margin-left: 10px; letter-spacing: 1px; }
.timeline-item p { font-size: 14.5px; color: var(--muted); }

/* 人物卡 */
.persona-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  margin: 0 auto;
  background: radial-gradient(circle at 32% 28%, #8fb5a8, #5e8b7e 55%, #3e5c50);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  color: #f5f1e6;
  font-size: 54px;
  letter-spacing: 6px;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.18), var(--shadow);
  position: relative;
}
.avatar--photo { background: var(--jade); box-shadow: var(--shadow); }
.avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.72);
}
.avatar::after {
  content: "49岁 · 重新认识自己";
  position: absolute;
  bottom: -18px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--gold);
  color: #fff;
  font-size: 12.5px;
  font-family: var(--sans);
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 999px;
}
.cred-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

@media (max-width: 860px) {
  .persona-card { grid-template-columns: 1fr; text-align: center; }
  .cred-list { justify-content: center; }
  .avatar { width: 160px; height: 160px; font-size: 44px; }
}

/* --------------------------------------------------------------------------
   承诺 / 红线
   -------------------------------------------------------------------------- */
.promise-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.promise-card h3 { font-size: 18px; margin-bottom: 10px; color: #f5f1e6; }
.promise-card p { font-size: 14.5px; }
.promise-card .num { font-family: var(--serif); font-size: 34px; color: var(--gold); display: block; margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   活动卡 / 倒计时
   -------------------------------------------------------------------------- */
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event-date {
  background: linear-gradient(135deg, var(--jade), var(--jade-deep));
  color: #fff;
  padding: 22px 24px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.event-date b { font-family: var(--serif); font-size: 34px; }
.event-date span { font-size: 13.5px; opacity: 0.92; }
.event-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.event-body h3 { font-size: 17.5px; line-height: 1.55; margin-bottom: 8px; }
.event-body p { font-size: 13.8px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.event-meta .tag { font-size: 12.5px; }
.event-card.is-full { opacity: 0.62; }

.countdown-wrap {
  background: linear-gradient(135deg, #334f44, var(--ink-green));
  border-radius: var(--radius);
  padding: 34px 36px;
  color: #e9e4d8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.countdown-wrap h3 { color: #f5f1e6; font-size: 20px; margin-bottom: 4px; }
.countdown-wrap p { font-size: 14px; }
.countdown { display: flex; gap: 12px; }
.cd-cell {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  min-width: 74px;
  padding: 12px 10px;
  text-align: center;
}
.cd-cell b { display: block; font-family: var(--serif); font-size: 30px; color: #fff; }
.cd-cell span { font-size: 12px; letter-spacing: 2px; opacity: 0.8; }

/* --------------------------------------------------------------------------
   自测
   -------------------------------------------------------------------------- */
.test-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.test-option {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: all 0.25s ease;
}
.test-option:hover { border-color: var(--jade); transform: translateY(-4px); box-shadow: var(--shadow); }
.test-option .icon-badge { margin: 0 auto 14px; width: 54px; height: 54px; font-size: 24px; border-radius: 50%; }
.test-option h3 { font-size: 18.5px; margin-bottom: 8px; }
.test-option p { font-size: 13.8px; color: var(--muted); margin-bottom: 6px; }
.test-option .meta { font-size: 12.5px; color: #a39a89; margin-bottom: 16px; }

.quiz-panel {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.progress { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 30px; }
.progress b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--jade), var(--gold)); border-radius: 999px; transition: width 0.35s ease; }
.quiz-q { font-family: var(--serif); font-size: 21px; line-height: 1.65; margin-bottom: 26px; }
.quiz-q small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 6px; }
.option {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 15.5px;
  color: var(--ink);
  margin-bottom: 12px;
  transition: all 0.18s ease;
}
.option:hover { border-color: var(--jade); background: rgba(94, 139, 126, 0.07); transform: translateX(4px); }
.option .pt { float: right; color: #b3ab9b; font-size: 13px; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 20px; }

.result-panel { max-width: 680px; margin: 0 auto; }
.score-card {
  background: linear-gradient(160deg, #334f44, var(--ink-green));
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  color: #e9e4d8;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.score-card h3 { color: #f5f1e6; font-size: 22px; margin-bottom: 4px; }
.score-card .sub { font-size: 13.5px; opacity: 0.8; }
.dial-wrap { display: flex; justify-content: center; margin: 20px 0 6px; }
.band-label {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 3px;
  padding: 8px 28px;
  border-radius: 999px;
  margin-top: 10px;
}
.advice-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.advice-card h3 { font-size: 18px; margin-bottom: 14px; }
.advice-card li {
  position: relative;
  padding: 12px 16px 12px 46px;
  background: var(--paper);
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.7;
}
.advice-card li b { color: var(--jade-deep); }
.advice-card li::before {
  content: "✿";
  position: absolute; left: 16px; top: 12px;
  color: var(--gold-deep);
}
.notice {
  background: rgba(200, 169, 126, 0.12);
  border: 1px solid rgba(200, 169, 126, 0.4);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 13.5px;
  color: #8a6f47;
  margin-bottom: 22px;
  line-height: 1.8;
}
.notice strong { color: #6f5630; }

@media (max-width: 860px) { .test-picker { grid-template-columns: 1fr; } .quiz-panel { padding: 26px 20px; } }

/* 自测分组（六大书架） */
.test-group { margin-bottom: 46px; }
.test-group:last-of-type { margin-bottom: 0; }
.tg-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tg-tag {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 3px;
  color: var(--jade-deep);
  background: rgba(94, 139, 126, 0.12);
  padding: 6px 20px;
  border-radius: 999px;
}
.tg-line { flex: 1; height: 1px; background: var(--line); }

/* --------------------------------------------------------------------------
   表单
   -------------------------------------------------------------------------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label em { color: #c26a5a; font-style: normal; margin-left: 2px; }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--jade); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field .err { font-size: 12.5px; color: #c26a5a; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #c26a5a; }
.field.invalid .err { display: block; }
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-sel {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--muted);
  transition: all 0.15s ease;
}
.chip-sel.on { background: var(--jade); border-color: var(--jade); color: #fff; }
.form-actions { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 12.5px; color: #a39a89; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-panel { padding: 26px 20px; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 19px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
}
.faq-q::after { content: "+"; font-size: 22px; color: var(--jade); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.85; }
.faq-a p strong { color: var(--jade-deep); }

/* --------------------------------------------------------------------------
   步骤
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 30px;
  color: rgba(94, 139, 126, 0.35);
  display: block;
  margin-bottom: 10px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 13.8px; color: var(--muted); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   危机提示 / 合规框
   -------------------------------------------------------------------------- */
.crisis-box {
  background: #fdf6ef;
  border: 1.5px solid rgba(194, 106, 90, 0.35);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 30px;
}
.crisis-box h3 { color: #b05b4b; font-size: 17px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.crisis-box p { font-size: 14.2px; color: #7a5a4d; line-height: 1.9; }
.crisis-box .hotline { font-family: var(--serif); font-size: 20px; color: #b05b4b; font-weight: 700; }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer { background: #26382f; color: rgba(233, 228, 216, 0.85); margin-top: 0; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer-main h4 { color: #f5f1e6; font-size: 15.5px; margin-bottom: 16px; letter-spacing: 2px; }
.footer-main p, .footer-main a { font-size: 13.8px; color: rgba(233, 228, 216, 0.72); line-height: 2; }
.footer-main a:hover { color: #fff; }
.footer-brand p { margin-top: 12px; max-width: 300px; }
.footer-list li { margin-bottom: 8px; }
.qr-slot {
  width: 108px; height: 108px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  text-align: center;
  color: rgba(233, 228, 216, 0.6);
  margin-bottom: 10px;
}
.footer-compliance {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0 30px;
  font-size: 12.5px;
  color: rgba(233, 228, 216, 0.55);
  line-height: 2;
}
.footer-compliance p { margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(233, 228, 216, 0.5);
}
@media (max-width: 1023px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; } }

/* --------------------------------------------------------------------------
   手机底部悬浮栏
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  height: 64px;
  background: rgba(255, 253, 250, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: .5px solid var(--line);
  box-shadow: 0 -10px 28px rgba(46, 42, 37, .07);
  padding-bottom: env(safe-area-inset-bottom);
  align-items: stretch;
}
.mobile-cta-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease;
}
.mobile-cta-bar a:active { transform: scale(.94); }
.mobile-cta-bar a.center:active { transform: none; }
.mobile-cta-bar a svg {
  width: 23px; height: 23px;
  flex: none;
  stroke: #9c8e83;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .2s ease;
}
.mobile-cta-bar a span {
  font-size: 10px;
  color: #9c8e83;
  letter-spacing: .04em;
  transition: color .2s ease;
}

/* 当前页高亮 */
.mobile-cta-bar a.on svg { stroke: var(--jade); }
.mobile-cta-bar a.on span { color: var(--jade); font-weight: 600; }

/* 中心凸起圆球：主入口 */
.mobile-cta-bar a.center { flex: none; width: 78px; }
.mobile-cta-bar a.center .orb {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--jade);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  border: 3px solid #fffdfa;
  box-shadow: 0 6px 14px rgba(94, 139, 126, .38);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.mobile-cta-bar a.center .orb svg { width: 22px; height: 22px; stroke: #f3faf7; stroke-width: 1.8; }
.mobile-cta-bar a.center span { margin-top: 2px; }
.mobile-cta-bar a.center:active .orb { transform: scale(.94); }
.mobile-cta-bar a.center.on .orb {
  transform: translateY(-3px);
  box-shadow: 0 9px 18px rgba(94, 139, 126, .46);
  background: linear-gradient(150deg, #6f9d8e, var(--jade));
}
.mobile-cta-bar a.center.on:active .orb { transform: translateY(-3px) scale(.96); }
.mobile-cta-bar a.center.on span { color: var(--jade); font-weight: 600; }

@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 74px; }
}

/* --------------------------------------------------------------------------
   Toast / Modal
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  top: 88px; left: 50%;
  transform: translate(-50%, -16px);
  background: var(--ink-green);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 200;
  max-width: 86%;
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(38, 56, 47, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 150;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff;
  border-radius: 22px;
  max-width: 460px;
  width: 100%;
  padding: 40px 34px 34px;
  text-align: center;
  animation: pop 0.3s ease;
  position: relative;
}
@keyframes pop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .m-icon { width: 66px; height: 66px; border-radius: 50%; background: rgba(94, 139, 126, 0.14); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 18px; color: var(--jade-deep); }
.modal h3 { font-size: 21px; margin-bottom: 10px; }
.modal p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.modal .m-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  font-size: 22px; color: #b3ab9b;
}

/* --------------------------------------------------------------------------
   每日心语
   -------------------------------------------------------------------------- */
.daily-quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.daily-quote .q { font-family: var(--serif); font-size: 18.5px; color: var(--ink); line-height: 1.7; }
.daily-quote .q small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 6px; letter-spacing: 2px; }
.daily-quote .date { font-size: 13px; color: var(--muted); text-align: right; }
.daily-quote .date b { display: block; font-family: var(--serif); font-size: 26px; color: var(--jade-deep); }

/* --------------------------------------------------------------------------
   页面 Hero（内页）
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(200, 169, 126, 0.18), transparent 60%),
    radial-gradient(500px 260px at 0% 120%, rgba(94, 139, 126, 0.14), transparent 60%),
    var(--paper);
  padding: 64px 0 54px;
  border-bottom: 1px solid rgba(230, 223, 209, 0.7);
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.page-hero .lede { margin-bottom: 0; font-size: 16px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; letter-spacing: 1px; }
.breadcrumb a { color: var(--jade-deep); }

/* 照片背景 Hero：左侧文字可读，右侧透出照片 */
.page-hero--photo {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  color: var(--ink);
}
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg,
    rgba(247, 244, 238, 0.97) 10%,
    rgba(247, 244, 238, 0.9) 42%,
    rgba(247, 244, 238, 0.52) 72%,
    rgba(247, 244, 238, 0.16) 100%);
}
.page-hero--photo .container { position: relative; z-index: 1; }
.page-hero--photo .breadcrumb { color: #55503f; }
@media (max-width: 767px) {
  .page-hero--photo { background-position: center center; }
  .page-hero--photo::before { background: rgba(247, 244, 238, 0.9); }
  /* 手机竖屏全屏时：背景图放大取中，让居中人物落在玉璧图形附近清晰可见 */
  .hero--photo { background-size: auto 165%; background-position: center 55%; }
  .hero--photo::before {
    background:
      radial-gradient(500px 300px at 80% 0%, rgba(200, 169, 126, 0.1), transparent 60%),
      linear-gradient(180deg,
        rgba(247, 244, 238, 0.72),
        rgba(247, 244, 238, 0.82) 32%,
        rgba(247, 244, 238, 0.9) 58%,
        rgba(247, 244, 238, 0.96));
  }
}

/* --------------------------------------------------------------------------
   文章页（内容库统一模板：主图 Hero → 标题 → 视频/音频占位 → 图文正文）
   -------------------------------------------------------------------------- */
.article-hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center 38%;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 56, 47, 0.28) 25%, rgba(22, 35, 29, 0.8));
}
.article-hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 42px;
}
.article-hero .breadcrumb { color: rgba(255, 255, 255, 0.78); margin: 0 0 20px; }
.article-hero .breadcrumb a { color: #fff; }
.article-hero .a-title-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.article-hero .tag { background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.38); }
.article-hero .tag--gold { background: rgba(200, 169, 126, 0.32); color: #fdeecb; border-color: rgba(200, 169, 126, 0.55); }
.article-hero h1 {
  color: #fff;
  font-size: clamp(27px, 3.8vw, 42px);
  line-height: 1.45;
  max-width: 760px;
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.38);
}
.article-hero .article-meta { justify-content: flex-start; color: rgba(255, 255, 255, 0.85); }
.article-hero .article-meta .dot { color: rgba(255, 255, 255, 0.4); }
@media (max-width: 640px) { .article-hero { height: 400px; } .article-hero .container { padding-bottom: 30px; } }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  align-items: center;
}
.article-meta .dot { color: #c9c1b1; }
.article-wrap { max-width: 740px; margin: 0 auto; }

.opening-quote {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2.15;
  color: var(--ink);
  background: rgba(200, 169, 126, 0.12);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  margin: 38px 0 8px;
}

.media-slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #3a5248, #26382f);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f5f1e6;
  box-shadow: var(--shadow);
  margin: 34px 0 12px;
  border: none;
  width: 100%;
  cursor: pointer;
}
.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.play-btn::after {
  content: "";
  margin-left: 6px;
  border-left: 20px solid rgba(255, 255, 255, 0.92);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.media-slot:hover .play-btn { transform: scale(1.08); background: rgba(200, 169, 126, 0.4); }
.media-slot .m-duration {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 12.5px;
  background: rgba(0, 0, 0, 0.42);
  padding: 3px 12px;
  border-radius: 999px;
}
.media-slot .m-note { margin-top: 14px; font-size: 12.5px; color: rgba(233, 228, 216, 0.72); }
.media-slot--audio {
  aspect-ratio: auto;
  flex-direction: row;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 22px;
  margin-top: 14px;
  background: linear-gradient(150deg, #43584d, #2b4237);
}
.media-slot--audio .play-btn { width: 52px; height: 52px; }
.media-slot--audio .play-btn::after { border-left-width: 15px; border-top-width: 9px; border-bottom-width: 9px; margin-left: 4px; }
.media-slot--audio .a-info { flex: 1; min-width: 0; }
.media-slot--audio .a-title { color: #fff; font-size: 15px; font-family: var(--serif); margin-bottom: 8px; }
.media-slot--audio .a-progress { height: 4px; background: rgba(255, 255, 255, 0.22); border-radius: 999px; position: relative; }
.media-slot--audio .a-progress::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 30%;
  background: var(--gold);
  border-radius: 999px;
}
.media-slot--audio .a-time { font-size: 12px; color: rgba(233, 228, 216, 0.7); margin-top: 6px; }
@media (max-width: 640px) { .media-slot--audio { flex-wrap: wrap; } }

.article-body { padding-top: 22px; }
.article-body h2 {
  font-size: 23px;
  line-height: 1.55;
  margin: 46px 0 18px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}
.article-body h3 { font-size: 18.5px; margin: 30px 0 12px; }
.article-body p { font-size: 16px; line-height: 2.1; color: #4a443b; margin-bottom: 18px; }

.pull-quote {
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--jade-deep);
  line-height: 1.95;
  margin: 40px auto;
  max-width: 560px;
}
.pull-quote::before {
  content: "\201C";
  display: block;
  font-size: 54px;
  color: var(--gold);
  line-height: 0.4;
  margin-bottom: 14px;
}

.practice-box {
  background: #fff;
  border: 1.5px solid rgba(94, 139, 126, 0.35);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.practice-box h4 {
  font-size: 17px;
  color: var(--jade-deep);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.practice-box h4 .no {
  background: var(--jade);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: var(--sans);
  flex-shrink: 0;
}
.practice-box p { font-size: 14.8px; margin-bottom: 10px; }
.practice-box .meta { font-size: 12.5px; color: #a39a89; }

.story-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 24px 0;
}
.story-box p { font-size: 15px; margin-bottom: 0; }
.story-box .who { font-size: 12.5px; color: var(--muted); margin-top: 10px; display: block; }

.end-note {
  font-size: 12.5px;
  color: #a39a89;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 42px;
  line-height: 2;
}

.author-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 40px;
}
.author-card img { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.author-card h4 { font-size: 18px; margin-bottom: 6px; }
.author-card p { font-size: 13.8px; color: var(--muted); }
.author-card .a-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
@media (max-width: 640px) { .author-card { flex-direction: column; text-align: center; } .author-card .a-actions { justify-content: center; } }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.article-nav a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.2s ease;
  line-height: 1.7;
}
.article-nav a:hover { border-color: var(--jade); color: var(--jade-deep); }
.article-nav a small { display: block; font-size: 12px; color: #a39a89; margin-bottom: 6px; letter-spacing: 2px; }
.article-nav a.next { text-align: right; }
@media (max-width: 640px) { .article-nav { grid-template-columns: 1fr; } .article-nav a.next { text-align: left; } }

/* 旧库正文组件映射（导入文章使用） */
.article-body figure { margin: 26px 0; }
.article-body figure img { width: 100%; border-radius: var(--radius); }
.article-body figure figcaption { text-align: center; font-size: 12.5px; color: #a39a89; margin-top: 8px; }
.article-body .data-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(94, 139, 126, 0.08);
  border: 1px solid rgba(94, 139, 126, 0.28);
  border-radius: 14px;
  padding: 16px 22px;
  margin: 24px 0;
}
.article-body .data-card .dc-num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--jade-deep);
  white-space: nowrap;
}
.article-body .data-card .dc-label { font-size: 13px; color: var(--muted); line-height: 1.8; }
.article-body blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  background: rgba(200, 169, 126, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
}
.article-body blockquote p { margin: 0; font-family: var(--serif); font-size: 16.5px; color: var(--ink); line-height: 2; }
.article-body .art-sep { text-align: center; letter-spacing: 8px; color: #c9c1b1; margin: 28px 0; }
.article-body strong { color: var(--jade-deep); }

/* 媒体播放态 */
.media-slot.playing .play-btn { border-color: var(--gold); background: rgba(200, 169, 126, 0.45); }
.media-slot.playing .play-btn::after {
  width: 9px;
  height: 24px;
  margin: 0 6px 0 10px;
  border-left: none;
  border-top: none;
  border-bottom: none;
  border-radius: 2px;
  background: #fff;
  box-shadow: -11px 0 0 #fff;
}
@keyframes prog { from { width: 30%; } to { width: 100%; } }
.media-slot.playing .a-progress::before { animation: prog 24s linear forwards; }

/* 文章加载态：?id= 打开时隐藏默认演示内容，防止闪现 */
html.art-loading .article-hero,
html.art-loading .opening-quote,
html.art-loading .media-slot,
html.art-loading .article-wrap,
html.art-loading .author-card,
html.art-loading .article-nav,
html.art-loading #relatedSec { visibility: hidden; }
html.art-loading .article-hero { background: var(--paper-2) !important; }
html.art-loading .article-hero::before { opacity: 0.4; }
.art-loading-bar { display: none; }
html.art-loading .art-loading-bar {
  display: block;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 50% 100%;
  animation: loadslide 1.1s linear infinite;
}
@keyframes loadslide {
  0% { background-position: -60% 0; }
  100% { background-position: 160% 0; }
}

/* --------------------------------------------------------------------------
   系列页（电子杂志）
   -------------------------------------------------------------------------- */
.mag-hero {
  position: relative;
  padding: 96px 0 76px;
  background-size: cover;
  background-position: center 30%;
  color: #e9e4d8;
}
.mag-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 32, 28, 0.62), rgba(24, 32, 28, 0.86));
}
.mag-hero .container { position: relative; z-index: 1; }
.mag-masthead {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  letter-spacing: 3px;
  color: rgba(233, 228, 216, 0.72);
  margin-bottom: 26px;
}
.mag-masthead::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.mag-hero h1 {
  color: #fff;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 4px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.mag-en { font-size: 13px; letter-spacing: 6px; color: var(--gold); margin-bottom: 22px; }
.mag-desc { font-size: 16px; max-width: 560px; color: rgba(233, 228, 216, 0.85); line-height: 2; margin-bottom: 24px; }
.mag-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mag-chips .chip { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); color: #e9e4d8; }

.feature-issue {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(150deg, #334f44, #26382f);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: #e9e4d8;
}
.feature-issue .f-cover { position: relative; height: 100%; min-height: 320px; }
.feature-issue .f-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-issue .f-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(38, 56, 47, 0.55)); }
.feature-issue .f-no {
  position: absolute;
  top: 18px; left: 20px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 3px;
  color: #fff;
  background: rgba(200, 169, 126, 0.9);
  padding: 5px 16px;
  border-radius: 999px;
}
.feature-issue .f-body { padding: 40px 44px 40px 0; }
.feature-issue .f-kicker { font-size: 12.5px; letter-spacing: 4px; color: #d8bd93; margin-bottom: 14px; }
.feature-issue h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; margin-bottom: 14px; }
.feature-issue p { font-size: 14.5px; color: rgba(233, 228, 216, 0.8); line-height: 2; margin-bottom: 22px; }
.feature-issue .f-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .feature-issue { grid-template-columns: 1fr; }
  .feature-issue .f-cover { min-height: 240px; }
  .feature-issue .f-cover::after { background: linear-gradient(180deg, transparent 55%, rgba(38, 56, 47, 0.6)); }
  .feature-issue .f-body { padding: 6px 26px 32px; }
}

.issues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1023px) { .issues-grid { grid-template-columns: repeat(2, 1fr); } }
.mag-issue {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  display: block;
  color: #fff;
  background: var(--ink-green);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mag-issue:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mag-issue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.mag-issue:hover img { transform: scale(1.05); }
.mag-issue::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 32, 28, 0.16) 30%, rgba(24, 32, 28, 0.74));
}
.mag-issue .i-no {
  position: absolute;
  top: 12px; right: 14px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}
.mag-issue .i-status {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 11.5px;
  letter-spacing: 1px;
  background: rgba(200, 169, 126, 0.92);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
}
.mag-issue .i-status.ghost { background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.4); }
.mag-issue .i-bottom { position: absolute; left: 16px; right: 14px; bottom: 14px; z-index: 2; }
.mag-issue .i-bottom b {
  display: block;
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.mag-issue .i-bottom span { font-size: 12px; color: rgba(255, 255, 255, 0.82); letter-spacing: 1px; }
@media (max-width: 640px) {
  .mag-issue { aspect-ratio: 3 / 3.9; }
  .mag-issue .i-no { font-size: 17px; top: 10px; right: 10px; }
  .mag-issue .i-status { font-size: 10.5px; top: 10px; left: 10px; padding: 2px 9px; }
  .mag-issue .i-bottom { left: 12px; right: 10px; bottom: 10px; }
  .mag-issue .i-bottom b {
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mag-issue .i-bottom span { font-size: 10.5px; }
}

.sub-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.hear-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.hear-list li:last-child { border-bottom: none; }
.hear-list li::before { content: "◆"; position: absolute; left: 4px; color: var(--gold); font-size: 12px; top: 14px; }

/* --------------------------------------------------------------------------
   后台 admin
   -------------------------------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 34px; }
.stat-row--3 { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; text-align: center; }
.stat-card b { display: block; font-family: var(--serif); font-size: 32px; color: var(--jade-deep); }
.stat-card span { font-size: 13px; color: var(--muted); }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 13.8px; min-width: 640px; }
.table-wrap th { background: var(--paper-2); text-align: left; padding: 12px 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.table-wrap td { padding: 11px 16px; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.table-wrap td b { color: var(--ink); }
.empty-tip { text-align: center; color: #a39a89; font-size: 14px; padding: 34px 0; }
@media (max-width: 1023px) { .stat-row, .stat-row--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stat-row, .stat-row--3 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   滚动渐显
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
}

/* 小屏细节 */
@media (max-width: 640px) {
  .hero h1 { letter-spacing: 0.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .countdown-wrap { padding: 26px 22px; }
  .cd-cell { min-width: 62px; }
  .score-card { padding: 30px 20px; }
}

/* --------------------------------------------------------------------------
   系列节目（杂志货架）与文库工具栏
   -------------------------------------------------------------------------- */
.series-shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.series-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.series-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.series-card .s-cover { position: relative; display: block; aspect-ratio: 3 / 3.3; overflow: hidden; }
.series-card .s-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.series-card:hover .s-cover img { transform: scale(1.06); }
.series-card .s-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(24, 32, 28, 0.05) 32%, rgba(24, 32, 28, 0.68));
}
.series-card .s-no {
  position: absolute;
  top: 10px; left: 14px;
  z-index: 2;
  font-family: var(--serif);
  font-size: 26px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 2px;
}
.series-card .s-title {
  position: absolute;
  left: 16px; right: 14px; bottom: 12px;
  z-index: 2;
  color: #fff;
}
.series-card .s-title b {
  display: block;
  font-family: var(--serif);
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.series-card .s-forms { font-size: 11.5px; color: rgba(255, 255, 255, 0.88); letter-spacing: 1px; }
.series-card .s-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.series-card .s-desc { font-size: 13.5px; color: var(--muted); line-height: 1.8; flex: 1; }
.series-card .s-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12.5px; }
.series-card .s-meta i { font-style: normal; color: var(--gold-deep); }
.series-card .s-meta em { font-style: normal; color: var(--jade-deep); font-weight: 600; }
@media (max-width: 1023px) { .series-shelf { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .series-shelf {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 -4%;
    padding-left: 4%;
    padding-right: 4%;
  }
  .series-card { scroll-snap-align: start; }
}

.lib-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.lib-search { position: relative; }
.lib-search input {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 42px 10px 20px;
  font-size: 14px;
  width: 280px;
  max-width: 100%;
  outline: none;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.lib-search input:focus { border-color: var(--jade); }
.lib-search::after {
  content: "⌕";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-54%);
  font-size: 19px;
  color: #b3ab9b;
  pointer-events: none;
}
@media (max-width: 640px) { .lib-search, .lib-search input { width: 100%; } }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.18s ease;
  font-family: var(--sans);
}
.page-btn:hover:not(:disabled):not(.on) { border-color: var(--jade); color: var(--jade-deep); }
.page-btn.on { background: var(--jade); border-color: var(--jade); color: #fff; font-weight: 600; }
.page-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.page-btn.gap { border: none; background: none; min-width: 24px; padding: 0; }
