/* 研究中枢页专用样式（几何位置由 pages/nexus.js 按视口计算） */

/* 跨页胶囊（真玻璃） */
.cap { z-index: 5; pointer-events: none; overflow: hidden; border-radius: 999px; }
.cap-head { left: 39vw; top: calc(46vh - 3.85vw); width: 22vw; height: 7.7vw; }
.cap-tail { opacity: 0; visibility: hidden; }
.cap.glass-true {
  -webkit-backdrop-filter: blur(18px) saturate(190%) brightness(1.06); backdrop-filter: blur(18px) saturate(190%) brightness(1.06);
  background: linear-gradient(165deg, rgba(255,255,255,.52), rgba(255,255,255,.18) 52%, rgba(255,246,232,.38));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,153,0,.25), 0 24px 60px -24px rgba(150,80,10,.4);
}
.cap-tail.glass-true { background: linear-gradient(165deg, rgba(255,214,150,.62), rgba(255,153,0,.32) 55%, rgba(255,190,90,.5)); }
.cap-flow { position: absolute; left: 0; top: 0; width: 300%; height: 100%; opacity: .2; mix-blend-mode: soft-light;
  background: linear-gradient(90deg, #FF9900, #407AAA 16.6%, #587B3B 33.3%, #A85F34 50%, #FF9900 66.6%, #407AAA 83.3%, #587B3B 100%); }
.cap-gl { position: absolute; left: 6%; right: 6%; top: 7%; height: 44%; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,0)); }

/* 首帧标题 */
.tz-0 { left: 6vw; top: 11vh; opacity: 1; }
.tz-0 .t0 { font-size: clamp(72px, 6.1vw, 104px); line-height: 1.08; letter-spacing: -.03em; }
.tz-0 .sub { margin-top: 12px; font: 500 24px/1.4 var(--f-cn); color: var(--ink-2); }
.tz-11, .tz-12 { left: 6vw; top: 10vh; width: 80vw; }
.tz-11 h2.s, .tz-12 h2.s { font-size: clamp(44px, 3.4vw, 56px); }
.tz-11 p.desc, .tz-12 p.desc { margin-top: 8px; }
.tz-13 { left: 0; right: 0; top: 0; text-align: center; }
.tz-13 .enter {
  position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px; border-radius: 28px; font: 600 20px/1.2 var(--f-cn); color: var(--ink); pointer-events: auto;
  background: rgba(255,255,255,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), var(--sh-1);
}
.tz-13 .enter svg { width: 40px; height: 16px; color: var(--c-med-ink); overflow: visible; }
.tz-13 .enter .ar-l { transition: d .4s var(--ease-out); }
.tz-13 .enter .ar-h { transition: transform .4s var(--ease-out); }
.tz-13 .enter:hover .ar-l { d: path("M2 8H38"); }
.tz-13 .enter:hover .ar-h { transform: translateX(8px); }

/* 每拍说明卡（左下保护区） */
.tz.beat { left: 3.6vw; bottom: 5.5vh; width: 22.5vw; min-width: 300px; padding: 16px 20px 18px; border-radius: 22px;
  background: linear-gradient(155deg, rgba(255,255,255,.9), rgba(255,255,255,.7)); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255,255,255,.8), var(--sh-2); }
.tz.beat .no { font: 800 34px/1 var(--f-en); color: var(--c-med-ink); letter-spacing: -.02em; }
.tz.beat .ts { margin-left: 12px; font: 600 15px/1 var(--f-ui); color: var(--ink-3); }
.tz.beat p { margin-top: 10px; font: 500 18px/1.55 var(--f-cn); color: var(--ink); text-wrap: pretty; }

/* 变形层标签 */
.m-lab { color: var(--ink); opacity: 0; }
.core-l { text-align: center; white-space: nowrap; }
.core-l b { display: block; font: 800 26px/1.1 var(--f-en); letter-spacing: .06em; color: #5A3100; }
.core-l span { display: block; margin-top: 4px; font: 600 17px/1.2 var(--f-cn); color: #6E4308; }
.card-l { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.card-l .hd { display: flex; align-items: center; gap: 8px; font: 700 16px/1.25 var(--f-cn); }
.card-l .hd i { width: 20px; height: 20px; flex: none; color: var(--c, var(--c-med-ink)); }
.card-l .hd i svg { width: 100%; height: 100%; }
.card-l small { font: 500 14px/1.35 var(--f-ui); color: var(--ink-3); }
.card-l .st { display: grid; }
.card-l .st > * { grid-area: 1 / 1; }
.card-l .st .s2 { color: #587B3B; font-weight: 700; }
.tc-l { width: 220px; display: grid; gap: 1px; font: 500 14px/1.38 var(--f-cn); color: var(--ink-2); }
.tc-l .hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; }
.tc-l .hd b { font: 700 15px/1.2 var(--f-en); color: var(--ink); }
.tc-l .hd span { font: 600 14px/1.2 var(--f-cn); color: var(--c-med-ink); }
.tc-l em { font-style: normal; color: var(--ink-3); margin-right: 6px; }
.fx-l { display: grid; place-items: center; }
.fx-l > * { grid-area: 1 / 1; opacity: 0; }
.fx-l .pnl { width: 372px; display: grid; gap: 8px; white-space: normal; }
.fx-l .pnl h5 { margin: 0 0 2px; font: 700 17px/1.3 var(--f-cn); color: var(--ink); display: flex; align-items: center; gap: 8px; }
.fx-l .pnl h5 i { width: 20px; height: 20px; color: var(--c-med-ink); }
.fx-l .pnl h5 i svg { width: 100%; height: 100%; }
.fx-l .row { display: grid; grid-template-columns: 64px 1fr; gap: 8px; font: 500 15px/1.45 var(--f-cn); color: var(--ink-3); }
.fx-l .row b { font: 600 15px/1.45 var(--f-cn); color: var(--ink-3); }
.fx-l .row.hot { padding: 8px 10px; margin: 0 -10px; border-radius: 12px; background: rgba(255,153,0,.16); box-shadow: inset 0 0 0 1.5px rgba(255,153,0,.55); color: var(--ink); font-size: 17px; font-weight: 600; }
.fx-l .row.hot b { color: var(--c-med-ink); font: 700 17px/1.45 var(--f-en); }
.fx-l .kv { display: grid; grid-template-columns: 58px 1fr; gap: 8px; font: 500 15px/1.5 var(--f-cn); color: var(--ink); }
.fx-l .kv b { font-weight: 700; color: var(--ink-3); }
.fx-l .gold-t { font: 700 17px/1.2 var(--f-cn); color: var(--c-gold-ink); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.fx-l .gold-t i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #587B3B; }
.fx-l .gold-t i svg { width: 15px; height: 15px; }
.rp-l { display: flex; align-items: center; gap: 6px; font: 700 15px/1 var(--f-cn); color: #fff; white-space: nowrap; }
.rp-l svg { width: 18px; height: 18px; }
.ac-l { display: flex; align-items: center; gap: 8px; font: 600 15px/1 var(--f-cn); color: var(--ink); white-space: nowrap; }
.ac-l i { width: 18px; height: 18px; color: #A85F34; }
.ac-l i svg { width: 100%; height: 100%; }

/* 六个模块 */
.world .overlay .mod { width: 150px; height: 96px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 1; transform-origin: 0 0; }
.mod .ic { width: 28px; height: 28px; color: #B86A00; }
.mod .ic svg { width: 100%; height: 100%; }
.mod .nm { font: 600 17px/1.2 var(--f-cn); color: var(--ink); white-space: nowrap; }
.mod .lit { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,214,150,.55), rgba(255,153,0,.2)); box-shadow: inset 0 0 0 2px #FF9900, 0 0 0 5px rgba(255,153,0,.18), 0 12px 30px -10px rgba(255,140,0,.55); }

/* 系统行、芯片、回执条 */
.world .overlay .tile { opacity: 0; visibility: hidden; }
.tile.nx { width: 112px; height: 84px; }
.world .overlay .chip { opacity: 0; visibility: hidden; }
.chip b { font-size: 14px; }
.chip .lit { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; box-shadow: inset 0 0 0 2px var(--c), 0 0 0 4px color-mix(in oklch, var(--c) 18%, transparent); background: color-mix(in oklch, var(--c) 14%, transparent); }
.strip { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-radius: 20px; opacity: 0; visibility: hidden; white-space: nowrap; }
.strip > b { font: 700 14px/1 var(--f-en); color: var(--ink); letter-spacing: .01em; }
.strip .sg { display: flex; align-items: center; gap: 6px; font: 500 14px/1 var(--f-cn); color: var(--ink-3); }
.strip .sg i { position: relative; width: 34px; height: 6px; border-radius: 3px; background: rgba(15,17,21,.1); overflow: hidden; }
.strip .sg u { position: absolute; inset: 0; border-radius: 3px; background: #587B3B; transform: scaleX(0); transform-origin: 0 50%; }
.ctx { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; opacity: 0; white-space: nowrap; font: 500 15px/1 var(--f-cn); color: var(--ink-3); }
.ctx b { font: 700 15px/1 var(--f-ui); color: var(--ink); }
.dock { opacity: 0; }
.desk { display: flex; align-items: center; gap: 18px; padding: 0 22px; border-radius: 26px; opacity: 0; visibility: hidden; }
.desk .who { display: flex; align-items: center; gap: 10px; font: 600 16px/1.2 var(--f-cn); color: var(--ink-3); white-space: nowrap; }
.desk .who .person { width: 30px; height: 30px; color: #B3AA9E; position: relative; }
.desk .who .person svg { width: 100%; height: 100%; }
.desk .who .on { position: absolute; left: 0; top: 0; width: 30px; height: 30px; color: var(--c-gold); opacity: 0; }
.desk .who .role { display: grid; }
.desk .who .role > span { grid-area: 1 / 1; }
.desk .who .role .r2 { color: var(--c-gold-ink); font-weight: 700; opacity: 0; }
.desk .tag { font: 700 14px/1 var(--f-cn); letter-spacing: .12em; color: var(--ink-4); }
.desk .note { margin-left: auto; display: grid; gap: 4px; font: 500 15px/1.35 var(--f-cn); color: var(--ink-2); opacity: 0; white-space: nowrap; }
.desk .note b { color: var(--ink); margin-right: 6px; }
.gate-l { font: 700 15px/1.2 var(--f-ui); color: #3E4A5E; white-space: nowrap; transform: translate(-50%, -100%); opacity: 0; text-align: center; }
.gate-l b { font-family: var(--f-en); letter-spacing: .06em; margin-right: 4px; }
.ring-l { text-align: center; white-space: nowrap; font: 600 15px/1.4 var(--f-cn); color: var(--ink); transform: translate(-50%, 0); opacity: 0; }
.ring-l b { font-family: var(--f-en); margin-right: 4px; }
.ring-c { text-align: center; white-space: nowrap; transform: translate(-50%, -50%); opacity: 0; }
.ring-c b { display: block; font: 800 24px/1 var(--f-cn); color: #8C3E14; }
.ring-c span { display: block; margin-top: 4px; font: 600 14px/1 var(--f-cn); color: var(--ink-3); }

/* 决策建议包解剖面板 */
.dpack { display: flex; flex-direction: column; padding: 24px 28px 22px; border-radius: 30px; opacity: 0; visibility: hidden; color: var(--ink); }
.dpack .hd { display: flex; align-items: center; gap: 12px; font: 700 19px/1.3 var(--f-cn); }
.dpack .hd .g { width: 44px; height: 22px; border-radius: 11px; background: linear-gradient(160deg, #FBE7B0, #F2D48A 30%, #C9932E); box-shadow: inset 0 1px 0 rgba(255,255,255,.85); }
.dpack .hd small { margin-left: 8px; font: 500 15px/1.3 var(--f-ui); color: var(--ink-3); }
.dpack .grid { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: 14px; margin: 18px 0 16px; }
.dpack .blk { position: relative; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(15,17,21,.07); }
.dpack .blk .lit { position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255,236,200,.8), rgba(255,255,255,.3)); box-shadow: inset 0 0 0 2px rgba(201,147,46,.85); }
.dpack .blk > * { position: relative; }
.dpack .blk .n { font: 800 14px/1 var(--f-en); color: var(--c-gold-ink); letter-spacing: .04em; }
.dpack .blk h6 { margin: 6px 0 8px; font: 700 17px/1.3 var(--f-cn); color: var(--ink); }
.dpack .blk p { font: 500 15px/1.55 var(--f-cn); color: var(--ink-2); }
.dpack .ft { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 15px/1 var(--f-cn); color: var(--ink-3); }
.dpack .ft span.o { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 17px; color: var(--ink); background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1.5px rgba(201,147,46,.55); }

/* 正文区：六个机制 */
.mech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1400px; }
.mcard { --c: var(--c-med); padding: 28px 28px 26px; border-radius: 26px; color: var(--ink-2); }
.mcard .top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mcard .top i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #B86A00; background: color-mix(in oklch, var(--c) 16%, white); flex: none; }
.mcard .top i svg { width: 24px; height: 24px; }
.mcard .top small { display: block; font: 700 14px/1 var(--f-en); color: var(--ink-3); letter-spacing: .06em; }
.mcard h3 { font-size: 24px; line-height: 1.3; }
.mcard .one { font: 600 18px/1.6 var(--f-cn); color: var(--ink); margin-bottom: 16px; text-wrap: pretty; }
.mcard dl { margin: 0; display: grid; gap: 14px; }
.mcard dt { font: 700 15px/1.3 var(--f-cn); color: var(--ink); margin-bottom: 4px; }
.mcard dd { margin: 0; font-size: 17px; line-height: 1.65; text-wrap: pretty; }
@media (max-width: 1100px) { .mech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field .core-glow { position: absolute; left: 0; top: 0; border-radius: 50%; transform-origin: 50% 50%; background: radial-gradient(closest-side, rgba(255,153,0,.5), rgba(255,180,60,.22) 50%, rgba(255,180,60,0)); will-change: transform; }
