.page-news {
  --news-gap: clamp(46px, 6vw, 92px);
  --news-cut: clamp(28px, 4vw, 48px);
  background: var(--bg);
  color: var(--ink);
}

/* ---------- 页首区 ---------- */

.page-news .story-mast {
  padding-top: clamp(22px, 3.4vw, 46px);
  padding-bottom: clamp(24px, 3.2vw, 42px);
  border-bottom: 1px solid var(--line);
}

.page-news .story-mast .crumbs {
  margin-bottom: clamp(20px, 2.6vw, 34px);
}

.page-news .story-mast h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0.16em 0 0;
}

.page-news .story-mast-lede {
  max-width: 46ch;
  margin: clamp(14px, 2vw, 22px) 0 0;
  color: var(--mute);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.8;
}

/* ---------- 本期精选 ---------- */

.page-news .story-feature {
  padding-block: var(--news-gap);
}

.page-news .feature-cover {
  position: relative;
  margin: 0;
  background: var(--bg-night);
  clip-path: polygon(0 0, calc(100% - var(--news-cut)) 0, 100% var(--news-cut), 100% 100%, 0 100%);
}

.page-news .feature-cover img {
  display: block;
  width: 100%;
  height: clamp(300px, 44vw, 540px);
  object-fit: cover;
  opacity: 0.62;
}

.page-news .feature-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(700px, 100%);
  padding: clamp(22px, 3.6vw, 46px);
  background: linear-gradient(180deg, rgba(5, 11, 26, 0) 0%, rgba(5, 11, 26, 0.86) 26%, rgba(5, 11, 26, 0.97) 100%);
}

.page-news .feature-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid rgba(255, 198, 99, 0.45);
  border-radius: 3px;
  padding: 3px 10px;
  line-height: 1.6;
}

.page-news .feature-panel h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(25px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0.55em 0 0;
}

.page-news .feature-panel p {
  max-width: 40ch;
  margin: 0.9em 0 0;
  color: var(--mute);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-news .feature-points {
  list-style: none;
  margin: clamp(16px, 2vw, 24px) 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-news .feature-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.page-news .feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--green);
}

/* ---------- 条目区 ---------- */

.page-news .story-index {
  padding-bottom: var(--news-gap);
}

.page-news .filter-zone {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

.page-news .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .index-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-news .filter-track {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-panel);
}

.page-news .filter-track label {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mute);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.page-news .filter-track label:hover {
  color: var(--ink);
  background: rgba(159, 179, 217, 0.1);
}

.page-news #filter-all:checked ~ .filter-track label[for="filter-all"],
.page-news #filter-round:checked ~ .filter-track label[for="filter-round"],
.page-news #filter-version:checked ~ .filter-track label[for="filter-version"],
.page-news #filter-scene:checked ~ .filter-track label[for="filter-scene"],
.page-news #filter-data:checked ~ .filter-track label[for="filter-data"] {
  background: var(--green);
  color: var(--bg-night);
  font-weight: 700;
}

.page-news #filter-round:checked ~ .story-stream > .story-item:not([data-cat="round"]),
.page-news #filter-version:checked ~ .story-stream > .story-item:not([data-cat="version"]),
.page-news #filter-scene:checked ~ .story-stream > .story-item:not([data-cat="scene"]),
.page-news #filter-data:checked ~ .story-stream > .story-item:not([data-cat="data"]) {
  display: none;
}

/* ---------- 时间线条目 ---------- */

.page-news .story-stream {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .story-stream::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--green) 0%, var(--ridge) 38%, rgba(30, 58, 110, 0.18) 100%);
}

.page-news .story-item {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.page-news .story-item:first-child {
  border-top: 1px solid var(--line);
}

.page-news .story-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 32px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--gold);
  z-index: 1;
}

.page-news .story-details {
  display: block;
}

.page-news .story-row {
  display: grid;
  grid-template-columns: 88px 1fr 30px;
  align-items: baseline;
  gap: clamp(12px, 2vw, 26px);
  padding: clamp(20px, 2.4vw, 30px) 0 clamp(20px, 2.4vw, 30px) 40px;
  cursor: pointer;
  list-style: none;
}

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

.page-news .story-when {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
}

.page-news .story-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.page-news .story-cat {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: var(--green);
  border: 1px solid rgba(53, 242, 160, 0.32);
  border-radius: 3px;
  padding: 2px 8px;
}

.page-news .story-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.85vw, 24px);
  line-height: 1.38;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color 0.2s var(--ease);
}

.page-news .story-row:hover .story-title {
  color: var(--green);
}

.page-news .story-more {
  position: relative;
  justify-self: end;
  align-self: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s var(--ease);
}

.page-news .story-more::before,
.page-news .story-more::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--mute);
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}

.page-news .story-more::before {
  width: 10px;
  height: 1.5px;
}

.page-news .story-more::after {
  width: 1.5px;
  height: 10px;
}

.page-news .story-row:hover .story-more {
  border-color: var(--green);
}

.page-news .story-details[open] .story-more {
  border-color: var(--green);
  background: var(--green-soft);
}

.page-news .story-details[open] .story-more::before,
.page-news .story-details[open] .story-more::after {
  background: var(--green);
}

.page-news .story-details[open] .story-more::after {
  opacity: 0;
}

.page-news .story-body {
  max-width: 74ch;
  padding: 0 0 clamp(22px, 2.6vw, 34px) 40px;
  color: var(--mute);
  font-size: 15.5px;
  line-height: 1.82;
}

.page-news .story-details[open] .story-body {
  animation: news-slide 0.34s var(--ease) both;
}

@keyframes news-slide {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-news .story-body p {
  margin: 0;
}

.page-news .story-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-news .story-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.75;
}

.page-news .story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

.page-news .story-thumb {
  margin: 18px 0 0;
  max-width: 400px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-panel);
}

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

/* ---------- 尾部：归档与订阅 ---------- */

.page-news .story-tail {
  margin-top: var(--news-gap);
  padding-block: clamp(58px, 7vw, 96px) clamp(48px, 6vw, 84px);
  background: var(--bg-night);
  clip-path: polygon(0 var(--news-cut), 100% 0, 100% 100%, 0 100%);
}

.page-news .tail-band {
  margin: 0 0 clamp(30px, 4vw, 52px);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-panel);
}

.page-news .tail-band img {
  display: block;
  width: 100%;
  height: clamp(120px, 17vw, 200px);
  object-fit: cover;
  opacity: 0.85;
}

.page-news .tail-grid {
  display: grid;
  gap: clamp(34px, 4.4vw, 60px);
}

.page-news .tail-archive h2,
.page-news .tail-sub h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0.42em 0 0;
}

.page-news .tail-lede {
  max-width: 42ch;
  margin: 0.9em 0 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.8;
}

.page-news .tail-lede a,
.page-news .tail-more a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 242, 160, 0.4);
  transition: border-color 0.2s var(--ease);
}

.page-news .tail-lede a:hover,
.page-news .tail-more a:hover {
  border-bottom-color: var(--green);
}

.page-news .stage-list {
  list-style: none;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-news .stage-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: clamp(12px, 1.8vw, 22px);
  padding: clamp(16px, 2vw, 22px) 0;
  border-top: 1px solid var(--line);
}

.page-news .stage-item:last-child {
  border-bottom: 1px solid var(--line);
}

.page-news .stage-no {
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.2;
  color: var(--gold);
  font-weight: 700;
}

.page-news .stage-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.page-news .stage-copy p {
  margin: 8px 0 0;
  color: var(--mute);
  font-size: 14.5px;
  line-height: 1.78;
}

.page-news .tail-more {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mute);
}

.page-news .tail-sub {
  padding: clamp(22px, 3vw, 34px);
  background: var(--bg-panel);
  border-top: 2px solid var(--green);
  border-radius: 4px;
}

.page-news .sub-types {
  list-style: none;
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .sub-types li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 198, 99, 0.5);
}

.page-news .sub-types strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-news .sub-types span {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mute);
}

.page-news .sub-details {
  margin-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
}

.page-news .sub-details summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green);
}

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

.page-news .sub-details summary::after {
  content: " +";
  font-weight: 400;
}

.page-news .sub-details[open] summary::after {
  content: " –";
}

.page-news .sub-details p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mute);
}

.page-news .tail-actions {
  margin: clamp(20px, 2.6vw, 28px) 0 0;
}

/* ---------- 断点 ---------- */

@media (min-width: 860px) {
  .page-news .filter-zone {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .page-news .filter-zone > .index-title {
    grid-column: 1;
  }

  .page-news .filter-zone > .filter-track {
    grid-column: 2;
    justify-self: end;
  }

  .page-news .filter-zone > .story-stream {
    grid-column: 1 / -1;
  }

  .page-news .tail-grid {
    grid-template-columns: 1.65fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-news .story-body {
    padding-left: calc(40px + 88px + clamp(12px, 2vw, 26px));
  }
}

@media (max-width: 720px) {
  .page-news .feature-cover {
    clip-path: none;
  }

  .page-news .feature-cover img {
    height: 230px;
  }

  .page-news .feature-panel {
    position: static;
    width: auto;
    padding: clamp(20px, 5vw, 28px);
    background: var(--bg-panel);
  }

  .page-news .feature-panel p {
    max-width: none;
  }

  .page-news .story-tail {
    clip-path: none;
  }
}

@media (max-width: 640px) {
  .page-news .story-row {
    grid-template-columns: 1fr 28px;
    gap: 10px;
    padding-left: 32px;
  }

  .page-news .story-when {
    grid-column: 1 / -1;
    color: var(--mute);
  }

  .page-news .story-head {
    grid-column: 1;
  }

  .page-news .story-more {
    grid-column: 2;
    grid-row: 2;
  }

  .page-news .story-body {
    padding-left: 32px;
    font-size: 15px;
  }

  .page-news .story-stream::before {
    left: 4px;
  }

  .page-news .story-item::before {
    left: -1px;
  }

  .page-news .stage-item {
    grid-template-columns: 38px 1fr;
  }

  .page-news .filter-track label {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .story-details[open] .story-body {
    animation: none;
  }

  .page-news .story-title,
  .page-news .story-more,
  .page-news .story-more::before,
  .page-news .story-more::after,
  .page-news .filter-track label {
    transition: none;
  }
}
