.page-news {
  --np-rot-a: -1.1deg;
  --np-rot-b: 0.7deg;
  --np-rot-c: -0.4deg;
  --np-card-shadow: 6px 8px 0 rgba(240, 116, 58, 0.16), 0 16px 34px rgba(0, 0, 0, 0.42);
  overflow-x: hidden;
  padding-bottom: clamp(40px, 7vw, 88px);
}

/* ---------- 首屏 ---------- */

.page-news .news-hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(22px, 4vw, 44px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.page-news .news-hero__cut {
  position: absolute;
  z-index: -1;
  top: -34px;
  right: -16%;
  width: min(720px, 84%);
  height: 90%;
  background: linear-gradient(150deg, var(--ink-navy) 0%, rgba(22, 32, 74, 0.1) 100%);
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
  pointer-events: none;
}

.page-news .news-hero__grid {
  display: grid;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
  margin-top: clamp(18px, 3vw, 32px);
}

.page-news .news-hero__eyebrow {
  margin: 0;
  color: var(--neon-purple);
}

.page-news .news-hero h1 {
  margin: 14px 0 18px;
  max-width: 15ch;
}

.page-news .news-hero__lead {
  margin: 0;
  max-width: 34em;
  font-size: var(--step-1);
  line-height: 1.78;
  color: var(--fg-soft);
}

.page-news .news-hero__figure {
  margin: 0;
  position: relative;
}

.page-news .news-hero__figure::after {
  content: "";
  position: absolute;
  inset: auto -10px -10px auto;
  width: 42%;
  height: 32%;
  background: linear-gradient(120deg, rgba(198, 75, 224, 0.28), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- 告示墙 ---------- */

.page-news .story-wall {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: clamp(20px, 3vw, 34px);
}

.page-news .story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px 20px;
  background: var(--sign-cream);
  color: var(--ink-deep);
  border: 1px solid rgba(11, 16, 38, 0.14);
  box-shadow: var(--np-card-shadow);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.page-news .story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 4px;
  background: var(--brick);
}

.page-news .story-card:nth-child(3n + 1) {
  transform: rotate(var(--np-rot-a));
}

.page-news .story-card:nth-child(3n + 2) {
  transform: rotate(var(--np-rot-b));
}

.page-news .story-card:nth-child(3n) {
  transform: rotate(var(--np-rot-c));
}

.page-news .story-card:hover {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 8px 12px 0 rgba(255, 93, 143, 0.2), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.page-news .story-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-news .story-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
}

.page-news .story-card__sum {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(11, 16, 38, 0.74);
}

.page-news .story-card__when {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(11, 16, 38, 0.18);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brick);
}

.page-news .story-card .tag {
  background: rgba(198, 75, 224, 0.14);
  color: #7a1e93;
  border-color: rgba(198, 75, 224, 0.34);
}

.page-news .story-card .tag--live {
  background: rgba(240, 116, 58, 0.16);
  color: #a8410f;
  border-color: rgba(240, 116, 58, 0.4);
}

.page-news .story-card .door-tag {
  color: var(--brick);
}

/* ---------- 专题系列 ---------- */

.page-news .series-layout {
  margin-top: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-news .series-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.page-news .series-item {
  position: relative;
  padding: 24px 22px 22px;
  background: rgba(22, 32, 74, 0.6);
  border: 1px solid var(--line);
  border-left: 3px solid var(--neon-purple);
  transition: border-left-color 220ms var(--ease), transform 220ms var(--ease);
}

.page-news .series-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 18px solid rgba(198, 75, 224, 0.32);
  border-left: 18px solid transparent;
}

.page-news .series-item:hover {
  border-left-color: var(--neon-pink);
  transform: translateY(-3px);
}

.page-news .series-item__no {
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-purple);
}

.page-news .series-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.34;
  color: var(--fg);
}

.page-news .series-item p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.76;
  color: var(--fg-soft);
}

.page-news .series-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.page-news .series-aside__text {
  margin: 0;
  padding: 16px 18px;
  background: rgba(240, 116, 58, 0.08);
  border-left: 2px solid var(--brick);
  font-family: var(--font-label);
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--fg);
}

/* ---------- 版本记录 ---------- */

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

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

.page-news .version-track::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 12px;
  left: 7px;
  width: 2px;
  background: linear-gradient(180deg, var(--brick) 0%, rgba(198, 75, 224, 0.5) 55%, rgba(143, 160, 200, 0.12) 100%);
}

.page-news .version-item {
  position: relative;
  padding: 0 0 28px 34px;
}

.page-news .version-item:last-child {
  padding-bottom: 0;
}

.page-news .version-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 2px solid var(--brick);
  box-shadow: 0 0 0 4px rgba(240, 116, 58, 0.12);
}

.page-news .version-item__tag {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.page-news .version-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  line-height: 1.34;
  color: var(--fg);
}

.page-news .version-item p {
  margin: 0;
  max-width: 42em;
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--fg-soft);
}

/* ---------- 赛季节奏 ---------- */

.page-news .season-layout {
  margin-top: clamp(20px, 3vw, 34px);
  align-items: start;
}

.page-news .season-rail {
  list-style: none;
  margin: 0;
  padding: 0 0 14px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-news .season-node {
  flex: 0 0 min(76vw, 250px);
  scroll-snap-align: start;
  position: relative;
  padding: 20px 18px 18px;
  background: rgba(22, 32, 74, 0.72);
  border: 1px solid var(--line);
}

.page-news .season-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--index-blue), rgba(143, 160, 200, 0.1));
}

.page-news .season-node--hot::before {
  background: linear-gradient(90deg, var(--brick), var(--neon-pink));
}

.page-news .season-node--hot {
  background: rgba(74, 36, 24, 0.42);
  border-color: rgba(240, 116, 58, 0.34);
}

.page-news .season-node__phase {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--index-blue);
}

.page-news .season-node--hot .season-node__phase {
  color: var(--amber);
}

.page-news .season-node h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.36;
  color: var(--fg);
}

.page-news .season-node p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--fg-soft);
}

.page-news .season-figure {
  margin: clamp(20px, 3vw, 32px) 0 0;
}

/* ---------- 结尾入口 ---------- */

.page-news .news-outro {
  padding: clamp(26px, 4vw, 44px);
}

.page-news .news-outro__index {
  margin: 0 0 12px;
  color: var(--brick);
}

.page-news .news-outro__title {
  margin: 0 0 14px;
  max-width: 20ch;
}

.page-news .news-outro__text {
  margin: 0 0 24px;
  max-width: 40em;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg-soft);
}

.page-news .news-outro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.page-news .news-outro__back {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--fg-soft);
}

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

@media (min-width: 640px) {
  .page-news .story-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-news .news-hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }

  .page-news .story-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-news .series-aside {
    margin-top: 0;
  }

  .page-news .season-rail {
    overflow: visible;
    padding-bottom: 0;
  }

  .page-news .season-node {
    flex: 1 1 0;
    min-width: 0;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-news .story-card,
  .page-news .series-item {
    transition: none;
  }

  .page-news .story-card,
  .page-news .story-card:nth-child(3n + 1),
  .page-news .story-card:nth-child(3n + 2),
  .page-news .story-card:nth-child(3n) {
    transform: none;
  }
}
</main>
