.page-news {
  --nw-gap: clamp(18px, 3.6vw, 40px);
  --nw-line: rgba(47, 243, 208, 0.16);
  --nw-panel: rgba(255, 255, 255, 0.035);
  --nw-text: rgba(255, 255, 255, 0.72);
  --nw-dim: rgba(255, 255, 255, 0.52);
  display: block;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow-x: hidden;
}

.page-news .news-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 面包屑 */
.page-news .news-crumb {
  padding-top: 16px;
  font-size: 13px;
}

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

.page-news .news-crumb .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(47, 243, 208, 0.55);
}

.page-news .news-crumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.page-news .news-crumb a:hover,
.page-news .news-crumb a:focus-visible {
  color: var(--cyan);
}

/* 首屏 */
.page-news .news-hero {
  padding-block: clamp(20px, 4vw, 40px) clamp(26px, 5vw, 56px);
}

.page-news .news-hero__grid {
  display: grid;
  gap: clamp(20px, 4vw, 44px);
}

.page-news .nw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.page-news .nw-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(47, 243, 208, 0.55);
  animation: nw-pulse 1.5s var(--ease) 1;
}

@keyframes nw-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 243, 208, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(47, 243, 208, 0); }
}

.page-news .news-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(30px, 6.6vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.02em;
  max-width: 18ch;
}

.page-news .nw-lead {
  margin: 18px 0 0;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.88;
  color: var(--nw-text);
  max-width: 48ch;
}

.page-news .nw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-news .nw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.page-news .nw-btn--primary {
  background: var(--cyan);
  color: var(--ink-900);
}

.page-news .nw-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.page-news .nw-btn--solid {
  background: var(--white);
  color: var(--ink-900);
}

.page-news .nw-btn--outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.page-news .nw-btn:hover,
.page-news .nw-btn:focus-visible {
  transform: translateY(-2px);
}

.page-news .nw-btn--ghost:hover,
.page-news .nw-btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* 图片框 */
.page-news .nw-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-900);
  border: 1px solid var(--nw-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

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

.page-news .nw-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(4, 29, 24, 0) 0%, rgba(4, 29, 24, 0.88) 55%);
}

.page-news .nw-figure--hero { aspect-ratio: 7 / 3; }
.page-news .nw-figure--version { aspect-ratio: 3 / 2; margin-top: clamp(20px, 4vw, 30px); }
.page-news .nw-figure--library { aspect-ratio: 25 / 16; }
.page-news .nw-figure--cycle { aspect-ratio: 45 / 28; }

/* 主体布局 */
.page-news .news-layout {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  padding-top: clamp(6px, 2vw, 14px);
}

.page-news .news-primary {
  display: grid;
  gap: clamp(34px, 6vw, 68px);
  min-width: 0;
}

/* 章节头 */
.page-news .nw-head {
  border-top: 1px solid var(--nw-line);
  padding-top: 18px;
}

.page-news .nw-h2 {
  margin: 0;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.page-news .nw-h2::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 3px;
  margin-right: 10px;
  vertical-align: 0.28em;
  background: var(--cyan);
}

.page-news .nw-sub {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--nw-dim);
  max-width: 52ch;
}

/* 模块跳转 */
.page-news .nw-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}

.page-news .nw-filter a {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}

.page-news .nw-filter a:hover,
.page-news .nw-filter a:focus-visible {
  color: var(--cyan);
  border-color: rgba(47, 243, 208, 0.5);
}

.page-news .nw-filter a.is-active {
  color: var(--ink-900);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

/* 更新列表 */
.page-news .nw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-news .nw-item {
  position: relative;
  padding: 18px 18px 18px 20px;
  background: var(--nw-panel);
  border-left: 2px solid rgba(47, 243, 208, 0.32);
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}

.page-news .nw-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--cyan);
}

.page-news .nw-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .nw-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  padding: 2px 7px;
  border: 1px solid var(--nw-line);
}

.page-news .nw-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--nw-dim);
}

.page-news .nw-tag {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 2px 9px;
  border: 1px solid transparent;
}

.page-news .nw-tag--cyan {
  color: var(--cyan);
  border-color: rgba(47, 243, 208, 0.4);
  background: rgba(47, 243, 208, 0.1);
}

.page-news .nw-tag--orange {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.42);
  background: rgba(255, 138, 61, 0.1);
}

.page-news .nw-tag--violet {
  color: var(--cyan-soft);
  border-color: rgba(207, 252, 242, 0.35);
  background: rgba(124, 108, 255, 0.35);
}

.page-news .nw-item__title {
  margin: 10px 0 0;
  font-size: clamp(16px, 2.1vw, 19px);
  line-height: 1.5;
  font-weight: 700;
}

.page-news .nw-item p {
  margin: 9px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--nw-text);
}

.page-news .nw-item__link a,
.page-news .nw-inline-link a {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 243, 208, 0.5);
}

.page-news .nw-inline-link {
  margin: 16px 0 0;
}

.page-news .nw-item__link a:hover,
.page-news .nw-inline-link a:hover {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

.page-news .nw-more {
  margin-top: 10px;
}

.page-news .nw-more summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  cursor: pointer;
  list-style: none;
}

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

.page-news .nw-more summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
}

.page-news .nw-more[open] summary::before {
  content: "\2212";
}

.page-news .nw-more p {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid rgba(47, 243, 208, 0.28);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.64);
}

/* 版本迭代 */
.page-news .nw-versions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.page-news .nw-version {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  background: linear-gradient(100deg, rgba(47, 243, 208, 0.09) 0%, rgba(255, 255, 255, 0.02) 62%);
  border: 1px solid var(--nw-line);
}

.page-news .nw-version__id {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-news .nw-version__title {
  margin: 0;
  font-size: clamp(16px, 2.1vw, 19px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-news .nw-version p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--nw-text);
}

/* 球队库与资料 */
.page-news .nw-split {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.page-news .nw-split__body p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.88;
  color: var(--nw-text);
}

.page-news .nw-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .nw-stats li {
  padding: 12px 14px;
  border-left: 2px solid rgba(47, 243, 208, 0.35);
  background: var(--nw-panel);
}

.page-news .nw-stats strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.2;
  color: var(--cyan);
}

.page-news .nw-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--nw-dim);
}

.page-news .nw-cycle {
  display: grid;
  gap: 22px;
  margin-top: clamp(24px, 4vw, 36px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px dashed rgba(47, 243, 208, 0.2);
  align-items: start;
}

.page-news .nw-cycle__title {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-news .nw-timeline {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 16px;
}

.page-news .nw-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan) 0%, rgba(47, 243, 208, 0.12) 100%);
}

.page-news .nw-timeline li {
  position: relative;
}

.page-news .nw-timeline li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 5px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}

.page-news .nw-timeline b {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.page-news .nw-timeline span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--nw-text);
}

/* 赛前观察 */
.page-news .nw-notes {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.page-news .nw-note {
  padding: 16px 18px;
  background: var(--nw-panel);
  border-top: 2px solid var(--orange);
}

.page-news .nw-note h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-news .nw-note p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--nw-text);
}

/* 订阅与费用 */
.page-news .nw-plans {
  padding: clamp(20px, 4vw, 34px);
  color: var(--white);
  background-color: var(--violet);
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 15px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.page-news .nw-plans__title {
  margin: 0;
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.page-news .nw-plans__lead {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
}

.page-news .nw-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.page-news .nw-price {
  padding: 12px 14px;
  background: rgba(4, 29, 24, 0.34);
}

.page-news .nw-price strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.15;
  color: var(--white);
}

.page-news .nw-price span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}

.page-news .nw-plans__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.page-news .nw-plans__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.page-news .nw-plans .nw-btn--solid:hover {
  background: var(--cyan);
}

.page-news .nw-plans .nw-btn--outline:hover {
  border-color: var(--white);
  color: var(--cyan-soft);
}

/* 持续更新入口 */
.page-news .nw-follow__grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.page-news .nw-entry {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--white);
  background: var(--nw-panel);
  border: 1px solid var(--nw-line);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.page-news .nw-entry__label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cyan);
}

.page-news .nw-entry__desc {
  display: block;
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--nw-text);
}

.page-news .nw-entry:hover,
.page-news .nw-entry:focus-visible {
  background: rgba(47, 243, 208, 0.08);
  border-color: rgba(47, 243, 208, 0.45);
  transform: translateY(-2px);
}

/* 侧栏 */
.page-news .news-aside {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

.page-news .nw-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--nw-line);
  border-top: 2px solid rgba(47, 243, 208, 0.5);
}

.page-news .nw-card__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-news .nw-card__text {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--nw-text);
}

.page-news .nw-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .nw-taglist a {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}

.page-news .nw-taglist a:hover,
.page-news .nw-taglist a:focus-visible {
  color: var(--cyan);
  border-color: rgba(47, 243, 208, 0.5);
}

.page-news .nw-links {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .nw-links li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-news .nw-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.page-news .nw-links a::after {
  content: "\2192";
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(47, 243, 208, 0.7);
}

.page-news .nw-links a:hover,
.page-news .nw-links a:focus-visible {
  color: var(--cyan);
}

/* 响应式 */
@media (min-width: 640px) {
  .page-news .nw-version {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .page-news .nw-price {
    padding: 14px 16px;
  }

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

@media (min-width: 820px) {
  .page-news .nw-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }

  .page-news .nw-cycle {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: center;
  }

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

  .page-news .nw-prices {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .nw-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
  }

  .page-news .nw-item {
    padding: 20px 22px 20px 24px;
  }
}

@media (min-width: 1040px) {
  .page-news .news-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .page-news .news-aside {
    position: sticky;
    top: calc(var(--header-h) + 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .nw-pulse {
    animation: none;
  }

  .page-news .nw-btn,
  .page-news .nw-entry,
  .page-news .nw-item {
    transition: none;
  }

  .page-news .nw-btn:hover,
  .page-news .nw-entry:hover {
    transform: none;
  }
}
