/* TPS Intel Station — 独立样式，叠加在 styles.css 之上 */

body { background: var(--bg); }

/* ====== topbar ====== */
.intel-topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.intel-topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.intel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.intel-brand-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.intel-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.intel-brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.intel-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
}
.intel-meta-item strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 4px;
}

/* ====== hero ====== */
.intel-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.intel-hero { margin-bottom: 36px; }
.intel-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.intel-hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

/* ====== filters ====== */
.intel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-subtle);
  margin-bottom: 28px;
  align-items: center;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.chip:hover {
  background: var(--bg-subtle);
  color: var(--text);
}
.chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
}

/* ====== feed ====== */
.intel-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.intel-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  background: var(--bg);
  transition: border-color 0.12s, box-shadow 0.12s;
}
.intel-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.intel-card-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.intel-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.intel-tag.media   { background: #e8f1fd; color: #1f5fb3; }
.intel-tag.reddit  { background: #fdece8; color: #b3491f; }
.intel-tag.product { background: var(--bg-subtle); color: var(--text-secondary); border: 1px solid var(--border); font-weight: 500; }
.intel-card-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-left: auto;
}
.intel-card-meta strong { color: var(--text); font-weight: 600; }
.intel-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
}
.intel-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.intel-card h3 a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.intel-card-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 12px;
  line-height: 1.5;
}
.intel-takes {
  list-style: none;
  padding: 12px 14px;
  margin: 0;
  background: var(--bg-subtle);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}
.intel-takes li {
  padding-left: 14px;
  position: relative;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.intel-takes li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}
.intel-takes li:last-child { margin-bottom: 0; }

.intel-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 12px;
  align-items: center;
}
.intel-keyword {
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: 4px;
}
.intel-card-source {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
}
.intel-card-source a {
  color: var(--text-secondary);
  text-decoration: none;
}
.intel-card-source a:hover { color: var(--accent); text-decoration: underline; }

.intel-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 80px 20px;
  font-size: 14px;
}

.intel-footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
}
