/**
 * Anuncios de chat (/announce) — Radio Vibra FM
 * Barras laterales + cabecera estilo Twitch.
 */

.message.message--announce {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.message.message--announce:hover {
  background: transparent;
}

.chat-announce {
  position: relative;
  margin: 4px 0;
  padding: 10px 14px 12px;
  border-radius: 8px;
  background: rgba(18, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.chat-announce::before,
.chat-announce::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #00e5ff 0%, #b14eff 100%);
}

.chat-announce::before {
  left: 0;
}

.chat-announce::after {
  right: 0;
}

.chat-announce--blue::before,
.chat-announce--blue::after {
  background: linear-gradient(180deg, #5bb8ff 0%, #2f6bff 100%);
}

.chat-announce--green::before,
.chat-announce--green::after {
  background: linear-gradient(180deg, #57e389 0%, #1f9d55 100%);
}

.chat-announce--orange::before,
.chat-announce--orange::after {
  background: linear-gradient(180deg, #ffd166 0%, #ff7a18 100%);
}

.chat-announce--purple::before,
.chat-announce--purple::after {
  background: linear-gradient(180deg, #d4a1ff 0%, #8b3dff 100%);
}

.chat-announce--pink::before,
.chat-announce--pink::after {
  background: linear-gradient(180deg, #ff9ed8 0%, #ff2d95 100%);
}

.chat-announce--default::before,
.chat-announce--default::after {
  background: linear-gradient(180deg, #00e5ff 0%, #b14eff 100%);
}

.chat-announce__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.chat-announce__label-ico {
  font-size: 0.95rem;
  line-height: 1;
}

.chat-announce__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  line-height: 1.4;
}

.chat-announce__text {
  color: #efeff1;
  word-break: break-word;
}

.chat-mention {
  color: #ff87e2;
  font-weight: 700;
  background: rgba(255, 135, 226, 0.12);
  border-radius: 4px;
  padding: 0 3px;
}

.message.message--mention-flash {
  animation: vibra-mention-flash 1.6s ease;
}

@keyframes vibra-mention-flash {
  0%,
  100% {
    background-color: transparent;
  }
  20%,
  55% {
    background-color: rgba(255, 135, 226, 0.18);
  }
}

.chat-mention-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  max-height: 220px;
  overflow-y: auto;
  background: #18181b;
  border: 1px solid rgba(255, 135, 226, 0.35);
  border-radius: 8px;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
  z-index: 500;
  padding: 6px 0;
}

.chat-mention-panel__group {
  padding: 6px 12px 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 180, 235, 0.65);
}

.chat-mention-panel__item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: #efeff1;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.chat-mention-panel__item:hover,
.chat-mention-panel__item.is-selected {
  background: rgba(255, 135, 226, 0.14);
}

.chat-mention-panel__name {
  font-weight: 700;
  color: #00ffd5;
}

.chat-slash-panel__preview {
  margin: 6px 10px 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(18, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(239, 239, 241, 0.85);
}

.chat-slash-panel__preview-title {
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  color: #fff;
}
