/* Afterlife — portable two-sided fade through the night background between the bar and the chosen room.
   Classes are set only by handoff.js for the real accepted glass activation / matching arrival.
   No overlay: header, links and the dark body stay usable underneath. */
@media (prefers-reduced-motion: no-preference) {
  /* outgoing: the bar scene dims late in the 160ms lift, so the lit glass stays visible first */
  .stage.is-leaving .scene {
    animation: al-leave 160ms cubic-bezier(.4, 0, .6, 1) 40ms both;
  }
  /* incoming: the room's sheet (with its tinted rain window) softly rises in */
  .sheet.is-arriving {
    animation: al-arrive 220ms cubic-bezier(.2, .7, .2, 1) both;
  }
}
@keyframes al-leave { from { opacity: 1; } to { opacity: .45; } }
@keyframes al-arrive {
  from { opacity: .4; transform: translateY(3px); }
  to   { opacity: 1;  transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stage.is-leaving .scene, .sheet.is-arriving { animation: none !important; opacity: 1 !important; transform: none !important; }
}
