/* divination-liuyao.css — 六爻伏神+摇卦仪式+断卦提示+五行色+六神色+排盘概要+排盘响应式 */
/* ── 三十一、无障碍动画降级 ── */
@media (prefers-reduced-motion: reduce) {
  .div-coin.toss-1,
  .div-coin.toss-2,
  .div-coin.toss-3 { animation-duration: 0.3s; }
  .div-yao-line.reveal { animation-duration: 0.2s; }
  .div-tianpan-ring.rotating { transition-duration: 0.2s; }
  .div-energy-burst,
  .div-ripple { animation: none; }
  .div-bagua-deco { animation: none; }
  .div-sanchuan-step.highlight { animation: none; }
  .div-qimen-cell.yongshen { animation: none; }
  .div-yao-line.changing.yang,
  .div-yao-line.changing.yin span { animation: none; }
}

/* ═══════════════════════════════════════════════════════
 * 三十二、六爻专业排盘 · 纳甲六亲表格
 * ═══════════════════════════════════════════════════════ */

/* 排盘主容器 */
.div-paipan-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* 本卦变卦双栏对比布局 */
.div-gua-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.div-gua-compare-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 12px 0;
  color: var(--div-text-tertiary);
  gap: 8px;
}
.div-gua-compare-arrow .arrow-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--div-purple), transparent);
  border-radius: 1px;
}
.div-gua-compare-arrow .arrow-text {
  font-size: 11px;
  color: var(--div-purple);
  font-weight: 600;
  writing-mode: vertical-lr;
  letter-spacing: 3px;
}

/* 单卦排盘表 */
.div-paipan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

/* 卦名表头 */
.div-paipan-header {
  text-align: center;
  padding: 14px 8px 10px;
  position: relative;
}
.div-paipan-gua-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--div-purple), #8B5CF6, var(--div-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.div-paipan-gua-sub {
  font-size: 11px;
  color: var(--div-text-tertiary);
  margin-top: 2px;
}
.div-paipan-gong-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--div-gold-soft);
  color: var(--div-gold);
  font-weight: 600;
  margin-top: 6px;
}

/* 爻行 */
.div-paipan-row {
  display: grid;
  grid-template-columns: 28px 28px auto 60px 28px;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 10px;
  transition: background 0.2s;
  position: relative;
}
.div-paipan-row:hover {
  background: rgba(108, 92, 231, 0.04);
}
/* 动爻行高亮 */
.div-paipan-row.is-changing {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.12);
  margin: -1px 0;
}
/* 世应行微标记 */
.div-paipan-row.is-shi {
  border-left: 3px solid var(--div-gold);
  padding-left: 5px;
}
.div-paipan-row.is-ying {
  border-left: 3px solid var(--div-purple);
  padding-left: 5px;
}

/* 六神列 */
.div-paipan-shen {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  padding: 2px 0;
  line-height: 1.3;
}

/* 六亲列 */
.div-paipan-liuqin {
  font-family: 'Noto Serif SC', serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* 爻线列 */
.div-paipan-yao {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  position: relative;
}
/* 阳爻 ━━━ */
.div-paipan-yao-yang {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--div-gold), var(--div-gold-light));
  box-shadow: 0 1px 6px rgba(212, 149, 12, 0.2);
}
/* 阴爻 ━ ━ */
.div-paipan-yao-yin {
  width: 100%;
  display: flex;
  gap: 8px;
}
.div-paipan-yao-yin span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--div-gold), var(--div-gold-light));
  box-shadow: 0 1px 6px rgba(212, 149, 12, 0.2);
}

/* 动爻闪烁标记 */
.div-paipan-yao.is-dong::after {
  content: '○';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #a78bfa;
  animation: divDongPulse 1.5s ease-in-out infinite;
}
@keyframes divDongPulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateY(-50%) scale(1.3); }
}

/* 纳甲地支列 */
.div-paipan-dizhi {
  font-family: 'Noto Serif SC', serif;
  font-size: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.div-paipan-dizhi .dz-main {
  font-weight: 700;
  color: var(--div-text-primary);
}
.div-paipan-dizhi .dz-wx {
  font-size: 9px;
  font-weight: 500;
}

/* 世应标记列 */
.div-paipan-shying {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.div-paipan-shying.shi {
  background: var(--div-gold-soft);
  color: var(--div-gold);
  border: 1.5px solid rgba(212, 149, 12, 0.3);
}
.div-paipan-shying.ying {
  background: var(--div-purple-soft);
  color: var(--div-purple);
  border: 1.5px solid rgba(108, 92, 231, 0.3);
}

/* 上下卦分隔线 */
.div-paipan-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
  margin: 4px 0;
}

/* ── 三十三、伏神展示 ── */
.div-fushen-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.04);
  border: 1px solid rgba(139, 92, 246, 0.08);
  margin-bottom: 10px;
  font-size: 13px;
  transition: all 0.2s ease;
}
.div-fushen-card:hover {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.15);
}
.div-fushen-label {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  color: #a78bfa;
  min-width: 40px;
  padding: 3px 8px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
}
.div-fushen-info {
  color: var(--div-text-secondary);
  flex: 1;
  line-height: 1.5;
}

/* ── 三十四、摇卦仪式感增强 ── */

/* 摇卦氛围光效 — 增强 */
.div-ritual-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 149, 12, 0.12), rgba(108, 92, 231, 0.04) 50%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
  z-index: 0;
}
.div-ritual-glow.active {
  opacity: 1;
  animation: ritualGlowPulse 1.8s ease-in-out;
}
@keyframes ritualGlowPulse {
  0% { transform: scale(0.7); opacity: 0; }
  30% { transform: scale(1.3); opacity: 1; }
  70% { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(1); opacity: 0; }
}

/* （进度弧已融入法阵，不再需要独立进度环） */

/* 铜钱区紧凑版 */
.div-coin-arena {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 6px 0 8px;
  align-items: center;
}

/* 铜钱落点涟漪 */
.div-coin-ripple {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 149, 12, 0.3);
  width: 70px;
  height: 70px;
  animation: coinRippleExpand 1s ease-out forwards;
  pointer-events: none;
}
@keyframes coinRippleExpand {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* 卦象揭幕 — 太极旋转特效 */
@keyframes taijiFadeReveal {
  0% { transform: rotate(0deg) scale(0.5); opacity: 0; filter: blur(8px); }
  50% { transform: rotate(180deg) scale(1.1); opacity: 0.8; filter: blur(2px); }
  100% { transform: rotate(360deg) scale(1); opacity: 1; filter: blur(0); }
}
.div-hex-reveal-taiji {
  animation: taijiFadeReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 爻位金色扫光动画 */
@keyframes yaoSweepGold {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.div-paipan-yao-yang.sweep,
.div-paipan-yao-yin span.sweep {
  background: linear-gradient(90deg,
    var(--div-gold) 0%, var(--div-gold) 30%,
    #ffe066 50%,
    var(--div-gold) 70%, var(--div-gold) 100%);
  background-size: 200% 100%;
  animation: yaoSweepGold 1.2s ease-in-out;
}

/* 爻位依次渐入（六爻排盘专用） */
.div-paipan-row.reveal-in {
  opacity: 0;
  transform: translateX(-10px);
  animation: paipanRowIn 0.5s ease-out forwards;
}
@keyframes paipanRowIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── 三十五、断卦提示条 ── */
.div-duangua-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.06), rgba(139, 92, 246, 0.03));
  border: 1px solid rgba(108, 92, 231, 0.1);
  font-size: 13px;
  color: var(--div-purple);
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.04);
}
.div-duangua-hint i {
  font-size: 18px;
  flex-shrink: 0;
  color: #a78bfa;
}

/* ── 三十六、五行颜色工具类 ── */
.wx-jin { color: #F39C12; }
.wx-mu { color: #27AE60; }
.wx-shui { color: #3498DB; }
.wx-huo { color: #E74C3C; }
.wx-tu { color: #8B6914; }

.wx-bg-jin { background: rgba(243, 156, 18, 0.1); }
.wx-bg-mu { background: rgba(39, 174, 96, 0.1); }
.wx-bg-shui { background: rgba(52, 152, 219, 0.1); }
.wx-bg-huo { background: rgba(231, 76, 60, 0.1); }
.wx-bg-tu { background: rgba(139, 105, 20, 0.1); }

/* ── 三十七、六神颜色 ── */
.shen-qinglong { color: #27AE60; }
.shen-zhuque { color: #E74C3C; }
.shen-gouchen { color: #8B6914; }
.shen-tengshe { color: #E67E22; }
.shen-baihu { color: #95A5A6; }
.shen-xuanwu { color: #2980B9; }

/* ══════════════════════════════════════════════════
   摇卦状态提示文字（精致紧凑版）
   ══════════════════════════════════════════════════ */
.div-shake-hint {
  font-family: 'Noto Serif SC', serif;
  font-size: 12px;
  color: var(--div-text-secondary);
  text-align: center;
  padding: 4px 10px;
  opacity: 0;
  transition: opacity 0.4s;
  letter-spacing: 1.5px;
  line-height: 1.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
/* 装饰性引号 — 更含蓄 */
.div-shake-hint::before,
.div-shake-hint::after {
  content: '❝';
  font-size: 16px;
  color: var(--div-gold);
  opacity: 0.2;
  position: absolute;
  font-family: serif;
  line-height: 1;
}
.div-shake-hint::before {
  top: -2px;
  left: 6px;
  content: '❝';
}
.div-shake-hint::after {
  bottom: -2px;
  right: 6px;
  content: '❞';
}
.div-shake-hint.visible {
  opacity: 1;
}
/* 打字机逐字淡入动画 */
.div-shake-hint .hint-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  animation: hintCharIn 0.35s ease-out forwards;
}
@keyframes hintCharIn {
  0% { opacity: 0; transform: translateY(6px) scale(0.9); }
  60% { opacity: 1; transform: translateY(-1px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* 完成态特殊样式 */
.div-shake-hint.hint-complete {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--div-gold), #e8a006, var(--div-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hintCompleteGlow 2s ease-in-out infinite;
}
.div-shake-hint.hint-complete::before,
.div-shake-hint.hint-complete::after {
  opacity: 0.35;
  color: var(--div-purple);
}
@keyframes hintCompleteGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

/* 铜钱结果简述 — 紧凑药丸式 */
.div-coin-result-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--div-text-secondary);
  text-align: center;
  margin-top: 6px;
  min-height: 20px;
  transition: all 0.4s ease;
  letter-spacing: 1px;
  font-family: 'Noto Serif SC', serif;
  padding: 3px 14px;
  border-radius: 8px;
  display: inline-block;
}
.div-coin-result-text.yang {
  color: var(--div-gold);
  background: rgba(212, 149, 12, 0.06);
}
.div-coin-result-text.yin {
  color: var(--div-purple);
  background: rgba(108, 92, 231, 0.06);
}
.div-coin-result-text.changing {
  color: #e8505b;
  font-weight: 700;
  background: rgba(232, 80, 91, 0.06);
  animation: divChangingPulse 1.5s ease-in-out infinite;
}
@keyframes divChangingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 80, 91, 0); }
  50% { box-shadow: 0 0 0 4px rgba(232, 80, 91, 0.08); }
}

/* ── 三十九、排盘信息概要条 ── */
.div-paipan-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 16px 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
}
.div-paipan-info-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--div-text-secondary);
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.div-paipan-info-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}
.div-paipan-info-tag i {
  font-size: 14px;
}

/* ── 四十、六爻排盘响应式 ── */
@media (max-width: 640px) {
  /* 手机端对比布局改为横向滚动，保持左右对比 */
  .div-gua-compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
  }
  .div-gua-compare > div { min-width: 180px; }
  /* 如果切换到竖向模式 */
  .div-gua-compare.vertical-mode {
    grid-template-columns: 1fr;
    gap: 16px;
    overflow-x: visible;
  }
  .div-gua-compare.vertical-mode > div { min-width: 0; }
  .div-gua-compare.vertical-mode .div-gua-compare-arrow {
    flex-direction: row;
    padding: 8px 0;
    writing-mode: horizontal-tb;
  }
  .div-gua-compare.vertical-mode .div-gua-compare-arrow .arrow-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--div-purple), transparent);
  }
  .div-gua-compare.vertical-mode .div-gua-compare-arrow .arrow-text {
    writing-mode: horizontal-tb;
    letter-spacing: 2px;
  }
  .div-paipan-row {
    grid-template-columns: 24px 24px auto 50px 24px;
    gap: 4px;
    padding: 6px;
  }
  .div-paipan-shen { font-size: 9px; }
  .div-paipan-liuqin { font-size: 11px; }
  .div-paipan-dizhi .dz-main { font-size: 11px; }
  .div-paipan-dizhi .dz-wx { font-size: 8px; }
  .div-paipan-shying { width: 24px; height: 24px; font-size: 9px; }
  .div-paipan-gua-name { font-size: 18px; }
}

@media (max-width: 380px) {
  .div-paipan-row {
    grid-template-columns: 20px 20px auto 44px 20px;
    gap: 3px;
    padding: 5px 4px;
  }
  .div-paipan-shen { font-size: 8px; }
  .div-paipan-liuqin { font-size: 10px; }
  .div-coin-arena { gap: 14px; }
  .div-coin-arena .div-coin { width: 56px; height: 56px; }
}

/* ═══════════════════════════════════════
   四十二、天机断卦 — 结果展示系统
   ═══════════════════════════════════════ */

/* 天机断卦容器 */
.tianji-result {
  position: relative;
}

/* 吉凶总判徽章 */
.tianji-verdict {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  position: relative;
}
.tianji-verdict-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  position: relative;
  z-index: 1;
  animation: verdictPulse 2s ease-in-out infinite;
}
.tianji-verdict.ji .tianji-verdict-icon { background: rgba(46, 204, 113, 0.15); color: #2ECC71; border: 2px solid rgba(46, 204, 113, 0.3); }
.tianji-verdict.xiong .tianji-verdict-icon { background: rgba(231, 76, 60, 0.15); color: #E74C3C; border: 2px solid rgba(231, 76, 60, 0.3); }
.tianji-verdict.ping .tianji-verdict-icon { background: rgba(52, 152, 219, 0.15); color: #3498DB; border: 2px solid rgba(52, 152, 219, 0.3); }

.tianji-verdict-text {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 4px;
}
.tianji-verdict.ji .tianji-verdict-text { color: #2ECC71; }
.tianji-verdict.xiong .tianji-verdict-text { color: #E74C3C; }
.tianji-verdict.ping .tianji-verdict-text { color: #3498DB; }

.tianji-verdict-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.3;
  z-index: 0;
}
.tianji-verdict.ji .tianji-verdict-glow { background: #2ECC71; }
.tianji-verdict.xiong .tianji-verdict-glow { background: #E74C3C; }
.tianji-verdict.ping .tianji-verdict-glow { background: #3498DB; }

@keyframes verdictPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* 六步进度指示器 */
.tianji-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
  padding: 0 16px;
}
.tianji-step-dot {
  display: flex;
  align-items: center;
  position: relative;
}
.tianji-step-dot .dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--step-color);
  opacity: 0.7;
  box-shadow: 0 0 8px var(--step-color);
  flex-shrink: 0;
}
.tianji-step-dot .dot-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--step-color), rgba(255,255,255,0.1));
  opacity: 0.3;
}

/* 六步断卦卡片 */
.tianji-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tianji-step-card {
  background: var(--div-glass-bg);
  border: 1px solid var(--div-glass-border);
  border-radius: 14px;
  padding: 16px 18px;
  opacity: 0;
  animation: stepCardIn 0.5s ease-out forwards;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tianji-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--step-color);
  opacity: 0.6;
  border-radius: 3px 0 0 3px;
}
.tianji-step-card:hover {
  border-color: var(--step-color);
  box-shadow: 0 0 20px color-mix(in srgb, var(--step-color) 15%, transparent);
}

@keyframes stepCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.tianji-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tianji-step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.tianji-step-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--div-text-primary);
  flex: 1;
}
.tianji-step-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid;
  font-weight: 500;
}
.tianji-step-body {
  font-size: 13px;
  line-height: 1.85;
  color: var(--div-text-secondary);
  padding-left: 42px;
}

/* ═══ 关键词高亮系统 ═══ */
.tianji-kw {
  font-weight: 600;
  padding: 0 2px;
  border-radius: 3px;
}
.tianji-kw.kw-ji { color: #2ECC71; background: rgba(46, 204, 113, 0.08); }
.tianji-kw.kw-xiong { color: #E74C3C; background: rgba(231, 76, 60, 0.08); }
.tianji-kw.kw-state { color: #F39C12; }
.tianji-kw.kw-relation { color: #3498DB; background: rgba(52, 152, 219, 0.06); }
.tianji-kw.kw-term { color: var(--div-purple); font-weight: 700; }
.tianji-kw.kw-shen { color: var(--div-gold); }
.tianji-kw.kw-liuqin { color: #a78bfa; }
.tianji-kw.kw-book {
  font-family: 'Noto Serif SC', serif;
  font-style: italic;
  color: var(--div-gold);
  opacity: 0.85;
}
.tianji-kw.kw-quote {
  font-family: 'Noto Serif SC', serif;
  font-style: italic;
  color: var(--div-text-primary);
  border-left: 2px solid var(--div-gold);
  padding-left: 6px;
  margin-left: 2px;
}

/* ═══ 问事类型选择器 ═══ */
.tianji-qtype-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.tianji-qtype-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 500;
  color: var(--div-text-tertiary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.tianji-qtype-tag i { font-size: 12px; }
.tianji-qtype-tag:hover {
  color: var(--div-gold);
  border-color: rgba(232, 160, 6, 0.25);
  background: rgba(232, 160, 6, 0.06);
}
.tianji-qtype-tag.active {
  color: var(--div-gold);
  border-color: rgba(232, 160, 6, 0.4);
  background: rgba(232, 160, 6, 0.1);
  box-shadow: 0 0 12px rgba(232, 160, 6, 0.1);
}

/* ═══ 天机断卦 — 响应式 ═══ */
@media (max-width: 480px) {
  .tianji-step-body { padding-left: 0; margin-top: 8px; }
  .tianji-step-header { gap: 8px; }
  .tianji-step-num { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; }
  .tianji-verdict-icon { width: 48px; height: 48px; font-size: 24px; }
  .tianji-verdict-text { font-size: 16px; }
  .tianji-qtype-tag { padding: 5px 10px; font-size: 11px; }
  .tianji-steps-indicator .dot-line { width: 16px; }
}

/* ── 四十一、无障碍动画降级补充 ── */
@media (prefers-reduced-motion: reduce) {
  .div-ritual-glow.active { animation: none; }
  .div-hex-reveal-taiji { animation: none; opacity: 1; transform: none; filter: none; }
  .div-paipan-yao-yang.sweep,
  .div-paipan-yao-yin span.sweep { animation: none; }
  .div-paipan-row.reveal-in { animation: none; opacity: 1; transform: none; }
  .div-paipan-yao.is-dong::after { animation: none; }
  .div-coin-ripple { animation: none; }
  .tianji-step-card { animation: none; opacity: 1; transform: none; }
  .tianji-verdict-icon { animation: none; }
}

/* ═══════════════════════════════════════════════════
   四十三、设备自适应交互样式
   ═══════════════════════════════════════════════════ */

