/* 科技快讯与深度报道共用的平铺列表，与汽车销量统一宽度和间距。 */
:is(#view-insights, #view-news) {
  max-width: 1160px;
  margin: 0 auto;
  min-width: 0;
  background: var(--bg-card);
}

:is(#view-insights, #view-news) .view-subheader {
  align-items: center;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-card);
}

:is(#view-insights, #view-news) .view-intro { min-width: 0; }
:is(#view-insights, #view-news) .view-intro h2 { font-size: 17px; font-weight: 650; line-height: 1.4; }
:is(#view-insights, #view-news) .intro-muted { margin-top: 5px; font-size: 12px; line-height: 1.5; }

:is(#view-insights, #view-news) .feed-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 300px;
  padding: 0 10px;
  border: 1px solid var(--border-card);
  border-radius: 4px;
  background: var(--bg-track);
  color: var(--text-muted);
}
:is(#view-insights, #view-news) .feed-search:focus-within { border-color: var(--accent-primary); }
:is(#view-insights, #view-news) .feed-search svg { flex-shrink: 0; }
:is(#view-insights, #view-news) .feed-search input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  font-size: 13px;
}
:is(#view-insights, #view-news) .feed-search input::placeholder { color: var(--text-muted); }

:is(#view-insights, #view-news) .insights-status {
  margin: 0;
  padding: 10px 18px;
  border: 0;
  border-bottom: 1px solid var(--border-card);
  background: var(--accent-light);
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1.5;
}

:is(#view-insights, #view-news) .flat-feed { max-width: none; margin: 0; gap: 0; }
:is(#view-insights, #view-news) .feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 6px 24px;
  position: relative;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
:is(#view-insights, #view-news) .feed-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--border-card);
  opacity: .7;
  transform: scaleY(.5);
  transform-origin: center;
  pointer-events: none;
}
:is(#view-insights, #view-news) .feed-row:last-child::after { display: none; }
:is(#view-insights, #view-news) .feed-body { min-width: 0; }
:is(#view-insights, #view-news) .news-headline {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
:is(#view-insights, #view-news) .news-headline a:focus-visible,
:is(#view-insights, #view-news) .feed-link:focus-visible,
:is(#view-insights, #view-news) .feed-load-more:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }
:is(#view-insights, #view-news) .news-meta-row { gap: 5px 12px; margin: 0 0 6px; font-size: 11px; line-height: 1.5; }
:is(#view-insights, #view-news) .feed-source {
  display: inline-flex;
  align-items: center;
  padding: 0;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-sub);
  font-size: 11px;
}
:is(#view-insights, #view-news) .feed-source strong { font-weight: 500; }
:is(#view-insights, #view-news) .news-time,
:is(#view-insights, #view-news) .insight-feed-author { color: var(--text-muted); font: inherit; overflow-wrap: anywhere; }
:is(#view-insights, #view-news) .news-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sub);
  overflow-wrap: anywhere;
}
:is(#view-insights, #view-news) .feed-tags { display: flex; align-items: center; flex-wrap: wrap; grid-column: 1; gap: 4px 10px; min-width: 0; }
:is(#view-insights, #view-news) .feed-tags:empty { display: none; }
:is(#view-insights, #view-news) .feed-tag { color: var(--text-muted); font-size: 11px; overflow-wrap: anywhere; }
:is(#view-insights, #view-news) .feed-link {
  display: inline-flex;
  align-items: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  justify-content: center;
  min-height: 36px;
  gap: 5px;
  padding: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-primary);
}
:is(#view-insights, #view-news) .feed-link:hover { transform: none; color: var(--accent-hover); }
:is(#view-insights, #view-news) .feed-load-status { min-height: 48px; padding: 12px; text-align: center; }
:is(#view-insights, #view-news) .feed-load-more {
  padding: 6px 12px;
  border: 1px solid var(--border-card);
  border-radius: 4px;
  background: transparent;
  color: var(--text-sub);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
:is(#view-insights, #view-news) .feed-load-more:hover { color: var(--accent-primary); border-color: var(--accent-primary); }

@media (max-width: 1100px) {
  body.feed-page .search-box { display: none; }
  body.feed-page .nav-segmented { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  body.feed-page .nav-segmented::-webkit-scrollbar { display: none; }
  body.feed-page .nav-segment { flex-shrink: 0; }
}
@media (max-width: 900px) {
  :is(#view-insights, #view-news) .view-subheader { flex-wrap: wrap; gap: 12px; }
  :is(#view-insights, #view-news) .view-intro { flex: 1 1 100%; }
  :is(#view-insights, #view-news) .feed-search { flex: 1 1 100%; }
}
@media (max-width: 640px) {
  :is(#view-insights, #view-news) { margin-left: -4px; margin-right: -4px; }
  :is(#view-insights, #view-news) .view-subheader { padding: 12px; gap: 10px; }
  :is(#view-insights, #view-news) .view-intro h2 { font-size: 15px; }
  :is(#view-insights, #view-news) .intro-muted { font-size: 11px; line-height: 1.6; }
  :is(#view-insights, #view-news) .insights-status { padding: 10px 12px; }
  :is(#view-insights, #view-news) .feed-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 12px; }
  :is(#view-insights, #view-news) .feed-body { grid-column: 1 / -1; }
  :is(#view-insights, #view-news) .news-headline { font-size: 15px; line-height: 1.55; }
  :is(#view-insights, #view-news) .news-meta-row { gap: 4px 10px; }
  :is(#view-insights, #view-news) .news-summary { font-size: 12px; line-height: 1.65; }
  :is(#view-insights, #view-news) .feed-link { grid-row: 2; min-height: 32px; padding: 4px 0 4px 8px; }
}

/* 来源筛选沿用汽车销量的标签栏。 */
#view-news .feed-source-tabs { gap: 22px; padding: 0 18px; border-bottom: 1px solid var(--border-card); }
#view-news .feed-source-tabs .pill { padding: 12px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 600; box-shadow: none; }
#view-news .feed-source-tabs .pill.active { border-bottom-color: var(--accent-primary); color: var(--accent-primary); }
#view-news .feed-source-tabs .pill:hover { color: var(--accent-primary); }
#view-news .feed-row:hover { background: transparent; border: 0; box-shadow: none; }
#view-news .feed-row .feed-link { grid-row: 1; }
@media (max-width: 640px) {
  #view-news .feed-source-tabs { gap: 20px; padding: 0 12px; }
  #view-news .feed-source-tabs .pill { font-size: 12px; padding: 10px 0; }
  #view-news .feed-body { display: contents; }
  #view-news .news-headline { grid-column: 1 / -1; }
  #view-news .news-meta-row { grid-column: 1; grid-row: 2; align-self: center; margin-bottom: 0; }
  #view-news .news-summary { grid-column: 1 / -1; grid-row: 3; }
  #view-news .feed-row .feed-link { grid-row: 2; }
}

/* 紧凑的列表信息与独立搜索。 */
body.feed-page .search-box { display: none; }
body.feed-page .nav-segment { transition: color .15s, background-color .15s; }
:is(#view-insights, #view-news) .view-intro { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; }
:is(#view-insights, #view-news) .intro-muted { margin: 0; color: var(--text-sub); }
:is(#view-insights, #view-news) .feed-row { cursor: auto; transition: background-color .15s; }
:is(#view-insights, #view-news) .feed-row:hover,
:is(#view-insights, #view-news) .feed-row:focus-within { background: var(--bg-item-hover); }
:is(#view-insights, #view-news) .news-meta-row { font-size: 12px; color: var(--text-sub); }
:is(#view-insights, #view-news) .feed-source { font-size: inherit; }
:is(#view-insights, #view-news) .news-time,
:is(#view-insights, #view-news) .insight-feed-author,
:is(#view-insights, #view-news) .feed-tag { color: var(--text-sub); font-size: inherit; }
:is(#view-insights, #view-news) .has-search-match { display: block; overflow: visible; -webkit-line-clamp: unset; }
:is(#view-insights, #view-news) .is-read .news-headline a { color: var(--text-sub); }
:is(#view-insights, #view-news) .feed-read-mark { color: var(--text-sub); font-size: 11px; }
:is(#view-insights, #view-news) .feed-link { grid-row: 1; min-height: 40px; }
:is(#view-insights, #view-news) .feed-load-status { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; color: var(--text-sub); font-size: 12px; }
:is(#view-insights, #view-news) .empty-state .feed-load-more { display: block; margin: 12px auto 0; }
#view-news .feed-date-group { margin: 0; padding: 10px 18px; font-size: 12px; font-weight: 600; color: var(--text-sub); background: var(--bg-track); }
#view-news .feed-source-tabs .pill { color: var(--text-sub); }
#view-news .feed-source-tabs .pill.active { color: var(--accent-primary); }
@media (max-width: 900px) {
  :is(#view-insights, #view-news) .view-subheader { gap: 10px; }
}
@media (max-width: 640px) {
  body.feed-page { --header-height: 92px; }
  body.feed-page .nav-container { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 48px 44px; gap: 0 8px; padding: 0 12px; }
  body.feed-page .nav-tools { justify-self: end; gap: 6px; min-width: 0; }
  body.feed-page .sync-control { gap: 4px; }
  body.feed-page .sync-time-badge { padding: 4px 6px; font-size: 10px; gap: 4px; }
  body.feed-page #updateTimeText { display: inline; }
  body.feed-page .nav-segmented { grid-column: 1 / -1; width: 100%; max-width: none; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
  body.feed-page .nav-segment { flex: 1 1 0; justify-content: center; padding: 10px 0; min-width: 0; height: 44px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; gap: 0; }
  body.feed-page .nav-segment svg { display: none; }
  body.feed-page .nav-segment.active { background: transparent; box-shadow: none; border-bottom-color: var(--accent-primary); color: var(--accent-primary); }
  :is(#view-insights, #view-news) .view-subheader { gap: 8px; }
  :is(#view-insights, #view-news) .intro-muted { font-size: 12px; }
  :is(#view-insights, #view-news) .feed-body { display: contents; }
  :is(#view-insights, #view-news) .news-headline { grid-column: 1 / -1; }
  :is(#view-insights, #view-news) .news-meta-row { grid-column: 1; grid-row: 2; align-self: center; margin-bottom: 0; gap: 4px 8px; }
  :is(#view-insights, #view-news) .news-summary { grid-column: 1 / -1; grid-row: 3; font-size: 13px; }
  :is(#view-insights, #view-news) .feed-row .feed-link { grid-row: 2; min-height: 44px; min-width: 44px; padding: 4px 0 4px 8px; }
  #view-news .feed-date-group { padding: 9px 12px; }
}
@media (max-width: 640px) {
  body.feed-page .nav-brand { grid-column: 1; grid-row: 1; }
  body.feed-page .nav-tools { grid-column: 2; grid-row: 1; }
  body.feed-page .nav-segmented { grid-row: 2; }
}
:is(#view-insights, #view-news) .news-headline a { user-select: text; -webkit-user-drag: none; }

.feed-page .news-time,.feed-page .insights-status{font-size:12px;color:var(--text-sub)}
