/* =========================================================
 * 逸趣 · 生活馆  —  视觉样式
 * 温暖 · 生活化 · 润物细无声
 * ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap');
:root {
  --bg: #faf6f0;
  --bg2: #f3ece1;
  --card: #ffffff;
  --ink: #2f2a24;
  --ink-soft: #6f655a;
  --line: #ece3d6;
  --accent: #c07a4e;
  --accent-soft: #f0e2d4;
  --shadow: 0 10px 34px rgba(90, 64, 40, 0.09);
  --shadow-sm: 0 4px 14px rgba(90, 64, 40, 0.07);
  --radius: 18px;
}

/* ---------- 人间烟火标题字体（FZShuTi / MolkTitle，子集仅含 人间烟火） ---------- */
@font-face {
  font-family: 'MolkTitle';
  src: url('data:font/woff2;base64,d09GMgABAAAAAAWYAA8AAAAACvgAAAVEAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHBoGVgBEERAKjiiJbAE2AiQDDAsMAAQgBYIgByAMCBckGAwbrQdRlFDOdgBfHNhEJi30By3WTIwtajNsHFoURr7qZfD64lfj/x3+lv1MEiBQC+t1WHribF3k6+gTE/8zJf63eR9MxSRYsmAThPXVtbIQ8/Ol/bZVzFoiJjzEW70PfttDREL81EJGxakSdagttfsXDpEeAtDyPD3e51tbFbFGpnkndkqaGexjPksST8OCJyJvIy3R1U60XSp3peTTTUTi4I7RcV+7qG0Hfw0gAI1PAH5D81PAneeRwyEYzoEDANG3OghTKCMlI0Wowcy9HYpXeTcUngf0F9/nQzt8LwkA5g5TvxWOyYSo4QgS84tOffFT/SX/A8hfbq8Y4NSkmgBkwjSOB2BEipKw1FNrrShA9if6HFFP/xaCkbCRmBBZ8R+05t18os1smLZt64YrfPnCqoXYtEJaquna+SDMCdP5AgLicZxvxOSpyFL4oGzn+VU7h/O67Suk/Y4YjpefpzazGqV5FIbSrjA6K70svMRAc6Rnpr9bFmsBZ6UlUjMPJsihc8C5Ps1DJ2gRCQs4L+2Za2IZL1i4GMl5FacFDh51J28vF47y8YvWLq3Q8Vx2klTIaXC49O1k4jyA03tVh7A5cQohNMVZhavYXIYFbMZ57ohuyYRtC55YKi/hRI8kHNCHJSZydqNotOUWdPR+W4uazbtCNGF1hEVBrXwWzs51peAgNhtaLbj8tTJfsLCJSJwlr+kjMxSpgDKpogUSYQPsVT3JbEs4aS6f68pZYRJGU4YONpMwJyTho7E10+2WUl9rgjwnzQIHZwUd3iSPwmPux54NsbDoUjiXTzxNC7HK/2AulkAIk4i8p1mPlTxJ6HG67hZf7stfXH0IAK/edVOKywpevP7cDYxcfrpLbj7m7BJDcqT5pCHl9MtOu/pZiTKGIpQMh0/jay1OCUEhLnot5ZhRveSoc1KEftESaV9/5ofJq0xKrWDTUHLXhRVzZcVR3jRCCgeNVBeMSKpEXYaX6BXHjLGpEtQvkJXbjCQ0P3qnqPHx5rvdYVBxCVft02PDmSwzl2BUv6a0XC6yksZZGuKOOIlat152XVNaxZuxURpXrHMytZg1xJ3BYRZ5xx2CpWbFWZq3cfQx7i8GUYYQIyu3RyoLc38JflFZbvtIRF0KoRkSOStW0xt98707m+TBysmrrsQMjoSYJm3iqT471aLKlTaOVPWeF2q3AIVO5CeAjDGho3m1xIb3hJ+uxqQLpC4XJXYh3d6FhNmD4/3n2zxyxTQBvCGXzKjy7khQj21hJamG8dXjMDnh5yEzhbkBoiQAIMsS1VRVeMNivE2bj19FKRBw+7eFIWQK5SFCmAcAUI3Uyu5g8PPKd9h2sbIgZnDOc2plLvvtGAImRbdEGrundu/hXDE0ifhS3bsrdZNaKiOUIrpOc/jionbn7SRcCIq7lF3ngW63HsPla1oKMj4jBhCj8KqDLoWR2K02Tq9AKD2GBS9fqFHdqQSRyaZJh7WoMp0ULhX/+feRR1KwiIoDuwFAQvjJnUhO3nI7EACC9fvr5BtV/ZWrCAAAd6x+lQDg/n/l6v+/58Pq4XsAHgQAAIL/Yw7YGeqf5yCzHAugTZwEHsmwS/WS0DQf3GrhnKIbhU0FgGrgu1CkajXRd7qog8ZnGc8lCTjrp2UxbkKJBYu2LJsyYdKq3UbsYSi3YM28UWOWGWwsK+1hiIspr3PeQSFZFpkxrW4tJuPQ+hzNNyZ8zPKVlvMpZUNJ1XA7M7pSRW24DrLZrVY1DlheodhThyo26vL0P+EW3sf/0fcB/u+m6f8RnzQlFLq/8kI77bYbAA==') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.app { }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #c98a5e, #b5544e);
  color: #fff; display: grid; place-items: center; font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.brand-titles { display: inline-flex; align-items: baseline; gap: .5em; }
.brand-text { font-size: 18px; letter-spacing: .5px; }
.brand-sub { font-family: 'Caveat', 'Segoe Script', 'Brush Script MT', 'Bradley Hand', cursive; font-size: 14.5px; letter-spacing: .3px; font-weight: 400; color: var(--ink-soft); white-space: nowrap; }
.mainnav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.mainnav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px;
  color: var(--ink-soft); transition: .2s; white-space: nowrap;
}
.mainnav a:hover { background: var(--accent-soft); color: var(--ink); }
.mainnav .nav-ai {
  background: linear-gradient(135deg, #c98a5e, #b5544e);
  color: #fff; font-weight: 700;
}
.mainnav .nav-ai:hover { filter: brightness(1.05); color: #fff; }
/* 导航：新增按钮 + 居尘自在下拉菜单 */
.nav-link {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px;
  color: var(--ink-soft); transition: .2s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-link:hover { background: var(--accent-soft); color: var(--ink); }
.nav-item { display: inline-flex; align-items: center; position: relative; }
.nav-caret {
  background: none; border: none; cursor: pointer; color: var(--ink-soft);
  font-size: 11px; line-height: 1; padding: 6px 4px 6px 0; margin-left: -4px;
}
.nav-caret:hover { color: var(--ink); }
.nav-has-menu { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 156px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 6px; display: none; z-index: 60;
  flex-direction: column; gap: 2px;
}
.nav-has-menu:hover .nav-dropdown,
.nav-has-menu.open .nav-dropdown { display: flex; }
.nav-dropdown a {
  padding: 9px 12px; border-radius: 10px; font-size: 14px;
  color: var(--ink-soft); background: none;
}
.nav-dropdown a:hover { background: var(--accent-soft); color: var(--ink); }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 999px; background: var(--card);
  box-shadow: var(--shadow-sm); font-size: 18px;
}
.cart-count {
  position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px;
  border-radius: 999px; background: #b5544e; color: #fff;
  font-size: 11px; display: grid; place-items: center; padding: 0 4px;
}

/* ---------- 通用按钮 ---------- */
.btn-primary, .btn-ghost, .btn-add, .btn-checkout, .btn-submit, .btn-clear {
  border-radius: 999px; font-weight: 700; transition: .2s; font-size: 15px;
  cursor: pointer; font-family: inherit; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #c98a5e, #b5544e);
  color: #fff; padding: 13px 26px; box-shadow: var(--shadow-sm);
  display: inline-block; border: none;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  border: 1.5px solid var(--ink-soft); color: var(--ink); padding: 12px 24px;
  display: inline-block; background: none; line-height: 1.4;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  max-width: 980px; margin: 0 auto; padding: 70px 20px 50px; text-align: center;
}
.hero-deco { font-size: 40px; opacity: .8; margin-top: 1.5cm; }
.hero-title-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 14px 0;
  transform: translateX(-0.5cm);
}
.hero-title-img {
  height: 256px; width: auto; object-fit: contain;
  flex-shrink: 0; display: block;
  transform: translateX(-5cm);
}
.hero-renjian-img {
  height: 144px; width: auto; object-fit: contain;
  flex-shrink: 0; display: block;
  transform: translateX(-1cm);
}
.hero-title {
  font-size: clamp(30px, 5vw, 48px); margin: 0 0 0 0.4cm; letter-spacing: 1px;
  background: linear-gradient(120deg, #7a4a2e, #b5544e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translate(-1cm, 0.5cm);
  position: relative;
}
.hero-title-life-wrap {
  position: relative;
  display: inline-block;
}
.hero-title-life {
  background: linear-gradient(120deg, #7a4a2e, #b5544e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-life-deco {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 4px;
  height: 80px;
  width: auto;
  line-height: 0;
  pointer-events: none;
}
.hero-life-deco img {
  height: 100%;
  width: auto;
  display: block;
}
.hero-sub { color: var(--ink-soft); font-size: 17px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 26px; color: #a98e72; font-size: 14px; letter-spacing: 3px; }

/* ---------- 理念条 ---------- */
.philo-strip {
  max-width: 1080px; margin: 0 auto; padding: 0 20px 30px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.philo-item {
  background: var(--card); border-radius: var(--radius); padding: 22px;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.philo-item b { display: block; font-size: 18px; margin-bottom: 6px; color: var(--accent); }
.philo-item span { color: var(--ink-soft); font-size: 14px; }

/* ---------- 板块 ---------- */
.sec-title { text-align: center; font-size: 28px; margin: 20px 0 26px; }
.board-section {
  max-width: 1180px; margin: 0 auto; padding: 30px 20px;
  scroll-margin-top: 72px; /* 锚点滚动时避开吸顶导航 */
}
.board-section .sec-title { text-align: center; display: table; margin: 0.5cm auto 30px; font-size: 28px; position: relative; }
.board-section .sec-title::after {
  content: ''; position: absolute; left: 50%; bottom: -10px;
  transform: translateX(-50%); width: 120%; height: 3px;
  background: #9c3b2e; border-radius: 2px;
}
.board-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: stretch;
}
.board-visual {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); align-self: start;
}
.board-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-right {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 32px; padding: 16px 0;
}
.board-intro {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 20px; margin-top: 0.5cm;
}
.board-intro-title {
  font-size: 22px; font-weight: 600; color: #3a3a3a;
  margin: 0 0 14px; letter-spacing: 2px;
  position: relative; padding-left: 0;
}
.board-intro-text {
  font-size: 15px; line-height: 2; color: #555;
  margin: 0; letter-spacing: 0.5px; text-align: center;
}
.board-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-top: 1.5cm;
}
.board-section > .board-wild-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin: 0 auto; max-width: 1140px;
}
.board-wild-row .board-card {
  flex: 0 0 336px; width: 336px; max-width: 336px;
  aspect-ratio: 1/1;
  flex-direction: column; text-align: center; align-items: center;
  justify-content: center;
  padding: 22px 17px; gap: 7px;
  transform: translateX(-0.5cm);
}
.board-wild-row .bc-scenes { font-size: 12px; text-align: center; }
.board-wild {
  width: 560px; max-width: 560px; aspect-ratio: 1/1;
  border-radius: 50%; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  flex-shrink: 0;
  transform: translateX(1cm);
}
.board-wild img { width: 100%; height: 100%; display: block; object-fit: cover; }
.board-section > .board-friends-row {
  display: flex; align-items: stretch; justify-content: center;
  gap: 20px; margin: 0 auto; margin-top: 1.2cm;
  max-width: 1140px;
}
.board-friend-col {
  flex: 1 1 0; min-width: 0; max-width: 560px;
  display: flex; flex-direction: column; align-items: stretch;
}
.board-friend-col .bf-title {
  font-size: 20px; font-weight: 800; color: var(--ink);
  text-align: center; padding: 0 0 10px; flex: 0 0 auto;
}
.board-friend {
  margin-top: auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  background: #fff;
}
.board-friend img {
  width: 100%; height: auto; display: block; object-fit: cover;
}
/* 图片「中」改为正六边形（平顶正六边形，宽高比 2/√3 ≈ 1.1547，六边相等）；边界框高度由 aspect-ratio 决定，margin-top:auto 仍贴列底 → 与「朋」及卡片下沿对齐关系不变，其它要素不动 */
.board-friend.bf-zhong {
  border: none; box-shadow: none; overflow: hidden;
  aspect-ratio: 1.1547;
  clip-path: url(#zhong-hex);
}
.board-friend.bf-zhong img {
  width: 100%; height: 100%; object-fit: cover;
}
/* 图片「朋」上移，使其垂直中心与「中」正六边形中心对齐；仅移动该图，标题/卡片等其它要素不变 */
.board-friend.bf-peng {
  transform: translateY(-46%);
}

.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.board-section .board-grid { grid-template-columns: 1fr; max-width: 86%; margin: 0 auto; }
.board-section .board-card {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 24px;
}
.board-section .bc-icon { font-size: 34px; flex-shrink: 0; }
.board-section .bc-name { margin-top: 0; font-size: 18px; flex-shrink: 0; }
.board-section .bc-tag { margin: 0; flex-shrink: 0; }
.board-section .bc-scenes { flex: 1; min-width: 160px; }
.board-section .bc-go { margin-top: 0; flex-shrink: 0; }
.board-friend-col .board-card {
  width: 100%; max-width: 360px; margin: 16px auto 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 18px;
}
.board-friend-col .bc-icon { font-size: 34px; }
.board-friend-col .bc-name { font-size: 19px; margin-top: 6px; }
.board-friend-col .bc-tag { margin: 4px 0 8px; }
.board-friend-col .bc-scenes { font-size: 12px; line-height: 1.7; }
.board-friend-col .bc-go { margin-top: 12px; }
/* 好友板块卡片：横宽竖短的长方形（图标 + 文字主体 + 逛逛），下沿两卡对齐 */
.board-friend-col .board-card--wide {
  width: 100%; max-width: 100%; margin: 16px auto 0;
  display: flex; flex-direction: row; align-items: center;
  text-align: left; gap: 16px; padding: 16px 20px;
}
.board-friend-col .board-card--wide .bc-icon { font-size: 34px; flex-shrink: 0; line-height: 1; }
.board-friend-col .board-card--wide .bc-body { flex: 1 1 auto; min-width: 0; }
.board-friend-col .board-card--wide .bc-name { font-size: 19px; margin: 0 0 2px; }
.board-friend-col .board-card--wide .bc-tag { margin: 0 0 3px; font-size: 13px; }
.board-friend-col .board-card--wide .bc-scenes { font-size: 12px; line-height: 1.5; }
.board-friend-col .board-card--wide .bc-go { margin-top: 0; flex-shrink: 0; }
.board-lower-section { max-width: 1180px; margin: 30cm auto 0; padding: 0 20px; }
.board-lower-section .board-grid { grid-template-columns: repeat(3, 1fr); }
.board-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: .25s; position: relative; overflow: hidden;
}
.board-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent);
}
.board-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(90,64,40,.14); }
.bc-icon { font-size: 40px; }
.bc-name { font-size: 20px; font-weight: 800; margin-top: 8px; }
.bc-tag { color: var(--accent); font-weight: 600; margin: 4px 0 12px; }
.bc-scenes { color: var(--ink-soft); font-size: 13px; line-height: 1.85; }
.bc-go { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 700; }

/* ---------- 居尘自在 · 左1 + 右4-12压缩（依据格.jpg） ---------- */
.jczai-intro {
  max-width: 760px; margin: 0 auto 22px; text-align: center;
  color: var(--ink-soft); font-size: 15px; line-height: 1.9; letter-spacing: .5px;
}
.jczai-grid {
  display: grid;
  grid-template-columns: 241px 3.1fr;
  gap: 9px;
  max-width: 1180px;
  margin: 1cm auto 0;
  align-items: stretch;
}
.jczai-cell { min-height: 0; }
.jczai-fang,
.jczai-img,
.jczai-text {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.jczai-fang,
.jczai-img { line-height: 0; }
.jczai-fang img,
.jczai-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jczai-pos1 { grid-column: 1; }
.jczai-pos1 img { object-position: 50% 0%; }

/* 右侧 4-12 子网格：文字(全高) | 4图 | 4卡；整体等比压缩至原高度的 1/2 */
.jczai-right {
  grid-column: 2;
  display: grid;
  grid-template-columns: 0.675fr 1fr 2.4fr;
  grid-template-rows: repeat(4, minmax(100px, 1fr));
  gap: 9px;
  min-height: 0;
}
.jczai-pos4 {
  grid-column: 1; grid-row: 1 / span 4;
  background: #f7f4f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
}
.jczai-vertical-text {
  writing-mode: vertical-rl;
  font-size: 14px;
  font-weight: 400;
  color: #4a4036;
  letter-spacing: 0.12em;
  line-height: 1.9;
  text-align: justify;
  margin: 0;
}
.jczai-text-title {
  font-size: 16px;
  font-weight: 700;
  color: #8B3A3A;
  letter-spacing: 0.06em;
}
.jczai-pos5 { grid-column: 2; grid-row: 1; }
.jczai-pos6 { grid-column: 2; grid-row: 2; }
.jczai-pos7 { grid-column: 2; grid-row: 3; }
.jczai-pos8 { grid-column: 2; grid-row: 4; }

/* ---------- 5-8 图像形状变换：不裁剪、不变形，完整内容保留 ---------- */
/* 已移除图片外包裹容器，img 本身即网格项，仅保留图片与形状样式 */
.jczai-pos5, .jczai-pos6, .jczai-pos7, .jczai-pos8 {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  justify-self: center;
  align-self: center;
  border: none;
  box-shadow: none;
  background: transparent;
  filter: drop-shadow(0 2px 4px rgba(120, 90, 60, 0.20));
  display: block;
}
/* 5=正方形 6=圆形 7=正六边形 8=长方形 */
.jczai-pos5 { aspect-ratio: 1 / 1; border-radius: 6px; }
.jczai-pos6 { aspect-ratio: 1 / 1; border-radius: 50%; }
.jczai-pos7 { aspect-ratio: 1.155 / 1; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.jczai-pos8 { aspect-ratio: 2.2 / 1; border-radius: 8px; }

.jczai-pos9  { grid-column: 3; grid-row: 1; }
.jczai-pos10 { grid-column: 3; grid-row: 2; }
.jczai-pos11 { grid-column: 3; grid-row: 3; }
.jczai-pos12 { grid-column: 3; grid-row: 4; }
.jczai-card { display: flex; align-items: center; justify-content: center; }
.jczai-card .board-card {
  position: relative;
  width: calc(100% - 2cm);
  margin: auto;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 14px 14px 36px;
}
.jczai-card .bc-icon { font-size: 22px; }
.jczai-card .bc-name { font-size: 18px; margin-top: 4px; }
.jczai-card .bc-tag { margin: 3px 0 5px; font-size: 14px; }
.jczai-card .bc-scenes { font-size: 14px; line-height: 1.6; min-width: 0; }
.jczai-card .bc-go { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: 15px; }

/* ---------- AI 入口条 ---------- */
.ai-entry { max-width: 1080px; margin: 1cm auto 30px; padding: 0 20px; }
.ai-entry-in {
  background: linear-gradient(120deg, #fbf1e6, #f3e3d3);
  border-radius: var(--radius); padding: 28px 30px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  border: 1px solid var(--accent-soft);
}
.ai-entry-emoji { font-size: 46px; }
.ai-entry-in h3 { font-size: 20px; }
.ai-entry-in p { color: var(--ink-soft); font-size: 14.5px; margin: 4px 0; flex: 1; min-width: 220px; }
.ai-entry-in .btn-primary { white-space: nowrap; }

/* ---------- 生活馆附加导航（预留入口） ---------- */
.subnav-strip {
  max-width: 1180px; margin: 0 auto; padding: 0 20px 36px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  justify-items: center;
}
.subnav-btn {
  background: linear-gradient(135deg, #cda177, #b8895c);
  border: 1px solid rgba(120, 80, 40, .15); border-radius: 999px;
  padding: 13px 18px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  box-shadow: var(--shadow-sm); transition: .25s; text-align: center;
  width: 100%; max-width: 174px;
}
.subnav-btn:hover {
  transform: translateY(-4px); filter: brightness(.98);
  box-shadow: 0 12px 28px rgba(90, 70, 40, .18);
}
.sn-emoji { font-size: 30px; line-height: 1; }
.sn-name { font-size: 15.5px; font-weight: 800; color: #5a3a22; transition: .2s; }
/* 三个按钮分色（浅绿 / 浅蓝 / 浅黄），文字用同色系深色调 */
.sn-health { background: linear-gradient(135deg, #cdecc4, #b6e0a8); border-color: rgba(60,120,50,.18); }
.sn-health .sn-name { color: #2f5a2a; }
.sn-health:hover { box-shadow: 0 12px 28px rgba(60,120,50,.22); }
.sn-lab { background: linear-gradient(135deg, #c4ddf0, #aecdee); border-color: rgba(50,100,140,.18); }
.sn-lab .sn-name { color: #264a63; }
.sn-lab:hover { box-shadow: 0 12px 28px rgba(50,100,140,.22); }
.sn-child { background: linear-gradient(135deg, #f6e9ad, #efdd92); border-color: rgba(150,120,40,.18); }
.sn-child .sn-name { color: #5a4a18; }
.sn-child:hover { box-shadow: 0 12px 28px rgba(150,120,40,.22); }

/* ---------- 聚信招贤（居尘自在下方板块，数据驱动、可灵活扩展） ---------- */
.jxzx-section { }
.jxzx-intro {
  max-width: 760px; margin: 0 auto 30px; text-align: center;
  color: var(--ink-soft); font-size: 15px; line-height: 1.9; letter-spacing: .5px;
}
.jxzx-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px; max-width: 1180px; margin: 0 auto;
}
/* 桌面端：6 列网格 —— 第一行 3 个各占 2 列（三列等宽），第二行 2 个各占 3 列（两列等宽），间距与对齐统一 */
@media (min-width: 640px) {
  .jxzx-grid { grid-template-columns: repeat(6, 1fr); }
  .jxzx-grid > :nth-child(1),
  .jxzx-grid > :nth-child(2),
  .jxzx-grid > :nth-child(3) { grid-column: span 2; }
  .jxzx-grid > :nth-child(4),
  .jxzx-grid > :nth-child(5) { grid-column: span 3; }
}
.jxzx-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 20px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: .25s; position: relative; overflow: hidden;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.jxzx-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent);
}
.jxzx-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(90,64,40,.14); }
.jxzx-icon { font-size: 40px; line-height: 1; }
.jxzx-name { font-size: 18px; font-weight: 800; margin-top: 6px; color: var(--ink); }
.jxzx-desc { color: var(--ink-soft); font-size: 13.5px; line-height: 1.8; margin: 0; }

/* ---------- 身边智囊（第三板块：居聚信招贤下方，含健康/研究室/育儿三个小板块） ---------- */
.shenx-intro {
  max-width: 760px; margin: 0 auto 26px; text-align: center;
  color: var(--ink-soft); font-size: 15px; line-height: 1.9; letter-spacing: .5px;
}
/* 三个小板块原是独立 subnav-strip，现作为本板块内容；收紧与板块标题/下一块的间距 */
.shenx-section .subnav-strip {
  margin-top: 0; padding: 0 20px 6px;
  max-width: 900px;
}

/* ---------- 预留页面（内容待填充） ---------- */
.page-hero {
  max-width: 880px; margin: 0 auto; padding: 56px 20px 22px; text-align: center;
}
.page-hero .back { display: inline-block; margin-bottom: 18px; color: var(--ink-soft); font-size: 14px; }
.page-hero-icon { font-size: 54px; }
.page-hero h1 { font-size: clamp(26px, 4vw, 36px); margin: 12px 0 8px; }
.page-tag { color: var(--ink-soft); font-size: 16px; }
.page-body { max-width: 880px; margin: 0 auto; padding: 8px 20px 60px; }
.placeholder-hint {
  border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 70px 20px;
  text-align: center; color: #b6a892; font-size: 15px; background: var(--bg2);
}

/* ---------- 子页 Hero（板块） ---------- */
.sub-hero {
  max-width: 900px; margin: 0 auto; padding: 50px 20px 30px; text-align: center;
}
.sub-hero-icon { font-size: 50px; }
.sub-hero h1 { font-size: 34px; margin: 10px 0; }
.sub-tag { color: var(--accent); font-weight: 700; font-size: 17px; }
.sub-intro { color: var(--ink-soft); margin-top: 14px; max-width: 680px; margin-left: auto; margin-right: auto; }
.back {
  display: inline-block; color: var(--ink-soft); font-size: 14px; margin-bottom: 16px;
  background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; text-align: left; line-height: 1.4;
}
.back:hover { color: var(--accent); }

/* ---------- 情景网格 ---------- */
.scene-grid {
  max-width: 1180px; margin: 0 auto; padding: 20px 20px 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.scene-card {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .25s;
}
.scene-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sc-emoji { font-size: 40px; }
.sc-name { font-size: 20px; font-weight: 800; margin: 6px 0 2px; }
.sc-theme { color: var(--accent); font-size: 13px; font-weight: 600; }
.sc-hero { color: var(--ink-soft); font-size: 14px; margin: 12px 0 14px; min-height: 66px; }
.sc-go { color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---------- 情景详情 Hero ---------- */
.scene-hero {
  max-width: 820px; margin: 0 auto; padding: 46px 20px 24px; text-align: center;
}
.scene-hero-emoji { font-size: 54px; }
.scene-hero h1 { font-size: 32px; margin: 8px 0; }
.scene-theme { color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.scene-hero-text {
  font-size: 18px; color: var(--ink); margin: 18px auto; max-width: 640px;
  line-height: 1.9;
}
.scene-copy { color: var(--ink-soft); max-width: 600px; margin: 0 auto; font-size: 15px; }

/* ---------- 选品区 ---------- */
.pick-section { max-width: 1180px; margin: 0 auto; padding: 30px 20px 20px; }
.pick-head { text-align: center; margin-bottom: 26px; }
.pick-head h2 { font-size: 24px; }
.pick-sub { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }
.p-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.p-card {
  background: var(--card); border-radius: var(--radius); overflow: visible;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: .25s;
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-img {
  aspect-ratio: 4/3; display: grid; place-items: center; position: relative;
  border-top-left-radius: var(--radius); border-top-right-radius: var(--radius);
}
.p-img.has-img { aspect-ratio: 4/3; cursor: zoom-in; }
.ph-emoji { font-size: 46px; }
.ph-cat {
  position: absolute; bottom: 10px; right: 12px; font-size: 12px;
  background: rgba(255,255,255,.7); padding: 2px 10px; border-radius: 999px; color: #8a6f55;
}
.p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: 12px; color: #a98e72; letter-spacing: 1px; }
.p-name { font-size: 17px; font-weight: 800; margin: 4px 0 6px; }
.p-tagline { color: var(--accent); font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.p-desc { color: var(--ink-soft); font-size: 13.5px; flex: 1; }
.p-why {
  background: var(--accent-soft); border-radius: 12px; padding: 10px 12px;
  font-size: 12.5px; color: #7a5638; margin: 12px 0; line-height: 1.6;
}
.why-tag {
  display: inline-block; font-weight: 800; color: #b5544e;
  margin-right: 6px;
}
.p-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.p-actions { display: flex; gap: 8px; }
.dd-wrap { position: relative; flex: 1; }
.dd-btn {
  width: 100%; text-align: center; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-soft);
  padding: 8px 6px; border-radius: 10px; font-size: 12.5px; transition: .2s;
}
.dd-btn:hover { border-color: var(--accent); color: var(--accent); }
.dd-btn .caret { font-size: 10px; opacity: .7; margin-left: 2px; }
.dd-panel {
  display: none; position: absolute; left: 0; right: 0; bottom: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 13px; z-index: 30;
  font-size: 12.5px; line-height: 1.65; color: var(--ink-soft); text-align: left;
}
.dd-wrap:hover .dd-panel, .dd-wrap.open .dd-panel { display: block; }
.dd-title { font-weight: 800; color: #b5544e; margin-bottom: 6px; }
.dd-text { margin: 0; }
.dd-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed #eee; }
.dd-row:last-child { border-bottom: none; }
.dd-row span { color: #a98e72; flex-shrink: 0; }
.dd-row b { color: var(--ink); font-weight: 600; text-align: right; }
.btn-add {
  background: #c9a06a; color: #5c3a1e; border: 1px solid #b8895a; padding: 9px 16px; font-size: 13.5px; width: 100%;
}
.btn-add:hover { background: #bb8f57; }
.btn-add.in-cart { background: #e7d3bf; color: #8a5a3a; border: 1.5px solid #d9b48f; }
.btn-add.in-cart:hover { background: #dcc3a6; color: #7a4a2c; }

/* 图片大图预览灯箱 */
.img-lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(30, 22, 16, .86); padding: 30px;
  align-items: center; justify-content: center;
}
.img-lightbox.show { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lb-close { position: absolute; top: 16px; right: 24px; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }

/* ---------- 节气条 ---------- */
.solar-bar {
  max-width: 1180px; margin: 30px auto 0; padding: 0 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.solar-hint { color: var(--ink-soft); font-size: 14px; }
.solar-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.solar-chip {
  padding: 7px 14px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-soft); transition: .2s;
}
.solar-chip.on, .solar-chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.solar-list { max-width: 1180px; margin: 18px auto 40px; padding: 0 20px; }
.solar-title { font-size: 20px; margin: 10px 0 18px; color: var(--accent); }
.solar-empty { color: var(--ink-soft); }

/* ---------- AI 问卷 ---------- */
.quiz-wrap { max-width: 760px; margin: 0 auto; padding: 60px 20px; text-align: center; }
.quiz-progress { color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.quiz-q { font-size: 26px; margin: 14px 0 30px; }
.quiz-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quiz-opt {
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px;
  padding: 26px 18px; font-size: 17px; font-weight: 600; transition: .2s; color: var(--ink);
}
.quiz-opt:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-3px); }
.quiz-back { margin-top: 26px; color: var(--ink-soft); font-size: 14px; }
.quiz-result { max-width: 1180px; margin: 0 auto; padding: 50px 20px; text-align: center; }
.qr-badge {
  display: inline-block; background: linear-gradient(135deg, #c98a5e, #b5544e);
  color: #fff; padding: 8px 20px; border-radius: 999px; font-weight: 700; margin-bottom: 14px;
}
.qr-summary { color: var(--ink-soft); max-width: 620px; margin: 0 auto 30px; }
.qr-foot { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---------- 购物袋：小计与价格分项 ---------- */
.ci-sub { color: var(--ink-soft); font-size: 12.5px; margin-top: 2px; }
.ci-sub b { color: var(--ink); }
.df-breakdown { margin-bottom: 12px; font-size: 13.5px; }
.df-line { display: flex; justify-content: space-between; color: var(--ink-soft); padding: 3px 0; }
.df-line span:last-child { color: var(--ink); }
.df-discount span:last-child { color: #2e9e6b; font-weight: 700; }
.df-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 15px;
}
.df-total strong { color: var(--accent); font-size: 20px; }

/* 空状态 CTA */
.drawer-empty .de-emoji { font-size: 46px; margin-bottom: 8px; }
.drawer-empty .de-go {
  display: inline-block; margin-top: 14px; color: #b5544e;
  font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor;
}

/* ---------- 结算：清单 / 支付方式 / 汇总 ---------- */
.ck-list { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 16px; max-height: 230px; overflow-y: auto; }
.ck-item { display: flex; gap: 10px; align-items: center; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.ck-info { flex: 1; min-width: 0; }
.ck-name { font-weight: 700; font-size: 14px; }
.ck-meta { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.ck-meta b { color: var(--ink); }

.ck-pay { border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); padding: 14px 0; margin: 4px 0; }
.ck-pay-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.pay-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; font-size: 15px; transition: .15s; }
.pay-opt:hover { border-color: var(--accent); }
.pay-opt input { accent-color: #b5544e; width: 16px; height: 16px; }
.pay-opt:has(input:checked) { border-color: #b5544e; background: var(--accent-soft); }

.ck-summary { font-size: 13.5px; margin: 6px 0 12px; }
.ck-demo-fail { display: block; text-align: center; margin-top: 10px; color: var(--ink-soft); font-size: 12.5px; cursor: pointer; text-decoration: underline; opacity: .7; }
.ck-demo-fail:hover { opacity: 1; }
.ck-back { display: block; width: 100%; margin-top: 12px; text-align: center; }

/* 支付中遮罩 */
.pay-processing {
  position: fixed; inset: 0; z-index: 200; display: flex;
  align-items: center; justify-content: center;
  background: rgba(40,30,20,.55); backdrop-filter: blur(2px);
}
.pay-processing[hidden] { display: none !important; }
.pp-inner { background: var(--bg); border-radius: 18px; padding: 30px 40px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.pp-spinner {
  width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%;
  border: 4px solid var(--line); border-top-color: #b5544e; animation: pp-spin .9s linear infinite;
}
@keyframes pp-spin { to { transform: rotate(360deg); } }
.pp-text { color: var(--ink); font-size: 15px; font-weight: 600; }

/* 支付失败态 */
.order-done.pay-fail .od-icon { color: #d98a2b; }
.order-done.pay-fail h3 { color: #b5544e; }

/* 订单详情：分项与状态 */
.oc-summary {
  display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0;
  padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  font-size: 13.5px; color: var(--ink-soft);
}
.oc-summary .oc-discount { color: #2e9e6b; font-weight: 700; }
.oc-summary .oc-payable { margin-left: auto; font-size: 15px; color: var(--ink); }
.oc-summary .oc-payable strong { color: var(--accent); }
.oc-pay-method { font-size: 13.5px; color: var(--ink-soft); }
.oc-status.paid { color: #2e9e6b; }
.oc-status.fail { color: #c0712b; }
.order-card.is-paid { border-color: #cfe9da; }
.order-card.is-pending { border-color: #f0dcc0; }

/* 成功页支付信息 */
.od-pay { font-size: 18px; margin: 4px 0 10px; }
.od-pay strong { color: var(--accent); }
.od-pay-sub { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 400; margin-top: 4px; }

/* ---------- 订单 ---------- */
.orders-empty, .drawer-empty {
  text-align: center; color: var(--ink-soft); padding: 60px 20px; line-height: 2;
}
.orders-wrap { max-width: 760px; margin: 0 auto; padding: 50px 20px; }
.order-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.oc-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.oc-no { font-weight: 700; color: var(--ink); }
.oc-items { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-items span { background: var(--bg2); padding: 4px 12px; border-radius: 999px; font-size: 13.5px; }
.oc-foot { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14px; }
.oc-status { color: var(--accent); font-weight: 600; }

/* ---------- 购物袋抽屉 ---------- */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(40,30,20,.4); opacity: 0;
  pointer-events: none; transition: .3s; z-index: 90;
}
.drawer-mask.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 90vw;
  background: var(--bg); z-index: 100; transform: translateX(100%); transition: .3s;
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.12);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 18px; }
.drawer-close { font-size: 26px; color: var(--ink-soft); line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; }
.ci { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); position: relative; }
.p-img.mini { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; aspect-ratio: auto; }
.p-img.mini .ph-emoji { font-size: 28px; }
.ci-info { flex: 1; }
.ci-name { font-weight: 700; font-size: 14.5px; }
.ci-price { color: var(--ink-soft); font-size: 13px; }
.ci-qty { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ci-qty button {
  width: 26px; height: 26px; border-radius: 8px; background: var(--card);
  border: 1px solid var(--line); font-size: 16px; color: var(--ink);
}
.ci-qty button:hover { background: var(--accent-soft); }
.ci-del { position: absolute; top: 10px; right: 0; color: #c08; font-size: 18px; color: #bbaea0; }
.ci-del:hover { color: #b5544e; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--card); }
.df-row { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 12px; }
.df-row strong { color: var(--accent); font-size: 20px; }
.btn-checkout { width: 100%; background: linear-gradient(135deg, #c98a5e, #b5544e); color: #fff; padding: 13px; font-weight: 700; }
.btn-checkout:hover { filter: brightness(1.05); }
.btn-clear { width: 100%; color: var(--ink-soft); padding: 8px; font-size: 13px; margin-top: 6px; }
.btn-clear:hover { color: #b5544e; }

/* ---------- 下单弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(40,30,20,.5); z-index: 120;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: var(--bg); border-radius: 22px; max-width: 460px; width: 100%;
  padding: 30px; position: relative; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.modal-close { position: absolute; top: 14px; right: 18px; font-size: 26px; color: var(--ink-soft); }
.modal-title { font-size: 22px; margin-bottom: 18px; }
.order-form { display: flex; flex-direction: column; gap: 14px; }
.order-form label { display: flex; flex-direction: column; font-size: 14px; color: var(--ink-soft); gap: 6px; }
.order-form input, .order-form textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px;
  font-size: 15px; font-family: inherit; background: var(--card); color: var(--ink);
}
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--accent); }
.order-form textarea { resize: vertical; min-height: 64px; }
.order-sum { background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 14px; text-align: right; }
.order-sum strong { color: var(--accent); font-size: 18px; }
.btn-submit { width: 100%; background: linear-gradient(135deg, #c98a5e, #b5544e); color: #fff; padding: 14px; font-weight: 700; font-size: 16px; margin-top: 4px; }
.btn-submit:hover { filter: brightness(1.05); }
.order-done { text-align: center; }
.od-icon { font-size: 50px; }
.order-done h3 { font-size: 20px; margin: 10px 0; }
.od-no { color: var(--ink-soft); font-size: 13px; margin-bottom: 14px; }
.od-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.od-item { background: var(--card); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 13.5px; }
.od-tip { color: var(--ink-soft); font-size: 14px; line-height: 1.9; margin-bottom: 18px; }

/* ---------- 聚信招贤：卡片可点击 + 弹窗占位 ---------- */
.jxzx-card { cursor: pointer; }
.jxzx-modal-body { margin-top: 4px; }
.jxzx-body-text { color: var(--ink); font-size: 16px; line-height: 1.9; margin: 0; text-align: center; }
.jxzx-modal-body2 { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.jxzx-body2-text { color: var(--ink); font-size: 15px; line-height: 1.8; margin: 0; text-align: left; }

/* 图片"上"的架构：1 在顶部，2 在左侧窄栏，3 在右侧宽栏 */
.jxzx-modal-row { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.jxzx-modal-row .jxzx-modal-body2 { margin-top: 0; padding-top: 0; border-top: none; }
.jxzx-modal-row .jxzx-modal-body3 { margin-top: 0; }

@media (min-width: 640px) {
  .jxzx-modal .modal { max-width: 820px; }
  .jxzx-modal-row { flex-direction: row; align-items: stretch; }
  .jxzx-modal-row .jxzx-modal-body2 { flex: 0 0 36%; }
  .jxzx-modal-row .jxzx-modal-body3 { flex: 1 1 0; }
}

/* ---------- 聚信招贤：第一个板块弹窗课程卡 ---------- */
.jxzx-modal-body3 { margin-top: 18px; }
.jxzx-course-card {
  background: linear-gradient(180deg, #8e4ec6 0%, #6b2c91 100%);
  border-radius: 18px;
  padding: 22px 18px 18px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(107,44,145,.25);
}
.jcc-head { text-align: center; border-bottom: 1px dashed rgba(255,255,255,.35); padding-bottom: 14px; margin-bottom: 14px; }
.jcc-tag { font-size: 13px; color: #f5e6ff; margin-bottom: 6px; }
.jcc-price-row { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.jcc-price { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.jcc-unit { font-size: 16px; opacity: .9; }
.jcc-origin { font-size: 13px; text-decoration: line-through; opacity: .75; margin-left: 8px; }
.jcc-worth { display: flex; justify-content: center; align-items: baseline; gap: 4px; font-size: 13px; margin-bottom: 14px; opacity: .95; }
.jcc-worth-num { font-size: 17px; font-weight: 700; color: #ffe082; }
.jcc-list { list-style: none; padding: 0; margin: 0 0 16px; }
.jcc-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 10px;
  opacity: .96;
}
.jcc-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffe082;
  font-weight: 700;
}
.jcc-list li b { color: #fff; font-weight: 600; }
.jcc-foot { border-top: 1px dashed rgba(255,255,255,.35); padding-top: 12px; font-size: 12px; text-align: center; line-height: 1.7; opacity: .9; }
.jcc-foot p { margin: 0 0 4px; }
.jcc-hint { color: #ffe082; font-weight: 600; }

/* ---------- 聚信招贤：第二个板块弹窗课程卡（城市合伙人） ---------- */
.jxzx-course-card.jcc-pink {
  background: linear-gradient(180deg, #d63384 0%, #ad1457 100%);
  box-shadow: 0 10px 30px rgba(173,20,87,.25);
}
.jcc-pink .jcc-tag { color: #ffd1e6; }
.jcc-pink .jcc-list li::before { color: #ffd1e6; }
.jcc-pink .jcc-hint { color: #ffd1e6; }

/* ---------- 聚信招贤：第三个板块弹窗课程卡（区域合伙人） ---------- */
.jxzx-course-card.jcc-green {
  background: linear-gradient(180deg, #2e9d6f 0%, #1b5e45 100%);
  box-shadow: 0 10px 30px rgba(27,94,69,.25);
}
.jcc-green .jcc-tag { color: #d1f0e3; }
.jcc-green .jcc-list li::before { color: #d1f0e3; }
.jcc-green .jcc-hint { color: #d1f0e3; }

/* ---------- 聚信招贤：第四个板块弹窗课程卡（城市战略合伙人） ---------- */
.jxzx-course-card.jcc-deep-purple {
  background: linear-gradient(180deg, #4a3f8c 0%, #2d2463 100%);
  box-shadow: 0 10px 30px rgba(45,36,99,.25);
}
.jcc-deep-purple .jcc-tag { color: #e6e0ff; }
.jcc-deep-purple .jcc-list li::before { color: #e6e0ff; }
.jcc-deep-purple .jcc-hint { color: #e6e0ff; }

/* ---------- 聚信招贤：第五个板块弹窗课程卡（顶层城市合伙人） ---------- */
.jxzx-course-card.jcc-dark-purple {
  background: linear-gradient(180deg, #4a1c6b 0%, #210d36 100%);
  box-shadow: 0 10px 30px rgba(33,13,54,.35);
}
.jcc-dark-purple .jcc-tag { color: #f0d9ff; }
.jcc-dark-purple .jcc-list li::before { color: #f0d9ff; }
.jcc-dark-purple .jcc-hint { color: #f0d9ff; }
.jcc-stats-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.jcc-stat {
  flex: 1 1 0;
  text-align: center;
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 12px 6px;
  color: #fff;
}
.jcc-stat b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
  color: #ffe082;
}
.jcc-stat span {
  display: block;
  font-size: 11px;
  opacity: .9;
  line-height: 1.3;
}

/* ---------- 页脚 ---------- */
.site-foot { text-align: center; padding: 44px 20px 50px; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 40px; }
.foot-philo { font-size: 17px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }
.foot-sub { font-size: 13px; margin-top: 8px; }
.foot-links { margin-top: 12px; font-size: 13.5px; }
.foot-links a { color: var(--ink-soft); border-bottom: 1px dashed var(--ink-soft); }
.foot-links a:hover { color: var(--accent); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .3s; z-index: 200;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .board-grid, .scene-grid, .p-grid { grid-template-columns: repeat(2, 1fr); }
  .board-lower-section .board-grid { grid-template-columns: repeat(2, 1fr); }
  .philo-strip { grid-template-columns: 1fr; }
  .mainnav { display: none; }
  .board-layout { grid-template-columns: 1fr; }
  .board-visual { height: 260px; }
  .board-intro { padding: 18px 8px; text-align: center; align-items: center; }
  .board-section .board-grid { max-width: 100%; }
  .board-section .board-card { flex-direction: column; align-items: center; gap: 4px; }
  .board-section .bc-scenes { flex: none; }
  .board-section > .board-friends-row { gap: 14px; margin-top: 24px; padding: 0 16px; }
  .jczai-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .jczai-pos1 { grid-column: 1; height: 120px; }
  .jczai-right {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 8px;
  }
  .jczai-pos4 { grid-column: 1 / -1; min-height: 44px; padding: 10px; }
  .jczai-vertical-text { writing-mode: horizontal-tb; font-size: 13px; letter-spacing: 0.12em; }
  .jczai-pos5,
  .jczai-pos6,
  .jczai-pos7,
  .jczai-pos8 { height: 90px; }
}
@media (max-width: 600px) {
  .board-grid, .scene-grid, .p-grid, .quiz-opts { grid-template-columns: 1fr; }
  .board-lower-section .board-grid { grid-template-columns: 1fr; }
  .subnav-strip { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .hero-title-img { height: 176px; transform: none; }
  .hero-title-wrap { gap: 8px; }
  .hero-renjian-img { height: 96px; }
  .hero-life-deco { height: 56px; }
  .brand-text { font-size: 16px; }
  .brand-sub { font-size: 14.5px; letter-spacing: .3px; }
  .brand-titles { gap: .35em; }
  .ai-entry-in { flex-direction: column; text-align: center; }
  .board-visual { height: 200px; }
  .board-section > .board-friends-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .board-friend-col { max-width: 100%; }
  .jczai-grid { grid-template-columns: 1fr; gap: 7px; }
  .jczai-pos1 { grid-column: 1; height: 110px; }
  .jczai-right { grid-template-columns: 1fr; grid-template-rows: none; gap: 7px; }
  .jczai-pos5,
  .jczai-pos6,
  .jczai-pos7,
  .jczai-pos8 { grid-column: 1; height: 90px; }
}

/* =========================================================
 * 人间烟火2 灰蓝印章区（src- 前缀，避免与本站 .hero 冲突）
 * 原样复刻：灰蓝底图 + 印章 + 全部文字与样式
 * ========================================================= */
.src-hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.src-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 25% 12%, rgba(255,255,255,0.35) 0%, transparent 45%),
    linear-gradient(180deg, #c8d4df 0%, #bcc9d6 50%, #aebdcd 100%);
}
.src-hero-bottom-img {
  width: 100%;
  margin: -7cm 0 0 0;
  line-height: 0;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.src-hero-bottom-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: bottom;
}
.src-hero-bottom-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: linear-gradient(180deg,
    rgba(174,189,205,1) 0%,
    rgba(174,189,205,0.92) 28%,
    rgba(174,189,205,0.6) 58%,
    rgba(174,189,205,0.22) 82%,
    transparent 100%);
  pointer-events: none;
}
.src-hero-content {
  position: relative; z-index: 3; text-align: center;
  padding: 0 24px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  animation: srcFadeUp 1s ease-out;
}
@keyframes srcFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.src-hero-tag {
  font-size: 22px; letter-spacing: 16px; color: #ffffff;
  margin-top: 48px; margin-bottom: 40px; text-shadow: none;
}
.src-hero-seal {
  width: 108px; height: 108px; margin-bottom: 24px;
  opacity: 0.95; filter: contrast(1.1);
}
.src-hero-seal img { width: 100%; height: 100%; object-fit: contain; }
.src-hero-title {
  font-family: 'MolkTitle', serif;
  font-size: 80px; letter-spacing: 6px; color: #ffffff;
  margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 0 16px rgba(255,255,255,0.15);
  font-weight: 400;
}
.src-hero-slogan {
  font-size: 13px; letter-spacing: 4px; color: #9c3b2e;
  margin-bottom: 20px; text-shadow: none;
}
.src-hero-divider { width: 48px; height: 1px; background: rgba(214,172,72,0.7); margin-bottom: 28px; box-shadow: none; }
.src-hero-note {
  font-size: 14px; line-height: 2.1; color: #ffffff;
  text-shadow: none; margin-bottom: 32px;
}
.src-hero-note p { text-align: center; white-space: normal; }
@media (max-width: 768px) {
  .src-hero-tag{ font-size:14px; letter-spacing:8px; }
  .src-hero-title{ font-size: 52px; letter-spacing: 4px; }
  .src-hero-slogan{ font-size: 11px; }
  .src-hero-note{ font-size: 12px; line-height: 2.0; }
}

/* ---------- 人间烟火视频 · 播放层 ---------- */
.hero-video-layer {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.hero-video-layer[hidden] { display: none !important; }
.hero-video-stage {
  position: relative;
  max-width: 100%; max-height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.hero-video-stage video {
  max-width: 100%; max-height: 100%;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: #000; outline: none; display: block;
}
.hero-video-layer:fullscreen { padding: 0; background: #000; }
.hero-video-layer:fullscreen .hero-video-stage { max-width: 100%; max-height: 100%; }
.hero-video-layer:fullscreen video { max-width: 100%; max-height: 100%; border-radius: 0; }
.hero-video-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.16); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; z-index: 3;
  transition: .2s;
}
.hero-video-close:hover { background: rgba(255,255,255,.32); transform: scale(1.08); }
.hero-video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  border: none; cursor: pointer; z-index: 2;
  background: rgba(255,255,255,.92); color: #b5512f;
  font-size: 34px; line-height: 84px; text-align: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, background .15s;
}
.hero-video-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.hero-video-play:active { transform: translate(-50%, -50%) scale(.96); }
.hero-video-error {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; text-align: center; color: #fff;
  font-size: 15px; line-height: 1.6;
}
.hero-video-error[hidden] { display: none; }
.hero-video-retry {
  margin-top: 12px; padding: 9px 22px; border-radius: 24px;
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12);
  color: #fff; font-size: 14px; cursor: pointer; font-family: inherit;
}
.hero-video-retry:hover { background: rgba(255,255,255,.24); }
