/* Canvas stays beneath all established UI and never receives pointer input. */
#app.reference-main-menu .living-menu-canvas{position:absolute;inset:0;z-index:-1;pointer-events:none!important;display:block;max-width:100%;contain:strict}
#app .cinematic-debug{position:fixed;right:12px;bottom:auto;max-width:min(380px,94vw);max-height:75vh;overflow:auto;z-index:10000;pointer-events:auto;background:#071522f5;color:#edf7ff;border:1px solid #6290a2;border-radius:8px;padding:12px;font:12px/1.5 Arial,sans-serif;box-shadow:0 5px 20px #0008}
#app .cinematic-debug button,#app .cinematic-debug select,#app .cinematic-debug input{font:inherit;min-height:26px;margin:3px;padding:3px 6px;color:#edf7ff;background:#142d3a;border:1px solid #547e90;border-radius:4px}
#app .cinematic-debug pre{white-space:pre-wrap;font-size:10px}
#app .cinematic-debug:not([open]){top:auto!important;bottom:10px!important;max-width:230px}
#app.endless-game .cinematic-debug{top:var(--cinematic-qa-safe-top,115px)!important;bottom:auto!important;max-height:var(--cinematic-qa-safe-height,calc(100dvh - 130px))!important;box-sizing:border-box}
#app.game[data-mode="deltaBase"] .cinematic-debug:not([open]){top:var(--cinematic-qa-safe-top,115px)!important;bottom:auto!important;max-height:var(--cinematic-qa-safe-height,calc(100dvh - 130px))!important;box-sizing:border-box}
