/* JEWEL MONSTER · 顶栏 / 页脚统一配色（v1）
   目的：破除单色系——顶栏与页脚用深翡翠底 + 浅色字，与浅青瓷正文明显分层；
   引入香槟金作为 CTA / 强调点缀，形成多色层次。
   本文件作为每页最后一个样式表加载，确保覆盖页面自带 CSS。 */
:root {
  --jm-gold: #c9a24a;
  --jm-gold-2: #e3c573;
  --jm-deep: #123f2b;
  --jm-on-dark: #e9f4ee;
  --jm-on-dark-2: #bcd6c6;
}

/* ============ 顶栏 ============ */
.topbar {
  background: var(--jm-deep) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .18);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .14);
}
.topbar .brand-text,
.topbar .brand-text small { color: var(--jm-on-dark) !important; }
.topbar .nav a {
  color: var(--jm-on-dark-2) !important;
  background: transparent !important;
}
.topbar .nav a:hover {
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
}
.topbar .nav-i { color: var(--jm-gold-2) !important; }
.topbar .nav a:hover .nav-i { color: #fff !important; }

/* 语言切换下拉（#langSel）
   坑：Windows Chrome 展开下拉列表时会拿 <select> 自身的 background 去渲染列表，
   若底色是半透明（旧版 rgba(255,255,255,.08)）叠在默认白底上就变成白底，
   而 option 又继承 select 的浅色字 → 白底白字"底色字色一体"，完全看不见。
   修法：① select 底色必须不透明；② option 显式白底深字双重保险。 */
.topbar .lang-sel,
.topbar select.lang-sel,
.lang-sel {
  background: #1c4a35 !important;              /* 不透明深翡翠，禁半透明 */
  color: #e9f4ee !important;                   /* 浅色字，与深底强反差 */
  border-color: rgba(255, 255, 255, .30) !important;
}
.topbar .lang-sel:hover,
.topbar .lang-sel:focus,
.lang-sel:hover, .lang-sel:focus {
  background: #235a40 !important;
  color: #ffffff !important;
}
.topbar .lang-sel option,
.topbar select.lang-sel option,
.lang-sel option {
  background: #ffffff !important;              /* 展开列表：白底 */
  color: #12241a !important;                   /* 展开列表：深绿字 */
}
/* 主题为浅色时不透明兜底（避免任何半透明残留） */
.topbar .lang-sel optgroup { background: #ffffff !important; color: #12241a !important; }
.topbar .btn-cream {
  background: rgba(255, 255, 255, .94) !important;
  color: var(--jm-deep) !important;
  border: none !important;
}
.topbar .btn-cream:hover { background: #fff !important; }

.topbar .acct-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 9999px;
  background: #e8f2ea !important;          /* 与页面底色同款 */
  color: #0c3a29 !important;               /* 深绿字 */
  font-weight: 600; white-space: nowrap;
  text-decoration: none;
  font-size: 14px; transition: .15s;
  border: none !important;
}
.topbar .acct-btn:hover { background: #f4f9f5 !important; color: #07271b !important; }
.topbar .acct-btn svg { width: 18px; height: 18px; }

/* 顶部「下载APP」按钮：主题绿实心，突出 CTA */
.topbar .dl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 9999px;
  background: linear-gradient(135deg, #3f8b63, #2a6b4a) !important;
  color: #fff !important;
  font-weight: 600; text-decoration: none; font-size: 14px; white-space: nowrap;
  box-shadow: 0 2px 10px rgba(63, 139, 99, .30);
  transition: .15s; border: none !important;
}
.topbar .dl-btn:hover { filter: brightness(1.08); box-shadow: 0 4px 14px rgba(63, 139, 99, .40); transform: translateY(-1px); }
.topbar .dl-btn svg { width: 16px; height: 16px; }

/* 中等宽度（笔记本 / 小窗口）：一级菜单全部 4 字后收紧，避免语言选择器被挤出屏幕 */
@media (min-width: 861px) and (max-width: 1180px) {
  .topbar .wrap { gap: 10px; }
  .topbar .nav { gap: 2px; }
  .topbar .nav a { padding: 8px 9px; font-size: 13.5px; gap: 5px; }
  .topbar .nav-i { width: 16px; height: 16px; }
  .topbar .acct-btn { padding: 7px 11px; font-size: 13px; gap: 5px; }
  .topbar .acct-btn svg { width: 16px; height: 16px; }
  .topbar .dl-btn { padding: 7px 11px; font-size: 13px; gap: 5px; }
  .topbar .lang-sel { padding: 6px 8px; font-size: 12px; margin-left: 2px; }
}

/* 手机端：下载按钮图标模式（与导航一致），避免顶栏拥挤 */
@media (max-width: 720px) {
  .topbar .dl-btn span { display: none; }
  .topbar .dl-btn { padding: 8px 10px; }
}


/* ============ 页脚 ============ */
.footer {
  background: var(--jm-deep) !important;
  color: var(--jm-on-dark-2) !important;
  border-top: 1px solid rgba(0, 0, 0, .18);
}
/* 页脚 LOGO：锁原始展示尺寸，禁止原图整幅铺出 */
.footer .logo,
.footer .footer-brand .logo {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 240px;
}
.footer .logo img,
.footer .footer-brand .logo img {
  height: 44px !important; width: auto !important;
  max-width: 200px !important; object-fit: contain !important;
  border-radius: 8px; display: block;
}

.footer .footer-brand p { color: var(--jm-on-dark-2) !important; }
.footer .footer-brand .brand-text,
.footer .footer-brand .brand-text small { color: var(--jm-on-dark) !important; }
.footer .footer-col h5 { color: var(--jm-gold-2) !important; }
.footer .footer-col a { color: var(--jm-on-dark) !important; }
.footer .footer-col a:hover { color: #fff !important; }
.footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
  color: var(--jm-on-dark-2) !important;
}
.footer .foot-src { color: var(--jm-on-dark-2) !important; }
.footer .footer-social a { color: var(--jm-on-dark) !important; }
.footer .footer-social a:hover { color: #fff !important; }

/* 全站页脚商家实体信息（与 returns.html §9 一致：ABN / 地址 / 电话 / 邮箱） */
.footer .footer-merchant,
.foot .footer-merchant {
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
  padding: 15px 0 13px; margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px; color: var(--jm-on-dark-2) !important; line-height: 1.6;
}
.footer .footer-merchant .fm-name,
.foot .footer-merchant .fm-name { font-weight: 600; color: var(--jm-gold-2) !important; }
.footer .footer-merchant a,
.foot .footer-merchant a { color: var(--jm-on-dark) !important; text-decoration: none; }
.footer .footer-merchant a:hover,
.foot .footer-merchant a:hover { color: #fff !important; text-decoration: underline; }
@media (max-width: 600px) {
  .footer .footer-merchant,
  .foot .footer-merchant { font-size: 11.5px; gap: 3px 14px; }
}

/* 移动端：导航横向滚动，去掉白底 chip，保留描边 */
@media (max-width: 720px) {
  .topbar .nav a {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
  }
  .topbar .btn-cream { display: none !important; }
}

/* ============ 商城页：选购分类 chips ============ */
.shop-chips {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 1100px; margin: 0 auto 26px; padding: 0 16px;
}
.shop-chips a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 9999px; font-size: 14px; text-decoration: none;
  color: #2a6b4a; background: #fff; border: 1px solid rgba(42, 107, 74, .22);
  transition: .15s;
}
.shop-chips a:hover { border-color: #2a6b4a; transform: translateY(-1px); }
.shop-chips a.on { background: var(--jm-deep); color: var(--jm-on-dark); border-color: var(--jm-deep); }

/* ============ 通用对照表（匠人工坊 / 商家方案） ============ */
.jm-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 4px; }
.jm-table th, .jm-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid #e2efe7; vertical-align: top; }
.jm-table thead th { font-size: 12px; letter-spacing: .06em; color: #5b6b62; background: #f4f9f5; font-weight: 600; }
.jm-table tbody tr:hover { background: #f8fbf9; }
.jm-table td:first-child { font-weight: 600; color: #12241a; white-space: nowrap; }
.jm-table .num { font-variant-numeric: tabular-nums; }
.jm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e2efe7; border-radius: 14px; background: #fff; }
.jm-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.jm-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #33544a; }
.jm-check li b { display: block; color: #12241a; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.jm-check .ck { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 7px; background: #e8f2ea; color: #2a6b4a; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.jm-note { margin-top: 12px; font-size: 12.5px; color: #6b7d73; }

/* ============ 页脚「微信」联系弹窗（contact-modal.js） ============ */
.jm-ctmask {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 26, 19, .48); backdrop-filter: blur(3px);
}
.jm-ctmask.on { display: flex; }
.jm-ctbox {
  position: relative; width: 100%; max-width: 420px; max-height: 88vh; overflow: auto;
  background: #fff; border-radius: 18px; padding: 26px 24px 22px;
  box-shadow: 0 18px 60px rgba(10, 40, 28, .28);
  font: 400 15px/1.6 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #12241a;
}
.jm-ctclose {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px;
  border: 0; background: transparent; font-size: 24px; line-height: 1;
  color: #6b7d73; cursor: pointer; border-radius: 8px;
}
.jm-ctclose:hover { background: #eef5f0; color: #12241a; }
.jm-cttitle { margin: 0 0 6px; font-size: 19px; font-weight: 600; color: #12241a; }
.jm-ctsub { margin: 0 0 18px; font-size: 13px; color: #5b6b62; }
.jm-ctrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #e6efe9; font-size: 14px; }
.jm-ctk { flex: 0 0 78px; color: #5b6b62; }
.jm-ctv { display: inline-flex; align-items: center; gap: 10px; }
.jm-ctwx { font-size: 15px; letter-spacing: .02em; color: #12241a; }
.jm-ctcopy {
  border: 1px solid rgba(42, 107, 74, .28); background: #fff; color: #2a6b4a;
  font-size: 12px; padding: 4px 10px; border-radius: 999px; cursor: pointer;
}
.jm-ctcopy:hover { border-color: #2a6b4a; }
.jm-ctcopy.ok { background: #e8f2ea; border-color: #2a6b4a; }
.jm-ctform { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.jm-ctform input, .jm-ctform textarea {
  width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid #cfe3d8;
  border-radius: 12px; font: inherit; font-size: 15px; background: #fff; color: #12241a;
}
.jm-ctform textarea { resize: vertical; min-height: 78px; }
.jm-ctfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.jm-ctnote { font-size: 13px; color: #5b6b62; }
.jm-ctnote.ok { color: #2a6b4a; }
.jm-ctnote.err { color: #b23b3b; }
.jm-ctsend {
  border: 0; border-radius: 999px; padding: 10px 22px; cursor: pointer;
  background: #2a6b4a; color: #fff; font-size: 14px; font-weight: 500;
}
.jm-ctsend:hover { background: #23573d; }
.jm-ctsend:disabled { opacity: .6; cursor: progress; }

/* ============ 页脚图文条（.jm-imgband，各二级页通用） ============ */
.jm-imgband { padding: 46px 0 6px; }
.jm-imgband .ib-wrap { max-width: 1100px; margin: 0 auto; padding: 0 18px; }
.jm-imgband .ib-title { margin: 0 0 4px; font-size: 22px; font-weight: 600; color: var(--ink, #12241a); font-family: var(--font-display, inherit); }
.jm-imgband .ib-sub { margin: 0 0 18px; font-size: 14px; color: var(--ink-3, #677a6c); }
.jm-imgband .ib-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jm-imgband figure { margin: 0; }
.jm-imgband img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; box-shadow: var(--shadow-2, 0 2px 10px rgba(18, 63, 43, .08)); }
.jm-imgband figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3, #677a6c); }
@media (max-width: 720px) { .jm-imgband .ib-grid { grid-template-columns: 1fr; } }

/* ============ 品牌橱窗（gallery.html） ============ */
.gw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .gw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gw-grid { grid-template-columns: 1fr; } }
.gw-card { display: block; background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: .18s; }
.gw-card:hover { transform: translateY(-3px); box-shadow: var(--shadow, 0 8px 30px rgba(18, 63, 43, .12)); }
.gw-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.gw-card .gw-body { padding: 14px 16px 16px; }
.gw-card .gw-en { font-size: 11px; letter-spacing: .12em; color: var(--ink-3, #677a6c); text-transform: uppercase; }
.gw-card h3 { margin: 4px 0 0; font-size: 16.5px; color: var(--ink, #12241a); }
.gw-card p { margin: 6px 0 10px; font-size: 13px; color: var(--ink-2, #3a4e41); }
.gw-card .gw-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3, #677a6c); }
.gw-card .gw-tag { border: 1px solid var(--line, rgba(15, 60, 40, .18)); border-radius: 999px; padding: 2px 10px; }
.gw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .gw-steps { grid-template-columns: 1fr; } }
.gw-step { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 16px; padding: 18px; }
.gw-step .n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--green-100, #d6ebdb); color: var(--green-900, #123f2b); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.gw-step b { display: block; font-size: 15px; color: var(--ink, #12241a); margin-bottom: 4px; }
.gw-step p { margin: 0; font-size: 13px; color: var(--ink-2, #3a4e41); }
.gw-stats { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; margin: 6px 0 0; }
.gw-stats div { text-align: center; }
.gw-stats b { display: block; font-size: 24px; font-weight: 700; color: var(--green-900, #123f2b); }
.gw-stats span { font-size: 12.5px; color: var(--ink-3, #677a6c); }

/* ============ 五行能量线（energy.html） ============ */
.wx-hero { padding: 54px 0 30px; background: linear-gradient(180deg, rgba(232, 242, 234, .75), rgba(244, 249, 245, .2)); border-bottom: 1px solid var(--line, rgba(15, 60, 40, .12)); }
.wx-hero h1 { margin: 10px 0 12px; font-size: 34px; line-height: 1.2; color: var(--ink, #12241a); font-family: var(--font-display, inherit); }
.wx-hero .lead { max-width: 760px; margin: 0 0 18px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2, #3a4e41); }
.wx-disclaimer { margin: 14px 0 0; font-size: 12px; color: var(--ink-3, #677a6c); }
.wx-tabs { display: inline-flex; gap: 6px; margin: 6px 0 16px; padding: 4px; background: var(--panel, #dfece2); border-radius: 999px; }
.wx-tab { border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px; font: 500 14px/1 inherit; color: var(--ink-2, #3a4e41); background: transparent; }
.wx-tab.active { background: #fff; color: var(--jm-deep, #123f2b); box-shadow: var(--shadow-2, 0 2px 10px rgba(18, 63, 43, .08)); }
.wx-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.wx-form label { font-size: 13.5px; color: var(--ink-2, #3a4e41); }
.wx-form input[type="date"] { padding: 11px 13px; border: 1px solid #cfe3d8; border-radius: 12px; font: inherit; font-size: 15px; background: #fff; color: #12241a; }
/* 生日输入：原生 type=date 的占位格式跟随浏览器语言（中文环境会显示 yyyy/mm/日，无法用 CSS/HTML 覆盖），
   所以改成「文本输入 + 自建日历按钮」。显示格式固定 yyyy/mm/dd，取值时归一成 yyyy-mm-dd。 */
.wx-date { position: relative; display: inline-flex; align-items: center; }
.wx-date input#wxDate { width: 168px; padding: 11px 40px 11px 13px; border: 1px solid #cfe3d8; border-radius: 12px; font: inherit; font-size: 15px; background: #fff; color: #12241a; letter-spacing: .3px; }
.wx-date input#wxDate::placeholder { color: #9aab9f; letter-spacing: .3px; }
.wx-date input#wxDate:focus { outline: none; border-color: var(--jm, #3f8b63); box-shadow: 0 0 0 3px rgba(63, 139, 99, .14); }
.wx-date.bad input#wxDate { border-color: #c8563f; box-shadow: 0 0 0 3px rgba(200, 86, 63, .12); }
.wx-date-btn { position: absolute; right: 6px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; background: transparent; color: #5c7365; cursor: pointer; }
.wx-date-btn:hover { background: #eef6f1; color: var(--jm-deep, #123f2b); }
.wx-date-btn svg { width: 17px; height: 17px; }
.wx-date-msg { flex: 1 1 100%; font-size: 12.5px; color: #c8563f; min-height: 0; }
/* 自建日历弹层（替代原生 type=date 选择器，年份可一步下拉跳转，窗口更大） */
.wx-cal { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 324px; max-width: calc(100vw - 24px); padding: 14px; background: #fff; border: 1px solid #dcebe2; border-radius: 16px; box-shadow: 0 18px 48px rgba(18,36,26,.18); font-size: 14px; color: #12241a; }
.wx-cal[hidden] { display: none; }
.wx-cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wx-cal-nav { width: 32px; height: 32px; flex: none; border: 1px solid #dcebe2; border-radius: 9px; background: #f4f9f5; color: #2a6b4a; font-size: 18px; line-height: 1; cursor: pointer; }
.wx-cal-nav:hover { background: #e7f1ea; }
.wx-cal-sels { flex: 1; display: flex; gap: 8px; }
/* 用 ID 级特异性压过 .wx-form select 的 min-width:190px（否则头部行溢出弹层） */
#wxCal .wx-cal-sel { flex: 1 1 0%; min-width: 0; width: auto; padding: 7px 8px; border: 1px solid #dcebe2; border-radius: 9px; background: #fff; font: inherit; font-size: 14px; color: #12241a; cursor: pointer; }
#wxCal .wx-cal-sel:focus { outline: none; border-color: #3f8b63; box-shadow: 0 0 0 3px rgba(63,139,99,.14); }
.wx-cal-dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 4px; }
.wx-cal-dow span { text-align: center; font-size: 12px; color: #8aa095; padding: 4px 0; }
.wx-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.wx-cal-x { height: 34px; }
.wx-cal-d { height: 34px; border: 0; border-radius: 9px; background: #f4f9f5; color: #12241a; font: inherit; font-size: 14px; cursor: pointer; transition: background .12s,color .12s; }
.wx-cal-d:hover { background: #e2f0e8; }
.wx-cal-d.is-today { box-shadow: inset 0 0 0 1.5px #3f8b63; }
.wx-cal-d.is-sel { background: #3f8b63; color: #fff; font-weight: 600; }
.wx-cal-d.is-sel:hover { background: #2a6b4a; }
.wx-cal-d.is-off { color: #c3cfc8; background: #fafcfa; cursor: not-allowed; }
.wx-cal-foot { display: flex; justify-content: space-between; margin-top: 10px; }
.wx-cal-mini { padding: 6px 14px; border: 1px solid #dcebe2; border-radius: 9px; background: #fff; color: #2a6b4a; font: inherit; font-size: 13px; cursor: pointer; }
.wx-cal-mini:hover { background: #eef6f1; }
.wx-hint { flex: 1 1 260px; margin: 0; font-size: 12.5px; color: var(--ink-3, #677a6c); }
.wx-quiz { display: grid; gap: 14px; margin-bottom: 16px; }
.wx-q { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 16px; padding: 16px 18px; }
.wx-q-t { font-size: 15px; font-weight: 600; color: var(--ink, #12241a); margin-bottom: 10px; }
.wx-q-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.wx-opt { border: 1px solid #d6e7de; background: #f7fbf8; border-radius: 999px; padding: 9px 14px; font: 500 13.5px/1.2 inherit; color: #33544a; cursor: pointer; }
.wx-opt.on { background: var(--jm-deep, #123f2b); border-color: var(--jm-deep, #123f2b); color: #fff; }
.wx-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 860px) { .wx-grid { grid-template-columns: 1fr; } .wx-hero h1 { font-size: 26px; } }
.wx-card { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 20px; padding: 20px 22px; }
.wx-card h3 { margin: 0 0 14px; font-size: 17px; color: var(--ink, #12241a); }
.wx-bars { display: grid; gap: 9px; }
.wx-bar { position: relative; }
/* ⚠️ 三层兜底：老 WebView（微信内置/旧安卓）不支持 color-mix() 时，整条 background 声明会失效
 *   → 五行条变成透明「看不见」（用户反馈"卡住没跑出来"的根因）。
 *   现在：静态绿 → 五行本色 → 渐变，逐层降级，任何浏览器都至少看得到一条有色的能量条。 */
.wx-bar-fill { height: 26px; border-radius: 8px; background: #3f8b63; background: var(--h, #3f8b63); background: linear-gradient(90deg, var(--h, #3f8b63), color-mix(in srgb, var(--h, #3f8b63) 62%, #fff)); width: 50%; width: var(--w, 50%); min-width: 34px; }
.wx-bar-lab { position: absolute; left: 10px; top: 0; height: 26px; display: flex; align-items: center; gap: 8px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .18); }
.wx-bar-lab b { font-size: 14px; }
.wx-bar-lab span { font-size: 12px; opacity: .92; }
.wx-bar-tag { position: absolute; right: 0; top: 4px; font-size: 12px; color: var(--ink-3, #677a6c); background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 999px; padding: 1px 9px; }
.wx-bar.lack .wx-bar-tag { color: #8a4b1f; border-color: #e8cdb8; background: #fdf6ef; }
.wx-bar.strong .wx-bar-tag { color: #2a6b4a; border-color: #cfe3d8; background: #f3f9f5; }
.wx-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3, #677a6c); }
.wx-card-trigram { text-align: center; }
.wx-tri-in { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 40px; color: var(--jm-deep, #123f2b); line-height: 1; }
.wx-tri-in i { display: block; width: 1px; height: 40px; background: var(--line, rgba(15, 60, 40, .18)); }
.wx-tri-name { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--ink, #12241a); }
.wx-motto { margin: 10px 0 0; font-size: 14px; color: #2a6b4a; font-family: var(--font-display, inherit); }
.wx-card-recipe { border-color: #cfe3d8; }
.wx-card-recipe h3 em { font-style: normal; color: var(--jm-deep, #123f2b); }
.wx-recipe { display: grid; gap: 10px; }
.wx-r-row { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: start; padding-bottom: 9px; border-bottom: 1px dashed #e4efe8; }
.wx-r-k { font-size: 12.5px; color: var(--ink-3, #677a6c); padding-top: 2px; }
.wx-r-v b { display: block; font-size: 15px; color: var(--ink, #12241a); }
.wx-r-v small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3, #677a6c); }
.wx-stamp { margin-top: 12px; font-size: 13.5px; color: #33544a; }
.wx-stamp b { color: var(--jm-deep, #123f2b); letter-spacing: .06em; }
.wx-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wx-row { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 18px; padding: 16px 18px; margin-bottom: 12px; }
.wx-row-hd { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.wx-row-el { width: 30px; height: 30px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.wx-row-hd b { font-size: 15.5px; color: var(--ink, #12241a); }
.wx-row-hd small { font-size: 12px; color: var(--ink-3, #677a6c); }
.wx-row-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 720px) { .wx-row-items { grid-template-columns: repeat(2, 1fr); } .wx-form { flex-direction: column; align-items: stretch; } }
.wx-stone { display: block; border: 1px solid #e4efe8; border-radius: 14px; padding: 12px; text-decoration: none; background: #fbfdfb; }
.wx-stone:hover { border-color: #cfe3d8; transform: translateY(-2px); }
.wx-stone-dot { display: block; width: 22px; height: 22px; border-radius: 999px; margin-bottom: 8px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 4px #e4efe8; }
.wx-stone b { display: block; font-size: 13.5px; color: var(--ink, #12241a); line-height: 1.35; }
.wx-stone small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-3, #677a6c); }

/* ============ 能量线：首页区块 / 设计线配方条 / 商城板块 ============ */
.wx-band { padding: 54px 0; background: linear-gradient(180deg, rgba(244, 249, 245, .5), rgba(232, 242, 234, .8)); border-top: 1px solid var(--line, rgba(15, 60, 40, .1)); border-bottom: 1px solid var(--line, rgba(15, 60, 40, .1)); }
.wx-band-hd { max-width: 820px; }
.wx-band h2 { margin: 10px 0 10px; font-size: 27px; line-height: 1.3; color: var(--ink, #12241a); }
.wx-band .sub { margin: 0 0 16px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2, #3a4e41); }
/* 左右两栏：同款白卡 + 等高，视觉重量平衡（左栏五色卡也套白框） */
.wx-band-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 6px; align-items: stretch; }
@media (max-width: 860px) { .wx-band-cols { grid-template-columns: 1fr; } .wx-band h2 { font-size: 22px; } }
.wx-band-cols > div { display: flex; flex-direction: column; }
.wx-band-cols .wx-band-cap { padding: 14px 18px 0; }
.wx-band-cols .wx-band-cap:first-child { padding-top: 16px; }
.wx-panel { flex: 1 1 auto; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 18px; padding: 4px 18px 18px; }
.wx-five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wx-five-i { background: #fbfdfb; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 14px; padding: 12px 10px; text-align: center; border-top: 4px solid var(--h); cursor: default; transition: .18s; outline: none; }
.wx-five-i:hover, .wx-five-i:focus-visible { background: #fff; border-color: var(--h); box-shadow: 0 6px 18px rgba(18, 63, 43, .10); transform: translateY(-2px); }
.wx-five-i b { display: block; font-size: 17px; color: var(--ink, #12241a); }
.wx-five-i span { display: block; font-size: 12.5px; color: var(--ink-2, #3a4e41); }
.wx-five-i small { display: block; margin-top: 3px; font-size: 11px; color: var(--ink-3, #677a6c); }
.wx-tri8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wx-tri-i { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 14px; padding: 10px 8px; text-align: center; }
.wx-tri-i span { display: block; font-size: 20px; color: var(--jm-deep, #123f2b); line-height: 1.1; }
.wx-tri-i b { display: block; font-size: 13.5px; color: var(--ink, #12241a); }
.wx-tri-i small { display: block; font-size: 11px; color: var(--ink-3, #677a6c); }
.wx-recipe-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 18px; background: #10281d; color: #e9f4ee; font-size: 13.5px; }
.wx-recipe-bar .wx-bar-tag2 { background: #c9a24a; color: #10281d; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; border-radius: 999px; padding: 3px 10px; }
.wx-recipe-bar b { color: #e3c573; }
.wx-recipe-bar a { margin-left: auto; color: #e9f4ee; text-decoration: underline; text-underline-offset: 3px; }

/* ============ 能量珠宝商城页（energy-shop.html）：去深奥、讲颜色与价格 ============ */
.esh-hero { padding: 46px 0 34px; background: linear-gradient(160deg, rgba(244, 249, 245, .9), rgba(226, 240, 231, .7)); border-bottom: 1px solid var(--line, rgba(15, 60, 40, .1)); }
.esh-badge { display: inline-block; background: #c9a24a; color: #10281d; font-size: 12px; font-weight: 700; letter-spacing: .06em; border-radius: 999px; padding: 4px 12px; }
.esh-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: center; margin-top: 12px; }
@media (max-width: 860px) { .esh-hero-in { grid-template-columns: 1fr; } }
.esh-hero h1 { margin: 12px 0 10px; font-size: 32px; line-height: 1.22; color: var(--ink, #12241a); font-family: var(--font-display, inherit); }
@media (max-width: 720px) { .esh-hero h1 { font-size: 25px; } }
.esh-hero .lead { margin: 0 0 18px; font-size: 15px; line-height: 1.75; color: var(--ink-2, #3a4e41); }
.esh-disclaimer { margin: 14px 0 0; font-size: 12px; color: var(--ink-3, #677a6c); }
.esh-pick { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-left: 6px solid var(--h); border-radius: 18px; padding: 14px; }
.esh-pick-img { width: 132px; flex: none; }
.esh-pick-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.esh-pick-b b { display: block; font-size: 17px; color: var(--ink, #12241a); }
.esh-pick-b small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3, #677a6c); }
.esh-pick-b em { display: block; margin: 6px 0 10px; font-style: normal; font-size: 13px; color: #2a6b4a; }
.esh-tiers { padding: 30px 0 6px; }
.esh-tiers-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto; padding: 0 18px; }
@media (max-width: 860px) { .esh-tiers-g { grid-template-columns: 1fr; } }
.esh-tier { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; }
.esh-tier.on { border-color: #c9a24a; box-shadow: 0 0 0 3px rgba(201, 162, 74, .18); }
.esh-tier.dim { opacity: .72; }
.esh-tier-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.esh-tier-n { width: 22px; height: 22px; border-radius: 999px; background: var(--jm-deep, #123f2b); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.esh-tier-hd b { font-size: 16px; color: var(--ink, #12241a); }
.esh-tier-p { font-size: 14px; color: #2a6b4a; font-weight: 600; }
.esh-tier-hit { font-style: normal; font-size: 11.5px; background: #fdf6e7; color: #8a6a17; border: 1px solid #e8d7a8; border-radius: 999px; padding: 2px 9px; }
.esh-tier-note { margin: 8px 0 10px; font-size: 12.5px; color: var(--ink-3, #677a6c); }
.esh-tier-items { display: grid; gap: 6px; margin-bottom: 12px; }
.esh-ti { display: flex; justify-content: space-between; gap: 8px; border: 1px dashed #e2eee7; border-radius: 10px; padding: 7px 10px; text-decoration: none; }
.esh-ti:hover { border-color: #c9a24a; background: #fdfaf2; }
.esh-ti-n { font-size: 13px; color: var(--ink, #12241a); }
.esh-ti-p { font-size: 12.5px; color: #2a6b4a; white-space: nowrap; }
.esh-tier-cta { width: 100%; margin-top: auto; }
.esh-row { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-left: 6px solid var(--h); border-radius: 20px; padding: 18px 20px; margin-bottom: 16px; }
.esh-row.is-lack { background: linear-gradient(180deg, #fffdf6, #fff); }
.esh-row-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.esh-row-flag { background: #c9a24a; color: #10281d; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.esh-row-hd h3 { margin: 0; font-size: 18px; color: var(--ink, #12241a); }
.esh-row-hd p { margin: 3px 0 0; font-size: 12.5px; color: var(--ink-3, #677a6c); }
.esh-row-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .esh-row-grid { grid-template-columns: 1fr; } }
.esh-cell { border: 1px solid #e9f1ec; border-radius: 14px; padding: 12px; background: #fbfdfb; }
.esh-cell-hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.esh-cell-hd b { font-size: 14px; color: var(--ink, #12241a); }
.esh-cell-hd span { font-size: 12px; color: #2a6b4a; }
.esh-p { display: block; text-decoration: none; margin-top: 8px; }
.esh-p-img { display: block; border-radius: 10px; overflow: hidden; }
.esh-p-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .25s; }
.esh-p:hover .esh-p-img img { transform: scale(1.05); }
.esh-p b { display: block; margin-top: 6px; font-size: 12.8px; color: var(--ink, #12241a); line-height: 1.35; }
.esh-p-y { display: block; font-size: 12.5px; color: #2a6b4a; font-weight: 600; }

/* ============ 商城置顶：能量珠宝首选板块 ============ */
.esh-top { background: linear-gradient(160deg, #fffdf6, #f3f9f5); border-bottom: 1px solid var(--line, rgba(15, 60, 40, .1)); }
.esh-topin { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 860px) { .esh-topin { grid-template-columns: 1fr; } }
.esh-top h2 { margin: 10px 0 8px; font-size: 26px; color: var(--ink, #12241a); }
.esh-top .sub { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: var(--ink-2, #3a4e41); }
.esh-topcta { display: flex; flex-wrap: wrap; gap: 10px; }
.esh-topquick { display: grid; gap: 8px; }
.esh-q { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e9e2cf; border-left: 5px solid var(--h); border-radius: 14px; padding: 10px 14px; text-decoration: none; }
.esh-q:hover { border-color: #c9a24a; }
.esh-q b { font-size: 14px; color: var(--ink, #12241a); white-space: nowrap; }
.esh-q span { font-size: 12.5px; color: var(--ink-3, #677a6c); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esh-q i { margin-left: auto; font-style: normal; font-size: 12.5px; color: #2a6b4a; white-space: nowrap; }
/* 首页：怎么用 4 步 */
.wx-band-right { background: #fff; border: 1px solid var(--line, rgba(15, 60, 40, .12)); border-radius: 18px; padding: 4px 18px 18px; }
.wx-how { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 9px; align-content: start; }
.wx-how li { font-size: 13.5px; color: var(--ink-2, #3a4e41); line-height: 1.6; }
.wx-how b { color: var(--ink, #12241a); }

/* 五行正色出处（小字背书） */
.wx-src { margin: 18px 0 0; font-size: 13px; color: #4a5a52; line-height: 1.9; letter-spacing: .01em; }
.wx-src + .wx-src { margin-top: 2px; }
.wx-disclaimer { margin: 10px 0 0; }
.wx-src b { color: var(--jm-deep, #123f2b); }

/* 时辰下拉（与日期输入同排） */
.wx-form select { padding: 11px 13px; border: 1px solid #cfe3d8; border-radius: 12px; font: inherit; font-size: 15px; background: #fff; color: #12241a; min-width: 190px; }

/* 五色悬停详解：占满卡片下部剩余空间，不外溢 */
.wx-five-tip { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-top: 12px; padding: 14px 16px; min-height: 118px; border-radius: 14px; background: #f7fbf8; border: 1px solid var(--line, rgba(15, 60, 40, .1)); border-left: 4px solid var(--h, #3f9e6b); overflow: hidden; }
.wx-tip-t { font-size: 14.5px; color: var(--ink, #12241a); font-weight: 600; }
.wx-tip-t span { font-size: 12px; font-weight: 400; color: var(--ink-3, #677a6c); margin-left: 4px; }
.wx-tip-m { font-size: 13.5px; color: #2a6b4a; line-height: 1.6; }
.wx-tip-d { font-size: 12.5px; color: var(--ink-2, #3a4e41); line-height: 1.7; }
.wx-tip-g { font-size: 12px; color: var(--ink-3, #677a6c); line-height: 1.6; }
@media (max-width: 860px) { .wx-five-tip { min-height: 0; } }

/* ============ 灯箱 v2：可缩放看珠宝细节（滚轮 / 双指 / 拖拽） ============ */
.lb-overlay { cursor: zoom-in; }
.lb-overlay.zoomed { cursor: grab; }
.lb-overlay.dragging { cursor: grabbing; }
.lb-overlay .lb-stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; overflow: hidden; }
.lb-overlay .lb-stage img {
  max-width: 92vw; max-height: 86vh; border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  transform-origin: center center; will-change: transform;
  transition: transform .12s ease-out; -webkit-user-select: none; user-select: none;
  -webkit-touch-action: none;
}
.lb-overlay.dragging .lb-stage img { transition: none; }
/* 缩放读数 */
.lb-overlay .lb-zoom {
  position: fixed; top: 18px; left: 22px; z-index: 2;
  color: #e9f4ee; font-size: 13px; letter-spacing: .06em;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px; padding: 4px 12px; font-variant-numeric: tabular-nums;
  pointer-events: none;
}
/* 底部操作提示 */
.lb-overlay .lb-tip {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; color: rgba(233, 244, 238, .75); font-size: 12px; letter-spacing: .04em;
  background: rgba(0, 0, 0, .28); border-radius: 999px; padding: 5px 14px;
  pointer-events: none; white-space: nowrap;
}
.lb-overlay.zoomed .lb-tip { opacity: 0; }
/* 触屏双指时禁用浏览器原生缩放 */
.lb-overlay { touch-action: none; }
/* 可点开的商品图：给一点可点提示 */
.esh-p-img, [data-jewel] { cursor: zoom-in; }
.esh-p-img, .p-img, [data-jewel] { position: relative; }
.esh-p-img::after, [data-jewel]::after {
  content: "Tap to zoom · scroll to scale"; position: absolute; inset: auto 0 0 0;
  font-size: 11px; color: #e9f4ee; text-align: center; padding: 5px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
  opacity: 0; transition: .2s; pointer-events: none;
}
.esh-p { position: relative; }
.esh-p:hover .esh-p-img::after, [data-jewel]:hover::after { opacity: 1; }
@media (max-width: 720px) { .lb-overlay .lb-tip { display: none; } }
