/* Light follows the existing companion; no extra loading screen or input gate. */
.openmuse-ui .auth-card .auth-status {
  min-height: 1.25rem; margin: .65rem 0 -.25rem; font-size: .75rem; line-height: 1.5; color: #697b87;
  overflow-wrap: anywhere;
}
.openmuse-ui .auth-connecting .brand-mark {
  animation: arrival-breathe 1.8s ease-in-out infinite;
}
.openmuse-ui .auth-connecting .auth-submit {
  background-image: linear-gradient(105deg, transparent 25%, #ffffff80 49%, transparent 73%);
  background-size: 240% 100%; animation: arrival-sweep 2s ease-in-out infinite;
}
.workspace-arrival {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background: #fcfcfc; animation: arrival-curtain 780ms ease both; overflow: hidden;
}
.arrival-light {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 43%, #cbe8fa9c, #eaf5fd4d 28%, transparent 62%);
  animation: arrival-open 780ms cubic-bezier(.22, 1, .36, 1) both;
}
.arrival-companion { position: fixed; object-fit: contain; mix-blend-mode: multiply; }
.workspace-arriving .dingdang-floating-presence .mascot-stage { animation: arrival-land 820ms ease both; }
.workspace-arriving .composer-wrap { animation: arrival-workspace 650ms 100ms ease both; }
@keyframes arrival-breathe {
  0%, 100% { box-shadow: 0 0 0 .2rem #dceffa50, 0 0 1.3rem #c9e6fa35; }
  50% { box-shadow: 0 0 0 .75rem #dceffa18, 0 0 2.4rem #b8ddf56b; }
}
@keyframes arrival-sweep { from { background-position: 170% 0; } to { background-position: -70% 0; } }
@keyframes arrival-curtain { 0%, 12% { background-color: #fcfcfc; } 70%, 100% { background-color: transparent; } }
@keyframes arrival-open { from { opacity: .8; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }
@keyframes arrival-land { 0%, 48% { opacity: 0; } 100% { opacity: 1; } }
@keyframes arrival-workspace { from { opacity: .35; translate: 0 .5rem; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .openmuse-ui .auth-connecting :is(.brand-mark, .auth-submit),
  .workspace-arriving :is(.mascot-stage, .composer-wrap) { animation: none; }
  .workspace-arrival { display: none; }
}
