/* news.css */
#news-view { flex-direction: column; }
.news-top {
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex-shrink: 0;
}
.news-body { display: flex; flex: 1; overflow: hidden; }
.news-feed { flex: 1; overflow-y: auto; padding: 14px 16px; }
.news-feed::-webkit-scrollbar { width: 4px; }
.news-side { width: 240px; flex-shrink: 0; border-left: 1px solid var(--border); overflow-y: auto; padding: 14px; }
.post-news-btn {
  width: 100%; padding: 11px; border-radius: 8px; background: var(--accent);
  border: none; color: #fff; font-size: 13px; font-weight: 700;
  cursor: pointer; margin-bottom: 16px; transition: background 0.15s;
}
.post-news-btn:hover { background: var(--accent2); }
.side-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text3); margin-bottom: 10px; font-family: var(--font-mono); }
.trend-item {
  display: flex; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.trend-item:last-child { border-bottom: none; }
.trend-item:hover .trend-title { color: var(--glow); }
.trend-n { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--bg4); flex-shrink: 0; width: 22px; text-align: center; }
.trend-title { font-size: 12px; font-weight: 700; margin-bottom: 2px; transition: color 0.15s; }
.trend-meta { font-size: 11px; color: var(--text3); }
.news-card {
  background: var(--bg2); border-radius: 10px; border: 1px solid var(--border);
  margin-bottom: 12px; overflow: hidden; transition: border-color 0.15s;
}
.news-card:hover { border-color: var(--border2); }
.news-card.pinned { border-color: var(--amber); box-shadow: 0 0 0 1px rgba(245,158,11,0.1); }
.nc-top { padding: 13px 15px 0; }
.nc-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; flex-wrap: wrap; }
.nc-scope {
  font-family: var(--font-mono); font-size: 9px;
  padding: 2px 7px; border-radius: 3px; font-weight: 700;
}
.nc-scope.local { background: rgba(34,197,94,0.12); color: var(--green); }
.nc-scope.state { background: rgba(59,130,246,0.12); color: var(--blue2); }
.nc-scope.country { background: rgba(245,158,11,0.12); color: var(--amber); }
.nc-scope.world { background: rgba(176,142,240,0.12); color: var(--glow); }
.nc-cat { font-family: var(--font-mono); font-size: 9px; color: var(--text3); padding: 2px 7px; background: var(--bg3); border-radius: 3px; }
.nc-pinned { font-family: var(--font-mono); font-size: 9px; color: var(--amber); }
.nc-author { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.nc-av { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; }
.nc-av img { width: 100%; height: 100%; object-fit: cover; }
.nc-byline { font-size: 12px; color: var(--text2); }
.nc-byline strong { color: var(--text); }
.nc-title { font-size: 16px; font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.nc-body { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 10px; }
.nc-yt { margin-bottom: 10px; }
.nc-yt-frame { width: 100%; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.nc-yt-frame iframe { width: 100%; height: 100%; border: none; }
.nc-yt-thumb { width: 100%; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; cursor: pointer; position: relative; background: var(--bg0); }
.nc-yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); }
.yt-play-btn { width: 50px; height: 34px; background: var(--red); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
.nc-foot { display: flex; align-items: center; border-top: 1px solid var(--border); }
.nc-action {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px; cursor: pointer; font-size: 12px; font-weight: 700;
  border: none; background: transparent; color: var(--text2);
  transition: all 0.15s; border-right: 1px solid var(--border);
}
.nc-action:last-child { border-right: none; }
.nc-action:hover { background: var(--bg3); color: var(--text); }
.nc-action.voted { color: var(--glow); }
.nc-action.voted-down { color: var(--red); }
.expiry-bar { height: 2px; background: var(--bg0); overflow: hidden; }
.expiry-fill { height: 100%; transition: width 0.5s; }
