/* Виджет валют в навбаре */
.rates-widget-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 1rem;
  font-size: 0.85rem;
}
.rates-date {
  white-space: nowrap;
  opacity: 0.9;
}
.rates-carousel-inline {
  position: relative;
  min-width: 120px;
  height: 1.5rem;
  display: flex;
  align-items: center;
}
.rates-carousel-inline .rate-slide {
  position: absolute;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.rates-carousel-inline .rate-slide.active {
  display: block;
  opacity: 1;
}
.rates-carousel-inline .rate-slide strong {
  margin-right: 0.25rem;
}

/* Бегущая строка новостей */
.news-ticker-wrapper {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  margin-top: 0.5rem;
  display: flex;
  align-items: stretch;
}
/* Лейбл LIVE */
.news-ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  user-select: none;
}
.news-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3333;
  animation: ticker-dot-blink 1.2s ease-in-out infinite;
}
@keyframes ticker-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
.news-ticker {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 0.5rem 0;
}
.news-ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  will-change: transform;
}
.news-ticker-item {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.875rem;
}
.news-ticker-item:hover {
  color: #ccc;
  text-decoration: underline;
}
.news-ticker-separator {
  display: inline-block;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  background: #fff;
  margin: 0 0.6rem;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .rates-widget-inline {
    display: none;
  }
  .news-ticker {
    font-size: 0.8rem;
  }
}
