/* =========================================================
   Social Ticker — scrolling post text
   ========================================================= */

.ticker-bar {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(13, 28, 53, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
}

.ticker-bar::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 50px; height: 100%;
  background: linear-gradient(to right, rgba(10,22,40,0.95) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.ticker-bar::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 80px; height: 100%;
  background: linear-gradient(to left, rgba(10,22,40,0.95) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.ticker-track {
  display: flex;
  animation: ticker-scroll 180s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  padding: 0 32px;
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 40px;
  opacity: 0.75;
  flex-shrink: 0;
}

.ticker-item::after {
  content: '·';
  margin-left: 32px;
  color: rgba(255,255,255,0.15);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .ticker-bar { top: 60px; height: 34px; }
  .ticker-item { font-size: 0.7rem; line-height: 34px; padding: 0 20px; }
  .ticker-item::after { margin-left: 20px; }
}
