/* 过所 · 拼页与分镜 fenjing.css（wd-guosuo，2026-11-13 纽约时间）。从名贤堂 ../mingxian/fenjing.css（11-12 18:54 的版本）拷来，
   名贤堂那份又是从档房 ../dangfang/fenjing.css（11-12 合成版）拷的。改了的：去掉“通读”一段（过所不做通读，要求.md 第九节）；别的不动。
   过所自己的（第一幕、点式接线、三件、夹签、多宝架、拖尾、手机）都在 gs.css。
   层次同档房：照片层 10—30（按屏号），图版框和图注 790，接线 800，柱子 900，右沿目录 950；导航 82、缩览条 66、遮罩 64，夹签 80/81。 */

/* 吸附等格子量好了再开：先开的话，Safari 会把还叠在顶上的哪一格当成“停着的那格”，量好后跳过去 */
html.fj-desk.fj-snapon { scroll-snap-type: y proximity }
html.fj-desk body { overflow-x: hidden }
#fj { position: relative }
.fj-track { position: relative }
.fj-snap { position: absolute; left: 0; top: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; visibility: hidden }
.fj-tail .fj-snap.t { position: absolute; top: 0 }
.fj-stage { position: sticky; top: 0; height: var(--hs, 100vh); overflow: hidden; background: var(--paper); isolation: isolate }
.fj-defs { position: absolute; width: 0; height: 0; overflow: hidden }

/* 照片层：一幕一层；图只平移，不缩放 */
.fj-ph { position: absolute; inset: 0; background: var(--paper); visibility: hidden; contain: strict }
.fj-ph.on { visibility: visible }
.fj-pic { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform }
.fj-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none; transition: opacity .5s var(--ease) }
html.fj-intro .fj-ph[data-shot="mennei"] .fj-img { opacity: 0; transition: none }
.fj-layers { position: absolute; inset: 0; pointer-events: none }
.fj-layers img { position: absolute; display: block }
.fj-lay-i { position: absolute; inset: 0 }
/* 片子块（pian.js）：没播起来以前透明，底下照片就是它的静图；第一帧画上以后一下显出来（首帧与静图同一块，不渐变） */
.fj-lay { position: absolute; inset: 0; pointer-events: none }
/* 程序做的光影（guang.js）：画布按源像素摆在照片层里，停稳淡入、离开淡出；纸角只在翘的那几秒显出 */
.gu-wl, .gu-ml { position: absolute; inset: 0; pointer-events: none }
.gu { position: absolute; display: block; margin: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease) }
.gu.on { opacity: 1 }
.gu-c, .gu-s { transition: none }   /* gu-s：枝梢，不淡入淡出（半透明时和静图叠成重影），靠摆幅升降（guang.js） */
/* 名贤堂：放完淡回静图 0.35 秒（首尾帧同静图，淡的只是编码的那一点差），显出来不渐变 */
.fj-pz { position: absolute; display: block; margin: 0; padding: 0; border: 0; object-fit: fill; background: transparent; opacity: 0; pointer-events: none; transition: opacity .35s linear }
.fj-pz.on { opacity: 1; transition: none }
.fj-pz-win { position: absolute; inset: 0; overflow: hidden; pointer-events: none }
/* 窗格光的明暗：同一张图取出亮处，叠一层“滤色”，透明度慢慢变 */
.fj-glw { position: absolute; inset: 0; display: none; opacity: 0; mix-blend-mode: screen; pointer-events: none; transition: opacity 1.6s var(--ease) }
.fj-glw.vis { display: block }
.fj-glw.run { opacity: var(--g, .4) }
.fj-glow { position: absolute; inset: 0; display: block; width: 100%; height: 100%; filter: url(#fj-hi); opacity: .5 }
.fj-glw.run .fj-glow { animation: fj-breathe 23s ease-in-out infinite }
@keyframes fj-breathe { 0% { opacity: .5 } 13% { opacity: .82 } 24% { opacity: .64 } 39% { opacity: 1 } 52% { opacity: .38 } 63% { opacity: .55 } 77% { opacity: .16 } 90% { opacity: .44 } 100% { opacity: .5 } }
.fj-dust { position: absolute; display: block; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease) }
.fj-dust.on { opacity: 1 }

/* 幕上的字 */
.fj-ov { position: absolute; inset: 0; pointer-events: none; visibility: hidden; opacity: 0; color: var(--paper-white) }
.fj-ov.on { visibility: visible }
.fj-ov.rest button, .fj-ov.rest input, .fj-ov.rest a { pointer-events: auto }
.fj-shade0 { position: absolute; inset: 0; background: linear-gradient(24deg, rgba(22, 13, 7, .86) 0%, rgba(22, 13, 7, .58) 22%, rgba(22, 13, 7, 0) 46%), linear-gradient(to top, rgba(22, 13, 7, .62), rgba(22, 13, 7, 0) 80px); right: var(--wall, 0px) }
.fj-shade1 { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; background: linear-gradient(to top, rgba(22, 13, 7, .66), rgba(22, 13, 7, .3) 50%, rgba(22, 13, 7, 0)) }
.fj-ming { position: absolute; width: 70px; margin-left: -35px; display: flex; flex-direction: column; align-items: center; color: var(--ink); transition: opacity .6s var(--ease) .1s }
.fj-ming b { writing-mode: vertical-rl; text-orientation: upright; font-size: 60px; line-height: 1; font-weight: 900; letter-spacing: .12em }
.fj-ming span { margin-top: 14px; writing-mode: vertical-rl; text-orientation: upright; font-size: 14px; line-height: 1; letter-spacing: .42em; color: var(--ink-2) }
.fj-yin { position: absolute; left: 64px; bottom: 76px; max-width: calc(100% - var(--wall, 0px) - 120px); transition: opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s }
.fj-yin > .k { font-size: 13px; font-weight: 700; letter-spacing: .34em; color: #e3d5bd }
.fj-yin h1 { margin: 14px 0 0; font-size: 37px; line-height: 1.3; font-weight: 700; letter-spacing: .04em; color: var(--paper-white); white-space: nowrap }
.fj-yin .nums { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 30px; font-size: 14px; letter-spacing: .06em; color: #e3d5bd }
.fj-yin .nums b { margin-right: 3px; font-size: 22px; font-weight: 700; color: var(--paper-white) }
html.fj-intro .fj-yin { opacity: 0; transform: translateY(8px); transition: none }
html.fj-intro .fj-hots, html.fj-intro .fj-ov0 .fj-down, html.fj-intro .fj-howb { opacity: 0; transition: none }
html.fj-intro:not(.from-menting) .fj-ming { opacity: 0; transition: none }
.fj-hots, .fj-ov0 .fj-down, .fj-howb { transition: opacity .7s var(--ease) .35s }

/* 第一屏的钤印处 */
.fj-xing { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 40px; font-size: 14.5px; letter-spacing: .1em; color: #e3d5bd }
.fj-xing .yin { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--zhu-2); color: #fff8ec; font-size: 24px; font-weight: 900; border-radius: 2px; letter-spacing: 0 }
.fj-xing .t { color: var(--paper-white) }
.fj-xing .lk { font: inherit; letter-spacing: inherit; color: var(--paper-white); background: none; border: 0; border-bottom: 1px solid rgba(251, 247, 238, .6); padding: 0 0 2px; cursor: pointer }
.fj-xing .lk:hover { border-bottom-color: var(--paper-white) }
.fj-xing input { width: 64px; height: 36px; padding: 0 8px; border: 0; border-bottom: 1.5px solid rgba(251, 247, 238, .8); background: rgba(22, 13, 7, .35); font: inherit; font-size: 18px; font-weight: 700; color: var(--paper-white); text-align: center; letter-spacing: .1em; border-radius: 0 }
.fj-xing input::placeholder { color: rgba(227, 213, 189, .7); font-size: 14px; font-weight: 400 }
.fj-xing .dai { height: 34px; padding: 0 16px; border: 1px solid rgba(251, 247, 238, .75); border-radius: 17px; background: transparent; color: var(--paper-white); font: inherit; letter-spacing: .14em; cursor: pointer }
.fj-xing .dai:hover { background: var(--paper-white); color: var(--ink) }
.fj-xing .msg { color: #f2c9b8 }
/* 带谱号进门、这一部没有卷宗卡时的那一句（第一屏的数下面；手机在架子上头） */
.fj-yin .fj-wmsg { margin: 16px 0 0; padding-left: 12px; border-left: 2px solid rgba(251, 247, 238, .72); font-size: 15px; line-height: 1.6; letter-spacing: .06em; color: var(--paper-white) }
.fj-pmain .fj-wmsg { margin: 0; padding: 12px 16px 2px 28px; position: relative; font-size: 14.5px; line-height: 1.6; letter-spacing: .06em; color: var(--ink) }
.fj-pmain .fj-wmsg::before { content: ''; position: absolute; left: 16px; top: 15px; bottom: 5px; width: 2px; background: var(--ink-3) }
.fj-xing .k2, .fj-xing input, .fj-xing .dai, .fj-xing .t2, .fj-xing .qu { display: none }
.fj-xing:not(.on) .k, .fj-xing:not(.on) .yin, .fj-xing:not(.on) .t, .fj-xing:not(.on) .huan, .fj-xing:not(.on) .fang { display: none }
.fj-xing:not(.on) .k2, .fj-xing:not(.on) input, .fj-xing:not(.on) .dai, .fj-xing:not(.on) .t2 { display: inline-flex; align-items: center }
.fj-xing.on.edit .yin, .fj-xing.on.edit .t, .fj-xing.on.edit .huan, .fj-xing.on.edit .fang { display: none }
.fj-xing.on.edit input, .fj-xing.on.edit .dai, .fj-xing.on.edit .qu { display: inline-flex; align-items: center }
.fj-xing :focus-visible, .fj-down:focus-visible, .fj-howb:focus-visible, .fj-hot:focus-visible { outline: 2px solid var(--paper-white); outline-offset: 3px }

/* 三处热点：纸白点，不用朱点 */
.fj-hots { position: absolute; inset: 0; will-change: transform }
.fj-hotl { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none }
.fj-hotl path { fill: none; stroke: var(--paper-white); stroke-width: 1; opacity: .85 }
.fj-hot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit }
.fj-hot::before { content: ''; position: absolute; inset: 2px; border: 1.4px solid var(--paper-white); border-radius: 50%; box-shadow: 0 0 8px rgba(22, 13, 7, .45) }
.fj-hot::after { content: ''; position: absolute; left: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper-white) }
.fj-hot .lab { position: absolute; left: calc(13px + var(--lx)); top: calc(13px + var(--ly)); white-space: nowrap; font-size: 13.5px; letter-spacing: .08em; color: var(--ink); background: rgba(251, 247, 238, .95); border-radius: 2px; padding: 5px 11px 6px; box-shadow: 0 2px 10px rgba(22, 13, 7, .35); transition: background .2s var(--ease) }
.fj-hot .lab b { font-weight: 700 }
.fj-hot .lab .t { color: var(--ink-3) }
.fj-hot .lab .z { color: var(--zhu); font-weight: 700 }
.fj-hot .lab .z:not(:empty) { margin-left: 1em }
.fj-hot:hover .lab { background: var(--paper-white) }
.fj-hot:hover::after { transform: scale(1.15) }

/* 往下、怎么知道的、其余四幕的幕名 */
.fj-down { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 10px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 13.5px; letter-spacing: .26em; color: var(--paper-white); white-space: nowrap }
.fj-down svg path { fill: none; stroke: currentColor; stroke-width: 1.4 }
.fj-ov0 .fj-down { left: calc((100% - var(--wall, 0px)) / 2) }
.fj-howb { position: absolute; right: calc(var(--wall, 0px) + 40px); bottom: 22px; padding: 0 0 2px; border: 0; border-bottom: 1px solid rgba(251, 247, 238, .6); background: none; cursor: pointer; font: inherit; font-size: 13px; letter-spacing: .14em; color: var(--paper-white) }
.fj-mut { position: absolute; left: 64px; bottom: 34px; font-size: 13px; font-weight: 700; letter-spacing: .34em; color: #e3d5bd }

/* 件：右页 */
.fj-ye { position: absolute; top: 0; bottom: 0; background: var(--paper); visibility: hidden; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin }
.fj-ye.on { visibility: visible }
/* 比一屏高的件往上走时，导航下沿（裁口）垫一道 16px 的纸色渐隐，免得字被齐刷刷切一刀（11-13 返工） */
.fj-ye.up::before { content: ''; position: absolute; left: 0; right: 0; top: var(--ct, 58px); z-index: 5; height: 16px; background: linear-gradient(var(--paper), rgba(244, 238, 228, 0)); pointer-events: none }
.fj-ye:not(.on) * { visibility: hidden !important }   /* 件里自己用 visibility: visible 的浮层（ban 的提示框）不许从藏着的右页里透出来 */
.fj-root { position: absolute; container-type: inline-size }
/* 11-20 第 32 条（只做电脑）：件比右页高的“这一幕变长”（fenjing.js fit() 记 .long，页照件要的高排）。右页（.fj-root）平时 overflow hidden，
   只有整页停稳的那一件（html[data-fj-at]）放开竖滚，两幕过渡中露在指针底下的下一件右页不接滚轮（照大门 damen.css 332—339、公堂 gt.css 返工一）。
   不画滚动条（大门、公堂是留滚动条的位置）：过所的件按右页宽排（号图两旁的注、册卡宽都照右页宽算），留出 15px 滚动条位置，常显滚动条的机器上
   号图旁注会少一行；右页能滚由底边渐隐和页外“往下还有 ↓”告诉人，滚轮、触控板、翻页键照样滚。 */
html.fj-desk .fj-ye.long .fj-root { overflow: hidden; overscroll-behavior-y: auto; scrollbar-width: none }
html.fj-desk .fj-ye.long .fj-root::-webkit-scrollbar { display: none }
html.fj-desk[data-fj-at="yin"] .fj-ye.long[data-id="yin"] .fj-root, html.fj-desk[data-fj-at="biao"] .fj-ye.long[data-id="biao"] .fj-root,
html.fj-desk[data-fj-at="hao"] .fj-ye.long[data-id="hao"] .fj-root { overflow-y: auto }
/* 右页底边一道渐隐、页框右外竖排“往下还有 ↓”（照大门 .dm-dn；箭头用墨色：本房朱色只给带着的姓和选中的那一个）；滚到底（.end）收起 */
.gs-dn { display: none }
html.fj-desk .gs-dn { display: block; position: absolute; height: 104px; z-index: 4; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s }   /* 104 高装得下右外竖排的“往下还有 ↓”，渐隐只占底下 30px（::before） */
html.fj-desk .gs-dn::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(to bottom, rgba(244, 238, 228, 0), var(--paper) 92%) }
html.fj-desk .fj-ye.long:not(.end) .gs-dn { opacity: 1; visibility: visible; transition: opacity .3s var(--ease) }
html.fj-desk .gs-dn button { position: absolute; left: calc(100% + 12px); bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px 6px; border: 0; background: none; font: inherit; font-size: 13px; line-height: 1; color: var(--ink-2); cursor: pointer; pointer-events: auto }
html.fj-desk .gs-dn b { font-weight: 400; writing-mode: vertical-rl; letter-spacing: .18em; white-space: nowrap }   /* 竖排只排字；箭头另起一块（WebKit 竖排里夹横排小块量不准） */
html.fj-desk .gs-dn i { font-style: normal; color: var(--ink); animation: gs-dn 1.6s var(--ease) infinite }
html.fj-desk .gs-dn button:hover { color: var(--ink) }
html.fj-desk .gs-dn button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px }
@keyframes gs-dn { 0%, 100% { transform: none } 50% { transform: translateY(2px) } }
.fj-plate { position: absolute; inset: 0; z-index: 790; pointer-events: none }
.fj-frame { position: absolute; border: 1.5px solid var(--ink-2); visibility: hidden }
.fj-frame::after { content: ''; position: absolute; inset: 3.5px; border: 1px solid var(--line) }
.fj-cap { position: absolute; margin: 0; visibility: hidden; opacity: 0; font-size: 13px; line-height: 1.62; letter-spacing: .04em; color: var(--ink-3) }
.fj-cap.on { visibility: visible }
.fj-cap b { margin-right: .7em; font-weight: 700; letter-spacing: .16em; color: var(--ink) }
.fj-edge { position: absolute; top: 0; bottom: 0; left: 0; width: 22px; z-index: 795; visibility: hidden; pointer-events: none; background: linear-gradient(90deg, rgba(52, 36, 26, 0), rgba(52, 36, 26, .1)); border-right: 1px solid var(--line-2) }

/* 接线 */
.fj-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 800; pointer-events: none; overflow: visible }
.fj-lines path { fill: none; stroke-dasharray: 1 1; stroke-linecap: round }
.fj-lines .w path { stroke: var(--paper-white); stroke-width: 1.3 }
.fj-lines .w path.seg { stroke-width: 1.6 }
.fj-lines .k path { stroke: var(--ink-3); stroke-width: 1 }

/* 柱子：近处一根，景深糊开 */
.fj-zhu { position: absolute; top: 0; bottom: 0; left: 0; z-index: 900; visibility: hidden; pointer-events: none; will-change: transform }
.fj-zhu img { position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); max-width: none }
/* 柱脚一道很轻的影：光从右边窗子来，影往左偏；只有这一道，纸面上别的地方不压暗 */
.fj-zhu::after { content: ''; position: absolute; left: -38%; right: 18%; bottom: -10px; height: 26px; background: radial-gradient(closest-side, rgba(52, 36, 26, .15), rgba(52, 36, 26, 0)) }

/* 右沿五幕小目录（照 B2 的样子） */
.fj-rail { position: absolute; right: 8px; top: 50%; z-index: 950; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; color: var(--ink-2); transition: top .3s var(--ease) }   /* 件那几屏上躲开贴着右沿的字时渐挪（fenjing.js railPlace） */
.fj-rail button { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 6px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 13.5px; letter-spacing: .1em; color: inherit; white-space: nowrap }
.fj-rail i { width: 9px; height: 1px; background: currentColor; opacity: .8 }
.fj-rail .m { display: none; margin-left: -3px }
.fj-rail[data-names] .m { display: inline }
.fj-rail button[aria-current] { color: var(--ink); font-weight: 700 }
.fj-rail button[aria-current] i { height: 2px; opacity: 1 }
/* 照片上：每一行按底下照片的明暗取（fenjing.js 的 railTone()）。暗处纸色字加墨色柔影（data-t="light"），
   亮处（窗、银杏、簿页）墨字加一圈纸色柔光（data-t="dark"）；都不加底板。data-mode="light" 是照片还没量出来时的默认 */
.fj-rail[data-mode="light"] button, .fj-rail[data-mode="auto"] button[data-t="light"] {
  color: rgba(251, 247, 238, .9);
  text-shadow: 0 0 1px rgba(22, 13, 7, .9), 0 0 3px rgba(22, 13, 7, .85), 0 0 6px rgba(22, 13, 7, .8), 0 0 11px rgba(22, 13, 7, .55) }
.fj-rail[data-mode="light"] button[aria-current], .fj-rail[data-mode="auto"] button[data-t="light"][aria-current],
.fj-rail[data-mode="light"] button:hover, .fj-rail[data-mode="auto"] button[data-t="light"]:hover { color: var(--paper-white) }
.fj-rail[data-mode="light"] i, .fj-rail[data-mode="auto"] button[data-t="light"] i { box-shadow: 0 0 2px rgba(22, 13, 7, .9), 0 0 5px rgba(22, 13, 7, .7) }
.fj-rail[data-mode="auto"] button[data-t="dark"] {
  color: var(--ink);
  text-shadow: 0 0 1px rgba(251, 247, 238, 1), 0 0 2px rgba(251, 247, 238, 1), 0 0 4px rgba(251, 247, 238, .95), 0 0 7px rgba(251, 247, 238, .9), 0 0 12px rgba(251, 247, 238, .75) }
.fj-rail[data-mode="auto"] button[data-t="dark"] i { box-shadow: 0 0 2px rgba(251, 247, 238, 1), 0 0 5px rgba(251, 247, 238, .9) }
.fj-rail button:hover { color: var(--ink) }
.fj-rail button:focus-visible { outline: 2px solid currentColor; outline-offset: 1px }

/* 占位件 */
.fj-stub .ku-ye-say { color: var(--ink-2) }
.fj-stub-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible }
.fj-stub-svg line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4 }
.fj-stub-svg text { font-size: 13px; fill: var(--ink-3); letter-spacing: .2em }
.fj-stub-mini { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3) }
.fj-stub-mini svg { width: 70%; max-height: 80% }

/* 顶上导航 */
.fj-nav { position: fixed; z-index: 82; left: 0; right: 0; top: 0; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px 0 36px; font-size: 14px; letter-spacing: .14em; color: var(--ink); pointer-events: none; transition: color .35s var(--ease) }
.fj-nav > * { pointer-events: auto }
.fj-nav::before { content: ''; position: absolute; left: var(--fj-shade-l, 0px); right: var(--fj-shade-r, 0px); top: 0; height: 96px; background: linear-gradient(rgba(22, 13, 7, .58), rgba(22, 13, 7, 0)); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; z-index: -1 }
.fj-nav[data-mode="photo"] { color: var(--paper-white) }
.fj-nav[data-shade]::before { opacity: 1 }
.fj-nav-l { display: flex; align-items: center; gap: 16px; white-space: nowrap; min-width: 0 }
.fj-nav a, .fj-nav button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-decoration: none; cursor: pointer }
.fj-nav svg path { fill: none; stroke: currentColor; stroke-width: 1.4 }
.fj-bar { width: 1px; height: 14px; background: currentColor; opacity: .5 }
.fj-room b { font-weight: 700 }
.fj-room small { margin-left: 10px; font-size: 12.5px; letter-spacing: .2em; opacity: .82 }
.fj-nav a:focus-visible, .fj-nav button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px }
.fj-rooms-w { position: relative }
.fj-rooms { position: absolute; left: -12px; top: 34px; width: 300px; padding: 14px 16px 12px; background: var(--paper-white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 30px -12px rgba(50, 32, 16, .45); letter-spacing: .06em; white-space: normal }
.fj-rooms p { margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--ink-3) }
.fj-rooms ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px }
.fj-rooms li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line-2); font-size: 14px }
.fj-rooms li span { font-size: 12.5px; color: var(--ink-3) }
.fj-rooms li[aria-current] b { color: var(--ink) }
.fj-rooms a { color: var(--ink) !important }
.fj-nav-r { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px 0 6px; border: 1px solid var(--line-2); border-radius: 20px; background: rgba(251, 247, 238, .95); color: var(--ink); letter-spacing: .1em }
.fj-nav-r .fj-bar { opacity: .35 }
.fj-nav .ku-seal { gap: 8px; font-size: 13.5px }
.fj-nav .ku-seal .yin { width: 28px; height: 28px; font-size: 16px }
.fj-nav .ku-seal input { width: 50px; height: 28px }
.fj-nav .ku-seal button { height: 28px; padding: 0 10px; border: 1px solid var(--ink-2); font-size: 13px }
.fj-nav .ku-seal button:hover { background: var(--ink); color: var(--paper-white) }
.fj-nav .ku-seal.on::before { content: '带着'; letter-spacing: .14em; color: var(--ink-2) }
.fj-nav .ku-seal.on { flex-direction: row }
.fj-nav .ku-seal.on .has .msg { display: none }
.fj-nav .ku-seal .ask .msg { font-size: 12.5px; color: var(--zhu) }
.fj-nav .ku-seal.on .drop { border: 0; border-bottom: 1px solid var(--ink-3); padding: 0 0 1px; height: auto; background: none }
.fj-nav .ku-seal.on .drop:hover { background: none; color: var(--ink); border-bottom-color: var(--ink) }

/* 底下全卷缩览条（照甲 A2） */
.fj-band { position: fixed; z-index: 66; left: 0; right: 0; bottom: 0; height: var(--band, 60px); background: var(--paper); border-top: 1px solid var(--line-2) }
.fj-sl { height: 100%; display: flex; justify-content: center; padding: 0 24px }
.fj-sl-in { position: relative; display: flex; align-items: flex-start; width: min(100%, 1400px); height: 100%; padding-top: 6px }
.fj-sl-in::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 34px; background: #d6d0bc; border-top: 1.5px solid var(--dai); border-bottom: 1.5px solid var(--dai) }
.fj-sl-zhou { position: relative; flex: none; display: block; height: 34px; background: var(--dai) }
.fj-sl-zhou.l { width: 7px }
.fj-sl-zhou.r { width: 4px; background: #6b4a32 }
.fj-sl-ol { position: relative; flex: 1 1 auto; display: flex; gap: 2px; margin: 0 2px; padding: 0; list-style: none; min-width: 0 }
.fj-sl-ol li { flex: 1 1 0; min-width: 0 }
.fj-sl-seg { position: relative; display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--ink-3) }
.fj-sl-seg .pic { position: relative; display: block; height: 34px; padding: 1.5px 0; overflow: hidden }
.fj-sl-seg .pic img { display: block; width: 100%; height: 31px; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease) }
.fj-sl-seg .pic img[src] { opacity: 1 }
.fj-sl-seg .gl { display: block; height: 31px; padding: 3px 8px; background: var(--paper); color: var(--ink-2) }
.fj-sl-seg .gl svg { display: block; width: 100%; height: 100% }
.fj-sl-seg.tail .gl { color: var(--ink-3) }
.fj-sl-seg .lb { display: block; margin-top: 6px; font-size: 12.5px; line-height: 14px; letter-spacing: .04em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: clip }
.fj-sl-seg[aria-current] .lb { color: var(--ink); font-weight: 700 }
.fj-sl-seg:hover .lb { color: var(--ink) }
.fj-sl-seg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px }
.fj-sl-seg .dot { display: none; position: absolute; right: 4px; top: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--zhu-2); box-shadow: 0 0 0 1.5px var(--paper) }
.fj-sl-seg.sn .dot { display: block }
.fj-sl-kuang { position: absolute; left: 0; top: 3px; height: 40px; border: 2px solid var(--zhu-2); pointer-events: none; will-change: transform }

/* 跳得远时纸色擦过 */
.fj-veil { position: fixed; z-index: 64; left: 0; right: 0; top: 0; bottom: var(--band, 60px); background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .32s var(--ease) }
.fj-veil.on { opacity: 1; transition-duration: .16s }

/* 第 12 屏：多宝架与拖尾；duobao.js 没到时的占位架 */
.fj-tail { position: relative; background: var(--paper); padding-bottom: var(--band, 60px) }
.fj-tail-in { position: relative; padding-top: var(--db-top, 56px) }   /* 多宝架只把自己的高减掉导航和缩览条，让位由拼页给 */
/* 多宝架自己顶上的“门厅”和贵姓框，跟拼页顶导航的回门厅、钤印处重了（同屏两个贵姓框）；合在整页里时藏起来，改姓都走顶导航那一个 */
.fj-tail .db-back, .fj-tail .db-xing { display: none !important }
.fj-dbz { max-width: 1240px; margin: 0 auto; padding: 96px 40px 80px }
.fj-dbz h2 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: .1em }
.fj-dbz p { margin: 10px 0 26px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2) }
.fj-dbz ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none }
.fj-dbz button { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; gap: 4px 14px; width: 100%; padding: 14px; border: 1px solid var(--line); background: var(--paper-white); cursor: pointer; text-align: left; font: inherit; color: var(--ink) }
.fj-dbz button:hover { border-color: var(--ink-2) }
.fj-dbz .gl { grid-row: span 2; color: var(--ink-2); align-self: center }
.fj-dbz .gl svg { display: block; width: 96px; height: 40px }
.fj-dbz b { font-size: 16px; letter-spacing: .1em }
.fj-dbz b i { font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--ink-3); margin-right: 8px }
.fj-dbz .s { font-size: 13px; line-height: 1.55; color: var(--ink-2) }

/* 手机 */
html.fj-phone .fj-nav { position: sticky; height: 52px; padding: 0 12px; gap: 10px; background: var(--paper); border-bottom: 1px solid var(--line-2); font-size: 13.5px; letter-spacing: .08em }
html.fj-phone .fj-room small { display: none }
html.fj-phone .fj-nav-r { height: 36px; padding: 0 8px 0 4px; border: 0; background: none }
html.fj-phone .fj-nav .ku-seal .ask label { display: none }
html.fj-phone .fj-nav .ku-seal.on::before { content: none }
.fj-sheet { position: fixed; inset: 0; z-index: 75; display: flex; flex-direction: column; background: var(--paper); transform: translateY(100%); visibility: hidden; transition: transform .42s var(--ease), visibility 0s .42s }
.fj-sheet.on { transform: none; visibility: visible; transition: transform .42s var(--ease), visibility 0s }
.fj-sheet:focus { outline: none }   /* 地址直达时焦点在整屏层上（tabindex -1），不画框；Tab 一下就进到“回到架上” */
html.fj-phone .fj-sheet { top: 52px }   /* 顶导航（z 82）留在上面，整屏层从导航底下起；夹签（z 80/81）照样盖在整屏层上 */
.fj-sheet-bar { flex: 0 0 46px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 4px; border-bottom: 1px solid var(--line-2); white-space: nowrap }
.fj-sheet-bar .x { height: 40px; padding: 0 10px; border: 0; background: none; font: inherit; font-size: 14px; cursor: pointer }
.fj-sheet-bar b { font-size: 16px; letter-spacing: .08em }
.fj-sheet-body { flex: 1 1 0; min-height: 0; overflow: auto }
.fj-sheet-page { position: relative; width: 100%; min-width: 760px; height: 100%; min-height: 560px; padding: 14px 16px; container-type: inline-size }
.fj-sheet-page.ph { min-width: 0; height: auto; min-height: 0 }   /* 11-18 手机整屏层照档房 phsheet 排（全站待对齐第 26 条）：件页跟屏宽，高由内容撑 */

.fj-nav[data-tail] { background: rgba(244, 238, 228, .97); border-bottom: 1px solid var(--line-2) }
.fj-nav[data-tail] .fj-nav-r { background: none; border-color: transparent }
