#scene-curtain{position:absolute;inset:0;z-index:35;background:#101015;opacity:0;pointer-events:none}
#chapter-intro.leaving{animation:none;pointer-events:none}
.postlude-spark{display:inline-block;width:12px;height:12px;background:currentColor;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
#game-shell[data-transitioning="true"] #dialogue,#game-shell[data-transitioning="true"] #choices,#game-shell[data-transitioning="true"] .reading-header{visibility:hidden}
#title-postlude.is-new{animation:postludeInvite 2.2s ease-in-out infinite;color:#7c5429}
#title-postlude.is-new::after{content:'';position:absolute;left:8px;top:50%;width:5px;height:5px;border-radius:50%;background:#f3c46d;box-shadow:0 0 12px #cf8d3d}
@keyframes postludeInvite{0%,100%{filter:brightness(1);box-shadow:inset 0 0 0 3px #17313718,0 0 8px #e0b66b22}50%{filter:brightness(1.13);box-shadow:inset 0 0 0 3px #e8c27f50,0 0 22px #e0b66b66}}
#game-shell[data-cg="pearl-portrait"] #cg-frame{max-height:calc(100dvh - 200px)}
#game-shell[data-cg^="beach-"] #cg-stage{background:radial-gradient(ellipse,#10212a0a 40%,#09131dc0)}
#game-shell[data-cg^="beach-"] #room{filter:blur(22px) saturate(.65) brightness(.48)}
#game-shell[data-cg="beach-photo"] #cg-frame{box-shadow:0 12px 60px #0006;outline:8px solid #fbf8ec;outline-offset:-1px}
#game-shell[data-cg="beach-photo"] #cg-stage.arriving::after{content:'';position:absolute;inset:0;background:#fff8e8;opacity:0;pointer-events:none;animation:photoExposure .38s ease-out both}
@keyframes photoExposure{0%{opacity:.45}100%{opacity:0}}
@media(max-width:700px) and (orientation:portrait){#game-shell[data-cg="pearl-portrait"] #cg-frame{max-height:57dvh}#title-postlude{min-height:39px}.title-actions{gap:6px}}
@media(prefers-reduced-motion:reduce){#title-postlude.is-new{animation:none;outline:1px solid #d4aa65}}
html.reduce-motion #title-postlude.is-new{animation:none;outline:1px solid #d4aa65}
