/* 走进化学命理 · 产品界面（UI 优化版）：首页、讲解播放器、分析等待（人生走势）、单页报告、客服充值挂件。
   叠加在 app.css / brand.css / cosmos.css 之后；沿用深空底色与金色点缀，只改展示层。 */
:root { --h-top: 64px; --gold: #e3bd74; --gold-soft: rgba(227,189,116,.16); --up: #e9c46a; --down: #ff8f7a; --flux: #6fb6ff; --calm: #7fd6a8; }

/* ---------------- 首页 ---------------- */
body.home2 main { max-width: none; padding: 0; }
body.home2 .foot { max-width: 1120px; margin: 0 auto; }
.h-hero { position: relative; min-height: calc(100svh - var(--h-top)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 420px); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vh, 48px) clamp(20px, 5vw, 72px); overflow: hidden; }
.h-stage { position: absolute; inset: 0; z-index: 0; }
.h-stage canvas { width: 100%; height: 100%; display: block; }
.h-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 90% at 30% 50%, transparent 40%, rgba(4,6,12,.55) 100%), linear-gradient(90deg, rgba(4,6,12,.35), transparent 30%, transparent 62%, rgba(4,6,12,.45)); }
.h-copy { position: relative; z-index: 1; align-self: end; max-width: 620px; padding-bottom: clamp(8px, 4vh, 40px); }
.h-eyebrow { letter-spacing: .32em; font-size: .82rem; color: var(--gold); margin: 0 0 10px; }
.h-title { font-family: var(--serif); font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; margin: 0 0 18px; letter-spacing: .08em; }
.h-lead { font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.85; color: #d9dbe2; margin: 0 0 22px; max-width: 560px; }
.h-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.h-play { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; border-radius: 999px; border: 1px solid rgba(246,226,179,.45); background: rgba(10,14,26,.55); color: var(--gold-1); font-size: 1rem; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.h-play:hover { background: rgba(227,189,116,.16); transform: translateY(-1px); }
.h-play .tri { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #1a1408; font-size: .8rem; box-shadow: 0 0 18px rgba(227,189,116,.45); }
.h-dur { color: var(--muted); font-size: .88rem; }
.h-caption { margin: 26px 0 10px; min-height: 3.2em; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; color: #f3ead6; transition: opacity .5s; }
.h-caption.fade { opacity: 0; }
.h-beats { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; flex-wrap: wrap; }
.h-beats li { font-size: .78rem; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08); transition: all .4s; }
.h-beats li.on { color: #1a1408; background: var(--gold); border-color: var(--gold); }
.h-form { position: relative; z-index: 2; align-self: center; padding: 26px 26px 20px; border-radius: 22px; background: linear-gradient(160deg, rgba(20,28,48,.86), rgba(10,14,26,.9)); border: 1px solid rgba(246,226,179,.18); box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.h-form h2 { margin: 0 0 4px; font-size: 1.35rem; }
.h-form .h-form-sub { margin: 0 0 16px; color: var(--muted); font-size: .88rem; }
.h-form fieldset { margin: 0 0 10px; }
.h-form label { font-size: .9rem; }
.h-form .btn.wide { margin-top: 8px; padding: 14px; font-size: 1.05rem; }
.h-form .fine { font-size: .76rem; color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
/* 首页输入窗口紧凑一些：桌面端一屏内放得下整张表单 */
.h-form.form { gap: 9px; padding: 22px 24px 16px; }
.h-form.form h2 { font-size: 1.25rem; }
.h-form .h-form-sub { margin: -4px 0 4px; }
.h-form.form label { gap: 4px; font-size: .88rem; }
.h-form.form input[type=text], .h-form.form input[type=date], .h-form.form input[type=time], .h-form.form select { padding: .45em .7em; }
.h-form .radio-row legend { font-size: .88rem; margin-bottom: 4px; }
.h-form .seg label { padding: 6px 14px; }
.h-form #place-info { font-size: .74rem; font-weight: 400; }
.h-form .btn.wide { margin-top: 4px; padding: 12px; }
@media (min-width: 961px) and (max-height: 820px) { .h-form .check-line { font-size: .82rem; } .h-form.form { gap: 7px; } }
.h-form details.more { margin: 2px 0 6px; }
.h-form details.more summary { cursor: pointer; color: var(--muted); font-size: .85rem; }
@media (max-width: 960px) {
  .h-hero { display: block; padding: 0; min-height: 0; }
  .h-stage { position: relative; height: 46svh; min-height: 300px; }
  .h-copy { position: relative; margin-top: -96px; padding: 0 20px 4px; max-width: none; }
  .h-title { font-size: 2.4rem; margin-bottom: 10px; }
  .h-lead { font-size: .95rem; line-height: 1.7; margin-bottom: 14px; }
  .h-caption { display: none; }
  .h-beats { display: none; }
  .h-form { margin: 18px 16px 28px; padding: 22px 18px 16px; }
}

/* ---------------- 讲解播放器 ---------------- */
.intro-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(3,5,10,.86); backdrop-filter: blur(6px); padding: 16px; }
.intro-modal[hidden] { display: none; }
.intro-player { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: 86vh; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 120% at 40% 40%, #0d1528, #04060c); border: 1px solid rgba(246,226,179,.2); box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.intro-player canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-title { position: absolute; left: 22px; top: 16px; margin: 0; font-family: var(--serif); color: var(--gold-1); letter-spacing: .2em; font-size: .9rem; opacity: .85; }
.intro-sub { position: absolute; left: 6%; right: 6%; bottom: 64px; margin: 0; text-align: center; font-size: clamp(.95rem, 1.7vw, 1.25rem); line-height: 1.7; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.9); font-family: var(--serif); }
.intro-ctrl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.intro-ctrl button { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: .85rem; }
.intro-bar { flex: 1; height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden; }
.intro-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.intro-note { position: absolute; right: 18px; top: 16px; margin: 0; font-size: .75rem; color: var(--muted); }

/* ---------------- 分析等待：人生走势扫描 ---------------- */
body.trend-page main { max-width: none; padding: 0; }
.tr-stage { min-height: calc(100svh - var(--h-top)); display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: clamp(18px, 4vh, 40px) clamp(16px, 5vw, 64px) 28px; max-width: 1280px; margin: 0 auto; }
.tr-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tr-head h1 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.tr-head p { margin: 6px 0 0; color: var(--muted); }
.tr-pct { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-1); line-height: 1; }
.tr-chart { position: relative; border-radius: 22px; background: linear-gradient(180deg, rgba(14,20,36,.92), rgba(6,9,18,.95)); border: 1px solid rgba(246,226,179,.14); box-shadow: 0 30px 80px rgba(0,0,0,.45); min-height: 340px; overflow: hidden; }
.tr-chart canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr-legend { position: absolute; left: 18px; top: 14px; display: flex; gap: 14px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.tr-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.tr-note { position: absolute; right: 18px; top: 14px; font-size: .75rem; color: rgba(154,163,181,.8); }
.tr-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; }
.tr-steps li { position: relative; padding: 12px 12px 10px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); font-size: .86rem; color: var(--muted); transition: all .4s; }
.tr-steps li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); margin-bottom: 9px; }
.tr-steps li.active { color: var(--ink); border-color: rgba(227,189,116,.35); }
.tr-steps li.active::before { background: linear-gradient(90deg, var(--gold) var(--p, 40%), rgba(255,255,255,.1) 0); animation: tr-run 1.4s linear infinite; }
.tr-steps li.done { color: var(--ink); }
.tr-steps li.done::before { background: var(--gold); }
.tr-steps li b { font-weight: 500; }
@keyframes tr-run { 0% { --p: 10%; opacity: .6; } 50% { opacity: 1; } 100% { --p: 90%; opacity: .6; } }
.tr-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.tr-reveal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(3,5,10,.72); backdrop-filter: blur(4px); padding: 16px; }
.tr-reveal[hidden] { display: none; }
.tr-reveal .box { width: min(520px, 100%); text-align: center; padding: 32px 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(20,28,48,.95), rgba(10,14,26,.97)); border: 1px solid rgba(246,226,179,.25); box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.tr-reveal h2 { margin: 6px 0 10px; font-size: 1.6rem; }
.tr-reveal .stats { display: flex; justify-content: center; gap: 28px; margin: 18px 0 22px; }
.tr-reveal .stats b { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-1); line-height: 1.1; }
.tr-reveal .stats span { font-size: .82rem; color: var(--muted); }
.tr-reveal .btn-row { justify-content: center; }
@media (max-width: 760px) {
  .tr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-chart { min-height: 300px; }
  .tr-legend { display: none; }
}

/* ---------------- 单页报告（汇报单） ---------------- */
body.sheet-page main { max-width: 1040px; }
.sh { display: grid; gap: 22px; }
.sh-card { border-radius: 22px; background: linear-gradient(170deg, rgba(20,28,48,.78), rgba(10,14,26,.86)); border: 1px solid rgba(255,255,255,.08); padding: clamp(20px, 3.2vw, 36px); box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.sh-top { position: relative; overflow: hidden; border-color: rgba(246,226,179,.22); }
.sh-top::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 120% at 100% 0%, rgba(227,189,116,.16), transparent 60%); }
.sh-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--muted); font-size: .86rem; margin: 0 0 14px; }
.sh-meta .tag { color: var(--gold); letter-spacing: .2em; }
.sh-title { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.sh-headline { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.55; color: #f6ecd4; margin: 16px 0 12px; }
.sh-intro { color: #cfd3dc; line-height: 1.85; margin: 0 0 18px; }
.sh-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 4px; }
.sh-kpi { border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.sh-kpi b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold-1); line-height: 1.15; }
.sh-kpi span { color: var(--muted); font-size: .82rem; }
.sh-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); font-size: .88rem; }
.sh-tools form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.sh-tools input[type=text] { width: 180px; padding: 6px 10px; }
.sh-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.sh-h h2 { margin: 0; font-size: 1.35rem; }
.sh-h h2 small { font-family: var(--sans, inherit); font-size: .8rem; color: var(--muted); font-weight: 400; margin-left: 8px; letter-spacing: 0; }
.sh-h .sh-n { color: var(--muted); font-size: .85rem; }
.sh-findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sh-find { border-radius: 16px; padding: 16px 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-left: 3px solid var(--gold); }
.sh-find .dom { font-size: .78rem; color: var(--gold); letter-spacing: .12em; }
.sh-find h3 { margin: 4px 0 8px; font-size: 1.08rem; }
.sh-find p { margin: 0; color: #d3d7df; line-height: 1.75; font-size: .95rem; }
.sh-find .lim { margin-top: 8px; color: var(--muted); font-size: .82rem; }
.sh-empty { color: var(--muted); line-height: 1.8; }
.sh-years svg { width: 100%; height: auto; display: block; margin: 0 0 14px; }
.sh-ylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-y { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.sh-y .yr { font-family: var(--serif); font-size: 1.35rem; color: #f6ecd4; line-height: 1.1; }
.sh-y .yr small { display: block; margin-top: 6px; font-family: inherit; font-size: .74rem; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; width: max-content; }
.sh-y.favorable .yr small { background: rgba(233,196,106,.16); color: var(--up); }
.sh-y.caution .yr small { background: rgba(255,143,122,.15); color: var(--down); }
.sh-y.change .yr small { background: rgba(111,182,255,.15); color: var(--flux); }
.sh-y.current { border-color: rgba(227,189,116,.4); }
.sh-y h3 { margin: 0 0 4px; font-size: 1rem; }
.sh-y p { margin: 0; color: #cfd3dc; line-height: 1.7; font-size: .93rem; }
.sh-advice ol { margin: 0; padding-left: 1.3em; line-height: 1.9; color: #d6d9e0; }
.sh-advice p { line-height: 1.85; color: #d6d9e0; }
.sh-film { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.sh-film h2 { margin: 0 0 4px; font-size: 1.2rem; }
.sh-film p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 640px; line-height: 1.7; }
.sh-fine { color: var(--muted); font-size: .8rem; line-height: 1.75; }
.sh-fine p { margin: 0 0 6px; }
details.sh-fb > summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .sh-findings { grid-template-columns: 1fr; }
  .sh-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sh-kpi { padding: 10px; }
  .sh-kpi b { font-size: 1.4rem; }
  .sh-y { grid-template-columns: 1fr; gap: 6px; }
}
@media print {
  .topbar, .foot, .cs-widget, .sh-tools, .sh-film, details.sh-fb { display: none !important; }
  .sh-card { box-shadow: none; background: #fff; color: #111; border-color: #ddd; }
}

/* ---------------- 客服 · 充值挂件 ---------------- */
.cs-widget { position: fixed; right: 18px; bottom: 18px; z-index: 70; }
.cs-widget > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: #1a1408; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.2) inset; }
.cs-widget > summary::-webkit-details-marker { display: none; }
.cs-widget > summary .dot { width: 26px; height: 26px; border-radius: 50%; background: #1a1408; color: var(--gold-1); display: grid; place-items: center; font-size: .8rem; }
.cs-widget .cs-panel { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(320px, calc(100vw - 36px)); padding: 18px; border-radius: 18px; background: linear-gradient(170deg, rgba(22,30,52,.98), rgba(10,14,26,.98)); border: 1px solid rgba(246,226,179,.25); box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.cs-panel h3 { margin: 0 0 6px; font-size: 1.05rem; }
.cs-panel .small { color: #cfd3dc; line-height: 1.6; }
.cs-panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 10px 0; font-size: .9rem; }
.cs-panel dt { color: var(--muted); }
.cs-panel dd { margin: 0; word-break: break-all; user-select: all; }
.cs-panel .qr { display: block; width: 160px; height: 160px; margin: 8px auto; background: #fff; border-radius: 12px; padding: 6px; }
.cs-panel .topup { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(227,189,116,.1); border: 1px solid rgba(227,189,116,.25); font-size: .86rem; line-height: 1.6; color: #f3e6c4; }
.cs-panel .topup b { display: block; color: var(--gold-1); margin-bottom: 2px; }
.cs-preview { position: relative; min-height: 420px; border-radius: 16px; background: linear-gradient(160deg, #0d1528, #050811); border: 1px dashed rgba(255,255,255,.12); overflow: hidden; }
.cs-preview .cs-widget { position: absolute; }
.adm .cs-form { display: grid; gap: 12px; max-width: 680px; }
.adm .cs-form label { display: grid; gap: 6px; }
.adm .cs-form textarea, .adm .cs-form input[type=text] { width: 100%; }

.sh-note { margin: 14px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
/* 手机号输入框与其他输入框同样大小（个人中心「更换手机号」） */
.form input[type=tel] { font: inherit; font-weight: 400; padding: .6em .8em; width: 100%; }
details.sh-fb:not([open]) { padding-top: 16px; padding-bottom: 16px; }

/* ELEMENT-12 人生百年走势报告（卡片间距沿用 .sh 的网格间距） */
.cy-unlock .cy-get { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .cy-unlock .cy-get { grid-template-columns: 1fr; } }
.cy-unlock .cy-get li { border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; color: var(--muted); font-size: .9rem; line-height: 1.6; background: rgba(255,255,255,.02); }
.cy-unlock .cy-get b { display: block; color: var(--gold-1); font-weight: 600; margin-bottom: 2px; }
.cy-price { font-size: 1rem; margin: 18px 0 8px; }
.cy-price b { font-size: 2rem; color: var(--gold-1); font-family: var(--serif, serif); margin-right: 4px; }
.cy-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.cy-progress { text-align: center; max-width: 720px; margin: 0 auto; }
.cy-spinner { width: 46px; height: 46px; margin: 22px auto; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--gold-2); animation: cy-spin 1s linear infinite; }
@keyframes cy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cy-spinner { animation: none; } }
.cy-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 10px; }
.cy-mode { font: inherit; font-size: .9rem; padding: .35em 1em; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); color: var(--muted); cursor: pointer; }
.cy-mode.on { color: #1b1408; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); border-color: transparent; font-weight: 600; }
.cy-trend { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; margin-left: 6px; }
.cy-legend .lg.trend { width: 18px; height: 2px; background: rgba(246,226,179,.75); vertical-align: 3px; border-radius: 1px; }
.cy-legend .lg.unknown { width: 16px; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.25); }
.century-page[data-mode="bar"] .traj-only, .century-page:not([data-mode="bar"]) .bar-only { display: none; }
.century-page[data-mode="traj"] .cy-canvas-wrap { height: 430px; }
.cy-domains { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.cy-dom { font: inherit; font-size: .82rem; padding: .25em .8em; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: var(--muted); cursor: pointer; }
.cy-dom.on { color: var(--gold-1); border-color: rgba(246,226,179,.55); background: rgba(246,226,179,.08); }
.cy-legend .lg.solid { width: 18px; height: 3px; background: #e9c46a; vertical-align: 3px; }
.cy-legend .lg.dotted { width: 18px; height: 0; border-top: 2px dotted rgba(233,196,106,.8); vertical-align: 3px; border-radius: 0; }
.cy-legend .lg.ev-up { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid #e9c46a; border-radius: 0; background: none; }
.cy-legend .lg.ev-down { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 9px solid #ff8f7a; border-radius: 0; background: none; }
.cy-dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cy-dlist li { border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.015); }
.cy-dlist li b { color: var(--gold-1); margin-right: 8px; }
.cy-dlist li p { margin: 6px 0 0; line-height: 1.7; font-size: .9rem; }
@media (max-width: 640px) { .century-page[data-mode="traj"] .cy-canvas-wrap { height: 400px; } .cy-dlist { grid-template-columns: 1fr; } }
.century-page[data-mode="bar"] .cont-only { display: none; }
.cy-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 12px; }
.cy-controls .btn.small { padding: .32em .9em; min-width: 2.4em; }
.cy-goto { display: inline-flex; gap: 6px; align-items: center; }
.cy-goto input { width: 8.5em; padding: .35em .6em; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); color: var(--ink); font: inherit; font-size: .9rem; }
.cy-ext { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; margin-left: auto; }
.cy-canvas-wrap { position: relative; height: 340px; border-radius: 14px; background: rgba(3,6,14,.45); border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.cy-canvas-wrap canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline: none; }
.cy-canvas-wrap canvas:active { cursor: grabbing; }
.cy-canvas-wrap canvas:focus-visible { box-shadow: inset 0 0 0 2px rgba(246,226,179,.5); }
.cy-legend { color: var(--muted); margin: 10px 0 0; line-height: 2; }
.cy-legend .lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: -1px; }
.cy-legend .lg:first-child { margin-left: 0; }
.cy-legend .lg.up { background: #e9c46a; } .cy-legend .lg.down { background: #ff8f7a; } .cy-legend .lg.both { background: #d9dde6; }
.cy-legend .lg.flat { background: rgba(207,211,220,.45); height: 3px; vertical-align: 2px; } .cy-legend .lg.move { background: #6fb6ff; border-radius: 50%; }
.cy-detail { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.cy-d-h { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-bottom: 8px; }
.cy-d-h b { font-size: 1.35rem; color: var(--gold-1); font-family: var(--serif, serif); }
.cy-d-h span { color: var(--muted); font-size: .9rem; }
.cy-ev { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 8px; }
.cy-ev li { line-height: 1.6; }
.cy-chip { display: inline-block; font-size: .78rem; padding: 1px 8px; border-radius: 999px; margin-right: 8px; border: 1px solid rgba(255,255,255,.16); color: var(--muted); white-space: nowrap; }
.cy-chip.favorable { color: #f3d58a; border-color: rgba(233,196,106,.45); background: rgba(233,196,106,.08); }
.cy-chip.caution { color: #ffb2a3; border-color: rgba(255,143,122,.45); background: rgba(255,143,122,.08); }
.cy-chip.change { color: #a9d3ff; border-color: rgba(111,182,255,.45); background: rgba(111,182,255,.08); }
.cy-chip.mixed { color: #d9dde6; }
.cy-none { color: var(--muted); margin: 6px 0 10px; }
.cy-d-nav { display: flex; gap: 10px; margin-top: 10px; }
.cy-stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cy-stage { border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 16px; cursor: pointer; background: rgba(255,255,255,.015); }
.cy-stage:hover { border-color: rgba(246,226,179,.3); }
.cy-st-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.cy-st-h b { color: var(--gold-1); }
.cy-st-h span { color: var(--muted); font-size: .88rem; }
.cy-stage p { margin: 6px 0 0; line-height: 1.7; }
.cy-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#cy-turning .sh-y { cursor: pointer; }
.cy-howto ul { margin: 0; padding-left: 1.2em; color: var(--muted); line-height: 1.8; font-size: .92rem; }
.cy-table summary { cursor: pointer; color: var(--gold-1); }
.cy-table table { margin-top: 12px; font-size: .86rem; }
.cy-table tr.flat td { color: var(--muted); }
.cy-entry .btn { white-space: nowrap; }
@media (max-width: 640px) {
  .cy-canvas-wrap { height: 300px; }
  .cy-ext { margin-left: 0; }
  .cy-goto input { width: 7.5em; }
}
@media print { .cy-controls, .cy-d-nav { display: none !important; } }

/* ELEMENT-13 百年命局反应研究报告 */
.rs-dec { border-top: 1px solid rgba(255,255,255,.07); padding: 8px 0; }
.rs-dec summary { cursor: pointer; color: var(--gold-1); }
.rs-yl { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.rs-yl li { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.015); }
.rs-yl li.empty { opacity: .7; }
.rs-yh { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.rs-yh b { color: var(--gold-1); font-size: 1.05rem; }
.rs-yh span { color: var(--muted); font-size: .86rem; }
.rs-yl ul, .rs-card ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.rs-j { line-height: 1.6; }
.rs-badge { font-size: .74rem; padding: 0 6px; border-radius: 6px; border: 1px dashed rgba(217,221,230,.5); color: #d9dde6; }
.rs-tablewrap { overflow-x: auto; }
.rs-macro th small { color: var(--muted); font-weight: 400; }
.rs-macro td.favorable { color: #f3d58a; } .rs-macro td.caution { color: #ffb2a3; } .rs-macro td.mixed { color: #d9dde6; } .rs-macro td.unknown { color: rgba(154,163,181,.55); }
.rs-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rs-card { border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.015); }
.rs-card h3 { margin: 0; font-size: 1.15rem; color: var(--gold-1); }
.rs-card h3 small { color: var(--muted); font-size: .8rem; font-weight: 400; margin-left: 8px; }
.rs-card li { font-size: .88rem; line-height: 1.6; }
.rs-jz, .rs-fav { margin: 6px 0 0; padding-left: 1.1em; line-height: 1.8; }

/* ELEMENT-14 首页两个入口与化学剧本百年报告 */
.h-entries { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 4px; }
@media (min-width: 560px) { .h-entries { grid-template-columns: 1fr 1fr; } }
.btn.h-script { background: linear-gradient(135deg, rgba(186,140,255,.28), rgba(110,170,255,.22)); border: 1px solid rgba(214,190,255,.55); color: #efe6ff; }
.btn.h-script:hover { border-color: rgba(230,214,255,.85); }
/* LYAI-ELEMENT-01：缘分匹对入口（链接到双人表单，不提交单人表单） */
.btn.h-match { text-align: center; background: linear-gradient(135deg, rgba(227,189,116,.26), rgba(240,124,98,.18)); border: 1px solid rgba(246,226,179,.55); color: #fbefd2; }
.btn.h-match:hover { border-color: rgba(246,226,179,.9); }
.sc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; }
.sc-legend .lg::before { content: ''; display: inline-block; width: 12px; height: 9px; margin-right: 5px; border-radius: 2px; vertical-align: middle; }
.sc-legend .lg.o::before { background: rgba(243,213,138,.7); }
.sc-legend .lg.c::before { background: rgba(255,155,133,.7); }
.sc-legend .lg.u::before { background: rgba(154,163,181,.3); }
.sc-legend .lg.mo::before, .sc-legend .lg.mc::before, .sc-legend .lg.mx::before { display: none; }
.sc-legend .lg.mo { color: #f3d58a; } .sc-legend .lg.mc { color: #ff9b85; } .sc-legend .lg.mx { color: #e6b3ff; }
.sc-chart-wrap { width: 100%; overflow: hidden; }
#sc-canvas { display: block; width: 100%; cursor: crosshair; }
.sc-domain, .sc-stage { border-top: 1px solid rgba(255,255,255,.07); padding: 8px 0; }
.sc-domain summary, .sc-stage summary { cursor: pointer; }
.sc-natal, .sc-timed, .sc-roles, .sc-keys, .sc-stars { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.sc-natal li, .sc-roles li, .sc-keys > li { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.02); line-height: 1.65; }
.sc-natal li.contested, .rs-j.contested { box-shadow: inset 3px 0 0 rgba(230,179,255,.7); }
.sc-keys ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.sc-advice { color: #c9e7ff; }
.h-form .h-entries { grid-template-columns: 1fr; }
.sc-legend .lg { white-space: nowrap; flex: 0 0 auto; display: inline-flex; align-items: center; }
/* app.css 的全局 .lg 是 14px 的色块：化学剧本图例里还原为普通文字项 */
.sc-legend .lg { width: auto; height: auto; border: 0; border-radius: 0; margin: 0; vertical-align: baseline; }

/* ELEMENT-15：化学百年报告的人生 K 线 */
.skl .skl-wrap { height: 380px; }
.skl .skl-wrap canvas { touch-action: pan-y pinch-zoom; }
.skl-legend .lg.k-up { background: none; border: 1.5px solid #e9c46a; }
.skl-legend .lg.k-down { background: #ff8f7a; }
.skl-legend .lg.k-flat { background: rgba(207,211,220,.38); height: 3px; vertical-align: 2px; }
.skl-legend .lg.k-both { background: #c9b6ff; transform: rotate(45deg); width: 8px; height: 8px; }
.skl-legend .lg.k-move { background: #6fb6ff; border-radius: 50%; }
.skl-legend .lg.k-turn { width: 0; height: 0; background: none; border-radius: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid #e3bd74; }
.skl-legend .lg.b-up { background: rgba(233,196,106,.28); }
.skl-legend .lg.b-down { background: rgba(255,143,122,.28); }
.skl-legend .lg.b-both { background: repeating-linear-gradient(135deg, rgba(201,182,255,.45) 0 2px, transparent 2px 5px); }
.cy-chip.both { color: #d8ccff; border-color: rgba(201,182,255,.45); background: rgba(201,182,255,.10); }
@media (max-width: 640px) { .skl .skl-wrap { height: 320px; } }

/* ELEMENT-16：化学剧本报告（第一级）——沿用普通报告的结论卡片，加人生阶段分布条 */
.sc1 .sc-find h3 { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.sc1 .sc-find h3 + p { margin-bottom: 8px; }
.sc1 .sc-find.both { border-left-color: #c9b6ff; }
.sc1 .sc-find .cy-chip { margin-right: 8px; }
.sc1 .sc-life { border-left-color: rgba(111,182,255,.7); }
.sc-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 8px 0 10px; }
.sc-ph { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: .76rem; line-height: 1.35; text-align: center; }
.sc-ph b { font-weight: 600; color: #cfd4de; }
.sc-ph i { font-style: normal; color: var(--muted); }
.sc-ph.favorable { background: rgba(233,196,106,.12); border-color: rgba(233,196,106,.35); } .sc-ph.favorable i { color: #f3d58a; }
.sc-ph.caution { background: rgba(255,143,122,.12); border-color: rgba(255,143,122,.35); } .sc-ph.caution i { color: #ffb2a3; }
.sc-ph.both { background: repeating-linear-gradient(135deg, rgba(201,182,255,.16) 0 4px, rgba(201,182,255,.06) 4px 8px); border-color: rgba(201,182,255,.4); } .sc-ph.both i { color: #d8ccff; }
.sc-ph.change { background: rgba(111,182,255,.10); border-color: rgba(111,182,255,.3); } .sc-ph.change i { color: #a9d3ff; }
.sc-life-items { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: .88rem; color: #c3c8d3; line-height: 1.6; }
.sc-more { margin-top: 14px; }
.sc-more > summary { cursor: pointer; color: var(--gold); font-size: .92rem; margin-bottom: 12px; }
@media (max-width: 640px) { .sc-ph { font-size: .7rem; padding: 5px 1px; } }

/* ELEMENT-17：元素宇宙（个人元素空间与评分卡） */
.uv-id { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.uv-avatar-wrap { display: flex; justify-content: center; }
.uv-avatar { width: 220px; height: 220px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.45)); }
.uv-el { color: #d3d7df; margin: 6px 0 10px; }
.uv-el b { color: #f6ecd4; font-family: var(--serif); font-size: 1.1rem; }
.uv-phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.uv-ph { display: flex; flex-direction: column; gap: 3px; font-size: .8rem; color: var(--muted); }
.uv-ph i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); position: relative; overflow: hidden; }
.uv-ph i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c); border-radius: 3px; }
.uv-ph b { color: #e6e9ef; font-weight: 600; }
.uv-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.uv-score { border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.uv-score h3 { margin: 0 0 10px; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.uv-score.pending { opacity: .85; }
.uv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.uv-pair span { display: block; font-size: .8rem; color: var(--muted); }
.uv-big { font-family: var(--serif); font-size: 2.4rem; line-height: 1.1; color: #f3d58a; }
.uv-big.care { color: #ffb2a3; }
.uv-big.muted { color: var(--muted); font-size: 1.6rem; }
.uv-dims { list-style: none; padding: 0; margin: 12px 0 6px; display: grid; gap: 6px; }
.uv-dims li { display: grid; grid-template-columns: 4.6em 1fr 1fr 4.2em; gap: 8px; align-items: center; font-size: .84rem; }
.uv-dn { color: #cfd4de; }
.uv-dims small { color: var(--muted); text-align: right; }
.uv-pend { grid-column: span 3; color: var(--muted); font-size: .8rem; }
.uv-bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.uv-bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; }
.uv-bar.a::after { background: #e9c46a; } .uv-bar.c::after { background: #ff8f7a; }
.uv-src { margin-top: 10px; font-size: .86rem; color: #c3c8d3; }
.uv-src > summary { cursor: pointer; color: var(--gold); }
.uv-src ul { padding-left: 1.2em; line-height: 1.7; }
.uv-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.uv-mod { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.12); color: var(--muted); text-decoration: none; }
.uv-mod b { color: #d9dde6; }
.uv-mod span { font-size: .84rem; line-height: 1.55; }
.uv-mod i { font-style: normal; font-size: .76rem; color: var(--muted); }
.uv-mod.open { border-style: solid; border-color: rgba(233,196,106,.45); background: rgba(233,196,106,.06); }
.uv-mod.open i { color: #f3d58a; }
.uv-pick { display: grid; gap: 10px; }
.uv-pick .uv-opt { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); cursor: pointer; }
.uv-pick .uv-opt input[type=radio] { width: auto; height: auto; margin: 0; grid-row: span 2; accent-color: #e3bd74; }
.uv-pick .uv-opt span { color: #e6e9ef; font-weight: 600; }
.uv-pick .uv-opt small { color: var(--muted); }
.uv-pick .uv-opt:has(input:checked) { border-color: rgba(233,196,106,.55); background: rgba(233,196,106,.07); }
.uv-note { text-align: center; margin: 18px 0; }
@media (max-width: 760px) {
  .uv-id { grid-template-columns: 1fr; text-align: center; gap: 12px; }
  .uv-phases { text-align: left; }
  .uv-scores { grid-template-columns: 1fr; }
  .uv-avatar { width: 180px; height: 180px; }
}

/* ELEMENT-17-02：人生纪事（时间轴、表单）与百年 K 线上的真实经历标记层 */
.chr-ov { position: absolute; inset: 0; pointer-events: none; }
.chr-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: #cff7f1; margin-left: 6px; cursor: pointer; }
.chr-toggle input { accent-color: #7fe3d6; }
.chr-detail { margin: 12px 0 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(127,227,214,.35); background: rgba(127,227,214,.06); }
.chr-detail ul { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 6px; }
.chr-detail li b { color: #e9fbf8; }
.chr-detail li small { color: var(--muted); margin-left: 8px; }
.chr-detail li p { margin: 2px 0 0; white-space: pre-wrap; color: #cfd4de; font-size: .9rem; }
.chr-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.chr-h small { color: var(--muted); }
.chr-mark { width: 10px; height: 10px; transform: rotate(45deg); border: 1.6px solid #7fe3d6; display: inline-block; }
.uvc-form .uvc-when { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.uvc-form select, .uvc-form input[type=date], .uvc-form textarea { font: inherit; font-weight: 400; padding: .6em .8em; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink); width: 100%; }
.uvc-decades { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.uvc-decades a { text-decoration: none; }
.uvc-years { display: grid; gap: 14px; }
.uvc-year h3 { margin: 0 0 6px; font-size: 1.05rem; display: flex; align-items: baseline; gap: 10px; }
.uvc-year h3 small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.uvc-year ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.uvc-year li { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-left: 3px solid #7fe3d6; }
.uvc-item-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.uvc-item-h small { color: var(--muted); }
.uvc-year li p { margin: 6px 0 0; white-space: pre-wrap; color: #d3d7df; line-height: 1.7; font-size: .93rem; }
.uvc-acts { display: flex; gap: 14px; margin-top: 6px; }
@media (max-width: 640px) { .uvc-form .uvc-when { grid-template-columns: 1fr; } }

/* ELEMENT-17-03：人生策略实验室（向导、行动方案、任务勾选、复盘节点） */
.st .cy-get { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st .cy-get li { border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; color: var(--muted); font-size: .9rem; line-height: 1.6; background: rgba(255,255,255,.02); }
.st .cy-get b { display: block; color: var(--gold-1); font-weight: 600; margin-bottom: 2px; }
.st-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.st-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.st-list a { text-decoration: none; }
.st-new h2 { font-size: 1.08rem; margin: 26px 0 8px; color: #f6ecd4; }
.st-new .form label.st-opt, .st-opts .st-opt, .st-goals .st-opt { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); cursor: pointer; font-weight: 400; }
.st-opt input[type=radio] { width: auto; height: auto; margin: 4px 0 0; accent-color: #e3bd74; }
.st-opt > span { display: flex; flex-direction: column; gap: 3px; color: #e6e9ef; }
.st-opt .cy-chip { margin: 0 0 0 8px; vertical-align: 1px; }
.st-new textarea, .st-review-form textarea { font: inherit; font-weight: 400; padding: .6em .8em; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink); width: 100%; }
.st-opt b { font-weight: 600; }
.st-opt small { color: var(--muted); line-height: 1.55; }
.st-opt:has(input:checked) { border-color: rgba(233,196,106,.55); background: rgba(233,196,106,.07); }
.st-opts { display: grid; gap: 10px; }
.st-goals { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-new .form label.check-line { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.st-new .form label.check-line input { width: auto; margin-top: 4px; }
.st-style { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 10px 0; }
.st-style > span { color: var(--muted); font-size: .9rem; }
.st-chron { margin: 14px 0; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(127,227,214,.3); background: rgba(127,227,214,.04); }
.st-chron > summary { cursor: pointer; color: #cff7f1; }
.st-chron-list { display: grid; gap: 6px; margin-top: 8px; }
.st-goalbox { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: rgba(233,196,106,.05); border: 1px solid rgba(233,196,106,.25); }
.st-goalbox ul { margin: 6px 0; padding-left: 1.2em; line-height: 1.75; }
.st-two, .st-three { display: grid; gap: 16px; margin-top: 12px; }
.st-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-two h3, .st-three h3, .st-assume h3 { font-size: .98rem; margin: 0 0 6px; color: #f6ecd4; display: flex; flex-direction: column; gap: 2px; }
.st-two h3 small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.st-two ul, .st-three ul, .st-assume ul { margin: 0; padding-left: 1.2em; line-height: 1.75; color: #d3d7df; font-size: .93rem; }
.st-two li small { color: var(--muted); }
.st-assume { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(111,182,255,.05); border: 1px solid rgba(111,182,255,.22); }
.st-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; margin: 4px 0 14px; }
.st-bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, #e9c46a, #f3d58a); border-radius: 4px; transition: width .3s; }
.st-week { margin-top: 18px; }
.st-week h3 { margin: 0 0 8px; font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.st-week h3 small { color: var(--muted); font-weight: 400; font-size: .84rem; }
.st-tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.st-task { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-left: 3px solid rgba(233,196,106,.5); }
.st-task.done { border-left-color: #7fd18b; background: rgba(127,209,139,.05); }
.st-task.done .st-check span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.3); }
.st-task-form { margin: 0; }
.st-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 600; color: #e9ecf2; line-height: 1.6; }
.st-check input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: #7fd18b; }
.st-meta { display: grid; gap: 3px; margin: 6px 0 0 28px; font-size: .86rem; color: #c3c8d3; line-height: 1.6; }
.st-meta b { color: var(--muted); font-weight: 400; margin-right: 6px; }
.st-note { margin: 6px 0 0 28px; color: #cff7f1; }
.st-note-edit { margin: 4px 0 0 28px; font-size: .86rem; }
.st-note-edit > summary { cursor: pointer; color: var(--gold); }
.st-note-edit[open] { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.st-note-edit[open] > summary { flex-basis: 100%; }
.st-note-edit input[type=text] { flex: 1 1 220px; min-width: 0; padding: 6px 10px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink); }
.st-moves { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.st-moves li { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.st-moves p { margin: 4px 0; line-height: 1.7; }
.st-nodes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.st-node { padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.st-node.open { border-color: rgba(111,182,255,.45); }
.st-node.done { border-color: rgba(127,209,139,.4); }
.st-node.locked, .st-node.expired, .st-node.skipped { opacity: .75; }
.st-node-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.st-node p { line-height: 1.7; }
.st-changes { padding-left: 0; list-style: none; display: grid; gap: 4px; }
.st-review-form { margin-top: 10px; }
@media (max-width: 760px) {
  .st .cy-get, .st-two, .st-three { grid-template-columns: 1fr; }
  .st-goals { grid-template-columns: 1fr 1fr; }
  .st-meta, .st-note, .st-note-edit { margin-left: 0; }
}
@media (max-width: 420px) { .st-goals { grid-template-columns: 1fr; } }

/* ELEMENT-17-05：元素宇宙五大模块的统一导航 */
.uv-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 14px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); scrollbar-width: none; }
.uv-tabs::-webkit-scrollbar { display: none; }
.uv-tabs a, .uv-tabs span { flex: 1 0 auto; text-align: center; padding: 7px 14px; border-radius: 999px; font-size: .9rem; color: #cfd4de; text-decoration: none; white-space: nowrap; }
.uv-tabs a:hover { background: rgba(255,255,255,.05); color: #fff; }
.uv-tabs a.on { background: rgba(233,196,106,.14); color: #f6ecd4; box-shadow: inset 0 0 0 1px rgba(233,196,106,.45); }
.uv-tabs span.off { color: rgba(255,255,255,.3); cursor: not-allowed; }

/* ELEMENT-20：每年详细建议（总览 → 阶段 → 逐年；逐年默认折叠，今年附近展开） */
.adv .sh-list { margin: .6rem 0 1rem; padding-left: 1.1rem; display: grid; gap: .45rem; }
.adv .sh-list li b { display: block; color: #f3d58a; font-weight: 600; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem 1.4rem; }
.adv-grid h3, .adv-stage h4, .adv-yb h4 { margin: .2rem 0 .3rem; font-size: .95rem; color: #e3bd74; }
.adv-grid ul, .adv-stage ul, .adv-yb ul { margin: 0 0 .5rem; padding-left: 1.1rem; display: grid; gap: .3rem; }
.adv-stages { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .9rem; }
.adv-stage { border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .8rem .95rem; background: rgba(255,255,255,.02); }
.adv-st-h { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-bottom: .3rem; }
.adv-st-h span { color: #8e97aa; font-size: .85rem; }
.adv-loc { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: .2rem 0 .9rem; position: sticky; top: 0; z-index: 2; padding: .5rem 0; background: rgba(8,13,25,.92); }
.adv-dec { display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .85rem; }
.adv-years { display: grid; gap: .45rem; }
.adv-y { border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.015); scroll-margin-top: 4.5rem; }
.adv-y > summary { cursor: pointer; list-style: none; padding: .6rem .8rem; display: grid; gap: .25rem; }
.adv-y > summary::-webkit-details-marker { display: none; }
.adv-y[open] > summary { border-bottom: 1px solid rgba(255,255,255,.06); }
.adv-yh { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.adv-yh small { color: #8e97aa; }
.adv-head { color: #e7e9ee; line-height: 1.55; }
.adv-y.past .adv-head { color: #b9bfcc; }
.adv-yb { padding: .6rem .9rem .8rem; line-height: 1.65; }
.cy-chip.opportunity { color: #f3d58a; border-color: rgba(233,196,106,.45); background: rgba(233,196,106,.08); }
.cy-chip.pressure { color: #ffb2a3; border-color: rgba(255,143,122,.45); background: rgba(255,143,122,.08); }
.cy-chip.balanced, .cy-chip.steady { color: #d9dde6; }
.danger-zone > summary { cursor: pointer; color: #ff8f7a; }
@media (max-width: 640px) {
  .adv-loc { position: static; }
  .adv-y > summary { padding: .55rem .65rem; }
  .adv-yb { padding: .5rem .7rem .7rem; }
}
