/* A dedicated scene stage; the original map layout returns when a scene ends. */
.fx-enemy-withdraw{animation:world-enemy-withdraw .55s ease-in forwards!important}
@keyframes world-enemy-withdraw{to{translate:140px 0;opacity:0}}
@media(prefers-reduced-motion:reduce){.fx-enemy-withdraw{animation:none!important;opacity:0}}
#world-root.world-story-scene .world-layout{display:block;position:relative;max-width:1400px;border-radius:12px;overflow:hidden;background:#101923}
#world-root.world-story-scene #world-regions,#world-root.world-story-scene #world-stats{display:none}
#world-root.world-story-scene .world-header{margin-bottom:12px}
#world-root.world-story-scene .world-map{height:clamp(280px,54vh,640px);min-height:0;border:0;border-radius:0;background:#182732;z-index:0}
#world-root.world-story-scene .world-map-heading,#world-root.world-story-scene #world-terrain,#world-root.world-story-scene .world-map-legend{display:none}
#world-scene-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
#world-scene-bg[hidden]{display:none}
#world-root.world-story-scene #world-portrait{inset:auto 3% 0 auto;width:48%;height:98%;margin:0;object-fit:contain;object-position:center bottom;background:none;z-index:1;filter:drop-shadow(0 6px 10px #0007)}
#world-root.world-story-scene .world-detail{position:relative;z-index:2;border:1px solid #75858c;border-radius:0 0 12px 12px;background:linear-gradient(120deg,#101b27f5,#1a2b35f5);padding:16px 26px 18px}
#world-root.world-story-scene #world-heading{font-size:23px;margin:4px 0;color:#f4deab}
#world-root.world-story-scene #world-message{font-size:18px;min-height:60px;line-height:1.85;margin:8px 0 14px;max-width:1050px}
#world-root.world-story-scene #world-actions{justify-content:flex-end}
#world-root.world-story-scene #world-actions button:first-child{min-width:120px;background:#36444d}
@media(max-height:540px) and (min-width:701px){
 #world-root.world-story-scene .world-header{display:none}
 #world-root.world-story-scene .world-layout{height:calc(100dvh - 64px);min-height:310px}
 #world-root.world-story-scene .world-map{height:100%}
 #world-root.world-story-scene .world-detail{position:absolute;bottom:0;left:0;right:0;padding:8px 18px;background:#101b27e8}
 #world-root.world-story-scene #world-message{font-size:15px;line-height:1.6;min-height:24px;margin:4px 0}
 #world-root.world-story-scene #world-heading{font-size:18px}
 #world-root.world-story-scene #world-actions{position:absolute;right:12px;bottom:8px}
 #world-root.world-story-scene #world-message{padding-bottom:44px}
 #world-root.world-story-scene #world-portrait{height:94%;bottom:0}
}
@media(max-width:700px){
 #world-root.world-story-scene .world-map{height:40dvh;min-height:235px}
 #world-root.world-story-scene #world-portrait{width:75%;right:0}
 #world-root.world-story-scene .world-detail{padding:12px 16px}
 #world-root.world-story-scene #world-message{font-size:16px;min-height:84px}
 #world-root.world-story-scene .world-eyebrow{display:none}
 #world-root.world-story-scene .world-header h1{font-size:21px}
 #world-root.world-story-scene .world-tools{gap:5px}
}
