/* v3.1.21 - targeted layout corrections, no game engine modifications */
/* The original decorative version number was baked into a pseudo-element. */
body::after,body.immersive-game::after {content:none!important;display:none!important}
/* The dialogue panel is a SIBLING of .scene-frame, not a descendant. */
body.immersive-game .adventure-column>.dialogue-panel,
.adventure-column>.dialogue-panel {position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;transform:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;}
/* New toolbar is in normal layout flow, so it is never hidden behind the panel. */
.crage-info-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;width:100%;min-height:28px;margin-top:-7px;position:relative;z-index:15;}
.crage-info-toggle{background:#102c3d;color:#e0f9f6;border:1px solid #48b6ac;border-radius:7px;padding:7px 12px;min-height:32px;cursor:pointer;font:700 11px system-ui,sans-serif;touch-action:manipulation;}
.crage-info-toggle:hover{background:#1a4857}
.adventure-column.crage-info-hidden>.dialogue-panel{display:none!important}
/* Do not permanently obscure the camera UI or controls; retain existing responsive rules. */
@media(max-width:700px){.crage-info-toolbar{padding:0 8px}.crage-info-toggle{min-height:38px}}
/* One genuine version badge, visually separate from narration. */
#crage-version-321{position:fixed;left:max(8px,env(safe-area-inset-left));right:auto;bottom:max(6px,env(safe-area-inset-bottom));z-index:2147483000;pointer-events:none;background:#0b2837ed;color:#e6ffff;border:1px solid #49c5bd;border-radius:6px;padding:4px 8px;font:700 11px ui-monospace,monospace;box-shadow:0 2px 10px #0008}
