/* Threat Intel, page-specific additions on top of the shared VergeDefence design system (styles.css) */

/* Topbar blended dark to match the black sidebar */
.topbar{
  background:#000;
  border-bottom:1px solid rgba(255,255,255,.1);
  backdrop-filter:none;
}
.topbar .crumb{ color:rgba(255,255,255,.5); }
.topbar .crumb b{ color:#fff; }
.topbar .topstats{ color:rgba(255,255,255,.5); }
.topbar .top-cta{
  color:#fff;
  border-color:rgba(255,255,255,.18);
}
.topbar .top-cta:hover{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.feed-meta{
  display:flex;
  align-items:center;
  gap:.5em;
  font-family:var(--font-mono);
  font-size:var(--step--1);
  color:var(--ink-muted);
  margin-bottom:1.4rem;
}
.feed-meta .live-dot{
  width:7px;height:7px;border-radius:50%;
  background:#34d399;
  box-shadow:0 0 6px #34d399;
  flex:0 0 auto;
}

.feed-list{
  display:flex;
  flex-direction:column;
  gap:.9rem;
}

.feed-item{
  display:flex;
  align-items:stretch;
  gap:clamp(.9rem,.7rem + .8vw,1.3rem);
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  padding:clamp(.9rem,.7rem + .8vw,1.2rem);
  text-decoration:none;
  color:inherit;
  transition:background .18s var(--ease),border-color .18s var(--ease),transform .18s var(--ease);
}
.feed-item:hover{
  background:var(--surface-muted);
  border-color:var(--accent);
  transform:translateY(-1px);
}
.feed-item__thumb{
  flex:0 0 auto;
  width:112px;
  height:112px;
  border-radius:calc(var(--r-card) + 2px);
  overflow:hidden;
  background:var(--surface-muted);
}
.feed-item__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.feed-item--no-image .feed-item__thumb{ display:none; }
.feed-item__body{
  flex:1 1 auto;
  min-width:0;
}
@media (max-width:560px){
  .feed-item{ padding:1rem; }
  .feed-item__thumb{ width:76px; height:76px; }
}
.feed-item .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.5rem;
}
.feed-item .source{
  font-family:var(--font-mono);
  font-size:var(--step--1);
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--accent);
}
.feed-item .time{
  font-family:var(--font-mono);
  font-size:var(--step--1);
  color:var(--ink-muted);
  white-space:nowrap;
}
.feed-item h3{
  font-size:var(--step-1);
  font-weight:600;
  margin-bottom:.4rem;
}
.feed-item p{
  color:var(--ink-soft);
  line-height:1.5;
  font-size:var(--step--1);
}

.feed-state{
  text-align:center;
  padding:3rem 1rem;
  color:var(--ink-muted);
  font-family:var(--font-mono);
  font-size:var(--step--1);
}
.feed-state.error{ color:var(--accent); }

@keyframes intel-pulse{
  0%,100%{ opacity:1; }
  50%{ opacity:.45; }
}
.feed-skeleton{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-card);
  height:96px;
  animation:intel-pulse 1.4s ease-in-out infinite;
}
