/* Chapter presentation owns fixed desktop type sizes and cinematic composition. */
#hud.qh-hud .qh-objective{box-sizing:border-box;width:180px;padding:6px 9px;top:24%;background:linear-gradient(90deg,#15201cba,#15201c38)}
#hud.qh-hud .qh-objective>span{font:9px/1.4 var(--serif);margin-bottom:3px;letter-spacing:.04em}
#hud.qh-hud .qh-objective strong{font:11px/1.45 var(--serif);display:-webkit-box;-webkit-line-clamp:2;letter-spacing:0}
#hud.qh-hud .qh-objective small{display:block;font:9px/1.45 var(--serif);color:#cabb96;margin-top:3px}
#hud.qh-hud .qh-minimap{position:absolute;right:2.5%;top:23%;width:clamp(178px,24vw,286px);padding:7px;background:#14201be6;border:1px solid #9c8960;pointer-events:auto}
.qh-minimap header{display:flex;justify-content:space-between;font:11px/1.5 var(--serif);color:#e9d9b4}
.qh-minimap canvas{display:block;width:100%;height:auto;aspect-ratio:328/220;margin:5px 0;cursor:crosshair;image-rendering:auto}
.qh-minimap footer{font:10px/1.4 sans-serif;color:#c2cdb8;letter-spacing:0}
#game:has(#dlg:not([hidden])) .qh-minimap{display:none}
.qh-fire-cg{position:absolute;inset:0;z-index:55;overflow:hidden;background:#101514;animation:qh-cg-enter .5s ease-out both;pointer-events:none;display:grid;place-items:center}
.qh-fire-cg img{width:100%;height:100%;object-fit:contain}
body.qh-cinematic #hud,body.qh-cinematic #qihe-journal,body.qh-cinematic #npc-arts-button,body.qh-backdrop #hud,body.qh-backdrop #qihe-journal,body.qh-backdrop #npc-arts-button{visibility:hidden!important;pointer-events:none!important}
body.qh-cinematic #dlg .face,body.qh-cinematic #dlg .mini,body.qh-cinematic #dlg .dialogue-cast,body.qh-cinematic #dlg .dialogue-cast-rail,#dlg.qh-cg-dialogue:before{display:none!important}
#dlg.qh-cg-dialogue .box{left:4%;right:4%;bottom:3%;min-height:0;background:linear-gradient(90deg,#101817e8,#101817bc);border:0;border-left:2px solid #d0a66d;padding:14px 24px}
#dlg.qh-cg-dialogue .txt{font:clamp(15px,1.25vw,20px)/1.6 var(--serif);max-width:none;padding:0}
#dlg.qh-cg-dialogue .who{font-size:15px;left:24px}
/* 2026-10-11：第二章培养恢复体力限制，体力显示不再隐藏（第一章本来就不用这两个元素）。 */
@keyframes qh-cg-enter{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.qh-fire-cg,.qh-fire-cg img{animation:none}}
#dlg.qh-cg-dialogue .box,#dlg.qh-cg-dialogue.narr .box{height:auto!important;min-height:0!important;max-height:25%;display:block;padding:14px 24px}
#dlg.qh-cg-dialogue.narr .txt{display:block;text-align:left;margin:0;min-height:0}

#hud.qh-hud .qh-minimap[hidden]{display:none}
.qh-minimap header{align-items:center}
#hud.qh-hud .qh-map-close{font:20px/1 sans-serif;padding:0 3px;color:#e9d9b4}
#hud.qh-hud .qh-nav button[aria-expanded="true"] .qh-painted-icon{filter:drop-shadow(0 0 5px #edc66b)}

#hud.qh-hud .qh-objective kbd{font:9px/1.2 var(--sans);min-width:12px;padding:1px 2px;margin:0;border-radius:2px;box-shadow:none}
