/* Sidecar only. Do not move battle HUD or 300×500 cards. */
/* 岁初便笺（非模态，试玩 Round0 P1 弹层链减负）：原为全屏模态年报，
   最长与题卡/16岁提示/Opening 叠成连点 4 层。改为顶部横带停靠——
   卡区从 y≈17.75rem 起，便笺收在其上；z=26 低于悬停卡(90)与
   对白遮罩(100)，剧情播放时只被压暗、不抢指针、不截流程。 */
#mod-paper-overlay {
    position: absolute;
    left: 50%;
    top: 9.7rem;
    transform: translateX(-50%);
    z-index: 26;
    max-width: 58rem;
    pointer-events: none;
}
#mod-paper-overlay.hidden {
    display: none;
}
.mod-paper {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.65rem 1.1rem 0.6rem;
    background: rgba(243, 228, 196, 0.96);
    color: #2a1c10;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.4);
    border: 0.0625rem solid #8a6a3a;
}
#mod-paper-sections {
    max-height: 6.6rem;
    overflow-y: auto;
}
.mod-paper-kicker {
    margin: 0 0 0.15rem;
    font: 700 1rem/1.35 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0.12em;
    color: #6b4a12;
}
.mod-paper-text {
    margin: 0 0 0.35rem;
    white-space: pre-wrap;
    font: 500 0.95rem/1.5 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
#btn-mod-paper-ok {
    flex: none;
    align-self: center;
    min-width: 5rem;
    padding: 0.25rem 0.7rem;
    background: #2a1c10;
    color: #f3e4c4;
    border: 0;
    font: 700 0.95rem/1.4 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    cursor: pointer;
}

/* Below #year-badge (left .8rem, top 10.125rem, height 5.375rem). */
#mod-destiny {
    position: absolute;
    left: 0.8rem;
    top: 16rem;
    width: 14.25rem;
    margin: 0;
    padding: 0;
    color: #fff6d8;
    font: 600 0.875rem/1.45 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    text-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.85);
    pointer-events: none;
    z-index: 3;
}
#mod-destiny.hidden {
    display: none;
}

/* ============================================================================
   宗门面板（GDD v0.2 §2.6）。几何套 SettingPanel：满屏遮罩 rgba(0,0,0,.7058823)、
   BG 1565×898.11 @ (191.5, 118.155)（.set-bg 同值）、标题左上凸出、
   退出钮复用 .set-close（style.css）。分页 tog 照 BagPanel TogArea 惯例：
   背景透明、选中垫底色。全部 rem，禁 vw/vh。
   ========================================================================== */
#sect-overlay {
    position: absolute; inset: 0;
    /* 由點「宗務」卡打開，滑鼠必仍懸在卡上：z=24 會被
       .event-card.is-hover(90 !important) 壓住右半邊。96 = 蓋過懸停卡，
       仍讓對白(100+)與確認框(104)在其上。 */
    z-index: 96;
    background: rgba(0, 0, 0, .705882);
}
#sect-overlay.hidden { display: none !important; }
#sect-overlay:not(.hidden) { animation: sect-fade-in .3s linear; }
@keyframes sect-fade-in { from { opacity: 0; } to { opacity: 1; } }
.sect-bg {
    position: absolute;
    left: 11.96875rem;
    top: 7.384688rem;
    width: 97.8125rem;
    height: 56.131875rem;
    background: url("../assets/v2/sect/sect_panel_bg.png") center/100% 100% no-repeat;
    /* 底图=设置_面板背景 派生的宗门专版（亮区底部多一层淡墨山门水印，
       tools/art_recompose_sect.py）：正文走墨色，
       内容收在亮区（#sect-body right 收 30rem），暗柱留白。 */
    color: #2a2118;
    font: 500 1.05rem/1.5 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
.sect-bg > * { position: absolute; }
.sect-title {
    left: 0.56875rem; top: -3rem; width: 23.125rem; height: 4.75rem;
    background: url("../assets/yuanwen-ui/surfaces/images/ui/设置_标题背景.svg") center/100% 100% no-repeat;
    opacity: .8;
    display: flex; align-items: center; justify-content: center;
}
.sect-title span {
    /* 行高对齐 .set-title span 的 1.526（庞门正道含 lineGap，§5.2），单行标题视觉无变化 */
    font: 400 3.4rem/1.526 "PangMenZhengDao-Cu", "Source Han Sans SC", sans-serif;
    transform: scale(.9);
    color: #fff;
}
#sect-tabs {
    left: 4rem; top: 3.4rem; height: 3rem;
    display: flex; gap: 1.2rem;
}
.sect-tab {
    min-width: 8.5rem; height: 3rem;
    border: 0; cursor: pointer;
    background: rgba(38, 44, 66, .78);
    color: #c7c7c7;
    font: 500 1.5rem/1 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
.sect-tab.on {
    background: rgba(122, 96, 58, .75);
    color: #fff;
}
#sect-body {
    left: 4rem; top: 7.6rem; right: 30rem; bottom: 3.2rem;
    overflow: auto;
}
.sect-locked { padding: 3rem 1rem; text-align: center; color: #7a6a4c; font-size: 1.3rem; }

/* 总览 */
.sect-ov-art {
    display: block; width: 100%; height: 9rem;
    object-fit: cover; margin-bottom: 1rem;
    border: .0625rem solid rgba(0, 0, 0, .25);
}
.sect-rank-badge { width: 2.6rem; height: 2.6rem; align-self: center; }
.sect-rank-badge.sm { width: 2rem; height: 2rem; flex: none; }
.sect-ov-head { display: flex; gap: 2rem; align-items: baseline; font-size: 1.35rem; }
.sect-ov-head b { font-size: 1.7rem; color: #6b4a12; }
.sect-ov-builds { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.sect-ov-b { padding: .2rem .8rem; background: rgba(38, 44, 66, .85); color: #e8e2d0; }
.sect-ov-todo { margin-top: 1rem; color: #5a4a30; }
.sect-log { margin-top: 1rem; border-top: .0625rem solid rgba(0, 0, 0, .22); padding-top: .6rem; }
.sect-log-row { padding: .18rem 0; color: #4a3c28; }
.sect-log-row i { font-style: normal; color: #8a7a5c; margin-right: .8rem; }

/* 弟子 */
.sect-d-wrap { display: flex; gap: 2rem; height: 100%; }
.sect-d-list { width: 30rem; overflow: auto; display: flex; flex-direction: column; gap: .4rem; }
/* 名帖底=sect_disciple_card.png（tips-bg 重排 311×160），border-image
   切边保墨框比例；选中态整帖暖调（纸上加金，替代旧的整块换底色）。 */
.sect-d-row {
    display: flex; align-items: center; gap: 1rem;
    cursor: pointer; text-align: left;
    padding: .55rem .9rem;
    border: .55rem solid transparent;
    border-image: url("../assets/v2/sect/sect_disciple_card.png") 24 fill stretch;
    background: none; color: #3a2f1e;
    font: 500 1.15rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
.sect-d-row.on {
    filter: sepia(.45) saturate(1.5) brightness(.96);
    box-shadow: inset 0 0 0 .125rem rgba(122, 96, 58, .55);
}
.sect-d-row b { min-width: 5.5rem; color: #6b4a12; }
.sect-d-row i { font-style: normal; color: #8a7a5c; }
.sect-d-row span { margin-left: auto; color: #5a4a30; }
.sect-d-recruit { margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.sect-d-recruit > b { color: #6b4a12; }
.sect-d-detail { flex: 1; display: flex; gap: 2rem; align-items: flex-start; }
.sect-ling { width: 10rem; height: 10rem; flex: none; }
.sect-d-info { display: flex; flex-direction: column; gap: .55rem; font-size: 1.2rem; color: #3a2f1e; }
.sect-d-info b { font-size: 1.55rem; color: #6b4a12; }
.sect-hurt { color: #a4442e; }
.sect-d-info select { font: inherit; background: #2a2118; color: #e8dcc0; border: .0625rem solid #6a583c; padding: .15rem .4rem; }

/* 建筑 */
.sect-b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.sect-b-card {
    background: rgba(0, 0, 0, .10);
    padding: 1rem 1.2rem;
    display: flex; flex-direction: column; gap: .45rem;
    color: #3a2f1e;
}
.sect-b-icon { width: 5.6rem; height: 5.6rem; align-self: center; }
.sect-b-card b { font-size: 1.4rem; color: #6b4a12; }
.sect-b-card em { font-style: normal; color: #5a4a30; font-size: 1rem; }
.sect-b-card i { font-style: normal; color: #8a7a5c; font-size: 1rem; }

/* 任务 */
.sect-q-list { display: flex; flex-direction: column; gap: .6rem; }
.sect-q-row {
    display: flex; align-items: center; gap: 1.4rem;
    background: rgba(0, 0, 0, .10); padding: .6rem 1rem;
    color: #3a2f1e;
}
/* 委托朱印两态：未指派灰、已指派朱红（同一张图滤镜区分，GDD §6.1 #7）。 */
.sect-q-seal { width: 2.4rem; height: 2.4rem; flex: none; filter: grayscale(1) opacity(.45); }
.sect-q-seal.on { filter: none; }
.sect-q-row b { min-width: 5rem; font-size: 1.3rem; color: #6b4a12; }
.sect-q-row i { font-style: normal; color: #9a6a1e; min-width: 4.5rem; }
.sect-q-reward { color: #4a3c28; flex: 1; }
.sect-q-row select { font: inherit; background: #2a2118; color: #e8dcc0; border: .0625rem solid #6a583c; padding: .15rem .4rem; }
.sect-q-tip { margin-top: 1rem; color: #8a7a5c; }

/* 仓库 */
.sect-s-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sect-s-cell {
    background: rgba(0, 0, 0, .10); padding: .8rem;
    display: flex; align-items: center; gap: .7rem;
    color: #3a2f1e;
}
.sect-s-cell img { width: 3rem; height: 3rem; object-fit: fill; }
.sect-s-cell b { flex: 1; color: #6b4a12; }
.sect-s-cell span { color: #4a3c28; }

.sect-mini-btn {
    border: 0; cursor: pointer;
    padding: .3rem .9rem;
    background: rgba(122, 96, 58, .8); color: #fff;
    font: 500 1.05rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
.sect-mini-btn:hover { filter: brightness(1.15); }
.sect-mini-btn:disabled { opacity: .45; cursor: default; filter: none; }

/* 师承指点三选一 */
.sect-mentor-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.sect-mentor-row > span { color: #5a4a30; font-size: 1.05rem; }

/* 藏经阁兑换 */
.sect-x-wrap { margin-top: 1.4rem; border-top: .0625rem solid rgba(0, 0, 0, .22); padding-top: .8rem; }
.sect-x-head { font-size: 1.35rem; color: #6b4a12; margin-bottom: .6rem; }
.sect-x-row {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(0, 0, 0, .10); padding: .5rem 1rem; margin-bottom: .5rem;
    color: #3a2f1e;
}
.sect-x-row.off { opacity: .55; }
.sect-x-row b { color: #6b4a12; }
.sect-x-row i { font-style: normal; color: #8a7a5c; font-size: 1rem; }
.sect-x-tip { margin-top: .8rem; color: #8a7a5c; font-size: 1.05rem; }

/* ==========================================================================
   NPC 活着（GDD v0.4 P0/P1/P4）：弟子口头禅、人格行、召见对话、设置三档。
   ========================================================================== */
/* P0 口头禅：弟子行折行成第二行，压小压灰，不抢名字与岗位。 */
.sect-d-row { flex-wrap: wrap; }
.sect-d-phrase {
    flex-basis: 100%;
    font-style: normal; font-size: 1rem; color: #8a7a5c;
    padding-left: 3.2rem;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sect-d-mind { color: #5a4a30; }
.sect-d-quote { color: #8a7a5c; font-size: 1.05rem; }

/* P3 亲传：详情区一行，名额与理由都摆在按钮旁边（拒绝要讲道理）。 */
.sect-inherit-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.sect-inherit-row > span { color: #5a4a30; font-size: 1.05rem; }
.sect-art-pick {
    background: rgba(255, 252, 244, .9); color: #3a2f1e;
    border: .0625rem solid rgba(0, 0, 0, .28);
    padding: .2rem .5rem; max-width: 9.5rem;
    font: 400 1.05rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
/* 「承续《X》修炼 ×1.5」不许在书名号里断行——断了要读两遍才知道是一句。 */
.sect-inherit-cur { font-style: normal; color: #6b4a12; font-size: 1.05rem; white-space: nowrap; }
.sect-inherit-tip { flex-basis: 100%; font-style: normal; color: #8a7a5c; font-size: 1rem; }
/* 名册里的亲传徽记：压小、朱色，占位不挤名字。 */
.sect-d-art-mark {
    text-decoration: none;
    font-size: .9rem; color: #8c3a24;
    border: .0625rem solid rgba(140, 58, 36, .55);
    border-radius: .2rem;
    padding: 0 .28rem; margin-left: .35rem;
}

/* P1 召见：详情区内嵌，不开新 overlay。 */
.sect-talk-row { display: flex; align-items: center; gap: .8rem; }
.sect-talk-tip { color: #8a7a5c; font-size: 1rem; }
.sect-talk {
    display: flex; flex-direction: column; gap: .45rem;
    background: rgba(0, 0, 0, .10);
    padding: .8rem 1rem;
    max-width: 42rem;
}
.sect-talk-line { color: #3a2f1e; font-size: 1.15rem; line-height: 1.5; }
.sect-talk-line b { color: #6b4a12; }
.sect-talk-note { color: #2e6b3a; font-size: 1rem; }
.sect-talk-mem {
    border-top: .0625rem solid rgba(0, 0, 0, .22);
    padding-top: .5rem;
    color: #8a7a5c; font-size: 1rem; line-height: 1.45;
}
/* 云言轻标：API 成功替换的正文那句才有；刻意做淡，不抢正文。 */
.sect-talk-cloud {
    margin-left: .4rem;
    font-size: .85rem; font-style: normal;
    color: #5a7a9c;
    border: .0625rem solid rgba(90, 122, 156, .55);
    border-radius: .2rem;
    padding: 0 .3rem;
    vertical-align: .1rem;
    opacity: .85;
}

/* P4 设置三档：功能组第二列第三行（38rem 列，44.02+6.75rem 行，见 style.css
   .set-togs / .set-tog-p 坐标）。 */
.set-npc {
    position: absolute; left: 38rem; top: 6.75rem;
    display: flex; align-items: center; gap: .8rem;
    white-space: nowrap;
}
.set-npc > span {
    font: 400 1.875rem/1.448 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    color: #394152;
}
.set-npc select {
    font: 400 1.25rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    background: #2a2118; color: #e8dcc0;
    border: .0625rem solid #6a583c; padding: .25rem .5rem;
}
.set-npc button {
    font: 400 1.1rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    background: #4a3a24; color: #e8dcc0;
    border: .0625rem solid #6a583c; padding: .25rem .8rem; cursor: pointer;
}
.set-npc button.hidden { display: none !important; }
/* 三档下拉的人话提示：一行小字说清「没接也能玩」。
   R7 顺手刀（r7-005）：原挂 top 8.9rem 在下拉行下方——实测 1920×1080 下拉底
   （abs≈972.6px）距面板纸面下缘（825/863≈976.7px）只剩 4px，一行小字必被底框
   裁半行。挪到行上方的空档（大年旁白文字底≈908px 与弟子开口行顶≈930px 之间），
   字号 1.05→.95 收进 28px 净空。 */
.set-npc-hint {
    position: absolute; left: 38rem; top: 5.42rem;
    font: 400 .95rem/1.25 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-style: normal;
    color: #6b7385;
    white-space: nowrap;
}

/* API 配置小面板：要盖过设置层（103）与确认框（104）。 */
#npc-api-overlay {
    position: absolute; inset: 0;
    z-index: 106;
    background: rgba(0, 0, 0, .6);
}
#npc-api-overlay.hidden { display: none !important; }
.npc-api-panel {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 34rem;
    background: #efe3c8;
    border: .35rem solid #6a583c;
    padding: 1.6rem 1.8rem;
    display: flex; flex-direction: column; gap: 1rem;
    color: #3a2f1e;
}
.npc-api-panel > b { font-size: 1.4rem; color: #6b4a12; }
.npc-api-panel label {
    display: flex; align-items: center; gap: .8rem;
    font-size: 1.1rem; white-space: nowrap;
}
.npc-api-panel input {
    flex: 1;
    font: 400 1.05rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    background: #2a2118; color: #e8dcc0;
    border: .0625rem solid #6a583c; padding: .35rem .6rem;
}
.npc-api-panel > i { font-style: normal; color: #8a7a5c; font-size: 1rem; }
/* 测连通结果行：空着不占眼；ok 绿 / bad 土红，永远是人话不是异常栈。 */
#npc-api-test-msg { min-height: 1.2rem; }
#npc-api-test-msg.ok { color: #2e6b3a; }
#npc-api-test-msg.bad { color: #a04a2a; }
.npc-api-btns { display: flex; justify-content: flex-end; gap: 1rem; }
.npc-api-btns button:disabled { opacity: .5; cursor: default; }
.npc-api-btns button {
    font: 400 1.15rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    background: #4a3a24; color: #e8dcc0;
    border: .0625rem solid #6a583c; padding: .4rem 1.4rem; cursor: pointer;
}
.npc-api-btns button:hover { filter: brightness(1.15); }

/* 关系网（觅长生味二期）：同门 tie 一行；结怨/有隙压土红提醒可干预。 */
.sect-d-ties { color: #5a4a30; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sect-d-tie { color: #2e6b3a; }
.sect-d-tie.bad { color: #a04a2a; }
.sect-d-ties .sect-mini-btn { padding: .1rem .6rem; font-size: .95rem; }

/* ==========================================================================
   递话（GDD v1.0 §5）：牌桌内嵌在弟子详情/总览具名区，不开新 overlay。
   ========================================================================== */
.sect-d-ledger { color: #5a4a30; font-size: 1.05rem; }
.sect-parley {
    display: flex; flex-direction: column; gap: .5rem;
    background: rgba(0, 0, 0, .10);
    padding: .8rem 1rem;
    max-width: 46rem;
}
.sect-parley-head { color: #6b4a12; font-size: 1.2rem; }
.sect-parley-head i { font-style: normal; color: #8a7a5c; font-size: 1rem; margin-left: .8rem; }
.sect-parley-line { color: #3a2f1e; font-size: 1.1rem; line-height: 1.5; }
.sect-parley-line b { margin-right: .6rem; }
.sect-parley-line.t2 b { color: #2e6b3a; }
.sect-parley-line.t1 b { color: #8a7a5c; }
.sect-parley-line.t0 b { color: #a04a2a; }
.sect-parley-foot { display: block; font-style: normal; color: #8a7a5c; font-size: 1rem; }
.sect-parley-hand { display: flex; flex-wrap: wrap; gap: .5rem; }
.sect-card {
    border: .0625rem solid #6a583c; cursor: pointer;
    padding: .35rem .9rem;
    background: #4a3a24; color: #e8dcc0;
    font: 500 1.1rem/1.3 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
.sect-card:hover { filter: brightness(1.2); }
.sect-card.grey, .sect-card:disabled { opacity: .4; cursor: default; filter: none; }
.sect-parley-ops { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.sect-parley-ops span { color: #5a4a30; font-size: 1.05rem; }

/* 总览具名戏骨区：班底递话入口 + 因果账摘要 + 清账场预告。 */
.sect-named { margin-top: 1rem; border-top: .0625rem solid rgba(0, 0, 0, .22); padding-top: .7rem; }
.sect-named-head { color: #6b4a12; font-size: 1.25rem; margin-bottom: .5rem; }
.sect-named-row {
    display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
    background: rgba(0, 0, 0, .08); padding: .45rem .9rem; margin-bottom: .45rem;
    color: #3a2f1e;
}
.sect-named-row b { color: #6b4a12; min-width: 5.5rem; }
.sect-named-row span { flex: 1; color: #5a4a30; font-size: 1.05rem; }
.sect-reckon { flex-basis: 100%; font-style: normal; color: #a04a2a; font-size: 1rem; }

/* ============================================================================
   三界（GDD v1.0 期 2–5）。山河/云京两页套宗务的几何语言（同 #sect-body 内
   排版）；渊漏另开 #abyss-overlay，几何与 .sect-bg 同源只换标题。
   全部 rem / 设计像素，禁 vw/vh。
   ========================================================================== */

/* 山河：七点一张表，不做实时地图。 */
.sect-war-head { display: flex; gap: 1.6rem; align-items: baseline; flex-wrap: wrap; font-size: 1.2rem; }
.sect-war-head b { font-size: 1.7rem; color: #6b4a12; }
.sect-war-bad { color: #a04a2a; }
.sect-war-now {
    margin: .7rem 0; padding: .5rem .9rem;
    background: rgba(0, 0, 0, .08); color: #4a3c28;
    display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
}
.sect-war-list { display: flex; flex-direction: column; gap: .35rem; }
.sect-war-row {
    display: flex; align-items: center; gap: .8rem;
    padding: .38rem .9rem; background: rgba(0, 0, 0, .06); color: #3a2f1e;
}
.sect-war-row.mine { background: rgba(122, 96, 58, .22); }
.sect-war-row b { min-width: 6rem; color: #6b4a12; }
.sect-war-owner { min-width: 6rem; color: #5a4a30; }
.sect-war-row em { flex: 1; font-style: normal; color: #7a6a4c; font-size: 1rem; }
.sect-war-row select, .sect-war-gar {
    min-width: 8rem; height: 2rem;
    background: #efe6d2; border: .0625rem solid #6a583c; color: #2a2118;
}
.sect-war-ops { margin-top: .8rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* 山河四门主行（一期五张脸回填）：三门主 + 渡口市场，成品 200×220。 */
.sect-war-faces { display: flex; gap: 1rem; margin: .7rem 0; flex-wrap: wrap; }
.sect-war-face {
    display: flex; flex-direction: column; align-items: center;
    width: 7rem; padding: .4rem 0 .3rem;
    background: rgba(0, 0, 0, .06);
}
.sect-war-face img {
    width: 5rem; height: 5.5rem; object-fit: cover;
    border: .0625rem solid #6a583c; background: #efe6d2;
}
.sect-war-face b { margin-top: .3rem; font-size: 1.05rem; color: #6b4a12; }
.sect-war-face i { font-style: normal; font-size: .9rem; color: #7a6a4c; }

/* 云京：两支仪表 + 名册 + 天上来信。 */
.sect-sky-head { display: flex; gap: 1.6rem; align-items: baseline; flex-wrap: wrap; font-size: 1.2rem; }
.sect-sky-head b { font-size: 1.7rem; color: #6b4a12; }
.sect-sky-meters { margin: .8rem 0; display: flex; flex-direction: column; gap: .45rem; }
.sect-meter { display: flex; align-items: center; gap: .8rem; }
.sect-meter b { min-width: 4rem; color: #6b4a12; }
.sect-meter-bar {
    width: 22rem; height: 1.05rem;
    background: rgba(0, 0, 0, .16); border: .0625rem solid rgba(0, 0, 0, .28);
}
.sect-meter-bar i { display: block; height: 100%; background: #7a603a; }
.sect-meter span { color: #5a4a30; font-size: 1.05rem; }
.sect-sky-quota { margin: .6rem 0; color: #5a4a30; }
.sect-sky-roster, .sect-sky-letters {
    margin-top: .7rem; border-top: .0625rem solid rgba(0, 0, 0, .22); padding-top: .5rem;
}

/* 传习：总览尾巴一小块。 */
.sect-paths { margin-top: 1rem; border-top: .0625rem solid rgba(0, 0, 0, .22); padding-top: .7rem; }
.sect-paths-row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; color: #4a3c28; margin-bottom: .4rem; }

/* 渊漏：十刻条 + 五个走法。底子比宗务暗一档——下面没有日头。 */
#abyss-overlay { position: absolute; inset: 0; z-index: 96; background: rgba(0, 0, 0, .82); }
#abyss-overlay.hidden { display: none !important; }
#abyss-overlay:not(.hidden) { animation: sect-fade-in .3s linear; }
#abyss-body { left: 4rem; top: 7.6rem; right: 30rem; bottom: 3.2rem; overflow: auto; }
.abyss-bar { display: flex; gap: .5rem; margin-bottom: .9rem; }
.abyss-tick {
    width: 3.2rem; height: .8rem;
    background: rgba(0, 0, 0, .2); border: .0625rem solid rgba(0, 0, 0, .35);
}
.abyss-tick.on { background: #4a3a5c; }
.abyss-meters { display: flex; gap: 1.4rem; flex-wrap: wrap; color: #4a3c28; font-size: 1.2rem; }
.abyss-beliefs {
    margin: .9rem 0; padding: .6rem .9rem;
    background: rgba(0, 0, 0, .08);
    display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
}
.abyss-beliefs b { color: #6b4a12; margin-right: .4rem; }
.abyss-beliefs .sect-mini-btn.on { background: #4a3a5c; color: #efe6d2; }
.abyss-acts { display: flex; gap: .8rem; flex-wrap: wrap; margin: .8rem 0; }
.abyss-acts .sect-mini-btn { min-width: 7rem; height: 2.6rem; font-size: 1.25rem; }
.abyss-silent {
    margin: .8rem 0; padding: .6rem .9rem;
    background: rgba(74, 58, 92, .22); color: #3a2f1e;
    display: flex; align-items: center; gap: .9rem;
}
/* 无声者立绘（一期五张脸回填）：黑里一小片更黑，边缘交给底色吃掉。 */
.abyss-silent-face {
    width: 5rem; height: 5.5rem; object-fit: cover; flex: none;
    border: .0625rem solid #2a2130;
}
.abyss-hint { margin-top: .5rem; color: #5a4a30; font-size: 1.05rem; }

/* 结算「三界志」：跟事件段同字号，Mod 关时整行空着不占位。 */
.st-sanjie:empty { display: none; }
