/* 缘分匹对（LYAI-ELEMENT-01）：黑金页面，沿用报告页的卡片（sh-card）与金色变量；手机端单列 */
.mt { gap: 18px; }
.mt h3 { margin: 18px 0 8px; font-size: 1rem; color: var(--gold-1, #f6e2b3); letter-spacing: .06em; }
.mt .sh-h h2 small { display: inline-block; }
.mt-no { display: inline-block; min-width: 2.2em; margin-right: 8px; font-family: var(--serif); color: var(--gold); font-size: .9em; letter-spacing: .04em; }
.mt-hero, .mt-progress { position: relative; overflow: hidden; }
.mt-orbs { position: absolute; right: clamp(8px, 4vw, 40px); top: 18px; width: 120px; height: 120px; pointer-events: none; opacity: .75; }
.mt-orb { position: absolute; width: 38px; height: 38px; border-radius: 50%; top: 41px; left: 41px; animation: mt-orbit 7s linear infinite; }
.mt-orb.a { background: radial-gradient(circle at 35% 35%, #f6e2b3, #e3bd74 55%, rgba(227,189,116,.15)); box-shadow: 0 0 22px rgba(227,189,116,.55); }
.mt-orb.b { background: radial-gradient(circle at 35% 35%, #d7e8ff, #6ea6f0 55%, rgba(110,166,240,.15)); box-shadow: 0 0 22px rgba(110,166,240,.5); animation-delay: -3.5s; }
@keyframes mt-orbit { from { transform: rotate(0deg) translateX(34px) rotate(0deg); } to { transform: rotate(360deg) translateX(34px) rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) { .mt-orb { animation: none; } .mt-orb.a { transform: translateX(-26px); } .mt-orb.b { transform: translateX(26px); } }
.mt-hero .sh-title, .mt-progress .sh-title { padding-right: 130px; }
.mt-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 16px 0 6px; }
.mt-actions form { margin: 0; }
.mt-toc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 18px; margin: 0; padding-left: 1.4em; color: #cfd3dc; }
.mt-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: #cfd3dc; line-height: 1.75; }
.mt-how b { display: inline-block; min-width: 6.5em; color: var(--gold); margin-right: 8px; }

/* 表单 */
.mt-form { display: grid; gap: 18px; }
.mt-form .sh-card { display: grid; gap: 12px; }
.mt-source { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.mt-source legend { font-weight: 600; margin-bottom: 6px; }
.mt-person { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.mt-person[hidden] { display: none; }
.mt-rel { gap: 10px 18px; }
.mt-consent { margin: 0; padding-left: 1.2em; color: #cfd3dc; line-height: 1.75; font-size: .92rem; }
.mt-form textarea { width: 100%; resize: vertical; }
.match-page .suggest { background: #141a2b; border-color: rgba(246,226,179,.22); }
.match-page .suggest li:hover, .match-page .suggest li.active { background: rgba(227,189,116,.14); }

/* 确认页 */
.mt-confirm { display: grid; gap: 10px; margin: 8px 0 14px; }
.mt-confirm-p { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.mt-confirm-p b { color: var(--gold); font-weight: 600; }
.mt-confirm-p span { color: #cfd3dc; word-break: break-all; }
.mt-check-ok { border-left: 3px solid var(--calm, #7fd6a8); padding: 8px 12px; background: rgba(127,214,168,.07); border-radius: 0 10px 10px 0; line-height: 1.75; }
.mt-check-ok b { color: var(--calm, #7fd6a8); font-size: 1.15em; }

/* 进度 */
.mt-steps { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; counter-reset: mt; }
.mt-steps li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); color: var(--muted); counter-increment: mt; }
.mt-steps li b::before { content: counter(mt) ". "; color: var(--gold); }
.mt-steps li.active { color: var(--ink); border-color: rgba(227,189,116,.45); box-shadow: 0 0 0 1px rgba(227,189,116,.15) inset; }
.mt-steps li.active span::after { content: ""; display: inline-block; width: .8em; height: .8em; margin-left: 6px; border-radius: 50%; border: 2px solid var(--gold); border-right-color: transparent; vertical-align: -1px; animation: mt-spin 1s linear infinite; }
.mt-steps li.done { color: var(--ink); }
.mt-steps li.done span { color: var(--calm, #7fd6a8); }
@keyframes mt-spin { to { transform: rotate(360deg); } }

/* 报告 */
.mt-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.mt-diagram { display: block; width: 100%; max-width: 460px; margin: 4px auto 10px; }
.mt-summary { color: #e9e6df; line-height: 1.9; font-size: 1.04rem; }
.mt-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mt-items li { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.mt-items p { margin: 0 0 6px; line-height: 1.85; color: #e2e0da; }
.mt-refs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .78rem; color: var(--muted); }
.mt-ref { display: inline-block; padding: .1em .6em; border-radius: 999px; border: 1px solid rgba(227,189,116,.35); color: var(--gold); text-decoration: none; }
.mt-ref.self { border-color: rgba(110,166,240,.45); color: #9cc3f5; }
.mt-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mt-portrait { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); display: grid; gap: 10px; align-content: start; }
.mt-p-head { display: flex; gap: 12px; align-items: center; }
.mt-p-head > div { display: grid; gap: 2px; }
.mt-sym { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.35rem; color: #f6e2b3; border: 2px solid var(--el, #e3bd74); background: color-mix(in srgb, var(--el, #e3bd74) 18%, transparent); }
.mt-headline { margin: 0; font-family: var(--serif); color: var(--gold-1, #f6e2b3); line-height: 1.6; }
.mt-traits { margin: 0; padding-left: 1.2em; color: #cfd3dc; line-height: 1.75; }
.mt-bars { display: grid; gap: 5px; }
.mt-bar { display: grid; grid-template-columns: 1.6em 1fr 3em; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); }
.mt-bar i { display: block; height: 7px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.mt-bar i b { display: block; height: 100%; border-radius: 99px; }
.mt-bar em { font-style: normal; text-align: right; }
.mt-fold { margin-top: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); padding: 10px 14px; background: rgba(255,255,255,.02); }
.mt-fold summary { cursor: pointer; color: #e2e0da; }
.mt-fold ul, .mt-fold ol { margin: 10px 0 0; padding-left: 1.2em; line-height: 1.75; color: #cfd3dc; }
.mt-fold p { margin: 4px 0; }
.mt-ev blockquote { margin: 6px 0 8px; padding: 6px 12px; border-left: 2px solid rgba(227,189,116,.5); color: #d9d4c6; font-family: var(--serif); background: rgba(227,189,116,.05); }
.mt-ev cite { display: block; margin-top: 4px; font-style: normal; font-family: var(--sans); font-size: .76rem; color: var(--muted); }
.mt-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mt-stages li { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.mt-stages b { color: var(--gold); font-family: var(--serif); }
.mt-stages p { margin: 0; line-height: 1.8; color: #e2e0da; }
.mt-tl { display: grid; gap: 10px; margin-top: 10px; }
.mt-tl-row { display: grid; grid-template-columns: 7.5em 1fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.06); }
.mt-tl-y { color: var(--gold); font-family: var(--serif); }
.mt-tl-who { margin: 0 0 4px; font-size: .78rem; color: var(--muted); }
.mt-tl ul { margin: 0; padding-left: 1em; }
.mt-tl li { margin-bottom: 4px; }
.mt-tl li b { margin-right: 6px; color: #e2e0da; font-weight: 600; }
.mt-tl .up, .mt-tl .down { display: block; font-size: .86rem; }
.mt-tl .up { color: var(--calm, #7fd6a8); }
.mt-tl .down { color: var(--down, #ff8f7a); }
.mt-plan { display: grid; gap: 14px; }
.mt-plan-i { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.mt-sit { margin: 0 0 8px; font-weight: 600; color: var(--gold-1, #f6e2b3); line-height: 1.6; }
.mt-plan-i ol { margin: 0 0 10px; padding-left: 1.3em; line-height: 1.8; color: #e2e0da; }
.mt-plan-i dl { display: grid; grid-template-columns: 3em 1fr; gap: 4px 10px; margin: 0 0 8px; font-size: .9rem; }
.mt-plan-i dt { color: var(--gold); }
.mt-plan-i dd { margin: 0; color: #cfd3dc; line-height: 1.7; }
.mt-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mt-day { padding: 14px 16px; border-radius: 14px; background: linear-gradient(170deg, rgba(227,189,116,.08), rgba(255,255,255,.02)); border: 1px solid rgba(227,189,116,.18); }
.mt-day b { font-family: var(--serif); color: var(--gold-1, #f6e2b3); }
.mt-day ul { margin: 6px 0 0; padding-left: 1.2em; line-height: 1.75; color: #e2e0da; }
.mt-limits { margin: 0 0 10px; padding-left: 1.2em; line-height: 1.8; color: #cfd3dc; font-size: .92rem; }

@media (max-width: 760px) {
  .mt-two, .mt-days, .mt-toc { grid-template-columns: 1fr; }
  .mt-tl-row { grid-template-columns: 1fr; gap: 6px; }
  .mt-stages li { grid-template-columns: 1fr; gap: 4px; }
  .mt-confirm-p { grid-template-columns: 1fr; gap: 2px; }
  .mt-orbs { width: 84px; height: 84px; top: 10px; right: 8px; }
  .mt-orb { width: 28px; height: 28px; top: 28px; left: 28px; }
  .mt-hero .sh-title, .mt-progress .sh-title { padding-right: 76px; }
}
@media print {
  .mt-orbs, .mt-tools, .cs-widget { display: none !important; }
  .mt-fold { break-inside: avoid; }
}
