/* The reply becomes the screen, then returns to its place in the conversation. */
#app .chat-sidebar,
#app .chat-topbar,
#app .chat-composer,
#app .chat-user-message,
#app .chat-thinking,
#app .chat-assistant-mark {
  transition: opacity 500ms cubic-bezier(.22,1,.36,1);
}
#app.is-presenting .chat-sidebar,
#app.is-presenting .chat-topbar,
#app.is-presenting .chat-composer,
#app.is-presenting .chat-user-message,
#app.is-presenting .chat-thinking,
#app.is-presenting .chat-assistant-mark {
  opacity: 0;
  pointer-events: none;
}
#app .chat-shell #player.player.is-expanded {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  max-width: none;
  margin: 0;
  z-index: 200;
  border: 0;
  border-radius: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform-origin: 0 0;
  outline: none;
}
#app[data-returning="true"] .chat-thinking .thinking-dot { animation: none; opacity: .5; }
@media (prefers-reduced-motion: reduce) {
  #app .chat-sidebar,
  #app .chat-topbar,
  #app .chat-composer,
  #app .chat-user-message,
  #app .chat-thinking,
  #app .chat-assistant-mark { transition: none; }
}
