/* Chat atmosphere: quiet, warm starlight against the existing teal palette. */
.chat-page .celestial-sky {
  opacity: 1;
  --celestial-ink: 161, 116, 50;
  --celestial-bright: .32;
  --celestial-soft: .14;
}
:root[data-theme="dark"] .chat-page .celestial-sky {
  --celestial-ink: 245, 214, 158;
  --celestial-bright: .48;
  --celestial-soft: .20;
}
.chat-page .celestial-ornaments { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.chat-page .celestial-ornament {
  position: absolute;
  display: block;
  color: rgba(var(--celestial-ink), .9);
  font-family: "Segoe UI Symbol", "DejaVu Sans", sans-serif;
  font-size: 27px;
  line-height: 1;
  opacity: var(--celestial-soft);
  text-shadow: 0 0 14px rgba(var(--celestial-ink), .4), 0 0 30px rgba(var(--primary-rgb), .14);
  animation: celestial-glimmer 18s ease-in-out infinite;
}
.chat-page .celestial-star { font-size: 23px; }
.chat-page .celestial-moon {
  width: 54px; height: 54px;
  border-radius: 50%;
  box-shadow: inset 12px -5px 0 0 currentColor;
  filter: drop-shadow(0 0 12px rgba(var(--celestial-ink), .3));
}
.chat-page .celestial-ornament:nth-child(1) { left: 5%; top: 17%; animation-delay: -6s; animation-duration: 26s; }
.chat-page .celestial-ornament:nth-child(2) { left: 12%; top: 40%; animation-delay: -2s; font-size: 15px; }
.chat-page .celestial-ornament:nth-child(3) { left: 25%; top: 12%; animation-delay: -11s; animation-duration: 23s; }
.chat-page .celestial-ornament:nth-child(4) { left: 37%; top: 63%; animation-delay: -7s; }
.chat-page .celestial-ornament:nth-child(5) { left: 49%; top: 28%; animation-delay: -16s; animation-duration: 24s; }
.chat-page .celestial-ornament:nth-child(6) { left: 64%; top: 79%; animation-delay: -9s; }
.chat-page .celestial-ornament:nth-child(7) { right: 5%; top: 69%; width: 38px; height: 38px; transform: rotate(-22deg); animation-delay: -13s; animation-duration: 29s; }
.chat-page .celestial-ornament:nth-child(8) { right: 11%; top: 22%; animation-delay: -4s; font-size: 32px; }
.chat-page .celestial-ornament:nth-child(9) { right: 21%; top: 47%; animation-delay: -18s; animation-duration: 25s; }
.chat-page .celestial-ornament:nth-child(10) { left: 18%; top: 75%; animation-delay: -12s; }
.chat-page .celestial-ornament:nth-child(11) { left: 7%; top: 89%; animation-delay: -5s; animation-duration: 22s; }
.chat-page .celestial-ornament:nth-child(12) { left: 54%; top: 9%; animation-delay: -15s; font-size: 14px; }
.chat-page .celestial-ornament:nth-child(13) { right: 4%; top: 36%; animation-delay: -8s; animation-duration: 27s; font-size: 33px; }
.chat-page .celestial-ornament:nth-child(14) { left: 76%; top: 59%; animation-delay: -1s; font-size: 16px; }
.chat-page .celestial-ornament:nth-child(15) { left: 42%; top: 91%; animation-delay: -19s; animation-duration: 24s; }
.chat-page .celestial-ornament:nth-child(16) { left: 31%; top: 35%; animation-delay: -10s; font-size: 12px; }
.celestial-sky.is-paused .celestial-ornament { animation-play-state: paused; }
@keyframes celestial-glimmer {
  0%, 100% { opacity: var(--celestial-soft); translate: 0 0; }
  50% { opacity: var(--celestial-bright); translate: 0 -8px; }
}
@media (max-width: 620px) {
  .chat-page .celestial-ornament { font-size: 22px; }
  .chat-page .celestial-ornament:nth-child(1) { left: 2%; top: 16%; width: 38px; height: 38px; box-shadow: inset 9px -4px 0 0 currentColor; }
  .chat-page .celestial-ornament:nth-child(3) { left: 86%; top: 32%; }
  .chat-page .celestial-ornament:nth-child(5) { left: 3%; top: 51%; }
  .chat-page .celestial-ornament:nth-child(7) { right: 2%; top: 80%; width: 30px; height: 30px; box-shadow: inset 8px -3px 0 0 currentColor; }
  .chat-page .celestial-ornament:nth-child(8) { right: 8%; top: 13%; font-size: 21px; }
  .chat-page .celestial-ornament:nth-child(10) { left: 8%; top: 72%; }
  .chat-page .celestial-ornament:nth-child(4),
  .chat-page .celestial-ornament:nth-child(6),
  .chat-page .celestial-ornament:nth-child(9),
  .chat-page .celestial-ornament:nth-child(11),
  .chat-page .celestial-ornament:nth-child(15),
  .chat-page .celestial-ornament:nth-child(16) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-page .celestial-ornament { animation: none !important; opacity: var(--celestial-soft); translate: none; }
}
@media (forced-colors: active), print {
  .chat-page .celestial-ornaments { display: none; }
}
