/* D6.2 — In-room bot notices + stage toast */

.sl-room-bot-notice {
  list-style: none !important;
  margin: 6px 8px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(52, 211, 153, 0.28) !important;
  background: rgba(6, 78, 59, 0.28) !important;
  color: #ecfdf5 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.sl-room-bot-notice.is-announce {
  border-color: rgba(251, 191, 36, 0.35) !important;
  background: rgba(120, 53, 15, 0.35) !important;
  color: #fffbeb !important;
}

.sl-room-bot-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sl-room-bot-notice.is-announce .sl-room-bot-badge {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fde68a;
}

.sl-room-bot-notice.is-hostess {
  border-color: rgba(244, 114, 182, 0.35) !important;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.28), rgba(131, 24, 67, 0.22)) !important;
  color: #fdf2f8 !important;
}

.sl-room-bot-notice.is-hostess .sl-room-bot-badge,
.sl-room-bot-badge.is-hostess {
  background: rgba(244, 114, 182, 0.18);
  border-color: rgba(244, 114, 182, 0.4);
  color: #fbcfe8;
}

.sl-room-bot-body {
  font-weight: 650;
}

.sl-room-bot-stage-toast {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 45;
  max-width: min(420px, calc(100% - 24px));
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Bot notices live in the chat stream — never a fixed panel over Tip Menu / toys. */
#slBotQaChat,
#slRoomBotNoticeHost {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  max-height: none !important;
  margin: 6px 8px 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.sl-offline-room-active #slBotQaChat,
body.sl-offline-room-active #slRoomBotNoticeHost {
  order: 40;
}
