/* ===== 灵镜测算 slate 主题扩展样式 ===== */



/* ============================================================
   测算结果页 · 多样化精美排版
   ============================================================ */

/* ---------- 等级配色 ---------- */
.lv-top { color: #d9b45c; }
.lv-good { color: #4ade80; }
.lv-mid { color: #4da8d8; }
.lv-low { color: #94a3b8; }

/* ---------- 结果头：等级徽章 ---------- */
.rh-badge {
  margin-left: auto; flex-shrink: 0; font-size: 13px; font-weight: 800;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .08em;
  background: rgba(255,255,255,.06); border: 1px solid currentColor;
}

/* ---------- 动态评分环 ---------- */
.score-ring {
  position: relative; width: 88px; height: 88px; border-radius: 50%;
  background: conic-gradient(var(--ring, #7d86e0) calc(var(--p, 60%)), rgba(255,255,255,.07) 0);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px color-mix(in srgb, var(--ring, #7d86e0) 34%, transparent);
}
.score-ring::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: linear-gradient(160deg, rgba(39,52,73,.98), rgba(15,23,42,.98));
  box-shadow: inset 0 0 12px rgba(0,0,0,.45);
}
.sr-inner { position: relative; z-index: 1; text-align: center; }
.sr-inner b { font-size: 24px; line-height: 1; display: block; color: var(--ring, #ffffff); text-shadow: 0 0 10px color-mix(in srgb, var(--ring) 60%, transparent); }
.sr-inner span { font-size: 10.5px; color: #e2e8f0; margin-top: 3px; display: block; }
.ss-text h3 em { font-style: normal; font-weight: 800; }

/* ---------- 区块通用：编号 + 类型强调 ---------- */
.rs-num {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
  background: var(--c-primary-soft); border: 1px solid var(--c-border-2); color: #a5b4fc;
}
.result-section { overflow: hidden; }
.result-section .rs-head { position: relative; }
.result-section .rs-head::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(129,140,248,.15), rgba(129,140,248,.01));
}
.rs-score.chip {
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid currentColor;
}
.rs-type-bazi .rs-icon, .rs-type-bazi .rs-num { background: rgba(129,140,248,.16); color: #a5b4fc; }
.rs-type-bars .rs-icon, .rs-type-bars .rs-num { background: rgba(56,189,248,.14); color: #7dd3fc; }
.rs-type-gauge .rs-icon, .rs-type-gauge .rs-num { background: rgba(217,180,92,.13); color: #d9b45c; }
.rs-type-timeline .rs-icon, .rs-type-timeline .rs-num { background: rgba(74,222,128,.14); color: #4ade80; }
.rs-type-trend .rs-icon, .rs-type-trend .rs-num { background: rgba(251,146,60,.14); color: #fb923c; }
.rs-type-tarot .rs-icon, .rs-type-tarot .rs-num { background: rgba(217,163,232,.13); color: #d9a3e8; }
.rs-type-grid .rs-icon, .rs-type-grid .rs-num { background: rgba(96,165,250,.14); color: #60a5fa; }
.rs-type-zw .rs-icon, .rs-type-zw .rs-num { background: rgba(165,180,252,.16); color: #a5b4fc; }
.rs-type-table .rs-icon, .rs-type-table .rs-num { background: rgba(148,163,184,.14); color: #cbd5e1; }
.rs-type-duo .rs-icon, .rs-type-duo .rs-num { background: rgba(74,222,128,.14); color: #4ade80; }

/* ---------- 八字四柱宫格（暗夜霓虹） ---------- */
.bazi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 14px; }
.bazi-col {
  border: 1px solid var(--c-border-2); border-radius: 14px; text-align: center; padding: 12px 4px;
  background: linear-gradient(170deg, rgba(129,140,248,.12), rgba(255,255,255,.02));
  box-shadow: inset 0 0 18px rgba(129,140,248,.06);
}
.bz-label { font-size: 11.5px; color: var(--c-muted); letter-spacing: .1em; margin-bottom: 6px; }
.bz-gan { font-size: 23px; font-weight: 800; color: #a5b4fc; text-shadow: 0 0 12px rgba(125,134,224,.3); }
.bz-zhi { font-size: 23px; font-weight: 800; color: #d9b45c; text-shadow: 0 0 12px rgba(217,180,92,.2); }
.bz-shishen { font-size: 11px; color: #94a3b8; margin-top: 5px; }
.bz-nayin { font-size: 11px; color: #7dd3fc; margin-top: 2px; }

/* ---------- 五行强弱进度条 ---------- */
.wx-bars { display: flex; flex-direction: column; gap: 9px; margin: 10px 0; }
.wx-row { display: flex; align-items: center; gap: 10px; }
.wx-name { width: 26px; font-weight: 800; text-align: center; }
.wx-木 { color: #34d399; } .wx-火 { color: #f87171; } .wx-土 { color: #d9b45c; } .wx-金 { color: #e3c87e; } .wx-水 { color: #60a5fa; }
.wx-track { flex: 1; height: 11px; background: rgba(255,255,255,.07); border-radius: 999px; overflow: hidden; }
.wx-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #565fc9, #7a84de, #6dbee2); box-shadow: 0 0 8px rgba(86,95,201,.25); }
.wx-pct { width: 46px; text-align: right; font-size: 12.5px; color: var(--c-muted); font-weight: 700; }

/* ---------- 幸运信息 / 统计格 ---------- */
.lucky-grid, .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0; }
.lucky-item, .stat-cell {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; text-align: center; padding: 12px 6px;
}
.lucky-item span, .stat-cell span { display: block; font-size: 11.5px; color: var(--c-muted); margin-bottom: 5px; }
.lucky-item b, .stat-cell b { color: #a5b4fc; font-size: 13.5px; }
@media (max-width: 560px) { .lucky-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 塔罗牌阵 ---------- */
.tarot-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0; }
.tarot-card {
  background: linear-gradient(165deg, #3a439e, #565fc9 55%, #7a84de);
  color: #ffffff; border-radius: 14px; text-align: center; padding: 16px 8px;
  border: 1px solid rgba(217,163,232,.3); box-shadow: 0 8px 18px rgba(86,95,201,.16);
}
.tc-name { font-weight: 800; font-size: 14.5px; text-shadow: 0 0 10px rgba(255,255,255,.3); }
.tc-pos { font-size: 11.5px; opacity: .9; margin-top: 5px; color: #f5d0fe; }
.tc-arc { font-size: 11px; opacity: .75; margin-top: 2px; }
@media (max-width: 560px) { .tarot-cards { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 紫微命盘 ---------- */
.zw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.zw-cell {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 9px 6px; text-align: center;
}
.zw-cell.is-ming { background: rgba(129,140,248,.18); border-color: rgba(165,180,252,.45); }
.zw-cell.is-shen { border-color: rgba(217,180,92,.34); }
.zw-name { font-size: 12px; font-weight: 800; color: #e2e8f0; }
.zw-branch { font-size: 10.5px; color: var(--c-muted); margin: 2px 0; }
.zw-stars { font-size: 10.5px; color: #a5b4fc; line-height: 1.5; }
.zw-stars em { color: #d9b45c; font-style: normal; }
@media (max-width: 560px) { .zw-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 双人命盘 ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.duo .bazi-grid { margin: 0 0 8px; }
@media (max-width: 560px) { .duo { grid-template-columns: 1fr; } }

/* ---------- 评分仪表盘（环形） ---------- */
.gauge-block {
  display: flex; align-items: center; gap: 16px; margin: 8px 0 12px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 16px;
}
.gauge-ring {
  width: 86px; height: 86px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(currentColor var(--p), rgba(255,255,255,.07) 0);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.gauge-ring::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  background: linear-gradient(160deg, rgba(39,52,73,.97), rgba(15,23,42,.97));
}
.gauge-inner { position: relative; z-index: 1; text-align: center; }
.gauge-inner b { font-size: 23px; line-height: 1; display: block; }
.gauge-inner span { font-size: 10.5px; opacity: .75; }
.gauge-text { flex: 1; min-width: 0; }
.gauge-text b { font-size: 14px; color: var(--c-text); }
.gauge-text p { font-size: 12.5px; color: var(--c-muted); margin-top: 5px; line-height: 1.7; }

/* ---------- 星级评分 ---------- */
.stars-row { display: flex; align-items: center; gap: 3px; margin: 4px 0 8px; }
.stars-row .star { font-size: 18px; color: rgba(255,255,255,.15); }
.stars-row .star.on { color: #d9b45c; text-shadow: 0 0 10px rgba(217,180,92,.28); }
.stars-row em { font-style: normal; font-size: 11.5px; color: var(--c-muted); margin-left: 6px; }

/* ---------- 大运时间轴 ---------- */
.dayun-timeline { margin: 10px 0; }
.dt-item {
  position: relative; padding: 10px 12px 10px 116px; margin-bottom: 8px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; border-left: 3px solid #64748b;
}
.dt-item.dt-good { border-left-color: #4ade80; background: linear-gradient(90deg, rgba(74,222,128,.08), rgba(255,255,255,.02)); }
.dt-item.dt-flat { border-left-color: #94a3b8; }
.dt-age { position: absolute; left: 12px; top: 10px; font-size: 13px; font-weight: 800; color: var(--c-text); }
.dt-gz { position: absolute; left: 12px; top: 30px; font-size: 11.5px; color: #a5b4fc; }
.dt-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 6px; }
.dt-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #34d399, #4ade80); }
.dt-flat .dt-bar span { background: linear-gradient(90deg, #64748b, #94a3b8); }
.dt-score { position: absolute; right: 12px; top: 10px; font-size: 13px; font-weight: 800; color: #4ade80; }
.dt-flat .dt-score { color: #94a3b8; }
.dt-text { font-size: 12px; color: var(--c-muted); line-height: 1.7; }
.dt-year { font-size: 10.5px; color: #94a3b8; margin-top: 4px; }
@media (max-width: 560px) {
  .dt-item { padding-left: 10px; }
  .dt-age, .dt-gz { position: static; display: inline-block; margin-right: 8px; }
  .dt-score { position: static; float: right; }
}

/* ---------- 大运走势柱状趋势 ---------- */
.trend-bars {
  display: flex; align-items: flex-end; gap: 8px; height: 130px;
  padding: 10px 6px 0; margin: 10px 0; border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.tb-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.tb-bar {
  flex: 1; width: 100%; max-width: 34px; border-radius: 8px 8px 4px 4px;
  background: rgba(255,255,255,.05); display: flex; align-items: flex-end; overflow: hidden;
}
.tb-bar span { display: block; width: 100%; border-radius: 8px 8px 4px 4px; }
.tb-bar .tb-good { background: linear-gradient(180deg, #4ade80, #4da8d8); box-shadow: 0 0 10px rgba(74,222,128,.2); }
.tb-bar .tb-flat { background: linear-gradient(180deg, #94a3b8, #64748b); }
.tb-label { font-size: 10.5px; color: var(--c-muted); white-space: nowrap; }

/* ---------- 数字五行标签 ---------- */
.chip-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }
.chip {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: var(--c-text);
}
.chip b { color: #a5b4fc; margin-right: 5px; }

/* ---------- 结果页表格 ---------- */
.rs-body table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0;
  font-size: 12.5px; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden;
}
.rs-body th, .rs-body td { border-bottom: 1px solid var(--c-border); padding: 8px 10px; text-align: center; }
.rs-body th { background: rgba(129,140,248,.12); color: #e2e8f0; font-weight: 700; }
.rs-body tr:last-child td { border-bottom: none; }
.rs-body tr:nth-child(even) td { background: rgba(255,255,255,.025); }

/* ---------- 入场动画 ---------- */
.result-section { animation: rsIn .38s ease both; }
@keyframes rsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.score-summary, .tip-box, .result-hero { animation: rsIn .4s ease both; }


/* ============================================================
   文章详情页 · 测算推荐 CTA
   ============================================================ */
.article-cta {
  position: relative; overflow: hidden; margin: 10px auto;
  border-radius: 18px; padding: 15px;max-width: 360px;
  border: 1px solid rgba(125,134,224,.1);
}
.article-cta .acx-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.acx-deco-1 { width: 170px; height: 170px; right: -55px; top: -65px; background: radial-gradient(circle, rgba(125,134,224,.28), transparent 65%); }
.acx-deco-2 { width: 130px; height: 130px; left: -45px; bottom: -60px; background: radial-gradient(circle, rgba(77,168,216,.2), transparent 65%); }
.acx-head { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.acx-img { width: 76px; height: 76px; border-radius: 26px; object-fit: cover; flex-shrink: 0; }
.acx-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 4px 11px; border-radius: 999px; margin-bottom: 6px; color: #111827; background: linear-gradient(90deg, #d9b45c, #c96a3a); box-shadow: 0 4px 12px rgba(201,106,58,.2); }
.acx-title h2 { font-size: 25px; margin: 0 0 4px; color: var(--c-text); font-weight: 800; }
.acx-title p { font-size: 10.5px; color: var(--c-muted); margin: 0; line-height: 1.6;text-indent: inherit; }
.acx-feats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 14px; position: relative; z-index: 1; }
.acx-feats span { font-size: 12px; padding: 5px 12px; border-radius: 5px; color: #e2e8f0; background: rgba(255,255,255,.06); }
.acx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.acx-price { font-size: 13px; color: #d9b45c; font-weight: 800; }
.acx-price b { font-size: 18px; }
.article-cta .btn-primary { background: linear-gradient(90deg, #7a84de, #565fc9); border: none; box-shadow: 0 6px 16px rgba(86,95,201,.22); padding: 10px 22px; font-weight: 800; border-radius: 9px; }
.article-cta .btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ---------- 首页/列表测试图：圆形（历史需求 50px 圆角） ---------- */
.test-img { border-radius: 50px; }


/* ---------- 横向评分条（季度/阶段得分） ---------- */
.h-bars { display: flex; flex-direction: column; gap: 9px; margin: 10px 0; }
.hb-row { display: flex; align-items: center; gap: 10px; }
.hb-label { width: 52px; flex-shrink: 0; font-size: 12px; color: var(--c-muted); text-align: right; }
.hb-track { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.hb-fill { display: block; height: 100%; border-radius: 999px; }
.hb-fill.hb-good { background: linear-gradient(90deg, #4ade80, #4da8d8); box-shadow: 0 0 8px rgba(74,222,128,.2); }
.hb-fill.hb-mid { background: linear-gradient(90deg, #d9b45c, #c0843c); }
.hb-fill.hb-low { background: linear-gradient(90deg, #94a3b8, #64748b); }
.hb-val { width: 34px; flex-shrink: 0; font-size: 12.5px; font-weight: 800; color: var(--c-text); text-align: right; }

/* ---------- 12月运势网格 ---------- */
.month-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0; }
.mg-cell { border-radius: 12px; padding: 9px 4px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid var(--c-border); }
.mg-cell span { display: block; font-size: 10.5px; color: var(--c-muted); }
.mg-cell b { display: block; font-size: 15px; margin: 2px 0; color: var(--c-text); }
.mg-cell em { font-style: normal; font-size: 10.5px; }
.mg-good { border-color: rgba(74,222,128,.4); }
.mg-good em { color: #4ade80; }
.mg-mid { border-color: rgba(56,189,248,.35); }
.mg-mid em { color: #4da8d8; }
.mg-flat { border-color: rgba(148,163,184,.25); }
.mg-flat em { color: #94a3b8; }
.mg-low { border-color: rgba(244,63,94,.35); }
.mg-low em { color: #f87171; }
@media (max-width: 560px) { .month-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 文章详情页：文中测算 CTA（图 + 标题） ---------- */
.acx-figure { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; position: relative; z-index: 1; }
.article-cta-mid .acx-img { width: 88px; height: 88px; }

/* ---------- 文章详情页：推荐测算（4 个，按排序序列循环取序） ---------- */
.rec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
@media (min-width: 720px) { .rec-grid { grid-template-columns: repeat(4, 1fr); } }
.rec-card { display: flex; flex-direction: column; border-radius: 14px; padding: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); transition: transform .18s ease, box-shadow .18s ease; height: 100%; }
.rec-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(129,140,248,.25); }
.rec-img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 40px; display: block; background: #0f172a; }
.rec-noimg { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; background: #0f172a; font-size: 34px; }
.rec-body { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; flex: 1; min-height: 0; }
.rec-body b { font-size: 14px; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;     text-align: center;}
.rec-body span { font-size: 12px; color: var(--c-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 16px; }
.rec-body em { font-style: normal; font-size: 12px; color: #a5b4fc; font-weight: 700; margin-top: auto; padding-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;text-align: center; }

/* ---------- 文章详情页：上一篇 / 下一篇 ---------- */
.content-prevnext { padding: 4px 14px; }
.pn-item { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; }
.pn-item + .pn-item { border-top: 1px dashed rgba(255,255,255,.09); }
.pn-label { flex-shrink: 0; font-size: 12px; font-weight: 800; color: var(--c-primary-2); }
.pn-title { font-size: 13.5px; color: #cbd5e1; line-height: 1.6; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pn-item:hover .pn-title { color: var(--c-cyan); }
/* ---------- 404 页面 ---------- */
.nf-page { position: relative; text-align: center; padding: 54px 20px 46px; overflow: hidden; }
.nf-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.nf-orb-1 { width: 230px; height: 230px; left: -80px; top: -70px; background: radial-gradient(circle, rgba(129,140,248,.22), transparent 65%); }
.nf-orb-2 { width: 260px; height: 260px; right: -90px; bottom: -90px; background: radial-gradient(circle, rgba(56,189,248,.14), transparent 65%); }
.nf-star { position: absolute; width: 18px; height: 18px; color: #a5b4fc; opacity: .9; pointer-events: none; animation: nfFloat 3.6s ease-in-out infinite; }
.nf-star-1 { left: 15%; top: 70px; }
.nf-star-2 { right: 16%; top: 104px; width: 12px; height: 12px; animation-delay: .6s; }
@keyframes nfFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(20deg); } }
.nf-code { display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 1; }
.nf-code span { font-size: 96px; font-weight: 900; line-height: 1; letter-spacing: 2px; background: linear-gradient(120deg, #7a84de, #4da8d8 60%, #c9a24e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-crystal { width: 52px; height: 52px; color: #a5b4fc; margin-top: 8px; }
.nf-sub { position: relative; z-index: 1; margin-top: 16px; font-size: 12.5px; color: var(--c-muted); letter-spacing: .22em; }
.nf-title { position: relative; z-index: 1; margin: 8px 0 0; font-size: 22px; font-weight: 800; color: var(--c-text); }
.nf-desc { position: relative; z-index: 1; margin: 10px auto 0; max-width: 330px; font-size: 13.5px; color: var(--c-muted); line-height: 1.75; }
.nf-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.nf-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 118px; padding: 10px 20px; }
.nf-links { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.nf-links a { font-size: 12.5px; font-weight: 600; color: var(--c-primary-2); background: var(--c-primary-soft); padding: 7px 16px; border-radius: 999px; border: 1px solid var(--c-border); transition: transform .18s ease; }
.nf-links a:active { transform: scale(.96); }
.nf-tip { position: relative; z-index: 1; margin-top: 20px; font-size: 12px; color: #94a3b8; }
/* ===== 测算结果：关键信息高亮与综合运势增强 ===== */
.hl-up { color: #4ade80; font-weight: 700; }
.hl-down { color: #f87171; font-weight: 700; }
.hl-warn { color: #d9b45c; font-weight: 700; }
.hl-key { color: #d9b45c; font-weight: 800; }
.ss-points { display: grid; gap: 8px; margin: 12px 0; }
.ss-p { display: flex; gap: 8px; align-items: flex-start; background: rgba(255,255,255,.045); border: 1px solid var(--c-border); border-radius: 10px; padding: 8px 10px; font-size: 13px; line-height: 1.65; }
.ss-p b { flex: 0 0 auto; width: 34px; height: 22px; line-height: 22px; text-align: center; border-radius: 6px; font-size: 12px; color: #0f172a; font-weight: 800; }
.ss-p.up b { background: #68b98e; }
.ss-p.warn b { background: #bfa25f; }
.ss-p.key b { background: #bfa25f; }
.ss-p span { color: inherit; }
.fortune-score-row { flex-wrap: wrap; }
.fs-cmt { flex-basis: 100%; display: block; font-size: 12px; color: var(--c-muted); text-align: right; margin-top: 2px; }
/* ===== 测算结果 v19.1：差异化主题与高级排版 ===== */
.result-page { --rp-accent:#b8863a; --rp-soft:rgba(184,134,58,.12); --rp-deep:rgba(184,134,58,.22); }
.rp-bazi { --rp-accent:#b8863a; --rp-soft:rgba(184,134,58,.12); --rp-deep:rgba(184,134,58,.22); }
.rp-ziwei { --rp-accent:#7d86e0; --rp-soft:rgba(125,134,224,.13); --rp-deep:rgba(125,134,224,.24); }
.rp-tarot { --rp-accent:#9aa3ef; --rp-soft:rgba(154,163,239,.13); --rp-deep:rgba(154,163,239,.24); }
.rp-star { --rp-accent:#4da8d8; --rp-soft:rgba(77,168,216,.12); --rp-deep:rgba(77,168,216,.22); }
.rp-zodiac { --rp-accent:#e06b7d; --rp-soft:rgba(224,107,125,.12); --rp-deep:rgba(224,107,125,.22); }
.rp-name { --rp-accent:#34d399; --rp-soft:rgba(52,211,153,.12); --rp-deep:rgba(52,211,153,.24); }
.rp-number { --rp-accent:#60a5fa; --rp-soft:rgba(96,165,250,.12); --rp-deep:rgba(96,165,250,.24); }
.rp-love { --rp-accent:#e06ba0; --rp-soft:rgba(224,107,160,.12); --rp-deep:rgba(224,107,160,.22); }
.rp-mystic { --rp-accent:#c9a24e; --rp-soft:rgba(201,162,78,.12); --rp-deep:rgba(201,162,78,.22); }

.score-summary { display:block; background:linear-gradient(135deg, var(--rp-soft), transparent 70%); border:1px solid var(--c-border); border-radius:16px; padding:16px; margin-bottom:14px; }
.ss-hero { display:flex; gap:16px; align-items:center; }
.ss-hero-txt { flex:1; min-width:0; }
.ss-kicker { font-size:10.5px; letter-spacing:2.5px; color:var(--c-muted); text-transform:uppercase; }
.ss-level-row { display:flex; align-items:center; gap:10px; margin-top:4px; }
.ss-level { font-style:normal; font-size:22px; font-weight:800; }
.ss-chip { display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:999px; font-size:11.5px; font-weight:700; background:var(--rp-soft); color:var(--rp-accent); }
.ss-desc { margin-top:6px; font-size:12.5px; line-height:1.75; color:var(--c-muted); }
.ss-points { display:grid; grid-template-columns:1fr; gap:8px; margin:14px 0 4px; }
@media (min-width:640px){ .ss-points { grid-template-columns:repeat(3,1fr); } }
.ss-p { display:flex; gap:8px; align-items:flex-start; background:var(--rp-soft); border:1px solid var(--c-border); border-radius:12px; padding:9px 10px; font-size:12.5px; line-height:1.7; }
.ss-p b { flex:0 0 auto; width:34px; height:22px; line-height:22px; text-align:center; border-radius:6px; font-size:12px; color:#0f172a; font-weight:800; }
.ss-p.up b { background:#68b98e; }
.ss-p.warn b { background:#bfa25f; }
.ss-p.key b { background:#bfa25f; }
.ss-p span { color:inherit; }
.scores-bars { margin-top:12px; }
.fortune-score-row { flex-wrap:wrap; }
.fs-cmt { flex-basis:100%; display:block; font-size:11.5px; color:var(--c-muted); text-align:right; margin-top:2px; }

.result-section { border:1px solid var(--c-border); box-shadow:0 6px 22px rgba(0,0,0,.05); }
.result-section .rs-head { padding-left:20px; padding-bottom:8px; }
.result-page .rs-num, .result-page .rs-icon { background:var(--rp-soft); color:var(--rp-accent); }
.result-page .rs-head h3 { position:relative; padding-left:10px; }
.result-page .rs-head h3::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:3px; height:15px; border-radius:2px; background:var(--rp-accent); }
.result-page .rs-score.chip { background:var(--rp-soft); }
.rs-body p { line-height:1.95; margin:8px 0; }
.rs-type-text .rs-body p { text-align:justify; }
.rs-body .hl-up { color:#22c55e; font-weight:700; }
.rs-body .hl-down { color:#ef4444; font-weight:700; }
.rs-body .hl-warn { color:#c9a24e; font-weight:700; }
.rs-body .hl-key { color:var(--rp-accent); font-weight:800; }

.result-page .tip-box { border:1px solid var(--c-border); border-radius:16px; background:var(--rp-soft); }
.result-page .tip-title { color:inherit; }
.result-page .tip-item { background:transparent; border:1px solid var(--c-border); }
.result-page .tip-item b { color:var(--rp-accent); }

/* ===== 测算结果 v19.2：正文段落排版（序列分段 / 首行缩进 / 建议大小字） ===== */
.rs-body p.para { text-indent: 2em; }
.rs-body p.seq-item { text-indent: 0; }
.rs-body p.lbl-para { text-indent: 0; margin: 10px 0 8px; }
.rs-body p.lbl-para .tp-lbl { font-size: 1.18em; font-weight: 800; color: var(--rp-accent, inherit); letter-spacing: .5px; }
.rs-body p.lbl-para .tp-cnt { font-size: .94em; }


/* ===== 资讯文章列表 v19.4：分类链测试 / 元信息置底 / 虚线分隔 ===== */
.home-news-head { margin: 6px 2px 2px; }
.ac-mod-title {
  font-size: 16px; font-weight: 800; color: var(--c-text);
  position: relative; padding-left: 12px; line-height: 1.4;
}
.ac-mod-title::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 15px; border-radius: 3px;
  background: var(--rp-accent, var(--c-primary));
}
.article-list { gap: 0; }
.article-card {
  background: transparent; border: 0 solid transparent; border-radius: 0;
  padding: 14px 4px; gap: 5px;
  border-bottom: 1px dashed var(--c-border);
}
.article-list .article-card:last-child { border-bottom: none; }
.article-card:active { transform: none; }
.article-card:hover { background:rgba(0,0,0,.2)}
.ac-head { display: none; }
.ac-title { margin: 0 0 2px; font-size: 15.5px; font-weight: 700; line-height: 1.5; }
.ac-title a { color: inherit; text-decoration: none; }
.ac-title a:hover { color: var(--rp-accent, var(--c-primary)); }
.ac-title a::before {content: "• ";color: rgba(148,163,184,.14);font-size: 1.2em;font-weight: bold;margin-right: 4px;}
.ac-meta { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; }
.ac-date { font-size: 11.5px; color: var(--c-muted); }
.ac-summary { margin: 0; font-size: 11.5px; color: var(--c-muted); line-height: 1.65; margin-left: 15px;}
.ac-foot, .ac-views, .ac-more { display: none; }
.ac-count { display: none; }



/* ===== v19.5：首页资讯模块边框 / 日期靠右 / 推荐测算溢出修复 ===== */
.home-news-card {
  margin-top: 18px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 14px 14px 4px;
}
.home-news-head { margin: 0 0 2px; }
.home-news-list { padding-bottom: 4px; }
.ac-meta { justify-content: space-between; }
.rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rec-card { min-width: 0; }
.rec-body { min-width: 0; }

/* ============================================================
   结果页可视化组件 v2（ReportViz）
   圆环 / 雷达 / 横向条 / 纵向柱 / 双人对比 / 五行堆叠 / 表格 / 命盘 / 时间轴
   ============================================================ */

/* ---------- 说明文字 ---------- */
.vz-note { font-size: 10.5px; color: var(--c-muted); line-height: 1.7; margin: 6px 0 2px; }
.vz-inline { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 6px 0 10px; }
.vz-inline .vz-ring-item { min-width: 82px; }

/* ---------- 圆环组 ---------- */
.vz-rings { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 10px; margin: 10px 0 12px; }
.vz-ring-item { text-align: center; }
.vz-rings .score-ring { width: 70px; height: 70px; margin: 0 auto; box-shadow: 0 0 16px color-mix(in srgb, var(--ring, #7d86e0) 22%, transparent); }
.vz-rings .score-ring::before { inset: 6px; }
.vz-rings .sr-inner b { font-size: 19px; }
.vz-rings .sr-inner span { font-size: 9px; margin-top: 1px; }
.vz-ring-sub { font-size: 9.5px; color: var(--c-muted); margin-top: 4px; line-height: 1.4; }

/* ---------- 雷达图 ---------- */
.vz-radar {
  display: flex; justify-content: center; align-items: center; margin: 6px 0 4px; padding: 4px;
  border-radius: 16px; background: radial-gradient(circle at 50% 45%, rgba(125,134,224,.10), rgba(255,255,255,.01) 70%);
  border: 1px solid rgba(255,255,255,.05);
}
.vz-radar svg { max-width: 340px; height: auto; }

/* ---------- 横向评分条 ---------- */
.vz-bars { display: flex; flex-direction: column; gap: 7px; margin: 8px 0 10px; }
.vz-bar-row { display: grid; grid-template-columns: 56px 1fr 30px minmax(0, 130px); gap: 8px; align-items: center; }
.vz-bar-label { font-size: 11.5px; color: var(--c-muted); text-align: right; white-space: nowrap; }
.vz-bar-track { height: 9px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.vz-bar-fill { display: block; height: 100%; border-radius: 999px; }
.vz-bar-val { font-size: 11.5px; font-weight: 800; text-align: right; }
.vz-bar-note { font-size: 10px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vz-bar-fill.lv-top, .vz-col-fill.lv-top { background: linear-gradient(90deg, #d9b45c, #f0d08a); }
.vz-bar-fill.lv-good, .vz-col-fill.lv-good { background: linear-gradient(90deg, #34d399, #4ade80); }
.vz-bar-fill.lv-mid, .vz-col-fill.lv-mid { background: linear-gradient(90deg, #4da8d8, #7dd3fc); }
.vz-bar-fill.lv-low, .vz-col-fill.lv-low { background: linear-gradient(90deg, #64748b, #94a3b8); }
.vz-col-fill.lv-top { background: linear-gradient(180deg, #f0d08a, #d9b45c); }
.vz-col-fill.lv-good { background: linear-gradient(180deg, #4ade80, #34d399); }
.vz-col-fill.lv-mid { background: linear-gradient(180deg, #7dd3fc, #4da8d8); }
.vz-col-fill.lv-low { background: linear-gradient(180deg, #94a3b8, #64748b); }
.vz-bar-val.lv-top { color: #d9b45c; }
.vz-bar-val.lv-good { color: #4ade80; }
.vz-bar-val.lv-mid { color: #7dd3fc; }
.vz-bar-val.lv-low { color: #94a3b8; }

/* ---------- 纵向柱状 ---------- */
.vz-cols {
  display: flex; align-items: flex-end; gap: 6px; padding: 8px 6px 0; margin: 8px 0 10px;
  border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05);
  overflow-x: auto;
}
.vz-col { flex: 1; min-width: 40px; height: 100%; display: flex; flex-direction: column; align-items: center; }
.vz-col-top { font-size: 10px; font-weight: 800; margin-bottom: 3px; }
.vz-col-top.lv-top { color: #d9b45c; } .vz-col-top.lv-good { color: #4ade80; }
.vz-col-top.lv-mid { color: #7dd3fc; } .vz-col-top.lv-low { color: #94a3b8; }
.vz-col-track { flex: 1; width: 100%; max-width: 30px; display: flex; align-items: flex-end; background: rgba(255,255,255,.04); border-radius: 6px; overflow: hidden; }
.vz-col-fill { display: block; width: 100%; border-radius: 6px 6px 0 0; min-height: 3px; }
.vz-col-cap { font-size: 9px; color: var(--c-muted); margin-top: 4px; white-space: nowrap; }
.vz-col-sub { font-size: 8.5px; color: #94a3b8; }

/* ---------- 双人对比条 ---------- */
.vz-cmp { margin: 8px 0 10px; }
.vz-cmp-legend { display: flex; gap: 14px; font-size: 11px; color: var(--c-muted); margin-bottom: 6px; }
.vz-cmp-legend span { display: flex; align-items: center; gap: 5px; }
.vz-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.vz-dot-a { background: #7d86e0; } .vz-dot-b { background: #d9b45c; }
.vz-cmp-row { display: grid; grid-template-columns: 66px 1fr 54px; gap: 8px; align-items: center; margin-bottom: 6px; }
.vz-cmp-label { font-size: 11px; color: var(--c-muted); text-align: right; }
.vz-cmp-track { position: relative; height: 13px; border-radius: 999px; background: rgba(255,255,255,.05); overflow: hidden; }
.vz-cmp-a, .vz-cmp-b { position: absolute; left: 0; height: 5px; border-radius: 999px; display: block; }
.vz-cmp-a { top: 1px; background: linear-gradient(90deg, #7d86e0, #a5b4fc); }
.vz-cmp-b { bottom: 1px; background: linear-gradient(90deg, #d9b45c, #f0d08a); }
.vz-cmp-val { font-size: 11px; color: #94a3b8; }
.vz-cmp-val b { color: #a5b4fc; }
.vz-cmp-val em { font-style: normal; color: #64748b; margin: 0 2px; }

/* ---------- 五行堆叠条 ---------- */
.vz-stack { margin: 8px 0 12px; }
.vz-stack-bar { display: flex; height: 22px; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.05); }
.vz-seg { display: flex; align-items: center; justify-content: center; font-size: 9.5px; color: #0b1020; font-weight: 800; min-width: 2px; }
.vz-seg b { opacity: .8; }
.el-木 { background: #34d399; } .el-火 { background: #f87171; } .el-土 { background: #d9b45c; }
.el-金 { background: #e3c87e; } .el-水 { background: #60a5fa; }
.vz-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: 10.5px; color: var(--c-muted); }
.vz-legend span { display: flex; align-items: center; gap: 4px; }
.vz-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* ---------- 表格 ---------- */
.vz-table-wrap { overflow-x: auto; margin: 8px 0 10px; -webkit-overflow-scrolling: touch; }
.vz-table { min-width: 420px; }
.vz-table td { line-height: 1.55; }
.vz-table.vz-left td { text-align: left; }
.vz-table.vz-left td:first-child { white-space: nowrap; }

/* ---------- 三方四正卡片 ---------- */
.vz-sf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 6px 0 10px; }
.vz-sf-card { position: relative; border: 1px solid var(--c-border); border-radius: 14px; padding: 12px; background: rgba(255,255,255,.035); }
.vz-sf-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; }
.vz-sf-head span { font-weight: 800; color: #a5b4fc; }
.vz-sf-head em { font-style: normal; font-size: 10px; color: var(--c-muted); }
.vz-sf-stars { font-size: 11.5px; color: #cbd5e1; margin-top: 6px; line-height: 1.6; min-height: 34px; }
.vz-sf-score { font-size: 20px; font-weight: 800; margin-top: 4px; }
.vz-sf-score i { font-size: 10px; font-style: normal; margin-left: 2px; }
.vz-sf-score.lv-top { color: #d9b45c; } .vz-sf-score.lv-good { color: #4ade80; }
.vz-sf-score.lv-mid { color: #7dd3fc; } .vz-sf-score.lv-low { color: #94a3b8; }

/* ---------- 双方日柱对照 ---------- */
.vz-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin: 10px 0 6px; }
.vz-pair-card { border: 1px solid var(--c-border); border-radius: 14px; padding: 12px; background: rgba(255,255,255,.035); text-align: center; }
.vz-pair-name { font-size: 11px; color: var(--c-muted); }
.vz-pair-gz { display: block; font-size: 22px; color: #f5d9a0; margin: 4px 0; font-weight: 800; }
.vz-pair-card em { font-size: 11px; color: #94a3b8; font-style: normal; }
.vz-pair-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.vz-pair-tags span { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.06); color: #cbd5e1; }
.vz-pair-mid { text-align: center; min-width: 64px; }
.vz-pair-mid b { display: block; font-size: 13px; }
.vz-pair-mid span { font-size: 10.5px; color: var(--c-muted); }
.vz-pair-mid.is-good b { color: #4ade80; }
.vz-pair-mid.is-bad b { color: #f87171; }
.vz-pair-mid.is-mid b { color: #7dd3fc; }

/* ---------- 双人大运时间轴 ---------- */
.vz-tl { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 10px; overflow-x: auto; }
.vz-tl-row { display: flex; gap: 8px; align-items: stretch; }
.vz-tl-name { width: 46px; flex-shrink: 0; font-size: 11.5px; color: var(--c-muted); display: flex; align-items: center; }
.vz-tl-cells { display: grid; grid-template-columns: repeat(8, minmax(46px, 1fr)); gap: 4px; flex: 1; min-width: 440px; }
.vz-tl-cell { border-radius: 8px; padding: 5px 2px; text-align: center; border: 1px solid var(--c-border); background: rgba(255,255,255,.03); }
.vz-tl-cell b { display: block; font-size: 11px; color: #cbd5e1; }
.vz-tl-cell span { display: block; font-size: 8.5px; color: #94a3b8; }
.vz-tl-cell em { display: block; font-size: 8.5px; color: #64748b; font-style: normal; }
.vz-tl-cell.is-good { border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.08); }
.vz-tl-cell.is-bad { border-color: rgba(248,113,113,.3); background: rgba(248,113,113,.07); }

/* ---------- 紫微十二宫盘 ---------- */
.zwb-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; }
.zwb { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, minmax(86px, auto)); gap: 6px; min-width: 520px; }
.zwb-cell {
  position: relative; border-radius: 12px; border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.035); padding: 7px 7px 16px; overflow: hidden;
}
.zwb-cell.is-ming { background: linear-gradient(160deg, rgba(129,140,248,.24), rgba(255,255,255,.03)); border-color: rgba(165,180,252,.5); }
.zwb-cell.is-shen { box-shadow: inset 0 0 0 1px rgba(217,180,92,.35); }
.zwb-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; }
.zwb-name { font-weight: 800; color: #e2e8f0; }
.zwb-branch { color: var(--c-muted); }
.zwb-stars { margin-top: 5px; font-size: 11px; line-height: 1.45; color: #cbd5e1; min-height: 30px; }
.zwb-stars b { display: inline-block; color: #f5d9a0; font-weight: 800; margin-right: 3px; }
.zwb-stars span { display: block; font-size: 9.5px; color: #94a3b8; margin-top: 2px; }
.zwb-stars .zwb-empty { color: #64748b; }
.zwb-hua { font-size: 9.5px; color: #f0abfc; margin-top: 2px; }
.zwb-score { position: absolute; right: 6px; bottom: 4px; font-size: 10.5px; font-weight: 800; }
.zwb-score.lv-top { color: #d9b45c; } .zwb-score.lv-good { color: #4ade80; }
.zwb-score.lv-mid { color: #7dd3fc; } .zwb-score.lv-low { color: #94a3b8; }
.zwb-center {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px;
  border-radius: 14px; padding: 10px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(125,134,224,.20), rgba(255,255,255,.02));
  border: 1px solid rgba(129,140,248,.28);
}
.zwb-title { font-size: 15px; font-weight: 800; color: #c7d2fe; letter-spacing: .12em; }
.zwb-meta { font-size: 10.5px; color: var(--c-muted); line-height: 1.5; }

/* ---------- 响应式 ---------- */
@media (max-width: 560px) {
  .vz-rings { grid-template-columns: repeat(var(--cols-m, 2), 1fr) !important; }
  .vz-rings .score-ring { width: 62px; height: 62px; }
  .vz-rings .sr-inner b { font-size: 17px; }
  .vz-bar-row { grid-template-columns: 46px 1fr 28px; }
  .vz-bar-note { display: none; }
  .vz-sf { grid-template-columns: 1fr; }
  .vz-pair { grid-template-columns: 1fr; }
  .vz-pair-mid { padding: 2px 0; }
  .vz-cmp-row { grid-template-columns: 56px 1fr 48px; }
  .zwb { min-width: 420px; gap: 5px; }
  .zwb-stars { font-size: 10px; }
  .zwb-meta { font-size: 10px; }
}

/* ============================================================
   预览解锁 v1（免费预览 + 付费骨架 + 解锁卡 + AI 生成提示）
   ============================================================ */
.unlock-card {
  margin: 16px 0; padding: 16px; border-radius: 16px;
  background: linear-gradient(155deg, rgba(125,134,224,.18), rgba(217,180,92,.08));
  border: 1px solid rgba(165,180,252,.4);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.unlock-card .uc-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.unlock-card .uc-head b { font-size: 16px; color: #fff; }
.unlock-card .uc-head span { font-size: 11.5px; color: #c7d2fe; }
.uc-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin: 10px 0 12px; }
.uc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4ade80, #7dd3fc); }
.uc-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; font-size: 12px; color: #c7d2fe; }
.uc-price b { font-size: 22px; color: #f5d9a0; }
.uc-price em { font-style: normal; color: #94a3b8; font-size: 11px; }
.uc-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.uc-actions form { margin: 0; }
.uc-actions .btn { min-height: 44px; font-weight: 800; }
.uc-actions .btn[disabled] { opacity: .55; cursor: not-allowed; }
.uc-note { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; font-size: 10.5px; color: #94a3b8; }
.uc-vip { color: #d9b45c; }
@media (max-width: 560px) { .uc-actions { grid-template-columns: 1fr; } }

.result-section.is-locked { position: relative; }
.result-section.is-locked .rs-body { position: relative; max-height: 520px; overflow: hidden; }
.result-section.is-locked .rs-body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,.96));
  pointer-events: none;
}
.locked-skel { position: relative; }
.locked-blur { filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.locked-ai-badge { margin: 0 0 6px; text-align: center; font-size: 10.5px; color: #c7d2fe; letter-spacing: .04em; opacity: .9; position: relative; z-index: 2; }
.locked-skel p, .locked-skel td, .locked-skel .vz-bar-note, .locked-skel .vz-sf-stars, .locked-skel .vz-note {
  filter: blur(4px); opacity: .62; user-select: none; pointer-events: none;
}
.rs-lock-tag {
  font-size: 10px; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(217,180,92,.14); color: #d9b45c; border: 1px solid rgba(217,180,92,.3);
  vertical-align: middle;
}
.rs-lock-meta { font-size: 10.5px; color: #94a3b8; white-space: nowrap; }
.locked-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.1);
  font-size: 11.5px; color: #f5d9a0;
}
.ai-banner {
  display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 14px;
  border-radius: 12px; background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.25);
  color: #bae6fd; font-size: 12px;
}
.ai-banner.is-warn { background: rgba(217,180,92,.08); border-color: rgba(217,180,92,.25); color: #f5d9a0; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: #38bdf8; animation: aiPulse 1.2s infinite; }
@keyframes aiPulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* AI 深度解读块（追加在图表/表格之后） */
.ai-block { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(125,134,224,.25); }
.ai-tag {
  display: inline-block; font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: rgba(125,134,224,.14); color: #c7d2fe;
  border: 1px solid rgba(165,180,252,.25); margin-bottom: 8px;
}

/* 命盘总评：只留强弱标签（方案 C） */
.fs-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,.05); border: 1px solid currentColor;
}
.fs-tag.lv-top { color: #d9b45c; }
.fs-tag.lv-good { color: #4ade80; }
.fs-tag.lv-mid { color: #7dd3fc; }
.fs-tag.lv-low { color: #94a3b8; }

/* 句级语义着色：整句按吉/凶/提醒/建议着色 */
.rs-body .sent { transition: none; }
.rs-body .sent-up { color: #9fd9b8; }
.rs-body .sent-down { color: #e4b0b0; }
.rs-body .sent-warn { color: #d9c58f; }
.rs-body .sent-key { color: #a8c7ee; }

/* 解锁卡：积分/会员状态 */
.uc-balance { font-size: 11.5px; color: #c7d2fe; margin: 0 0 10px; }
.uc-balance b { color: #f5d9a0; }
.uc-balance.is-low { color: #fca5a5; }
.uc-balance.is-low b { color: #fca5a5; }
.uc-member { font-size: 11px; color: #94a3b8; margin-top: 8px; line-height: 1.6; }
.uc-member a { color: #a5b4fc; }

/* 全站八维速览 */
.ss-viz { margin: 14px 0 0; padding: 14px; border: 1px solid rgba(148,163,184,.18); border-radius: 16px; background: rgba(15,23,42,.42); }
.ss-viz-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ss-viz-head b { font-size: 13px; color: #e2e8f0; letter-spacing: .04em; }
.ss-viz-head span { font-size: 10.5px; color: #94a3b8; }
.ss-viz-grid { display: grid; grid-template-columns: 260px 1fr; gap: 14px; align-items: center; }
.ss-viz-radar { min-width: 0; }
.ss-viz-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ss-viz-kpis div { padding: 9px 10px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(148,163,184,.12); }
.ss-viz-kpis span { display: block; font-size: 10px; color: #94a3b8; margin-bottom: 3px; }
.ss-viz-kpis b { font-size: 14px; color: #e2e8f0; font-weight: 700; }
@media (max-width: 640px) {
  .ss-viz-grid { grid-template-columns: 1fr; }
  .ss-viz-radar { max-width: 280px; margin: 0 auto; }
}

/* 章节评分横向对比 */
.chapter-scores { margin: 12px 0 0; padding: 14px; border: 1px solid rgba(148,163,184,.16); border-radius: 16px; background: rgba(15,23,42,.36); }
.cs-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.cs-head b { font-size: 13px; color: #e2e8f0; letter-spacing: .04em; }
.cs-head span { font-size: 10.5px; color: #94a3b8; }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 18px; }
.cs-item { display: grid; grid-template-columns: 74px 1fr 30px; align-items: center; gap: 8px; }
.cs-label { font-size: 11px; color: #cbd5e1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-track { height: 6px; border-radius: 999px; background: rgba(148,163,184,.16); overflow: hidden; }
.cs-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6d8bd8, #8bb8e8); }
.cs-item b { font-size: 11px; color: #cbd5e1; text-align: right; }
@media (max-width: 640px) { .cs-grid { grid-template-columns: 1fr; } }

/* 章节速览条 */
.rs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; }
.rs-meta-label { font-size: 10px; color: #94a3b8; }
.rs-meta-score { display: flex; align-items: center; gap: 6px; margin-right: 4px; }
.rs-meta-track { width: 64px; height: 5px; border-radius: 999px; background: rgba(148,163,184,.16); overflow: hidden; }
.rs-meta-track i { display: block; height: 100%; border-radius: inherit; background: #8bb8e8; }
.rs-meta-score.lv-top .rs-meta-track i { background: #bfa25f; }
.rs-meta-score.lv-good .rs-meta-track i { background: #68b98e; }
.rs-meta-score.lv-mid .rs-meta-track i { background: #8bb8e8; }
.rs-meta-score.lv-low .rs-meta-track i { background: #94a3b8; }
.rs-meta-score b { font-size: 10.5px; color: #cbd5e1; font-weight: 700; }
.rs-meta-chip { font-size: 10px; padding: 2px 7px; border-radius: 999px; color: #cbd5e1; background: rgba(148,163,184,.09); border: 1px solid rgba(148,163,184,.16); }

/* 原始数值条形图 */
.vz-raw-bars { display: flex; flex-direction: column; gap: 7px; margin: 10px 0 12px; }
.vz-raw-row { display: grid; grid-template-columns: 54px 1fr 42px; align-items: center; gap: 8px; }
.vz-raw-row span { font-size: 11px; color: #cbd5e1; }
.vz-raw-track { height: 7px; border-radius: 999px; background: rgba(148,163,184,.16); overflow: hidden; }
.vz-raw-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#6d8bd8,#8bb8e8); }
.vz-raw-row b { font-size: 10.5px; color: #cbd5e1; text-align: right; font-weight: 700; }
/* 六爻卦象 */
.vz-hex { display: flex; flex-direction: column; align-items: center; gap: 7px; margin: 12px 0 14px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.025); }
.vz-hex-line { display: flex; align-items: center; gap: 4px; width: 150px; justify-content: center; position: relative; }
.vz-hex-line i { display: block; height: 7px; border-radius: 2px; background: #8bb8e8; }
.vz-hex-line i.yang { width: 118px; }
.vz-hex-line i.yin { width: 55px; }
.vz-hex-line.is-moving i { background: #bfa25f; box-shadow: 0 0 10px rgba(191,162,95,.35); }
.vz-hex-line em { position: absolute; left: 100%; margin-left: 10px; font-size: 9.5px; color: #94a3b8; white-space: nowrap; font-style: normal; }
.vz-hex-name { margin-top: 4px; font-size: 12px; color: #e2e8f0; font-weight: 700; letter-spacing: .08em; }

/* 资料卡：历史记录提示 */
.form-history-hint { margin: 8px 0 0; text-align: center; font-size: 11.5px; line-height: 1.6; color: #bfa25f; }
.tip-teaser .tip-item span { opacity: .6; }

/* 个人中心：合并列表 + 客服 */
.uc-merged { margin-top: 14px; border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; background: rgba(0,0,0,.12); }
.uc-merged .uc-card { border: 0; border-radius: 0; background: transparent; border-bottom: 1px solid var(--c-border); padding: 13px 16px; }
.uc-merged .uc-card:last-child { border-bottom: 0; }
.uc-merged .uc-card:hover { transform: none; background: rgba(255,255,255,.03); border-color: transparent; border-bottom-color: var(--c-border); }
.uc-merged .uc-card:last-child:hover { border-bottom-color: transparent; }
.uc-logout { margin-top: 16px; }
.uc-contact { text-align: center; margin: 14px 0 4px; }
.uc-contact a { color: var(--c-muted); font-size: 12px; text-decoration: none; letter-spacing: .04em; }
.uc-contact a:hover { color: #a5b4fc; }
.uc-card-wish .uc-ic { background: rgba(165,180,252,.12); color: #a5b4fc; }

.kf-mask { position: fixed; inset: 0; z-index: 9999; background: rgba(2,6,23,.78); display: flex; align-items: center; justify-content: center; padding: 18px; }
.kf-mask[hidden] { display: none; }
.kf-modal { position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; padding: 24px 22px 20px; border-radius: 18px; background: #0f172a; border: 1px solid rgba(165,180,252,.35); box-shadow: 0 24px 70px rgba(0,0,0,.55); text-align: center; }
.kf-modal h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.kf-modal > p { margin: 0 0 16px; font-size: 12px; color: #94a3b8; }
.kf-close { position: absolute; top: 8px; right: 12px; border: 0; background: transparent; color: #94a3b8; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px; }
.kf-close:hover { color: #fff; }
.kf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kf-item img { width: 100%; height: auto; display: block; border-radius: 10px; background: #fff; padding: 6px; }
.kf-item span { display: block; margin-top: 7px; font-size: 12px; color: #cbd5e1; }
@media (max-width: 520px) { .kf-grid { grid-template-columns: 1fr; } .kf-item img { max-width: 220px; margin: 0 auto; } }

/* 首页趣味测试：两行 TAB + 两列卡片 */
.fz-tabs { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin: 12px 0 14px; }
.fz-tab { appearance: none; border: 1px solid var(--c-border); background: rgba(0,0,0,.12); color: var(--c-muted); border-radius: 9px; padding: 9px 4px; font-size: 12px; font-weight: 700; cursor: pointer; transition: .18s ease; }
.fz-tab:hover { color: var(--c-text); border-color: rgba(165,180,252,.35); }
.fz-tab.is-on { color: #fff; border-color: rgba(165,180,252,.65); background: linear-gradient(135deg, rgba(109,139,216,.35), rgba(191,162,95,.16)); box-shadow: 0 0 0 1px rgba(165,180,252,.12) inset; }
.fz-panel[hidden] { display: none; }
.fz-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.fz-more { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding: 0 4px; font-size: 11px; color: #94a3b8; }
.fz-more a { color: #a5b4fc; text-decoration: none; }
@media (max-width: 760px) {
  .fz-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fz-list { grid-template-columns: 1fr; }
}
/* 每日一签神名头像 */
.st2-deities a.hl-link { display: flex; align-items: center; justify-content: flex-start; gap: 5px; border: 0; background: none; padding: 4px 2px; text-align: left; font-size: 11px; border-radius: 8px; min-width: 0; }
.st2-deities a.hl-link:hover { background: rgba(255,255,255,.04); color: #f5c34d; border: 0; }
.hl-ava { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #cbd5e1; font-size: 10px; }
.hl-ava img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hl-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-cols { align-items: stretch; }
.hm-articles { flex: 1; display: flex; flex-direction: column; }

.fz-list .hm-fun-row { border: 1px solid var(--c-border); background: rgba(0,0,0,.12); border-radius: 10px; }
.fz-list .hm-fun-row + .hm-fun-row { border-top: 1px solid var(--c-border); }
.fz-list .hm-fun-row:hover { background: rgba(255,255,255,.035); border-color: rgba(165,180,252,.35); }

