.banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.10), rgba(0, 184, 230, 0.08));
  border-left: 3px solid var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--color-text-primary);
  line-height: 1.5;
  flex-shrink: 0;
}

.icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.marqueeWrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.marqueeText {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  padding-left: 100%;
}

.marqueeWrapper:hover .marqueeText {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.closeBtn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.15s;
}

.closeBtn:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.06);
}
