/* Reading, guidance and physical interaction share a stable frame. */
.dialogue{height:344px}.dialogue-copy,.dialogue-text{height:214px}.dialogue-controls .history-previous{width:112px;flex-basis:112px;font-size:13px}.portrait[data-form=boy]{filter:none;image-rendering:pixelated}.guide-dialogue{background:linear-gradient(110deg,#243446,#253b3c);border-top:2px solid #9abbc6}.guide-dialogue .dialogue-copy{padding:12px 14px;background:#101e2b70;border-left:3px solid #c0d9d3;height:208px}.guide-dialogue .dialogue-text{font-family:system-ui,'Microsoft JhengHei',sans-serif;font-size:17px;line-height:1.85;height:180px;letter-spacing:.01em;color:#cce0e7}.guide-dialogue .speaker{color:#b9dee7;display:flex;align-items:center;gap:8px}.guide-review{font-family:system-ui,'Microsoft JhengHei',sans-serif;background:#243747;border-left:3px solid #bcd9df;color:#cee1e9}.spell{align-items:flex-start}.spell-latin{display:block;font-size:11px;line-height:1.55;color:#d5d9c2;overflow-wrap:anywhere}.spell small{margin-top:4px}.spell strong{overflow-wrap:anywhere;line-height:1.5}.targets button{display:flex;align-items:flex-start;gap:8px;text-align:left;padding:11px;line-height:1.6}.targets button small{display:block;color:#a9bda9;font-size:11px}.target-number{flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center;color:#ead5a1;background:#345043;border:1px solid #a3b38c70;font-size:12px}.utility>button{line-height:1.6;text-align:left}.utility>button small{display:block;font-size:10px;color:#a1baa7}.stage-hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;padding:0;pointer-events:auto;background:#152b24e8;color:#f0d9a4;border:2px solid #d8c18b;box-shadow:0 0 0 4px #14242770,0 0 22px #cabb7240;z-index:3}.hotspot:hover{background:#50634b}.stage-button{z-index:5}.consequence summary{min-height:44px;cursor:pointer;color:#d1c398}.consequence{line-height:1.8}.dialogue-heading .page-count{font-family:system-ui;letter-spacing:.03em}.journal-item{margin-top:14px}.battle-mode .scene-caption{max-width:72%;color:#e8e1c6;background:#121e25b0;padding:4px 7px;line-height:1.6}.scene-bar{height:auto;min-height:40px;padding-top:6px;padding-bottom:6px;line-height:1.6}#scene-layer{min-width:0}.tutorial{margin-bottom:12px}.tutorial summary{min-height:44px}.complete .journal-actions{margin-top:20px}
@media(max-width:480px){.dialogue{height:344px}.dialogue-copy,.dialogue-text{height:214px}.dialogue-controls .history-previous{width:98px;flex-basis:98px;font-size:12px}.guide-dialogue .dialogue-text{font-size:16px}.guide-dialogue .dialogue-copy{padding:10px;height:210px}.guide-dialogue .dialogue-text{height:184px}.spells{gap:6px}.spell{padding:9px 7px;gap:6px}.spell .icon{width:19px;height:19px}.spell strong{font-size:13px}.spell-latin{font-size:11px}.targets{grid-template-columns:1fr 1fr}.targets button{padding:10px 8px;font-size:12px}.targets button small{font-size:10px}.utility{display:grid;grid-template-columns:1fr 1fr}.utility button{padding:10px 8px;font-size:12px}.utility button small{font-size:10px}.intent .label{font-size:10px}.scene-bar{font-size:10px;gap:8px}.hotspot{font-size:14px}.dialogue-controls{gap:8px}.scene-caption{font-size:10px}.battle-mode .stage-wrap{height:180px}.intent{display:grid;grid-template-columns:1fr 44px;gap:8px;background:#1a2b2ef5}.intent>button{font-size:0;width:44px;padding:8px;margin:0}.intent>button .icon{font-size:16px}.battle-mode .intent{position:sticky;top:180px;z-index:3;padding:8px 0;box-shadow:0 7px 10px #1a2b2e}.intent p{font-size:12px}.intent h3{font-size:15px}.tutorial:not([open]){padding:0 8px}.resource-strip{margin:8px 0}.target-prompt{margin:10px 0 7px}.unlock-note{font-size:10px}}
.hotspot{background:transparent;border:0;box-shadow:none;clip-path:none;isolation:isolate}.hotspot::before{content:'';position:absolute;width:23px;height:23px;left:10px;top:10px;background:#172c23;border:1px solid #dbca91;z-index:-1;box-shadow:0 0 12px #a9c38d44}.hotspot:hover:not(:disabled){background:transparent;border:0}.hotspot:hover::before{background:#536a4a}
.intent .resource-strip{grid-column:1/-1;margin:0}.battle-mode .scene-caption{display:none}
@media(max-width:480px){.battle-mode .intent{box-shadow:none;border-bottom:1px solid #82977c55}}
