/* static/v48_zh.css — v48 中文简体 / 台湾繁体两条线（#01 destiny5d · destinytaiwan，A1 tarotmalaysia · tarottaiwan）
 *  ① 图表层（static/destiny_viz.js 画的 figure.vz）② 塔罗首屏真实牌面扇形 ③ 手机点按高度统一 ≥ 44px
 *  配色沿用黑金主题；所有文字与底色对比度 ≥ 4.5:1（大字 ≥ 3:1）。 */

/* ---------- ③ 点按高度：输入框、幽灵按钮、金色按钮 ---------- */
.inp, .btn-ghost, .btn-gold { min-height: 44px; box-sizing: border-box; }
.btn-ghost, .btn-gold { display: inline-flex; align-items: center; justify-content: center; }
.btn-ghost.w-full, .btn-gold.w-full { display: flex; }

/* ---------- ① 图表卡 ---------- */
figure.vz { margin: 14px 0; padding: 12px 12px 10px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 14px;
  background: linear-gradient(180deg, #14110a, #0b0a07); }
figure.vz figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; }
figure.vz figcaption b { color: #f6e27a; font-size: 15px; letter-spacing: .04em; }
figure.vz figcaption span { color: #c9c2b0; font-size: 12px; }
figure.vz svg { display: block; width: 100%; height: auto; max-width: 420px; margin: 0 auto; overflow: visible; }
figure.vz .vz-f { color: #c9c2b0; font-size: 12px; line-height: 1.7; margin: 8px 2px 0; }
.vz-lb { fill: #ece6d6; font-size: 12px; font-weight: 600; }
.vz-mu { fill: #b8b09c; font-size: 12px; }
.vz-on { fill: #f6e27a; font-size: 12px; font-weight: 700; }
.vz-num { fill: #ece6d6; font-size: 12px; font-variant-numeric: tabular-nums; }
.vz-in { fill: #0b0a07; font-size: 12px; font-weight: 700; }
.vz-gz { font-size: 30px; font-weight: 800; font-family: var(--serif, "Noto Serif SC", serif); }
.vz-el { fill: #ece6d6; font-size: 12px; }
.vz-dash { fill: none; stroke: #6d6450; stroke-dasharray: 5 4; }
.vz-track { fill: #1f1b12; }
.vz-pin { fill: #f6e27a; stroke: #0b0a07; stroke-width: 2; }
.vz-pn { fill: #0b0a07; font-size: 12px; font-weight: 800; }
.vz-ring { fill: #100e09; stroke: rgba(212, 175, 55, .55); stroke-width: 1.2; }
.vz-ring2 { fill: none; stroke: rgba(212, 175, 55, .22); stroke-dasharray: 3 4; }
.vz-cd { fill: #f6e27a; font-size: 13px; font-weight: 800; }
.vz-tick { stroke: rgba(212, 175, 55, .5); stroke-width: 1.2; }
.vz-ray { stroke: rgba(246, 226, 122, .75); stroke-width: 1.6; }
.vz-hi { fill: #d4af37; } .vz-lo { fill: #3a3424; } .vz-fut { fill: #2a2416; stroke: rgba(212, 175, 55, .35); }
.vz-cur { fill: #f6e27a; }
.vz-def { fill: #74b4f0; } .vz-att { fill: #f0a35e; } .vz-mid { fill: #8a8270; }
.vz-c1 { fill: rgba(116, 180, 240, .22); stroke: #74b4f0; } .vz-c2 { fill: rgba(240, 138, 107, .22); stroke: #f08a6b; }
.vz-card { fill: #1a1406; font-size: 15px; font-weight: 900; letter-spacing: .14em; }
.vz-card2 { fill: #1a1406; font-size: 13px; font-weight: 800; }
.vz-book path { fill: #1b170c; stroke: #d4af37; stroke-width: 1.4; }
.vz-lines line { stroke: rgba(212, 175, 55, .45); stroke-width: 1.4; }
.vz-leg { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.vz-leg li { display: flex; gap: 8px; align-items: center; color: #ece6d6; font-size: 13px; }
.vz-leg b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #f6e27a; color: #0b0a07; font-size: 12px; }
.vz-deco { margin: 6px 0 12px; } .vz-deco svg { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.vc-lock figure.vz, [id^="vcLock-"] figure.vz { margin: 10px 0 12px; }
.probe-grid > figure.vz { grid-column: 1 / -1; }
@media print { figure.vz { break-inside: avoid; background: #fff; border-color: #b59a55; } .vz-deco { display: none; } }

/* ---------- 首页命盘徽记（#01 未出报告时） ---------- */
.d5-hero { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; margin: 12px 0 4px; }
.d5-hero svg { width: 112px; height: 112px; }
.d5-hero p { margin: 0; color: #ece6d6; font-size: 14px; line-height: 1.7; }
.d5-hero p b { color: #f6e27a; }
#d5.has-report .d5-hero { display: none; }

/* ---------- ② 塔罗首屏真实牌面扇形 ---------- */
.tr-hero { position: relative; height: 150px; margin: 14px auto 2px; max-width: 280px; }
.tr-hero img { position: absolute; top: 6px; left: 50%; width: 78px; height: 135px; object-fit: cover; border-radius: 8px;
  border: 1.5px solid rgba(212, 175, 55, .8); box-shadow: 0 8px 22px rgba(0, 0, 0, .55); background: #0c0b08; }
.tr-hero img:nth-child(1) { transform: translateX(-118%) rotate(-12deg); }
.tr-hero img:nth-child(2) { transform: translateX(-50%) translateY(-4px); z-index: 2; }
.tr-hero img:nth-child(3) { transform: translateX(18%) rotate(12deg); }
.tr-hero-cap { color: #c9c2b0; font-size: 12px; margin-top: 4px; }
/* 真实牌画进牌位：保持 RWS 原图比例，不拉伸 */
.tc-art { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* ---------- 塔罗提问语境锚 ---------- */
.tr-ctx { margin: 12px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(212, 175, 55, .4); background: #12100a; }
.tr-ctx h4 { margin: 0 0 6px; color: #f6e27a; font-size: 15px; }
.tr-ctx p { margin: 0 0 6px; color: #ece6d6; font-size: 14px; line-height: 1.75; }
.tr-ctx ol { margin: 6px 0 0; padding-left: 20px; color: #ece6d6; font-size: 14px; line-height: 1.75; }
.tr-ctx .tiny { color: #c9c2b0; font-size: 12px; }

/* ---------- 塔罗四领域胶囊配代表牌（恋人 · 圣杯二 · 星币八 · 星币九） ---------- */
.tr-chip.tr-chip-art { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; }
.tr-chip-art img { width: 36px; height: 62px; object-fit: cover; border-radius: 4px; border: 1px solid rgba(212, 175, 55, .6); }
.tr-chip-art em { font-style: normal; min-width: 0; }
.tr-steps { margin: 14px 0 0; padding: 10px 8px 6px; } .tr-steps svg { max-width: 360px; }
.vz-doc { float: left; width: 64px; margin: 0 12px 6px 0; } .vz-doc svg { width: 64px; height: 75px; display: block; }

/* ---------- v49 塔罗首页三个顾虑（问家人 · 花多久 · 谁负责） ---------- */
.tr-faq { margin: 14px 0 0; display: grid; gap: 8px; }
.tr-faq > div { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(212, 175, 55, .28); background: #12100a; }
.tr-faq dt { color: #f6e27a; font-weight: 700; font-size: 14px; }
.tr-faq dd { margin: 2px 0 0; color: #ece6d6; font-size: 13px; line-height: 1.7; }

/* ---------- v49 #01 首屏「命局短板与调候补缺」+ 压紧图表 ---------- */
figure.vz.vz-tight { margin: 10px 0; padding: 8px 10px 6px; }
figure.vz.vz-tight figcaption { margin-bottom: 4px; }
figure.vz.vz-gap { margin: 12px 0 8px; padding: 10px 12px 8px; border-color: rgba(240, 138, 107, .55); background: #16110b; }
.gp-row { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: start; margin: 6px 0; }
.gp-k { color: #f6e27a; font-size: 13px; font-weight: 700; line-height: 28px; }
.gp-els { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.gp-el { display: flex; align-items: baseline; justify-content: center; gap: 4px; min-height: 28px; padding: 3px 0; border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, .3); background: #0f0d09; font-size: 14px; }
.gp-el i { font-style: normal; font-weight: 700; } .gp-el b { color: #ece6d6; }
.gp-el.gp-lo { border-color: #f08a6b; background: #2a140e; } .gp-el.gp-lo b { color: #ffb39b; }
.gp-pill { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(240, 138, 107, .6);
  color: #ffcfbf; font-size: 13px; line-height: 22px; }
figure.vz .gp-need, figure.vz .gp-need li { list-style: none; } figure.vz .gp-need { margin: 4px 0 0; padding: 0; font-size: 13px; line-height: 1.65; color: #ece6d6; }
.gp-need b { color: #f6e27a; } .gp-need span { color: #c9c2b0; } .gp-need em { font-style: normal; color: #ffb39b; margin-left: 4px; }

/* ---------- v50 「不准别信 · 3 秒三连盲测验盘」（取代空间方位罗盘） ---------- */
.bt-head h2 { margin: 0; }
.bt-head p { margin: 6px 0 12px; color: #c9c2b0; font-size: 14px; }
.bt-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .bt-grid { grid-template-columns: repeat(3, 1fr); } }
.bt-card { padding: 14px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, .35); background: #12100a; transition: border-color .2s, box-shadow .2s; }
.bt-card.bt-hit { border-color: #f6e27a; box-shadow: 0 0 0 1px #f6e27a inset; }
.bt-top { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; margin-bottom: 8px; }
.bt-top h3 { margin: 2px 0 0; color: #f6e27a; font-size: 17px; }
.bt-no { color: #c9c2b0; font-size: 12px; letter-spacing: .08em; }
.bt-ic { fill: none; stroke: #d4af37; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.bt-dot { fill: #f6e27a; } .bt-ok { fill: none; stroke: #f6e27a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bt-card p, .bt-list { margin: 0 0 8px; color: #ece6d6; font-size: 15px; line-height: 1.75; }
.bt-list { padding-left: 18px; } .bt-list li { margin: 0 0 6px; }
.bt-y { color: #f6e27a; }
.bt-tag, .bt-corner { display: block; color: #c9c2b0; font-size: 12px; line-height: 1.6; }
.bt-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bt-act button { min-height: 44px; border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer; border: 1px solid rgba(212, 175, 55, .6); background: #1a160d; color: #ece6d6; }
.bt-act .bt-yes[aria-pressed="true"] { background: #f6e27a; color: #14110c; border-color: #f6e27a; }
.bt-act .bt-no-btn[aria-pressed="true"] { background: #2a251a; color: #ece6d6; border-color: #8a8270; }
.bt-lock { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; border: 2px solid #f6e27a; background: linear-gradient(180deg, #2a2208, #14110a); text-align: center; }
.bt-lock.on { animation: btglow 1.6s ease-out 1; }
@keyframes btglow { 0% { box-shadow: 0 0 0 0 rgba(246, 226, 122, .7); } 100% { box-shadow: 0 0 0 16px rgba(246, 226, 122, 0); } }
.bt-lock p { margin: 0 0 10px; color: #f6e27a; font-size: 15px; font-weight: 700; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .bt-lock.on { animation: none; } }

/* ---------- v50 图表：一句人话 · 金线焦点 · 可点热区 ---------- */
figure.vz .gp-plain { margin: 4px 0 8px; padding: 8px 10px; border-left: 3px solid #f08a6b; background: rgba(240, 138, 107, .08); color: #ece6d6; font-size: 14px; line-height: 1.75; border-radius: 0 8px 8px 0; }
.vz-gold { fill: none; stroke: #f6e27a; stroke-width: 2.2; stroke-linejoin: round; opacity: .9; }
.vz-node { fill: #5a4c22; } .vz-node-on { fill: #f6e27a; stroke: #14110a; stroke-width: 2; }
.vz-next { fill: #2a2208; stroke: #f6e27a; stroke-width: 1.6; stroke-dasharray: 4 3; }
.vz-hit { fill: transparent; cursor: pointer; } .vz-hit:focus { outline: none; } .vz-hit:focus-visible, .vz-hit.on { fill: rgba(246, 226, 122, .14); stroke: #f6e27a; stroke-width: 1.5; }
figure.vz .vz-pick { margin: 6px 2px 0; min-height: 44px; padding: 8px 10px; border-radius: 10px; background: #12100a; border: 1px solid rgba(212, 175, 55, .3); color: #ece6d6; font-size: 14px; line-height: 1.7; }
