.page-news {
  --nw-ink: #0B0E12;
  --nw-muted: #556B7A;
  --nw-rule: rgba(11, 14, 18, .14);
  --nw-paper: #F5F0E4;
  --nw-paper-alt: #EFE8D8;

  position: relative;
  background:
    radial-gradient(1100px 520px at 84% -10%, rgba(226, 167, 58, .13), transparent 62%),
    radial-gradient(820px 460px at 6% 6%, rgba(15, 76, 63, .68), transparent 64%),
    var(--night);
  color: var(--grey);
  padding-block: 22px 84px;
  overflow-x: clip;
}

/* ---------- 面包屑 ---------- */
.page-news .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--blue-line);
}

.page-news .breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-news .breadcrumb-list li + li::before {
  content: "/";
  color: var(--blue-line);
}

.page-news .breadcrumb-list a {
  color: var(--grey);
  text-decoration: none;
  transition: color .2s ease;
}

.page-news .breadcrumb-list a:hover,
.page-news .breadcrumb-list a:focus-visible {
  color: var(--gold);
}

/* ---------- 首屏主题声明 ---------- */
.page-news .news-masthead {
  max-width: 880px;
}

.page-news .news-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--gold);
}

.page-news h1 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 5.2vw, 50px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.page-news .news-lede {
  max-width: 62ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.78;
  color: var(--grey);
}

.page-news .news-tagbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-news .news-tagbar a {
  display: inline-block;
  padding-bottom: 3px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  transition: color .2s ease, border-color .2s ease;
}

.page-news .news-tagbar a:hover,
.page-news .news-tagbar a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ---------- 顶部通栏图 ---------- */
.page-news .news-banner {
  position: relative;
  margin: 36px 0 0;
  padding: 0;
  border-radius: 20px 20px 20px 5px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--night-deep), var(--felt-deep));
  transform: rotate(-0.8deg);
}

.page-news .news-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 480;
  object-fit: cover;
}

.page-news .news-banner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px 18px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(11, 21, 38, .88), rgba(11, 21, 38, 0));
}

/* ---------- 笔记本纸张 ---------- */
.page-news .news-sheet {
  position: relative;
  margin-top: 48px;
  padding: 26px 18px 34px;
  background: var(--nw-paper);
  color: var(--nw-ink);
  border-radius: 22px 22px 22px 6px;
  box-shadow: var(--shadow-card);
}

.page-news .news-index {
  display: none;
}

.page-news .news-main {
  min-width: 0;
}

/* ---------- 区块标题 ---------- */
.page-news .news-block {
  margin-top: 44px;
}

.page-news .news-block:first-child {
  margin-top: 0;
}

.page-news .news-block-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-bottom: 13px;
  border-bottom: 2px solid rgba(11, 14, 18, .16);
}

.page-news .news-block-head .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--red);
}

.page-news .news-block-head h2 {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-news .news-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--nw-muted);
}

/* ---------- 条目列表 ---------- */
.page-news .news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-areas:
    "idx tag"
    ". body"
    ". time";
  gap: 6px 12px;
  padding: 20px 0 20px 12px;
  border-bottom: 1px solid var(--nw-rule);
  transition: padding-left .28s ease, background-color .28s ease;
}

.page-news .news-item.has-thumb {
  grid-template-areas:
    "idx tag"
    ". body"
    ". thumb"
    ". time";
}

.page-news .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .28s ease;
}

.page-news .news-item:hover::before,
.page-news .news-item:focus-within::before {
  transform: scaleY(1);
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  padding-left: 20px;
  background: rgba(226, 167, 58, .07);
}

.page-news .ni-idx {
  grid-area: idx;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--nw-muted);
}

.page-news .ni-tag {
  grid-area: tag;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--felt);
}

.page-news .ni-body {
  grid-area: body;
  min-width: 0;
}

.page-news .ni-title {
  margin: 2px 0 6px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.page-news .ni-sum {
  margin: 0;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nw-muted);
}

.page-news .ni-time {
  grid-area: time;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--nw-muted);
}

.page-news .ni-thumb {
  grid-area: thumb;
  margin: 12px 0 4px;
  max-width: 260px;
  overflow: hidden;
  border-radius: 12px 12px 12px 3px;
  border: 1px solid var(--nw-rule);
  transform: rotate(1.4deg);
}

.page-news .ni-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 列表中段的海河图 */
.page-news .news-embed {
  padding: 22px 0;
  border-bottom: 1px solid var(--nw-rule);
}

.page-news .news-embed figure {
  margin: 0;
  border-radius: 16px 16px 16px 4px;
  overflow: hidden;
  border: 1px solid var(--nw-rule);
  transform: rotate(-1.2deg);
}

.page-news .news-embed img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-news .news-embed figcaption {
  padding: 10px 14px 12px;
  background: var(--nw-paper-alt);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--nw-muted);
}

/* ---------- 按栏目找 ---------- */
.page-news .cat-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--nw-rule);
}

.page-news .cat-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid var(--nw-rule);
  scroll-margin-top: 96px;
}

.page-news .cat-item h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .cat-hint {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--felt);
}

.page-news .cat-item p {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--nw-muted);
}

/* ---------- 先读三篇 ---------- */
.page-news .news-chart {
  margin: 22px 0 0;
  border-radius: 16px 16px 16px 4px;
  overflow: hidden;
  border: 1px solid var(--nw-rule);
  transform: rotate(0.7deg);
}

.page-news .news-chart img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 520;
  object-fit: cover;
}

.page-news .news-chart figcaption {
  padding: 9px 14px 11px;
  background: var(--nw-paper-alt);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--nw-muted);
}

.page-news .pick-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  padding: 24px 20px;
  border-radius: 18px 18px 18px 5px;
  background: linear-gradient(150deg, var(--felt), var(--felt-deep));
}

.page-news .pick-item {
  position: relative;
  padding-top: 36px;
}

.page-news .pick-num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.page-news .pick-title {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ivory);
}

.page-news .pick-why {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--grey);
}

.page-news .pick-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--gold-soft);
}

/* ---------- 连载与专题 ---------- */
.page-news .serial-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .serial-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--nw-rule);
}

.page-news .serial-spine {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
  padding: 14px 0;
  color: var(--ivory);
  background: linear-gradient(180deg, var(--felt), var(--felt-deep));
  border-radius: 9px 3px 3px 9px;
  transition: background .28s ease, color .28s ease, transform .28s ease;
}

.page-news .serial-item:hover .serial-spine,
.page-news .serial-item:focus-within .serial-spine {
  background: linear-gradient(180deg, var(--gold-soft), #C58F24);
  color: var(--night-deep);
  transform: translateX(3px);
}

.page-news .serial-body {
  min-width: 0;
}

.page-news .serial-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .serial-meta {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--felt);
}

.page-news .serial-body > p {
  margin: 0 0 12px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--nw-muted);
}

.page-news .serial-parts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.page-news .serial-parts li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #3F515D;
}

.page-news .serial-parts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

/* ---------- 更新节奏 ---------- */
.page-news .cadence-grid {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.page-news .cadence-card {
  padding: 20px 18px;
  border-radius: 14px 14px 14px 4px;
  border: 1px solid rgba(226, 167, 58, .22);
  background: linear-gradient(160deg, var(--felt), var(--felt-deep));
}

.page-news .cadence-idx {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-news .cadence-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ivory);
}

.page-news .cadence-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--grey);
}

/* ---------- 接着看 ---------- */
.page-news .news-continue {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--nw-rule);
}

.page-news .news-continue-label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--nw-muted);
}

.page-news .news-continue ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .news-continue a {
  font-size: 14.5px;
  color: var(--felt);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(15, 76, 63, .3);
  transition: color .2s ease, border-color .2s ease;
}

.page-news .news-continue a:hover,
.page-news .news-continue a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-news .cadence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .news-sheet {
    padding: 32px 26px 40px;
  }
}

@media (min-width: 900px) {
  .page-news .news-sheet {
    padding: 42px 40px 52px;
  }

  .page-news .news-body {
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr);
    gap: 48px;
  }

  .page-news .news-index {
    display: block;
    position: sticky;
    top: calc(var(--bar-h) + 30px);
    align-self: start;
  }

  .page-news .news-index-title {
    margin: 0 0 12px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .16em;
    color: var(--nw-muted);
  }

  .page-news .news-index-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--nw-rule);
  }

  .page-news .news-index-list a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 9px 0 9px 12px;
    margin-left: -1px;
    border-left: 2px solid transparent;
    font-size: 14px;
    color: #3E515E;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  }

  .page-news .news-index-list .mono {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--nw-muted);
  }

  .page-news .news-index-list a:hover,
  .page-news .news-index-list a:focus-visible {
    color: var(--ink);
    border-left-color: var(--gold);
    background: rgba(226, 167, 58, .08);
  }
}

@media (min-width: 1000px) {
  .page-news .news-item {
    grid-template-columns: 46px 104px minmax(0, 1fr) 80px;
    grid-template-areas: "idx tag .page-news time";
    gap: 0 18px;
    align-items: start;
    padding: 22px 0 22px 16px;
  }

  .page-news .news-item.has-thumb {
    grid-template-columns: 46px 104px minmax(0, 1fr) 166px 80px;
    grid-template-areas: "idx tag .page-news thumb time";
  }

  .page-news .ni-time {
    text-align: right;
    padding-top: 4px;
  }

  .page-news .ni-thumb {
    margin: 0;
    max-width: none;
  }

  .page-news .news-embed figure {
    transform: rotate(-0.8deg);
  }
}

@media (min-width: 1080px) {
  .page-news .cadence-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .pick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 32px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-banner,
  .page-news .news-chart,
  .page-news .news-embed figure,
  .page-news .ni-thumb {
    transform: none;
  }

  .page-news .news-item,
  .page-news .news-item::before,
  .page-news .serial-spine {
    transition: opacity .2s ease;
  }
}
