@font-face{font-family:QFPeiQin;src:url('assets/staging-20261130/FZQinJianTiJ.woff2') format('woff2');font-display:block}
#stage.s4Stage #dialogue[data-voice="裴清"] #lineText,#stage.s4Stage #dialogue[data-voice="裴清"] #lineText *{font-family:QFPeiQin,QFSystem,serif!important}
#stage.s4Stage #cast{clip-path:inset(-100px 0 var(--s4-clip-bottom,0px) 0);overflow:visible}
#stage.s4Stage #cast .actor{display:block!important;transition:left .6s cubic-bezier(.2,.7,.2,1),opacity .35s ease,transform .6s ease!important;translate:none!important;scale:1!important;filter:brightness(.88) saturate(.94)}
#stage.s4Stage #cast .actor.on{transform:translateX(0)!important;opacity:1}
#stage.s4Stage #cast .actor:not(.on){opacity:0!important;pointer-events:none}
#stage.s4Stage #cast .actor.speaking{filter:brightness(1) saturate(1)}
#stage.s4Stage #cast .actor[data-character="裴清"]{z-index:12!important}
#stage.s4Stage #cast .actor[data-character="沈砚"]{z-index:18!important}
#stage.s4Stage #cast .actor .characterEmote{z-index:25}
#stage.s4Stage #dialogue{z-index:85!important}
#stage.s4Stage.narrating #dialogue{visibility:hidden!important;pointer-events:none}
#stage.s4Stage.narrating #sceneCaption{display:block!important;visibility:visible!important;z-index:90;top:11%!important;bottom:auto!important;white-space:normal!important;text-wrap:wrap!important;line-height:1.75!important;background:linear-gradient(90deg,transparent,#173a2ee8 8%,#173a2ee8 92%,transparent);max-width:90%;box-sizing:border-box}
#stage.s4Stage .z4Route svg{height:100%;width:100%}.z4RouteArt{object-fit:contain!important}
#stage.s4Stage .x4SealArt{background-size:contain!important}
#stage.s4Stage .z4Seal{inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:auto!important;height:100%!important;aspect-ratio:2048/915;max-width:100%}
#stage.s4Stage #q4Dais{display:none!important}

/* Keep the established lower dialogue frame during chapter-four stage directions. */
#stage.s4Stage[data-chapter="4"].narrating #dialogue{visibility:visible!important;pointer-events:auto}
#stage.s4Stage[data-chapter="4"].narrating #speaker{visibility:hidden!important;pointer-events:none}
#stage.s4Stage[data-chapter="4"].narrating #sceneAdvance{display:none!important}
