.page-news {
  --news-rule-light: rgba(18, 20, 26, 0.14);
  --news-rule-dark: rgba(244, 237, 227, 0.16);
  --news-ink-soft: rgba(18, 20, 26, 0.72);
  background: var(--ink);
}

.page-news .news-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 48px;
  background:
    radial-gradient(120% 90% at 8% 0%, #1d222b 0%, rgba(10, 11, 14, 0) 62%),
    var(--ink);
  color: var(--paper);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 78%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 78%);
}

.page-news .news-hero .container {
  position: relative;
  z-index: 1;
}

.page-news .news-hero .breadcrumb {
  margin-bottom: 26px;
}

.page-news .news-hero__title {
  margin: 12px 0 0;
  font-size: clamp(32px, 7.2vw, 74px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-news .news-hero__lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dim);
}

.page-news .news-hero__pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-hero__pulse li {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--steel);
  background: rgba(21, 23, 28, 0.86);
  font-size: 13px;
  line-height: 1.4;
  color: var(--mist);
}

.page-news .news-hero__pulse strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}

/* ---------- 章节标题骨架 ---------- */

.page-news .sec-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--news-rule-light);
}

.page-news .sec-head--dark {
  border-bottom-color: var(--news-rule-dark);
}

.page-news .sec-head__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--orange);
  transform: skewX(-4deg);
}

.page-news .sec-head__body {
  padding-top: 2px;
}

.page-news .sec-head__title {
  margin: 4px 0 0;
  font-size: clamp(21px, 3.4vw, 33px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: inherit;
}

.page-news .sec-head--dark .sec-head__title {
  color: var(--paper);
}

.page-news .sec-head--dark .eyebrow {
  color: var(--mist);
}

.page-news .sec-lead {
  max-width: 60ch;
  margin: 18px 0 26px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--news-ink-soft);
}

.page-news .sec-lead--dark {
  color: var(--text-dim);
}

/* ---------- 01 本期专题 ---------- */

.page-news .feature {
  padding: 20px 0 64px;
  background: var(--ink);
  color: var(--paper);
}

.page-news .feature__grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.page-news .feature__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.page-news .feature__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-news .feature__index {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 15px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: skewX(-4deg);
}

.page-news .feature__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 22px 30px;
  background-color: var(--paper);
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 76px 5px;
  color: var(--ink-text);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-news .feature__kicker {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #b4451b;
}

.page-news .feature__title {
  margin: 0;
  font-size: clamp(21px, 3.6vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-news .feature__points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .feature__points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(18, 20, 26, 0.8);
}

.page-news .feature__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

.page-news .feature__panel .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- 02 最新条目 ---------- */

.page-news .feed-sec {
  padding: 60px 0 68px;
  background: var(--paper);
  color: var(--ink-text);
}

.page-news .feed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.page-news .chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid rgba(18, 20, 26, 0.24);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink-text);
  text-decoration: none;
  scroll-margin-top: 96px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-news .chip:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-news .chip:target {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.page-news .feed__list {
  flex: 1 1 100%;
  margin-top: 14px;
  border-bottom: 1px solid var(--news-rule-light);
}

.page-news .feed__row {
  border-top: 1px solid var(--news-rule-light);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.page-news .feed__row:hover,
.page-news .feed__row[open] {
  background: var(--ink);
  color: var(--paper);
}

.page-news .feed__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px 12px;
  cursor: pointer;
  list-style: none;
}

.page-news .feed__summary::-webkit-details-marker {
  display: none;
}

.page-news .feed__summary::marker {
  content: "";
}

.page-news .feed__tag {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.page-news .feed__tag--watch {
  background: rgba(255, 90, 31, 0.16);
  color: #a83a0e;
}

.page-news .feed__tag--version {
  background: rgba(46, 107, 255, 0.14);
  color: #1f4ac2;
}

.page-news .feed__tag--topic {
  background: rgba(23, 191, 160, 0.18);
  color: #0b6f5d;
}

.page-news .feed__tag--archive {
  background: rgba(18, 20, 26, 0.1);
  color: #4a4e58;
}

.page-news .feed__row:hover .feed__tag,
.page-news .feed__row[open] .feed__tag {
  background: rgba(244, 237, 227, 0.16);
  color: var(--paper);
}

.page-news .feed__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.page-news .feed__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(18, 20, 26, 0.52);
  transition: color 0.18s var(--ease);
}

.page-news .feed__row:hover .feed__time,
.page-news .feed__row[open] .feed__time {
  color: var(--mist);
}

.page-news .feed__body {
  padding: 0 12px 22px;
}

.page-news .feed__body p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-news .feed__body p:last-child {
  margin-bottom: 0;
}

.page-news .feed-sec__foot {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--news-ink-soft);
}

.page-news .feed-sec__foot a {
  color: #b4451b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 前台分类筛选（纯 CSS，通过 :target 生效） */
.page-news #chip-watch:target ~ .feed__list .feed__row:not([data-cat="watch"]),
.page-news #chip-version:target ~ .feed__list .feed__row:not([data-cat="version"]),
.page-news #chip-topic:target ~ .feed__list .feed__row:not([data-cat="topic"]),
.page-news #chip-archive:target ~ .feed__list .feed__row:not([data-cat="archive"]) {
  display: none;
}

/* ---------- 03 赛季观察 ---------- */

.page-news .watch {
  padding: 60px 0 70px;
  background: var(--ink);
  color: var(--paper);
}

.page-news .watch__grid {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.page-news .watch__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--ink-2);
  border: 1px solid var(--steel);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .watch__card:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.page-news .watch__media {
  margin: -22px -20px 4px;
  overflow: hidden;
  background: var(--ink);
}

.page-news .watch__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-news .watch__tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-news .watch__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--paper);
}

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

/* ---------- 04 版本更新记录 ---------- */

.page-news .log {
  padding: 60px 0 68px;
  background: var(--paper);
  color: var(--ink-text);
}

.page-news .log__grid {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}

.page-news .log__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-news .log__item {
  position: relative;
  padding: 0 0 26px 30px;
}

.page-news .log__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid rgba(18, 20, 26, 0.26);
  z-index: 1;
}

.page-news .log__item::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 20px;
  bottom: 2px;
  width: 2px;
  background: rgba(18, 20, 26, 0.14);
}

.page-news .log__item:last-child::after {
  display: none;
}

.page-news .log__item--active::before {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18);
}

.page-news .log__when {
  margin: 0 0 5px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #b4451b;
}

.page-news .log__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

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

.page-news .log__media {
  margin: 0;
}

.page-news .log__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--news-rule-light);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.page-news .log__media figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(18, 20, 26, 0.55);
}

.page-news .log__foot {
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--news-rule-light);
  font-size: 14px;
  line-height: 1.8;
  color: var(--news-ink-soft);
}

.page-news .log__foot a {
  color: #b4451b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 05 历史归档导览 ---------- */

.page-news .archive {
  padding: 60px 0 76px;
  background: var(--paper-2);
  color: var(--ink-text);
}

.page-news .archive__banner {
  margin: 0 0 22px;
  overflow: hidden;
}

.page-news .archive__banner img {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  border: 1px solid rgba(18, 20, 26, 0.14);
}

.page-news .archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-news .arc {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(18, 20, 26, 0.14);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.page-news .arc::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: var(--orange);
  pointer-events: none;
}

.page-news .arc:hover {
  border-color: var(--orange);
}

.page-news .arc[open] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.page-news .arc__summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 14px;
  cursor: pointer;
  list-style: none;
}

.page-news .arc__summary::-webkit-details-marker {
  display: none;
}

.page-news .arc__summary::marker {
  content: "";
}

.page-news .arc__season {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.page-news .arc__label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #b4451b;
}

.page-news .arc[open] .arc__label {
  color: var(--orange);
}

.page-news .arc__body {
  padding: 0 14px 16px;
}

.page-news .arc__body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-news .archive__foot {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(18, 20, 26, 0.72);
}

.page-news .archive__foot a {
  color: #b4451b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-news .news-hero {
    padding: 36px 0 58px;
  }

  .page-news .feed__summary {
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 18px 14px;
  }

  .page-news .feed__time {
    grid-column: 2;
  }

  .page-news .feed__body {
    padding: 0 14px 24px 138px;
  }

  .page-news .archive__grid {
    gap: 14px;
  }
}

@media (min-width: 860px) {
  .page-news .news-hero {
    padding: 44px 0 64px;
  }

  .page-news .feature {
    padding-bottom: 78px;
  }

  .page-news .feature__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: start;
    gap: 0;
  }

  .page-news .feature__media {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }

  .page-news .feature__panel {
    margin-left: -34px;
    margin-top: 34px;
    padding: 34px 30px 36px;
    position: relative;
    z-index: 2;
  }

  .page-news .feed-sec,
  .page-news .watch,
  .page-news .log,
  .page-news .archive {
    padding-top: 78px;
    padding-bottom: 86px;
  }

  .page-news .feed__summary {
    grid-template-columns: 124px minmax(0, 1fr) 150px;
    gap: 20px;
    padding: 20px 18px;
  }

  .page-news .feed__time {
    grid-column: 3;
    text-align: right;
  }

  .page-news .feed__body {
    padding: 0 18px 26px 162px;
  }

  .page-news .feed__body p {
    max-width: 68ch;
  }

  .page-news .watch__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
    align-items: start;
  }

  .page-news .watch__card:nth-child(even) {
    margin-top: 58px;
  }

  .page-news .log__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
  }

  .page-news .archive__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-news .archive__banner img {
    aspect-ratio: 12 / 4;
  }
}

@media (min-width: 1120px) {
  .page-news .feature__panel {
    margin-left: -52px;
    margin-top: 48px;
    padding: 40px 38px 44px;
  }

  .page-news .log__grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 64px;
  }

  .page-news .archive__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-news .arc__summary {
    padding: 20px 18px;
  }

  .page-news .arc__season {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .watch__card,
  .page-news .chip,
  .page-news .feed__row,
  .page-news .feed__time,
  .page-news .arc,
  .page-news .feed__tag {
    transition: none;
  }

  .page-news .watch__card:hover {
    transform: none;
  }
}
