/* Topic06 first-story entrance only. */
#memoryEntry { position:absolute; inset:0; z-index:100; pointer-events:auto; overflow:hidden; }
#memoryEntry[hidden], #memoryEntry [hidden] { display:none !important; }
#memoryEntry .memory-entry-film, #memoryEntry .memory-entry-copy { position:absolute; width:var(--entry-width); height:var(--entry-height); left:50%; top:50%; transform:translate(-50%,-50%); pointer-events:none; }
#memoryEntry .memory-entry-copy { overflow:hidden; }
#memoryEntry .memory-entry-label-plane { position:absolute; width:1920px; height:1080px; transform-origin:0 0; transform:scale(var(--entry-scale)); }
#memoryEntry .memory-entry-label-track { position:absolute; inset:0; transform-origin:0 0; }
#memoryEntry .memory-entry-grade { position:absolute; inset:0; pointer-events:none; opacity:0; }
#memoryEntry .memory-entry-video { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; opacity:.000001; }
#memoryEntry .memory-entry-video.is-front { opacity:1; }
#memoryEntry .memory-entry-message { position:absolute; left:50%; bottom:5%; transform:translateX(-50%); padding:14px 18px; color:#fff2d6; background:#261b16e6; border:1px solid #ac8558; border-radius:8px; display:flex; align-items:center; gap:12px; }
#memoryEntry button { font:inherit; padding:8px 14px; border:1px solid #c9a779; border-radius:4px; color:#fff4db; background:#513827; cursor:pointer; }
#memoryEntry button:focus-visible { outline:2px solid #fff2c9; outline-offset:3px; }
body[data-memory-entry] #trilogyNavigation { visibility:hidden !important; }
body[data-memory-entry] #chapterShell { pointer-events:none; }
body[data-memory-entry] #chapterMenu { pointer-events:none; }
body[data-memory-entry] #stageScene #chapterMenu.is-choice-locked .story-board { opacity:1 !important; filter:none !important; transform:none !important; animation:none !important; transition:none !important; }
body[data-memory-entry="handoff"] #mainSongFilm,
body[data-memory-entry="starting"] #mainSongFilm { opacity:1 !important; transition:none !important; }
#mainSongFilm.memory-entry-ready,
#mainSongFilm.memory-entry-ready video { opacity:1 !important; transition:none !important; }
