/* Compact status bar for the curated news feed mode. */
.news-feed-intro {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 0 0 -4px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
}

.news-feed-intro__indicator {
  box-sizing: border-box;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--accent-strong) 54%, var(--text-soft));
  border-radius: 50%;
}

.news-feed-intro__indicator > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-strong) 72%, var(--text-soft));
}

.news-feed-intro__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.news-feed-intro h1 {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

.news-feed-intro p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--text-soft) 88%, transparent);
  font-size: 0.64rem;
  font-weight: 520;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-feed-intro__separator {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--text-soft) 54%, transparent);
  font-size: 0.72rem;
  line-height: 1;
}

.news-feed-intro a {
  display: inline-flex;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 3px;
  border-radius: 5px;
  background: transparent;
  color: color-mix(in srgb, var(--text-soft) 92%, transparent);
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.news-feed-intro a:hover {
  color: var(--text);
  transform: translateX(-2px);
}

.news-feed-intro a:focus-visible {
  color: var(--text);
  outline: none;
  box-shadow: var(--focus-ring);
}

.news-feed-intro a:active {
  transform: translateX(-2px) scale(0.98);
}

.news-feed-intro__action-mobile {
  display: none;
}

@media (max-width: 999.98px) {
  .feed-section > .sidebar-matches-card--mobile-placement {
    border-radius: var(--radius-card);
  }

  .feed-section > .news-feed-intro {
    order: 3;
    margin-top: -4px;
  }
}

@media (max-width: 600px) {
  .news-feed-intro {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 42px;
    padding-inline: 10px;
  }

  .news-feed-intro p,
  .news-feed-intro__separator,
  .news-feed-intro__action-desktop {
    display: none;
  }

  .news-feed-intro h1 {
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
  }

  .news-feed-intro a {
    font-size: 0.63rem;
  }

  .news-feed-intro__action-mobile {
    display: inline;
  }
}
