.page-news {
  --news-hue-observe: #29D8E8;
  --news-hue-version: #7B5CFF;
  --news-hue-feature: #FF6B2C;
  --news-hue-topic: #C6432B;
  --news-radius: 22px;
  --news-ink-soft: #5C4B38;
  --news-ink-dim: #8A7259;
  padding-bottom: clamp(56px, 9vw, 104px);
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumbs {
  padding-top: clamp(14px, 3vw, 26px);
}

.page-news .crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.page-news .crumb-list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--orbit);
}

.page-news .crumb-link {
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .crumb-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-news .crumb-current {
  color: var(--flame);
}

/* ---------- 页头 ---------- */
.page-news .journal-masthead {
  position: relative;
  margin-top: clamp(18px, 3vw, 30px);
  padding: clamp(24px, 4vw, 42px) clamp(20px, 3.4vw, 40px) clamp(28px, 4vw, 46px);
  border: 1px solid var(--orbit);
  border-left: 3px solid var(--nebula);
  border-radius: var(--r-xl);
  background:
    radial-gradient(760px 340px at 84% -30%, rgba(123, 92, 255, 0.28), transparent 68%),
    radial-gradient(520px 300px at 6% 120%, rgba(41, 216, 232, 0.16), transparent 70%),
    linear-gradient(158deg, rgba(16, 23, 40, 0.96), rgba(11, 17, 32, 0.96));
  overflow: hidden;
}

.page-news .journal-masthead .eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.16em;
}

.page-news .journal-masthead .title-xl {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-news .journal-masthead .lede {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.95;
  color: var(--text-soft);
}

.page-news .masthead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--orbit);
}

.page-news .masthead-meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-news .meta-num {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.page-news .meta-label {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ---------- 章节骨架 ---------- */
.page-news .section {
  margin-top: clamp(52px, 7vw, 92px);
}

.page-news .section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 18px;
  align-items: start;
  padding-bottom: 16px;
  margin-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--orbit);
}

.page-news .section-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--nebula);
  text-shadow: 0 0 24px rgba(123, 92, 255, 0.6);
}

.page-news .section-head-text .eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.16em;
}

.page-news .section-head-text .title-lg {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(23px, 3.4vw, 36px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-news .section > .lede {
  margin: 0 0 clamp(18px, 3vw, 28px);
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-soft);
}

/* ---------- 图片容器 ---------- */
.page-news .figure-frame {
  margin: 0;
}

.page-news .figure-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #101728, #1E2740);
}

.page-news .figure-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .figure-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 66ch;
}

/* ---------- 01 头条 ---------- */
.page-news .spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--orbit);
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, rgba(16, 23, 40, 0.96), rgba(11, 17, 32, 0.98));
  overflow: hidden;
}

.page-news .spotlight-figure .figure-media {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.page-news .spotlight-figure .figure-media img {
  height: 100%;
  object-fit: cover;
}

.page-news .spotlight-body {
  padding: clamp(20px, 3.4vw, 40px);
}

.page-news .entry-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.page-news .cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--orbit);
  background: rgba(7, 10, 20, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.page-news .cat-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat-hue, var(--cyan));
  box-shadow: 0 0 10px var(--cat-hue, var(--cyan));
}

.page-news .cat-tag--observe { --cat-hue: var(--news-hue-observe); }
.page-news .cat-tag--version { --cat-hue: var(--news-hue-version); }
.page-news .cat-tag--feature { --cat-hue: var(--news-hue-feature); }
.page-news .cat-tag--topic   { --cat-hue: var(--news-hue-topic); }

.page-news .entry-stage {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.page-news .spotlight-lead {
  margin: 0 0 16px;
  max-width: 60ch;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.92;
  color: var(--text);
}

.page-news .spotlight-text {
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-soft);
}

.page-news .spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 02 条目列表 ---------- */
.page-news .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.page-news .journal-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-news .hue-chip {
  appearance: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--orbit);
  background: rgba(16, 23, 40, 0.86);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-news .hue-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-news .hue-chip.is-active {
  background: var(--flame);
  border-color: var(--flame);
  color: #180A02;
}

.page-news .filter-count {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.page-news .journal-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .journal-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px 24px;
  border: 1px solid var(--paper-shade);
  border-radius: var(--news-radius);
  background: var(--paper);
  color: var(--ink-brown);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-news .journal-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--cat-hue, var(--cyan));
}

.page-news .journal-entry[data-cat="observe"] { --cat-hue: var(--news-hue-observe); }
.page-news .journal-entry[data-cat="version"] { --cat-hue: var(--news-hue-version); }
.page-news .journal-entry[data-cat="feature"] { --cat-hue: var(--news-hue-feature); }
.page-news .journal-entry[data-cat="topic"]   { --cat-hue: var(--news-hue-topic); }

.page-news .journal-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42);
}

.page-news .journal-entry .entry-top {
  margin-bottom: 2px;
}

.page-news .journal-entry .cat-tag {
  border-color: rgba(36, 28, 20, 0.22);
  background: rgba(36, 28, 20, 0.07);
  color: var(--ink-brown);
}

.page-news .journal-entry .entry-stage {
  color: var(--news-ink-dim);
}

.page-news .entry-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--ink-brown);
}

.page-news .entry-sum {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--news-ink-soft);
}

.page-news .feed-figure {
  margin-top: clamp(24px, 4vw, 40px);
}

/* ---------- 03 时间轴 ---------- */
.page-news .stage-track {
  margin-top: clamp(24px, 4vw, 40px);
}

.page-news .stage-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .stage-node {
  position: relative;
  padding: 18px 18px 20px 28px;
  border: 1px solid var(--orbit);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 23, 40, 0.94), rgba(11, 17, 32, 0.94));
}

.page-news .stage-node::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--nebula), var(--cyan));
}

.page-news .stage-index {
  margin: 0 0 6px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--nebula);
}

.page-news .stage-title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.page-news .stage-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-news .stage-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .stage-link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px dashed rgba(41, 216, 232, 0.35);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-news .stage-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 04 联赛色相 ---------- */
.page-news .hue-legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .hue-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 20px;
  border: 1px solid var(--orbit);
  border-top: 3px solid var(--hue);
  border-radius: var(--r-md);
  background: rgba(16, 23, 40, 0.78);
}

.page-news .hue-swatch {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--hue);
}

.page-news .hue-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
}

.page-news .hue-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-news .hue-figure {
  margin-top: clamp(22px, 3.4vw, 34px);
}

/* ---------- 05 订阅与回看 ---------- */
.page-news .keep-grid {
  gap: 16px;
}

.page-news .keep-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-xl);
}

.page-news .keep-card .title-md {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-news .keep-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.92;
  color: var(--ink-brown);
}

.page-news .keep-mail {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--paper-shade);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-brown);
  overflow-wrap: anywhere;
}

.page-news .keep-card .btn {
  margin-top: 4px;
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-news .journal-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-news .hue-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  .page-news .spotlight {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-news .spotlight-figure {
    height: 100%;
  }

  .page-news .spotlight-figure .figure-media {
    height: 100%;
    aspect-ratio: auto;
    min-height: 380px;
  }

  .page-news .journal-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-news .hue-legend {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-news .stage-track {
    overflow-x: auto;
    padding: 6px 2px 16px;
    scrollbar-width: thin;
  }

  .page-news .stage-list {
    display: flex;
    gap: 20px;
    min-width: max-content;
    padding-top: 36px;
    position: relative;
  }

  .page-news .stage-list::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(123, 92, 255, 0.75), rgba(41, 216, 232, 0.7), rgba(255, 107, 44, 0.6));
  }

  .page-news .stage-node {
    flex: 0 0 288px;
    padding: 20px 20px 22px;
  }

  .page-news .stage-node::before {
    left: 26px;
    top: -30px;
    bottom: auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ink);
    border: 2px solid var(--cyan);
    box-shadow: 0 0 14px rgba(41, 216, 232, 0.75);
  }
}

/* ---------- 大屏 ---------- */
@media (min-width: 1180px) {
  .page-news .journal-masthead {
    padding: clamp(40px, 4vw, 56px) clamp(36px, 4vw, 56px) clamp(40px, 4vw, 56px);
  }
}

.page-news {
  --hue: transparent;
}
