/* LGU Encounters Lab v0.3.25k: cinematic-first discovery + journey UI.
   Deliberately presentation-only: preserve every world layer, state machine, export, and battle renderer. */
/* Floating book: one narrator inside the stage, no duplicative prose/output or text input below. */
#bookStage{aspect-ratio:1.05;min-height:460px}
#bookStage .scene-narration{position:absolute;z-index:10;bottom:50px;left:10px;right:10px;pointer-events:none;margin:0;padding:12px 13px 10px;border:1px solid #729ab473;border-radius:10px;background:linear-gradient(95deg,#081224ef,#101c36dc);box-shadow:0 7px 25px #02060dbc;backdrop-filter:blur(5px);max-width:590px}
#bookStage .scene-narration .eyebrow{font:800 9px system-ui,sans-serif;color:#90dcef;letter-spacing:.15em}
#bookStage .scene-narration h2{font:600 clamp(16px,3vw,19px) Georgia,serif;margin:4px 0 4px;color:#fff}
#bookStage .scene-narration p{font-size:clamp(11px,2.2vw,13px);line-height:1.4;min-height:0;margin:0;color:#dce9f6}
#bookStage .omen-hit-hint{top:13px;right:9px;left:auto;bottom:auto;transform:none;max-width:57%;white-space:normal;text-align:right;font-size:9px;line-height:1.25;padding:7px 8px}
#bookStage .scene-tools{position:absolute;top:45px;left:9px;right:9px;display:flex;align-items:center;justify-content:space-between;z-index:12;pointer-events:none;gap:8px}
#bookStage .scene-tools .soft-btn{pointer-events:auto;min-height:30px;padding:6px 9px;background:#0c1b35e9;border:1px solid #82bbca99;color:#e2f8ff;font-size:10px;border-radius:7px}
#bookStage .scene-advance{position:absolute;left:10px;right:10px;bottom:8px;z-index:13}
#bookStage .scene-advance .commit{margin:0;min-height:45px;padding:9px}
#bookStage.is-exit .scene-narration{bottom:66px}
#bookStage .book-scene-notice:not([hidden]){position:absolute;top:82px;left:9%;right:9%;padding:9px 12px;background:#17354ae9;border:1px solid #83d8ed;border-radius:8px;z-index:14;box-shadow:0 0 20px #17394c99;color:#eefaff;text-align:center;font-size:12px;line-height:1.45;pointer-events:none}
#bookStage .omen-book-button{top:40%}
#bookStage .omen-scene-tag{font-size:9px}
/* Full-screen journey: replace separate story panel with a concise caption and on-stage actions. */
.world-stage{min-height:440px}
.world-stage .scene-caption{position:absolute;z-index:10;top:10px;left:10px;right:10px;max-width:570px;border:1px solid #729ab473;border-radius:9px;padding:9px 12px 10px;background:linear-gradient(100deg,#07152de8,#17203bd9);pointer-events:none;backdrop-filter:blur(4px);box-shadow:0 7px 22px #02050cab}
.world-stage .scene-caption .scene-count{font:800 9px ui-monospace,monospace;letter-spacing:.12em;color:#8adfeb}
.world-stage .scene-caption h1{margin:4px 0 3px;font-size:clamp(15px,3vw,20px);color:#fff;line-height:1.2}
.world-stage .scene-caption p{font-size:clamp(11px,2.3vw,13px);line-height:1.4;color:#dce9f6;margin:0;max-width:58ch}
.world-stage .scene-inspect{position:absolute;z-index:14;top:6px;right:6px;background:#081a36ed;border:1px solid #82cfed9a;border-radius:6px;color:#b6efff;font-weight:800;font-size:9px;padding:6px 8px;cursor:pointer}
.world-stage .scene-caption{padding-right:103px}
.world-stage .scene-observation:not([hidden]){position:absolute;z-index:15;top:114px;left:5%;right:5%;font-size:12px;line-height:1.4;padding:11px 13px;color:#edfbff;border:1px solid #83dceb;border-radius:8px;background:#0b2345ed;box-shadow:0 8px 24px #030b18aa}
.world-stage .scene-advance-button{position:absolute;z-index:16;bottom:7px;left:10px;right:10px;width:calc(100% - 20px);margin:0;padding:10px 12px;min-height:44px;font-size:11px;cursor:pointer}
.world-stage .journey-speaker{bottom:59px;max-width:92%;z-index:15}
.world-stage .world-tag{bottom:57px}
.world-stage.has-speaker .scene-caption{background:linear-gradient(95deg,#07152de5,#102449d5)}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:520px){
 #bookStage{aspect-ratio:auto;min-height:485px}
 #bookStage .scene-narration{padding:10px 11px;bottom:46px}
 #bookStage .scene-narration h2{font-size:17px}
 #bookStage .scene-narration p{font-size:12px;line-height:1.35}
 #bookStage .scene-advance .commit{min-height:42px}
 .world-stage{min-height:480px;aspect-ratio:auto!important}
 .world-stage .scene-caption{top:9px;left:7px;right:7px;padding:8px 8px 9px;max-width:none;padding-right:103px}
 .world-stage .scene-caption h1{font-size:15px}
 .world-stage .scene-caption p{font-size:11px;line-height:1.35}
 .world-stage .scene-inspect{top:14px;right:12px;font-size:9px}
 .world-stage .journey-speaker{left:8px;right:8px;bottom:60px;min-height:61px}
 .world-stage .scene-advance-button{font-size:10px}
 .world-stage .scene-observation:not([hidden]){top:118px}
}
@media(prefers-reduced-motion:reduce){#bookStage .scene-narration,.world-stage .scene-caption{backdrop-filter:none}}
#bookStage [hidden],.world-stage [hidden]{display:none!important}
