/* shuangbaotai.css — 「雙胞胎為何命運不同」支柱頁專用樣式（暖象牙精品名牌風，沿用 wuxing-yong 色系）。
   本頁走亮色：在 :root 覆蓋 style.css 的暗金 token（本檔在 style.css / article.css 之後載入），
   整頁 chrome（header / footer / .article / .cta-card / .rizhu-card / .faq）自動翻亮；
   共用件沿用 article.css 結構，本檔只覆蓋配色/字體並補本頁專屬元件。 */

:root {
  --bg: #f7f3ec; --bg-card: #ffffff; --bg-input: #fffdf9; --border: #e4ddce;
  --text: #201d18; --text-dim: #6f685c; --gold: #a6824c; --gold-soft: #c0a070;
  --radius: 14px;
  /* 三型雙胞胎語意色 */
  --t-mono:#5a7fb0;   /* 同卵：藍 */
  --t-di:#5b8a63;     /* 異卵：綠 */
  --t-lf:#b45c3f;     /* 龍鳳：緋 */
  /* 大運順逆 */
  --shun:#4f8c5f;     /* 順排 */
  --ni:#b45c3f;       /* 逆排 */
  --lux-serif: 'Cormorant Garamond', 'Noto Serif TC', Georgia, serif;
  --lux-sans: 'Jost', 'Noto Sans TC', 'Helvetica Neue', Arial, sans-serif;
}

body { font-family: var(--lux-sans); }
.article h1, .article h2, .tw-note h2 { font-family: var(--lux-serif); font-weight: 600; }
.article h1 { font-size: 2.2rem; letter-spacing: 0.01em; line-height: 1.32; }
.article h2 { letter-spacing: 0.02em; }
.article .lead { font-size: 1.08rem; }

.tw-sub { color: var(--text-dim); font-size: 0.98rem; margin: 0 0 18px; }

/* 三型雙胞胎卡 */
.tw-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 10px; }
.tw-type {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 3px solid var(--tc); border-radius: 12px; padding: 16px 16px 14px;
}
.tw-type .tw-badge { font-family: var(--lux-sans); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.tw-type h3 { margin: 4px 0 8px; font-family: var(--lux-serif); font-size: 1.5rem; color: var(--tc); font-weight: 600; }
.tw-type p { margin: 0; color: var(--text); font-size: 0.92rem; line-height: 1.8; }
.tw-type p.tw-gene { color: var(--text-dim); font-size: 0.84rem; margin-top: 8px; }

/* 時辰交界圖：兩個寶寶 + 判定 */
.tw-boundary {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 18px 14px; margin: 8px 0 10px;
}
.tw-babies { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; }
.tw-baby { text-align: center; }
.tw-baby .tw-clock { font-family: var(--lux-serif); font-size: 1.7rem; color: var(--text); font-weight: 600; }
.tw-baby .tw-hour { display: inline-block; margin-top: 6px; font-size: 0.8rem; color: #fffdf9; background: var(--bh); padding: 3px 12px; border-radius: 999px; letter-spacing: 0.08em; }
.tw-vs { display: grid; place-items: center; color: var(--gold-soft); font-family: var(--lux-serif); font-size: 1.1rem; border-left: 1px dashed var(--gold-soft); border-right: 1px dashed var(--gold-soft); padding: 0 12px; }
.tw-verdict { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--bg-input); border: 1px solid var(--border); border-left: 3px solid var(--gold-soft); color: var(--text-dim); font-size: 0.95rem; line-height: 1.85; }
.tw-verdict b { color: var(--gold); }

/* 龍鳳胎鏡像大運 */
.tw-mirror { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 10px; }
.tw-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 3px solid var(--pc); border-radius: 12px; padding: 16px 18px 14px; text-align: center;
}
.tw-panel .tw-who { font-family: var(--lux-serif); font-size: 1.3rem; color: var(--text); font-weight: 600; }
.tw-panel .tw-dir { display: inline-block; margin: 8px 0 4px; font-family: var(--lux-serif); font-size: 1.6rem; color: var(--pc); font-weight: 600; letter-spacing: 0.14em; }
.tw-panel .tw-arrow { font-size: 1.4rem; color: var(--pc); }
.tw-panel p { margin: 8px 0 0; color: var(--text-dim); font-size: 0.86rem; line-height: 1.8; }
.tw-mirror-note { margin: 4px 0 10px; padding: 14px 18px; border-radius: 12px; background: var(--bg-input); border: 1px solid var(--border); border-left: 3px solid var(--t-lf); color: var(--text-dim); font-size: 0.96rem; line-height: 1.9; }
.tw-mirror-note b { color: var(--t-lf); }

/* 同盤分岔點：編號清單 */
.tw-splitters { list-style: none; counter-reset: sp; padding: 0; margin: 6px 0 10px; }
.tw-splitters li {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px 14px 56px; margin: 0 0 10px; counter-increment: sp;
  color: var(--text); font-size: 0.95rem; line-height: 1.85;
}
.tw-splitters li::before {
  content: counter(sp); position: absolute; left: 14px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fffdf9;
  display: grid; place-items: center; font-family: var(--lux-serif); font-weight: 600; font-size: 1rem;
}
.tw-splitters li b { color: var(--gold); font-weight: 600; }
.tw-splitters li .tw-real { display: block; margin-top: 4px; color: var(--text-dim); font-size: 0.88rem; }

/* 誠實話 */
.tw-note {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-input));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; margin: 10px 0 8px;
}
.tw-note h2 { margin-top: 0; }
.tw-note p { color: var(--text-dim); }
.tw-note b { color: var(--gold); }

@media (max-width: 560px) {
  .tw-types { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .article h1 { font-size: 1.82rem; }
  .tw-babies { grid-template-columns: 1fr; }
  .tw-vs { border: none; border-top: 1px dashed var(--gold-soft); border-bottom: 1px dashed var(--gold-soft); padding: 8px 0; }
  .tw-mirror { grid-template-columns: 1fr; }
}
