/* =====================================================================
   THE LATENT (潜在前沿) — screen.css
   极简 / 暗色 / 单栏流式 / 深邃暗夜蓝 + 高对比极浅灰
   Design Tokens 与《THE LATENT 开发文档 v1.0》严格一致
   ===================================================================== */

:root {
  --bg-primary: #0B0F19;
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --accent-color: #4F46E5;   /* 数码克莱因蓝 */
  --accent-success: #10B981; /* 矩阵极光绿 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { background: var(--bg-primary); }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'SF Pro Display', 'PingFang SC', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* 单栏流式布局：阅读列居中，注意力 100% 聚焦内容 */
.stream {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

/* ---------- 板块标识 ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 72px 0 40px;
}
.section-label:first-of-type { margin-top: 0; }
.section-label .index { color: var(--accent-color); font-variant-numeric: tabular-nums; }
.section-label .rule { flex: 1; height: 1px; background: var(--border-subtle); }

.empty-hint {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 8px 0 32px;
}

/* ---------- 01 / 24H BRIEFING ---------- */
.briefing-card {
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
  padding: 32px 0;
}
.briefing-card:first-of-type { padding-top: 0; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}
.tag--new, .tag--open { color: var(--accent-success); background: rgba(16, 185, 129, 0.12); }

.briefing-title {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
}
.briefing-body { color: var(--text-secondary); }
.briefing-body ul {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  padding-left: 20px;
}
.briefing-body li { margin-bottom: 8px; }
.briefing-body li:last-child { margin-bottom: 0; }

.source-link {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  margin-top: 12px;
  transition: opacity 0.15s ease;
}
.source-link:hover { opacity: 0.75; }

/* ---------- 02 / TECH RADAR ---------- */
.radar-card {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.radar-head { display: flex; gap: 16px; align-items: flex-start; }
.radar-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  object-fit: cover;
}
.radar-name {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}
.radar-tagline {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.radar-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.radar-tag {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px 10px;
}
.radar-access {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}
.radar-access b { color: var(--text-primary); font-weight: 500; }

/* ---------- 03 / THE DEEP LATENT ---------- */
.deep-article {
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}
.deep-article:first-of-type { padding-top: 0; }
.deep-title {
  color: var(--text-primary);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 12px;
}
.deep-byline {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.deep-body blockquote {
  border-left: 3px solid var(--accent-color);
  padding: 4px 0 4px 20px;
  margin: 0 0 28px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}
.deep-body p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 24px;
}
.deep-body ul {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 24px;
}
.deep-body li { margin-bottom: 10px; }
.deep-body b { color: var(--text-primary); font-weight: 500; }

/* ---------- 收尾 ---------- */
.stream-foot {
  margin-top: 72px;
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ---------- Ghost Koenig 编辑器：宽/全宽图片与画廊（GScan 必需） ---------- */
.kg-width-wide { width: 100%; }
.kg-width-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.kg-width-wide img,
.kg-width-full img { width: 100%; height: auto; border-radius: 12px; }
.kg-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.kg-gallery-image img { width: 100%; height: auto; border-radius: 8px; }

/* ---------- 响应式：移动端 ---------- */
@media (max-width: 640px) {
  .stream { padding: 56px 18px 80px; }
  .section-label { margin: 56px 0 32px; }
  .deep-title { font-size: 22px; }
  .deep-body blockquote { font-size: 18px; }
  .radar-access { flex-direction: column; gap: 8px; }
}
