/* ============================================================
   j81-overrides.css —— 唯一活规则文件（v158 起所有 UI 改动只改这里）
   规则全部 ID 锚定 + !important，加载在 badge.css 之后，
   ID 优先级结构性高于一切类级 legacy 规则，杜绝"被旧规则压住"。
   badge.css 已冻结（v128 之前的 legacy），禁止再追加。
   ============================================================*/

/* v128：标题组整体下移（对齐对话窗顶部）+ 按钮回到底部区域 */
#j81-l3-stage #j81-l3-kicker { margin-top: 1% !important; }
#j81-l3-stage #j81-l3-holo .j81-scroll-actions { margin: auto 0 20px !important; }
#j81-l3-stage #j81-l3-holo .j81-l3-holo-inner { inset: 5% 5% 10% 23% !important; }
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo .j81-l3-holo-inner { inset: 5% 28% 10% 5% !important; }



/* v137：缩短卷轴（右缘钉在96%不外溢）：左/中 宽76→73.5 中心58→59.25；右侧镜像 */
#j81-l3-stage[data-layout="char-left"] #j81-l3-holo, #j81-l3-stage[data-layout="char-center"] #j81-l3-holo { width: 73.5% !important; max-width: 73.5% !important; left: 59.25% !important; }
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo { width: 73.5% !important; max-width: 73.5% !important; left: 40.75% !important; }

/* v137b：人物已整体在卷轴外，内容区左留白收回（23%→10%），文框恢复两行 */
#j81-l3-stage #j81-l3-holo .j81-l3-holo-inner { inset: 5% 5% 10% 10% !important; }
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo .j81-l3-holo-inner { inset: 5% 10% 10% 5% !important; }

/* v138：卷轴扩宽至83.5%（右缘钉96%），左轴杆压入人物身体约20%；文框随卷轴同比变宽 */
#j81-l3-stage[data-layout="char-left"] #j81-l3-holo, #j81-l3-stage[data-layout="char-center"] #j81-l3-holo { width: 83.5% !important; max-width: 83.5% !important; left: 54.25% !important; }
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo { width: 83.5% !important; max-width: 83.5% !important; left: 45.75% !important; }

/* v138b：场景文 honor 换行符（intro 内 \n 生效） */
#j81-l3-stage #j81-l3-desc { white-space: pre-line !important; }

/* v139：场景文框左扩至不被人遮挡（inner 左 10%→7%），文字自动填充 */
#j81-l3-stage #j81-l3-holo .j81-l3-holo-inner { inset: 5% 5% 10% 7% !important; }
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo .j81-l3-holo-inner { inset: 5% 7% 10% 5% !important; }

/* v140：场景文字换用气泡同款字体（--font-ui）并加粗到600，对齐"走起"观感 */
#j81-l3-stage #j81-l3-desc { font-family: var(--font-ui) !important; font-weight: 600 !important; }

/* v141：进此难页卷轴与开卷页同规——宽83.5%、右缘钉96%（左12.5%/右4.5%），两页规则一致仅镜像 */
#j81-starfield[data-layout="char-left"] .j81-scroll-panel, #j81-starfield[data-layout="char-center"] .j81-scroll-panel { left: 14.2% !important; width: 81.8% !important; max-width: 81.8% !important; }
#j81-starfield[data-layout="char-right"] .j81-scroll-panel { left: 4% !important; width: 81.8% !important; max-width: 81.8% !important; }

/* v141b：char-center 卷轴与全站同规（废横卷）：83.5%宽、74vh、中心锚54.25% */
#j81-l3-stage[data-layout="char-center"] #j81-l3-holo { width: 83.5% !important; max-width: 83.5% !important; height: 74vh !important; max-height: none !important; aspect-ratio: auto !important; left: 54.25% !important; right: auto !important; top: 50% !important; transform: translate(-50%, -50%) !important; }

/* v141c：char-right 标题组强制靠左，避让右侧人物/气泡/兵器 */
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo .j81-l3-holo-inner { align-items: flex-start !important; text-align: left !important; }
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo #j81-l3-kicker,
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo #j81-l3-title,
#j81-l3-stage[data-layout="char-right"] #j81-l3-holo #j81-l3-subtitle { margin-left: 0 !important; margin-right: auto !important; align-self: flex-start !important; }



/* ===== v145：过招系（闻/过招/渡完/传承/盘方）与已定版同宽 + 文框扩宽 + 字号控件压缩 ===== */
#j81-stage-layout[data-layout="char-left"] #j81-stage-panel, #j81-gate-layout[data-layout="char-left"] #j81-gate-panel { left: 55.1% !important; width: 81.8% !important; max-width: 81.8% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel { left: 44.9% !important; width: 81.8% !important; max-width: 81.8% !important; }
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { left: 26% !important; right: 3% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { left: 3% !important; right: 26% !important; }
#j81-stage-body, #j81-gate-rx { font-size: clamp(1.1rem, 1.7vw, 1.5rem) !important; line-height: 1.6 !important; overflow-x: hidden !important; }
#j81-stage-panel .jade-badge-btn .jade-badge-label, #j81-gate-panel .jade-badge-btn .jade-badge-label { font-size: clamp(.9rem, 1.35vw, 1.1rem) !important; }
#j81-stage-panel .j81-input, #j81-gate-panel .j81-input { font-size: clamp(.95rem, 1.4vw, 1.15rem) !important; padding: 10px 14px !important; }
#j81-stage-panel > .j81-scroll-copy { gap: 8px !important; }

/* ===== v146：下拉杆根治 + 上下留白对齐确定页 + 文框再扩 + 字号控件再压 ===== */
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { top: 5% !important; bottom: 4% !important; left: 20% !important; right: 2.5% !important; gap: 6px !important; scrollbar-width: none !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { left: 2.5% !important; right: 20% !important; }
#j81-stage-panel > .j81-scroll-copy::-webkit-scrollbar, #j81-gate-panel > .j81-scroll-copy::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
#j81-stage-body, #j81-gate-rx { font-size: clamp(1rem, 1.45vw, 1.3rem) !important; line-height: 1.5 !important; }
#j81-stage-panel .jade-badge-btn, #j81-gate-panel .jade-badge-btn { padding-top: 6px !important; padding-bottom: 6px !important; }
#j81-stage-panel .j81-input, #j81-gate-panel .j81-input { padding: 8px 12px !important; }
/* 进此难：文框左缘贴近人物（margin-left 27%→17.5%）、人物右移不入屏裁切 */
#j81-starfield .j81-scroll-desc { margin-left: 17.5% !important; }

/* v146b：进此难文框真正贴人物（压过 2103 的 74% 宽规则） */
#j81-starfield[data-layout] .j81-scroll-desc { margin-left: 10% !important; width: 84% !important; max-width: 84% !important; }

/* ===== v147：内联样式根因修复后的配套——右缘留白、盘方按钮贴对话框 ===== */
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { right: 3.5% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { left: 3.5% !important; }
#j81-gate-panel .j81-scroll-actions { margin-top: 10px !important; margin-bottom: 0 !important; }

/* v147b：盘方 hint 不再吃掉弹性空间，按钮真正贴上对话框 */
#j81-gate-panel > .j81-scroll-copy > .j81-hint { margin-top: 4px !important; min-height: 0 !important; }

/* ===== v148：81难全页整改（下拉杆永除/文框贴人/进此难人物与加粗/小仪式四修） ===== */
#j81-stage-panel > .j81-scroll-copy, #j81-gate-panel > .j81-scroll-copy { overflow-y: auto !important; overflow-x: hidden !important; scrollbar-width: none !important; }
#j81-stage-panel > .j81-scroll-copy::-webkit-scrollbar, #j81-gate-panel > .j81-scroll-copy::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { left: 14% !important; right: 3.5% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { left: 3.5% !important; right: 14% !important; }
#j81-stage-body, #j81-gate-rx { font-size: clamp(1rem, 1.3vw, 1.12rem) !important; padding: 14px 22px !important; line-height: 1.55 !important; }
.j81-starfield[data-layout="char-left"] .j81-board-char, .j81-starfield[data-layout="char-center"] .j81-board-char { left: 8% !important; }
.j81-starfield[data-layout="char-right"] .j81-board-char { right: 8% !important; }
#j81-starfield .j81-scroll-desc { font-weight: 600 !important; line-height: 1.3 !important; }
/* 小仪式：判词一竖排到底、底部话居中人物、印签缩小贴龙角 */
#j81-rite-judge { font-size: clamp(1.35rem, 2.5vw, 2.1rem) !important; max-height: 76vh !important; }
.j81-rite-fig { position: relative !important; }
#j81-rite-quote { position: absolute !important; top: 103% !important; left: 50% !important; transform: translateX(-50%) !important; width: max-content !important; max-width: 92vw !important; }
.j81-rite-seal { position: absolute !important; top: -5% !important; left: 36% !important; width: 56px !important; height: 56px !important; font-size: 26px !important; }

/* v149b：进此难场景文框补内边距（治"文字没入框"），等 F12 证据再动其余 */
#j81-starfield .j81-scroll-desc { padding: 14px 24px !important; box-sizing: border-box !important; }

/* v152：关键字号去 vw 依赖（缩放安全，rem 定值） */
#j81-starfield[data-layout] .j81-scroll-desc { font-size: 2.1rem !important; }
#j81-stage-body, #j81-gate-rx { font-size: 1.12rem !important; }

/* ===== v153：进此难页按开卷页确定规则返工 ===== */
/* 1. 卷轴加宽到 88%（右缘仍钉 96%，回到原设计规格，治"明显太窄"） */
#j81-starfield[data-layout="char-left"] .j81-scroll-panel, #j81-starfield[data-layout="char-center"] .j81-scroll-panel { left: 8% !important; width: 88% !important; max-width: 88% !important; }
#j81-starfield[data-layout="char-right"] .j81-scroll-panel { left: 4% !important; width: 88% !important; max-width: 88% !important; }
/* 2. 场景文：字号放大到 2.6rem（治"太小"），文框按确定页放宽（margin-left 6%、宽 88%）
   ★ v10e（2026-10-19）：文框改撑满内容列（margin 0 / 宽 100%），右缘与标题/按钮同一右边线
   （老板图1红框规则 + 对齐铁律「人物在左→文字右对齐」；原 6%/88% 使文框居中、右缘差 82px） */
#j81-starfield[data-layout] .j81-scroll-desc { font-size: 2.6rem !important; margin-left: 0 !important; width: 100% !important; max-width: 100% !important; }
/* 3. 人物站上左轴杆+银枪尾入屏：右移到 10.5% */
.j81-starfield[data-layout="char-left"] .j81-board-char, .j81-starfield[data-layout="char-center"] .j81-board-char { left: 10.5% !important; }
.j81-starfield[data-layout="char-right"] .j81-board-char { right: 10.5% !important; }
/* 4. 标题组/小字右缘与 HUD、难度栏对齐（右边距 6%→2.5%，同一条右边线） */
.j81-starfield[data-layout="char-left"] .j81-scroll-copy, .j81-starfield[data-layout="char-center"] .j81-scroll-copy { padding-right: 2.5% !important; }
.j81-starfield[data-layout="char-right"] .j81-scroll-copy { padding-left: 2.5% !important; }

/* ===== v154：进此难五项（右对齐统一/字号再放大/按钮下移/八角对山峰/人物上杆/卷轴加高） ===== */
#j81-starfield .j81-scroll-chrome-top, #j81-starfield .j81-scroll-chrome-bot, #j81-starfield .j81-scroll-copy { padding-right: 2.5% !important; }
#j81-starfield[data-layout="char-right"] .j81-scroll-chrome-top, #j81-starfield[data-layout="char-right"] .j81-scroll-chrome-bot, #j81-starfield[data-layout="char-right"] .j81-scroll-copy { padding-left: 2.5% !important; }
#j81-starfield[data-layout] .j81-scroll-desc { font-size: 3rem !important; }
#j81-starfield[data-layout] .j81-scroll-actions { transform: translateY(14px) !important; }
#j81-starfield .j81-star.is-pick { margin-left: -52px !important; }
.j81-starfield[data-layout="char-left"] .j81-board-char, .j81-starfield[data-layout="char-center"] .j81-board-char { left: 9.3% !important; }
.j81-starfield[data-layout="char-right"] .j81-board-char { right: 9.3% !important; }
#j81-starfield[data-layout] .j81-scroll-panel { height: 78vh !important; }

/* v154b：过招/盘方内容框=老板红框（四角饰对角范围）：顶到顶饰下、底到底饰上、左近左杆、右贴右杆 */
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { top: 11% !important; bottom: 10% !important; left: 2% !important; right: 6.5% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { left: 6.5% !important; right: 2% !important; }

/* v155：卷轴框裁住星图层——框外星星编号（37/61/62/81等）不再溢出金框 */
#j81-starfield[data-layout] .j81-scroll-panel { overflow: visible !important; }
/* v179：卷轴四个头子（gs-rod-cap）伸出面板 12-22px，被面板 overflow:hidden 整块裁掉——
   面板内只有壳与内容（星图/星星在 starfield 层），无需裁框；同类页（闯关/盘方）一并放开 */
#j81-stage-panel, #j81-gate-panel { overflow: visible !important; }

/* v156：过招/盘方内容框左缘让出人物（枪尖≈26%），其余沿红框 */
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { left: 27% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { left: 6.5% !important; right: 27% !important; }

/* ===== v157：十图问题批量根治 ===== */
/* 1. board人物真机锚不住 → ID 级强钉（12%，杆穿身、枪尾入屏）；右页镜像 */
#j81-starfield[data-layout="char-left"] #j81-board-char, #j81-starfield[data-layout="char-center"] #j81-board-char { left: 12% !important; right: auto !important; }
#j81-starfield[data-layout="char-right"] #j81-board-char { right: 12% !important; left: auto !important; }
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { left: 24% !important; right: 5% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { left: 5% !important; right: 24% !important; }
/* 3. 场景文框自身不再出内滚动条 */
#j81-stage-body, #j81-gate-rx { overflow: visible !important; max-height: none !important; }
/* 4. 输入框去 resize 拖手（假"下拉杆"）；textarea 限高 */
.j81-input, #j81-gate-input, #j81-stage-panel textarea, #j81-gate-panel textarea { resize: none !important; }
#j81-gate-input { max-height: 64px !important; }
/* 5. 闻/过招（有输入框的相位）按钮改为流式跟随输入框，不再压框 */
/* 6. 盘方压缩：标题/行距，保证真实长文+按钮一屏装完 */
#j81-gate-panel > .j81-scroll-copy { gap: 4px !important; }
#j81-gate-panel > .j81-scroll-copy > h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; }
/* 7. 小仪式：印签缩到64px钉头顶（龙角之间，动画保留）；按钮绝对定位居中人物下方 */
#j81-rite-small .j81-rite-seal { top: -6% !important; left: calc(50% - 32px) !important; right: auto !important; width: 64px !important; height: 64px !important; }
#j81-rite-small .j81-rite-seal span { font-size: 28px !important; }
#j81-rite-small #j81-rite-done { position: absolute !important; bottom: 7% !important; left: 34% !important; }

/* v160：非白龙人物开卷页场景文按长文压缩（白龙保持确认版大字） */
#j81-l3-stage #j81-l3-desc { font-size: clamp(1.2rem, 2vw, 1.8rem) !important; line-height: 1.6 !important; }

/* v160b：进此难 char-right 标题组整体靠左，避让右侧人物兵器 */
#j81-starfield[data-layout="char-right"] .j81-scroll-copy { align-items: flex-start !important; text-align: left !important; }
#j81-starfield[data-layout="char-right"] #j81-scroll-title { margin-right: auto !important; }

/* ===== v162：char-right 线全面纠偏（真机右缘裁人/标题未镜像/卷轴高度/八角） ===== */
/* 1. 过招/盘方 char-right 标题组镜像靠左（与开卷页 v141c 同规） */
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { align-items: flex-start !important; text-align: left !important; }
/* 2. 进此难卷轴加高（宽度有余、高度不够） */
#j81-starfield[data-layout] .j81-scroll-panel { height: 84vh !important; }
/* 3. 八角回归星图本位（撤销 -52px 手调，居中逻辑交给星图） */
#j81-starfield .j81-star.is-pick { margin-left: 0 !important; }

/* ===== v163：五图三问题根治 ===== */
/* 1. board人物父容器真相：#j81-board-char 在 .j81-starfield 之外（aside 的兄弟）——用父级 ID 锚定 */
#j81-board-view #j81-board-char { left: 12% !important; right: auto !important; }
#j81-board-view[data-layout="char-right"] #j81-board-char { right: 12% !important; left: auto !important; }
/* 2. 开卷页白龙文案孤字：确认大字 2.5→2.35rem，一行容下 33 字 */
#j81-l3-stage.is-bailong #j81-l3-desc { font-size: clamp(1.6rem, 2.6vw, 2.35rem) !important; }
/* 3. 闻/过招按钮压输入框：改由 JS 打标（.j81-has-input），老内核无 :has 也能生效 */
#j81-stage-panel.j81-has-input .j81-scroll-actions { margin-top: 8px !important; }

/* v165：过招/盘方卷轴高度与进此难统一（84vh） */
#j81-stage-layout[data-layout] #j81-stage-panel, #j81-gate-layout[data-layout] #j81-gate-panel { height: 84vh !important; }

/* v167：char-right 场景文字明确左对齐（copy级规则未落到 desc 元素，逐元素钉死）+ 文框贴左 */
#j81-l3-stage[data-layout="char-right"] #j81-l3-desc, #j81-stage-layout[data-layout="char-right"] #j81-stage-body, #j81-gate-layout[data-layout="char-right"] #j81-gate-rx { text-align: left !important; }

/* v168：进此难卷轴回确认标准 83.5%（88% 太宽）；char-right 文框收窄避让兵器 */
#j81-starfield[data-layout="char-left"] .j81-scroll-panel, #j81-starfield[data-layout="char-center"] .j81-scroll-panel { left: 14.2% !important; width: 81.8% !important; max-width: 81.8% !important; }
#j81-starfield[data-layout="char-right"] .j81-scroll-panel { left: 4% !important; width: 81.8% !important; max-width: 81.8% !important; }
/* v168：进此难卷轴回确认标准 83.5%（88% 太宽）；char-right 文框收窄避让兵器
   ★ v10e（2026-10-19）：与 char-left 镜像统一（margin 0 / 宽 100%），同一条左边线 */
#j81-starfield[data-layout="char-right"] .j81-scroll-desc { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }

/* v171：文框左右内缩 24%→14%（兵器只占14%）；场景文字按长度分档恢复主体性 */
#j81-stage-layout #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout #j81-gate-panel > .j81-scroll-copy { left: 14% !important; }
#j81-stage-layout[data-layout="char-right"] #j81-stage-panel > .j81-scroll-copy, #j81-gate-layout[data-layout="char-right"] #j81-gate-panel > .j81-scroll-copy { right: 14% !important; }
#j81-stage-body.j81-t-short, #j81-gate-rx.j81-t-short { font-size: 2.5rem !important; font-weight: 600 !important; line-height: 1.5 !important; }
#j81-stage-body.j81-t-mid, #j81-gate-rx.j81-t-mid { font-size: 1.7rem !important; font-weight: 600 !important; line-height: 1.55 !important; }

/* v172：长文案档（>110字）此前漏配规则，掉到 18px 细字——补上；v174 老板要框大字大，提到 1.45rem */
#j81-stage-body.j81-t-long, #j81-gate-rx.j81-t-long { font-size: 1.85rem !important; font-weight: 600 !important; line-height: 1.68 !important; }

/* v173：正文框撑满卷轴对角框（标题下→按钮上）；长文内部消化不压按钮（望/渡完/传承/盘方同规则） */
#j81-stage-panel > .j81-scroll-copy, #j81-gate-panel > .j81-scroll-copy { display: flex !important; flex-direction: column !important; }
#j81-stage-body, #j81-gate-rx { flex: 1 1 auto !important; min-height: 0 !important; overflow-y: auto !important; scrollbar-width: none !important; }
#j81-stage-body::-webkit-scrollbar, #j81-gate-rx::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
#j81-stage-panel .j81-scroll-actions, #j81-gate-panel .j81-scroll-actions { flex-shrink: 0 !important; }

/* v173：闻页"一个红框两排"——选项排+输入排共一框，提示小字在输入排左前方（两框回归合并） */
#j81-stage-choices .j81-trial-box:not(.j81-appear-box) { border: 1px solid rgba(42,53,72,.9) !important; background: rgb(10,16,24) !important; border-radius: 6px !important; padding: 12px 14px !important; display: flex !important; flex-direction: column !important; gap: 12px !important; box-sizing: border-box !important; }
#j81-stage-choices .j81-ask-line { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 14px !important; width: 100% !important; }
#j81-stage-choices .j81-ask-line p { margin: 0 !important; color: #c8b87a !important; font-size: .95em !important; white-space: nowrap !important; flex: 0 0 auto !important; }
#j81-stage-choices .j81-ask-line textarea.j81-input { flex: 1 1 auto !important; width: auto !important; border: none !important; background: rgba(255,255,255,.05) !important; min-height: 2.4em !important; }

/* v175：L3 出场页场景文字随框增大（老板图1/5"字号相应增大"） */
#j81-l3-desc { font-size: clamp(1.9rem, 2.5vw, 2.45rem) !important; line-height: 1.62 !important; }

/* v175：中档文案同步抬字号（1.7→1.85rem） */
#j81-stage-body.j81-t-mid, #j81-gate-rx.j81-t-mid { font-size: 2.3rem !important; }

/* v176：场景框长文显示下拉杆（老板点名要）；金色细杆，不占位 */
#j81-stage-body, #j81-gate-rx { scrollbar-width: auto !important; }
#j81-stage-body::-webkit-scrollbar, #j81-gate-rx::-webkit-scrollbar { width: 10px !important; display: block !important; }
#j81-stage-body::-webkit-scrollbar-track, #j81-gate-rx::-webkit-scrollbar-track { background: rgba(212,175,55,.12) !important; border-radius: 6px !important; }
#j81-stage-body::-webkit-scrollbar-thumb, #j81-gate-rx::-webkit-scrollbar-thumb { background: linear-gradient(180deg,#d4af37,#8a6a1f) !important; border-radius: 6px !important; }

/* v176：望页银枪被卷轴遮——人物层级抬到内容框下、星图上 */
#j81-stage-panel .j81-stage-char { z-index: 8 !important; }

/* v176：小仪式三件套——勋章气泡按人物比例放大、判词加大（老板图4） */
#j81-rite-small .j81-rite-seal { width: 96px !important; height: 96px !important; left: calc(50% - 48px) !important; }
#j81-rite-small .j81-rite-seal span { font-size: 40px !important; }
