.page-news {
  --news-card: rgba(26, 20, 64, .78);
  --news-edge: rgba(154, 147, 196, .22);
  --news-glow: rgba(168, 85, 247, .4);
  padding-bottom: clamp(48px, 8vw, 88px);
}

/* ---------- 首屏 ---------- */
.page-news .news-intro {
  position: relative;
  padding-top: clamp(24px, 4.5vw, 48px);
  padding-bottom: clamp(28px, 5vw, 52px);
  isolation: isolate;
}

.page-news .news-intro::before {
  content: "";
  position: absolute;
  inset: -6vw -40vw auto -40vw;
  height: min(520px, 62vw);
  background:
    radial-gradient(58% 70% at 22% 0%, rgba(168, 85, 247, .3), transparent 68%),
    radial-gradient(48% 62% at 82% 8%, rgba(34, 211, 238, .2), transparent 70%),
    radial-gradient(36% 46% at 60% 40%, rgba(255, 79, 163, .12), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-news .news-intro > * {
  position: relative;
  z-index: 1;
}

.page-news .news-intro__eyebrow {
  margin-top: clamp(16px, 3vw, 28px);
}

.page-news .news-intro__title {
  margin: 14px 0 16px;
  font-size: clamp(29px, 5.4vw, 52px);
  line-height: 1.18;
  letter-spacing: .01em;
  font-weight: 900;
  color: var(--paper);
  max-width: 18ch;
  text-shadow: 0 0 22px rgba(168, 85, 247, .5), 0 0 1px var(--neon);
}

.page-news .news-intro__lead {
  max-width: 38em;
  color: var(--paper-soft);
}

.page-news .news-intro__board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(24px, 4vw, 38px);
}

.page-news .news-stat {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--news-edge);
  background: linear-gradient(160deg, rgba(26, 20, 64, .92), rgba(11, 10, 31, .72));
}

.page-news .news-stat .mgz-stat__value {
  font-size: clamp(22px, 3.4vw, 30px);
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(34, 211, 238, .45);
}

.page-news .news-stat:nth-child(2) .mgz-stat__value { color: var(--neon); text-shadow: 0 0 16px var(--news-glow); }
.page-news .news-stat:nth-child(3) .mgz-stat__value { color: var(--orange); text-shadow: 0 0 16px rgba(255, 122, 61, .42); }
.page-news .news-stat:nth-child(4) .mgz-stat__value { color: var(--gold); text-shadow: 0 0 16px rgba(245, 197, 66, .42); }

.page-news .news-stat .mgz-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 本期头条 ---------- */
.page-news .news-headline {
  position: relative;
  display: grid;
  gap: 22px;
  padding-block: clamp(26px, 5vw, 52px);
  isolation: isolate;
}

.page-news .news-headline::before {
  content: "";
  position: absolute;
  inset: 6px calc(-1 * var(--gutter));
  border-radius: var(--radius-xl);
  background:
    linear-gradient(128deg, rgba(26, 20, 64, .96) 0%, rgba(36, 27, 87, .7) 52%, rgba(11, 10, 31, 0) 100%);
  border-left: 3px solid var(--orange);
  transform: skewY(-1.4deg);
  pointer-events: none;
  z-index: 0;
}

.page-news .news-headline > * {
  position: relative;
  z-index: 1;
}

.page-news .news-headline__title {
  margin: 10px 0 14px;
  font-size: clamp(25px, 4.4vw, 40px);
  line-height: 1.24;
  font-weight: 900;
  color: var(--paper);
  text-shadow: 0 0 18px rgba(168, 85, 247, .38);
}

.page-news .news-headline__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--paper-soft);
  max-width: 36em;
}

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

.page-news .news-headline__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--paper-soft);
}

.page-news .news-headline__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(245, 197, 66, .6);
}

.page-news .news-headline__media {
  margin: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--news-edge);
  background: var(--ink-800);
}

.page-news .news-headline__media .mgz-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.04);
}

/* ---------- 动态条目列表 ---------- */
.page-news .news-feed {
  padding-top: clamp(28px, 5vw, 52px);
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 20px 0 6px;
}

.page-news .news-filter__label {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .06em;
}

.page-news .news-filter__input {
  flex: 1 1 220px;
  min-width: 0;
  background: var(--ink-800);
  border: 1px solid var(--news-edge);
  border-radius: var(--radius-pill);
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  padding: 11px 20px;
  outline: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}

.page-news .news-filter__input::placeholder {
  color: var(--muted);
}

.page-news .news-filter__input:focus-visible,
.page-news .news-filter__input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px var(--cyan-soft);
}

.page-news .news-filter__count {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-news .news-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.page-news .news-item {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-edge);
  background: linear-gradient(150deg, rgba(26, 20, 64, .82), rgba(11, 10, 31, .66));
  overflow: hidden;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);
}

.page-news .news-item::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  right: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, var(--cyan), var(--neon));
  opacity: 0;
  transform: translateX(5px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  pointer-events: none;
}

.page-news .news-item:hover,
.page-news .news-item:focus-within {
  border-color: rgba(168, 85, 247, .52);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .28), 0 22px 44px -32px rgba(168, 85, 247, .9);
}

.page-news .news-item:hover::after,
.page-news .news-item:focus-within::after {
  opacity: 1;
  transform: translateX(0);
}

.page-news .news-item__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "idx tag chev"
    "title title title"
    "time time time";
  align-items: center;
  gap: 8px 12px;
  padding: 16px 18px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-news .news-item__trigger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -4px;
}

.page-news .news-item__index {
  grid-area: idx;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-news .news-tag {
  grid-area: tag;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.page-news .news-tag--version {
  color: #DCB6FF;
  background: rgba(168, 85, 247, .18);
  border-color: rgba(168, 85, 247, .5);
}

.page-news .news-tag--room {
  color: #9BEBFB;
  background: rgba(34, 211, 238, .14);
  border-color: rgba(34, 211, 238, .45);
}

.page-news .news-tag--play {
  color: #FFE08A;
  background: rgba(245, 197, 66, .14);
  border-color: rgba(245, 197, 66, .45);
}

.page-news .news-tag--notice {
  color: #FFBB99;
  background: rgba(255, 122, 61, .14);
  border-color: rgba(255, 122, 61, .45);
}

.page-news .news-tag--safe {
  color: #A9F5D3;
  background: rgba(52, 211, 153, .14);
  border-color: rgba(52, 211, 153, .45);
}

.page-news .news-item__title {
  grid-area: title;
  font-size: 16.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--paper);
}

.page-news .news-item__time {
  grid-area: time;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-news .news-item__trigger .mgz-accordion__chev {
  grid-area: chev;
  justify-self: end;
  color: var(--muted);
}

.page-news .news-item .mgz-accordion__panel {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--news-edge);
}

.page-news .news-item__summary {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--paper-soft);
  max-width: 38em;
}

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

.page-news .news-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-soft);
}

.page-news .news-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-soft);
}

/* ---------- 版本迭代线索 ---------- */
.page-news .news-version {
  display: grid;
  gap: 22px;
  padding-block: clamp(34px, 6vw, 68px);
}

.page-news .news-version__media {
  margin: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 211, 238, .28);
  background: var(--ink-800);
  overflow: hidden;
}

.page-news .news-version__media .mgz-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: hue-rotate(-12deg) saturate(1.1);
}

.page-news .news-version__title {
  margin: 10px 0 12px;
  font-size: clamp(23px, 3.8vw, 34px);
  line-height: 1.28;
  font-weight: 900;
  color: var(--paper);
  text-shadow: 0 0 16px rgba(34, 211, 238, .3);
}

.page-news .news-version__text {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--paper-soft);
  max-width: 36em;
}

.page-news .news-steps {
  list-style: none;
  counter-reset: vs;
  margin: 22px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-news .news-step {
  position: relative;
  padding: 14px 18px 14px 56px;
  border-radius: var(--radius-md);
  border: 1px solid var(--news-edge);
  background: rgba(26, 20, 64, .6);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper-soft);
}

.page-news .news-step::before {
  counter-increment: vs;
  content: "0" counter(vs);
  position: absolute;
  left: 18px;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-news .news-step strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--paper);
}

.page-news .news-version__link {
  align-self: start;
}

/* ---------- 玩法研究 ---------- */
.page-news .news-research {
  padding-block: clamp(26px, 5vw, 56px);
}

.page-news .news-research__grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.page-news .news-research__media {
  margin: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(245, 197, 66, .26);
  background: var(--ink-800);
  overflow: hidden;
}

.page-news .news-research__media .mgz-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-news .news-research__items {
  display: grid;
  gap: 12px;
}

.page-news .news-research__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-edge);
  background: linear-gradient(150deg, rgba(26, 20, 64, .84), rgba(11, 10, 31, .6));
  padding: 18px 20px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}

.page-news .news-research__card:hover {
  border-color: rgba(245, 197, 66, .42);
  box-shadow: 0 0 0 1px rgba(245, 197, 66, .2), 0 20px 40px -32px rgba(245, 197, 66, .8);
}

.page-news .news-research__card .mgz-card__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-news .news-research__card .mgz-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--paper-soft);
}

.page-news .news-research__card .mgz-card__meta {
  margin: 12px 0 0;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--gold);
}

/* ---------- 回访提示与资源入口 ---------- */
.page-news .news-return {
  display: grid;
  gap: 24px;
  margin-top: clamp(26px, 5vw, 52px);
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 122, 61, .34);
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(255, 122, 61, .16), transparent 70%),
    linear-gradient(150deg, rgba(26, 20, 64, .94), rgba(11, 10, 31, .9));
  position: relative;
  overflow: hidden;
}

.page-news .news-return::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--pink));
}

.page-news .news-return__title {
  margin: 10px 0 12px;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.3;
  font-weight: 900;
  color: var(--paper);
}

.page-news .news-return__text {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--paper-soft);
  max-width: 36em;
}

.page-news .news-return__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 16px;
}

.page-news .news-return__links {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-news .news-return__links a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, .4);
}

.page-news .news-return__links a:hover {
  border-bottom-color: var(--cyan);
}

.page-news .news-return__media {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--news-edge);
  background: var(--ink-800);
  overflow: hidden;
}

.page-news .news-return__media .mgz-media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 回到顶部 ---------- */
.page-news .news-top {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 40;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(168, 85, 247, .5);
  background: rgba(11, 10, 31, .9);
  color: var(--paper);
  font-size: 13.5px;
  letter-spacing: .04em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), box-shadow .16s var(--ease);
}

.page-news .news-top[data-visible] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-news .news-top:hover {
  box-shadow: 0 0 0 2px var(--neon-soft);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-news .news-intro__board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .news-item__trigger {
    grid-template-columns: auto auto 1fr auto auto;
    grid-template-areas: "idx tag title time chev";
    gap: 12px 16px;
    padding: 18px 22px;
  }

  .page-news .news-item__time {
    justify-self: end;
  }

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

@media (min-width: 960px) {
  .page-news .news-headline {
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 34px;
  }

  .page-news .news-version {
    grid-template-columns: .82fr 1.18fr;
    align-items: start;
    gap: 36px;
  }

  .page-news .news-research__grid {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    gap: 28px;
  }

  .page-news .news-research__media {
    position: sticky;
    top: 96px;
  }

  .page-news .news-return {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 36px;
  }
}

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