/* Aurora Glass — the signature translucent theme. */

@keyframes lian-aurora-drift {
  0% { background-position: 0% 20%; }
  50% { background-position: 100% 80%; }
  100% { background-position: 0% 20%; }
}

@keyframes lian-aurora-breathe {
  0%, 100% { box-shadow: 0 18px 48px rgba(78, 104, 174, 0.12); }
  50% { box-shadow: 0 22px 58px rgba(160, 91, 159, 0.16); }
}

body.aurora-glass [data-accent] {
  background-size: 145% 145% !important;
  animation: lian-aurora-drift 24s ease-in-out infinite;
}

body.aurora-glass .lian-glass-panel-deep,
body.aurora-glass .lian-glass-card,
body.aurora-glass #lian-sidebar-panel,
body.aurora-glass #lian-settings-panel {
  position: relative;
  isolation: isolate;
}

body.aurora-glass .lian-glass-panel-deep::before,
body.aurora-glass .lian-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.08) 34%,
    rgba(171, 204, 255, 0.06) 68%,
    rgba(245, 190, 232, 0.10) 100%
  );
}

body.aurora-glass .lian-composer-bar {
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  background: rgba(244, 249, 255, 0.56) !important;
  animation: lian-aurora-breathe 8s ease-in-out infinite;
}

body.aurora-glass .lian-msg-row [data-bubble-role="assistant"]:not([style*="padding: 0px"]) {
  border-color: rgba(255, 255, 255, 0.52) !important;
  box-shadow: 0 10px 30px rgba(55, 80, 145, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.48) !important;
}

body.aurora-glass .lian-msg-row [data-bubble-role="user"]:not([style*="padding: 0px"]) {
  border-color: rgba(255, 255, 255, 0.44) !important;
  box-shadow: 0 12px 34px rgba(149, 85, 151, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

@media (prefers-reduced-motion: reduce) {
  body.aurora-glass [data-accent],
  body.aurora-glass .lian-composer-bar {
    animation: none !important;
  }
}
