/* Elsa's victory jet (public/jet.js): a three.js scene of the plaza's own 3D Miis and a 3D fighter in navy greys with
   the room's indigo on the tail, drawn on one transparent canvas over everything (like the troll and the poop). Lets every
   tap through but the slip. Only shows over the chat and the plaza (jet.js waits out games). */
.jet-layer { position: fixed; inset: 0; z-index: 6000; pointer-events: none; overflow: hidden; contain: strict; transition: opacity .6s; }
.jet-layer.out { opacity: 0; }
.jet-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* who won: the letterboard slip the poop and the troll drop, with an afterburner-orange stripe */
.jet-slip { position: fixed; z-index: 6002; left: 50%; top: calc(10px + env(safe-area-inset-top)); width: min(calc(100% - 24px), 380px);
  display: flex; flex-direction: column; gap: 6px; padding: 13px 16px 12px 20px; border: 0; border-radius: 12px; text-align: left;
  box-shadow: 0 0 0 1px #f5f5f21f, 0 3px 0 #0000004d, inset 4px 0 0 #ff7a1a; -webkit-tap-highlight-color: transparent;
  transform: translate(-50%, calc(-100% - 20px - env(safe-area-inset-top))); visibility: hidden;
  transition: transform .22s ease-in, visibility 0s .22s; }
.jet-slip.in { transform: translate(-50%, 0); visibility: visible; transition: transform .32s cubic-bezier(.2, .9, .3, 1.2); }
.jet-slip .row1 { font-size: 25px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jet-slip .row2 { text-transform: none; letter-spacing: .04em; font-size: 16px; white-space: normal; }
.jet-slip:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .jet-slip, .jet-slip.in, .jet-layer { transition: none; }
}
